I think he's trying to say he feels it's a web server problem not a load
balance problem. Surely what you want is a simple web redirect.
What's more confusing is //ipApplication is a URL so it would go to that
machine. So basically I don't think you are asking quite the correct question.
-----Original Message-----
From: lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Andrés Cañada
Sent: 14 December 2005 16:47
To: LinuxVirtualServer.org users mailing list.
Subject: Re: lvs for special application
El Miércoles, 14 de Diciembre de 2005 17:28, Joseph Mack NA3T escribió:
> On Wed, 14 Dec 2005, [iso-8859-1] Andrés Cañada wrote:
> > I'm figuring out how to make something. Right now, in my configuration,
> > two directors (one master and another backup) uses LVS to balance
> > requests from clients to realservers on a round-robin basis. But I need
> > to setup a configuration that send request for a special aplication to a
> > special realserver (always the same server for this application).
>
> If you have one realserver, this is not LVS.
Maybe I missunderstood the terminology, sorry. I wanted to say cluster nodes
instead of realserver. Isn't it LVS?
(I thougth ldirectord managed the ipvsadm commands when the ldirectord.conf is
something like this
virtual=xx.xx.xx.xx:80
real=xx.xx.xx.x1:80 masq 1 ".healthcheck.html", "OK"
real=xx.xx.xx.x2:80 masq 1 ".healthcheck.html", "OK"
real=xx.xx.xx.x3:80 masq 1 ".healthcheck.html", "OK"
real=xx.xx.xx.x4:80 masq 1 ".healthcheck.html", "OK"
service=http
checkport=80
protocol=tcp
scheduler=wrr
checktype=negotiate
fallback=127.0.0.1:80
Isn't it LVS? Maybe I don't know what I'm talking about.
Thanks in advance!
>
> > This is a web
> > application so when for example a client types in the browser
> > http://ipApplication the director should always send this request to the
> > same realserver
>
> I don't know much about apache, but possibly one of the
> apache modules handles this
>
> Joe
**NOTA DE CONFIDENCIALIDAD** Este correo electrnico, y en su caso los ficheros
adjuntos, pueden contener informacin protegida para el uso exclusivo de su
destinatario. Se prohbe la distribucin, reproduccin o cualquier otro tipo de
transmisin por parte de otra persona que no sea el destinatario. Si usted
recibe por error este correo, se ruega comunicarlo al remitente y borrar el
mensaje recibido.
**CONFIDENTIALITY NOTICE** This email communication and any attachments may
contain confidential and privileged information for the sole use of the
designated recipient named above. Distribution, reproduction or any other use
of this transmission by any party other than the intended recipient is
prohibited. If you are not the intended recipient please contact the sender and
delete all copies.
|