注:以下皆基于vSphere 6平台,理论支持vSphere 7,更低版本的vSphere 5.5没有测试过。
个人测试Windows Server 2003 R2 最高只支持vcenter converter 6.2 7348398,更高的6.2.0.1和6.3都会报错无法正常安装
使用vcenter converter 6.2 7348398迁移Windows Server 2003 R2的时候,有个警告提示
Unable to locate the required Sysprep files. Please upload them under c:\documents and settings\all users\application data\vmware\vmware vcenter converter standalone\sysprep\svr2003 on the converter server machine
根据官方 Sysprep 文件位置和版本 (1005593)提示 (VMware已下线此网页)
需要 Microsoft Sysprep 工具 文件
不幸的是微软官方已经将相关页面删除掉了,经过两天的搜索,搜到了SysPrep - WindowsServer2003-KB926028-v2-x86-ENU.exe这个文件(下载地址)。
但是后来自己研究发现,这个 Microsoft Sysprep 工具实际在官方的sp2补丁Windows Server 2003 Service Pack 2- ISO-9660 CD 映像文件中就有。(实际官方通过bing给了提示,如果在bing搜索WindowsServer2003-KB926028,第一个搜索结果就是Windows Server 2003 Service Pack 2- ISO-9660 CD 映像文件)
32位下 w2k3sp2_3959_chs_x86fre_spcd\SUPPORT\TOOLS\deploy.cab
64位下 w2k3sp2_3959_usa_x64fre_spcd\SUPPORT\TOOLS\deploy.cab
将deploy.cab解压缩以后就可以得到需要的 Sysprep 工具 文件了(下载地址)
如果不放心我的文件可以去下载官方sp2补丁,自行解压deploy.cab文件。
附上本人虚拟化迁移的步骤,包含Windows Server 2003和Windows Server 2008 R2虚拟化的步骤
Windows Server 2003 R2
1.运行VMware-converter-en-6.2.0-7348398.exe 安装converter。
2.补全sysprep文件
将Windows Server 2003 Service Pack 2- ISO-9660 文件夹内的DEPLOY文件夹和DEPLOY_64文件夹复制到待虚拟化的服务器的任意位置下
将DEPLOY文件夹内全部文件粘贴到C:\Documents and Settings\All Users\Application Data\VMware\VMware vCenter Converter Standalone\sysprep\svr2003\
将DEPLOY_64文件夹内全部文件粘贴到C:\Documents and Settings\All Users\Application Data\VMware\VMware vCenter Converter Standalone\sysprep\svr2003-64\
3.修改converter-worker.xml,禁用SSL加密,提升虚拟转换速度
进入文件夹C:\Documents and Settings\All Users\Application Data\VMware\VMware vCenter Converter Standalone\
右键converter-worker.xml,打开方式选择记事本,滚动到文件的最下面,将<nfc>标记内的<useSsl>true</useSsl>更改为<useSsl>false</useSsl>,保存文件,重启系统。
4.复制vmware tool 安装文件
因为默认vmware tool版本过高,不支持Windows Server 2003,将vmware tool server2003文件夹复制到待虚拟化的服务器的C盘里
5.使用converter进行虚拟化迁移,修改硬盘大小,内存分配,CPU分配,网卡改为单网卡。
6.虚拟化完成后,使用vCenter进行管理,开机后,安装vmware tool,重启服务器后,打第一个快照备份。
Windows Server 2008 R2及以上
1.运行VMware-converter-en-6.2.0-7348398.exe 安装converter。
2.修改converter-worker.xml,禁用SSL加密,提升虚拟转换速度
进入文件夹C:\ProgramData\VMware\VMware vCenter Converter Standalone\
右键converter-worker.xml,打开方式选择记事本,滚动到文件的最下面,将<nfc>标记内的<useSsl>true</useSsl>更改为<useSsl>false</useSsl>,保存文件,重启系统。
3.使用converter进行虚拟化迁移,修改硬盘大小,内存分配,CPU分配,网卡改为单网卡。
4.虚拟化完成后,使用vCenter进行管理,开机后,安装vmware tool,重启服务器后,打第一个快照备份。