LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: fwd> problem getting vrrp to work in very simple setup

To: keepalived-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: fwd> problem getting vrrp to work in very simple setup
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Nathan Neulinger <nneul@xxxxxxx>
Date: Tue, 17 Feb 2004 21:23:42 -0600
More details:

After trying other keepalived versions, I have determined that it
broke between keepalived 1.1.4 and 1.1.5. 1.1.4 appears to behave
exactly as expected.

Additionally, the current CVS doesn't work for a completely different
reason - it continually says that the kernel is saying that bond0 
interface is down.

I'm functional at the moment with 1.1.4, and will try and see if I can
get more info on why it isn't working. If anyone can help with the bond0 
being down issue (it isn't) I'll see if it's working with cvs.

-- Nathan

On Tue, Feb 17, 2004 at 08:12:57PM -0600, Nathan Neulinger wrote:
> Any idea on something I can try here to resolve this problem?
> 
> If you need additional diagnostics/tracing, I'll be happy to provide
> whatever is needed.
> 
> -- Nathan
> 
> ----- Forwarded message from Nathan Neulinger <nneul@xxxxxxx> -----
> 
> Date: Tue, 17 Feb 2004 17:19:17 -0600
> To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> From: Nathan Neulinger <nneul@xxxxxxx>
> Subject: problem getting vrrp to work in very simple setup
> 
> 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
> 
> ----- End forwarded message -----
> 
> ------------------------------------------------------------
> Nathan Neulinger                       EMail:  nneul@xxxxxxx
> University of Missouri - Rolla         Phone: (573) 341-4841
> UMR Information Technology             Fax: (573) 341-4216

------------------------------------------------------------
Nathan Neulinger                       EMail:  nneul@xxxxxxx
University of Missouri - Rolla         Phone: (573) 341-4841
UMR Information Technology             Fax: (573) 341-4216
<Prev in Thread] Current Thread [Next in Thread>