[ClusterLabs] Adding a node to an active cluster

Andrei Borzenkov arvidjaar at gmail.com
Wed Oct 21 16:02:55 EDT 2020


21.10.2020 20:47, Strahil Nikolov пишет:
> Both SUSE and RedHat provide utilities to add the node without messing with the configs manually.

Which are crmsh and pcs respectively :)

> 
> What is your distro ?
> 
> 
> Best Regards,
> Strahil Nikolov
> 
> 
> 
> 
> 
> 
> В сряда, 21 октомври 2020 г., 17:03:19 Гринуич+3, Jiaqi Tian1 <dylan.jiaqi.tian at ibm.com> написа: 
> 
> 
> 
> 
> 
> 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/
> 



More information about the Users mailing list