The dpmvc datastore command retrieves the free space and capacity settings for a specific VMware vCenter data store.
This command has the following format:
dpmvc datastore [-sc sc_url] -getproperty {all|capacity|freespace} -datacenter_name datacentername -datastore_name datastorename [-vc_server vcserver] [-pre] [-post] [-ws_user wsuser] [-ws_password wspassword] [-prompt {yes|no}] [-locale iso639value]
(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
(Optional) Specifies which property to retrieve. Options include the following:
Retrieves capacity and free space in the data store.
Retrieves the capacity in the data store.
Retrieves the free space in the data store.
Specifies the data center where the VM is located.
Specifies the name of the data store where the new VM is located.
Specifies the vCenter Server to access when you have multiple vCenter Servers. Optional for single vCenter Server environments.
(Optional) Specifies whether to generate an event before the operation is performed.
(Optional) Specifies whether to generate an event after the operation is performed.
(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
(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: Get all Properties for the Data Store using Global Credentials
This example retrieves both free space and capacity for the data store.
dpmvc datastore -getproperty all datacenter_name DCA/MyCity -datastore_name storage1 -vc_server vc_server_1
Example: Get all Properties for the Data Store
This example retrieves both free space and capacity for the data store.
dpmvc datastore -getproperty all datacenter_name DCA/MyCity -datastore_name storage1 -vc_server vc_server_1
Example: Get all Properties for the Data Store
This example obtains both free space and capacity for the data store.
dpmvc datastore -getproperty all datacenter_name DCA/MyCity -datastore_name storage1 -vc_server vc_server_1
Copyright © 2013 CA. All rights reserved. |
|