LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: problem getting vrrp to work in very simple setup

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>, lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: problem getting vrrp to work in very simple setup
Cc: keepalived-devel@xxxxxxxxxxxxxxxxxxxxx
From: Alexandre Cassen <alexandre.cassen@xxxxxxxxxx>
Date: Wed, 18 Feb 2004 12:47:14 +0100 (CET)
Hi Nathan,

hmm... I have other report of trouble with new 1.1.5.... hmm... I will provide 
a patch tonight (french timezone) for testing.
Seems 1.1.5 introduced a regression somewhere.... 

regards,
Alexandre

> It seems like it's ALMOST working though. Two boxes IPVS1, IPVS2. 
> 
> If I start up KA on ipvs1, it comes online with the ip for both ipvs1 and 
> ipvs2 as master.
> If I then start up KA on ipvs2, ipvs1 says it received a advert with higher 
> priority and goes
> to backup state and drops the extra ip.
> 
> If I then kill KA on ipvs2, nothing happens. ipvs1 never goes back into 
> master state.
> 
> This also works in reverse if I start with ipvs2. Same problem though with it 
> not recovering from a failure. 
> 
> Any suggestions on what I've got screwed up? I've tried to minimize the 
> config that I'm testing with. (I actually
> don't care about the .206 and .207 addresses, I really just want to run in 
> active/standby mode with one or more LVS 
> VIPs w/ DR mode on a single eth interface.)
> 
> -- Nathan
> 
> 
> Here's config from ipvs1:
> 
> global_defs {
> notification_email {
> nneul@xxxxxxx
> }
> notification_email_from sysmon@xxxxxxx
> smtp_server 131.151.1.120
> smtp_connect_timeout 10
> lvs_id "ipvs1"
> }
> 
> vrrp_instance VI_IPVS1 {
> state MASTER
> interface bond0
> virtual_router_id 53
> priority 150
> advert_int 1
> smtp_alert
> authentication {
> auth_type PASS
> auth_pass example3
> }
> virtual_ipaddress {
> 131.151.1.206
> }
> }
> 
> vrrp_instance VI_IPVS2 {
> state BACKUP
> interface bond0
> virtual_router_id 54
> priority 100
> advert_int 1
> smtp_alert
> authentication {
> auth_type PASS
> auth_pass example4
> }
> virtual_ipaddress {
> 131.151.1.207
> }
> }
> 
> 
> 
> 
> 
> 
> 
> Here's config from ipvs2:
> 
> global_defs {
> notification_email {
> nneul@xxxxxxx
> }
> notification_email_from sysmon@xxxxxxx
> smtp_server 131.151.1.120
> smtp_connect_timeout 10
> lvs_id "ipvs2"
> }
> 
> vrrp_instance VI_IPVS1 {
> state BACKUP
> interface bond0
> virtual_router_id 53
> priority 100
> advert_int 1
> smtp_alert
> authentication {
> auth_type PASS
> auth_pass example3
> }
> virtual_ipaddress {
> 131.151.1.206
> }
> }
> 
> vrrp_instance VI_IPVS2 {
> state MASTER
> interface bond0
> virtual_router_id 54
> priority 150
> advert_int 1
> smtp_alert
> authentication {
> auth_type PASS
> auth_pass example4
> }
> virtual_ipaddress {
> 131.151.1.207
> }
> }
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -- Nathan
> 
> ------------------------------------------------------------
> Nathan Neulinger EMail: nneul@xxxxxxx
> University of Missouri - Rolla Phone: (573) 341-6679
> UMR Information Technology Fax: (573) 341-4216
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
> 
<Prev in Thread] Current Thread [Next in Thread>