首页 > 其他 > 详细

mha 故障

时间:2017-09-07 22:51:42      阅读:442      评论:0      收藏:0      [点我收藏+]

 



[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(有点坑)


mha 故障

原文:http://lovexx.blog.51cto.com/131664/1963477

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!