From bb736a1c91259af202b2f105bac1d2a71d99f5b0 Mon Sep 17 00:00:00 2001 From: teplodizain <117904330+teplodizain@users.noreply.github.com> Date: Mon, 19 Dec 2022 22:07:37 +0700 Subject: [PATCH] =?UTF-8?q?Create=20=D0=94=D0=BE=D0=BC=D0=B0=D1=88=D0=BD?= =?UTF-8?q?=D0=B5=D0=B5=20=D0=B7=D0=B0=D0=B4=D0=B0=D0=BD=D0=B8=D0=B5=20?= =?UTF-8?q?=D0=BA=20=D0=B7=D0=B0=D0=BD=D1=8F=D1=82=D0=B8=D1=8E=20"10.1.=20?= =?UTF-8?q?Keepalived?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...21\202\320\270\321\216 \"10.1. Keepalived" | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 "\320\224\320\276\320\274\320\260\321\210\320\275\320\265\320\265 \320\267\320\260\320\264\320\260\320\275\320\270\320\265 \320\272 \320\267\320\260\320\275\321\217\321\202\320\270\321\216 \"10.1. Keepalived" diff --git "a/\320\224\320\276\320\274\320\260\321\210\320\275\320\265\320\265 \320\267\320\260\320\264\320\260\320\275\320\270\320\265 \320\272 \320\267\320\260\320\275\321\217\321\202\320\270\321\216 \"10.1. Keepalived" "b/\320\224\320\276\320\274\320\260\321\210\320\275\320\265\320\265 \320\267\320\260\320\264\320\260\320\275\320\270\320\265 \320\272 \320\267\320\260\320\275\321\217\321\202\320\270\321\216 \"10.1. Keepalived" new file mode 100644 index 0000000..7024ffd --- /dev/null +++ "b/\320\224\320\276\320\274\320\260\321\210\320\275\320\265\320\265 \320\267\320\260\320\264\320\260\320\275\320\270\320\265 \320\272 \320\267\320\260\320\275\321\217\321\202\320\270\321\216 \"10.1. Keepalived" @@ -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 +} +}