Hi all, With some trial and error I managed to make it work.
Four instances of Geoserver (8080 master, 8081 - 8083 are slaves) in one machine with a single data directory and the apache2 load balancer. I would appreciate any comments if you see any issues with the following apache2 configuration file. <VirtualHost *:80> ServerName geo.testserver.com ProxyRequests Off ProxyTimeout 300 ProxyPreserveHost On ProxyVia On <proxy balancer://cluster> BalancerMember ajp://localhost:8009 route=route1 BalancerMember ajp://localhost:8010 route=route2 BalancerMember ajp://localhost:8011 route=route3 BalancerMember ajp://localhost:8012 route=route4 Require all granted ProxySet lbmethod=bybusyness </Proxy> <Location /balancer-manager> SetHandler balancer-manager </Location> <Location /geoserver> Require all granted ProxyPass balancer://cluster/geoserver stickysession=JSESSIONID </Location> <Location /geoserver/web> Require all granted ProxyPass http://localhost:8080/geoserver/web ProxyPassReverse http://localhost:8080/geoserver/web </Location> <Location /geoserver/j_spring_security_logout> Require all granted ProxyPass http://localhost:8080/geoserver/j_spring_security_logout </Location> <Location /geoserver/j_spring_security_check> Require all granted ProxyPass http://localhost:8080/geoserver/j_spring_security_check </Location> ProxyPass /balancer-manager ! ProxyPass /geoserver/web http://localhost:8080/geoserver/web ProxyPassReverse /geoserver/web http://localhost:8080/geoserver/web </VirtualHost> -- View this message in context: http://osgeo-org.1560.x6.nabble.com/High-availability-setup-tp5295171p5306465.html Sent from the GeoServer - User mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users