Update Config Keepalived v1.4.4
!lh@m's blog
Catatan aja sih..
config keepalived dua instance untuk fail-over dan dibalik state nya..
Master Config :
config keepalived dua instance untuk fail-over dan dibalik state nya..
Master Config :
vrrp_script haproxy { script "killall -0 haproxy" interval 2 weight 2 } vrrp_script sentinel { script "/etc/keepalived/scripts/redis_check.sh" interval 2 weight 2 } vrrp_instance HAP_1 { state BACKUP interface eth0 virtual_router_id 11 priority 100 advert_int 1 authentication { auth_type PASS auth_pass abcdefg # use 8 chars & something better } virtual_ipaddress { 10.42.200.210 } track_script { haproxy } } vrrp_instance SNT_1 { state MASTER interface eth0 virtual_router_id 21 priority 101 advert_int 1 authentication { auth_type PASS auth_pass abcdefg # use 8 chars & something better } virtual_ipaddress { 10.42.200.211 } track_script { sentinel } }
Subscribe to:
Posts (Atom)