LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: More directors

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: More directors
From: "Mark Weaver" <mark@xxxxxxxxxx>
Date: Sun, 17 Feb 2002 20:52:00 -0000
I'm not not sure if the RS2/RS3 overlap with the same IP address would
confuse IPVS - my guess is "yes" most likely.  However, what should work is
to assign more than one IP address to RS2, RS3.  For example:

Dir1 load balancing "A"
load balanced servers are RS1=192.168.1.1, RS2=192.168.1.2,RS3=192.168.1.3

Dir2 load balancing "B"
load balanced servers are
RS2=192.168.2.1,RS3=192.168.2.2,RS4=192.168.2.3,RS5=192.1168.2.4

Neither the real servers themselves, or IPVS, need to know or care that
192.168.1.2/3 and 192.168.2.1/2 are actually the same machine - so this
should work out just fine.  To do this with one NIC, simply assign
additional IPs to the same NIC on the real servers (how depends on what OS -
for linux this is IP aliasing - e.g.

ifconfig eth0:1 192.168.2.1 netmask 255.255.255.0

will assign a new alias to the physical device eth0.  For w2k this is
"Advanced..." on TCP/Settings for the LAN adapter, and enter new addresses
into the dialogue.)

Regards,

Mark

> -----Original Message-----
> From: lvs-users-admin@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:lvs-users-admin@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of dynnema
> Sent: 17 February 2002 20:44
> To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Subject: More directors
>
>
> Hi.
>
> I was thinking about configuration with two or more directors
> working with same realservers:
>
> for example:
>
> Dir1 working with RS1, RS2 and RS3
>
> and
>
> Dir2 working with RS2, RS3, RS4 and RS5.
>
> Is it possible to make it work? With realservers equipped with
> one network card? On lvs-nat?
> If so, how to do it?
>
> Thanks for help,
>
> Dennema
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> _______________________________________________
> 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>