HP 3PAR Cluster Extension Software Administrator Guide (5697-2047, June 2012)

12. After creating the mount points for the shared directories on all configured nodes, start the
package on Host2. The volume groups will be imported automatically during the first package
start on each system.
#cmrunpkg n Host2 CLXWEB
13. Transfer the package to the remote data center nodes and verify that the Remote Copy volume
group is in destination mode on the remote storage system.
14. After verifying that the package Package_name can be moved with HP Serviceguard for
Linux, and that the software performs automatic failover of the Remote Copy volume group
on each cluster node, move the package to its primary cluster node.
#cmrunpkg n Host1 CLXWEB
#cmviewcl v p CLXWEB
NOTE: For configuration of failover packages' switching behavior and for configuring volume
groups and filesystems to be used in this package, see Managing HP Serviceguard for Linux on
the HP High Availability website http://docs.hp.com/en/ha.html.
Adding HP 3PAR Cluster Extension to an existing HP Serviceguard package (CLI)
This procedure uses the CLI to add HP 3PAR Cluster Extension to an existing Serviceguard package.
To integrate HP 3PAR Cluster Extension with an existing package:
1. Copy the file CLX3PAR.config from /opt/hpclx3par/sample/ to /etc/opt/
hpclx3par/conf.
#cp /opt/hpclx3par/sample/CLX3PAR.config /etc/opt/hpclx3par/conf
2. Add information pertaining to the package in the CLX config file, CLX3PAR.config, which
is located in the /etc/opt/hpclx3par/conf/ directory.
3. Change the parameters in the package config file based on your cluster and storage system
configuration.
For more information, see “Creating a new HP Serviceguard package and adding HP 3PAR
Cluster Extension (CLI)” (page 59)
4. For the DATA_REP parameter in the package configuration file, USER_DEFINED_DIR/
USER_DEFINED_FILE, change its value to clx3par.
clx/clxsg/data_rep clx3par
Here USER_DEFINED_FILE is the package configuration file which was created earlier for
this package and USER_DEFINED_DIR is the path in which the package configuration file
was created.
5. Update the package information in the HP Serviceguard for Linux cluster database.
#cmapplyconf -v -P USER_DEFINED_DIR/USER_DEFINED_FILE
Starting an HP Serviceguard package
You can start a package using the cmrunpkg package_name command. You can also configure
a package to start automatically when a cluster node reboots (see Managing HP Serviceguard for
Linux for details on automatic package startup.)
To start a cluster package manually, you must enable the package to run on the cluster node.
NOTE: Ensure that the mount points for your file systems exist on each cluster node configured
to run the package.
To enable and start a package configured with HP 3PAR Cluster Extension, use the following HP
Serviceguard for Linux commands:
cmmodpkg e n cluster_node package_name
Configuring HP 3PAR Cluster Extension with HP Serviceguard on Linux 61