[Pacemaker] How to stop a resource?

Florian Crouzat gentoo at floriancrouzat.net
Thu Mar 15 12:47:33 UTC 2012


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




More information about the Pacemaker mailing list