A question about load balancers and Terracotta clustering

Kevin P. Foote kpfoote at iup.edu
Wed Jul 11 15:15:39 EDT 2012


Kieth - I've never really seen/had this much trouble with terracotta..
(knock on wood).

I'm running java 1.6.0.26, tomcat 6.0.32, and terracotta 3.5.2 and have
been for a while.

I can send tc-config.xml or any other hints you need off-list .. just
let me know..  

Using the dev-console (included with terracota) you should verify that
your DSO is connected up correctly accepting clients and otherwise
in a good state. 

------
thanks
  kevin.foote

On Wed, 11 Jul 2012, Wessel, Keith William wrote:

-> All,
-> 
-> Still on the trail over here, and decided to turn some logging up to "ALL" to see what the TRACE and other items told me. An interesting tidbit. Here's where the logging seems to end:
-> 
-> 11:31:30.240 - TRACE [edu.internet2.middleware.shibboleth.idp.session.IdPSessionFilter:109] [session=] - Attempting to retrieve IdP session cookie.
-> 11:31:30.241 - TRACE [edu.internet2.middleware.shibboleth.idp.session.IdPSessionFilter:115] [session=] - Found IdP session cookie.
-> 11:31:30.244 - TRACE [edu.internet2.middleware.shibboleth.idp.session.IdPSessionFilter:75] [session=] - Updating IdP session activity time and adding session object to the request
-> 
-> Seems like something's happening when the IDP tries to write back to the Terracotta store at this point. I see no logs, client or server, on the Terracotta side corresponding with this timestamp, and I'm unclear how to turn up logging for Terracotta. Any suggestions on either getting more in the idp-process.log or the terracotta logs at this point from anyone would be very much appreciated.
-> 
-> Also, can I assume that this means the session was successfully RETRIEVED from the Terracotta store at this point based on what the IDP found in the cookie? Just trying to figure out if I can even read into this that we're reading from the Terracotta store alright.
-> 
-> Thanks again, everyone, for all the help on this.
-> 
-> Keith
-> 
-> 
-> -----Original Message-----
-> From: Wessel, Keith William 
-> Sent: Monday, July 09, 2012 8:53 PM
-> To: Shib Users
-> Subject: RE: A question about load balancers and Terracotta clustering
-> 
-> Thank you, Gentlemen. Chris, I'll go for a newer Tomcat and Terracotta to see if that helps. Was hoping to avoid upgrading Tomcat, but it's probably just as well that I do.
-> 
-> Yep, the first thing I did today after upgrading Java and Terracotta (6.26 and 3.5.2 using files I'd downloaded several months ago when doing some other troubleshooting that's unrelated) was rebuilt the jar.
-> 
-> We've got our heap at a good size in production where the clustering appears to be working correctly on rhel4. But we need to get to rhel6 as soon as possible for production which means confirming that all's happy in our test cluster, of course.
-> 
-> I'm not optimistic that a Tomcat upgrade and Terracotta 3.5.3 rather than 3.5.2 is going to solve this. So, perhaps the next step is console.sh.
-> 
-> Keith
-> 
-> 
-> -----Original Message-----
-> From: users-bounces at shibboleth.net [mailto:users-bounces at shibboleth.net] On Behalf Of Russell Beall
-> Sent: Monday, July 09, 2012 5:03 PM
-> To: Shib Users
-> Subject: Re: A question about load balancers and Terracotta clustering
-> 
-> On RHEL 6 I had to install the Sun JDK and use that instead of the Open JDK installation.
-> 
-> There was also a difference or two in the options, but those were not for making the connections work.
-> 
-> Have you rerun the make-boot-jar.sh under your new environment?  (I think you may have already said you checked that...)
-> 
-> Regards,
-> Russ.
-> 
-> On Jul 9, 2012, at 2:08 PM, Wessel, Keith William wrote:
-> 
-> > One question as is seems our move to RHEL6 might have broken this. Can Russ or others tell me what Tomcat, Java and Terracotta version conbimations they've found to work? I'm wondering if it's time to update one or more of these.
-> 
-> --
-> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
-> --
-> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
-> 


More information about the users mailing list