mha 故障

 



[warning] Connection failed 1 time(s)..

Thu Sep  7 16:43:54 2017 - [info] Executing secondary network check script: /usr/local/bin/masterha_secondary_check -s 172.17.0.2 -s 172.17.0.3 -s 172.17.0.4 -s 172.17.0.5  --user=root  --master_host=172.17.0.3  --master_ip=172.17.0.3  --master_port=3306 --master_user=root --master_password=123456 --ping_type=SELECT

Thu Sep  7 16:43:54 2017 - [info] Executing SSH check script: save_binary_logs --command=test --start_pos=4 --binlog_dir=/data/binlog/,/var/lib/mysql,/var/log/mysql --output_file=/tmp/save_binary_logs_test --manager_version=0.57 --binlog_prefix=mysql-bin

Thu Sep  7 16:43:54 2017 - [info] HealthCheck: SSH to 172.17.0.3 is reachable.

Monitoring server 172.17.0.2 is reachable, Master is not reachable from 172.17.0.2. OK.

Monitoring server 172.17.0.3 is reachable, Master is not reachable from 172.17.0.3. OK.

Thu Sep  7 16:43:57 2017 - [warning] Got error on MySQL connect: 2003 (Can't connect to MySQL server on '172.17.0.3' (111))

Thu Sep  7 16:43:57 2017 - [warning] Connection failed 2 time(s)..

ssh: connect to host 172.17.0.4 port 22: No route to host

Monitoring server 172.17.0.4 is NOT reachable!

Thu Sep  7 16:43:58 2017 - [warning] n.At least one of monitoring servers is not reachable from this script. This is likely a network problem. Failover should not happe


masterha_secondary_check -s 172.17.0.2 -s 172.17.0.3 -s 172.17.0.4 -s 172.17.0.5

上面服務器有一個網絡不通了,就不能failover(有點坑)


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章