Use the cadpmspm deprovision command to deprovision an existing provisioned storage for an initiator. Deprovisioning removes the LUN that is created in the storage server.
Note: You can use the cadpmspm CLI command for other storage tasks such as discover, resize, and attach.
Follow these steps:
The cadpmspm command has the following format:
cadpmspm -deprovision -dataset=DatasetName [-stsrv=StorageServer -stplat=StoragePlatform] [-ws_user=username -ws_password=password] [-locale iso639value]
Specifies the name of the data set (LUN) attached on the initiator. To get the name of the data set, perform one of the following procedures:
cadpmspm.exe -discover -detail=0 -sttype=9 -stplat=StoragePlatform
See the stplat parameter description for the possible values.
(Optional) Specifies the storage provider server name.
(Optional) Specifies the storage platform; possible value is:
Specifies NetApp as the storage platform.
Specifies EMC as the storage platform
Specifies HP as the storage platform
Specifies IBM as the storage platform
Default: 1
(Optional) Specifies the credentials to use for the web service security check. If you do not include credentials, you are prompted to enter them. Avoid the prompt for credentials by setting up your own session using caaipsecurity.
(Optional) Specifies the credentials to use for the web service security check. If you do not include credentials, you are prompted to enter them. Avoid the prompt for credentials by setting up your own session using caaipsecurity.
(Optional) Specifies an IS0 639_3166 combination to override the default English output, for example, fr_FR for French. To use the locale of the command prompt, specify "native".
Example:
The following example shows how to deprovision an IBM SMI-S storage:
cadpmspm -deprovision -dataset=vm4953720121121020542 -stplat=4 -stsrv=192.168.178.142 -ws_user=admin -ws_password=admin
|
Copyright © 2013 CA.
All rights reserved.
|
|