Import an OVF Package
The dpmovf import command imports the OVF package and creates VMs or vApps. You can provide a custom properties file by using the -properties attribute. A custom properties file allows you to specify custom properties that are defined in the OVF package. The custom properties file contains a list of property keys and the corresponding property values.
casa
The dpmovf import command imports the OVF package and creates VMs or vApps. You can provide a custom properties file by using the -properties attribute. A custom properties file allows you to specify custom properties that are defined in the OVF package. The custom properties file contains a list of property keys and the corresponding property values.
If you do not have a custom properties file, the properties.txt file is created in your working directory. The default directory is CA\ProductName\bin.
This command has the following format:
dpmovf import-hostvCenter_server-useruser_name-passworduser_password-nameVM_VApp_name-pathOVF_file_path-datacenterdata_center-datastoredata_store-resourcepoolresource_pool[-localeiso639value][-propertiesproperties_file]-
- -host vCenter_serverSpecifies the name of the vCenter server host.
- -user user_nameSpecifies the user name to log in.
- -password user_passswordSpecifies the user password to log in.
- -name VM_VApp_nameSpecifies the name of the VM or the vApp.
- -path OVF_file_pathSpecifies the OVF file path.
- -datacenter data_centerSpecifies the data center name.
- -datastore data_storeSpecifies the data store.
- -resourcepool resource_poolSpecifies the resource pool.
- -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".
- -properties properties_file(Optional) Specifies the custom properties file path.
Example: Import the OVF file for CA Platform using
Server Automation
This example imports CA Platform OVF package and creates a vApp and VMs. The CA Platform OVF file is
CA Platform_v1_0_0_92c.ovf
and the file location is D:\OVF\CA_Platform
. The user name is user123.
The following attributes for the vApp are specified: my_datastore
, my_datacenter
, and my_resourcepool
. The custom properties are provided in the custom_properties.txt
file.dpmovf import -path "D:\OVF\CA_Platform\CA Platform_v1_0_0_92c.ovf" -name "My_CA_Platform" -host my_host.company.com -user user123 -locale en-US -datastore "my_datastore" -datacenter "my_datacenter" -resourcepool "my_resourcepool" -properties "custom_properties.txt"