Removing a Cluster Resource

To remove a cluster resource you need the respective identifier. Proceed as follows:

  1. Run the crm command as system administrator. The prompt changes to crm(live).

  2. Run the following command to get a list of your resources:

    crm(live)# resource status

    For example, the output can look like this (whereas myIP is the respective identifier of your resource):

    myIP    (ocf::IPaddr:heartbeat) ...
  3. Delete the resource with the respective identifier (which implies a commit too):

    crm(live)# configure delete YOUR_ID
  4. Comit the changes:

    crm(live)# configure commit