Sun Cluster Data Service for Apache Tomcat Guide for Solaris OS

Apache Tomcat Component Dependencies

You can configure the Sun Cluster HA for Apache Tomcat data service to protect one or more Apache Tomcat instances. Each instance needs to be covered by one Apache Tomcat resource. The dependencies between the Apache Tomcat resource and other needed resources are described in Table 3, in Table 4, or in Table 5.

Table 3 Dependencies Between Sun Cluster HA for Apache Tomcat Components in Failover Configurations

Component 

Dependency 

Apache Tomcat resource in a Solaris 10 global zone, zone or in Solaris 9. 

SUNW.HAStoragePlus This dependency is required only, if the configuration uses a failover file system or file systems in a zone.

SUNW.LogicalHostName

Apache Tomcat resource in a Solaris 10 failover zone. 

Sun Cluster HA for the Solaris Container boot resource. 

SUNW.HAStoragePlus

SUNW.LogicalHostName — This dependency is required only if the zones boot resource does not manage the zone's IP address.

Because of the special requirements of a scalable configuration, you need no dependencies to storage or addresses, as long as every Apache Tomcat and its parameter file pfile is stored on the root file system. Otherwise follow Table 4.

Table 4 Dependencies Scalable

Component 

Description 

Storage Resource 

This resource can be a SUNW.HAStorage or a SUNW.HAStoragePlus resource type.

Apache Tomcat(Mandatory)

-> Storage resource 

The Storage resource manages the Apache Tomcat File System Mount points and ensures that Apache Tomcat is not started until they are mounted. 

Shared address(Mandatory)

The shared address resource resides in a separate resource group on which the scalable resource group depends. 

A multiple master configuration is running on more than one nodes like a scalable configuration, but without a shared address. Because of the special requirements of a multiple masters configuration, you need no dependencies to storage or addresses, as long as every Apache Tomcat and its parameter file pfile is stored on the root file system. Otherwise follow Table 5.

Table 5 Dependencies Between Sun Cluster HA for Apache Tomcat Components in Failover Configurations

Component 

Dependency 

Apache Tomcat resource in a Solaris 10 global zone or in Solaris 9 

SUNW.HAStoragePlus This dependency is required only, if the configuration uses a failover file system.

Apache Tomcat resource in a Solaris 10 failover zone. 

Sun Cluster HA for the Solaris Container boot resource. 

SUNW.HAStoragePlus.

If more elaborate dependencies are required, see the r_properties(5) and rg_properties(5) man pages for further dependencies and affinities settings.


Note –

For more detailed information about Apache Tomcat, refer to the http://jakarta.apache.org web page.