Add VRRP/Keepalived support for active/standby set up

Bug #1976562 reported by Haw Loeung
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenVPN Server Charm
New
Undecided
Unassigned

Bug Description

Hi,

In cases where we want to have an active and standby/hotspare/backup OpenVPN server, it would be useful to add support for VRRP/Keepalived to allow automatic or more seamless failing over. The current process is pretty manual:

 * stop OpenVPN on active (though probably not needed).

 * remove assigned VIPs on active.

 * bring up assigned VIPs on standby (either `netplan apply` or manual).

 * start up OpenVPN on standby.

Revision history for this message
Junien Fridrick (axino) wrote :

What's the client view for when a failover happens ?
Is there maybe a difference between shutting down openvpn on the active one first and not doing that ?

Revision history for this message
Haw Loeung (hloeung) wrote :

Actually, thinking more about this one, we should still stop OpenVPN. The difference, I think, is that stopping OpenVPN first tells clients to disconnect and reconnect or retry to reconnect immediately whereas with keeping it up and cutting over would mean that clients would only retry to reconnect on timing out which could be 5-10 mins, maybe even more.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.