[ClusterLabs] Adding a node to an active cluster

Andrei Borzenkov arvidjaar at gmail.com
Wed Oct 21 10:45:44 EDT 2020


On Wed, Oct 21, 2020 at 5:03 PM Jiaqi Tian1 <Dylan.Jiaqi.Tian at ibm.com> wrote:
>
> 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
>

Do you mean you edited CIB while pacemaker was running?

> 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?

I think you are better off using high level tools like pcs or crmsh.
They automate all steps needed to make cluster recognize new node
online.

> 2. which config file crm_node command reads?
>

CIB


More information about the Users mailing list