Cluster IP

lweidig

Active Member
Oct 20, 2011
104
2
38
Sheboygan, WI
When using the command: pvecm create TestCluster and then showing the status, the cluster is setup on the IP address for the first Ethernet adapter. However, we have a public accessed network and private storage network for our devices. We would like the cluster sync running on the private side of things. How do we change this so that it uses the addresses of the private network. Tried deleting the single node it added during the create and then adding in the private IP, but that just gives us the error: authentication key already exists.
 
When using the command: pvecm create TestCluster and then showing the status, the cluster is setup on the IP address for the first Ethernet adapter.

No. The pve cluster IP address is derived from the hostname, which we lookup in /etc/hosts.

So you can basically configure that with /etc/hosts (use the clusterIp/hostname when you install with our installer).
 
How about adding an IP option so that people with multiple NICs can decide which address to setup the cluster on? Also, now is there any easy way to back out of the cluster setup I have on the incorrect IP address so that I can then update the /etc/hosts file and recreate the cluster. Thanks!