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


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


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


Example: Configuring Cluster Resources for Apache Tomcat

  1. Register the necessary resource types.
    phys-schost-1# clresourcetype register SUNW.gds SUNW.HAStoragePlus
  2. Create the failover resource group.
    phys-schost-1# clresourcegroup create zone-rg
  3. Create a zpool on a shared disk to host the zonepath for the failover zone.
    phys-schost-1# zpool create -m /ha-zones ha-zones \
    phys-schost-1# zpool export ha-zones

    In a failover configuration, the zone's zonepath must be on a highly available file system.

  4. Register the zpool with the HAStoragePlus resource and create a resource (of type HASP) for the zones' disk storage (the zpool).
    phys-schost-1# clresource create -g zone-rg -t SUNW.HAStoragePlus -p \
    zpools=ha-zones ha-zones-hasp-rs
    phys-schost-1# clresourcegroup online -emM -n phys-schost-1 zone-rg
    phys-schost-1# zfs create ha-zones/solaris