[Pacemaker] How to stop a resource?

Jake Smith jsmith at argotec.com
Thu Mar 15 09:16:58 EDT 2012


----- Original Message -----
> From: "Tim Ward" <Tim.Ward at ipaccess.com>
> To: "The Pacemaker cluster resource manager" <pacemaker at oss.clusterlabs.org>
> Sent: Thursday, March 15, 2012 8:58:19 AM
> Subject: Re: [Pacemaker] How to stop a resource?
> 
> I think that describes an interactive session?
> 
> I know I can do it interactively - just go and have a cup of coffee
> after the "stop" and before the "delete" and manually poll crm
> status - but what I need is a programmatic way of doing it.

Maybe totally in the wrong direction for what you want but...
Put commands in a script and add a until loop with a pgrep test and sleep 1 till the specific resource is stopped then continue?

HTH

Jake




More information about the Pacemaker mailing list