[ClusterLabs] Adding a node to an active cluster
Xin Liang
XLiang at suse.com
Mon Oct 26 08:43:13 EDT 2020
Hi Jiaqi
Could you give me your "/var/log/crmsh/ha-cluster-bootstrap.log" or "/var/log/ha-cluster-bootstrap.log" on these 3 nodes?
Thanks
________________________________
From: Users <users-bounces at clusterlabs.org> on behalf of Jiaqi Tian1 <Dylan.Jiaqi.Tian at ibm.com>
Sent: Saturday, October 24, 2020 5:48 AM
To: users at clusterlabs.org <users at clusterlabs.org>
Subject: Re: [ClusterLabs] Adding a node to an active cluster
Hi,
Thank you for your suggestion. The case I have is, I have host1 and host2 in cluster that has resources running, then I try to join host3 to the cluster by running "crm cluster join -c host1 -y". But I get this "Configuring csync2...ERROR: cluster.join: Can't invoke crm cluster init init csync2_remote on host3" issue. Are there any other requirements for running this command?
Thanks
Jiaqi Tian
----- Original message -----
From: Xin Liang <XLiang at suse.com>
Sent by: "Users" <users-bounces at clusterlabs.org>
To: Cluster Labs - All topics related to open-source clustering welcomed <users at clusterlabs.org>
Cc:
Subject: [EXTERNAL] Re: [ClusterLabs] Adding a node to an active cluster
Date: Wed, Oct 21, 2020 9:44 PM
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
_______________________________________________
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users
ClusterLabs home: https://www.clusterlabs.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20201026/94d2d715/attachment-0001.htm>
More information about the Users
mailing list