<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 have tried reload the corosync.conf. But it seems making changes in corosync.conf and reload doesn't modify cib config, and crm status output remains unchanged as well. </div>
<div dir="ltr" > </div>
<div dir="ltr" >Thanks,</div>
<div dir="ltr" >Jiaqi Tian</div>
<div dir="ltr" > </div>
<blockquote data-history-content-modified="1" data-history-expanded="1" dir="ltr" style="border-left:solid #aaaaaa 2px; margin-left:5px; padding-left:5px; direction:ltr; margin-right:0px" >----- Original message -----<br>From: Tomas Jelinek <tojeline@redhat.com><br>Sent by: "Users" <users-bounces@clusterlabs.org><br>To: users@clusterlabs.org<br>Cc:<br>Subject: [EXTERNAL] Re: [ClusterLabs] Adding a node to an active cluster<br>Date: Thu, Oct 22, 2020 4:35 AM<br> 
<div><font face="Default Monospace,Courier New,Courier,monospace" size="2" >Hi,<br><br>Have you reloaded corosync configuration after modifying corosync.conf?<br>I don't see it in your procedure. Modifying the config file has no<br>effect until you reload it with 'corosync-cfgtool -R'.<br><br>It should not be needed to modify CIB and add the new node manually. If<br>everything is done correctly and the new node joins corosync membership,<br>pacemaker should figure out there is a new node in the cluster by itself.<br><br>Anyway, using pcs or crmsh is highly recommended as others already said.<br><br>Regards,<br>Tomas<br><br><br>Dne 21. 10. 20 v 16:03 Jiaqi Tian1 napsal(a):<br>> Hi,<br>> I'm trying to add a new node into an active pacemaker cluster with<br>> resources up and running.<br>> After steps:<br>> 1. update corosync.conf files among all hosts in cluster including the<br>> 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>> Then I run crm status, the new node is displayed as offline. It will not<br>> become online, unless we run restart corosync and pacemaker on all nodes<br>> in cluster. But this is not what we want, since we want to keep existing<br>> nodes and resources up and running. Also in this case crm_node -l<br>> doesn't list the new node.<br>> So my question is:<br>> 1. Is there another approach to have the existing nodes aware of the new<br>> node and have crm status indicates the node is online while keeping<br>> other nodes and resources up and running?<br>> 2. which config file crm_node command reads?<br>> Thanks,<br>> Jiaqi Tian<br>><br>><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> <br>><br><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>