<div dir="ltr"><div style>I&#39;ve already tried to remove the node following the document:</div><a href="http://clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/s-node-delete.html">http://clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/s-node-delete.html</a><div>

<br></div><div style>with the following commands:</div><div><span style="color:rgb(0,0,0);font-family:&#39;liberation mono&#39;,&#39;bitstream vera mono&#39;,&#39;dejavu mono&#39;,monospace;font-size:12px;font-weight:bold;line-height:15.46875px;white-space:nowrap">crm_node -R </span><em class="" style="font-family:&#39;liberation mono&#39;,&#39;bitstream vera mono&#39;,&#39;dejavu mono&#39;,monospace;color:rgb(0,0,0);font-size:12px;font-weight:bold;line-height:15.46875px;white-space:nowrap"><code style="font-family:&#39;liberation mono&#39;,&#39;bitstream vera mono&#39;,&#39;dejavu mono&#39;,monospace">COROSYNC_ID</code></em></div>

<div><div class="" style="line-height:15.46875px;padding-top:0px;margin-top:0em;padding-bottom:0px;margin-bottom:0.3em;color:rgb(0,0,0);font-family:&#39;liberation sans&#39;,&#39;Myriad &#39;,&#39;Bitstream Vera Sans&#39;,&#39;Lucida Grande&#39;,&#39;Luxi Sans&#39;,&#39;Trebuchet MS&#39;,helvetica,verdana,arial,sans-serif;font-size:12px">

<code class="" style="font-family:&#39;liberation mono&#39;,&#39;bitstream vera mono&#39;,&#39;dejavu mono&#39;,monospace;white-space:nowrap;font-weight:bold">cibadmin --delete --obj_type nodes --crm_xml &#39;&lt;node uname=&quot;<a href="http://VMTESTORADG2.it.dbi-services.com">VMTESTORADG2.it.dbi-services.com</a>&quot;/&gt;&#39;</code></div>

<div class="" style="line-height:15.46875px;padding-top:0px;margin-top:0em;padding-bottom:0px;margin-bottom:0.3em;color:rgb(0,0,0);font-family:&#39;liberation sans&#39;,&#39;Myriad &#39;,&#39;Bitstream Vera Sans&#39;,&#39;Lucida Grande&#39;,&#39;Luxi Sans&#39;,&#39;Trebuchet MS&#39;,helvetica,verdana,arial,sans-serif;font-size:12px">

<code class="" style="font-family:&#39;liberation mono&#39;,&#39;bitstream vera mono&#39;,&#39;dejavu mono&#39;,monospace;white-space:nowrap;font-weight:bold">cibadmin --delete --obj_type status --crm_xml &#39;&lt;node_state uname=&quot;<a href="http://VMTESTORADG2.it.dbi-services.com">VMTESTORADG2.it.dbi-services.com</a>&quot;/&gt;&#39;</code></div>

<div><br></div><div style>I also tried to delete the status before deleting the node with the same results.</div><div style><br></div><div style>I have the same issue, the node is deleted but when corosync is restarted on any node, the deleted name appears again.</div>

<div style>The server with the changed hostname has been restarted so I don&#39;t know where the reference to the old name can be saved except in the cluster.</div></div><div style><br></div><div style>Regarding the version, here are the details:</div>

<div style>- Corosync 1.2.7-1.1.el5</div><div style>- Pacemaker 1.1.5-1.1.el5</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/1 David Vossel <span dir="ltr">&lt;<a href="mailto:dvossel@redhat.com" target="_blank">dvossel@redhat.com</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">----- Original Message -----<br>
&gt; From: &quot;Nicolas J.&quot; &lt;<a href="mailto:nikkro70%2Bpacemaker@gmail.com">nikkro70+pacemaker@gmail.com</a>&gt;<br>
&gt; To: <a href="mailto:pacemaker@oss.clusterlabs.org">pacemaker@oss.clusterlabs.org</a><br>
&gt; Sent: Friday, March 29, 2013 8:55:30 AM<br>
&gt; Subject: [Pacemaker] Same host displayed twice in crm status<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; I have a problem with a Corosync/Pacemaker configuration.<br>
&gt; One host of the cluster has been renamed and now the host is displayed twice<br>
&gt; in the configuration.<br>
&gt;<br>
&gt; When I try to remove the host from the configuration it works but if corosync<br>
&gt; is restarted on one node, the old host appears again.<br>
&gt; I tried several ways to delete the host with no effect.<br>
&gt;<br>
&gt; How can I delete the wrong host?<br>
<br>
</div>For the pacemaker version you are using, try deleting the node from the configuration in both the &lt;node&gt; and &lt;status&gt; sections, then use crm_node -R option to remove the node from the cluster&#39;s internal cache.  In pacemaker versions &gt;= 1.1.8 only the crm_node -R option is required to remove a node.<br>


<br>
-- Vossel<br>
<div><div class="h5"><br>
&gt; I checked the Linux configuration and there is no place where the old name is<br>
&gt; referenced.<br>
&gt; It&#39;s an OEL/Red Hat linux.<br>
&gt;<br>
&gt; Output<br>
&gt; ---------<br>
&gt; [root@vmtestoradg2 ~]# crm status<br>
&gt; ============<br>
&gt; Last updated: Fri Mar 29 14:51:56 2013<br>
&gt; Stack: openais<br>
&gt; Current DC: vmtestoradg1 - partition with quorum<br>
&gt; Version: 1.1.5-1.1.el5-01e86afaaa6d4a8c4836f68df80ababd6ca3902f<br>
&gt; 4 Nodes configured, 3 expected votes<br>
&gt; 1 Resources configured.<br>
&gt; ============<br>
&gt;<br>
&gt; Online: [ vmtestoradg1 vmtestora10g01 vmtestoradg2 ]<br>
&gt; OFFLINE: [ <a href="http://VMTESTORADG2.it.dbi-services.com" target="_blank">VMTESTORADG2.it.dbi-services.com</a> ]<br>
&gt;<br>
&gt; DG_IP (ocf::heartbeat:IPaddr2): Started vmtestoradg1<br>
&gt;<br>
&gt; [root@vmtestoradg2 ~]# crm node clearstate <a href="http://VMTESTORADG2.it.dbi-services.com" target="_blank">VMTESTORADG2.it.dbi-services.com</a><br>
&gt; Do you really want to drop state for node <a href="http://VMTESTORADG2.it.dbi-services.com" target="_blank">VMTESTORADG2.it.dbi-services.com</a> ?<br>
&gt; y<br>
&gt; [root@vmtestoradg2 ~]# crm node delete <a href="http://VMTESTORADG2.it.dbi-services.com" target="_blank">VMTESTORADG2.it.dbi-services.com</a><br>
&gt; INFO: node <a href="http://VMTESTORADG2.it.dbi-services.com" target="_blank">VMTESTORADG2.it.dbi-services.com</a> not found by crm_node<br>
&gt; INFO: node <a href="http://VMTESTORADG2.it.dbi-services.com" target="_blank">VMTESTORADG2.it.dbi-services.com</a> deleted<br>
&gt;<br>
&gt; Thanks in advance<br>
&gt;<br>
&gt; Best Regards,<br>
&gt;<br>
&gt; Nicolas J.<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
&gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt;<br>
&gt; Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
&gt; Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
&gt; Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
&gt;<br>
<br>
_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
</blockquote></div><br></div>