----- Original Message ----- > From: "Nicolas J." <nikkro70+pacema...@gmail.com> > To: pacemaker@oss.clusterlabs.org > Sent: Friday, March 29, 2013 8:55:30 AM > Subject: [Pacemaker] Same host displayed twice in crm status > > Hi, > > I have a problem with a Corosync/Pacemaker configuration. > One host of the cluster has been renamed and now the host is displayed twice > in the configuration. > > When I try to remove the host from the configuration it works but if corosync > is restarted on one node, the old host appears again. > I tried several ways to delete the host with no effect. > > How can I delete the wrong host?
For the pacemaker version you are using, try deleting the node from the configuration in both the <node> and <status> sections, then use crm_node -R option to remove the node from the cluster's internal cache. In pacemaker versions >= 1.1.8 only the crm_node -R option is required to remove a node. -- Vossel > I checked the Linux configuration and there is no place where the old name is > referenced. > It's an OEL/Red Hat linux. > > Output > --------- > [root@vmtestoradg2 ~]# crm status > ============ > Last updated: Fri Mar 29 14:51:56 2013 > Stack: openais > Current DC: vmtestoradg1 - partition with quorum > Version: 1.1.5-1.1.el5-01e86afaaa6d4a8c4836f68df80ababd6ca3902f > 4 Nodes configured, 3 expected votes > 1 Resources configured. > ============ > > Online: [ vmtestoradg1 vmtestora10g01 vmtestoradg2 ] > OFFLINE: [ VMTESTORADG2.it.dbi-services.com ] > > DG_IP (ocf::heartbeat:IPaddr2): Started vmtestoradg1 > > [root@vmtestoradg2 ~]# crm node clearstate VMTESTORADG2.it.dbi-services.com > Do you really want to drop state for node VMTESTORADG2.it.dbi-services.com ? > y > [root@vmtestoradg2 ~]# crm node delete VMTESTORADG2.it.dbi-services.com > INFO: node VMTESTORADG2.it.dbi-services.com not found by crm_node > INFO: node VMTESTORADG2.it.dbi-services.com deleted > > Thanks in advance > > Best Regards, > > Nicolas J. > > _______________________________________________ > Pacemaker mailing list: Pacemaker@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@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