[Pacemaker] how do i remove a resource correct ?

andreas graeper agraeper at googlemail.com
Tue Jun 11 08:21:52 EDT 2013


hi and thanks.

this is what i found :
crm_resource --name p_xxx --set-parameter target-role --meta
--parameter-value Stopped
crm configure delete o_xxx    ## order
crm configure delete c_xxx    ## colocation
crm configure delete p_xxx    ## primitive
crm_resource --name p_xxx --cleanup

ok?



2013/6/11 Lars Marowsky-Bree <lmb at suse.com>

> On 2013-06-11T13:39:42, andreas graeper <agraeper at googlemail.com> wrote:
>
> > # removing
> > cibadmin --delete --xml-text '<primtive id="p_xxx">'
> > cibadmin --delete --xml-text '<rsc_order id="o_xxx">'
>
> Why not crm configure delete?
>
> > 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 ?
>
> Because it's running, yet deleted. You should stop it first. crm
> configure delete would have warned about this.
>
>
> Regards,
>     Lars
>
> --
> Architect Storage/HA
> SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix
> Imendörffer, HRB 21284 (AG Nürnberg)
> "Experience is the name everyone gives to their mistakes." -- Oscar Wilde
>
>
> _______________________________________________
> 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/528479bf/attachment-0003.html>


More information about the Pacemaker mailing list