LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Problems with adding real server.

To: Arun Manjunath <arun_tejaswi@xxxxxxxxx>
Subject: Re: Problems with adding real server.
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Julian Anastasov <ja@xxxxxx>
Date: Thu, 3 May 2001 14:20:34 +0300 (EEST)
        Hello,

On Thu, 3 May 2001, Arun Manjunath wrote:

> Hi all,
> I'm using RedHat 6.2 , kernel version 2.2.14.

        I'm using Linux too. But I don't have such poblems.

> I'm using the following commands.
> ipvsadm -A -u 192.5.2.115:9200 -s rr
> ipvsadm -a -u 192.5.2.115:9200 -r 10.10.1.2:9200 -m
>
> Obviously the machine running ipvs has 2 ip-address
> 192.5.2.115 and 10.10.1.100.
>
> The second command however does not add the
> destination because in the file ip_vs.c and function
> ip_vs_add_dest it returns 0 as destination address ie
> mctl->u.vs_user.daddr is 0.
> The forwarding commands are
> echo "1" > /proc/sys/net/ipv4/ip_forward
> ipchains -A forward -j MASQ -s 10.10.1.0/24 -d
> 0.0.0.0/0
>
> I assume the Load Balancer need necessarily have a
> real ip and we can use two networks like i have set up
> above to understand the working.
> Could anybody please suggest how to add the real
> server.

        Make sure you have ipvsadm version corresponding to the
your LVS kernel version. You can extract the right ipvsadm utility
from your IPVS tar ball.

> Thanks and regards,
> Arun.


Regards

--
Julian Anastasov <ja@xxxxxx>



<Prev in Thread] Current Thread [Next in Thread>