HP 3PAR Cluster Extension Software Administrator Guide for Windows (5697-1821, April 2012)
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.
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
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.
• The service (RHCS) or resource group (SLE HA) is configured to wait for a volume group merge
or full copy by setting the ApplicationStartup value to RESYNCWAIT.
• HP 3PAR Cluster Extension enables read/write access to the Remote Copy volume group used
for the CLXWEB service. Activation of the volume groups depends on a successful return code
from HP 3PAR Cluster Extension. The logical volumes can be mounted only when their volume
groups are active and HP 3PAR Cluster Extension allows read/write access to the disk group.
After the file system for the web server's executable files and content data is mounted and
checked, the NIC is configured with the web server's IP address.
HP HP 3PAR Cluster Extension for Linux: Sample configuration 49