global_defs {
    notification_email {
        [email protected]
    }
    notification_email_from [email protected]
    smtp_server 127.0.0.1
    smtp_connect_timeout 15
    router_id lb2.domain.tld
}

vrrp_instance VRRP_SERVICE {
        virtual_router_id 24
        interface uplink0
        state BACKUP
        priority 200
        nopreempt
        garp_master_delay 5
        advert_int 3
        authentication {
                auth_type AH
                auth_pass secret
        }
        notify      "/usr/local/bin/script"
        notify_stop "/usr/local/bin/script backup"

        virtual_ipaddress {
               10.1.2.3
        }
}

virtual_server 10.1.2.3 4119 {
        delay_loop 10
        lb_algo wlc
        lb_kind DR
        protocol TCP
        persistence_timeout 1440

        real_server 10.80.22.54 4119 {
                weight 10
                TCP_CHECK {
                        connect_port 4119
                        connect_timeout 3
                }
        }
        real_server 10.80.22.53 4119 {
                weight 10
                TCP_CHECK {
                        connect_port 4119
                        connect_timeout 3
                }
        }
    }
virtual_server 10.1.2.3 4120 {
        delay_loop 10
        lb_algo wlc
        lb_kind DR
        protocol TCP
        persistence_timeout 1440

        real_server 10.80.22.54 4120 {
                weight 10
                TCP_CHECK {
                        connect_port 4120
                        connect_timeout 3
                }
        }
        real_server 10.80.22.53 4120 {
                weight 10
                TCP_CHECK {
                        connect_port 4120
                        connect_timeout 3
                }
        }
    }
virtual_server 10.1.2.3 4122 {
        delay_loop 10
        lb_algo wlc
        lb_kind DR
        protocol TCP
        persistence_timeout 1440

        real_server 10.80.22.54 4122 {
                weight 10
                TCP_CHECK {
                        connect_port 4122
                        connect_timeout 3
                }
        }
        real_server 10.80.22.53 4122 {
                weight 10
                TCP_CHECK {
                        connect_port 4122
                        connect_timeout 3
                }
        }
    }

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1800159

Title:
  keepalived ip_vs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/keepalived/+bug/1800159/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to