InstallMysqlMHAOnRedhat6.3(四)

2015-07-24 09:07:26 · 作者: · 浏览: 5
.162(192.168.56.162:3306) Version=5.5.35-log (oldest major version between slaves) log-bin:enabled Wed Feb 11 01:20:18 2015 - [info] Replicating from 192.168.56.161(192.168.56.161:3306) Wed Feb 11 01:20:18 2015 - [info] Primary candidate for the new Master (candidate_master is set) Wed Feb 11 01:20:18 2015 - [info] Current Alive Master: 192.168.56.161(192.168.56.161:3306) Wed Feb 11 01:20:18 2015 - [info] Checking slave configurations.. Wed Feb 11 01:20:18 2015 - [info] read_only=1 is not set on slave 192.168.56.162(192.168.56.162:3306). Wed Feb 11 01:20:18 2015 - [warning] relay_log_purge=0 is not set on slave 192.168.56.162(192.168.56.162:3306). Wed Feb 11 01:20:18 2015 - [info] Checking replication filtering settings.. Wed Feb 11 01:20:18 2015 - [info] binlog_do_db= , binlog_ignore_db= Wed Feb 11 01:20:18 2015 - [info] Replication filtering check ok. Wed Feb 11 01:20:18 2015 - [info] GTID (with auto-pos) is not supported Wed Feb 11 01:20:18 2015 - [info] Starting SSH connection tests.. Wed Feb 11 01:20:19 2015 - [info] All SSH connection tests passed successfully. Wed Feb 11 01:20:19 2015 - [info] Checking MHA Node version.. Wed Feb 11 01:20:19 2015 - [info] Version check ok. Wed Feb 11 01:20:19 2015 - [info] Checking SSH publickey authentication settings on the current master.. Wed Feb 11 01:20:19 2015 - [info] HealthCheck: SSH to 192.168.56.161 is reachable. Wed Feb 11 01:20:19 2015 - [info] Master MHA Node version is 0.56. Wed Feb 11 01:20:19 2015 - [info] Checking recovery script configurations on 192.168.56.161(192.168.56.161:3306).. Wed Feb 11 01:20:19 2015 - [info] Executing command: save_binary_logs --command=test --start_pos=4 --binlog_dir=/var/l
ib/mysql --output_file=/var/tmp/save_binary_logs_test --manager_version=0.56 --start_file=mysql-bin.000002 Wed Feb 11 01:20:19 2015 - [info] Connecting to root@192.168.56.161(192.168.56.161:22).. Creating /var/tmp if not exists.. ok. Checking output directory is accessible or not.. ok. Binlog found at /var/lib/mysql, up to mysql-bin.000002 Wed Feb 11 01:20:19 2015 - [info] Binlog setting check done. Wed Feb 11 01:20:19 2015 - [info] Checking SSH publickey authentication and checking recovery script configurations on all alive slave servers.. Wed Feb 11 01:20:19 2015 - [info] Executing command : apply_diff_relay_logs --command=test --slave_user='root' --slave_host=192.168.56.162 --slave_ip=192.168.56.162 --slave_port=3306 --workdir=/var/tmp --target_version=5.5.35-log --manager_version=0.56 --relay_log_info=/var/lib/mysql/relay-log.info --relay_dir=/var/lib/mysql/ --slave_pass=xxx Wed Feb 11 01:20:19 2015 - [info] Connecting to root@192.168.56.162(192.168.56.162:22).. Checking slave recovery environment settings.. Opening /var/lib/mysql/relay-log.info ... ok. Relay log found at /var/lib/mysql, up to zbdba3-relay-bin.000007 Temporary relay log file is /var/lib/mysql/zbdba3-relay-bin.000007 Testing mysql connection and privileges.. done. Testing mysqlbinlog output.. done. Cleaning up test file(s).. done. Wed Feb 11 01:20:20 2015 - [info] Slaves settings check done. Wed Feb 11 01:20:20 2015 - [info] 192.168.56.161(192.168.56.161:3306) (current master) +--192.168.56.162(192.168.56.162:3306) Wed Feb 11 01:20:20 2015 - [info] Checking replication health on 192.168.56.162.. Wed Feb 11 01:20:20 2015 - [info] ok. Wed Feb 11 01:20:20