[lvs-users] lvs NAT mode - real server to (different) virtual server public IP web requests fail

Mehrdad Ziaei mehrdad.ziaei at senecac.on.ca
Thu Nov 26 14:47:14 GMT 2009


I have the exact same problem.

Here is the scenario, I host two different sets of websites within the 
same webfarm cluster behind one LVS.
These two sets are isolated from each other and running on two different 
sets of real servers.

Websites from the first set need access to a web-service from the 2nd set.
I will not be able to call it locally, and can not point to one specific 
real server from
2nd set as it will defeat the high availability in case that specific 
node goes down for any reason.

Can we have both LVS-NAT  and LVS-DR configuration on the same LVS at 
the same time?
To use a live IP as VIP for clients outside of the cluster in the 
LVS-NAT configuration
and to use a private IP as VIP for clients inside the cluster in the 
LVS-DR configuration
and both use the same set of real servers?


Graeme Fowler wrote:
> On Wed, 2009-11-25 at 20:17 -0800, James H wrote:
>> Suggestions?
> See the section in the HOWTO on "realservers as clients". It's a
> difficult one to solve, and adds extra complexity to the system.
> Here's a thought for you, though - why do the internal requests need to
> be load balanced? If the service is located on all of the realservers,
> can it not just be called locally?
> Graeme
> _______________________________________________
> 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