Wednesday, June 10, 2015

How to move VM to a different Datacenter Host in Private Cloud Environment

Simple VM Migration: (Virtual DC Export-Import Scenario using hyper v 2012 R2)


·        Shut down the server –
o   This will quiesce the VM and put it in a ‘fully baked’ state with no ‘in-flight’ or pending changes from a virtualization stand point.
·        Export the VM
·        Copy the files.
·        Import the VM
·         Attach VHD or VHDX files
·        Boot up the VM
o   Since it is an import/export, the NIC might come up as DHCP – be aware of this in terms of DNS registrations, etc.
o   You might consider booting it with the vNIC ‘unplugged’ so you can square away the NIC settings (as long as you have VM console access like SCVMM or FCMS or Hyper-V manager)
·        Re-IP the VM
o   Make sure to review/edit the settings for DNS and/or WINS on the newly installed vNIC
·        Review DNS, AD Sites and Subnets, etc. to make sure they are all correct (is the new IP/subnet entered into AD and associated with an AD site, etc.)
·        Review AD replication for success/failures.

NOTE: The IP of VM would be changed with same domain and same VM name. Later, you can rename it as per new data center naming policy.