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

26
1. Check the /etc/services file for well-known reserved ports to look for an unreserved port, for
example:
more /etc/services
2. Verify that an unreserved port from step 1 is not in use by running the netstat an command
and searching the output to ensure the selected port is not in use:
netstat an
Serviceguard for Linux and Related Software Installation
Java JDK
Serviceguard Manager requires Java JDK 1.5 or greater. We recommend you install Java 6 Update
13 or the latest version of Java 6 that is available from Sun.
This needs to be installed on each server.
To install JDK 6.0, (for example, jdk-1.6.0_13) from the .bin file, run the following commands:
1. Change to the directory where the Java JDK install file is located. For example:
cd /tmp/sglx_install
2. Make sure that the .bin file is executable.
chmod a+x jdk-6u13-linux-i586-rpm.bin
3. Run the .bin file to extract the rpm package. This step may also install the rpm.
./jdk-6u13-linux-i586-rpm.bin
[Hit space bar until the end of the license terms]
Do you agree to the above license terms? [yes or no] yes
4. Install the Java JDK, if necessary.
rpm -ivh jdk-6u13-linux-i586.rpm
Record the path to the java binary from JDK. Do not use the java binary of the JRE that comes with
the JDK. If unsure, run the find command to find all java files and directories. For example “find / -
name java” will search the entire system under “/”. The path from the install above is:
usr/java/jdk1.6.0_13/bin/java.
Serviceguard for Linux Installation Script
The Serviceguard for Linux Installation script will guide you through installing Serviceguard and
Serviceguard Manager from the DVD. It will also check for dependencies and prompt you to install
the required software or packages, if not already installed. This script will streamline the installation
of the several rpm packages that are included on the DVD, 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 DVD 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 6. 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,