Hii everyone,
So iv been playing about with HA on some OVH servers. It works but I need to code a script to point the VMs IP to the new node when they are moved. (I do not have access to vrack) . I'm wondering what the best way to do this is. I could write a function to query the Proxmox API every minute or something to pull back a list of VMs on each node but this seems excessive. What API call would you use to detect where and when VMs are migrated?
So iv been playing about with HA on some OVH servers. It works but I need to code a script to point the VMs IP to the new node when they are moved. (I do not have access to vrack) . I'm wondering what the best way to do this is. I could write a function to query the Proxmox API every minute or something to pull back a list of VMs on each node but this seems excessive. What API call would you use to detect where and when VMs are migrated?