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.
 

dietmar

Proxmox Staff Member
Staff member
Apr 28, 2005
16,820
414
103
Austria
www.proxmox.com
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).
 

lweidig

Active Member
Oct 20, 2011
104
2
38
Sheboygan, WI
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!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!