So you're able to use the public IP as the farm IP, and the private IPs 
as the backends? I haven't had any success in making that work. I've 
only so far been able to use public IPs on the backend, even if I'm 
testing with a single domain name. Is there some trick to making this 
work?

On 2015-11-14 11:55, Emilio Campos wrote:
> If you have different backend servers for your apps, you can configure
> only one Farm with HTTP profile and configure as services as vhost you
> require, use a PCRE regular expresion in each virtualserver field in
> the service section.
> 
> I.E:
> Farmname: myhosting
> IP: 80.25.32.64
> PORT: 80
> 
> Service "web1"
> virtualhost: .*web1.com [6]
> backends:
> 192.168.0.100
> 192.168.0.101
> 
> Service web2
> virtualhost: .*web2.com [7]
> backend:
> 192.168.0.200
> 192.168.0.201
> 
> Regards
> 
> 2015-11-14 18:23 GMT+01:00 James Doherty <j...@jdoherty.net>:
> 
>> Ernie
>> 
>> Hope this helps...
>> 
>> Jim
>> 
>> James M Doherty
>> President REVIVE CONSULTING LLC
>> EMAIL: j...@jdoherty.net
>> PHONE: 512-650-2997
>> Patents Held:
>> http://patent.ipexl.com/inventor/James_M_Doherty_1.html [5]
>> 
>> On Fri, Nov 13, 2015 at 12:38 PM, Ernie Dunbar
>> <maill...@lightspeed.ca> wrote:
>> 
>>> Yes, I'd love to see that.
>>> 
>>> On 2015-11-10 17:42, James M Doherty wrote:
>>>> I have this exact environment set up
>>>> I serve 3 different web sites spread across 5 backend servers
>>>> 
>>>> Tomorrow I will send the key configure settings if you are
>>> interested
>>>> 
>>>> James M Doherty
>>>> President
>>>> Revive Consulting LLC.
>>>> 512-650-2997 [1] ( O )
>>>> 512-217-6302 [2] ( C )
>>>> 
>>>> 
>>>> 
>>>>> On Nov 10, 2015, at 18:50, Ernie Dunbar
>>> <maill...@lightspeed.ca>
>>>>> wrote:
>>>>> 
>>>>> Hi everyone.
>>>>> 
>>>>> I'm trying to set up Zen Loadbalancer against a cluster of
>>> servers
>>>>> running Apache virtual hosts on a single, shared IP address. I
>>> have
>>>>> the
>>>>> loadbalancer working fine so long as the Apache servers are
>>> hosting a
>>>>> completely separate IP address for a virtual host, but I want
>>> to be
>>>>> able
>>>>> to run many domains through the Zen Loadbalancer without
>>> having to
>>>>> have
>>>>> a unique IP address for three different hosts - the Zen box,
>>> Apache
>>>>> server 1 and Apache server 2.
>>>>> 
>>>>> For example, this configuration works fine:
>>>>> 
>>>>> mocku.edu [3] DNS resolves to <public /24>.41
>>>>> Zen Loadbalancer uses <public /24>.41
>>>>> Apache1 uses <public /24>.42
>>>>> Apache2 uses <public /24>.43
>>>>> 
>>>>> When I set up a php script to show the IP address that the web
>>> server
>>>>> is
>>>>> using, refreshing the page shows that the IP address switches
>>> between
>>>>> .42 and .43. I've tried using a private IP space like
>>> 10.0.0.42 and
>>>>> 10.0.0.43 for the backends (HTTP profile), but that
>>> immediately fails
>>>>> with a 503 message, and the Apache logs show no access
>>> attempts.
>>>>> 
>>>>> Any suggestions on how to accomplish this without using
>>> hundreds of
>>>>> precious IPv4 IP addresses would be welcome. :)
>>>>> 
>>>>> 
>>> 
>> 
> ------------------------------------------------------------------------------
>>>>> _______________________________________________
>>>>> Zenloadbalancer-support mailing list
>>>>> Zenloadbalancer-support@lists.sourceforge.net
>>>>> 
>>> 
>> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>>> [4]
>>>> 
>>>> 
>>> 
>> 
> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Zenloadbalancer-support mailing list
>>>> Zenloadbalancer-support@lists.sourceforge.net
>>>> 
>>> 
>> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>>> [4]
>>> 
>>> 
>> 
> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Zenloadbalancer-support mailing list
>>> Zenloadbalancer-support@lists.sourceforge.net
>>> 
>> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>>> [4]
>> 
>> 
> ------------------------------------------------------------------------------
>> 
>> _______________________________________________
>> Zenloadbalancer-support mailing list
>> Zenloadbalancer-support@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>> [4]
> 
> --
> 
> Load balancer distribution - Open Source Project
> http://www.zenloadbalancer.com [8]
> Distribution list (subscribe):
> zenloadbalancer-support@lists.sourceforge.net
> 
> 
> Links:
> ------
> [1] tel:512-650-2997
> [2] tel:512-217-6302
> [3] http://mocku.edu
> [4] 
> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
> [5] http://patent.ipexl.com/inventor/James_M_Doherty_1.html
> [6] http://web1.com
> [7] http://web2.com
> [8] http://www.zenloadbalancer.com
> 
> ------------------------------------------------------------------------------
> 
> _______________________________________________
> Zenloadbalancer-support mailing list
> Zenloadbalancer-support@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support


------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
Zenloadbalancer-support mailing list
Zenloadbalancer-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support

Reply via email to