Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- global_defs {
- notification_email {
- dev@null.com
- }
- notification_email_from lb1@mydomain.com
- smtp_server localhost
- smtp_connect_timeout 30
- }
- vrrp_instance VI_1 {
- state MASTER
- interface eth0
- virtual_router_id 101
- priority 101
- advert_int 1
- authentication {
- auth_type PASS
- auth_pass 1111
- }
- virtual_ipaddress {
- 192.168.0.12
- }
- }
- global_defs {
- notification_email {
- dev@null.com
- }
- notification_email_from lb2@mydomain.com
- smtp_server localhost
- smtp_connect_timeout 30
- }
- vrrp_instance VI_1 {
- state MASTER
- interface eth0
- virtual_router_id 101
- priority 100
- advert_int 1
- authentication {
- auth_type PASS
- auth_pass 1111
- }
- virtual_ipaddress {
- 192.168.0.12
- }
- }
- global_defs {
- notification_email {
- dev@null.com
- }
- notification_email_from lb1@mydomain.com
- smtp_server localhost
- smtp_connect_timeout 30
- }
- vrrp_instance VI_1 {
- state MASTER
- interface eth0
- virtual_router_id 101
- priority 101
- advert_int 1
- authentication {
- auth_type PASS
- auth_pass 1111
- }
- virtual_ipaddress {
- 192.168.0.12
- }
- }
- real_server 192.168.0.10 22 {
- weight 1
- TCP_CHECK {
- connect_timeout 3
- connect_port 22
- }
- }
- real_server 192.168.0.11 22 {
- weight 1
- TCP_CHECK {
- connect_timeout 3
- connect_port 22
- }
- }
- global_defs {
- notification_email {
- dev@null.com
- }
- notification_email_from lb2@mydomain.com
- smtp_server localhost
- smtp_connect_timeout 30
- }
- vrrp_instance VI_1 {
- state MASTER
- interface eth0
- virtual_router_id 101
- priority 100
- advert_int 1
- authentication {
- auth_type PASS
- auth_pass 1111
- }
- virtual_ipaddress {
- 192.168.0.12
- }
- }
- real_server 192.168.0.10 22 {
- weight 1
- TCP_CHECK {
- connect_timeout 3
- connect_port 22
- }
- }
- real_server 192.168.0.11 22 {
- weight 1
- TCP_CHECK {
- connect_timeout 3
- connect_port 22
- }
- }
- global_defs {
- notification_email {
- dev@null.com
- }
- notification_email_from lb1@mydomain.com
- smtp_server localhost
- smtp_connect_timeout 30
- }
- vrrp_instance VI_1 {
- state MASTER
- interface eth0
- virtual_router_id 101
- priority 101
- advert_int 1
- authentication {
- auth_type PASS
- auth_pass 1111
- }
- virtual_ipaddress {
- 192.168.0.12
- }
- }
- virtual_server 192.168.1.11 22 {
- delay_loop 6
- lb_algo rr
- lb_kind NAT
- nat_mask 255.255.255.0
- protocol TCP
- real_server 192.168.0.10 22 {
- weight 1
- TCP_CHECK {
- connect_timeout 3
- connect_port 22
- }
- }
- real_server 192.168.0.11 22 {
- weight 1
- TCP_CHECK {
- connect_timeout 3
- connect_port 22
- }
- }
- }
- global_defs {
- notification_email {
- dev@null.com
- }
- notification_email_from lb2@mydomain.com
- smtp_server localhost
- smtp_connect_timeout 30
- }
- vrrp_instance VI_1 {
- state MASTER
- interface eth0
- virtual_router_id 101
- priority 100
- advert_int 1
- authentication {
- auth_type PASS
- auth_pass 1111
- }
- virtual_ipaddress {
- 192.168.0.12
- }
- }
- virtual_server 192.168.1.11 22 {
- delay_loop 6
- lb_algo rr
- lb_kind NAT
- nat_mask 255.255.255.0
- protocol TCP
- real_server 192.168.0.10 22 {
- weight 1
- TCP_CHECK {
- connect_timeout 3
- connect_port 22
- }
- }
- real_server 192.168.0.11 22 {
- weight 1
- TCP_CHECK {
- connect_timeout 3
- connect_port 22
- }
- }
- }
- bastion01 Keepalived_healthcheckers[11613]: Check on service [192.168.0.10]:22 failed after 1 retry.
- bastion01 Keepalived_healthcheckers[11613]: Removing service [192.168.0.10]:22 from VS [192.168.1.11]:22
Add Comment
Please, Sign In to add comment