How to control which VE runs on which node in HA cluster ?

AhmedF

Renowned Member
Dec 26, 2012
26
1
68
Hi,

I'm having a complete proxmox cluster with HA working just fine and HA VEs are moving around the 3 nodes when anyone fails and I've no complains :)
but I'd like to control which VEs runs on which node as I've here 3 nodes and like to balance the load of 30 VEs to get 10 per node , is there anyway to control this ?

I've them all on a shared SAN so I just need to mark these 10 VEs for the first node and so on and when anyone fails it should go to node #2 then node #3

is this possible ?

I'm running here the latest proxmox cluster software

Code:
root@proxmoxa:~# pveversion -v
pve-manager: 2.2-31 (pve-manager/2.2/e94e95e9)
running kernel: 2.6.32-16-pve
proxmox-ve-2.6.32: 2.2-82
pve-kernel-2.6.32-16-pve: 2.6.32-82
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.4-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.93-2
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.9-1
pve-cluster: 1.0-33
qemu-server: 2.0-69
pve-firmware: 1.0-21
libpve-common-perl: 1.0-39
libpve-access-control: 1.0-25
libpve-storage-perl: 2.0-36
vncterm: 1.0-3
vzctl: 4.0-1pve2
vzprocps: 2.0.11-2
vzquota: 3.1-1
pve-qemu-kvm: 1.2-7
ksm-control-daemon: 1.1-1
root@proxmoxa:~#

Thanks in advance,
 
You need to configure "Failover domains" manually in the cluster.conf file.
Each node in the failover domain can have a priority thus setting a preference for where a VM will run.

Then you assign HA VMs to the failover domains.

If you search the forums you should find the info you need to configure this, I know I have posted it before.
 

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!