[Building Sakai] Load balancing a Sakai tomcat cluster using port 8080

Matthew Jones matthew at longsight.com
Mon Dec 9 07:19:24 PST 2013


Yes, as long as you use sticky sessions it works. Sakai currently doesn't
do non-sticky or automatic failover. There is some cluster invalidation and
communication that goes on though.

https://confluence.sakaiproject.org/display/DOC/Sakai+Admin+Guide+-+Advanced+Tomcat++(and+Apache)+Configuration


On Mon, Dec 9, 2013 at 4:57 AM, Jeremy O'Connor <joconnor at uwc.ac.za> wrote:

> Hi
>
> Can one load balance a Sakai cluster of tomcat servers via port 8080?
>
> For example, in an Apache server have something like:
>
> In: “/etc/httpd/conf.d/mod_proxy_balancer.conf”:
>
> <Proxy balancer://sakai_instance>
>   BalancerMember http://127.0.0.1:8080 route=nodeTEST
> </Proxy>
> ProxyPass / balancer://sakai_instance/ stickysession=JSESSIONID
>
> In “tomcat/conf/server.xml” have the following (among others):
>
> <Connector port="8080" URIEncoding="UTF-8" protocol="HTTP/1.1"
>                connectionTimeout="20000"
>                redirectPort="8443" />
>
> <Engine name="Catalina" defaultHost="localhost" jvmRoute="nodeTEST">
>
> --
> Jeremy
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20131209/206426a9/attachment.html 


More information about the sakai-dev mailing list