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