Keepalived Installation

Download from the official website : Click through

 yum install -y libnl
yum install -y libnl-devel
download
cd /usr/local/src/ wget http://www.keepalived.org/software/keepalived-1.2.21.tar.gz
tar -zxvf keepalived-1.2..tar.gz
cd keepalived-1.2.
./configure --sysconf=/etc/ --with-kernel-dir=/usr/src/kernels/2.6.-431.23..el6.x86_64/ make && make install
ln -s /usr/local/sbin/keepalived /sbin/
chkconfig --add keepalived
chkconfig --level keepalived on

The following errors are encountered :

 checking for openssl/err.h... yes
checking whether ETHERTYPE_IPV6 is declared... yes
checking for crypt in -lcrypt... yes
checking for MD5_Init in -lcrypto... yes
checking for SSL_CTX_new in -lssl... yes
checking for nl_socket_alloc in -lnl-... no
checking for nl_socket_modify_cb in -lnl... yes
checking libnfnetlink/libnfnetlink.h usability... no
checking libnfnetlink/libnfnetlink.h presence... no
checking for libnfnetlink/libnfnetlink.h... no
configure: error:
!!! Please install libnfnetlink headers.

terms of settlement :
yum install -y libnfnetlink-devel

Finally, after the installation is completed, the following :

Keepalived configuration
------------------------
Keepalived version : 1.2.
Compiler : gcc
Compiler flags : -g -O2 -DFALLBACK_LIBNL1
Extra Lib : -lssl -lcrypto -lcrypt -lnl
Use IPVS Framework : Yes
IPVS sync daemon support : Yes
IPVS use libnl : Yes
fwmark socket support : Yes
Use VRRP Framework : Yes
Use VRRP VMAC : Yes
Use VRRP authentication : Yes
SNMP keepalived support : No
SNMP checker support : No
SNMP RFCv2 support : No
SNMP RFCv3 support : No
SHA1 support : No
Use Debug flags : No
libnl version :
Use IPv4 devconf : No
Use libiptc : No
Use libipset : No

The explanation is as follows

Use IPVS Framework Use IPVS frame , Load balancing module

IPVS sync daemon support Enable IPVS Sync function .

Use VRRP Framework Modules necessary to achieve high availability

IPVS use libnl Indicates using a new version of libnl,libnl yes NTTLINK An implementation of .

ok Here we are Keepalived Compile and install complete

Keepalived Installation of more related articles

  1. saltstack And keepalived Installation configuration

    Use saltstack Compilation and installation keepalived: Create the corresponding directory , And create the corresponding sls The configuration file [root@node1 ~]# mkdir /srv/salt/prod/keepalived ...

  2. Nginx+keepalived Script Installation master-slave dual hot standby automatic switching solution

    Nginx+keepalived Script Installation master-slave dual hot standby automatic switching solution 2013-07-02 19:24:13 label :filesnginx keepalived Original works , Allowed to reprint , Please be sure to use hyperlinks when reprinting ...

  3. keepalived+nginx Installation configuration

    Software version number : pcre8.36 ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.36.tar.gz keepalived1.2 ...

  4. LVS+Nginx(LVS + Keepalived + Nginx Installation and configuration )

    ( You can also have each nginx It's all on all the application servers )  nginx Everyone's using it , I think I'm familiar with it , Good for load balancing , Simple installation . Simple configuration . There are also many related materials . lvs It's the masterpiece of Dr. Zhang wensong in China , Than nginx Be widely used ...

  5. LVS + Keepalived + Nginx Installation and configuration

    1. summary Last article < Architecture design : Load balancing layer design (6)——Nginx + Keepalived Build a highly available load layer >(http://blog.csdn.net/yinwenjie/artic ...

  6. keepalived Installation and use

    IP To configure management IP Address role remarks network card 192.168.1.114 Master register (Director) External provision VIP The address of the service is 192.168.1.88 eth1 192.168.1.205 Standby scheduler ...

  7. Architecture design : Load balancing layer design (7)——LVS + Keepalived + Nginx Installation and configuration

    1. summary Last article < Architecture design : Load balancing layer design (6)——Nginx + Keepalived Build a highly available load layer >(http://blog.csdn.net/yinwenjie/artic ...

  8. Nginx Load balancing and Keepalived Installation settings for

    One .Nginx Set up load balancing (1)upstream Configuration of http { upstream backend { # Here is the server group for background distribution , How many can be added , At the same time, set the query policy server 192. ...

  9. centos7 On keepalived Installation and configuration

    1. Environmental planning 1)master:node1,centos7.5,eth0:192.168.1.11,eht1:10.10.1.11,keepalive2)backup:node1,centos7.5,e ...

Random recommendation

  1. Android With multiple choice PhotoPicker

    Recently, I used some spare time to develop a Android library PhotoPicker, The previous article also introduced ,Android High imitation of wechat image selection function PhotoPicker, The function of selecting multiple pictures has not been added before , Now add the next one ...

  2. UI- Brief answer BOL The value of the plug value

    I don't know when , Used to BOL MODEL To make something . When a project comes into formal contact with standard master data , Start with MAINTAIN BAPI and BUPA Some of FM. And then for a while it's this kind of FM To develop .B ...

  3. Thorough solution LINK : fatal error LNK1123: The switch to COFF The period failed : Invalid or corrupt file

    Recently, my VS2010 Don't know what's going on , I usually use it well , Recently, the so-called LINK : fatal error LNK1123: The switch to COFF The period failed : Invalid or corrupt file I have a terrible headache , I checked all kinds of information ...

  4. ABP Translation of official documents 7.3 Quartz Integrate

    Quartz Integrate Introduce install establish Jobs Planned arrangement Jobs more Introduce Quartz It's a full-featured . Open source job Planning system , It can be used in small apps It can also be used in large enterprise systems .Abp.Quartz Package simplification ...

  5. intent flags Mark

    Intent Flag Introduce FLAG_ACTIVITY_BROUGHT_TO_FRONT  This flag is not usually set by program code , If in launchMode Set in singleTask The system helps you set the mode . F ...

  6. function strlen() and sizeof The difference between

    function strlen() and sizeof The difference between : #include<stdio.h> #include<stdlib.h> #include<string.h> #def ...

  7. [Swift]LeetCode246. Symmetric numbers $ Strobogrammatic Number

    A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside ...

  8. pl/sql Debugging stored procedures

    1. Find the corresponding stored procedure 2. Right click on the stored procedure name , choice Test 3. Click on 1 The button of the logo (begin debugger), choice 2 Start debugging 4. Stored procedures need parameters , It needs to be in the lower right table area (3) Fill in the corresponding value, that is ...

  9. Bits and pieces of knowledge telnet operation IMAP Check email

    1. use SQL Statement to find out the maximum value in the character field select max(cast( Field as int)) from surface notes : Because databases are compared by character ,10,9. because 9 Than 1 Big , And as long as there's a big number ,10 It's not in the back ...

  10. vue project Switch between mobile terminal and pc End . The same project , Configure different routes

    1, First, judge the device : stay main.js It says in it // vue Prototype mount - whether PC End if (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator. ...