JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Cluster Data Service for Apache Tomcat Guide     Oracle Solaris Cluster 4.0
search filter icon
search icon

Document Information

Preface

1.  Installing and Configuring Oracle Solaris Cluster HA for Apache Tomcat

A.  Deployment Example: Installing Apache Tomcat in the Global Zone

Target Cluster Configuration

Software Configuration

Assumptions

Installing and Configuring Apache Tomcat on Global Storage in the Global Zone

Example: Preparing the Cluster for Apache Tomcat

Example: Configuring Cluster Resources for Apache Tomcat

Example: Installing the Apache Tomcat Software on Shared Storage

Example: Modifying the Apache Tomcat Configuration Files

Example: Enabling the Apache Tomcat Software to Run in the Cluster

B.  Deployment Example: Installing Apache Tomcat in a Failover Zone

Index

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/j2se
    CATALINA_HOME=/global/mnt3/tomcat/apache-tomcat-5.5.17
    export JAVA_HOME CATALINA_HOME