LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Announce ldirectord version 1.13

To: "Horms" <horms@xxxxxxxxxxxx>, "Rief, Jacob" <Jacob.Rief@xxxxxxxxxxxx>, "'lvs-users@xxxxxxxxxxxxxxxxxxxxxx'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Announce ldirectord version 1.13
From: "Ted Pavlic" <tpavlic@xxxxxxxxxxx>
Date: Fri, 14 Jul 2000 09:01:56 -0400
That's a good idea too, but I don't think that's exactly what I was talking
about.

What I was asking about would be something like this:

virtual=192.168.6.2-192.168.6.30:80
        real=192.168.6.240:80 gate
        service=http
        request="index.html"
        receive="Test Page"
        scheduler=rr

Unless you and I have different ideas of what a virtual server is and a real
server is.

A virtual server to me is address to which the end-user connects which makes
the end-user believe he is connecting to an actual server, however that
virtual server request is actually load balanced among a real server or two.

If our definitions are reversed, then your modification is exactly what I
was talking about.

Here's my setup... I have 1029 virtual servers -- that is I have 1029 hosts
which need to be load balanced. I also have four web servers which will
serve as real servers.

My ifcfg-ipvslvs0 file:

=====
DEVICE=ipvslvs0
IPVSDEVICE=tunl0
SUBNETS="216.69.192.11/32 216.69.192.12/32 216.69.192.13/32 216.69.192.38/32
216.69.192.39/32 216.69.196.0/22"
SCHED=rr
PPCTIMEOUT=1800
ONBOOT=yes
ACTIVE=yes
HOSTS="216.69.192.201 216.69.192.202 216.69.192.203 216.69.192.204"
CFGFILE=/usr/lib/mon/etc/defipvs.cf
=====

All of the addresses in that "SUBNETS" line are addresses of servers which I
host. These are the servers to which end users connect.

That HOSTS line contains the addresses of my real servers. These are the
addresses of the actual servers which provide responses to every host in the
SUBNETS line.

I've rewritten mon to read from this configuration file. I've also created
my own ifup/ifdown scripts that understand this configuration file.

Does mon support this functionality?

----- Original Message -----
From: "Horms" <horms@xxxxxxxxxxxx>
To: "Ted Pavlic" <tpavlic@xxxxxxxxxxx>; "Rief, Jacob"
<Jacob.Rief@xxxxxxxxxxxx>; "'lvs-users@xxxxxxxxxxxxxxxxxxxxxx'"
<lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, July 12, 2000 9:50 PM
Subject: Re: Announce ldirectord version 1.13


> On Wed, Jul 12, 2000 at 02:53:00PM -0700, Horms wrote:
> > On Wed, Jul 12, 2000 at 12:55:11PM -0400, Ted Pavlic wrote:
> > > I've never used ldirectord; I wrote some of my own utilities and
rewrote a
...
> > > I apologize if ldirectord does have this ability and my laziness to
not read
> > > any of its documentation has left me in the dark, but I'm guessing it
does
> > > not.
> >
> > Ldirectord does not have this functionality but it could easily be
added.
> The attached patch to the version of ldirectord in the heartbeat
> CVS tree should enable ranges of virtual servers to be specified.
>
> e.g.
>
> virtual=192.168.6.240:80
>         real=192.168.6.2-192.168.6.30:80 gate
>         service=http
>         request="index.html"
>         receive="Test Page"
>         scheduler=rr
> If there are no objections from Jacob I will commit this patch.




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