VM creation via API

Atlan

New Member
Nov 22, 2018
2
0
1
38
Hi,

I have a proxmox cluster (9 nodes) on which I want to create VM with API.
Is there a way to address the cluster instead of a specific node ?
Or could I get the least loaded node ?

Thanks,
 
As I have to pop those VM automatically, I would like to have the least processing.
HA choose node automatically when it need to re-pop a failed VM. Does this mechanism use informations I could re-use or does it randomly when choosing the node ?
 
HA choose node automatically when it need to re-pop a failed VM. Does this mechanism use informations I could re-use or does it randomly when choosing the node ?

HA just tries to keep the VM count balanced - it is quite easy to do that manually with data from /cluster/resources ...