1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
Kernel needing
==============
Compile a kernel with the following options :
Kernel/User netlink socket
Network firewalls (for Kernel 2.2)
LinuxVirtualServer
Keepalived support all LVS code : including IPVS code for kernel 2.2
and kernel 2.4
Libraries dependency
====================
In order to compile Keepalived needs the following libraries :
* OpenSSL, <www.openssl.org>
* popt
Installation
============
1. uncompress the tarball
2. cd into the directory
3. './configure'
4. 'make'
5. 'make install'. This will install keepalived on your system,
binaries and configuration file :
* keepalived : The keepalived daemon program.
* genhash : The MD5 url digest generator. You need it to
configure HTTP GET check and SSL GET check in
order to compute MD5SUM digest etalon.
* /etc/keepalived/keepalived.conf
6. link keepalived.init into your runlevel directory. On redhat systems :
ln -s /etc/rc.d/init.d/keepalived.init /etc/rc.d/rc3.d/S99keepalived
By default configure script use /usr/local as base directory. You can change
this value to your own by passing --prefix value to configure script
eg: './configure --prefix=/usr/'
Configuration
=============
Just take a look to the /etc/keepalived/keepalived.conf file installed.
It will give you all the informations needed. If you want more informations
considering keepalived, please refer to the keepalived homepage into the
documentation section.
http://www.keepalived.org
Have fun with it !
Alexandre, <acassen@linux-vs.org>
|