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 ...
 

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!