Home keepalived looses VIP IP on systemd Ubuntu18 (Loadbalancers)
Post
Cancel

keepalived looses VIP IP on systemd Ubuntu18 (Loadbalancers)

Version pre 2.x of keepalive which are shipped with the Ubuntu18 Repository will crash. You’ll have to configure a higher Version from source by yourself.

https://github.com/acassen/keepalived/issues/836

https://www.keepalived.org/download.html

“/lib/systemd/system/keepalived.service”

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=LVS and VRRP High Availability Monitor
After=network-online.target syslog.target
Wants=network-online.target

[Service]
Type=forking
PIDFile=/run/keepalived.pid
KillMode=process
EnvironmentFile=-/usr/local/etc/sysconfig/keepalived
ExecStart=/usr/local/sbin/keepalived $KEEPALIVED_OPTIONS
ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target
This post is licensed under CC BY 4.0 by the author.