Windows Server 2008 R2 DC v2v issue
背景说明
打算将xenserver的windows server 2008 r2 dc vm迁移到hyper-v,遇见了许多的问题 这里记录一下。
系统版本
-
xenserver 7.10 免费版
-
windows server 2016 with hyper-v role
步骤如下
-
为其中一台dc vm挂载新的磁盘。
-
为了避免目录服务信息不一致,在vm中关闭网卡。
-
使用disk2vhd将c盘的windows在新attach的磁盘做出镜像参考[1]。
-
deattach新加的磁盘,比attach到其他的windows vm,然后将vhd上传到hyper-v主机。
-
在hyper-v下创建vm,并挂载该磁盘启动。
问题不断出现,总是进不了系统,在boot地方显示闪动_ 按照[2]的方法处理,
-
删除"C:\windows\system32\drivers"下面的驱动
-
devmgmt.msc中卸载xen相关的设备驱动
-
attach vhd到一个windows vm处理HAL,按照[3][4]
-
调整开机进入safe mode,参考[4][5]
msconfig=->=boot tab=->=safe boot
-
在hyper-v处理delay时间,
hyper-v manager->= -> startup delay time
以上步骤并不能解决dc的问题,一台Windows 7 vm却很顺利的迁移过去了。我要说xenserver 7.1在多台xenserverhost之间容易迁移,导出xva/voa每次都是失败的,不清楚免费版本是否存在一些限制,只能够如此处理v2v了。
-
[1][Migrate DC to Hyper-V (Disk2VHD)]( https://social.technet.microsoft.com/Forums/lync/en-US/948d06a1-4136-4a97-b684-ce78cd4fac10/migrate-dc-to-hyperv-disk2vhd?forum=winserverhyperv )
-
[2][migrate-xenserver-7-0-vm-windows-to-hyper-v-2012-server]( https://community.spiceworks.com/topic/1960190-migrate-xenserver-7-0-vm-windows-to-hyper-v-2012-server )
-
[3][Enable detect HAL on a 2008 R2 VHD image]( https://blogs.technet.microsoft.com/mmodin/2009/11/12/enable-detect-hal-on-a-2008-r2-vhd-image/ )
-
[4][Restore VHD instance to harddrive]( https://social.technet.microsoft.com/Forums/ie/en-US/c619e9e9-a134-437d-a11c-769532ab9873/restore-vhd-instance-to-harddrive?forum=w7itprovirt )
-
[5][Hyper-V and F8]( https://community.spiceworks.com/topic/522843-hyper-v-and-f8 )
-
[6][How to setup for starting Hyper-V VM to Safe Mode - Step by step with screenshots]( http://www.howtonetworking.com/server/hyper-v28.htm )
-
[7][Need to migrate XenServer 6.2 VM's to Vsphere 5.5, anyone done this and can help]( https://community.spiceworks.com/topic/798970-need-to-migrate-xenserver-6-2-vm-s-to-vsphere-5-5-anyone-done-this-and-can-help )
-
[8][Migrate XenServer Vm's to ESXi VM's]( https://communities.vmware.com/thread/312066 )
-
[9][How convert vm xenserver 7 to vm esxi 6]( https://communities.vmware.com/thread/549117 )
-
[10][Hyper-V 手动导入虚机配置实例]( http://blog.51cto.com/virtualtom/424862 )
-
[11][将VMWARE虚拟机导入HYPER-V]( https://blog.silversky.moe/rt/import-vmware-vm-hyper-v )
-
[12][Backup and Convert XenServer VM for Hyper-V]( https://vox.veritas.com/t5/Backup-Exec/Backup-and-Convert-XenServer-VM-for-Hyper-V/td-p/736972 )
-
[13][Xenserver VM to Hyper-V 2012]( https://social.technet.microsoft.com/Forums/windows/en-US/462aefd6-43d9-4e36-90bd-7eba3bbbfd1b/xenserver-vm-to-hyperv-2012?forum=winserverhyperv、、 )