[ClusterLabs] Adding a node to an active cluster

Xin Liang XLiang at suse.com
Tue Oct 27 03:29:06 EDT 2020


Hi Jiaqi,

Which OS version do you use and which crmsh version do you use?
I highly recommend you update your crmsh to latest version.
Besides that, did you mean you already have ceha03 and ceha04 nodes running the cluster service?
>From ha-cluster-bootstrapceha03.log, I can't see you have record of init cluster successfully.

Ideally, you should run:

  1.  on ceha03:    crm cluster init -y
  2.  on ceha01:   crm cluster join -c ceha03 -y

________________________________
From: Users <users-bounces at clusterlabs.org> on behalf of Jiaqi Tian1 <Dylan.Jiaqi.Tian at ibm.com>
Sent: Tuesday, October 27, 2020 12:15 AM
To: users at clusterlabs.org <users at clusterlabs.org>
Subject: Re: [ClusterLabs] Adding a node to an active cluster

Hi Xin,
I have ceha03 and ceha04 in cluster and trying to add ceha01 to the cluster. Running crm cluster join -c ceha03 -y on ceha01. Here are logs in ceha03 and ceha01. the log file in ceha04 is empty.

Thanks,
Jiaqi

----- Original message -----
From: Xin Liang <XLiang at suse.com>
Sent by: "Users" <users-bounces at clusterlabs.org>
To: "users at clusterlabs.org" <users at clusterlabs.org>
Cc:
Subject: [EXTERNAL] Re: [ClusterLabs] Adding a node to an active cluster
Date: Mon, Oct 26, 2020 8:43 AM

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/

_______________________________________________
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/20201027/652fdf1d/attachment-0001.htm>


More information about the Users mailing list