<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10pt" ><div dir="ltr" >Hi,</div>
<div dir="ltr" >Thanks for your reply. I'm using crmsh, are you refering to crm cluster add node command? It gives error on my cluster, when I'm trying to add ceha01 to a cluster by running crm cluster add ceha01. </div>
<div dir="ltr" > </div>
<div dir="ltr" >"ERROR: cluster.join: Abort: Cluster is currently active. Run this command on a node joining the cluster.<br>Connection to ceha01 closed."</div>
<div dir="ltr" > </div>
<div dir="ltr" >Can you explain how this command works in this case, otherwise do you have any other suggestions?</div>
<div dir="ltr" > </div>
<div dir="ltr" >BTW, </div>
<div dir="ltr" >1. Is there an issue updating cib.xml with cibadmin command when Pacemaker is running?</div>
<div dir="ltr" >2. Do you have idea where(which config file) crm_node command retrieves its data?</div>
<div dir="ltr" > </div>
<div dir="ltr" >Thanks,</div>
<div dir="ltr" > </div>
<div dir="ltr" >Jiaqi Tian</div>
<div dir="ltr" > </div>
<blockquote data-history-content-modified="1" dir="ltr" style="border-left:solid #aaaaaa 2px; margin-left:5px; padding-left:5px; direction:ltr; margin-right:0px" >----- Original message -----<br>From: Andrei Borzenkov <arvidjaar@gmail.com><br>Sent by: "Users" <users-bounces@clusterlabs.org><br>To: Cluster Labs - All topics related to open-source clustering welcomed <users@clusterlabs.org><br>Cc:<br>Subject: [EXTERNAL] Re: [ClusterLabs] Adding a node to an active cluster<br>Date: Wed, Oct 21, 2020 10:46 AM<br> 
<div><font face="Default Monospace,Courier New,Courier,monospace" size="2" >On Wed, Oct 21, 2020 at 5:03 PM Jiaqi Tian1 <Dylan.Jiaqi.Tian@ibm.com> wrote:<br>><br>> Hi,<br>> I'm trying to add a new node into an active pacemaker cluster with resources up and running.<br>> After steps:<br>> 1. update corosync.conf files among all hosts in cluster including the new node<br>> 2. copy corosync auth file to the new node<br>> 3. enable corosync and pacemaker on the new node<br>> 4. adding the new node to the list of node in /var/lib/pacemaker/cib/cib.xml<br>><br><br>Do you mean you edited CIB while pacemaker was running?<br><br>> Then I run crm status, the new node is displayed as offline. It will not become online, unless we run restart corosync and pacemaker on all nodes in cluster. But this is not what we want, since we want to keep existing nodes and resources up and running. Also in this case crm_node -l doesn't list the new node.<br>><br>> So my question is:<br>><br>> 1. Is there another approach to have the existing nodes aware of the new node and have crm status indicates the node is online while keeping other nodes and resources up and running?<br><br>I think you are better off using high level tools like pcs or crmsh.<br>They automate all steps needed to make cluster recognize new node<br>online.<br><br>> 2. which config file crm_node command reads?<br>><br><br>CIB<br>_______________________________________________<br>Manage your subscription:<br><a href="https://lists.clusterlabs.org/mailman/listinfo/users" target="_blank">https://lists.clusterlabs.org/mailman/listinfo/users</a> <br><br>ClusterLabs home: <a href="https://www.clusterlabs.org/" target="_blank">https://www.clusterlabs.org/</a> </font><br> </div></blockquote>
<div dir="ltr" > </div></div><BR>