[ClusterLabs] Adding a node to an active cluster

Xin Liang XLiang at suse.com
Wed Oct 21 21:44:10 EDT 2020


Hi Jiaqi,

Assuming you already have node1 running resources, you can try to run this command on node2:

"crm cluster join -c node1 -y"
________________________________
From: Users <users-bounces at clusterlabs.org> on behalf of Jiaqi Tian1 <Dylan.Jiaqi.Tian at ibm.com>
Sent: Wednesday, October 21, 2020 10:03 PM
To: users at clusterlabs.org <users at clusterlabs.org>
Subject: [ClusterLabs] Adding a node to an active cluster

Hi,
I'm trying to add a new node into an active pacemaker cluster with resources up and running.
After steps:
1. update corosync.conf files among all hosts in cluster including the new node
2. copy corosync auth file to the new node
3. enable corosync and pacemaker on the new node
4. adding the new node to the list of node in /var/lib/pacemaker/cib/cib.xml

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.

So my question is:

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?
2. which config file crm_node command reads?

Thanks,

Jiaqi Tian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20201022/e4f6ebb7/attachment.htm>


More information about the Users mailing list