LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Keepalived and Vlan configuration ...

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Keepalived and Vlan configuration ...
From: Sébastien CRAMATTE <s.cramatte@xxxxxxxxxx>
Date: Wed, 11 Oct 2006 22:58:35 +0200
I've setup keepealived 1.1.12 with a debian sarge 3.1 

#uname -a
Linux vlanrouter2 2.6.16.18-router.3 #4 Mon Jul 24 01:39:18 CEST 2006 i686 
GNU/Linux

My problem is that sometime I loose access to the virtual IP (a simple ping 
doesn't answer) ...
For example my 88.148.51.201 doesn't answer during somes seconds and come back 
without do nothing in the userspace ...
Seems that the master server keep virtual IP during this problem ... 

Any ideas of how can I resolve this or test it to provide more details ?


My routers run keepalived on vlan interfaces over bonding of eth0+eth1 
I would like if is should not better to setup one vrrp_instance per virtual IP ?

Tomorrow I will install the 1.1.13 release
Thanks in advance for the help
Regards 


---- master config ----

global_defs {
notification_email {
sysadmins@xxxxxxxxxxxxx
}
notification_email_from keepalived@xxxxxxxxxxxxx
smtp_server localhost
smtp_connect_timeout 30
lvs_id LVS_MAIN
}

vrrp_instance VI_1 {
 state MASTER
 interface vlan500
 virtual_router_id 1
 lvs_sync_daemon_interface vlan500
 priority 100
 advert_int 1
 track_interface {
  bond0
 }
 authentication {
  auth_type PASS
  auth_pass xxxxx
 }

 virtual_ipaddress {
  88.148.60.4/24 dev vlan100
  84.232.73.177/28 dev vlan300
  88.148.51.201/29 dev vlan800
 }
}


---- backup config ----

# cat /etc/keepalived/keepalived.conf

global_defs {
notification_email {
sysadmins@xxxxxxxxxxxxxxxxx
}
notification_email_from keepalived@xxxxxxxxxxxxxxxxx
smtp_server localhost
smtp_connect_timeout 30
lvs_id LVS_MAIN
}

vrrp_instance VI_1 {
 state BACKUP
 interface vlan500
 virtual_router_id 1
 advert_int 1
 lvs_sync_daemon_interface vlan500
 priority 50
 advert_int 1
 track_interface {
  bond0
 }
 authentication {
  auth_type PASS
  auth_pass xxxxx
 }

 virtual_ipaddress {
  88.148.60.4/24 dev vlan100
  84.232.73.177/28 dev vlan300
  88.148.51.201/29 dev vlan800
 }


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