HP XP Cluster Extension Software Administrator Guide
Add-VMDependencyOnCLXXP
All VM residing in cluster will be made dependent on CLX XP. Continue?
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y
Starting with the steps to create and add dependency of virtual machines
residing on CSV on "Cluster Extension XP for VM Management".
TOTAL VIRTUAL MACHINE(S) IN THE CLUSTER: 1
VM role: "New Virtual Machine" is present on cluster shared volume :
"Cluster Disk 1" which is not dependent on resource of type "Cluster
Extension XP". Ensure that cluster shared volume is made dependent on
"Cluster Extension XP" before doing further operations.
Resource of type "Cluster Extension XP for VM Management" to be created
with Name: "CLX_XP_New Virtual Machine" in virtual machine role "New
Virtual Machine"
Created the resource "CLX_XP_New Virtual Machine" in virtual machine
role: "New Virtual Machine"
Added the dependency of Virtual Machine Configuration in VM Role New
Virtual Machine" on "Cluster Extension XP for VM Management" type
resource: "CLX_XP_New Virtual Machine"
CLX Resource NameVirtual Machine Role
CLX_XP_New Virtual MachineNew Virtual Machine
Total virtual machines in the cluster residing on CSV: 1
TOTAL VIRTUAL MACHINES IN THE CLUSTER FOR WHICH CLX XP DEPENDENCY ADDED:
1
Example 2
C:\PS>Add-VMDependencyOnCLXXP -CSVDiskName "Cluster Disk 1"
This command first finds out all the virtual machine configurations that are residing on the cluster
shared volume "Cluster Disk 1". After getting all virtual machine configurations on the provided
cluster shared volume, it tries to make each virtual machine configuration resource dependent on
resource of type "Cluster Extension XP for VM Management".
If the virtual machine configuration is already dependent on "Cluster Extension XP for VM
Management", then the cmdlet moves to the next virtual machine configuration on the provided
CSV.
However, if there is no existing dependency on "Cluster Extension XP for VM Management" but
resource of this type is already existing in the VM role, virtual machine configuration resource is
made dependent on the existing "Cluster Extension XP for VM Management" type resource. If it is
not present, a new resource of type "Cluster Extension XP for VM Management" is created and
virtual machine configuration resource is made dependent on it.
While creating the dependency, the virtual machine configuration resource must be offline, otherwise
the dependency is not created.
If a virtual machine configuration is residing on a cluster shared volume that is not dependent on
resource of type "Cluster Extension XP", then an error is thrown and no further operations are
performed on that VM.
PS C:\> Add-VMDependencyOnCLXXP -CSVDiskName "Cluster Disk 1
Logs will be generated with default "info" log level. For changing the
logging level, configure LogLevel parameter in file UCF.cfg at file
location: C:\Program Files\Hewlett-Packard\Cluster Extension XP\conf\
UCF.cfg
58 HP XP Cluster Extension and CLI