[Pacemaker] How to delete a resource
Andrew Beekhof
andrew at beekhof.net
Mon Dec 7 11:27:06 UTC 2009
On Mon, Dec 7, 2009 at 12:14 PM, Colin <colin.hch at gmail.com> wrote:
> On Mon, Dec 7, 2009 at 12:07 PM, Andrew Beekhof <andrew at beekhof.net> wrote:
>> On Mon, Dec 7, 2009 at 11:10 AM, Colin <colin.hch at gmail.com> wrote:
>>>> # crm configure delete <resource-id>
>>>
>>> Thanks, that did the trick — it recursively deletes everything
>>> connected to the resource.
>>>
>>> Wonder why crm_resource —delete doesn't do the same thing…
>>
>> Its not trying to be clever.
>> It does only what you ask it to do.
>
> So what is the conceptual difference between asking to delete a
> resource via "crm configure delete" and via "crm_resource —delete"?
One magically deletes everything.
The other just tries to delete what you tell it to.
> (Is there any case where the latter will actually work?)
Yes, when there are no constraints referencing the resource.
More information about the Pacemaker
mailing list