I don't understand you very well, I suppose you have 3 servers with
virtualhost configured, in other words, 3 webs. I understand that vhost11,
vhost21 and vhost31 are the same web.

For this add 3 different services, in each service use the virtual host
field and add in all the same backends with the same port

Service Name1: service1
    *Virtual host: mywebsite1.com
    *Backends: 10.59.64.218, 10.59.64.228, 10.59.64.238

Service Name2: service2
    *Virtual host: mywebsite2.com
    *Backends: 10.59.64.218, 10.59.64.228, 10.59.64.238

Service Name3: service3
    *Virtual host: mywebsite3.com
    *Backends: 10.59.64.218, 10.59.64.228, 10.59.64.238


With this in each http request the load balancer will check your HOST
header.

*If the virtual host field is empty then the load balancer will not check
this header.
*If the url patter field is empty then the load balancer will not check
this header.
*Redirect field is executed if virtual host and|or url match (if they
aren't empty).

BTW: The services are checked in secuencial mode, like a firewall.

Regards





2013/6/7 Laurent Bardi <[email protected]>

> hi,
>
> i m trying to loadbalance 3 server, each of the 3 servers run as a
> virtualhost under apache.
>
> (ie :
> physical server1 runs
>     vhost11,
>     vhost12,
>     vhost13
> physical server2 runs
>     vhost21,
>     vhost22,
>     vhost23
> physical server3 runs
>     vhost31,
>     vhost32,
>     vhost33
>
> and service 1 runs on vhost11,vhost21,vhost31 ;
> service 2 runs on vhost12,vhost22,vhost32 ;
> service 3 runs on vhost13,vhost23,vhost33 ;
>
> each vhost is a "namedvirtualhost" (vhosts by name, not by port or by
> address).
>
> i ve defined a farm with is vip on port 80 and i try to redirect to
> ipaddres_of_vhost11 ipaddres_of_vhost21 ipaddres_of_vhost31 ; but where do
> i define (if it is possible that it is the vhost_named that shoud be used ?
>
> and by the way, could you provide some sample for :
>
> *Virtual Host.*empty value disabled*
> *Url pattern.*empty value disabled*
> *Redirect.*empty value disabled
> *
> many thanks in advance
>
> --
> Laurent BARDI /  RSI CNRS-IPBS / CRSSI DR14
> INSTITUT  de PHARMACOLOGIE et de BIOLOGIE STRUCTURALE
> Tel : 05-61-17-59-05    http://www.ipbs.fr/
> Fax : 05-61-17-59-94    Laurent.BardiATipbs.fr
> CNRS-IPBS 205 Route de Narbonne 31400 TOULOUSE FRANCE
> ...
> J'étais indéniablement misanthrope.
> Je voulus traverser à gué un marigot infesté d'imbéciles.
> Quand j'atteignis l'autre rive, j'étais devenu philanthrope.
>
>
>
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. A cloud service to automate IT design, transition and operations
> 2. Dashboards that offer high-level views of enterprise services
> 3. A single system of record for all IT processes
> http://p.sf.net/sfu/servicenow-d2d-j
> _______________________________________________
> Zenloadbalancer-support mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>
>


-- 
Load balancer distribution - Open Source Project
http://www.zenloadbalancer.com
Distribution list (subscribe): [email protected]
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Zenloadbalancer-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support

Reply via email to