The dpmvc createdatastore command creates a new datastore.
This command has the following format:
dpmvc createdatastore -datastore_name datastorename -esx_host_name esxhostname -vc_server vcservername [-ws_user wsuser] [-ws_password wspassword] [-prompt {yes|no}] -datastore_type {local|nas|vmfs} [-vmfs_device_path path] [-vmfs_block_size_mb blocksize] [-local_path lpath] [-nas_user_name nasuser] [-nas_password naspasswd] [-nas_remote_hostname nasremhost] [-nas_remote_path nsarempath] [-nas_access_mode {read-only|read-write}] [-sc sc_url] [-locale iso639value]
Specifies the name of the data store where the new VM is located.
Specifies the name of the ESX server that hosts a VM.
Specifies the vCenter Server to access when you have multiple vCenter Servers. Optional for single vCenter Server environments.
(Optional) Specifies the web service user name to connect to the VC Platform Management Module (PMM).
(Optional) Specifies the password for the web service user to connect to the VC Performance Management Module (PMM).
(Optional) Specifies whether you are prompted for the web service user ID and password.
Default: Yes
Specifies the type of datastore to be created, VMFS, NAS, or local.
(Optional) Specifies the device path of the VMFS disk to use when creating a new datastore. You can obtain the path using the "getavailablescsidisks" command.
(Optional) Specifies the block size to use when creating a new datastore, in MB. Blocksizes available are 1, 2, 4 and 8. They enabled VM disk files to reach a maximum of 256GB, 512GB, 1024GB, and 2048GB respectively.
(Optional) When creating a local datastore, this path specifies the ESX host's local file system path that will be used to create the datastore.
(Optional) Specifies the remote host user name for NAS datastore creation.
(Optional) Specifies the remote host password for NAS datastore creation.
(Optional) Specifies the hostname of the server hosting the network-based storage.
(Optional) Specifies the file system path on the remote server which is to be used for the NAS datastore
(Optional) Specifies the desired kind of access to the network-based storage which will be used for the NAS datastore. Available modes are "read-only" and "read-write". If not specified, the default mode is read-write.
(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".
(Optional) Defines the URL for the service controller host.
Example: https://hostname:port/...
Defines the fully qualified host where the service controller is installed.
Example: localhost.ca.com
Defines the listening port for the service controller server.
Example: 80
Copyright © 2013 CA. All rights reserved. |
|