Previous Topic: Verify Storage ProvisionNext Topic: (Optional) Troubleshooting


(Optional) Deprovision Storage

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:

  1. Click Start, All Programs, CA, CA Server Automation, and open the CA Server Automation Command Prompt.
  2. Run the cadpmspm deprovision command to remove the LUN.

The cadpmspm command has the following format:

cadpmspm -deprovision 
-dataset=DatasetName   
[-stsrv=StorageServer -stplat=StoragePlatform] 
[-ws_user=username -ws_password=password]
[-locale iso639value]
-dataset=DatasetName

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:

-stsrv=StorageServer

(Optional) Specifies the storage provider server name.

-stplat=StoragePlatform

(Optional) Specifies the storage platform; possible value is:

1

Specifies NetApp as the storage platform.

2

Specifies EMC as the storage platform

3

Specifies HP as the storage platform

4

Specifies IBM as the storage platform

Default: 1

-ws_user username -ws_password password

(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.

-ws_user username -ws_password password

(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.

-locale iso639value

(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