[Pacemaker] how do i remove a resource correct ?

andreas graeper agraeper at googlemail.com
Tue Jun 11 08:35:29 EDT 2013


danke !
danke !


2013/6/11 Michael Schwartzkopff <misch at clusterbau.com>

> **
>
> 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
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130611/d12cb404/attachment-0003.html>


More information about the Pacemaker mailing list