question about failover migration

daruom13

Active Member
Aug 1, 2020
31
2
28
38
Hello,

I have a proxmox cluster with a failover IP at OVH.
The cluster is working fine, but I would like all of them to be automated.

Currently, in case of migration of the VM that carries the failover IP, I have to perform the switch manually from the OVH interface.

I would like to write a script which will check the status of the server and, in the event of negative feedback, make a call to the OVH API to switch the IP.

Does ProxMox provide a service that can be used to test server health?
Where should I install a heartbeat tool?

Thank you in advance.
 
hello,

you could use the API of Proxmox to look up where the VM is located and then update the endpoint of the failover IP if needed, I think there is also an API for OVH....