Atleastoneofmonitoringserversisnotreachablefromthisscript.

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

创新互联-专业网站定制、快速模板网站建设、高性价比港口网站开发、企业建站全套包干低至880元,成熟完善的模板库,直接使用。一站式港口网站制作公司更省心,省钱,快速模板网站建设找我们,业务覆盖港口地区。费用合理售后完善,十年实体公司更值得信赖。


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


分享名称:Atleastoneofmonitoringserversisnotreachablefromthisscript.
本文地址:http://ybzwz.com/article/jjpigh.html