Thanks Yan Gao for the reply.  We're using heartbeat 2.1.3-0.9 running under 
zVM 5.4 / SLES10-SP2.  So I guess I have to use cibadmin.  So here goes:

1.      # cibadmin -Q | grep node
        <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" 
value="2.1.3-node: a3184d5240c6e7032aef9cce6e5b7752ded544b3"/>
     <nodes>
       <node id="9727f52f-a7b8-44b9-a503-8d972fbee51c" uname="lnxhat1" 
type="normal"/>
       <node id="a8fdbdba-8b56-4f34-bf59-28b1c9b6a7fd" uname="lnxhat2" 
type="normal"/>
       <node id="7bb78002-b3f7-4e91-a971-969def737c3d" uname="lnodbbt" 
type="normal"/>
       <node id="85658f93-34b3-4d33-98a8-b3e7334ad6d1" uname="lnodbct" 
type="normal"/>
       <node id="ad2760ca-6d04-4348-a10e-c0fbc24ae247" uname="lnodbbt" 
type="normal"/>
     </nodes>
     <node_state id="9727f52f-a7b8-44b9-a503-8d972fbee51c" uname="lnxhat1" 
crmd="online" crm-debug-origin="do_lrm_query" shutdown="0" in_ccm="true" 
ha="active" join="member" expected="member">
     </node_state>
     <node_state id="a8fdbdba-8b56-4f34-bf59-28b1c9b6a7fd" uname="lnxhat2" 
ha="active" crm-debug-origin="do_update_resource" crmd="online" shutdown="0" 
in_ccm="true" join="member" expected="member">
     </node_state>

2.      I then run  :
        cibadmin -D -o nodes -X '<node 
id="7bb78002-b3f7-4e91-a971-969def737c3d" uname="lnodbbt" type="normal"/>'
Call cib_delete failed (-42): Write requires quorum
<null>

3.      What now ?  The node that I am trying to delete belongs to another 
cluster.

TIA

On Wed, 2009-08-05 at 20:42 -0400, Bernie Wu wrote:
> Hi Listers,
> How can I remove nodes that currently appear in my Linux HA Management Client 
> ?
If it's heartbeat based cluster, first you should run hb_delnode to
delete the nodes.

And then delete them from cib:
If you are using the latest cluster stack, you could either delete them
via the GUI if you have pacemaker-mgmt installed, Or run "crm node
delete ...".
If you are still using heartbeat-2.1, you have to run cibadmin to delete
them.

>   These nodes belong to another cluster and they appear as stopped.
>
> TIA
> Bernie
>
> ________________________________
> The information contained in this e-mail message is intended only for the 
> personal and confidential use of the recipient(s) named above. This message 
> may be an attorney-client communication and/or work product and as such is 
> privileged and confidential. If the reader of this message is not the 
> intended recipient or an agent responsible for delivering it to the intended 
> recipient, you are hereby notified that you have received this document in 
> error and that any review, dissemination, distribution, or copying of this 
> message is strictly prohibited. If you have received this communication in 
> error, please notify us immediately by e-mail, and delete the original 
> message.
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
--
Regards,
Yan Gao
China R&D Software Engineer
[email protected]

Novell, Inc.
Making IT Work As One(tm)

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

The information contained in this e-mail message is intended only for the 
personal and confidential use of the recipient(s) named above. This message may 
be an attorney-client communication and/or work product and as such is 
privileged and confidential. If the reader of this message is not the intended 
recipient or an agent responsible for delivering it to the intended recipient, 
you are hereby notified that you have received this document in error and that 
any review, dissemination, distribution, or copying of this message is strictly 
prohibited. If you have received this communication in error, please notify us 
immediately by e-mail, and delete the original message.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to