These steps illustrate how to install the Apache Tomcat software in the directory /global/mnt3/tomcat. As long as only one node is mentioned it needs to be the node where your resource group is online.
Install the Apache Tomcat binaries on.
phys-schost-1# su - tomcat phys-schost-1# gzcat apache-tomcat-5.5.17.tar.gz|tar xvf - phys-schost-1# gzcat apache-tomcat-5.5.17-compat.tar.gz|tar xvf - |
Create your environment script /global/mnt3/tomcat/env.kshwith the following contents.
cat env.ksh #!/usr/bin/ksh JAVA_HOMME=/usr/j2se CATALINA_HOME=/global/mnt3/tomcat/apache-tomcat-5.5.17 export JAVA_HOME CATALINA_HOME |