Created
May 31, 2018 06:02
-
-
Save prafull01/848c53328e6e981a78bae0573337f53d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! Configuration File for keepalived | |
global_defs { | |
router_id LVS_DEVEL | |
} | |
vrrp_script check_apiserver { | |
script "/etc/keepalived/check_apiserver.sh" | |
interval 3 | |
weight -2 | |
fall 10 | |
rise 2 | |
} | |
vrrp_instance VI_1 { | |
state <state> | |
interface <interface> | |
virtual_router_id 51 | |
priority <priority> | |
authentication { | |
auth_type PASS | |
auth_pass velotiotechnologies | |
} | |
virtual_ipaddress { | |
<virtual ip> | |
} | |
track_script { | |
check_apiserver | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment