Skip Navigation Links | |
Exit Print View | |
![]() |
Oracle Solaris Cluster Data Service for Apache Tomcat Guide Oracle Solaris Cluster 4.0 |
1. Installing and Configuring Oracle Solaris Cluster HA for Apache Tomcat
A. Deployment Example: Installing Apache Tomcat in the Global Zone
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: Enabling the Apache Tomcat Software to Run in the Cluster
B. Deployment Example: Installing Apache Tomcat in a Failover Zone
phys-schost-1# cp /opt/SUNWsctomcat/util/sctomcat_config /global/mnt3 phys-schost-1# cp /opt/SUNWsctomcat/bin/pfile /global/mnt3 phys-schost-1# chown tomcat:tomcat /global/mnt3/pfile
The following listing shows the relevant file entries and the values to assign to each entry.
. . . RS=RS-TOM RG=RG-TOM PORT=8080 LH=ha-host-1 NETWORK=true SCALABLE=false PFILE=/global/mnt3/pfile HAS_RS=RS-TOM-HAS
The following listing shows the relevant file entries and the values to assign to each entry.
EnvScript=/global/mnt3/tomcat/env.ksh User=tomcat Basepath=/global/mnt3/tomcat/apache-tomcat-5.5.17 Host=ha-host-1 Port=8080 TestCmd="get /index.jsp" ReturnString="CATALINA" Startwait=20
As an alternative, you can use the following set of variables:
EnvScript=/global/mnt3/tomcat/env.ksh User=tomcat Basepath=/global/mnt3/tomcat/apache-tomcat-5.5.17 TestUrl="http://ha-host-1:8080/" ReturnString="CATALINA" Startwait=20