LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: poor man's LocalNode

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: poor man's LocalNode
From: Daniel Borca <dborca@xxxxxxxxx>
Date: Fri, 27 Jan 2006 01:48:02 -0800 (PST)
--- Joseph Mack NA3T <jmack@xxxxxxxx> wrote:

> On Mon, 23 Jan 2006, Daniel Borca wrote:
> 
> > The problem is: if serverB is really dead,
> > I can only store the "Service not available"
> > page on the Director; but it's already a
> > LocalNode.
> 
> you could tell them, that you need 2 realservers to do this

Ok, I know this is a lvs-USERS list, but I desperately
needed the feature.  Here goes my solution (can somebody
have a look, maybe I'm missing somthing here):

Apply the attached patch, recompile ipvs and reinstall the
ip_vs.o module.

ipvsadm -C
ipvsadm -A -t 192.168.17.130:80 -s wrr
ipvsadm -a -t 192.168.17.130:80 -r 192.168.17.130:8000 -m -w 5
ipvsadm -a -t 192.168.17.130:80 -r 192.168.17.130:8080 -m -w 5

Where 192.168.17.130 is the Director.  Here, I have two
applications, one running at 8000 and one running at 8080.
The client connects to port 80.


Regards,
Daniel Borca

http://www.geocities.com/dborca/

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




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