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

the LVM volume groups vgweb and vghtdocs are activated and the web server is started.
The HP 3PAR Remote Copy volume group clxwebdrg includes all virtual volumes for the
LVM volume groups vgweb and vghtdocs. The sample CLX3PAR.config file shows the
contents of the configuration file with the described failover behavior.
For SLE HA, the configuration file /etc/opt/hpclx3par/conf/CLX3PAR.config is
associated with the SLE HA resource CLXWEB. SLE HA invokes the resource agent script
/usr/lib/ocf/ resource.d/heartbeat/CLX3PAR, which checks the Remote Copy
volume group member states before the LVM volume groups vgweb and vghtdocs are
activated and the web server is started. The Remote Copy volume group clxwebdrg includes
all virtual volumes for the LVM volume groups vgweb and vghtdocs. The sample
CLX3PAR.config file shows the contents of the configuration file with the described failover
behavior.
For HP Serviceguard on Linux cluster, the configuration file /etc/opt/hpclx3par/conf/
CLX3PAR.config is associated with the package CLXWEB that is configured to use the HP
3PAR Cluster Extension package configuration script. HP SG invokes the package configuration
script to start the CLXWEB package. The CLXWEB package checks the Remote Copy volume
group member states before the volume groups vgweb and vghtdocs are activated and the
web server is started. The 3PAR Remote Copy volume group, \Data Replication\
clxwebdrg includes all vdisks for the LVM volume groups vgweb and vghtdocs. The sample
CLX3PAR.config file shows the contents of the configuration file with the described failover
behavior.
Sample CLX3PAR.config file.
#
COMMON
#LogLevel info # error|info default: error (optional)
# The APPLICATION part defines failover information for the application
# specified as value of the APPLICATION tag.
# For example, the command - clx3PARrun CLXTEST1 will use the below
# settings to check and allow access to the disk set specified as volume
# Group CLX_VGTEST1. Example includes similar kind of settings for another
# cluster group CLXTEST2.
# Necessary object when clx3PARrun is used are:
# APPLICATION, DC_A_InServStorage_SerNum, DC_B_InServStorage_SerNum,
# RCVolumeGroupA, RCVolumeGroupB, DC_A_Hosts and DC_B_Hosts
#APPLICATION CLXTEST1 # package/service/cluster group test_application
#DC_A_InServStorage_SerNum 1302871 # 1302871 is the data center A HP 3PAR
array serial number
#DC_B_InServStorage_SerNum 1302835 # 1302835 is the data center B HP 3PAR
array serial number
#RCVolumeGroupA CLX_VGTEST1 # CLX_VGTEST1 is the data center A
HP 3PAR Remote Copy volume group name
#RCVolumeGroupB CLX_VGTEST1.r2835 # CLX_VGTEST1.r2835 is the data
center B HP 3PAR Remote Copy volume group name
#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 #Default value is yes which causes the
failover operation to succeed at the destination site when the data at the destination
site might not be current. On setting the value to No the resource will not come
online at the destination site since the data might not be current.
#APPLICATION CLXTEST2 # package/service/cluster group test_application
#DC_A_InServStorage_SerNum 1302871 # 1302871 is the data center A HP 3PAR
array serial number
#DC_B_InServStorage_SerNum 1302835 # 1302835 is the data center B HP 3PAR
array serial number
#RCVolumeGroupA CLX_VGTEST2 # CLX_VGTEST2 is the data center A
HP 3PAR Remote Copy volume group name
#RCVolumeGroupB CLX_VGTEST2.r2835 # CLX_VGTEST2.r2835 is the data
center B HP 3PAR Remote Copy volume group name
#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 resyncwait # values: fastfailback | resyncwait
#UseNonCurrentDataOk yes # values: yes | no #Default value is yes which causes the
HP 3PAR Cluster Extension for Linux: Sample configuration 47