aorosar / mysql-master-ha

Automatically exported from code.google.com/p/mysql-master-ha
0 stars 0 forks source link

multi_tier_slave error #77

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
We are currently using MMM and I want to move over to MHA I am using mha node 
5.4 and mha_manager 5.5.

After I setup my conf file I am trying to check my config .but I get following 
error. 

Please advice.
# masterha_check_repl --conf=/etc/mha.conf
Tue Feb 18 07:11:07 2014 - [info] Reading default configuratoins from 
/etc/masterha_default.cnf..
Tue Feb 18 07:11:07 2014 - [info] Reading application default configurations 
from /etc/mha.conf..
Tue Feb 18 07:11:07 2014 - 
[error][/usr/lib/perl5/site_perl/5.8.8/MHA/MasterMonitor.pm, ln316] Error 
happend on checking configurations. Parameter name multi_tier_slave is invalid!
 at /usr/lib/perl5/site_perl/5.8.8/MHA/MasterMonitor.pm line 190
Tue Feb 18 07:11:07 2014 - 
[error][/usr/lib/perl5/site_perl/5.8.8/MHA/MasterMonitor.pm, ln397] Error 
happened on monitoring servers.
Tue Feb 18 07:11:07 2014 - [info] Got exit code 1 (Not master dead).

MySQL Replication Health is NOT OK!

I have following setup 
A <---> B (R)

# cat /etc/mha.conf
[server default]
multi_tier_slave=1

# mysql user and password
user=xxxxx
password=xxxxxxx
ssh_user=root
# working directory on the manager
manager_workdir=/var/lib/mha
# working directory on MySQL servers
remote_workdir=/var/lib/mha

[server1]
hostname=10.125.82.50

[server2]
hostname=10.125.82.52

Original issue reported on code.google.com by vdb...@gmail.com on 18 Feb 2014 at 7:14