Total virtual machines in the cluster on cluster shared volumes: 1

Total virtual machines in the cluster: 1

Example 2

C:\PS>Get-VMOnClusterSharedVolumeListForCLX3PAR -CSVDiskName "Cluster Disk 1"

In this example, the cmdlet lists all the virtual machines which reside on CSV "Cluster Disk 1"

PS C:\> Get-VMOnClusterSharedVolumeListForCLX3PAR -CSVDiskName "Cluster Disk 1"

Cmdlet Log Location: C:\Program Files\Hewlett-Packard\Cluster Extension 3PAR\log\CLXCmdlet.log

Starting with the steps to get virtual machines on cluster shared volumes in the cluster.

Getting the virtual machine(s) created on CSV: Cluster Disk 1

Virtual Machine Role

Cluster

Shared Volume Name

New Virtual Machine

Cluster

Disk 1

Total virtual machines in the cluster on the provided cluster shared volume: 1

Total virtual machines in the cluster: 1

RELATED LINKS:

http://www.hp.com/go/clx

Pre-execution and post-execution programs

HP 3PAR Cluster Extension can invoke pre-execution and post-execution programs prior to or after a HP 3PAR Cluster Extension failover/failback function. These programs can be any executable, and must be able to provide return codes to HP 3PAR Cluster Extension. If the programs add significant execution time to the application service startup process, the timeout values for the startup process must be adjusted in the cluster software.

HP 3PAR Cluster Extension transfers information as CLI arguments to the pre-execution and post-execution programs. You must not specify CLI arguments. Pre-executables and post-executables must be specified by full path in the PreExecScript and PostExecScript objects. If no executable is specified (there is an empty value for the object), no preprocessing or postprocessing is performed. If the object is not defined, then the argument value is empty.

The following arguments are transferred to the scripts in this order:

1.Resource name

2.DC A HP 3PAR storage system serial number

3.DC B HP 3PAR storage system serial number

4.DC A Remote Copy volume group

5.DC B Remote Copy volume group

6.DC A host (server) names

7.DC B host (server) names

8.Replication mode

9.Local replication role

10.Remote replication role

11.Remote copy link status

12.Failsafe policy

13.Remote Copy volume group status

Pre-execution and post-execution programs 67