[ClusterLabs] Minimum configuration for dynamically adding a node to a cluster

Nikhil Utane nikhil.subscribed at gmail.com
Wed Jun 8 07:36:03 EDT 2016


Hi,

Would like to know the best and easiest way to add a new node to an already
running cluster.

Our limitation:
1) pcsd cannot be used since (as per my understanding) it communicates over
ssh which is prevented.
2) No manual editing of corosync.conf

So what I am thinking is, the first node will add nodelist with nodeid: 1
into its corosync.conf file.

nodelist {
    node {
      ring0_addr: node1
      nodeid: 1
    }
}

The second node to be added will get this information through some other
means and add itself with nodeid: 2 into it's corosync file.
Now the question I have is, does node1 also need to be updated with
information about node 2?
When i tested it locally, the cluster was up even without node1 having
node2 in its corosync.conf. Node2's corosync had both. If node1 doesn't
need to be told about node2, is there a way where we don't configure the
nodes but let them discover each other through the multicast IP (best
option).

Assuming we should add it to keep the files in sync, what's the best way to
add the node information (either itself or other) preferably through some
CLI command?

-Regards
Nikhil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20160608/e85ec949/attachment-0002.html>


More information about the Users mailing list