[lvs-users] localnode question

Dean Scothern dean.scothern at eduserv.org.uk
Wed Nov 30 16:04:29 GMT 2011


The original reference to modifying lvs so that localnode is bypassed is in

http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.one_box_lvs.html

by Horms 2 Sep 2006

the patch http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/files/local_nodes.patch

This is quite old, and probably won't apply anymore. Should I enquire about it on lvs-devel?

Best Regards

Dean Scothern



> -----Original Message-----
> From: lvs-users-bounces at linuxvirtualserver.org [mailto:lvs-users-
> bounces at linuxvirtualserver.org] On Behalf Of Dean Scothern
> Sent: 30 November 2011 13:42
> To: LinuxVirtualServer.org users mailing list.
> Subject: Re: [lvs-users] localnode question
> 
> 
> On Wrote, 30 Nov 2011, Joseph Mack wrote:
> 
> > On Wed, 30 Nov 2011, Dean Scothern wrote:
> >
> > > On Wrote, 30 Nov 2011, Joseph Mack wrote:
> > >
> > >> On Tue, 29 Nov 2011, Dean Scothern wrote:
> > >>
> > >>> Hi,
> > >>>
> > >>> Is there a way to either disable or bypass the localnode behaviour
> > >>> in
> > ipvs?
> > >>
> > >> other than not using it?
> > > What alternatives are there?
> >
> > 1 and 0 are the only two possibilities in a binary system.
> >
> > localnode is uses a feature of the kernel. It's in LVS because it was
> > possible to do. It isn't a recommended feature for a production LVS.
> > You can make a demo LVS out of two boxes but that's about it.
> 
> Mmm a feature, but always enabled?
> Perhaps I can stop lvs from using it, by modifying the source?
> 
> The documentation (old) says that lvs loading is quite low so I wanted to test
> it. At the moment I can't even do that in this case.
> 
> When I was asking about alternatives I was wondering If other loadbalancing
> systems apart from lvs were available for Linux.
> 
> >
> > > I have a two box solution in which both nodes are real servers.
> > > The boxes are connected via their primary interfaces.
> > > Exim(mail) is running on both. Pacemaker is used for HA and can
> > > migrate
> > the two exims in the usual way.
> > > I want to load balance between the two nodes and as I'm not allowed
> > > to
> > use lvs-dr I've tried to use lvs-nat.
> > > To this end I've added a secondary network and again used pacemaker
> > > to
> > manage the secondary VIPS (and ldirectord).
> >
> > your diagram didn't survive e-mail. Do you have a mixture of tabs and
> blanks?
> >
> Mmm proportional fonts this end maybe
> I'l cut and paste from vi:
> 
>            client
>               |
>      Primary Network
>     __________|_______
>     |RIP,VIP1        |VIP2,RIP
> ========         ========
> =      =         =lvsnat=
> = exim =         = exim =
> ========         ========
>     |_______________|
> VIP1s,RIP       VIP2s, RIP
>     Secondary Network
> 
> 
> 
> > > I really don't want to add a separate load balancer cluster for the
> > > sake of
> > two machines.
> >
> > OK. I don't see any other way out of it.
> That's a pity.
> >
> > Joe
> >
> > --
> > Joseph Mack NA3T EME(B,D), FM05lw North Carolina jmack (at) wm7d
> (dot)
> > net - azimuthal equidistant map generator at
> > http://www.wm7d.net/azproj.shtml Homepage
> http://www.austintek.com/
> > It's GNU/Linux!
> >
> > _______________________________________________
> > Please read the documentation before posting - it's available at:
> > http://www.linuxvirtualserver.org/
> >
> > LinuxVirtualServer.org mailing list - lvs-users at LinuxVirtualServer.org
> > Send requests to lvs-users-request at LinuxVirtualServer.org
> > or go to http://lists.graemef.net/mailman/listinfo/lvs-users
> 
> 
> Dr Dean Scothern
> Infrastructure
> 
> E: dean.scothern at eduserv.org.uk
> T: +44 (0)1225 474379
> F: +44 (0)1225 474301
> www.eduserv.org.uk
> Eduserv is a company limited by guarantee (registered in England & Wales,
> company number: 3763109) and a charity (charity number 1079456), whose
> registered office is at Royal Mead, Railway Place, Bath, BA1 1SR.
> 
> 
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
> 
> LinuxVirtualServer.org mailing list - lvs-users at LinuxVirtualServer.org Send
> requests to lvs-users-request at LinuxVirtualServer.org
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users




More information about the lvs-users mailing list