Solved

Move a Hyper-V Guest to a different host.

Posted on 2014-03-07
5
323 Views
Last Modified: 2014-11-12
I need to move a large HV Guest and doing an export/import significantly increases the downtime. Can I just recreate the vm to the same specs on a different parent and attach the original vhd's?
0
Comment
Question by:LCNW
5 Comments
 
LVL 13

Assisted Solution

by:Santosh Gupta
Santosh Gupta earned 66 total points
ID: 39913277
yes
0
 
LVL 25

Assisted Solution

by:Mohammed Khawaja
Mohammed Khawaja earned 67 total points
ID: 39913337
that should work fine.
0
 
LVL 56

Assisted Solution

by:Cliff Galiher
Cliff Galiher earned 67 total points
ID: 39913411
Exporting and importing shouldn't take any longer than copying VHDs. Importing provides an option to leave VHDs in place. So I'm not sire I see the benefit of your alternative. And while it will work, it will change some things in the VM since the VM metadata will change. Network settings, for example, will be lost. The VM will certainly need to be reactivated. And a few other oddities. Exporting and importing is the preferred method whenever possible.
0
 
LVL 20

Accepted Solution

by:
Svet Paperov earned 300 total points
ID: 39913424
Yes, but you still have to move the VHD file from on host to another unless it is located on a CSV in a cluster or another external storage that can be easily detached from first host and attached to the second one.

Recently, I had a similar case involving a huge VHD file and an iSCSI pass-through VHD. I disconnected the pass-through and I replaced the huge VHD by an empty VHD file in the VM configuration; all done while the VM was offline. Then, I exported and imported the VM (with significantly smaller VHD files); moved the huge HVD file to the new location and change the setting for the iSCSI volume to become available to the new Hyper-V host. As last step, I reconnected both, the huge VHD and the pass-through VHD to the same controllers of the VM and turned it on.
0
 
LVL 1

Expert Comment

by:cef_soothsayer
ID: 40161450
Make sure that there are no snapshots first.  But yes, then you can move the VHDs over and start it back up.  if that fails, you may need to use Icacls to reset the VM Service SID access.  I've run into that problem before.
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
OfficeMate Freezes on login or does not load after login credentials are input.
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now