Using Tomcat Toolkit in a HP Serviceguard Cluster README Revision: B.06.00

NOTE: As mentioned before, under shared configuration, you can choose
to put the Tomcat binaries as well in a shared file system. You can
configure this by 2 methods:
Suppose you wish to create a shared configuration for the Tomcat
Server on the shared file system mounted at /mnt/tomcat:
Method #1
1. Create the shared storage that will be used to store the Tomcat
files for all nodes configured to run the Tomcat package. Once
that storage has been configured, create the mount point for that
shared storage on these nodes. For this example, the mount point
is "/mnt/tomcat"
2. Copy all files from "/opt/hpws22/tomcat" to "/mnt/tomcat" on any one
node
3. Remove or rename "/opt/hpws22/tomcat" on all nodes configured to run
the Tomcat package
4. Create a symbolic link between "/opt/hpws22/tomcat" and
"/mnt/tomcat"
on all nodes configured to run the package
Method #2
1. Create the shared storage that will be used to store the Tomcat
files for all nodes configured to run the Tomcat package. Once
that storage has been configured, create the mount point for that
shared storage on these nodes. For this example, the mount point
is "/mnt/tomcat"
2. On any one node in the cluster that is configured to run the
package, activate the shared storage and mount it at the mount
point "/mnt/tomcat". Copy the Tomcat files to the shared storage
using the altroot.sh utility:
$ /opt/hpws22/util/altroot.sh --tomcat /mnt/tomcat
Besides moving the files in the /opt/hpws22/tomcat directory to the
new directory /mnt/tomcat, one additional Tomcat file will need to
be copied to all the other nodes in the cluster that are configured
to run the package. The next step explains which file needs to be
moved.
3. On the same node as above, copy the following file to the other
nodes in the cluster that are configured to run the package:
/etc/rc.config.d/hpws22_tomcatconf
4. On the other nodes in the cluster you can remove or rename the
/opt/hpws22/tomcat directory if desired.