----- Original Message ----- > From: "CHAMLEY Stephane" <stephane.cham...@coe.int> > To: "pacemaker@oss.clusterlabs.org" <pacemaker@oss.clusterlabs.org> > 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: Pacemaker@oss.clusterlabs.org 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