HP 3PAR Cluster Extension Software Installation Guide for Windows (5697-1822, March 2012)

NOTE: In RHEL, before starting CLX installation, HP 3PAR Inform CLI should be installed. The
default installation path of the HP 3PAR Inform CLI version 3.1.1 is mentioned as a value for the
variable INFORM_CLI_PATH in the file /usr/share/cluster/clx3par.sh for CLX to work
in a desired fashion (clx3par.sh gets installed during the CLX installation). The default path of the
HP 3PAR Inform CLI version 3.1.1 mentioned for the variable INFORM_CLI_PATH is
“/opt/3PAR/inform_cli_3.1.1/bin. Based on the CLX support matrix, if user wants to use any
other version of the HP 3PAR Inform CLI or if user wants to install the HP 3PAR Inform CLI in any
other path other than the default path, then the variable INFORM_CLI_PATH in the file /usr/
share/cluster/clx3par.sh should be modified accordingly for all the resource agents used
for configuring the services.
In SLES, the INFORM_CLI_PATH needs to be updated in the file /usr/lib/ocf/resource.d/
heartbeat/CLX3PAR if HP 3PAR Inform CLI version other than 3.1.1 is installed in the system
or if HP 3PAR Inform CLI is installed in a different path other than the default path (CLX3PAR gets
installed during the CLX installation). This variable INFORM_CLI_PATH needs to be updated when
HP 3PAR Inform CLI is changed to any other version from the existing version in the system.
To enable parallel start of services configured with CLX resources in certain versions of RHEL, the
configuration steps that need to be followed are as follows:
Make as many copies of CLX resource agent (that is "/usr/share/cluster/clx3par.sh”) as there
are services. Change the file names of these resource agents (clx3par.sh). For example,
if there are 3 resource agents, you can name them as clx3par1.sh, clx3par2.sh and
clx3par3.sh.
From each service, call a unique CLX resource agent. There is no change in the content of the
resource agent (other than the INFORM_CLI_PATH in case user wants to install Inform CLI
version other than 3.1.1 or wants to install Inform CLI in a customized path).
For example, cluster.conf should have the entries similar to the following example for all the
services using CLX resource agent. In this example, there are 8 services each containing a CLX
resource using different CLX resource agent.
<resources>
<script file="/usr/share/cluster/clx3par1.sh" name="CLX3PAR1"/>
<script file="/usr/share/cluster/clx3par2.sh" name="CLX3PAR2"/>
<script file="/usr/share/cluster/clx3par3.sh" name="CLX3PAR3"/>
<script file="/usr/share/cluster/clx3par4.sh" name="CLX3PAR4"/>
<script file="/usr/share/cluster/clx3par5.sh" name="CLX3PAR5"/>
<script file="/usr/share/cluster/clx3par6.sh" name="CLX3PAR6"/>
<script file="/usr/share/cluster/clx3par7.sh" name="CLX3PAR7"/>
<script file="/usr/share/cluster/clx3par8.sh" name="CLX3PAR8"/>
</resources>
<service domain="3PAR_CLX" name="CLX01" recovery="relocate">
<script ref="CLX3PAR1">
<lvm lv_name="lvolr01" name="LVM01" self_fence="1" vg_name="vgr01">
<fs device="/dev/vgr01/lvolr01" fstype="ext3" mountpoint="/home/mnt01" name="FS01"/>
</lvm>
</script>
</service>
<service domain="3PAR_CLX" name="CLX02" recovery="relocate">
<script ref="CLX3PAR2">
<lvm lv_name="lvolr01" name="LVM02" self_fence="1" vg_name="vgr01">
<fs device="/dev/vgr01/lvolr01" fstype="ext3" mountpoint="/home/mnt02" name="FS02"/>
</lvm>
22 Installing HP 3PAR Cluster Extension Software for Linux