Previous Topic: Storage Provisioning Manager Command

Next Topic: cadpmspm clone storage--Clone Storage


cadpmspm attach Command--Attach Storage to Host

Use this command to provision new storage and attach it to a target host.

This command has the following format:

cadpmspm -attach -dataset=DatasetName -size=StorageSizeMB [-asynch] [-policy=StoragePolicyName] -provxml=ProvisionDataXMLFile [-target=TargetHostName] [-atch_user=TargetHostUser -atch_password=TargetHostPassword -atch_location=MountLocation] [-stsrv=StorageServer -stplat=StoragePlatform] [-ws_user=EEMusername -ws_password=EEMPassword][-locale iso639value][-atch_cifsuser=cifsuser -atch_cifspass=cifspassword]
-dataset=DatasetName

Specifies the name of the data set to create and attach.

-size=StorageSizeMB

Specifies the amount of storage to attach in MB.

-asynch

(Optional) Specifies that the attach run asynchronously.

-policy=StoragePolicyName

(Optional) Specifies a storage policy name.

Note: If specified, the -provxml parameter is ignored.

-provxml=ProvisionDataXMLFile

Specifies the input file for provision data.

-target=TargetHostName

(Optional) Specifies the target to which to attach the newly provisioned storage.

-atch_user=TargetHostUser

(Optional) Specifies the attach username for the target host.

atch_password=TargetHostPassword

(Optional) Specifies the attach password for the target host.

-atch_location=MountLocation

(Optional) Specifies the path to which to mount the provisioned storage.

-stsrv=StorageServer

(Optional) Specifies the storage 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.

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.

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

-atch_cifsuser=CIFSUser

Specifies the user name of the CIFS storage access.

Note: This parameter is required for CIFS storage attachment.

-atch_cifspass=CIFSPassword

Specifies the password of the CIFS storage access.

Note: This parameter is required for CIFS storage attachment.