The dpmvc-templatetovm command converts virtual machine templates back to VMs. This capability allows you to apply patches or software updates to the converted VM and then convert it back to a template, for example.
This command has the following format:
dpmvc-templatetovm -template_name templatename {-datacenter_name datacentername | -vc vcenterservername} -compute_resource_name hostname -resource_pool_name resourcepool -esx_host_name hostname
Defines the name of the template.
Specifies the data center where the VM is located.
Specifies the vCenter Server where the VM is located.
Specifies the cluster or VMware ESX host where the VM is created.
Specifies the name of the resource pool from which you want to select the VM for cloning.
Specifies the VMware ESX server where the VM resides.
Example: Convert a Template into a VM in a Single vCenter Server Environment
This example converts the template named convertTest into a VM.
dpmvc-templatetovm -datacenter_name VAS/MyCity -template_name convertTest -compute_resource_name onDemand/myhost.myco.com -esx_host_name myhost.myco.com -resource_pool_name Resources/QA
Copyright © 2013 CA. All rights reserved. |
|