Duplicate IP address after mysql stop
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-mmm |
New
|
Undecided
|
Unassigned |
Bug Description
Version: mmm-mysql 2.0.10 on SLES11, compiled from source.
I have a two-nodes cluster, with a 'writer' exclusive role and a 'reader' balanced role with two IPs.
I noticed that, when mmm agent is down on a node, and I stop mysql on that node, monitor tries to move all roles on the other node, but as agent is down IPs are not stopped on the failed node, so I have duplicate IPs on the two nodes.
I understand I need a kill_host binary, but I think that if an IP is still pingable monitor dosn't have to activate it on an other node (I noted that monitor knew that the IP was up, but the agent was down, so it could know that activating IP on the other node was a mistake, and a very dangerous one).
Hope you can agree this is not a correct behaviour, and you can fix it.
Many thanks.
Any news?