HP P6000 Cluster Extension Software Administrator Guide (5697-2274, November 2012)

4 CLI commands and utilities
Using its CLI and command-line utilities, P6000 Cluster Extension can be integrated with almost
any cluster software for the Windows operating systems.
CLI commands
The P6000 Cluster Extension CLI command clxevarun can be:
Used as a standalone utility
Integrated into any cluster software or custom application for Windows
clxevarun
Description Use clxevarun to manually prepare the application service's disk
set before an existing application service start procedure is invoked.
You can use clxevarun in custom solutions and startup scripts.
When using clxevarun, the status of the associated DR group is
checked to ensure that access to the vdisk(s) will occur under data
consistency and concurrency situations only.
You must invoke clxevarun before the application service disk
set can be activated; it is considered an online-only program.
However, the CLI features provide the same disaster recovery
features as the integrated versions of P6000 Cluster Extension.
Syntax clxevarun [version] [forceflag] app_name
Operands Displays the P6000 Cluster Extension versionversion
forceflag Force startup
app_name Application name configured in the UCF.cfg file
Example 1 This example assumes you have defined an APPLICATION tag
named my-exchange in the UCF.cfg file, and have specified all
necessary objects, including the DeviceGroup object, to map the
DR group to the application service my-exchange. P6000 Cluster
Extension will check the vdisk set mapped to the application service
my-exchange, run the necessary failover procedure, and generate
a return code.
# clxevarun my-exchange
Example 2 This example assumes you have defined an APPLICATION tag
named my-exchange in the UCF.cfg file and have specified all
necessary objects, including the DeviceGroup object, to map the
DR group to the application service my-exchange. P6000 Cluster
Extension will check the vdisk set mapped to the application service
my-exchange, and run the necessary failover procedure to enable
read/write access to the vdisks.
# clxevarun -forceflag my-exchange
CLI commands 53