HP 3PAR Cluster Extension Software Administrator Guide (5697-2047, June 2012)
appropriate actions to allow access to the volume group's physical disks before attempting to
activate and mount the logical volume on a cluster node.
Information on the latest version of HP Serviceguard for Linux is available at http://www.hp.com/
info/sglx.
For more information on cluster package configuration with HP Serviceguard for Linux, see
Managing HP Serviceguard for Linux on the HP High Availability website http://docs.hp.com/
en/ha.html.
For information on installing HP 3PAR Cluster Extension, see the HP 3PAR Cluster Extension Software
Installation Guide.
Configuring HP 3PAR Cluster Extension
You can configure HP 3PAR Cluster Extension objects in an environment file for all the cluster
packages. This file must be located in the /etc/opt/hpclx3par/conf directory.
You can configure a package to use HP 3PAR Cluster Extension by editing the package configuration
file.
Use one of the following procedures to configure HP 3PAR Cluster Extension:
• “Creating a new HP Serviceguard package and adding HP 3PAR Cluster Extension (CLI)”
(page 59)
• “Adding HP 3PAR Cluster Extension to an existing HP Serviceguard package (CLI)” (page 61)
Creating a new HP Serviceguard package and adding HP 3PAR Cluster Extension (CLI)
Before configuring the software parameters in the CLX configuration file, review the objects described
in “User configuration file and HP 3PAR Cluster Extension objects” (page 65)
While integration with HP Serviceguard for Linux, CLX uses a single configuration file which can
be used to configure all the packages.
The configuration procedure in this section is based on a sample configuration only. Use this
procedure as a reference for configuring the packages and hosts. To configure HP 3PAR Cluster
Extension as described in “HP 3PAR Cluster Extension for Linux: Sample configuration” (page 46),
create the package Package_name and complete the following procedure.
1. Log in to system Host1 as root.
2. Source the HP Serviceguard for Linux environment variables before you use them.
#. /etc/cmcluster.conf
3. Create the package configuration file and edit its contents. For example
#cmmakepkg -m sg/failover -m sg/priority -m sg/dependency -m
sg/weight -m sg/monitor_subnet -m sg/package_ip -m sg/service -m
sg/generic_resource -m sg/volume_group -m sg/filesystem -m sg/pev
-m sg/external_pre -m sg/external -m sg/acp –m clx/clxsg >
USER_DEFINED_DIR/USER_DEFINED_FILE
Here USER_DEFINED_DIR, is any path preferred by the user.
USER_DEFINED_FILE is any file name preferred by the user.
For details on how to create a package configuration file and package control file, see
Managing HP Serviceguard for Linux.
4. Copy the CLX3PAR.config file from the /opt/hpclx3par/sample/ to /etc/opt/
hpclx3par/conf.
#cp /opt/hpclx3par/sample/CLX3PAR.config /etc/opt/hpclx3par/conf
Configuring HP 3PAR Cluster Extension with HP Serviceguard on Linux 59