CAS and Terracotta
Upcoming SlideShare
Loading in...5
×
 

CAS and Terracotta

on

  • 3,684 views

December 2010 Jasig CAS Community Call presentation on and discussion of CAS and Terracotta, by Raymond Walker of Northern Arizona University.

December 2010 Jasig CAS Community Call presentation on and discussion of CAS and Terracotta, by Raymond Walker of Northern Arizona University.

Statistics

Views

Total Views
3,684
Views on SlideShare
3,590
Embed Views
94

Actions

Likes
0
Downloads
31
Comments
0

3 Embeds 94

http://www.unicon.net 56
http://www.jasig.org 36
http://translate.googleusercontent.com 2

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

CAS and Terracotta CAS and Terracotta Presentation Transcript

  • CAS   &  Terraco,a A review of NAU’s implementation of CAS & Terracotta at an enterprise levelRaymond Walker 12/8/10Northern Arizona University
  • Overview •  A Background on CAS @ NAU •  Terracotta & CAS Setup •  Terracotta Configuration •  Java Memory Tuning •  Improvements & The FutureRaymond Walker 12/8/10Northern Arizona University
  • CAS  @  NAU  Background •  Major Services •  Versions & Additions o  PeopleSoft ~100k accts o  CAS 3.4.2 o  Shibboleth •  Modifications for old style •  GAE (Google Apps) “PT” support ~90k accts 45k active o  Password Expiration Module •  Confluence o  uPortal 100k accts 29k active o  WebCT Vista ~60k accts •  Statistics o  Business Objects (very rough numbers) o  Various Websites o  Logins per hour•  Clients 1000 – 10000 Homebrewed with additional o  Logins per day ~100k authorization layer (NAUauthZ) o  Tickets granted per hour o  Java 1000 – 22000 o  Perl (Apache) o  .Net Raymond Walker 12/8/10 Northern Arizona University
  • Terraco,a  &  CAS  Setup •  Why Terracotta? ACE o  Jboss not stable enough (Load  Balancer) o  Simple implementation o  Improved redundancy o  Developer Console•  Setup Node1 Node2 o  Hardware •  Cisco ACE (Load Balancer) •  2 quad-processor dual core CAS   CAS   AMD2200 nodes w/ 8Gb (Tomcat) (Tomcat) memory o  Software Terraco,a Terraco,a •  Terracotta 3.2.1_1 •  Tomcat 5.5.27 •  Apache (SSL handling) •  CAS 3.4.2 o  Default Ticket RegistryRaymond Walker 12/8/10Northern Arizona University
  • Terraco,a  Configuration •  “Simple” All configuration is done via “tc-config.xml” & a few commands•  DSO vs Express: CAS was initially suggested to be run on Terracotta DSO (Distributed Shared Objects) which made more sense http://www.theserverside.com/news/1363891/Using-Terracotta-DSO http://www.infoq.com/articles/open-terracotta-intro•  CAS Integration: Terracotta requires modules to be installed: http://www.terracotta.org/confluence/display/docs/Integrating+Terracotta+DSO o  tim-vector o  tim-tomcat-5.5 o  tim-spring-webflow-2.0 o  tim-spring-security-2.0•  Initial configuration notes: https://issues.jasig.org/browse/CAS-750 Raymond Walker 12/8/10 Northern Arizona University
  • TC  Configuration  cont. •  Application (CAS) awareness o  Defined in <application> section of tc-config.xml •  <roots> section contains configuration of shared memory roots •  <locks> section contains configuration for memory locks in individual methods. •  <instrumented-classes> any object referenced by a shared memory object needs to be listed here.•  Multiple node awareness o  Defined in <servers> section of tc-config.xml o  One server entry for each node•  Failover awareness o  Defined in <tc-properties> section o  Reference: http://www.terracotta.org/confluence/display/wiki/TUNING+TERRACOTTA#TUNINGTERRACOTTA- FAILOVER%3A Raymond Walker 12/8/10 Northern Arizona University
  • Java  Memory  Tuning •  Memory! o  The majority of our tuning has been taken from our prior experiences, mostly from our Shibboleth Terracotta & uPortal setups. o  Tomcat (catalina.sh) •  JAVA_OPTS="$JAVA_OPTS -Xmx1024M -XX:MaxPermSize=1024M - Dtc.install-root=/local/path/terracotta-3.2.1_1 -Dtc.config=/local/ path/tc-config.xml -Xbootclasspath/p:/local/path/terracotta-3.2.1_1/ lib/dso-boot/dso-boot-hotspot_linux_160_13.jar" o  Terracotta (start-tc-server.sh) •  $SERVER_OPT -Xms1024m -Xmx1024m -XX:NewRatio=3 - XX:MaxTenuringThreshold=15 -XX:+HeapDumpOnOutOfMemoryError - XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+UseParallelOldGC - XX:MaxGCPauseMillis=5000 -XX:-TraceClassUnloading o  Reference: http://java.sun.com/performance/reference/whitepapers/tuning.htmlRaymond Walker 12/8/10Northern Arizona University
  • Improvements  &   The  Future •  Issues o  Moved to dedicated Tomcat for CAS•  Memory management & garbage collection o  Always room for improvement in garbage collection o  Is BigMemory worth it?•  Terracotta Updates o  On the horizon…•  Dedicated NICs for Terracotta Raymond Walker 12/8/10 Northern Arizona University