HP Serviceguard for Linux Version A.11.19 Deployment Guide, September 2012

27
which is required by Serviceguard Manager and Tomcat. For the Java JDK installation described
earlier, the path will be usr/java/jdk1.6.0_13/bin/java. If you do not know where java is
installed, you can try to search the servers file system using the “find” command, for example
“find / -name java”. Look for the java file in the bin directory of the JDK.
The script comes with its own README. Refer to the README for additional information.
To run the script, follow these steps:
1. Mount the Serviceguard for Linux DVD.
2. Open a terminal window to the server from the console or an ssh client.
3. Copy the scripts from the DVD to a directory. For example in directory,
/tmp/sglx_install.
4. Change to the directory where the script resides. For example,
cd /tmp/sglx_install
5. Untar the file if necessary,
tar xfv sglx1119_easy_install.tar
6. Make sure that the script is executable, for example,
chmod +x sgEasyInstall
7. Invoke the script.
NOTE: If you get a “not a valid executable” error from the tomcat_cfg step when entering
the path to Java, hit [Return] to proceed anyway. The wrong path to Java was provided.
You will need to re-run the tomcat_cfg script (/opt/hp/hpsmh/tomcat/bin/tomcat_cfg) and
provide the correct path the Java binary from the JDK.
Serviceguard for Linux Contributed Toolkit Suite
For the optional sample package, we will be using Serviceguard for Linux to monitor and protect an
instance of the Apache webserver. The Apache Toolkit is used for the sample package.
This toolkit needs to be installed on only one of the servers.
To install the toolkit:
1. Copy the toolkit suite tar file to a directory.
2. Change to the directory containing the toolkit.
3. Untar the file, for example:
tar xfv sglxtools-A.04.00-0.product.redhat.tar
4. Install the Apache Toolkit, for example:
rpm -ivh apache-toolkit-A.04.00-0.product.redhat.noarch.rpm
Serviceguard for Linux Configuration
In this section, you will perform the server configuration steps that are required prior to configuring a
Serviceguard for Linux cluster. Then you will configure a 2-node Serviceguard for Linux cluster, create
the clog package, and configure a sample package.
Most steps will be performed using the browser-based Serviceguard Manager. Some of the sample
package configuration steps will need to be performed on one of the nodes in the cluster.
Serviceguard System Configuration Automation script
The Serviceguard System Configuration Automation script will perform most of the server
configuration tasks that need to be done prior to creating a Serviceguard for Linux. It will configure
the following:
Start and configure xinetd and identd services