Does not accept input objects.

OUTPUTS:

Does not return object.

NOTES:

CSV resource has to be offline while trying to add the dependency.

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-CSVDependencyOnCLX3PAR

This command first finds out all the cluster shared volumes in the cluster. After getting all such CSV it tries to make each CSV dependent on resource of type "Cluster Extension 3PAR".

If CSV is already dependent on "Cluster Extension 3PAR", then the cmdlet moves to the next CSV in the cluster.

However if there is no existing dependency on "Cluster Extension 3PAR" but resource of this type is existing in the corresponding CSV group, CSV resource is made dependent on the existing "Cluster Extension 3PAR" type resource. If it is not present, a new resource of type "Cluster Extension 3PAR" is created and CSV resource is made dependent on it.

While creating the dependency, CSV resource should be offline else dependency is not created.

PS C:> Add-CSVDependencyOnCLX3PAR

Logs will be generated with default "info" log level. For changing the logging level, configure LogLevel parameter in UCF.cfg file at file location: C:\Program Files\Hewlett-Packard\Cluster Extension 3PAR\conf\ UCF.cfg

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

Add-CSVDependencyOnCLX3PAR

All CSV in the cluster will be made dependent on CLX 3PAR. Continue? [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y

Starting with the steps to create and add dependency of cluster shared volume(s) on "Cluster Extension 3PAR"

TOTAL CLUSTER SHARED VOLUME(S) IN THE CLUSTER: 6

Resource of type "Cluster Extension 3PAR" to be created with Name: "CLX_3PAR_864e7b5e-c46f-4611-b046-29470bd4bd07" in CSV Owner Group: "864e7b5e-c46f-4611-b046-29470bd4bd07"

Resource of type "Cluster Extension 3PAR" to be created with Name: "CLX_3PAR_Cluster Disk 1" in CSV Owner Group: "864e7b5e-c46f-4611-b046-29470bd4bd07"

Created the resource "CLX_3PAR_Cluster Disk 1" in CSV Owner Group: "864e7b5e-c46f-4611-b046-29470bd4bd07"

Added the dependency of CSV: "Cluster Disk 1" on "Cluster Extension

3PAR" type resource: "CLX_3PAR_Cluster Disk 1"

Resource of type "Cluster Extension 3PAR" to be created with Name: "CLX_3PAR_Cluster Disk 2" in CSV Owner Group: "0f145465-1186-4bbb-b9e2-2fde4cb1127d"

60 CLI commands and utilities