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.
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 -
cat env.ksh #!/usr/bin/ksh JAVA_HOME=/usr CATALINA_HOME=/global/mnt3/tomcat/apache-tomcat-5.5.17 export JAVA_HOME CATALINA_HOME