chusiang / mysql-master-master

Automatically exported from code.google.com/p/mysql-master-master
GNU General Public License v2.0
1 stars 1 forks source link

mmm_agent not sable to configre the ip #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I have followed the doc to setup mmmd_agent and mmmd_mon
2.  On the monitoring server when I run,
mmm_control show
# --- Monitor is in PASSIVE MODE ---
# Cause: Admin switched to passive mode.
  db1(10.92.150.45) master/ONLINE. Roles: reader(10.92.150.29), writer(10.92.150.27)
  db2(10.92.150.46) master/ONLINE. Roles: reader(10.92.150.28)

3.  When I try to set it yt o active by running mmm_control active, I am 
getting the following 
error logged on the database servers,
2009/07/21 16:02:39 FATAL Couldn't configure IP '10.92.150.29' on interface 
'eth0': undef
2009/07/21 16:02:39 FATAL Couldn't allow writes: undef
2009/07/21 16:02:42 FATAL Couldn't configure IP '10.92.150.29' on interface 
'eth0': undef
2009/07/21 16:02:42 FATAL Couldn't allow writes: undef
2009/07/21 16:02:45 FATAL Couldn't configure IP '10.92.150.29' on interface 
'eth0': undef
2009/07/21 16:02:45 FATAL Couldn't allow writes: undef

I am not able to connect thro mysql to wither the reader 10.92.150.29) or 
writer 10.92.150.27 
via mysql.

What is the expected output? What do you see instead?
Should not be getting ant Fatal errors in the log

What version of the product are you using? On what operating system?
Mysql MMM 2.0.8
Redhat Linux Enterprise 5

Please provide any additional information below.

Is there a config setting or something in Linux I am missing here.

Original issue reported on code.google.com by snara...@gmail.com on 21 Jul 2009 at 11:34

GoogleCodeExporter commented 9 years ago
I was able to get this fixed after using the debug option.

Original comment by snara...@gmail.com on 24 Jul 2009 at 5:33

GoogleCodeExporter commented 9 years ago
This is a 2.0.x bug, and is a result of this bug: 
https://bugs.launchpad.net/mysql-
mmm/+bug/429651
Further progress there.

Original comment by walterh...@gmail.com on 4 Oct 2009 at 6:01

GoogleCodeExporter commented 9 years ago
I had exactly the same bug. I had to install the Perl Net::ARP module (it is 
only
required, apparently, when the agent attempts to set/change a virtual IP).

Original comment by ppop...@gmail.com on 10 Nov 2009 at 12:04