[users@httpd] mod_proxy ProxyPass balancer:// with SSL

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

 



I'm trying to connect httpd 2.2 to tomcat 5.5.12 in such a way that:
1) I can load balance multiple Tomcat instances.
2) If one Tomcat instance stops responding or is shutdown, it is no longer used.
3) Sticky sessions.
4) http & https (SSL) support

The first three items look like they can be accomplished using
mod_proxy and ProxyPass with a blanacer:// and ajp:// URL's to the
Tomcat instances.

Based on http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass,
something like this may work:

<VirtualHost *:80>
   ServerName myhost.mydomain.com
   ProxyPass / balancer://mycluster stickysession=jsessionid nofailover=On
   <Proxy balancer://mycluster>
       BalancerMember ajp://server01:8009/myapp/
       BalancerMember ajp://server02:8009/myapp/
   </Proxy>
</VirtualHost>

Is it possible to add SSL into the mix and still have load balancing
and sticky sessions?  Any help or reality checks would be appreciated!

Thanks,
Cameron

---------------------------------------------------------------------
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