[Pacemaker] how do i remove a resource correct ?

Lars Marowsky-Bree lmb at suse.com
Tue Jun 11 12:31:21 UTC 2013


On 2013-06-11T14:21:52, andreas graeper <agraeper at googlemail.com> wrote:

> hi and thanks.
> 
> this is what i found :
> crm_resource --name p_xxx --set-parameter target-role --meta
> --parameter-value Stopped

You can also use "crm resource stop p_xxx" here.

> crm configure delete o_xxx    ## order
> crm configure delete c_xxx    ## colocation
> crm configure delete p_xxx    ## primitive

You can delete the resource directly. crm shell will remove the
dependencies.

> crm_resource --name p_xxx --cleanup

This step isn't actually necessary.

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





More information about the Pacemaker mailing list