HP 3PAR Cluster Extension Software Administrator Guide (5697-2047, June 2012)
1. Create the configuration file. For instructions, see “Creating the HP 3PAR Cluster Extension
configuration file” (page 56)
2. Create a HP 3PAR Cluster Extension resource using the SLE HA GUI. Use the procedure for
“Creating a HP 3PAR Cluster Extension resource for Pacemaker” (page 56)
3. Test the configuration. For instructions, see “Testing the configuration” (page 58)
Creating the HP 3PAR Cluster Extension configuration file
Create the HP 3PAR Cluster Extension configuration file. The procedure in this section is based on
the sample configuration in “HP 3PAR Cluster Extension for Linux: Sample configuration” (page 46).
Use this procedure as a guide for configuring your environment.
1. Log in to system Host1 as root.
2. Create the configuration file CLX3PAR.config in the /etc/opt/hpclx3par/conf
directory, by copying and editing the sample file CLX3PAR.config provided in the /opt/
hpclx3par/ sample directory.
$cp /opt/hpclx3par/sample/CLX3PAR.config /etc/opt/hpclx3par/conf/
CLX3PAR.config
3. In the configuration file (/etc/opt/hpclx3par/conf/CLX3PAR.config), enter the
appropriate values for:
• DC_A_InServStorage_SerNum
• DC_B_InServStorage_SerNum
• RCVolumeGroupA
• RCVolumeGroupB
• DC_A_Hosts
• DC_B_Hosts
See “User configuration file” for more information.
For example:
COMMON
#LogLevel info
APPLICATION CLXWEB
#DC_A_InServStorage_SerNum 1302871
#DC_B_InServStorage_SerNum 1302835
#RCVolumeGroupA CLX_VG
#RCVolumeGroupB CLX_VG.r2835
#DC_A_Hosts clx_node1 clx_node2 # clx_node1, clx_node2 are data centre A cluster
nodes
#DC_B_Hosts clx_node3 clx_node4 # clx_node3, clx_node4 are data centre B cluster
nodes
#ApplicationStartup fastfailback # values: fastfailback | resyncwait
#UseNonCurrentDataOk yes # values: yes | no
IMPORTANT: If you are using Device Mapper Multipath, configure the
multipath_rescan.sh script as a PostExecScript. For more information, see “Rescanning
multipath devices” (page 62).
4. Copy the updated /etc/opt/hpclx3par/conf/CLX3PAR.config file to the other cluster
nodes.
Creating a HP 3PAR Cluster Extension resource for Pacemaker
This procedure uses the Linux HA Management Client and Pacemaker. For specific instructions on
using the GUI, see the SuSE Linux Enterprise High Availability Extension documentation.
1. Start the Linux HA Management Client.
2. Select Add group from the Resources menu, and enter a group ID.
56 Configuring HP 3PAR Cluster Extension for Linux