advices on cluster setup

jgaret

New Member
Jan 5, 2012
3
0
1
I am currently testing out Proxmox VE 2.0. I would have a question about the cluster setup.
I have a dedicated network interface between the two hosts of my cluster. It could also be a bonded interface in active backup with wires connected to different switches and more than two nodes. This interface has an IP adress different from the one resolved by the hostname (which would be some kind of management interface for me).

For example let say I have :
server1.domain.tld (resolving IP address 10.0.0.1)
eth0 = 10.0.0.1
eth1 = 172.18.0.1 (known in /etc/hosts as server1-ha)

server2.domain.tld (resolving IP address 10.0.0.2)
eth0 = 10.0.0.2
eth1 = 172.18.0.2 (known in /etc/hosts as server2-ha)

So how should I configure the cluster in proxmox VE 2.0 to benefit from this setup ?

If I do pvecm create mycluster from any node, it adds automatically server1.domain.tld (10.0.0.1) as node, but I would prefer it uses server1-ha (172.18.0.1), same when I do a pvecm add server1-ha from server2, it does not use the good interface for cluster communication.
 
That's what I've currently done, but that leads to problems from the web UI because everything goes then through this link so I have troubles accessing some resources because I do not have access to the HA IP address.

I need to rethink my setup and if PVE is the correct solution for me.
 
I have a setup similar to what you describe.

vm5:
192.168.12.5 eth0
192.168.8.5 ib0 (IP over Infiniband)

vm6:
192.168.12.6 eth0
192.168.8.6 ib0

The IP addresses for the IB interfaces are listed in /etc/hosts on both servers:
192.168.8.6 vm6.example.com vm6
192.168.8.5 vm5.example.com vm5

Proxmox cluster is running on the 192.168.8.X network.

I can manage all the resources by using the web interface from either server over the 192.168.12.X network.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, 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 yours easily in our online shop.

Buy now!