Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Cluster Data Service for Apache Tomcat Guide Oracle Solaris Cluster |
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
C. Deployment Example: Installing Apache Tomcat in a Non-Global Zone
Installing and Configuring Apache Tomcat on Shared Storage in a Non-Global Zone
Example: Preparing the Cluster for Apache Tomcat
Example: Configuring Cluster Resources for Apache Tomcat
Example: Modifying the Apache Tomcat Configuration File
Example: Enabling the Apache Tomcat Software to Run in the Cluster
These steps illustrate how to install the Apache Tomcat software in the shared storage. As long as only one node is mentioned it needs to be the node where your resource group is online.
phys-schost-1# zlogin clu1 phys-schost-2# zlogin clu1
zone-1# groupadd -g 1000 tomcat zone-1# useradd -g 1000 -d /global/mnt3/tomcat -m -s /bin/ksh tomcat zone-2# groupadd -g 1000 tomcat zone-2# useradd -g 1000 -d /global/mnt3/tomcat -m -s /bin/ksh tomcat
zone-1# su - tomcat zone-1$ gzcat apache-tomcat-5.5.17.tar.gz|tar xvf - zone-1$ gzcat apache-tomcat-5.5.17-compat.tar.gz|tar xvf -
cat env.ksh #!/usr/bin/ksh JAVA_HOMME=/usr/j2se CATALINA_HOME=/global/mnt3/tomcat/apache-tomcat-5.5.17 export JAVA_HOME CATALINA_HOME