Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
本文介绍了如何准备运行 Windows Server 2003 的计算机以迁移到 Azure。
注意
Windows Server 2003 外延支持已于 2015 年 7 月 14 日终止。 Azure 支持团队将继续帮助排查有关在 Azure 上运行 Windows Server 2003 的问题。 但是,这种支持仅限于不需要 OS 级故障排除或补丁的问题。 建议将应用程序迁移到运行较新版 Windows Server 的 Azure 实例,以确保有效利用 Azure 云的灵活性和可靠性。 但是,如果你仍选择将 Windows Server 2003 迁移到 Azure,则可以使用 Azure Migrate: Server 迁移工具(如果你的 Windows Server 是在 VMware 或 Hyper-V 上运行的 VM)。
- 你可以使用无代理迁移将 Hyper-V VM 和 VMware VM 迁移到 Azure。
- 若要在迁移后连接到 Azure VM,Hyper-V Integration Services 必须安装在 Azure VM 上。 Windows Server 2003 计算机默认未安装此程序。
- 没有可安装 Hyper-V Integration Services 的直接下载链接,因此必须执行以下操作:
- 对于未安装 Hyper-V Integration Services 的 Hyper-V VM,请在运行带有 Hyper-V 角色的 Windows Server 2012 R2/Windows Server 2012 的计算机上提取 Integration Services 的安装文件,然后将该安装程序复制到 Windows Server 2003 计算机。 安装文件在运行 Windows Server 2016 的计算机上不可用。
- 对于 VMware VM,请创建一个启动任务,该任务将在迁移后启动 Azure VM 时安装 Integration Services。
在 Hyper-V VM 上安装
迁移之前,请检查是否已安装 Hyper-V Integration Services,并根据需要进行安装。
- 按照这些说明检查是否已安装。
- 如果未安装,请使用 Hyper-V 角色登录到运行 Windows Server 2012 R2/Windows Server 2012 的计算机。
- 导航到 C:\Windows\System32\vmguest.iso 上的安装文件,然后装载该文件。
- 将安装文件夹复制到 Windows Server 2003 计算机上,然后安装 Integration Services。
- 安装后,可以在 Integration Services 中保留默认设置。
在 VMware VM 上安装
- 使用 Hyper-V 角色登录到运行 Windows Server 2012 R2/Windows Server 2012 的计算机。
- 导航到 C:\Windows\System32\vmguest.iso 上的安装文件,然后装载该文件。
- 将安装文件夹复制到 VMware VM。
- 从 VM 上的命令行中,运行
gpedit.msc
。 - 打开“计算机配置”>“Windows 设置”>“脚本(启动/关机)” 。
- 在“启动”>“添加”>“脚本名称” 中,键入 setup.exe 地址。
- 迁移到 Azure 后,该脚本将在 Azure VM 首次启动时运行。
- 手动重新启动 Azure VM。 启动诊断时会弹出窗口指示需要重新启动。
- 脚本运行后,Hyper-V Integration Services 安装在 Azure VM 上,你可以从启动中删除该脚本。
- 安装后,可以在 Integration Services 中保留默认设置。