?
Solved

How to move a Hyper-V virtual machine without Exporting it

Posted on 2012-09-08
3
Medium Priority
?
1,956 Views
Last Modified: 2012-09-10
I need to change the folder for a VM

I read is possible to create a new symbolic link to the virtual machine's XML configuration file.

you have step by step how work with hyper-v Windows 2008 R2
0
Comment
Question by:OWSalex
  • 2
3 Comments
 
LVL 20

Expert Comment

by:Svet Paperov
ID: 38379988
Yay, there are some blogs out there that describe how to move, attach virtual machine without using export/import features. However, those methods are not supported by Microsoft and I would advise against using them.

Depending on the purpose, you could do one of the following:
If you need to move the VHD files only, you actually don’t need to export/import the VM: just copy the VHD files on the new location and attach them to the virtual machine(s) via the Hyper-V Manager
If you need to move the config XML files as well as the VHD files, you have to use the export/import feature of Hyper-V Manager. Now, if the size of the VHD files are a problem (in case you have multiple VHD files attached to a single VM), you could use some tricks: after stopping the VM, disconnect the additional VHD files except the boot one (connected to IDE1) and move them independently; then export and import the VM with its only VHD file and attach the additional files to the same virtual controller where they were before exporting the VM
0
 

Author Comment

by:OWSalex
ID: 38381040
Thank You,
My problems is to move VMs from one physical machine to another machine, I use symantec backup exec to do this, when I finish I have the VMs in a new physical machine, my VMs are still activated, but symantec change the physical path.

path for the xml file

original physical machine
V:\Hyper-v\WORKSTATIONS\Vi016\Virtual Machines

new physical machine
R:\Microsoft Hyper-V\Vi016\V\Hyper-v\WORKSTATIONS\Vi016\Virtual Machines

symantec add "Microsoft Hyper-V\Vi016\V\"
"Microsoft Hyper-V"
+
"Vi016" (machine name)
+
"V" (Drive)

I want just change the path for the xml file

for vhd no problem I can move with the Hyper-V Manager
0
 
LVL 20

Accepted Solution

by:
Svet Paperov earned 1500 total points
ID: 38382742
I am not familiar with Symantec Backup Exec. May be there are options, you could select.

Hyper-V Manager Import has 4 restore options: it either moves (using the existing ID) or copies (creating a new ID) the VM and it can duplicate or not the files.

I often moves virtual machines between servers (we don’t have a cluster) and I always use Move + Duplicate: in that case, Hyper-V copies the files in the default folders as they are specified in the Hyper-V Manager.

If someone needs to keep the files in the original folder, where the were restored, he can use Move without duplicate: in that case Hyper-V just links the VM and replace the exported XML by the config XML but all files stay in the exported folder.
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
Suggested Courses

749 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