"Virtual Machine Configuration" resource is already dependent on the CLX resource, the cmdlet moves to the next VM configuration on a CSV. In the absence of dependency on the existing CLX resource the cmdlet creates a dependency of "Virtual Machine Configuration" resource in the VM role on resource of type "Cluster Extension 3PAR for VM Management".

If there is no resource of type "Cluster Extension 3PAR for VM Management" in the VM role then cmdlet first creates a resource of type "Cluster Extension 3PAR for VM Management" in the VM role and then makes the "Virtual Machine Configuration" resource in the VM role dependent on the newly created resource of type "Cluster Extension 3PAR for VM Management".

A virtual machine configuration resource is brought online after the "Cluster Extension 3PAR for VM Management" type resource that it depends on. Likewise, virtual machine configuration resource is taken offline before the "Cluster Extension 3PAR for VM Management" type resource that it depends on.

PARAMETERS:

-CSVDiskName <String>

Specifies the cluster shared volume name for which all the virtual machine(s) residing on it will be made dependent on resource of type "Cluster Extension 3PAR for VM Management".

Required?

false

Position?

named

Default value

 

Accept pipeline input?

false

Accept wildcard characters?

false

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction,

ErrorVariable, WarningAction, WarningVariable, OutBuffer and OutVariable.

For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/? LinkID=113216).

INPUTS:

Does not accept input object.

OUTPUTS:

Does not return object.

NOTES:

The VM roles created using failover cluster Manager GUI are supported.

"Virtual Machine Configuration" resource has to be offline while trying to add the dependency.

If a VM is residing on a CSV which is not dependent on resource of type "Cluster Extension 3PAR", then an error is thrown and no further operations are performed on that VM.

The Confirm parameter and the Force switch parameter are provided.

The cmdlet performs the operations irrespective of the storage array type of CSV.

Online help for the cmdlet is not supported.

Example 1

C:\PS>Add-VMDependencyOnCLX3PAR

This command first finds out all the virtual machine configuration resources which are residing on all the cluster shared volumes. After getting all such virtual machine configurations, it tries to make each virtual machine configuration dependent on resource of type "Cluster Extension 3PAR for VM Management".

Cluster Extension Cmdlets for CSV and Virtual Machine Management 63