[Pacemaker] how to delete a virtualdomain when it is running?
Kashif Jawed Siddiqui
kashifjs at huawei.com
Wed Sep 19 07:47:23 UTC 2012
Hi,
I try to delete a resource XYZ of type ocf:heartbeat:dummy by using the below
crm resource unmanage XYZ
crm configure property stop-orphan-resources=false
Then,
crm configure delete XYZ
But the delete fails. WHy ? ?? ?? ?
Regards,
Kashif Jawed Siddiqui
***************************************************************************************
This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!
________________________________________
From: Dejan Muhamedagic [dejanmm at fastmail.fm]
Sent: Monday, August 13, 2012 8:21 PM
To: The Pacemaker cluster resource manager
Subject: Re: [Pacemaker] how to delete a virtualdomain when it is running?
Hi,
On Thu, Aug 09, 2012 at 06:50:45PM +0800, cherish wrote:
> I have a virtual machine ,VM_TEST,running in node h10_150.I want to delete it from the cluster, and let it run in the node h10_150(Now ,the virtual machine is not belong to the cluster ,it is a Stand-alone virtual machine ), but I dont want to interrupt the interaction of the virtual machine .How can I do for this?
Put the resource in the unmanaged mode:
# crm resource meta VM_TEST is-managed false
Tell pacemaker not to remove deleted resources:
# crm configure property stop-orphan-resources=false
Remove the resource:
# crm configure delete VM_TEST
Remove operation records:
# crm resource cleanup VM_TEST
Set removing deleted resources (optional):
# crm configure property stop-orphan-resources=false
Thanks,
Dejan
> _______________________________________________
> 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
_______________________________________________
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
More information about the Pacemaker
mailing list