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

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

Target Cluster Configuration

Software Configuration

Assumptions

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

Example: Preparing the Cluster for Apache Tomcat

Example: Configuring Cluster Resources for Apache Tomcat

Example: Creating and Configuring the Failover Zone

Example: Installing the Apache Tomcat Software on Shared Storage

Example: Modifying the Apache Tomcat Configuration Files

Enabling the Apache Tomcat Software to Run in the Cluster

Index

Example: Modifying the Apache Tomcat Configuration Files

  1. Ensure that the Apache Tomcat data service package was installed.
  2. Copy the Apache Tomcat configuration file from the agent directory to its deployment location.
    phys-schost-1# cp /opt/SUNWsctomcat/util/sctomcat_config /global/mnt3
  3. Add this cluster's information to the sctomcat_config configuration file.

    The following listing shows the relevant file entries and the values to assign to each entry.

    RS=RS-TOM
    RG=zone-rg
    PORT=8080
    LH=zone-hostname
    NETWORK=true
    SCALABLE=false
    PFILE=/tomcat/pfile
    HAS_RS=ha-zones-hasp-rs
    ZONE=solarisfz1
    ZONE_BT=solarisfz1-rs
    PROJECT=
  4. Save and close the file.