Open sylvainfaivre opened 3 years ago
You can use vm-public-ip script instead of vm-ip-from-arp to find failover ips in your vms. Also you can create a file with failover ips used in proxmox, and patch vm-ip-from-arp to read that file instead of using OnlineFailoverIP script to get a list of ips.
Yes, I am using vm-public-ip
.
This is only a warning about something I experienced.
Probably a note in README is enough, to warn users vm-ip-from-arp will ping all failover IPs so it's not good to use if only few IPs are used in Proxmox cluster
I don't know why script is stuck, it only ping once each IP
Maybe -w or -W should be used in ping command
If you have a big infrastructure hosted at Online, with hundreds of failover IPs, and only a few of them are used for your Proxmox cluster, here is what happens when running
/etc/pve-migration-monitor/vm-ip-from-arp -v -p vmbr0
:This calls
/etc/pve-migration-monitor/OnlineFailoverIP ips
to get the list for every failover IP address you have at Online, then starts pinging each address.At this point, the script appears to be stuck (I interrupted it after a few minutes).