M HYPE SPLASH
// general

MAAS HA config switching gateway on failover

By Michael Henderson

I am using 16.04 Ubuntu and MAAS 2.1.2, So I have setup two MAAS servers that failover to each other. Everything is working how is should. The only problem is, you have to manually reset the gateway on failover. If one server goes away and that server was set in the GUI to be the gateway for the private network to use for DHCP/PXE, nodes won't be able to get out to the internet unless you manually reset the IP to the gateway of the server that is still active.

Is there any sort of mechanized way to switch the gateway on fail over? Maybe some sort of network change/route? I could script the change on failover with a MAAS command, but I would like to avoid this.

Thanks, Chris

MAAS Network Image

1 Answer

Since your using the MAAS controllers as the gateway to the internet I would setup a VIP between the two. This would allow all deployed machines to be able to talk to the gateway no matter which MAAS controller is done. There is documentation on how to do this with MAAS in the documentation, Manage HA.

4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy