<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Jiaqi,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Assuming you already have node1 running resources, you can try to run this command on node2:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
"crm cluster join -c node1 -y"</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Users <users-bounces@clusterlabs.org> on behalf of Jiaqi Tian1 <Dylan.Jiaqi.Tian@ibm.com><br>
<b>Sent:</b> Wednesday, October 21, 2020 10:03 PM<br>
<b>To:</b> users@clusterlabs.org <users@clusterlabs.org><br>
<b>Subject:</b> [ClusterLabs] Adding a node to an active cluster</font>
<div> </div>
</div>
<div>
<div class="x_socmaildefaultfont" dir="ltr" style="font-family:Arial,Helvetica,sans-serif; font-size:10pt">
<div dir="ltr">
<div dir="ltr" style="outline:none; color:rgb(18,18,18); font-family:Arial,Helvetica,sans-serif; font-size:13.3333px; font-style:normal; font-variant-ligatures:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; orphans:2; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; background-color:rgb(255,255,255); text-decoration-style:initial; text-decoration-color:initial">
Hi,</div>
<div dir="ltr" style="outline:none; color:rgb(18,18,18); font-family:Arial,Helvetica,sans-serif; font-size:13.3333px; font-style:normal; font-variant-ligatures:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; orphans:2; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; background-color:rgb(255,255,255); text-decoration-style:initial; text-decoration-color:initial">
I'm trying to add a new node into an active pacemaker cluster with resources up and running.</div>
<div dir="ltr" style="outline:none; color:rgb(18,18,18); font-family:Arial,Helvetica,sans-serif; font-size:13.3333px; font-style:normal; font-variant-ligatures:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; orphans:2; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; background-color:rgb(255,255,255); text-decoration-style:initial; text-decoration-color:initial">
After steps:</div>
<div dir="ltr" style="outline:none; color:rgb(18,18,18); font-family:Arial,Helvetica,sans-serif; font-size:13.3333px; font-style:normal; font-variant-ligatures:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; orphans:2; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; background-color:rgb(255,255,255); text-decoration-style:initial; text-decoration-color:initial">
1. update corosync.conf files among all hosts in cluster including the new node</div>
<div dir="ltr" style="outline:none; color:rgb(18,18,18); font-family:Arial,Helvetica,sans-serif; font-size:13.3333px; font-style:normal; font-variant-ligatures:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; orphans:2; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; background-color:rgb(255,255,255); text-decoration-style:initial; text-decoration-color:initial">
2. copy corosync auth file to the new node</div>
<div dir="ltr" style="outline:none; color:rgb(18,18,18); font-family:Arial,Helvetica,sans-serif; font-size:13.3333px; font-style:normal; font-variant-ligatures:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; orphans:2; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; background-color:rgb(255,255,255); text-decoration-style:initial; text-decoration-color:initial">
3. enable corosync and pacemaker on the new node </div>
<div dir="ltr" style="outline:none; color:rgb(18,18,18); font-family:Arial,Helvetica,sans-serif; font-size:13.3333px; font-style:normal; font-variant-ligatures:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; orphans:2; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; background-color:rgb(255,255,255); text-decoration-style:initial; text-decoration-color:initial">
4. adding the new node to the list of node in /var/lib/pacemaker/cib/cib.xml</div>
<div dir="ltr" style="outline:none; color:rgb(18,18,18); font-family:Arial,Helvetica,sans-serif; font-size:13.3333px; font-style:normal; font-variant-ligatures:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; orphans:2; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; background-color:rgb(255,255,255); text-decoration-style:initial; text-decoration-color:initial">
 </div>
<div dir="ltr" style="outline:none; color:rgb(18,18,18); font-family:Arial,Helvetica,sans-serif; font-size:13.3333px; font-style:normal; font-variant-ligatures:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; orphans:2; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; background-color:rgb(255,255,255); text-decoration-style:initial; text-decoration-color:initial">
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.</div>
<div dir="ltr" style="outline:none; color:rgb(18,18,18); font-family:Arial,Helvetica,sans-serif; font-size:13.3333px; font-style:normal; font-variant-ligatures:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; orphans:2; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; background-color:rgb(255,255,255); text-decoration-style:initial; text-decoration-color:initial">
 </div>
<div dir="ltr" style="outline:none; color:rgb(18,18,18); font-family:Arial,Helvetica,sans-serif; font-size:13.3333px; font-style:normal; font-variant-ligatures:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; orphans:2; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; background-color:rgb(255,255,255); text-decoration-style:initial; text-decoration-color:initial">
So my question is:</div>
<div dir="ltr" style="outline:none; color:rgb(18,18,18); font-family:Arial,Helvetica,sans-serif; font-size:13.3333px; font-style:normal; font-variant-ligatures:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; orphans:2; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; background-color:rgb(255,255,255); text-decoration-style:initial; text-decoration-color:initial">
 </div>
<div dir="ltr" style="outline:none; color:rgb(18,18,18); font-family:Arial,Helvetica,sans-serif; font-size:13.3333px; font-style:normal; font-variant-ligatures:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; orphans:2; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; background-color:rgb(255,255,255); text-decoration-style:initial; text-decoration-color:initial">
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?</div>
<div dir="ltr" style="outline:none; color:rgb(18,18,18); font-family:Arial,Helvetica,sans-serif; font-size:13.3333px; font-style:normal; font-variant-ligatures:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; orphans:2; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; background-color:rgb(255,255,255); text-decoration-style:initial; text-decoration-color:initial">
2. which config file crm_node command reads?</div>
<div dir="ltr" style="outline:none; color:rgb(18,18,18); font-family:Arial,Helvetica,sans-serif; font-size:13.3333px; font-style:normal; font-variant-ligatures:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; orphans:2; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; background-color:rgb(255,255,255); text-decoration-style:initial; text-decoration-color:initial">
 </div>
<div dir="ltr" style="outline:none; color:rgb(18,18,18); font-family:Arial,Helvetica,sans-serif; font-size:13.3333px; font-style:normal; font-variant-ligatures:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; orphans:2; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; background-color:rgb(255,255,255); text-decoration-style:initial; text-decoration-color:initial">
Thanks,</div>
<div dir="ltr" style="outline:none; color:rgb(18,18,18); font-family:Arial,Helvetica,sans-serif; font-size:13.3333px; font-style:normal; font-variant-ligatures:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; orphans:2; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; background-color:rgb(255,255,255); text-decoration-style:initial; text-decoration-color:initial">
 </div>
<div dir="ltr" style="outline:none; color:rgb(18,18,18); font-family:Arial,Helvetica,sans-serif; font-size:13.3333px; font-style:normal; font-variant-ligatures:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; orphans:2; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; background-color:rgb(255,255,255); text-decoration-style:initial; text-decoration-color:initial">
Jiaqi Tian</div>
</div>
</div>
<br>
</div>
</body>
</html>