JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Cluster Data Service for Apache Tomcat Guide     Oracle Solaris Cluster
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

C.  Deployment Example: Installing Apache Tomcat in a Non-Global Zone

Index

Example: Configuring Cluster Resources for Apache Tomcat

  1. Register the necessary data types on both nodes.
    phys-schost-1# clresourcetype register SUNW.gds SUNW.HAStoragePlus
  2. Create the Apache Tomcat resource group.
    phys-schost-1# clresourcegroup create RG-TOM
  3. Create the logical host.
    phys-schost-1# clreslogicalhostname create -g RG-TOM ha-host-1
  4. Create the HAStoragePlus resource in the RG-TOM resource group.
    phys-schost-1# clresource create -g RG-TOM -t SUNW.HAStoragePlus -p AffinityOn=TRUE \
    -p FilesystemMountPoints=/global/mnt3,/global/mnt4 RS-TOM-HAS
  5. Enable the resource group.
    phys-schost-1# clresourcegroup online -M RG-TOM