LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: lvs-users Digest, Vol 23, Issue 10

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: lvs-users Digest, Vol 23, Issue 10
From: SUKHWINDER PAL <rec_engrec@xxxxxxxxxxx>
Date: Wed, 8 Dec 2004 05:09:15 +0000 (GMT)

lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx wrote: 
Send lvs-users mailing list submissions to
lvs-users@xxxxxxxxxxxxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
http://www.in-addr.de/mailman/listinfo/lvs-users
or, via email, send a message with subject or body 'help' to
lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx

You can reach the person managing the list at
lvs-users-owner@xxxxxxxxxxxxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of lvs-users digest..."
Today's Topics:

1. problems while creating LVS (SUKHWINDER PAL)
2. Re: strange "NOT HIT" messages sometimes (Wensong Zhang)
3. Re: problems while creating LVS (Wensong Zhang)
4. LVS can run on 2 server only? (Eric Chan)


> ATTACHMENT part 3.1 message/rfc822 
From: SUKHWINDER PAL 
Subject: problems while creating LVS
Date: Mon, 6 Dec 2004 11:33:35 +0000 (GMT)
To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx

hello sir, I am creating a LVS with two mail servers but got stuck in 
between.Actually while compling the kernel for ipvs after patching ipvs from 
your website.I used following commands:make mrproper,make oldconfig,make 
xconfig these were working fine.But make dep && make clean && make bzImage&& 
make modules&& make 
modules_install,I faced a problem as:
make(3):***[ip_vs_sync.o]error 1
leaving directory /usr/src/linux/netipvs4/ipvs
make(2):*** [first rule]error 2
leaving directory /usr/src/linux/net/ipv4/ipvs
make(1):***[_subdir_ipv4/ipvs]error2
leaving directory /usr/src/linux/net
Then afterwards I had downloaded ipvsadm.src.rpm from web site.Then i used 
rpmbuild --rebuild ipvsadm.src.rpm to convert it to a real rpm so that i can 
install it.But it is exiting with comment that BAD EXIT FROM 
/etc/tmp due to earlier errors 
--(ipvsadm.o) make 1.


Why it is there.how to solve it .




Yahoo! India Matrimony: Find your life partneronline.From 
rec_engrec@xxxxxxxxxxx Mon Dec 6 12:34:44 2004
Return-Path: 
Delivered-To: lvs-users@xxxxxxxxxxxxx
Received: from web8406.mail.in.yahoo.com (web8406.mail.in.yahoo.com
[202.43.219.154])
by mx.in-addr.de (mx.in-addr.de) with SMTP id E61A6137F
for ;
Mon, 6 Dec 2004 12:34:42 +0100 (CET)
Received: (qmail 57264 invoked by uid 60001); 6 Dec 2004 11:34:41 -0000
Message-ID: <20041206113441.57257.qmail@xxxxxxxxxxxxxxxxxxxxxxxxx>
Received: from [164.164.89.51] by web8406.mail.in.yahoo.com via HTTP;
Mon, 06 Dec 2004 11:34:41 GMT
Date: Mon, 6 Dec 2004 11:34:41 +0000 (GMT)
From: SUKHWINDER PAL 
To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.1
Subject: problems while creating LVS
X-BeenThere: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: "LinuxVirtualServer.org users mailing list."

List-Id: LinuxVirtualServer.org users mailing list.

List-Unsubscribe: ,

List-Archive: 
List-Post: 
List-Help: 
List-Subscribe: ,


hello sir, I am creating a LVS with two mail servers but got stuck in 
between.Actually while compling the kernel for ipvs after patching ipvs from 
your website.I used following commands:make mrproper,make oldconfig,make 
xconfig these were working fine.But make dep && make clean && make bzImage&& 
make modules&& make modules_ install,Ifaced a problem 
as:make(3):***[ip_vs_sync.o]error 1
leaving directory /usr/src/linux/netipvs4/ipvs
make(2):*** [first rule]error 2
leaving directory /usr/src/linux/net/ipv4/ipvs
make(1):***[_subdir_ipv4/ipvs]error2
leaving directory /usr/src/linux/net
Then afterwards I had downloaded ipvsadm.src.rpm from web site.Then i used 
rpmbuild --rebuild ipvsadm.src.rpm to convert it to a real rpm so that i can 
install it.But it is exiting with comment that BAD EXIT FROM 
/etc/tmp due to earlier errors 
--(ipvsadm.o) make 1.


Why it is there.how to solve it .





Yahoo! India Matrimony: Find your life partneronline.From mack.joseph@xxxxxxx 
Mon Dec 6 14:13:33 2004
Return-Path: 
Delivered-To: lvs-users@xxxxxxxxxxxxx
Received: from valley.rtpnc.epa.gov (valley.rtpnc.epa.gov [134.67.208.16])
by mx.in-addr.de (mx.in-addr.de) with ESMTP id 63E3DD50
for ;
Mon, 6 Dec 2004 14:13:33 +0100 (CET)
Received: from nesc.epa.gov (linden.nesc.epa.gov [134.67.64.25])
by valley.rtpnc.epa.gov (8.12.10/8.11.6) with ESMTP id iB6DDFnX021477
for ;
Mon, 6 Dec 2004 08:13:16 -0500 (EST)
Received: from epa.gov (linden [134.67.64.25])
by nesc.epa.gov (8.11.7p1+Sun/8.11.6) with ESMTP id iB6DD9L17653
for ;
Mon, 6 Dec 2004 08:13:09 -0500 (EST)
Sender: mack@xxxxxxxxxxxxxxxxxxx
Message-ID: <41B45AE5.CA7853B8@xxxxxxx>
Date: Mon, 06 Dec 2004 08:13:09 -0500
From: Joseph Mack 
X-Mailer: Mozilla 4.76 [en] (X11; U; SunOS 5.7 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: "LinuxVirtualServer.org users mailing list."

References: <1102328166.13146.23.camel@xxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Subject: Re: Local Load balancing - multiple services per IP
X-BeenThere: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: "LinuxVirtualServer.org users mailing list."

List-Id: LinuxVirtualServer.org users mailing list.

List-Unsubscribe: ,

List-Archive: 
List-Post: 
List-Help: 
List-Subscribe: ,


Sergio Freire wrote:
> 
> Is it possible to configure this? Several real servers (which point to
> the same IP) with different ports associated with the service?

yes

> In this case i would have to user masquerade right?

yes or use Philip's suggestion

> What would be a config like?

you may have to use ipvsadm from the command line if the
configure tool you're using doesn't accept the commands

Joe

-- 
Joseph Mack PhD, High Performance Computing & Scientific Visualization
LMIT, Supporting the EPA Research Triangle Park, NC 919-541-0007
Federal Contact - John B. Smith 919-541-1087 - smith.johnb@xxxxxxx


> ATTACHMENT part 3.2 message/rfc822 
From: Wensong Zhang 
Subject: Re: strange "NOT HIT" messages sometimes
Date: Mon, 6 Dec 2004 23:09:45 +0800 (CST)
To: "LinuxVirtualServer.org users mailing list."




On Sun, 5 Dec 2004, Jakub Suchy wrote:

>> The second message shows that there is no such connection in IPVS for
>> "147.32.121.152:42853->147.32.127.230:3128", which is that connection is
>> never created before, or its connection has already expired.
>>
>> Please check your timeout setting for TCP connection in IPVS by "ipvsadm
>> -L --timeout".
>
> I changed to 2.6.7 and it started working...
>
> Does default timeout setting differ in 2.4.x (28) and 2.6.x (7) ?

The timeout setting for TCP sessions, TCP sessions after receiving a FIN 
packet, and UDP packets is the same both in the kernel 2.4 and 2.6.

> If it does i ask why?
> If it does not, it's a bug in LVS for 2.4.x
>

I am not sure that it is a bug in LVS for 2.4, because we haven't touched 
the code for service lookup and connection lookup for a while, and this 
segment of code is frequently executed. If it were a real bug, a lot of 
people would hit this problem too.

Could you please collect more information while running LVS for 2.4.x?

Thanks,

Wensong


> ATTACHMENT part 3.3 message/rfc822 
From: Wensong Zhang 
Subject: Re: problems while creating LVS
Date: Mon, 6 Dec 2004 23:16:59 +0800 (CST)
To: "LinuxVirtualServer.org users mailing list."



Hello,

On Mon, 6 Dec 2004, SUKHWINDER PAL wrote:

> hello sir, I am creating a LVS with two mail servers but got stuck in 
> between.Actually while compling the kernel for ipvs after patching ipvs from 
> your website.I used following commands:make mrproper,make oldconfig,make 
> xconfig these were working fine.But make dep && make clean && make bzImage&& 
> make modules&& make modules_ install,Ifaced a problem 
> as:make(3):***[ip_vs_sync.o]error 1
> leaving directory /usr/src/linux/netipvs4/ipvs
> make(2):*** [first rule]error 2
> leaving directory /usr/src/linux/net/ipv4/ipvs
> make(1):***[_subdir_ipv4/ipvs]error2
> leaving directory /usr/src/linux/net

Which version of kernel source are you using? and which ipvs kernel patch?

> Then afterwards I had downloaded ipvsadm.src.rpm from web site.Then i used 
> rpmbuild --rebuild ipvsadm.src.rpm to convert it to a real rpm so that i can 
> install it.But it is exiting with comment that BAD EXIT FROM
> /etc/tmp due to earlier errors
> --(ipvsadm.o) make 1.
>
>
> Why it is there.how to solve it .
>

Maybe you can simply download a clean copy of the Linux kernel 2.4.28 
source. It has already included IPVS code, and you don't need to apply any 
IPVS patch. Just configure IPVS and build the kernel.

Regards,

Wensong

sir,

I am using kernel version 2.4.20-8 and i had patched 
linux-2.4.20-ipvs-1.0.9.patch.gz from website www.linuxvirtualserver.org .



Yahoo! India Matrimony: Find your life partneronline.

<Prev in Thread] Current Thread [Next in Thread>
  • Re: lvs-users Digest, Vol 23, Issue 10, SUKHWINDER PAL <=