对在 Azure 区域之间移动 Azure VM 的支持Support for moving Azure VMs between Azure regions

本文汇总了使用资源转移器在 Azure 区域之间移动虚拟机和相关网络资源时的支持和先决条件。This article summarizes support and prerequisites when you move virtual machines and related network resources across Azure regions using Resource Mover.

重要

Azure 资源转移器目前提供预览版。Azure Resource Mover is currently in preview.

Windows VM 支持Windows VM support

资源转移器支持运行以下 Windows 操作系统的 Azure VM。Resource Mover supports Azure VMs running these Windows operating systems.

操作系统Operating system 详细信息Details
Windows Server 2019Windows Server 2019 支持 Server Core、带桌面体验的服务器。Supported for Server Core, Server with Desktop Experience.
Windows Server 2016Windows Server 2016 支持 Server Core、带桌面体验的服务器。Supported Server Core, Server with Desktop Experience.
Windows Server 2012 R2Windows Server 2012 R2 支持。Supported.
Windows Server 2012Windows Server 2012 支持。Supported.
Windows Server 2008 R2 SP1/SP2Windows Server 2008 R2 with SP1/SP2 Supported.

对于运行 Windows Server 2008 R2 SP1/SP2 的计算机,你需要安装 Windows 维护堆栈更新 (SSU)SHA-2 更新For machines running Windows Server 2008 R2 with SP1/SP2, you need to install a Windows servicing stack update (SSU) and SHA-2 update. 从 2019 年 9 月开始不再支持 SHA-1,如果未启用 SHA-2 代码签名,则无法按预期方式安装/升级代理扩展。SHA-1 isn't supported from September 2019, and if SHA-2 code signing isn't enabled the agent extension won't install/upgrade as expected. 详细了解 SHA-2 升级和要求Learn more about SHA-2 upgrade and requirements.
Windows 10 (x64)Windows 10 (x64) 支持。Supported.
Windows 8.1 (x64)Windows 8.1 (x64) 支持。Supported.
Windows 8 (x64)Windows 8 (x64) 支持。Supported.
Windows 7 (x64) SP1 和更高版本Windows 7 (x64) with SP1 onwards 在运行 Windows 7 SP1 的计算机上安装 Windows 维护堆栈更新 (SSU)SHA-2 更新Install a Windows servicing stack update (SSU) and SHA-2 update on machines running Windows 7 with SP1. 从 2019 年 9 月起,不再支持 SHA-1。如果未启用 SHA-2 代码签名,则“准备”步骤不会成功。SHA-1 isn't supported from September 2019, and if SHA-2 code signing isn't enabled the 'prepare' step will not succeed. 详细了解 SHA-2 升级和要求Learn more about SHA-2 upgrade and requirements.

Linux VM 支持Linux VM support

资源转移器支持运行以下 Linux 操作系统的 Azure VM。Resource Move supports Azure VMs running these Linux operating systems.

操作系统Operating system 详细信息Details
Red Hat Enterprise LinuxRed Hat Enterprise Linux 6.7、6.8、6.9、6.10、7.0、7.1、7.2、7.3、7.4、7.5、7.6、7.78.0、8.16.7, 6.8, 6.9, 6.10, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.6,7.7, 8.0, 8.1
CentOSCentOS 6.5、6.6、6.7、6.8、6.9、6.10、7.0、7.1、7.2、7.3、7.4、7.5、7.6、7.7、8.0、8.16.5, 6.6, 6.7, 6.8, 6.9, 6.10, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.6, 7.7, 8.0, 8.1
Ubuntu 14.04 LTS ServerUbuntu 14.04 LTS Server 受支持的内核版本Supported kernel versions
Ubuntu 16.04 LTS ServerUbuntu 16.04 LTS Server 受支持的内核版本Supported kernel version

使用基于密码的身份验证和登录的 Ubuntu 服务器以及用于配置云 VM 的 cloud-init 包可能会在故障转移时禁用基于密码的登录(具体取决于 cloud-init 配置)。Ubuntu servers using password-based authentication and sign-in, and the cloud-init package to configure cloud VMs, might have password-based sign-in disabled on failover (depending on the cloud-init configuration). 通过从 Azure 门户中的故障转移 VM 的“支持”>“故障排除”>“设置”菜单重置密码,可以在虚拟机上重新启用基于密码的登录。Password-based sign-in can be reenabled on the virtual machine by resetting the password from the Support > Troubleshooting > Settings menu (of the failed over VM in the Azure portal.
Ubuntu 18.04 LTS ServerUbuntu 18.04 LTS Server 受支持的内核版本Supported kernel version.
Debian 7Debian 7 受支持的内核版本Supported kernel versions.
Debian 8Debian 8 受支持的内核版本Supported kernel versions.
SUSE Linux Enterprise Server 12SUSE Linux Enterprise Server 12 SP1、SP2、SP3、SP4。SP1, SP2, SP3, SP4. 受支持的内核版本Supported kernel versions
SUSE Linux Enterprise Server 15SUSE Linux Enterprise Server 15 15 和 15 SP1。15 and 15 SP1. (受支持的内核版本)(Supported kernel versions)
SUSE Linux Enterprise Server 11SUSE Linux Enterprise Server 11 SP3SP3
SUSE Linux Enterprise Server 11SUSE Linux Enterprise Server 11 SP4SP4
Oracle LinuxOracle Linux 6.4、6.5、6.6、6.7、6.8、6.9、6.10、7.0、7.1、7.2、7.3、7.4、7.5、7.6、7.76.4, 6.5, 6.6, 6.7, 6.8, 6.9, 6.10, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.6, 7.7

运行 Red Hat 兼容内核或 Unbreakable Enterprise Kernel Release 3、4 和 5(UEK3、UEK4、UEK5)Running the Red Hat compatible kernel or Unbreakable Enterprise Kernel Release 3, 4 & 5 (UEK3, UEK4, UEK5)

受支持的 Ubuntu 内核版本Supported Ubuntu kernel versions

发布Release 内核版本Kernel version
14.04 LTS14.04 LTS 3.13.0-24-generic 到 3.13.0-170-generic、3.13.0-24-generic to 3.13.0-170-generic,
3.16.0-25-generic 到 3.16.0-77-generic、3.16.0-25-generic to 3.16.0-77-generic,
3.19.0-18-generic 到 3.19.0-80-generic、3.19.0-18-generic to 3.19.0-80-generic,
4.2.0-18-generic 到 4.2.0-42-generic、4.2.0-18-generic to 4.2.0-42-generic,
4.4.0-21-generic 到 4.4.0-148-generic、4.4.0-21-generic to 4.4.0-148-generic,
4.15.0-1023-azure 到 4.15.0-1045-azure4.15.0-1023-azure to 4.15.0-1045-azure
16.04 LTS16.04 LTS 4.4.0-21-generic 到 4.4.0-171-generic、4.4.0-21-generic to 4.4.0-171-generic,
4.8.0-34-generic 到 4.8.0-58-generic、4.8.0-34-generic to 4.8.0-58-generic,
4.10.0-14-generic 到 4.10.0-42-generic、4.10.0-14-generic to 4.10.0-42-generic,
4.11.0-13-generic 到 4.11.0-14-generic、4.11.0-13-generic to 4.11.0-14-generic,
4.13.0-16-generic 到 4.13.0-45-generic、4.13.0-16-generic to 4.13.0-45-generic,
4.15.0-13-generic 到 4.15.0-74-generic4.15.0-13-generic to 4.15.0-74-generic
4.11.0-1009-azure 到 4.11.0-1016-azure、4.11.0-1009-azure to 4.11.0-1016-azure,
4.13.0-1005-azure 到 4.13.0-1018-azure4.13.0-1005-azure to 4.13.0-1018-azure
4.15.0-1012-azure 到 4.15.0-1066-azure4.15.0-1012-azure to 4.15.0-1066-azure
18.04 LTS18.04 LTS 4.15.0-20-generic 到 4.15.0-74-generic4.15.0-20-generic to 4.15.0-74-generic
4.18.0-13-generic 到 4.18.0-25-generic4.18.0-13-generic to 4.18.0-25-generic
5.0.0-15-generic 到 5.0.0-37-generic5.0.0-15-generic to 5.0.0-37-generic
5.3.0-19-generic 到 5.3.0-24-generic5.3.0-19-generic to 5.3.0-24-generic
4.15.0-1009-azure 到 4.15.0-1037-azure4.15.0-1009-azure to 4.15.0-1037-azure
4.18.0-1006-azure 到 4.18.0-1025-azure4.18.0-1006-azure to 4.18.0-1025-azure
5.0.0-1012-azure 到 5.0.0-1028-azure5.0.0-1012-azure to 5.0.0-1028-azure
5.3.0-1007-azure 到 5.3.0-1009-azure5.3.0-1007-azure to 5.3.0-1009-azure

受支持的 Debian 内核版本Supported Debian kernel versions

发布Release 内核版本Kernel version
Debian 7Debian 7 3.2.0-4-amd64 到 3.2.0-6-amd64、3.16.0-0.bpo.4-amd643.2.0-4-amd64 to 3.2.0-6-amd64, 3.16.0-0.bpo.4-amd64
Debian 8Debian 8 3.16.0-4-amd64 到 3.16.0-10-amd64、4.9.0-0.bpo.4-amd64 到 4.9.0-0.bpo.11-amd643.16.0-4-amd64 to 3.16.0-10-amd64, 4.9.0-0.bpo.4-amd64 to 4.9.0-0.bpo.11-amd64
Debian 8Debian 8 3.16.0-4-amd64 到 3.16.0-10-amd64,4.9.0-0.bpo.4-amd64 到 4.9.0-0.bpo.9-amd643.16.0-4-amd64 to 3.16.0-10-amd64, 4.9.0-0.bpo.4-amd64 to 4.9.0-0.bpo.9-amd64

受支持的 SUSE Linux Enterprise Server 12 内核版本Supported SUSE Linux Enterprise Server 12 kernel versions

发布Release 内核版本Kernel version
SUSE Linux Enterprise Server 12(SP1、SP2、SP3、SP4)SUSE Linux Enterprise Server 12 (SP1, SP2, SP3, SP4) 支持所有库存 SUSE 12 SP1、SP2、SP3、SP4 内核All stock SUSE 12 SP1,SP2,SP3,SP4 kernels are supported.

4.4.138-4.7-azure 到 4.4.180-4.31-azure、4.4.138-4.7-azure to 4.4.180-4.31-azure,
4.12.14-6.3-azure 到 4.12.14-6.34-azure4.12.14-6.3-azure to 4.12.14-6.34-azure

受支持的 SUSE Linux Enterprise Server 15 内核版本Supported SUSE Linux Enterprise Server 15 kernel versions

发布Release 内核版本Kernel version
SUSE Linux Enterprise Server 15 和 15 SP1SUSE Linux Enterprise Server 15 and 15 SP1 支持所有库存 SUSE 15 和 15 SP1 内核。All stock SUSE 15 and 15 kernels are supported.

4.12.14-5.5-azure 到 4.12.14-8.22-azure4.12.14-5.5-azure to 4.12.14-8.22-azure

受支持的 Linux 文件系统/来宾存储Supported Linux file system/guest storage

  • 文件系统:ext3、ext4、XFS、BTRFSFile systems: ext3, ext4, XFS, BTRFS
  • 卷管理器:LVM2Volume manager: LVM2
  • 多路径软件:设备映射器Multipath software: Device Mapper

受支持的 VM 计算设置Supported VM compute settings

设置Setting 支持Support 详细信息Details
大小Size 至少有 2 个 CPU 核心和 1-GB RAM 的任意 Azure VM 大小Any Azure VM size with at least two CPU cores and 1-GB RAM 验证 Azure 虚拟机大小Verify Azure virtual machine sizes.
可用性集Availability sets 支持Supported Supported.
可用性区域Availability zones 支持Supported 支持,具体取决于目标区域支持。Supported, depending on target region support.
Azure 库映像(由 Microsoft 发布)Azure gallery images (published by Microsoft) 支持Supported 如果 VM 在受支持的操作系统上运行,则支持该配置。Supported if the VM runs on a supported operating system.
Azure 库映像(由第三方发布)Azure Gallery images (published by third party) 支持Supported 如果 VM 在受支持的操作系统上运行,则支持该配置。Supported if the VM runs on a supported operating system.
自定义映像(由第三方发布)Custom images (published by third party) 支持Supported 如果 VM 在受支持的操作系统上运行,则支持该配置。Supported if the VM runs on a supported operating system.
使用 Site Recovery 的 VMVMs using Site Recovery 不支持Not supported 在后端使用 Site Recovery 在区域之间移动 VM 的资源。Move resources across regions for VMs, using Site Recovery on the backend. 如果你已在使用 Site Recovery,请禁用复制,然后启动“准备”过程。If you're already using Site Recovery, disable replication, and then start the Prepare process.
Azure RBAC 策略Azure RBAC policies 不支持Not supported VM 上的 Azure 基于角色的访问控制 (Azure RBAC) 策略不会复制到目标区域中的 VM。Azure role-based access control (Azure RBAC) policies on VMs aren't copied over to the VM in target region.
扩展Extensions 不支持Not supported 扩展不会复制到目标区域中的 VM。Extensions aren't copied over to the VM in target region. 在移动完成后,请手动安装它们。Install them manually after the move is complete.

支持的 VM 存储设置Supported VM storage settings

此表汇总了对 Azure VM OS 磁盘、数据磁盘和临时磁盘的支持。This table summarized support for the Azure VM OS disk, data disk, and temporary disk. 请务必遵循托管磁盘的 VM 磁盘限制以及目标,以避免任何性能问题。It's important to observe the VM disk limits and targets for managed disks to avoid any performance issues.

备注

目标 VM 大小应当等于或大于源 VM 大小。The target VM size should be equal to or larger than the source VM. 用于验证的参数有:数据磁盘计数、NIC 计数、可用 CPU 数、内存大小 (GB)。The parameters used for validation are: Data Disks Count, NICs count, Available CPUs, Memory in GB. 如果不是,则会发出错误。If it isn't a error is issued.

组件Component 支持Support 详细信息Details
OS 磁盘的最大大小OS disk maximum size 2048 GB2048 GB 深入了解 VM 磁盘相关信息。Learn more about VM disks.
临时磁盘Temporary disk 不支持Not supported 准备过程中始终会排除临时磁盘。The temporary disk is always excluded from the prepare process.

请勿在临时磁盘上存储任何持久性数据。Don't store any persistent data on the temporary disk. 了解详细信息Learn more.
数据磁盘的最大大小Data disk maximum size 托管磁盘为 8192 GB8192 GB for managed disks
数据磁盘最小大小Data disk minimum size 托管磁盘为 2 GB2 GB for managed disks
数据磁盘的最大数量Data disk maximum number 最多为 64,根据对特定的 Azure VM 大小的支持而定Up to 64, in accordance with support for a specific Azure VM size 深入了解 VM 大小相关信息。Learn more about VM sizes.
数据磁盘更改率Data disk change rate 每个高级存储的磁盘最大为 10 MBps。Maximum of 10 MBps per disk for premium storage. 每个标准存储的磁盘最大为 2 MBps。Maximum of 2 MBps per disk for Standard storage. 如果磁盘上的平均数据更改率持续高于最大值,则准备过程会跟不上。If the average data change rate on the disk is continuously higher than the maximum, the preparation won't catch up.

但是,如果偶尔超出最大值,则准备过程可以跟上,但可能会看到稍有延迟的恢复点。However, if the maximum is exceeded sporadically, preparation can catch up, but you might see slightly delayed recovery points.
数据磁盘(标准存储帐户)Data disk (Standard storage account) 不支持。Not supported. 将存储类型更改为托管磁盘,然后尝试移动 VM。Change the storage type to managed disk, and then try moving the VM.
数据磁盘(高级存储帐户)Data disk (Premium storage account) 不支持Not supported 将存储类型更改为托管磁盘,然后尝试移动 VM。Change the storage type to managed disk, and then try moving the VM.
托管磁盘(标准)Managed disk (Standard) 支持Supported
托管磁盘(高级)Managed disk (Premium) 支持Supported
标准 SSDStandard SSD 支持Supported
第 2 代(UEFI 启动)Generation 2 (UEFI boot) 支持Supported
启动诊断存储帐户Boot diagnostics storage account 不支持Not supported 将 VM 移动到目标区域后,重新启用它。Reenable it after moving the VM to the target region.
启用了 Azure 磁盘加密的 VMVMs with Azure disk encryption enabled 支持Supported 了解详细信息Learn more
VM 使用客户托管密钥的服务器端加密VMs using server-side encryption with customer-managed key 支持Supported 了解详细信息Learn more

限制和数据更改率Limits and data change rates

下表汇总了基于我们的测试的限制。The following table summarizes limits that based on our tests. 这并未涵盖所有可能的应用程序 I/O 组合。These don't cover all possible application I/O combinations. 实际结果因应用程序 I/O 组合而异。Actual results vary based on your application I/O mix. 有两个限制需要考虑:每个磁盘的数据变动率,以及每个 VM 的数据变动率。There are two limits to consider, per disk data churn, and per VM data churn.

存储目标Storage target 平均源磁盘 I/OAverage source disk I/O 平均源磁盘数据变动量Average source disk data churn 每天的总源磁盘数据变动量Total source disk data churn per day
标准存储Standard storage 8 KB8 KB 2 MB/秒2 MB/s 每个磁盘 168 GB168 GB per disk
高级 P10 或 P15 磁盘Premium P10 or P15 disk 8 KB8 KB 2 MB/秒2 MB/s 每个磁盘 168 GB168 GB per disk
高级 P10 或 P15 磁盘Premium P10 or P15 disk 16 KB16 KB 4 MB/秒4 MB/s 每个磁盘 336 GB336 GB per disk
高级 P10 或 P15 磁盘Premium P10 or P15 disk 至少 32 KB32 KB or greater 8 MB/秒8 MB/s 每个磁盘 672 GB672 GB per disk
高级 P20、P30、P40 或 P50 磁盘Premium P20 or P30 or P40 or P50 disk 8 KB8 KB 5 MB/秒5 MB/s 每个磁盘 421 GB421 GB per disk
高级 P20、P30、P40 或 P50 磁盘Premium P20 or P30 or P40 or P50 disk 至少 16 KB16 KB or greater 20 MB/秒20 MB/s 每个磁盘 1684 GB1684 GB per disk

支持的 VM 网络设置Supported VM networking settings

设置Setting 支持Support 详细信息Details
NICNIC 支持Supported 指定目标区域中的一个现有资源,或者在准备过程中创建一个新资源。Specify an existing resource in the target region, or create a new resource during the Prepare process.
内部负载均衡器Internal load balancer 支持Supported 指定目标区域中的一个现有资源,或者在准备过程中创建一个新资源。Specify an existing resource in the target region, or create a new resource during the Prepare process.
公共负载均衡器Public load balancer 支持Supported 指定目标区域中的一个现有资源,或者在准备过程中创建一个新资源。Specify an existing resource in the target region, or create a new resource during the Prepare process.
公共 IP 地址Public IP address 支持Supported 指定目标区域中的一个现有资源,或者在准备过程中创建一个新资源。Specify an existing resource in the target region, or create a new resource during the Prepare process.

公共 IP 地址是特定于区域的,在移动后不会保留在目标区域中。The public IP address is region-specific, and won't be retained in the target region after the move. 修改目标位置中的网络设置(包括负载均衡规则)时,请记住这一点。Keep this in mind when you modify networking settings (including load balancing rules) in the target location.
网络安全组Network security group 支持Supported 指定目标区域中的一个现有资源,或者在准备过程中创建一个新资源。Specify an existing resource in the target region, or create a new resource during the Prepare process.
保留(静态)IP 地址Reserved (static) IP address 支持Supported 目前无法配置此项。You can't currently configure this. 该值默认为源值。The value defaults to the source value.

如果源 VM 上的 NIC 具有静态 IP 地址,并且目标子网具有相同的可用 IP 地址,则会将它分配给目标 VM。If the NIC on the source VM has a static IP address, and the target subnet has the same IP address available, it's assigned to the target VM.

如果目标子网没有相同的 IP 地址可用,则针对 VM 启动移动操作会失败。If the target subnet doesn't have the same IP address available, the initiate move for the VM will fail.
动态 IP 地址Dynamic IP address 支持Supported 目前无法配置此项。You can't currently configure this. 该值默认为源值。The value defaults to the source value.

如果源上的 NIC 具有动态 IP 地址,则目标 VM 上的 NIC 也默认为动态的。If the NIC on the source has dynamic IP addressing, the NIC on the target VM is also dynamic by default.
IP 配置IP configurations 支持Supported 目前无法配置此项。You can't currently configure this. 该值默认为源值。The value defaults to the source value.

出站访问要求Outbound access requirements

你要移动的 Azure VM 需要出站访问权限。Azure VMs that you want to move need outbound access.

URL 访问URL access

如果使用基于 URL 的防火墙代理来控制出站连接,请允许访问以下 URL:If you're using a URL-based firewall proxy to control outbound connectivity, allow access to these URLs:

名称Name Azure 中国云Azure China cloud 详细信息Details
存储Storage *.blob.core.chinacloudapi.cn 允许将数据从 VM 写入源区域中的缓存存储帐户。Allows data to be written from the VM to the cache storage account in the source region.
Azure Active DirectoryAzure Active Directory login.partner.microsoftonline.cn 向 Site Recovery 服务 URL 提供授权和身份验证。Provides authorization and authentication to Site Recovery service URLs.
复制Replication *.hypervrecoverymanager.windowsazure.cn 允许 VM 与 Site Recovery 服务进行通信。Allows the VM to communicate with the Site Recovery service.
服务总线Service Bus *.servicebus.chinacloudapi.cn 允许 VM 写入 Site Recovery 监视和诊断数据。Allows the VM to write Site Recovery monitoring and diagnostics data.

NSG 规则NSG rules

如果使用网络安全组 (NSG) 规则来控制出站连接性,请创建这些服务标记规则。If you're using a network security group (NSG) rules to control outbound connectivity, create these service tag rules. 每个规则都应当允许基于 HTTPS (443) 的出站访问。Each rule should allow outbound access on HTTPS (443).

  • 为源区域创建一个存储标记规则。Create a Storage tag rule for the source region.
  • 创建一个 AzureSiteRecovery 标记规则,以允许访问任何区域中的 Site Recovery 服务。Create an AzureSiteRecovery tag rule, to allow access to the Site Recovery service in any region. 此标记依赖于以下其他标记,因此,你需要为这些标记创建规则:This tag has dependencies on these other tags, so you need to create rules for them to:
    • AzureActiveDirectoryAzureActiveDirectory
    • *EventHub*EventHub
    • AzureKeyVaultAzureKeyVault
    • GuestAndHybridManagementGuestAndHybridManagement
  • 建议你在非生产环境中测试规则。We recommend you test rules in a non-production environment. 查看一些示例Review some examples.

后续步骤Next steps

尝试使用资源转移器将 Azure VM 移动到另一个区域。Try moving an Azure VM to another region with Resource Mover.