The dpmvc-migrate command migrates a VM from one host server to another host server.
This command has the following format:
dpmvc-migrate {-datacenter_name datacentername | -vc vcenterservername} -vm_name vm -migrate_to_target_host name -migrate_to_target_resource_pool_name name -migrate_to_compute_resource_name name
Specifies the data center where the VM is located.
Specifies the vCenter Server where the VM is located.
Specifies the VM.
Specifies the name of the host to which you are migrating the VM.
Specifies the target resource pool.
Specifies the name of the cluster or VMware ESX host to which you are migrating the VM.
Example: Migrate a VM
This example migrates the VM, "MyVM1", from the data center VPM/MyCity to ServerC-dcavc.
dpmvc-migrate -vm_name MyVM1 -datacenter_name VAS/MyCity -migrate_to_compute_resource_name VASCluster/ClusterA -migrate_to_target_resource_pool_name Resources/VASTest -migrate_to_target_host ServerC-dcavc.MyCompany.com
Copyright © 2013 CA. All rights reserved. |
|