Thanks Dan I did these commands and it worked well: cibadmin --delete --obj_type nodes --crm_xml '<node id="01f645d4-c8d5-4b2a-8c44-5727101d56c5"/>' cibadmin --delete --obj_type nodes --crm_xml '<node id="193a0634-90b5-4c1b-aed1-b987dbae188e"/>'
Best Regards, Felipe On Mon, Dec 10, 2012 at 6:10 AM, Dan Frincu <[email protected]> wrote: > Hi, > > On Fri, Dec 7, 2012 at 10:59 PM, Felipe Gutierrez > <[email protected]> wrote: > > Hi everyone, > > > > I was using heartbeat and now I changed to use corosync. I am struggling > to > > delete the nodes that I configured on heartbeat. I am doing the exactly > > thing this manual says but I can't delete the two nodes. > > > http://clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/s-node-delete.html > > > > Does anyone have any idea? > > > > Thanks in advance. > > Felipe > > > > # /etc/init.d/corosync stop > > * Stopping corosync daemon > > corosync > > [ OK ] > > You should never stop corosync and want to make changes on the cluster > afterwards. Changes are propagated to all nodes via corosync, you stop > it, nothing will work. > > > > > root@cloud4:/etc/corosync# crm_node --force -R cloud4 > > root@cloud4:/etc/corosync# crm_node --force -R cloud11 > > root@cloud4:/etc/corosync# crm_node --force -R > > 193a0634-90b5-4c1b-aed1-b987dbae188e > > root@cloud4:/etc/corosync# crm_node -R COROSYNC_ID > > > > # crm_mon --one-shot -V > > crm_mon[2558]: 2012/12/07_19:52:31 ERROR: unpack_resources: Resource > > start-up disabled since no STONITH resources have been defined > > crm_mon[2558]: 2012/12/07_19:52:31 ERROR: unpack_resources: Either > > configure some or disable STONITH with the stonith-enabled option > > crm_mon[2558]: 2012/12/07_19:52:31 ERROR: unpack_resources: NOTE: > Clusters > > with shared data need STONITH to ensure data integrity > > ============ > > Last updated: Fri Dec 7 19:52:31 2012 > > Last change: Fri Dec 7 18:43:14 2012 via crmd on cloud11 > > Stack: openais > > Current DC: cloud11 - partition with quorum > > Version: 1.1.6-9971ebba4494012a93c03b40a2c58ec0eb60f50c > > 4 Nodes configured, 2 expected votes > > 0 Resources configured. > > ============ > > > > Node cloud4 (01f645d4-c8d5-4b2a-8c44-5727101d56c5): UNCLEAN (offline) > > Node cloud11 (193a0634-90b5-4c1b-aed1-b987dbae188e): UNCLEAN (offline) > > Online: [ cloud4 cloud11 ] > > You're mixing stuff here, again, with corosync started, delete the > nodes with the commands above. If you want to delete the nodes with > corosync stopped, you have to remove the cluster information base, or > cib for short. This is usually located in /var/lib/heartbeat/crm > (location might differ on newer software versions). That will wipe not > just the nodes, but the entire configuration as well. > > HTH, > Dan > > > > > -- > > *-- > > -- Felipe Oliveira Gutierrez > > -- [email protected] > > -- https://sites.google.com/site/lipe82/Home/diaadia* > > _______________________________________________ > > Linux-HA mailing list > > [email protected] > > http://lists.linux-ha.org/mailman/listinfo/linux-ha > > See also: http://linux-ha.org/ReportingProblems > > > > -- > Dan Frincu > CCNA, RHCE > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > -- *-- -- Felipe Oliveira Gutierrez -- [email protected] -- https://sites.google.com/site/lipe82/Home/diaadia* _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
