我使用Windows Server 2008 R2作为开发人员计算机,托管我的Hyper-V虚拟机。我现在要切换到Windows 8,以便在客户端OS中运行Hyper-V,无论如何,这都是我的用例。
在尝试将现有的VM移植到Windows 8 Hyper-V之前,我应该注意哪些陷阱?我在虚拟网络上有一些虚拟机,需要它们才能继续工作(DC,SQL,SharePoint等)。我应该采取一些特殊步骤(例如,导出虚拟网络而不是重新创建新网络)来最大程度地减少麻烦吗?
Windows 8的Hyper-V比服务器2008的Hyper-V是Hyper-V(V3)的更新版本。不建议将从Windows 8创建的VM导入到Server2008。但是从Server 2008到Windows 8则没有问题。如果必须从Windows 8迁移到Server 2008 Hyper-V,请确保不要使用.vhdx文件。
打开Hyper-V
右键单击要转换的虚拟机,然后选择设置:
选择硬盘IDE(通常为IDE 0),然后选择“编辑”:
选择转换,然后单击下一步
选择您想要转换为的VHD的类型,然后选择“下一步”。
选择磁盘类型:(固定大小,动态扩展),然后单击下一步
选择位置(注意:这并非默认为上次保存的位置),然后单击“下一步”。
选择完成
The use of exporting and importing is the preferred way of migrating VM's between Machines (Server 2008 to Windows 8 in your case).
To do this follow these steps:
Open Hyper-V Terminal
Right click on the VM that you want to export and select "Export" (make sure the machine is turned off):
Browse to the folder that you wish to save the VM:
Then Select Export.
Hyper-V will then in the background export the VM. This may take a few minutes or even quite a bit of time, depending on the type and size of the VM.
Open Hyper-V Terminal
On the right side, under the "Action" panel select "Import Virtual Machine...":
Select Next
Browse to the folder where you saved the VM
Select the Exported VM:
Select whether you want to Register, Restore, or Copy the VM
- Register: If you have a virtual machine were you have already put all of the virtual machine files exactly where you want them, and you just need Hyper-V to start using the virtual machine where it is – this is the option you want to choose.
- Restore: If your virtual machine files are stored on a file share / removable drive / etc… and you want Hyper-V to move the files to the appropriate location for you, and then register the virtual machine – this is the option for you.
- Copy: If you have a set of virtual machine files that you want to import multiple times (e.g. you are using them as a template for new virtual machines) this is what you want to choose. This will copy the files to an appropriate location, give the virtual machine a new unique ID, and then register the virtual machine.
选择完成
这会将VM导入Hyper-V。同样,这可能需要一些时间,具体取决于VM的类型/大小以及上面选择的选项。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句