Look at the Presentation PDF there is some info in there.
I would also recommend reading through the DSO setup and installation on Terracotta's website. http://www.terracotta.org/confluence/display/docs/Home You will need to run the batch file make-boot-jar.bat in the platform/bin folder of Terracotta. This will create a system specific file that tomcat will use to make use of Terracotta. You will need to take note of the file that it creates. I originally did this on Windows, but have since thrown that away and started with Linux. One reason for that is the difficulty in starting Terracotta as a service reliably and that I was given a requirement to use IPSec between servers. To start up Terracotta as a service you will need wrapper-windows-x86-32-3.5.9. Here is what my startup looks like on Linux: Notice the TC_BOOT variable below. #!/bin/bash # # Init file for Apache Tomcat server # # chkconfig: 2345 55 25 # description: Apache Tomcat server # # Source function library. . /etc/init.d/functions CATALINA_HOME=/opt/tomcat/default TC_ROOT=/opt/terracotta/default TC_CONFIG=casdev01.is.depaul.edu:9510,casdev02.is.depaul.edu:9510 TC_BOOT=${TC_ROOT}/lib/dso-boot/dso-boot-hotspot_linux_160_26.jar JAVA_OPTS="$JAVA_OPTS -Xmx512M -XX:MaxPermSize=512M" export CATALINA_HOME start() { echo "Starting Razuna Tomcat: " JAVA_OPTS="$JAVA_OPTS -Dtc.install-root=$TC_ROOT -Xbootclasspath/p:${TC_BOOT} -Dtc.config=${TC_CONFIG}" export JAVA_OPTS $CATALINA_HOME/bin/startup.sh echo "done." } stop() { echo "Shutting down Razuna Tomcat: " $CATALINA_HOME/bin/shutdown.sh echo "done." } case "$1" in start) start ;; stop) stop ;; restart) stop sleep 10 #echo "Hard killing any remaining threads.." #kill -9 `cat $CATALINA_HOME/work/catalina.pid` start ;; *) echo "Usage: $0 {start|stop|restart}" esac exit 0 -----Original Message----- From: Tobias Quosigk [mailto:[email protected]] Sent: Thursday, September 15, 2011 3:14 PM To: [email protected] Subject: Re: [cas-user] Clustering CAS using Terracotta John, No, I didn't make any modifications to the Tomcat startup config. (And I don't see any connected clients in the console). Are the startup config changes documented somewhere? Tobias ----- Original Message ----- From: "John Ourada" <[email protected]> To: [email protected] Sent: Thursday, September 15, 2011 4:04:21 PM Subject: RE: [cas-user] Clustering CAS using Terracotta Tobias, what changes did you make to your Tomcat startup. Tomcat needs to know about Terracotta before it will work. -John -----Original Message----- From: Tobias Quosigk [mailto:[email protected]] Sent: Thursday, September 15, 2011 3:02 PM To: [email protected] Subject: [cas-user] Clustering CAS using Terracotta I'm following the writeup at https://wiki.jasig.org/display/CASUM/Terracotta <https://wiki.jasig.org/display/CASUM/Terracotta> to cluster my two instances of CAS 3.4.10 on Windows Server 2008 R2 64-bit running Tomcat 6.0.33 using Terracotta 3.5.2_1. I installed Terracotta, used tim-get to install tim-vector, tim-tomcat-6.0, tim-spring-webflow-2.0 and tim-spring-security-2.0. I used the NAU sample tc-config.xml and modified it (file attached) to add the second node. Terracotta starts on both nodes, I see both servers on the Developer Console, but nothing gets replicated. What am I doing wrong? Does anyone have more extensive documentation than what's available on the wiki? Tobias Tobias Quosigk Information Technology Services Kennesaw State University -- You are currently subscribed to [email protected] <mailto:[email protected]> as: [email protected] <mailto:[email protected]> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user <http://www.ja-sig.org/wiki/display/JSG/cas-user> -- You are currently subscribed to [email protected] <mailto:[email protected]> as: [email protected] <mailto:[email protected]> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user <http://www.ja-sig.org/wiki/display/JSG/cas-user> -- You are currently subscribed to [email protected] <mailto:[email protected]> as: [email protected] <mailto:[email protected]> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user <http://www.ja-sig.org/wiki/display/JSG/cas-user> -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
