[Pacemaker] IP fail over without controlling the services

Phillip Frost phil at macprofessionals.com
Fri Jul 27 07:40:11 EDT 2012


On Jul 27, 2012, at 7:06 AM, Dongdong Zhou wrote:

> Hi Vossel,
> 
> Thanks for the information. I have tried to put mysql un-managed, but in
> this situation, when I shutdown mysqld or make as standby of the node
> which the IP resource is on, the cluster will put the IP resource as
> stopped other than failing over. Also, if I shutdown mysqld on the other
> node, the cluster doesn't even know the mysql service is stopped. 
> 
> Does the cluster only monitor resource on the active node?

If the resource is unmanaged, then pacemaker won't manage it. That includes attempting to start it on the other node.

It sounds like you have mysql running on both nodes all the time. If that's true, then you probably want a clone (unmanaged) to monitor mysql on both nodes. Colocate your IP with the mysql clone, and then the IP must run on a node with a working mysql.




More information about the Pacemaker mailing list