Netplan and high availability

James Hebden james at hebden.net.au
Tue Oct 30 21:38:33 UTC 2018


On Tue, Oct 30, 2018 at 09:17:58PM +0100, Harald Weidner wrote:
> Hello,
> 
> On Wed, Oct 17, 2018 at 11:09:07AM +1100, James Hebden wrote:
> 
> > Do you get the same behaviour if you use an alias interface in your
> > keepalived configuration? This configured keepalived to behave in a
> > similar way to pacemaker/crm, in that it will create an secondary
> > interface attached to the configured interface, which will be configured
> > with the VIP.
> > 
> > For example, if your interface is eth0, and you provide an alias of
> > eth0:1, eth0:1 will be configured with the virtual IP, and eth0 will
> > retain whichever IP is configured in your netplan if ifupdown
> > configuration.
> 
> I have tried this now, and it didn't help. After "netplan apply", all
> of keepalived's virtual IP addresses are dropped, regardless of having a
> label or not.

Unfortunate - this means that netplan is also likely to clobber VIPs
configured by other software too, for example, keepalived.

> 
> Best regards,
> Harald
> 
> -- 
> ubuntu-server mailing list
> ubuntu-server at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
> More info: https://wiki.ubuntu.com/ServerTeam



More information about the ubuntu-server mailing list