LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: connection sync at failover, email, and using only basic IPmgmt

To: "'LinuxVirtualServer.org users mailing list.'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: connection sync at failover, email, and using only basic IPmgmt
From: "Richard Pickett" <Richard.Pickett@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 19 Feb 2006 21:12:15 -0600
> Do you have the proper config parameters, putting the sync on its
> own interface?
> I'm using keepalived and it has (among many others) the config
parameter:
>     lvs_sync_deamon_interface eth5
> to control the interface used for the sync traffic.

I had posted the full MASTER config with the original question, I'll
post it again for those of you tuning in late:

(and now I see the problem, "interface" was misspelled on that
parameter, changed the parameter and all is well...)

global_defs
{
   lvs_id LVS_HA_01
}

vrrp_sync_group VG1
{
   group
   {
      VI_1
      VI_GATEWAY
   }
}
vrrp_instance VI_1
{
   state MASTER
   interface eth0

   lvs_sync_daemon_inteface eth2
   virtual_router_id 51
   priority 150
   advert_int 1
   authentication
   {
      auth_type PASS
      auth_pass xO_pIa6ie
   }

   virtual_ipaddress
   {
      172.16.0.4
   }
}
vrrp_instance VI_GATEWAY
{
   state MASTER
   interface eth1
   lvs_sync_daemon_inteface eth2
   virtual_router_id 52
   priority 150
   advert_int 1
   authentication
   {
      auth_type PASS
      auth_pass xO_pIa6ie
   }
   virtual_ipaddress
   {
      172.16.2.1
   }
}
virtual_server 172.16.0.4 80
{
   delay_loop 6
   lb_algo rr
   lb_kind NAT
   nat_mask 255.255.255.0
   protocol TCP
   real_server 172.16.2.4 80
   {
      weight 1
      TCP_CHECK
      {
         connect_timeout 3
         connect_port 80
      }
   }
   real_server 172.16.2.5 80
   {
      weight 1
      TCP_CHECK
      {
         connect_timeout 3
         connect_port 80
      }
   }
}


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