[root@localhost ~]# masterha_check_repl --conf=/etc/mha/mha.conf
Fri Feb 6 20:16:18 2015 - [warning] Global configuration file /etc/masterha_default.cnf not found. Skipping.
Fri Feb 6 20:16:18 2015 - [info] Reading application default configuration from /etc/mha/mha.conf..
Fri Feb 6 20:16:18 2015 - [info] Reading server configuration from /etc/mha/mha.conf..
Fri Feb 6 20:16:18 2015 - [info] MHA::MasterMonitor version 0.56.
Fri Feb 6 20:16:18 2015 - [info] GTID failover mode = 0
Fri Feb 6 20:16:18 2015 - [info] Dead Servers:
Fri Feb 6 20:16:18 2015 - [info] Alive Servers:
Fri Feb 6 20:16:18 2015 - [info] 192.168.71.151(192.168.71.151:3306)
Fri Feb 6 20:16:18 2015 - [info] 192.168.71.152(192.168.71.152:3306)
Fri Feb 6 20:16:18 2015 - [info] 192.168.71.153(192.168.71.153:3306)
Fri Feb 6 20:16:18 2015 - [info] Alive Slaves:
Fri Feb 6 20:16:18 2015 - [info] 192.168.71.152(192.168.71.152:3306) Version=10.0.16-MariaDB-log (oldest major version between slaves) log-bin:enabled
Fri Feb 6 20:16:18 2015 - [info] Replicating from 192.168.71.151(192.168.71.151:3306)
Fri Feb 6 20:16:18 2015 - [info] 192.168.71.153(192.168.71.153:3306) Version=10.0.16-MariaDB-log (oldest major version between slaves) log-bin:enabled
Fri Feb 6 20:16:18 2015 - [info] Replicating from 192.168.71.151(192.168.71.151:3306)
Fri Feb 6 20:16:18 2015 - [info] Current Alive Master: 192.168.71.151(192.168.71.151:3306)
Fri Feb 6 20:16:18 2015 - [info] Checking slave configurations..
Fri Feb 6 20:16:18 2015 - [info] read_only=1 is not set on slave 192.168.71.152(192.168.71.152:3306).
Fri Feb 6 20:16:18 2015 - [warning] relay_log_purge=0 is not set on slave 192.168.71.152(192.168.71.152:3306).
Fri Feb 6 20:16:18 2015 - [info] read_only=1 is not set on slave 192.168.71.153(192.168.71.153:3306).
Fri Feb 6 20:16:18 2015 - [warning] relay_log_purge=0 is not set on slave 192.168.71.153(192.168.71.153:3306).
Fri Feb 6 20:16:18 2015 - [info] Checking replication filtering settings..
Fri Feb 6 20:16:18 2015 - [info] binlog_do_db= , binlog_ignore_db=
Fri Feb 6 20:16:18 2015 - [info] Replication filtering check ok.
Fri Feb 6 20:16:18 2015 - [info] GTID (with auto-pos) is not supported
Fri Feb 6 20:16:18 2015 - [info] Starting SSH connection tests..
Fri Feb 6 20:16:20 2015 - [info] All SSH connection tests passed successfully.
Fri Feb 6 20:16:20 2015 - [info] Checking MHA Node version..
Fri Feb 6 20:16:20 2015 - [info] Version check ok.
Fri Feb 6 20:16:20 2015 - [info] Checking SSH publickey authentication settings on the current master..
Fri Feb 6 20:16:20 2015 - [info] HealthCheck: SSH to 192.168.71.151 is reachable.
Fri Feb 6 20:16:21 2015 - [info] Master MHA Node version is 0.56.
Fri Feb 6 20:16:21 2015 - [info] Checking recovery script configurations on 192.168.71.151(192.168.71.151:3306)..
Fri Feb 6 20:16:21 2015 - [info] Executing command: save_binary_logs --command=test --start_pos=4 --binlog_dir=/var/lib/mysql,/var/log/mysql --output_file=/usr/local/mha/save_binary_logs_test --manager_version=0.56 --start_file=mysql-bin.000011
Fri Feb 6 20:16:21 2015 - [info] Connecting to root@192.168.71.151(192.168.71.151:22)..
Creating /usr/local/mha if not exists.. ok.
Checking output directory is accessible or not..
ok.
Binlog found at /var/lib/mysql, up to mysql-bin.000011
Fri Feb 6 20:16:21 2015 - [info] Binlog setting check done.
Fri Feb 6 20:16:21 2015 - [info] Checking SSH publickey authentication and checking recovery script configurations on all alive slave servers..
Fri Feb 6 20:16:21 2015 - [info] Executing command : apply_diff_relay_logs --command=test --slave_user='joelhy' --slave_host=192.168.71.152 --slave_ip=192.168.71.152 --slave_port=3306 --workdir=/usr/local/mha --target_version=10.0.16-MariaDB-log --manager_version=0.56 --relay_log_info=/var/lib/mysql/relay-log.info --relay_dir=/var/lib/mysql/ --slave_pass=xxx
Fri Feb 6 20:16:21 2015 - [info] Connecting to root@192.168.71.152(192.168.71.152:22)..
Checking slave recovery environment settings..
Opening /var/lib/mysql/relay-log.info ... ok.
Relay log found at /var/lib/mysql, up to relay-bin.000002
Temporary relay log file is /var/lib/mysql/relay-bin.000002
Testing mysql connection and privileges.. done.
Testing mysqlbinlog output.. done.
Cleaning up test file(s).. done.
Fri Feb 6 20:16:22 2015 - [info] Executing command : apply_diff_relay_logs --command=test --slave_user='joelhy' --slave_host=192.168.71.153 --slave_ip=192.168.71.153 --slave_port=3306 --workdir=/usr/local/mha --target_version=10.0.16-MariaDB-log --manager_version=0.56 --relay_log_info=/var/lib/mysql/relay-log.info --relay_dir=/var/lib/mysql/ --slave_pass=xxx
Fri Feb 6 20:16:22 2015 - [info] Connecting to root@192.168.71.153(192.168.71.153:22)..
Checking slave recovery environment settings..
Opening /var/lib/mysql/relay-log.info ... ok.
Relay log found at /var/lib/mysql, up to relay-bin.000005
Temporary relay log file is /var/lib/mysql/relay-bin.000005
Testing mysql connection and privileges.. done.
Testing mysqlbinlog output.. done.
Cleaning up test file(s).. done.
Fri Feb 6 20:16:23 2015 - [info] Slaves settings check done.
Fri Feb 6 20:16:23 2015 - [info]
192.168.71.151(192.168.71.151:3306) (current master)
+--192.168.71.152(192.168.71.152:3306)
+--192.168.71.153(192.168.71.153:3306)
Fri Feb 6 20:16:23 2015 - [info] Checking replication health on 192.168.71.152..
Fri Feb 6 20:16:23 2015 - [info] ok.
Fri Feb 6 20:16:23 2015 - [info] Checking replication health on 192.168.71.153..
Fri Feb 6 20:16:23 2015 - [info] ok.
Fri Feb 6 20:16:23 2015 - [warning] master_ip_failover_script is not defined.
Fri Feb 6 20:16:23 2015 - [warning] shutdown_script is not defined.
Fri Feb 6 20:16:23 2015 - [info] Got exit code 0 (Not master dead).
MySQL Replication Health is OK.