Can I delete pacemaker resource which is in UNMANAGED state?
Issue
pcs resource unmanage is intended to get cluster's hands off the resource in order to perform i.e. maintenance (only monitoring is still enabled but failure is not considered critical while unamanged). If resource is deleted while in unmanaged state it ends up in ORPHANED state - it is removed from cib but still present in running configuration. This can cause various issues i.e. when unmanaged resource is stopped manually outside of cluster there might be problems with stopping the resource upon deletion (while unmanaged) which may end up with stonith being initiated - this is not desired with unmanaged resource.
Is this desired behaviour?
Environment
- Red Hat Enterprise Linux 7
- pacemaker cluster
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.