您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

关于 Azure MigrateAbout Azure Migrate

Azure Migrate 服务会评估要迁移到 Azure 的本地工作负荷。The Azure Migrate service assesses on-premises workloads for migration to Azure. 该服务会评估是否适合迁移本地计算机,会根据性能进行大小调整,并会提供在 Azure 中运行本地计算机的成本估算。The service assesses the migration suitability of on-premises machines, performs performance-based sizing, and provides cost estimations for running on-premises machines in Azure. 如果打算进行直接迁移,或者处于迁移的早期评估阶段,则不妨选择此服务。If you're contemplating lift-and-shift migrations, or are in the early assessment stages of migration, this service is for you. 进行评估以后,即可使用 Azure Site RecoveryAzure 数据库迁移服务之类的服务将计算机迁移到 Azure。After the assessment, you can use services such as Azure Site Recovery and Azure Database Migration Service, to migrate the machines to Azure.

为何使用 Azure Migrate?Why use Azure Migrate?

Azure Migrate 有助于:Azure Migrate helps you to:

  • 评估 Azure 就绪性:评估本地计算机是否适合在 Azure 中运行。Assess Azure readiness: Assess whether your on-premises machines are suitable for running in Azure.
  • 获取大小建议:根据本地 VM 的性能历史记录来获取 Azure VM 的大小建议。Get size recommendations: Get size recommendations for Azure VMs based on the performance history of on-premises VMs.
  • 估算每月成本:获取在 Azure 中运行本地计算机的估算成本。Estimate monthly costs: Get estimated costs for running on-premises machines in Azure.
  • 充满信心地进行迁移:将本地计算机的依赖项可视化,创建将进行评估并一起迁移的计算机组。Migrate with high confidence: Visualize dependencies of on-premises machines to create groups of machines that you will assess and migrate together.

当前限制Current limitations

  • 只能评估要迁移到 Azure VM 的本地 VMware 虚拟机 (VM)。You can only assess on-premises VMware virtual machines (VMs) for migration to Azure VMs. VMware VM 必须通过 vCenter Server(5.5、6.0、6.5 或 6.7 版)进行管理。The VMware VMs must be managed by vCenter Server (version 5.5, 6.0, 6.5 or 6.7).

  • 对 Hyper-V 的支持当前处于预览版且提供生产支持;如果有兴趣试用一下,请在此处注册。Support for Hyper-V is currently in preview with production support, if you are interested in trying it out, please sign up here.

  • 要对物理服务器进行评估,可使用我们的合作伙伴工具For assessment of physical servers, you can leverage our partner tools.

  • 在单个发现和单个项目中最多可以发现 1500 个 VM。You can discover up to 1500 VMs in a single discovery and in a single project. 我们提供了预览版本,允许使用单个设备在单个项目中发现多达 10,000 个 VMware VM,如果你有兴趣尝试,请在此处注册。We have a preview release available that allows discovery of up to 10,000 VMware VMs in a single project using a single appliance, if you are interested in trying it out, please sign up here.

  • 若要发现更大的环境,可以拆分发现,然后创建多个项目。If you want to discover a larger environment, you can split the discovery and create multiple projects. 了解详细信息Learn more. Azure Migrate 最多允许每个订阅 20 个项目。Azure Migrate supports up to 20 projects per subscription.

  • Azure Migrate 仅支持使用托管磁盘进行迁移评估。Azure Migrate only supports managed disks for migration assessment.

  • 只能在以下地域创建 Azure Migrate 项目。You can only create an Azure Migrate project in the following geographies. 但是,这不会限制你为其他目标 Azure 位置创建评估。However, this does not restrict your ability to create assessments for other target Azure locations.

    地域Geography 存储位置Storage location
    Azure Government Azure Government 美国政府弗吉尼亚州US Gov Virginia
    亚洲Asia 东南亚或东亚Southeast Asia or East Asia
    欧洲Europe 欧洲北部或欧洲西部North Europe or West Europe
    美国United States 美国东部或美国中西部East US or West Central US

    与迁移项目关联的地域用于存储本地部署环境中发现的元数据。The geography associated with the migration project is used to store the metadata discovered from the on-premises environment. 根据为迁移项目指定的地域,元数据存储在其中某个区域中。Metadata is stored in one of the regions based on the geography specified for the migration project. 如果通过创建新的 Log Analytics 工作区来使用依赖关系可视化,则会在项目所在的区域中创建工作区。If you use dependency visualization by creating a new Log Analytics workspace, the workspace is created in the same region as the project.

  • 依赖项可视化功能在 Azure 政府中不可用。The dependency visualization functionality is not available in Azure Government.

需要支付哪些费用?What do I need to pay for?

详细了解 Azure Migrate 定价。Learn more about Azure Migrate pricing.

评估内容有哪些?What's in an assessment?

可以根据需要自定义评估设置。Assessment settings can be customized based on your needs. 下表汇总了评估属性。Assessment properties are summarized in the following table.

属性Property 详细信息Details
目标位置Target location 要迁移到的 Azure 位置。The Azure location to which you want to migrate.

Azure Migrate 当前支持 33 个区域作为迁移目标位置。Azure Migrate currently supports 33 regions as migration target locations. 查看区域Check regions. 默认情况下,目标区域设置为“美国东部”。By default, the target region is set to East US.
存储类型Storage type 要为作为评估一部分的所有 VM 分配的托管磁盘的类型。The type of managed disks you want to allocate for all VMs that are part of the assessment. 如果大小调整标准为“按本地大小调整”,则可以将目标磁盘类型指定为高级磁盘(默认值)、标准 SSD 磁盘或标准 HDD 磁盘。If the sizing criterion is as on-premises sizing you can specify the target disk type either as premium disks (the default), standard SSD disks or standard HDD disks. 对于基于性能的大小调整以及上述选项,还可以选择“自动”,这将确保根据 VM 的性能数据自动完成磁盘大小调整建议。For performance-based sizing, along with the above options, you also have the option to select Automatic which will ensure that the disk sizing recommendation is automatically done based on the performance data of the VMs. 例如,如果要实现 99.9% 的单实例 VM SLA,则可能需要将存储类型指定为高级托管磁盘,这将确保将评估中的所有磁盘建议为高级托管磁盘磁盘。For example, if you want to achieve a single instance VM SLA of 99.9%, you may want to specify the storage type as Premium managed disks which will ensure that all disks in the assessment will be recommended as Premium managed disks. 请注意,Azure Migrate 仅支持使用托管磁盘进行迁移评估。Note that Azure Migrate only supports managed disks for migration assessment.
预留实例Reserved Instances 是否在 Azure 中有预留实例Whether you have reserved instances in Azure. Azure Migrate 会进行相应的成本估算。Azure Migrate estimates the cost accordingly.
“大小调整”条件Sizing criterion 可以根据本地 VM 的性能历史记录(默认设置)进行大小调整,也可以按本地要求来进行,而不考虑性能历史记录。Sizing can be based on performance history of the on-premises VMs (the default), or as on-premises, without considering performance history.
性能历史记录Performance history 默认情况下,Azure Migrate 使用过去一天的性能历史记录来评估本地计算机的性能,百分位数为 95%。By default, Azure Migrate evaluates the performance of on-premises machines using performance history for the last day, with a 95% percentile value.
舒适因子Comfort factor Azure Migrate 在评估期间会考虑到缓冲(舒适因子)。Azure Migrate considers a buffer (comfort factor) during assessment. 该缓冲应用到 VM 的机器使用率数据(CPU、内存、磁盘和网络)上。This buffer is applied on top of machine utilization data for VMs (CPU, memory, disk, and network). 舒适因子考虑到季节性使用特点、短期性能历史记录,以及未来使用量可能会增加等问题。The comfort factor accounts for issues such as seasonal usage, short performance history, and likely increases in future usage.

例如,一个使用率为 20% 的 10 核 VM 通常相当于一个 2 核 VM。For example, a 10-core VM with 20% utilization normally results in a 2-core VM. 但是,如果舒适因子为 2.0x,则结果就变成一个 4 核 VM。However, with a comfort factor of 2.0x, the result is a 4-core VM instead. 默认的舒适设置为 1.3x。The default comfort setting is 1.3x.
VM 系列VM series 用于大小评估的 VM 系列。The VM series used for size estimations. 例如,如果不打算将生产环境迁移到 Azure 中的 A 系列 VM,可以从列表或系列中排除 A 系列。For example, if you have a production environment that you do not plan to migrate to A-series VMs in Azure, you can exclude A-series from the list or series. 大小调整仅取决于所选系列。Sizing is based on the selected series only.
货币Currency 计费货币。Billing currency. 默认为美元。Default is US dollars.
折扣 (%)Discount (%) 基于 Azure 套餐获得的任何特定订阅的折扣。Any subscription-specific discount you receive on top of the Azure offer. 默认设置是 0%。The default setting is 0%.
VM 运行时间VM uptime 如果 VM 不会在 Azure 中全天候运行,则可指定运行持续时间(每月的天数和每天的小时数),然后系统就会进行相应的成本估算。If your VMs are not going to be running 24x7 in Azure, you can specify the duration (number of days per month and number of hours per day) for which they would be running and the cost estimations will be done accordingly. 默认值为“每月 31 天和每天 24 小时”。The default value is 31 days per month and 24 hours per day.
Azure 产品/服务Azure offer 加入的 Azure 套餐The Azure offer you're enrolled to. Azure Migrate 会进行相应的成本估算。Azure Migrate estimates the cost accordingly.
Azure 混合权益Azure Hybrid Benefit 是否有软件保证,以及是否有资格享受带成本折扣的 Azure 混合权益Whether you have software assurance and are eligible for Azure Hybrid Benefit with discounted costs.

Azure Migrate 工作原理How does Azure Migrate work?

  1. 创建 Azure Migrate 项目。You create an Azure Migrate project.

  2. Azure Migrate 使用名为“收集器设备”的本地 VM 来发现有关本地计算机的信息。Azure Migrate uses an on-premises VM called the collector appliance, to discover information about your on-premises machines. 若要创建该设备,请以开放虚拟化设备 (.ova) 格式下载安装程序文件,然后将其作为 VM 导入到本地 vCenter Server。To create the appliance, you download a setup file in Open Virtualization Appliance (.ova) format, and import it as a VM on your on-premises vCenter Server.

  3. 请从 vCenter Server 连接到 VM,并在连接时为其指定新密码。You connect to the VM from the vCenter Server, and specify a new password for it while connecting.

  4. 在要启动发现的 VM 上运行收集器。You run the collector on the VM to initiate discovery.

  5. 收集器使用 VMware PowerCLI cmdlet 收集 VM 元数据。The collector collects VM metadata using the VMware PowerCLI cmdlets. 发现是无代理发现,且不在 VMware 主机或 VM 上安装任何内容。Discovery is agentless, and doesn't install anything on VMware hosts or VMs. 收集的元数据包括 VM 信息(核心、内存、磁盘、磁盘大小、网络适配器)。The collected metadata includes VM information (cores, memory, disks, disk sizes, and network adapters). 此外还收集 VM 的性能数据,包括 CPU 和内存使用情况、磁盘 IOPS、磁盘吞吐量 (MBps)、网络输出 (MBps)。It also collects performance data for VMs, including CPU and memory usage, disk IOPS, disk throughput (MBps), and network output (MBps).

  6. 元数据推送到 Azure Migrate 项目,The metadata is pushed to the Azure Migrate project. 可以在 Azure 门户中查看。You can view it in the Azure portal.

  7. 将发现的 VM 按组收集,以便进行评估。For the purposes of assessment, you gather the discovered VMs into groups. 例如,可以将运行同一应用程序的 VM 作为一组。For example, you might group VMs that run the same application. 若要进行更精确的分组,还可以使用依赖关系可视化来查看特定计算机的依赖关系,或者查看一个组中所有计算机的依赖关系,然后对组进行优化。For more precise grouping, you can use dependency visualization to view dependencies of a specific machine, or for all machines in a group and refine the group.

  8. 定义某个组以后,请为其创建评估。After a group is defined, you create an assessment for it.

  9. 评估完成以后,可以在门户中查看,也可以通过 Excel 格式来下载。After the assessment finishes, you can view it in the portal, or download it in Excel format.

    Azure Migrate 体系结构

有哪些端口要求?What are the port requirements?

下表汇总了进行 Azure Migrate 通信所需的端口。The table summarizes the ports needed for Azure Migrate communications.

组件Component 通信对象Communicates with 详细信息Details
收集器Collector Azure Migrate 服务Azure Migrate service 连接器通过 SSL 端口 443 连接到服务。The collector connects to the service over SSL port 443.
收集器Collector vCenter ServervCenter Server 默认情况下,收集器在端口 443 上连接到 vCenter Server。By default the collector connects to the vCenter Server on port 443. 如果服务器在另一端口上侦听,请在收集器 VM 上将其配置为传出端口。If the server listens on a different port, configure it as an outgoing port on the collector VM.
本地 VMOn-premises VM Log Analytics 工作区Log Analytics Workspace Microsoft Monitoring Agent (MMA) 使用 TCP 端口 443 连接到 Azure Monitor 日志。The Microsoft Monitoring Agent (MMA) uses TCP port 443 to connect to Azure Monitor logs. 只有在使用需要 MMA 代理的依赖关系可视化功能时,才需要此端口。You only need this port if you're using dependency visualization, that requires the MMA agent.

评估后会发生什么情况?What happens after assessment?

评估本地计算机以后,即可使用多种工具进行迁移:After you've assessed on-premises machines, you can use a couple of tools to perform the migration:

  • Azure Site Recovery:可以使用 Azure Site Recovery 迁移到 Azure。Azure Site Recovery: You can use Azure Site Recovery to migrate to Azure. 为此,请根据需要准备 Azure 组件,包括存储帐户和虚拟网络。To do this, you prepare the Azure components you need, including a storage account and virtual network. 在本地,请准备 VMware 环境On-premises, you prepare your VMware environment. 一切准备好以后,请设置并启用目标为 Azure 的复制,然后迁移 VM。When everything's prepared, you set up and enable replication to Azure, and migrate the VMs. 了解详细信息Learn more.
  • Azure 数据库迁移:如果本地计算机在运行 SQL Server、MySQL 或 Oracle 之类的数据库,则可使用 Azure 数据库迁移服务将其迁移到 Azure。Azure Database Migration: If on-premises machines are running a database such as SQL Server, MySQL, or Oracle, you can use the Azure Database Migration Service to migrate them to Azure.

想要从社区专家处了解更多内容?Want to learn more from community experts?

请访问 Azure Migrate MSDN 论坛Stack OverflowVisit the Azure Migrate MSDN forum or Stack Overflow

需要帮助?Need help? 请联系我们。Contact us.

如有任何疑问或需要帮助,请创建支持请求If you have questions or need help, create a support request. 如果支持请求要求深入的技术指南,请访问 Azure 支持计划If your support request requires deep technical guidance, please visit Azure Support Plans

后续步骤Next steps