blob: 81b77ba3783915e1fc7b3efcd3304c5391e19359 [file] [log] [blame]
Filip Pytloun4ab64a02015-10-06 16:28:32 +02001==========
2Keepalived
3==========
4
5Keepalived is a routing software written in C. The main goal of this project is to provide simple and robust facilities for loadbalancing and high-availability to Linux system and Linux based infrastructures. Loadbalancing framework relies on well-known and widely used Linux Virtual Server (IPVS) kernel module providing Layer4 loadbalancing. Keepalived implements a set of checkers to dynamically and adaptively maintain and manage loadbalanced server pool according their health. On the other hand high-availability is achieved by VRRP protocol. VRRP is a fundamental brick for router failover. In addition, Keepalived implements a set of hooks to the VRRP finite state machine providing low-level and high-speed protocol interactions. Keepalived frameworks can be used independently or all together to provide resilient infrastructures.
6
7
8Sample pillar
9=============
10
11.. code-block:: yaml
12
13 keepalived:
14 cluster:
15 enabled: True
16 instance:
17 VI_1:
18 priority: 100 (highest priority must be on primary server, different for cluster members)
19 virtual_router_id: 51
20 password: pass
21 address: 192.168.10.1
22 interface: eth0
23 VI_2:
24 priority: 150 (highest priority must be on primary server, different for cluster members)
25 virtual_router_id: 52
26 password: pass
27 address: 10.0.0.5
28 interface: eth1
29
30
31Read more
32=========
33
34* https://raymii.org/s/tutorials/Keepalived-Simple-IP-failover-on-Ubuntu.html