LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] localnode question

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] localnode question
From: Joseph Mack NA3T <jmack@xxxxxxxx>
Date: Tue, 29 Nov 2011 17:38:29 -0800 (PST)
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?


> I'm trying to build a simple 2 node mail load balanced cluster.
> I have a mail server on each node and load balance between the two via a vip.
> I'm not allowed to use the lvs-dr method as our network guys say that 
> asynchronous routing is forbidden by our firewalls.
>
> I can use lvs-nat, with a separate 'back-end' network between the two 
> machines.

I don't understand your lvs. You have the director in 
localnoce listening on the VIP and you have a 2nd box which 
is listening on the RIP via LVS-NAT?

> However the localnode behaviour forces the mail server 
> (exim) to listen on the vip. When the second node's mail 
> server is migrated to the first node (pacemaker), it 
> cannot be accessed as all connections go to the vip and 
> hence the first mail server.



> It appears that there was some experimentation to address 
> this some years ago, but I'm not sure if there have been 
> any recent developments.

I thought there might have been something like this by Ted 
Pavlic in the early days but I can't find it.

I expect the simplest thing to do is to get a 2nd realserver

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@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

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