Go to main content

Oracle® Solaris Cluster Data Service for Apache Tomcat Guide

Exit Print View

Updated: June 2017
 
 

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