[ClusterLabs Developers] Adding a node to an active cluster

Ken Gaillot kgaillot at redhat.com
Tue Oct 20 17:42:30 EDT 2020


Hi Jiaqi,

This question would be better for the users at clusterlabs.org mailing
list, which is for questions about using clusters. This list is for
questions about developing code.

Thanks!

On Tue, 2020-10-20 at 21:21 +0000, Jiaqi Tian1 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
>  
> 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/developers
> 
> ClusterLabs home: https://www.clusterlabs.org/
-- 
Ken Gaillot <kgaillot at redhat.com>



More information about the Developers mailing list