Sun Cluster Data Service for Apache Tomcat Guide for Solaris OS

ProcedureExample: Installing the Apache Tomcat Software on Shared Storage

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.

  1. 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 -
    
  2. 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