How does the PVE API work if API node is down?

aradabir007

New Member
Nov 8, 2023
10
1
3
Hi,

I'm trying to build a 5-node cluster (which will be expanded in the future) and a Python wrapper for PVE API to create/delete VMs/CTs.

From my understanding, I need to send the API request to one of my HVs/nodes in the cluster.

But what if that specific HV is down? How can I make this fail-safe so the request can go to any HV if another one is down?
 
But what if that specific HV is down? How can I make this fail-safe so the request can go to any HV if another one is down?
There are different approches to this problem:
  • load balacing proxy that does the keep-alive stuff
  • iterate yourself through the nodes
  • round robin dns entry and try again after connect error
 

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!