focus-right

Frequently Asked Questions

High Availability

How does VMAC work and how can it improve HA failover?

Virtual MAC is a means of doing HA at layer 2, rather than layer 3. Essentially, in addition to a shared IP there is a shared MAC address which is owned by whichever unit is active. By implementing this, all virtual service traffic will communicate to this shared MAC address, allowing the standby device to pick up the traffic seamlessly. In the event of a failover, upstream devices do not need to change the ARP record associated with services. The only change that must occur is that the switch must begin sending frames out a different port. VMAC is the best way to accomplish HA, the only reason it is not the default is because some environments prohibit migrating MAC addresses across ports. Settings such as Cisco’s Port-Security can prevent VMAC from working properly.

A quick way to test whether your environment can use this is the 'laptop test'. If you take a laptop and plug it into a port on the switch, get connectivity, then move the connection to a different port on the same switch. If the connectivity returns without incident, then you should also be able to use VMAC. If your HA pair is connected to two different switches, the laptop test should be done on the switch that those switches converge at (rather than the switches LoadMaster connect to) since that is where the MAC bookkeeping will have to change quickly.
After confirming that VMAC will work in your environment, you can change to Virtual MAC during a maintenance window since it will require a reboot and for ARP to be flushed on relevant devices. To turn it on, can check the "Use Virtual MAC addresses" checkbox in Local Administration > HA Parameters on both devices. Following that you will need to reboot both. You will need to flush the ARP on all upstream devices. It is recommended but may not be necessary to flush the real servers' ARP as well.

Get Started

Start Powering Your Always-on Application Experience Today

30-Day Free Trial Contact Sales