[Pacemaker] How to stop a resource?

Tim Ward Tim.Ward at ipaccess.com
Thu Mar 15 09:23:16 EDT 2012

> From: Jake Smith [mailto:jsmith at argotec.com] 
> 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?

Yes, probably is in the wrong direction. I'm driving this from Java and have written an interface to the "crm" command, which is how I was advised to get at Pacemaker from Java when I enquired on this list.

Tim Ward
Brett Ward Limited - www.brettward.co.uk  

This message contains confidential information and may be privileged. If you are not the intended recipient, please notify the sender and delete the message immediately.

ip.access Ltd, registration number 3400157, Building 2020, 
Cambourne Business Park, Cambourne, Cambridge CB23 6DW, United Kingdom

More information about the Pacemaker mailing list