2018.02.06-Keepalived配置
@(技术-Linux)[Linux, Keepalived]
①配置Keepalived的Master
! Configuration File for keepalivedglobal_defs { router_id LVS_DEVEL}vrrp_script chk_http_port { script "
②配置Keepalived的Backup
! Configuration File for keepalivedglobal_defs { router_id LVS_DEVEL}vrrp_script chk_http_port { script "
③Keepalived启动
/usr/local/keepalived/sbin/keepalived -D -f /usr/local/keepalived/etc/keepalived/keepalived.conf
④查看运行情况
ip addr