lxgi&

导航

mysql mHA manager 状态修改

启动:nohup masterha_manager --conf=/etc/masterha/app1.cnf --remove_dead_master_conf --ignore_last_failover < /dev/null > /var/log/masterha/app1/manager.log 2>&1 &

检查状态:masterha_check_status --conf=/etc/masterha/app1.cnf

tail -n20 /var/log/masterha/app1/manager.log
显示如下:
[info] Ping(SELECT) succeeded, waiting until MySQL doesn't respond..  说明ok

停止:masterha_stop --conf=/etc/masterha/app1.cnf


posted on 2015-12-07 19:16  lxgi&  阅读(534)  评论(0编辑  收藏  举报