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.

Plus

/etc/init.d.myResource

isn't going to do anything as there is no such file. My resource is a resource 
controlled, in its entirety, by an OCF RA.

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

> -----Original Message-----
> From: Florian Crouzat [mailto:gen...@floriancrouzat.net] 
> Sent: 15 March 2012 12:48
> To: pacemaker@oss.clusterlabs.org
> Subject: Re: [Pacemaker] How to stop a resource?
> 
> Le 15/03/2012 12:50, Tim Ward a écrit :
> 
> > So, does anyone have any ideas as to what is going on here, 
> and/or how to actually stop and then delete something? - thanks!
> 
> $ crm configure
> property maintenance-mode=true
> commit
> quit
> $ /etc/init.d/myResource stop
> $ crm resource
> cleanup myResource # so that it sees it's actually stopped cd 
> configure edit # now you can delete myResource commit 
> maintenance-mode=false commit quit
> 
> The maintenance-mode might not be useful depending on your 
> groups, colocations and orders.
> 
> --
> Cheers,
> Florian Crouzat





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

_______________________________________________
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

Reply via email to