Keepalived
A routing software written in C which provide a simple and robust facilities for load balancing and high-availability to Linux system and Linux based infrastructures.
Prerequisite
Linux servers (for MASTER & BACKUP)
Installation
Configuration
Paste into /etc/keepalived/keepalived.conf
:
MASTER
BACKUP
Modify the unicast_src_ip
, unicast_peer
, auth_pass
and virtual_ipaddress
according to your usage. Save the file and start and enable start on boot.
On client side, use the virtual_ipaddress
to access the service.
Last updated