I have my loopback metric set to 1. Did you set the IP of the loopback to to be the VIP of the LVS?
Mike Radomski
SUNY - ITEC
Information Technology Exchange Center
Systems Programmer/Analyst
E-mail: Mike.Radomski@xxxxxxxxxxxxxxxxxx
Systems E-Mail: scsys@xxxxxxxxxxxxxxxxxx
Phone: (716)878-4832
Cellular: (716)866-7039
Fax: (716)878-4235
-----Original Message-----
From: mstockda@xxxxxxxxxxxxxx [mailto:mstockda@xxxxxxxxxxxxxx]
Sent: Friday, March 15, 2002 11:05 AM
To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: LVS-DR, lvs server as gateway for realservers, having trouble
Still no luck.
I did forget to mention that I had set the interface metric of both loopback adapters to 254.
On Fri, Mar 15, 2002 at 10:55:48AM -0500, Radomski, Mike wrote:
>
> You will have to delete the routing information of the local loopback
> on the realservers (w2k machines).
>
> route delete <VIP-Network> MASK <Netmask> <VIP>
>
> Mike Radomski
>
> SUNY - ITEC
> Information Technology Exchange Center
> Systems Programmer/Analyst
> E-mail: Mike.Radomski@xxxxxxxxxxxxxxxxxx
> Systems E-Mail: scsys@xxxxxxxxxxxxxxxxxx
> Phone: (716)878-4832
> Cellular: (716)866-7039
> Fax: (716)878-4235
>
> -----Original Message-----
> From: mstockda@xxxxxxxxxxxxxx [[1]mailto:mstockda@xxxxxxxxxxxxxx]
> Sent: Friday, March 15, 2002 10:51 AM
> To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Subject: LVS-DR, lvs server as gateway for realservers, having trouble
>
> Here's my setup -
>
> 2 LVS servers, failover using heartbeat, with the following
> configuration
>
> RedHat 7.2
> Kernel 2.4.18
> linux-2.4.18-ipvs-1.0.0.patch
> forward_shared-2.4.5-1.diff
>
> Kernel configured as shown in the Documentation.
>
> output from ipvsadm -
>
> # ipvsadm -v
> ipvsadm v1.20 2001/11/04 (compiled with popt and IPVS v1.0.0)
> # ipvsadm
> IP Virtual Server version 1.0.0 (size=4096)
> Prot LocalAddress:Port Scheduler Flags
> -> RemoteAddress:Port Forward Weight ActiveConn
> InActConn
> TCP priv-vip:http rr persistent 360
> -> web2:http Route 1 0
> 0
> -> web1:http Route 1 0 0
>
> forward_shared is set to 1 for the interface on the same network as
> the realservers (this interface also has the VIP aliased to it).
>
> web1 and web2 are W2K machines, with loopback adapter installed.
>
> I can connect to port 80 on both of the real servers (from both the
> LVS server and outside machines), but not through the VIP.
>
> Any ideas? need more information?
>
> Thanks,
> Matt
>
> --
> Matt Stockdale
> Sr. NOC Engineer
> Logicworks
>
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to [2]http://www.in-addr.de/mailman/listinfo/lvs-users
>
> References
>
> 1. mailto:mstockda@xxxxxxxxxxxxxx
> 2. http://www.in-addr.de/mailman/listinfo/lvs-users
--
Matt Stockdale
Sr. NOC Engineer
Logicworks
_______________________________________________
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
|