keepalived安装官网下载源码安装包http://www.keepalived.org/解压./configuremakemakeinstall修改配置文件!ConfigurationFileforkeepalivedglobal_defs{notification_email{acassen@firewall.locfailover@firewall.locsysadmin@firewall.loc}notification_email_fromAlexandre.Cassen@firewall.locsmtp_server192.168.200.1smtp_connect_timeout30router_idLVS_DEVELvrrp_skip_check_adv_addrvrrp_strictvrrp_garp_interval0vrrp_gna_interval0}vrrp_instanceVI_1{state主接口ETH0VIRTUAL_ROUTER_ID51优先级100Advert_Int1authentication{auth_typePassAuth_pass1111}Virtual_ipaddress{172.18.113.122}}10nb_get_retry3delay_before_retry3connect_port80}}}keepalivedstartup./keepalived验证成功[root@localhostsbin]#ipa|grepeth02:eth0:
