将本地 Hyper-V VM 灾难恢复到 Azure 时的支持矩阵Support matrix for disaster recovery of on-premises Hyper-V VMs to Azure

本文汇总了使用 Azure Site Recovery 执行本地 Hyper-V VM 到 Azure 的灾难恢复时支持的组件和设置。This article summarizes the supported components and settings for disaster recovery of on-premises Hyper-V VMs to Azure by using Azure Site Recovery.

支持的方案Supported scenarios

方案Scenario 详细信息Details
使用 Virtual Machine Manager 的 Hyper-VHyper-V with Virtual Machine Manager

对于托管在 System Center Virtual Machine Manager 结构中的 Hyper-V 主机,可针对在其上运行的 VM 执行到 Azure 的灾难恢复。You can perform disaster recovery to Azure for VMs running on Hyper-V hosts that are managed in the System Center Virtual Machine Manager fabric.

可以在 Azure 门户中部署此方案,也可使用 PowerShell 进行部署。You can deploy this scenario in the Azure portal or by using PowerShell.

由 Virtual Machine Manager 托管 Hyper-V 主机时,也可以执行到辅助本地站点的灾难恢复。When Hyper-V hosts are managed by Virtual Machine Manager, you also can perform disaster recovery to a secondary on-premises site. 若要了解有关此方案的详细信息,请阅读此教程To learn more about this scenario, read this tutorial.
不使用 Virtual Machine Manager 的 Hyper-VHyper-V without Virtual Machine Manager 对于并非由 Virtual Machine Manager 托管的 Hyper-V 主机,可针对在其上运行的 VM 执行到 Azure 的灾难恢复。You can perform disaster recovery to Azure for VMs running on Hyper-V hosts that aren't managed by Virtual Machine Manager.

可以在 Azure 门户中部署此方案,也可使用 PowerShell 进行部署。You can deploy this scenario in the Azure portal or by using PowerShell.

本地服务器On-premises servers

ServerServer 要求Requirements 详细信息Details
Hyper-V(不使用 Virtual Machine Manager 运行)Hyper-V (running without Virtual Machine Manager) 包含最新更新的 Windows Server 2019、Windows Server 2016、Windows Server 2012 R2(包括这些操作系统的服务器核心安装,Windows Server 2019 除外)Windows Server 2019, Windows Server 2016, Windows Server 2012 R2 with latest updates (including server core installation of these operating systems, except Windows Server 2019) 如果已使用 Azure Site Recovery 配置 Windows Server 2012 R2 和/或 SCVMM 2012 R2 并计划升级 OS,请遵循指南文档If you have already configured Windows Server 2012 R2 with/or SCVMM 2012 R2 with Azure Site Recovery and plan to upgrade the OS, please follow the guidance documentation.
Hyper-V(使用 Virtual Machine Manager 运行)Hyper-V (running with Virtual Machine Manager) Virtual Machine Manager 2019、Virtual Machine Manager 2016、Virtual Machine Manager 2012 R2(包括这些操作系统的服务器核心安装,Virtual Machine Manager 2019 除外)Virtual Machine Manager 2019, Virtual Machine Manager 2016, Virtual Machine Manager 2012 R2 (including server core installation of these operating systems, except Virtual Machine Manager 2019) 如果使用 Virtual Machine Manager,Windows Server 2019 主机应在 Virtual Machine Manager 2019 中托管。If Virtual Machine Manager is used, Windows Server 2019 hosts should be managed in Virtual Machine Manager 2019. 同样,Windows Server 2016 主机应在 Virtual Machine Manager 2016 中托管。Similarly, Windows Server 2016 hosts should be managed in Virtual Machine Manager 2016.

备注

  • 确保本地服务器上存在 .NET Framework 4.6.2 或更高版本。Ensure that .NET Framework 4.6.2 or higher is present on the on-premise server.
  • Windows Server 2019 Server Core 版本不支持故障转移和故障回复到备用位置或原始位置,无论是在有 Virtual Machine Manager 的情况下运行,还是在没有 Virtual Machine Manager 的情况下运行。Failover and failback to alternate location or original location, running with or without Virtual Machine Manager, is not supported for Windows Server 2019 server core version.

复制的 VMReplicated VMs

下表汇总了 VM 支持。The following table summarizes VM support. Site Recovery 支持在受支持的操作系统上运行的任何工作负荷。Site Recovery supports any workloads running on a supported operating system.

组件Component 详细信息Details
VM 配置VM configuration 复制到 Azure 的 VM 必须满足 Azure 要求VMs that replicate to Azure must meet Azure requirements.
来宾操作系统Guest operating system Azure 支持的任何来宾 OS。Any guest OS supported for Azure..

不支持 Windows Server 2016 Nano Server。Windows Server 2016 Nano Server isn't supported.

VM/磁盘管理VM/Disk management

操作Action 详细信息Details
调整复制的 Hyper-V VM 上的磁盘大小Resize disk on replicated Hyper-V VM 不支持。Not supported. 为 VM 禁用复制,进行更改,然后重新启用复制。Disable replication, make the change, and then re-enable replication for the VM.
在复制的 Hyper-V VM 上添加磁盘Add disk on replicated Hyper-V VM 不支持。Not supported. 为 VM 禁用复制,进行更改,然后重新启用复制。Disable replication, make the change, and then re-enable replication for the VM.

Hyper-V 网络配置Hyper-V network configuration

组件Component 使用 Virtual Machine Manager 的 Hyper-VHyper-V with Virtual Machine Manager 不使用 Virtual Machine Manager 的 Hyper-VHyper-V without Virtual Machine Manager
主机网络:NIC 组合Host network: NIC Teaming Yes “是”Yes
主机网络:VLANHost network: VLAN Yes “是”Yes
主机网络:IPv4Host network: IPv4 Yes “是”Yes
主机网络:IPv6Host network: IPv6 No No
来宾 VM 网络:NIC 组合Guest VM network: NIC Teaming No No
来宾 VM 网络:IPv4Guest VM network: IPv4 Yes “是”Yes
来宾 VM 网络:IPv6Guest VM network: IPv6 No Yes
来宾 VM 网络:静态 IP (Windows)Guest VM network: Static IP (Windows) Yes “是”Yes
来宾 VM 网络:静态 IP (Linux)Guest VM network: Static IP (Linux) No No
来宾 VM 网络:多 NICGuest VM network: Multi-NIC Yes “是”Yes
Https ProxyHttps Proxy No No

Azure VM 网络配置(故障转移后)Azure VM network configuration (after failover)

组件Component 使用 Virtual Machine Manager 的 Hyper-VHyper-V with Virtual Machine Manager 不使用 Virtual Machine Manager 的 Hyper-VHyper-V without Virtual Machine Manager
Azure ExpressRouteAzure ExpressRoute Yes “是”Yes
ILBILB Yes “是”Yes
ELBELB Yes “是”Yes
Azure 流量管理器Azure Traffic Manager Yes “是”Yes
多 NICMulti-NIC Yes “是”Yes
保留 IPReserved IP Yes “是”Yes
IPv4IPv4 Yes “是”Yes
保留源 IP 地址Retain source IP address Yes “是”Yes
Azure 虚拟网络服务终结点Azure Virtual Network service endpoints
(不带 Azure 存储防火墙)(without Azure Storage firewalls)
Yes “是”Yes
加速网络Accelerated Networking No No

Hyper-V 主机存储Hyper-V host storage

存储Storage 使用 Virtual Machine Manager 的 Hyper-VHyper-V with Virtual Machine Manager 不使用 Virtual Machine Manager 的 Hyper-VHyper-V without Virtual Machine Manager
NFSNFS 不可用NA NANA
SMB 3.0SMB 3.0 Yes “是”Yes
SAN (ISCSI)SAN (ISCSI) Yes “是”Yes
多路径 (MPIO)。Multi-path (MPIO). 测试时使用的对象:Tested with:
Microsoft DSM、EMC PowerPath 5.7 SP4、EMC PowerPath DSM for CLARiiONMicrosoft DSM, EMC PowerPath 5.7 SP4, EMC PowerPath DSM for CLARiiON
Yes “是”Yes

Hyper-V VM 来宾存储Hyper-V VM guest storage

存储Storage 使用 Virtual Machine Manager 的 Hyper-VHyper-V with Virtual Machine Manager 不使用 Virtual Machine Manager 的 Hyper-VHyper-V without Virtual Machine Manager
VMDKVMDK 不可用NA 不可用NA
VHD/VHDXVHD/VHDX Yes “是”Yes
第 2 代 VMGeneration 2 VM Yes Yes
EFI/UEFIEFI/UEFI
Azure 中迁移的 VM 将自动转换为 BIOS 启动 VM。The migrated VM in Azure will be automatically converted to a BIOS boot VM. 该 VM 应仅运行 Windows Server 2012 及更高版本。The VM should be running Windows Server 2012 and later only. OS 磁盘应该最多有五个分区或更少,OS 磁盘的大小应该小于 300 GB。The OS disk should have up to five partitions or fewer and the size of OS disk should be less than 300 GB.
Yes “是”Yes
共享群集磁盘Shared cluster disk No No
加密磁盘Encrypted disk No No
NFSNFS 不可用NA NANA
SMB 3.0SMB 3.0 No No
RDMRDM 不可用NA 不可用NA
磁盘 > 1 TBDisk >1 TB 是,最大 4,095 GBYes, up to 4,095 GB 是,最大 4,095 GBYes, up to 4,095 GB
磁盘:4K 逻辑和物理扇区Disk: 4K logical and physical sector 不支持:Gen 1/Gen 2Not supported: Gen 1/Gen 2 不支持:Gen 1/Gen 2Not supported: Gen 1/Gen 2
磁盘:4K 逻辑扇区和 512 字节物理扇区Disk: 4K logical and 512-bytes physical sector Yes “是”Yes
逻辑卷管理 (LVM)。Logical volume management (LVM). 仅数据磁盘支持 LVM。LVM is supported on data disks only. Azure 仅提供单个 OS 磁盘。Azure provides only a single OS disk. Yes “是”Yes
包含条带化磁盘的卷 > 1 TBVolume with striped disk >1 TB Yes “是”Yes
存储空间Storage Spaces No No
热添加/移除磁盘Hot add/remove disk No No
排除磁盘Exclude disk Yes “是”Yes
多路径 (MPIO)Multi-path (MPIO) Yes “是”Yes

Azure 存储Azure Storage

组件Component 使用 Virtual Machine Manager 的 Hyper-VHyper-V with Virtual Machine Manager 不使用 Virtual Machine Manager 的 Hyper-VHyper-V without Virtual Machine Manager
本地冗余存储Locally redundant storage Yes “是”Yes
异地冗余存储Geo-redundant storage Yes “是”Yes
读取访问异地冗余存储Read-access geo-redundant storage Yes “是”Yes
冷存储Cool storage No No
热存储Hot storage No No
块 BlobBlock blobs No No
静态加密 (SSE)Encryption at rest (SSE) Yes “是”Yes
静态加密 (CMK)Encryption at rest (CMK)
(仅用于故障转移到托管磁盘)(Only for failover to managed disks)
是(通过 PowerShell Az 3.3.0 及更高版本模块)Yes (via PowerShell Az 3.3.0 module onwards) 是(通过 PowerShell Az 3.3.0 及更高版本模块)Yes (via PowerShell Az 3.3.0 module onwards)
高级存储Premium storage Yes “是”Yes
标准存储Standard storage “是”Yes Yes
导入/导出服务Import/Export service No No
启用了防火墙的 Azure 存储帐户Azure Storage accounts with firewall enabled 是的。Yes. 适用于目标存储和缓存。For target storage and cache. 是的。Yes. 适用于目标存储和缓存。For target storage and cache.
修改存储帐户Modify storage account 否。No. 启用复制后,无法修改目标 Azure 存储帐户。The target Azure Storage account can't be modified after enabling replication. 若要修改,请禁用然后重新启用灾难恢复。To modify, disable and then re-enable disaster recovery. No

Azure 计算功能Azure compute features

功能Feature 使用 Virtual Machine Manager 的 Hyper-VHyper-V with Virtual Machine Manager 不使用 Virtual Machine Manager 的 Hyper-VHyper-V without Virtual Machine Manager
可用性集Availability sets Yes “是”Yes
HUBHUB Yes “是”Yes
托管磁盘Managed disks 是,用于故障转移。Yes, for failover.

不支持托管磁盘的故障回复。Failback of managed disks isn't supported.
是,用于故障转移。Yes, for failover.

不支持托管磁盘的故障回复。Failback of managed disks isn't supported.

Azure VM 要求Azure VM requirements

复制到 Azure 的本地 VM 必须满足此表中汇总的 Azure VM 要求。On-premises VMs that you replicate to Azure must meet the Azure VM requirements summarized in this table.

组件Component 要求Requirements 详细信息Details
来宾操作系统Guest operating system Site Recovery 支持 Azure 支持的所有操作系统。Site Recovery supports all operating systems that are supported by Azure. 如果不支持,先决条件检查会失败。Prerequisites check fails if unsupported.
来宾操作系统体系结构Guest operating system architecture 32 位 (Windows Server 2008)/64 位32-bit (Windows Server 2008)/64-bit 如果不支持,先决条件检查会失败。Prerequisites check fails if unsupported.
操作系统磁盘大小Operating system disk size 第 1 代 VM 最大 2,048 GB。Up to 2,048 GB for generation 1 VMs.

第 2 代 VM 最大 300 GB。Up to 300 GB for generation 2 VMs.
如果不支持,先决条件检查会失败。Prerequisites check fails if unsupported.
操作系统磁盘计数Operating system disk count 11 如果不支持,先决条件检查会失败。Prerequisites check fails if unsupported.
数据磁盘计数Data disk count 16 个或更少16 or less 如果不支持,先决条件检查会失败。Prerequisites check fails if unsupported.
数据磁盘 VHD 大小Data disk VHD size 最大 4,095 GBUp to 4,095 GB 如果不支持,先决条件检查会失败。Prerequisites check fails if unsupported.
网络适配器Network adapters 支持多个适配器Multiple adapters are supported
共享 VHDShared VHD 不支持Not supported 如果不支持,先决条件检查会失败。Prerequisites check fails if unsupported.
FC 磁盘FC disk 不支持Not supported 如果不支持,先决条件检查会失败。Prerequisites check fails if unsupported.
硬盘格式Hard disk format VHDVHD

VHDXVHDX
故障转移到 Azure 时,Site Recovery 自动将 VHDX 转换为 VHD。Site Recovery automatically converts VHDX to VHD when you fail over to Azure. 故障回复到本地时,虚拟机将继续使用 VHDX 格式。When you fail back to on-premises, the virtual machines continue to use the VHDX format.
BitLockerBitLocker 不支持Not supported 为 VM 启用复制之前,必须先禁用 BitLocker。BitLocker must be disabled before you enable replication for a VM.
VM 名称VM name 介于 1 和 63 个字符之间。Between 1 and 63 characters. 限制为字母、数字和连字符。Restricted to letters, numbers, and hyphens. VM 名称必须以字母或数字开头和结尾。The VM name must start and end with a letter or number. 在 Site Recovery 中更新 VM 属性中的值。Update the value in the VM properties in Site Recovery.
VM 类型VM type 第 1 代Generation 1

第 2 代 - WindowsGeneration 2--Windows
OS 磁盘类型为“基本”的第 2 代 VM(其中包括一个或两个格式化为 VHDX 的数据卷),并且支持的磁盘空间大小小于 300 GB。Generation 2 VMs with an OS disk type of basic (which includes one or two data volumes formatted as VHDX) and less than 300 GB of disk space are supported.
不支持 Linux 第 2 代 VM。Linux Generation 2 VMs aren't supported. 了解详细信息Learn more.

恢复服务保管库操作Recovery Services vault actions

操作Action Hyper-V(有 VMM)Hyper-V with VMM 不包含 VMM 的 Hyper-VHyper-V without VMM
跨资源组移动保管库Move vault across resource groups

订阅内和跨订阅移动Within and across subscriptions
No No
跨资源组移动存储、网络和 Azure VMMove storage, network, Azure VMs across resource groups

订阅内和跨订阅移动Within and across subscriptions
No No

备注

将 Hyper-VM 从本地复制到 Azure 时,只能从一个特定环境(Hyper-V 站点或使用 VMM 的 Hyper-V)复制到一个 AD 租户(如果适用)。When replicating Hyper-VMs from on-premises to Azure, you can replicate to only one AD tenant from one specific environment - Hyper-V site or Hyper-V with VMM as applicable.

提供程序和代理Provider and agent

若要确保部署与本文的设置兼容,请确保运行的是最新的提供程序和代理版本。To make sure your deployment is compatible with settings in this article, make sure you're running the latest provider and agent versions.

名称Name 说明Description 详细信息Details
Azure Site Recovery 提供程序Azure Site Recovery provider 协调本地服务器与 Azure 之间的通信Coordinates communications between on-premises servers and Azure

使用 Virtual Machine Manager 的 Hyper-V:安装在 Virtual Machine Manager 服务器上Hyper-V with Virtual Machine Manager: Installed on Virtual Machine Manager servers

不使用 Virtual Machine Manager 的 Hyper-V:安装在 Hyper-V 主机上Hyper-V without Virtual Machine Manager: Installed on Hyper-V hosts
最新版本:5.1.2700.1(可从 Azure 门户获得)Latest version: 5.1.2700.1 (available from the Azure portal)

最新功能和修复Latest features and fixes
Azure 恢复服务代理Azure Recovery Services agent 协调 Hyper-V VM 与 Azure 之间的复制Coordinates replication between Hyper-V VMs and Azure

在本地 Hyper-V 服务器(使用或不使用 Virtual Machine Manager)上安装Installed on on-premises Hyper-V servers (with or without Virtual Machine Manager)
可从门户获取最新代理Latest agent available from the portal

后续步骤Next steps

了解如何为本地 Hyper-V VM 的灾难恢复准备 AzureLearn how to prepare Azure for disaster recovery of on-premises Hyper-V VMs.