LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: need help with vrrp. using keepalived LVSDR

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: need help with vrrp. using keepalived LVSDR
From: "Tommy Butler" <tommy@xxxxxxxxxxxx>
Date: Thu, 24 May 2007 21:42:20 -0500
On 5/24/07, Joseph Mack NA3T <jmack@xxxxxxxx> 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@xxxxxxxxxxxx
  }
  notification_email_from tommy@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

<Prev in Thread] Current Thread [Next in Thread>