----- Original Message ----- > From: "CHAMLEY Stephane" <[email protected]> > To: "[email protected]" <[email protected]> > Sent: Wednesday, July 11, 2012 1:59:58 AM > Subject: Re: [Pacemaker] Service automatically restart after IP moving > > > > > > Nobody ? :S
use an order constraint. http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/s-resource-ordering.html "If the first resource is (re)started while the then resource is running, the then resource will be stopped and restarted." So if an ip is stopped and started somewhere else, the 'then' resource should restart. is that what you were looking for? _______________________________________________ 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
