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
High Availability Team, which is subscribed to keepalived in Ubuntu.
https://bugs.launchpad.net/bugs/1800159

Title:
  keepalived ip_vs

Status in keepalived package in Ubuntu:
  Incomplete

Bug description:
  1) 
  Description:  Ubuntu 16.04.5 LTS
  Release:      16.04
  2) keepalived:
    Installed: 1:1.2.24-1ubuntu0.16.04.1
    Candidate: 1:1.2.24-1ubuntu0.16.04.1
    Version table:
   *** 1:1.2.24-1ubuntu0.16.04.1 500
          500 http://ftp.hosteurope.de/mirror/archive.ubuntu.com 
xenial-updates/main amd64 Packages
          100 /var/lib/dpkg/status

  3) not loading the kernel module
  systemctl start keepalived.service
  Keepalived_healthcheckers[1680]: IPVS: Protocol not available
  Keepalived_healthcheckers[1680]: message repeated 8 times: [ IPVS: Protocol 
not available]
  ...

  4) loading the module manually 
  systemctl stop keepalived.service
  modprobe ip_vs
  kernel: [  445.363609] IPVS: ipvs loaded.
  systemctl start keepalived.service
  Keepalived_healthcheckers[5533]: Initializing ipvs
  kernel: [  600.828683] IPVS: [wlc] scheduler registered.

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

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-ha
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-ha
More help   : https://help.launchpad.net/ListHelp

Reply via email to