Re: Load Balancer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, if you need just a simple load balancing you can use something like
this:

/etc/apache2/lb_map:
 pool    www1|www2|www3|www4

And in a .htaccess file:

 RewriteEngine On
 RewriteMap servers rnd:/etc/apache2/lb_map
 RewriteRule ^(/blog.*)$ http://${servers:pool}.domain.com$1 [R,L]

WhoAmI

On Fri, 29 Aug 2008 03:48:56 -0700 (PDT), elsergio
<sergio.lm@xxxxxxxxxxxxxx> wrote:
> 
> Hi all,
> 
> I would like to use to use Apache just as a Load Balancer. This is the
> idea:
> 
> --------- http/https ------> Apache ----------> Srv1: IP 192.168.1.10
>                                                |-----------> Srv2: IP
> 192.168.1.20
> 
> I have seen in the documentation that could be something like:
> 
> <Proxy balancer://mycluster>
> BalancerMember http://192.168.1.10:80
> BalancerMember http://192.168.1.20:80
> </Proxy>
> ProxyPass /test balancer://mycluster/
> 
> What is the parameter //mycluster ??
> It is necessary to balance all the incoming traffic??
> There is any problem with https traffic??
> 
> Thanks a lot!
> 
> Sergio
> --
> View this message in context:
> http://www.nabble.com/Load-Balancer-tp19217643p19217643.html
> Sent from the Apache HTTP Server - Users mailing list archive at
> Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
-- 
-WhoAmI-

Email: whoami@xxxxxxxxxxxxx
WebSite: http://www.autistici.org/whoami/


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux