[Pacemaker] Service automatically restart after IP moving

David Vossel dvossel at redhat.com
Wed Jul 11 19:01:05 UTC 2012



----- Original Message -----
> From: "CHAMLEY Stephane" <Stephane.CHAMLEY at coe.int>
> To: "pacemaker at oss.clusterlabs.org" <pacemaker at 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?




More information about the Pacemaker mailing list