Keep in mind that if your hosts are all on the same subnet and your gateway goes offline it will not cause a network partition (or host isolation) since the heartbeat communication between master and slave will continue to flow every second, because of that I don't see your idea as a viable option. See the following link for additional HA fundamentals: https://ha.yellow-bricks.com/fundamental_concepts.html---1 person found this helpful
Senior Infrastructure Specialist
Thanks for the reply, very helpful.
I had to read this 4 times to get it :), but I never tried this and am not sure it will work, lets go over it. What you are trying to achieve is use the ESXi host IP-Addresses to figure out if the isolation response needs to be triggered. By adding them all on an isolation of a host the following will happen:
- no traffic between slave and master or master and slaves
- if it was a slave then the slave will start a "master election process"
- if it was a master now the master will ping the isolation addresses
- if it was a slave an there's no response to the election process then the slave will ping the isolation address after it has elected itself as master
- if there's no response to any of the pings (happen in parallel) then the isolation is declared and the isolation response is triggered Now the question is: will there be a response when the host tries to ping itself while it is isolated, as you need to add all ip-addresses to "isolation address" options...
My guess is: the host will be able to ping itself and as such the host will need be declared as isolated. Leaving the VMs running. (tested it, when I disconnect the NICs the host will still be able to ping itself.)