HP Serviceguard for Linux Version A.11.18 Deployment Guide, August 2008

29
NOTE: The installation script will instruct the user to set up the PATH environment variable.
This will be taken care of by the Serviceguard System Configuration Automation script later.
Serviceguard for Linux Installation Script
The Serviceguard for Linux Installation script will guide you through installing Serviceguard and
Serviceguard Manager from the CD. It will also check for dependencies and prompt you to install the
required dependencies, if not already installed. This script will streamline the installation of the
several rpm packages that are included on the CD, reducing the installation from many commands to
just one command to invoke the script.
This script needs to be run on each server.
The script will ask for the directory path where the Serviceguard for Linux CD is mounted. It will check
for Linux packages that are required as prerequisites for Serviceguard and Serviceguard Manager.
Instructions for installing the prerequisites are provided earlier in this deployment guide. If not
already installed, you will be prompted to install these packages for the installation to complete
successfully. This can be done in a separate terminal window.
You will also be prompted at least once to verify or install Java JDK 1.5. If you have already installed
Java, just type “yes” to continue. It will also prompt you to provide the path to the JDK java binary,
which is required by Serviceguard Manager and Tomcat. For the Java JDK installation described
earlier, the path will be /usr/java/jdk1.5.0_15/bin/java. If you do not know where java is
installed, you can try to search the server’s 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 will also check whether the authd package is installed on the server. If installed, you will
be prompted to remove it. It will also to attempt to ensure that authd is not installed in the future by a
software update service such as YUM. Authd conflicts with another package required by
Serviceguard for Linux.
To run the script, follow these steps:
1. Mount the Serviceguard for Linux CD.
2. Open a terminal window to the server from the console or an ssh client.
3. Change to the directory where the script resides. For example,
cd /tmp/sglx_install
4. Untar the file if necessary,
tar xf sglx_easy_install.tar
5. Make sure that the script is executable, for example,
chmod +x sgEasyInstall
6. Invoke the script.
./sgEasyInstall
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.
The script comes with its own README. Refer to the README for additional information.