Tough I used to open the script here, I moved it to my github.
- start daemon
- verify if daemon stops
- stop
- verify if daemon is running
- show usage
The theme of this blog is tips and memorandum for Cloud Computing, Public Cloud, and Open Source Software.
# /etc/init.d/mhamanager start Starting /etc/init.d/mhamanager: nohup: appending output to `nohup.out'
# /etc/init.d/mhamanager status app1 (pid:15293) is running(0:PING_OK), master:ha-db01
# /etc/init.d/mhamanager stop Shutting down /etc/init.d/mhamanager: Stopped app1 successfully.
# /etc/init.d/mhamanager status app1 is stopped(2:NOT_RUNNING).
# /etc/init.d/mhamanager Usage: /etc/init.d/mhamanager {start|stop|restart|condrestart|status|checkrepl}
This comment has been removed by a blog administrator.
ReplyDelete