HP StorageWorks P9000 Cluster Extension Software Administrator Guide (TB534-96009, February 2011)
for the LVM volume groups vgweb and vghtdocs. The sample CLXP9000.config file
shows the contents of the configuration file with the described failover behavior.
For SLE HA, the P9000 Cluster Extension resource configuration file /etc/opt/hpclx/
conf/CLXP9000.config is associated with the SLE HA resource CLXWEB. SLE HA invokes
the resource agent script, /usr/lib/ocf/resource.d/heartbeat/CLXP9000, which
checks the disk pair states before the volume groups vgweb and vghtdocs are activated
and the web server is started. The RAID Manager device group clxwebvgs includes all disks
for the LVM volume groups vgweb and vghtdocs. The sample CLXP9000.config file
shows the contents of the configuration file with the described failover behavior.
Sample configuration file:
COMMON
LogLevel info # values: error|info (optional)
APPLICATION CLXWEB # == service (RHCS) or resource group (SLE HA)
XPSerialNumbers 30047 30053
RaidManagerInstances 101
DeviceGroup clxwebvgs # raid manager device/copy group name
DC_A_Hosts Host1 Host2# systems in data center A
DC_B_Hosts Host3 Host4# systems in data center B
#optional parameter (only necessary if other than default)
FenceLevel data # values: data | never | async
ApplicationStartup resyncwait # values: fastfailback | resyncwait
AutoRecover yes # possible values: yes | no
DataLoseMirror no # possible values: yes | no
DataLoseDataCenter no # possible values: yes | no
PreExecScript /etc/opt/hpclx/clxweb_pre_takeover.sh
PostExecScript /etc/opt/hpclx/clxweb_post_takeover.sh
• The ApplicationStartup object is set to RESYNCWAIT to configure the service (RHCS) or resource
group (SLE HA) to wait for a pair resynchronization in the event that the service (RHCS) or
resource group (SLE HA) fails over to an adoptive node.
• The AutoRecover object is set to YES, which means that you use P9000 Cluster Extension
capabilities to automatically recover suspended disk pair states.
• The DataLoseMirror object and DataLoseDataCenter object are set to NO, which means P9000
Cluster Extension does not allow you to start the service (RHCS) or resource group (SLE HA)
automatically if the disk pair is suspended or a takeover operation leads to a suspended disk
pair.
• P9000 Cluster Extension enables read/write access to the disk groups used for the web server
service or resource group. Activation of the volume groups depends on a successful return
code from P9000 Cluster Extension. The logical volumes can be mounted only when their
volume groups are active and P9000 Cluster Extension allows read/write access to the disk
group. After the file system for the web server's executables and content data is mounted and
checked, the NIC is configured with the web server's IP address.
Configuring P9000 Cluster Extension with RHCS
P9000 Cluster Extension Software is integrated with the RHCS using an RHCS shared resource.
P9000 Cluster Extension provides a resource agent script (clxp9000.sh) that allows you to
manage P9000 Cluster Extension resources.
The executable clxxplxcs is called by P9000 Cluster Extension before volume group activation.
This checks the status of the RAID Manager device/copy group. If necessary, P9000 Cluster
Extension takes appropriate actions to allow access to the disks before the cluster software accesses
them.
Configuration overview
1. For P9000 arrays, configure command device user authentication. For instructions, see
“Configuring RAID Manager command device user authentication” (page 65).
54 Configuring P9000 Cluster Extension for Linux