Skip to content

Instantly share code, notes, and snippets.

@dogukancagatay
Last active June 8, 2020 06:18
Show Gist options
  • Save dogukancagatay/c843935b39883d601cacba0870662a77 to your computer and use it in GitHub Desktop.
Save dogukancagatay/c843935b39883d601cacba0870662a77 to your computer and use it in GitHub Desktop.
Basic Keepalived Configuration

Keepalived Configuration

yum install -y keepalived
vrrp_instance VI_1 {
state BACKUP
interface eth0
virtual_router_id 51
priority 100 advert_int 1
authentication {
auth_type PASS
auth_pass 112233
}
virtual_ipaddress {
192.168.1.10
}
}
vrrp_instance VI_1 {
state MASTER
interface eth0
virtual_router_id 51
priority 101 advert_int 1
authentication {
auth_type PASS
auth_pass 112233
}
virtual_ipaddress {
192.168.1.10
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment