Thanks Phillip, That works very well. --Dongdong

On Fri, 2012-07-27 at 07:40 -0400, Phillip Frost wrote:
> 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.
> 
> _______________________________________________
> Pacemaker mailing list: [email protected]
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org

_______________________________________________
Pacemaker mailing list: [email protected]
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to