Tomcat Clustering
Scott Battaglia
scott.battaglia at gmail.com
Wed Nov 1 15:07:38 EST 2006
Pete,
1. A load balancer with sticky sessions is sufficient for the web-tier
related stuff.
2. The ticket registry is part of the CAS server. Suffixes can be added by
properly configuring a UniqueTicketIdGenerator (you'll see some in the
configuration file):
http://developer.ja-sig.org/projects/cas/multiproject/cas-server/apidocs/org/jasig/cas/util/DefaultUniqueTicketIdGenerator.html
-Scott
On 11/1/06, Peter Giesin <pgiesin at hubcitymedia.com> wrote:
>
> Scott,
>
> I have a couple followup questions:
>
> 1. Is a load balancer set to use sticky-sesssion enough to meet this
> requirement or do I actually need to cluster the tomcat instances
> which host CAS?
> 2. Is the Ticket Registry part of CAS or part of the application that
> is being secured? Also if I wanted to add a suffix to the ticket were
> would this be done?
>
> Thanks,
> Pete
>
> On Oct 31, 2006, at 8:50 AM, Scott Battaglia wrote:
>
> > Pete,
> >
> > There are two parts of CAS that can be load balanced/clustered.
> > The first part is the authentication part where you merely need to
> > cluster Tomcat so that the user can always find their "login flow".
> >
> > The second part is the Ticket Registry itself. Ticket Registries
> > either need to be clustered (through something such as our
> > JBossTicketRegistry) or you need to somehow route the request to
> > the specific ticket registry (this can be accomplished via
> > appending a suffix to each ticket id and then using the load
> > balancer to determine which machine that ticket belongs to).
>
> > The 3.1 release of CAS will include a JBossTicketRegistry.
> >
> > -Scott
> >
> > On 10/31/06, Peter Giesin < pgiesin at hubcitymedia.com> wrote:All of
> > the docs talk about the need to cluster CAS servers if they
> > are in a load balanced environment. Is this a custom solution, or is
> > it already built into the code? I have CAS running on 4 load balanced
> > tomcat servers. Is clustering Tomcat enough? Or do I need to
> > customize the CAS code.
> >
> > Thanks,
> > Pete
> > _______________________________________________
> > Yale CAS mailing list
> > cas at tp.its.yale.edu
> > http://tp.its.yale.edu/mailman/listinfo/cas
> >
> > _______________________________________________
> > Yale CAS mailing list
> > cas at tp.its.yale.edu
> > http://tp.its.yale.edu/mailman/listinfo/cas
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20061101/d40c340c/attachment.html
More information about the cas
mailing list