need help with vrrp. using keepalived LVSDR

Tommy Butler tommy at atrixnet.com
Fri May 25 03:42:20 BST 2007


On 5/24/07, Joseph Mack NA3T <jmack at wm7d.net> wrote:On Thu, 24 May 2007,
Tommy Butler wrote:

> You need the smallest config that produces the problem.


 Alright.  I pasted it in below

Can you start with the simplest config file from Alexandre?


Have done so.

Does he have example files?


I've found a few online tutorials to guide me, but it hasn't amounted to any
success.

As well you don't give a description of the setup and the problem.
>

Two LVS directors, one master, one for failover, and 4 realservers behind
them.  LVS-DR.  The LVS part works fine.  The failover does not.

Primary configuration that is problematic appears below:

global_defs {
   notification_email {
     tommy at atrixnet.com
   }
   notification_email_from tommy at lvs1
   smtp_server localhost
   smtp_connect_timeout 30
   router_id LVS_DIRECTOR_1
}

vrrp_sync_group VG1 {
   group {
      VI_1
      VI_2
   }
}

vrrp_instance VI_1 {
    interface eth0:0
    state MASTER
    lvs_sync_daemon_inteface eth0:0
    virtual_router_id 50
    nopreempt
    priority 150
    advert_int 1
    smtp_alert
    virtual_ipaddress {
        64.147.XXX.70
    }
}

vrrp_instance VI_2 {
    interface eth0:1
    state MASTER
    lvs_sync_daemon_inteface eth0:1
    virtual_router_id 51
    nopreempt
    priority 150
    advert_int 1
    smtp_alert
    virtual_ipaddress {
        64.147.XXX.72
    }
    authentication {
       auth_type PASS
       auth_pass LVSPASS
    }
}


-- 
Tommy Butler

Search lvs-users Archives
Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort

More information about the lvs-users mailing list