[Pacemaker] how do i remove a resource correct ?

Michael Schwartzkopff misch at clusterbau.com
Tue Jun 11 12:30:27 UTC 2013


Am Dienstag, 11. Juni 2013, 13:39:42 schrieb andreas graeper:
> hi,
> what i do this moment:
> 
> #  installing
> crm <<EOL
>  configure primitive xxx
>  configure order ..
>  configure colocation ..
> EOL
> 
> and
> 
> # removing
> cibadmin --delete --xml-text '<primtive id="p_xxx">'
> cibadmin --delete --xml-text '<rsc_order id="o_xxx">'
> 
> i.e. ocf:heartbeat:symlink
> (after installing 'failed actions: .. not installed' on passive node)
> when i remove the symlink-resource crm_mon tells about an orphaned child on
> active node ?

Please stop the resource before removing it.

crm resource stop p_xxx

and delete it with the crm:

crm configure delete p_xxx

To get rid of the orphan resources:

crm resource cleanup p_xxx

-- 
Dr. Michael Schwartzkopff
Guardinistr. 63
81375 München

Tel: (0163) 172 50 98
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130611/eb0d3cf8/attachment.htm>


More information about the Pacemaker mailing list