Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Домашнее задание к занятию "10.1. Keepalived/vrrp" -Дмитрий Савченко
------- нода 1 ------

vrrp_instance failover_test {
state MASTER
interface enp0s3
virtual_router_id 10
priority 110
advert_int 4
authentication {
auth_type AH
auth_pass 1111
}
unicast_peer {
192.168.0.101
}
virtual_ipaddress {
192.168.0.254 dev enp0s3 label enp0s3:vip
}
}

-------нода 2 -------

vrrp_instance failover_test {
state BACKUP
interface enp0s3
virtual_router_id 10
priority 110
advert_int 4
authentication {
auth_type AH
auth_pass 1111
}
unicast_peer {
192.168.0.102
}
virtual_ipaddress {
192.168.0.254 dev enp0s3 label enp0s3:vip
}
}