secondary_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
Fri Sep 8 12:43:01 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 Fri Sep 8 12:43:01 2017 - [info] HealthCheck: SSH to 172.17.0.4 is reachable. Fri Sep 8 12:43:04 2017 - [warning] Got error on MySQL connect: 2003 (Can't connect to MySQL server on '172.17.0.4' (111)) Fri Sep 8 12:43:04 2017 - [warning] Connection failed 2 time(s).. ssh: connect to host 172.17.0.2 port 22: No route to host Monitoring server 172.17.0.2 is NOT reachable! Fri Sep 8 12:43:04 2017 - [warning] At least one of monitoring servers is not reachable from this script. This is likely a network problem. Failover should not happen. |
无论 manager 开始启动,还是运行过程中,secondary 中服务器必须都可达,否则将不会发生failover
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。