Keepalived and Vlan configuration ...
Sébastien CRAMATTE
s.cramatte at wanadoo.fr
Wed Oct 11 21:58:35 BST 2006
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 at telelorca.com
}
notification_email_from keepalived at telelorca.com
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 at zensoluciones.com
}
notification_email_from keepalived at zensoluciones.com
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
}
Search lvs-users Archives
More information about the lvs-users
mailing list