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

评估本地工作负荷是否适合迁移到 AzureAssess on-premises workloads for migration to Azure

本文介绍了虚构公司 Contoso 如何评估要迁移到 Azure 的本地应用程序。This article shows how the fictional company Contoso assesses an on-premises app for migration to Azure. 在示例方案中,Contoso 的本地 SmartHotel360 应用程序当前在 VMware 上运行。In the example scenario, Contoso's on-premises SmartHotel360 application currently runs on VMware. Contoso 使用 Azure Migrate 服务来评估应用程序 Vm,并使用数据迁移助手 SQL Server 应用程序数据库。Contoso assesses the application VMs using the Azure Migrate service, and the SQL Server application database using Data Migration Assistant.

概述Overview

考虑迁移到 Azure 时,Contoso 公司需要进行技术和财务评估,以确定它的本地工作负荷是否是适合迁移到云中的候选项。As Contoso considers migrating to Azure, the company needs a technical and financial assessment to determine whether its on-premises workloads are good candidates for cloud migration. 具体而言,Contoso 团队想要评估进行迁移时计算机和数据库的兼容性。In particular, the Contoso team wants to assess machine and database compatibility for migration. 它想要估算在 Azure 中运行 Contoso 资源所需的容量和成本。It wants to estimate capacity and costs for running Contoso's resources in Azure.

为了开始并且更好地了解涉及的技术,Contoso 对其两个本地应用进行评估,并在下表中予以概述。To get started and to better understand the technologies involved, Contoso assesses two of its on-premises apps, summarized in the following table. 该公司评估的是重新托管和重构应用以进行迁移的迁移方案。The company assesses for migration scenarios that rehost and refactor apps for migration. 若要详细了解重新托管和重构,请参阅迁移示例概述Learn more about rehosting and refactoring in the migration examples overview.

应用程序名称App name 平台Platform 应用层App tiers 详细信息Details
SmartHotel360SmartHotel360

(管理 Contoso 旅行要求)(manages Contoso travel requirements)
通过 SQL Server 数据库在 Windows 上运行Runs on Windows with a SQL Server database 双层应用。Two-tiered app. 前端 ASP.NET 网站 () 上运行 WEBVM ,SQL Server 在另一个 vm () 上运行 SQLVMThe front-end ASP.NET website runs on one VM (WEBVM) and the SQL Server runs on another VM (SQLVM). Vm 在 vCenter Server 管理的 VMware ESXi 主机上运行。VMs run on a VMware ESXi host managed by vCenter Server.

可以从 GitHub下载示例应用。You can download the sample app from GitHub.
osTicketosTicket

(Contoso 服务台应用)(Contoso service desk app)
灯泡 堆栈上运行。Runs on a LAMP stack. 双层应用。Two-tiered app. 前端 PHP 网站 () 上运行 OSTICKETWEB ,而 MySQL 数据库则在另一个 vm (OSTICKETMYSQL) 运行。A front-end PHP website runs on one VM (OSTICKETWEB) and the MySQL database runs on another VM (OSTICKETMYSQL). 客户服务应用使用此应用跟踪内部员工和外部客户的问题。The app is used by customer service apps to track issues for internal employees and external customers.

可以从 GitHub 下载该示例。You can download the sample from GitHub.

当前体系结构Current architecture

此图展示了 Contoso 当前的本地基础结构:This diagram shows the current Contoso on-premises infrastructure:

Contoso 当前的体系结构

  • Contoso 有一个主要数据中心。Contoso has one main datacenter. 该数据中心位于美国东部的纽约市。The datacenter is located in the city of New York in the Eastern United States.
  • Contoso 在美国还有 3 家当地分支机构。Contoso has three additional local branches across the United States.
  • 主数据中心使用光纤地铁以太网连接连接到 internet (500 MBps) 。The main datacenter is connected to the internet with a fiber optic Metro Ethernet connection (500 MBps).
  • 每家分支机构均在本地使用业务级连接实现联网,使用 IPsec VPN 隧道连接回主要数据中心。Each branch is connected locally to the internet by using business-class connections with IPsec VPN tunnels back to the main datacenter. 此设置使得 Contoso 的整个网络永久连接不掉线,同时优化了 Internet 的连接性。The setup allows Contoso's entire network to be permanently connected and optimizes internet connectivity.
  • 主要数据中心通过 VMware 实现了完全的虚拟化处理。The main datacenter is fully virtualized with VMware. Contoso 有两台 ESXi 6.5 虚拟化主机,由 vCenter Server 6.5 进行托管。Contoso has two ESXi 6.5 virtualization hosts that are managed by vCenter Server 6.5.
  • Contoso 使用 Active Directory 进行标识管理。Contoso uses Active Directory for identity management. Contoso 在内网上使用 DNS 服务器。Contoso uses DNS servers on the internal network.
  • 数据中心的域控制器在 VMware VM 上运行。The domain controllers in the datacenter run on VMware VMs. 而当地分支机构的域控制器在物理服务器上运行。The domain controllers at local branches run on physical servers.

业务驱动因素Business drivers

Contoso 的 IT 领导团队与公司的业务合作伙伴密切协作,以了解本次迁移要实现的业务目标:Contoso's IT leadership team has worked closely with the company's business partners to understand what the business wants to achieve with this migration:

  • 解决业务增长。Address business growth. Contoso 在不断发展。Contoso is growing. 因此,公司的本地系统和基础结构面临的压力也越来越大。As a result, pressure has increased on the company's on-premises systems and infrastructure.
  • 提高效率。Increase efficiency. Contoso 需要摒弃不必要的流程,简化开发人员和用户流程。Contoso needs to remove unnecessary procedures and streamline processes for its developers and users. 业务要求 IT 反应迅速,不浪费时间或金钱,让公司可以更快满足客户需求。The business needs IT to be fast and to not waste time or money, so the company can deliver faster on customer requirements.
  • 提高灵活性。Increase agility. Contoso IT 需要对业务需求更加敏感。Contoso IT needs to be more responsive to the needs of the business. 它必须能够抢在市场变化之前作出反应,这样才能让公司在全球经济中取得成功。It must be able to react faster than the changes that occur in the marketplace for the company to be successful in a global economy. 同时它不能阻碍发展,成为业务的绊脚石。IT at Contoso must not get in the way or become a business blocker.
  • 纵向.Scale. 随着公司业务成功发展,Contoso IT 部门必须提供能够同步成长的系统。As the company's business grows successfully, Contoso IT must provide systems that can grow at the same pace.

评估目标Assessment goals

Contoso 云团队制定了迁移评估的目标:The Contoso cloud team has identified goals for its migration assessments:

  • 迁移后,Azure 中应用程序的性能应该与当前在 Contoso 本地 VMware 环境中运行的应用程序相同。After migration, apps in Azure should have the same performance capabilities that apps have today in Contoso's on-premises VMware environment. 迁移到云并非表示应用性能变得不太重要。Moving to the cloud doesn't mean that app performance is less critical.
  • Contoso 需要了解其应用程序和数据库与 Azure 要求的兼容性。Contoso needs to understand the compatibility of its applications and databases with Azure requirements. 此外,还需了解其在 Azure 中的托管选项。Contoso also needs to understand its hosting options in Azure.
  • 在将应用迁移到云后,应尽量减少 Contoso 的数据库管理工作。Contoso's database administration should be minimized after apps move to the cloud.
  • Contoso 不仅想要了解其迁移选项,还想要了解迁移到云后与基础结构相关的成本。Contoso wants to understand not only its migration options, but also the costs associated with the infrastructure after it moves to the cloud.

评估工具Assessment tools

Contoso 使用 Microsoft 工具进行迁移评估。Contoso uses Microsoft tools for its migration assessment. 这些工具符合公司的目标,并能为 Contoso 提供所需的所有信息。The tools align with the company's goals and should provide Contoso with all the information it needs.

技术Technology 说明Description 成本Cost
Data Migration AssistantData Migration Assistant Contoso 使用数据迁移助手评估和检测可能影响其在 Azure 中数据库功能的兼容性问题。Contoso uses Data Migration Assistant to assess and detect compatibility issues that might affect its database functionality in Azure. 数据迁移助手评估 SQL 源和目标之间的功能奇偶一致性。Data Migration Assistant assesses feature parity between SQL sources and targets. 它针对性能和可靠性提升提供建议。It recommends performance and reliability improvements. 数据迁移助手是免费的可下载工具。Data Migration Assistant is a free downloadable tool.
Azure MigrateAzure Migrate Contoso 使用 Azure Migrate 服务评估其 VMware VM。Contoso uses the Azure Migrate service to assess its VMware VMs. Azure Migrate 评估计算机是否适合迁移。Azure Migrate assesses the migration suitability of the machines. 它对在 Azure 中运行时的大小和成本进行估算。It provides sizing and cost estimates for running in Azure. 无需额外付费即可使用 Azure Migrate。Azure Migrate is available at no additional charge. 但是,你可能会产生费用,具体取决于你决定用于评估和迁移 (第一方或 ISV) 的工具。However, you may incur charges depending on the tools (first-party or ISV) you decide to use for assessment and migration. 了解有关 Azure Migrate 定价的详细信息。Learn more about Azure Migrate pricing.
服务映射Service Map Azure Migrate 使用服务映射来显示公司要迁移的计算机之间的依赖关系。Azure Migrate uses Service Map to show dependencies between machines that the company wants to migrate. 服务映射属于 Azure Monitor 日志。Service Map is part of Azure Monitor logs. 目前,Contoso 可以免费使用服务映射 180 天。Currently, Contoso can use Service Map for 180 days without incurring charges.

在此场景中,Contoso 下载并运行数据迁移助手,以评估其旅行应用的本地 SQL Server 数据库。In this scenario, Contoso downloads and runs Data Migration Assistant to assess the on-premises SQL Server database for its travel app. Contoso 结合使用 Azure Migrate 与依赖关系映射来评估应用 VM,然后再迁移到 Azure。Contoso uses Azure Migrate with dependency mapping to assess the app VMs before migration to Azure.

评估体系结构Assessment architecture

迁移评估体系结构

  • Contoso 是表示一家典型企业组织的虚构名称。Contoso is a fictional name that represents a typical enterprise organization.
  • Contoso 有一个本地数据中心 (contoso-datacenter) 和本地域控制器 (CONTOSODC1CONTOSODC2) 。Contoso has an on-premises datacenter (contoso-datacenter) and on-premises domain controllers (CONTOSODC1, CONTOSODC2).
  • VMware Vm 位于运行版本 6.5 () 的 VMware ESXi 主机 contosohost1contosohost2VMware VMs are located on VMware ESXi hosts running version 6.5 (contosohost1, contosohost2).
  • VMware 环境由 vcenter.contoso.com 在 VM) 上运行 vCenter Server 6.5 (进行管理。The VMware environment is managed by vCenter Server 6.5 (vcenter.contoso.com, running on a VM).
  • SmartHotel360 旅行应用具有以下特征:The SmartHotel360 travel app has these characteristics:
    • 应用跨两个 VMware Vm 分层 (WEBVMSQLVM) 。The app is tiered across two VMware VMs (WEBVM and SQLVM).
    • Vm 位于 VMware ESXi 主机上 contosohost1.contoso.comThe VMs are located on VMware ESXi host contosohost1.contoso.com.
    • VM 运行包含 SP1 的 Windows Server 2008 R2 数据中心。The VMs are running Windows Server 2008 R2 Datacenter with SP1.
  • VMware 环境由 vcenter.contoso.com 虚拟机上运行) vCenter Server (管理。The VMware environment is managed by vCenter Server (vcenter.contoso.com) running on a VM.
  • osTicket 服务台应用:The osTicket service desk app:
    • 此应用程序跨两个 VM(OSTICKETWEBOSTICKETMYSQL)进行分层。The app is tiered across two VMs (OSTICKETWEB and OSTICKETMYSQL).
    • 这两个 VM 在 Ubuntu Linux Server 16.04-LTS 上运行。The VMs are running Ubuntu Linux Server 16.04-LTS.
    • OSTICKETWEB 正在运行 Apache 2 和 PHP 7.0。OSTICKETWEB is running Apache 2 and PHP 7.0.
    • OSTICKETMYSQL 正在运行 MySQL 5.7.22。OSTICKETMYSQL is running MySQL 5.7.22.

先决条件Prerequisites

在本评估中,Contoso 以及其他用户必须满足以下先决条件:Contoso and other users must meet the following prerequisites for the assessment:

  • 对 Azure 订阅或 Azure 订阅中资源组的所有者或参与者权限。Owner or Contributor permissions for the Azure subscription, or for a resource group in the Azure subscription.
  • 运行版本 6.5、6.0 或 5.5 的本地 vCenter Server 实例。An on-premises vCenter Server instance running version 6.5, 6.0, or 5.5.
  • vCenter Server 中的一个只读帐户,或者创建该帐户的权限。A read-only account in vCenter Server, or permissions to create one.
  • 在 vCenter Server 实例上使用 .ova 模板创建 VM 的权限。Permissions to create a VM on the vCenter Server instance by using an .ova template.
  • 至少一台运行 5.5 或更高版本的 ESXi 主机。At least one ESXi host running version 5.5 or later.
  • 至少两个本地 VMware VM,一个 VM 运行一个 SQL Server 数据库。At least two on-premises VMware VMs, one running a SQL Server database.
  • 在每个 VM 上安装 Azure Migrate 代理的权限。Permissions to install Azure Migrate agents on each VM.
  • 这些 VM 应该有直接的 Internet 连接。The VMs should have direct internet connectivity.
    • 可以仅限对所需 URL 进行 Internet 访问。You can restrict internet access to the required URLs.
    • 如果 VM 未连接 Internet,则必须在其上安装 Azure Log Analytics 网关,并代理通过它定向的流量。If your VMs don't have internet connectivity, the Azure Log Analytics Gateway must be installed on them, and agent traffic directed through it.
  • 运行 SQL Server 实例的 VM 的完全限定域名 (FQDN) ,用于数据库评估。The fully qualified domain name (FQDN) of the VM running the SQL Server instance, for database assessment.
  • 在 SQL Server VM 上运行的 Windows 防火墙应该允许在 TCP 端口 1433(默认)上进行外部连接。Windows Firewall running on the SQL Server VM should allow external connections on TCP port 1433 (default). 此设置允许数据迁移助手进行连接。This setup allows Data Migration Assistant to connect.

评估概述Assessment overview

下面是 Contoso 进行评估的方式:Here's how Contoso performs its assessment:

  • 步骤1:下载并安装数据迁移助手。Step 1: Download and install Data Migration Assistant. Contoso 准备数据迁移助手,用于对本地 SQL Server 数据库进行评估。Contoso prepares Data Migration Assistant for assessment of the on-premises SQL Server database.
  • 步骤2:使用数据迁移助手评估数据库。Step 2: Assess the database by using Data Migration Assistant. Contoso 运行并分析数据库评估。Contoso runs and analyzes the database assessment.
  • 步骤3:使用 Azure Migrate 准备 VM 评估。Step 3: Prepare for VM assessment by using Azure Migrate. Contoso 设置本地帐户并调整 VMware 设置。Contoso sets up on-premises accounts and adjusts VMware settings.
  • 步骤4:使用 Azure Migrate 发现本地 Vm。Step 4: Discover on-premises VMs by using Azure Migrate. Contoso 创建 Azure Migrate 收集器 VM。Contoso creates an Azure Migrate collector VM. 然后,Contoso 运行收集器以发现要评估的 VM。Then, Contoso runs the collector to discover VMs for assessment.
  • 步骤5:使用 Azure Migrate 准备依赖项分析。Step 5: Prepare for dependency analysis by using Azure Migrate. Contoso 在 VM 上安装 Azure Migrate 代理,因此公司可以查看 VM 之间的依赖项映射。Contoso installs Azure Migrate agents on the VMs, so the company can see dependency mapping between VMs.
  • 步骤6:使用 Azure Migrate 评估 Vm。Step 6: Assess the VMs by using Azure Migrate. Contoso 检查依赖项、对 VM 分组,然后运行评估。Contoso checks dependencies, groups the VMs, and runs the assessment. 在评估就绪以后,Contoso 对其进行分析,做好迁移准备。When the assessment is ready, Contoso analyzes the assessment in preparation for migration.

备注

评估不应仅限于使用工具来发现有关环境的信息。Assessments shouldn't just be limited to using tooling to discover information about your environment. 你还应计划与企业所有者、最终用户和 IT 部门的其他成员进行交流的时间,以充分了解环境中发生的情况,并了解工具无法告诉你的因素。You should also schedule time to speak to business owners, end users, and other members of the IT department to fully understand of what is happening in the environment and understand factors that tooling cannot tell you.

步骤 1:下载并安装数据迁移助手Step 1: Download and install Data Migration Assistant

  1. Contoso 从 Microsoft 下载中心下载数据迁移助手。Contoso downloads Data Migration Assistant from the Microsoft Download Center.
    • 可以在能够连接到 SQL Server 实例的任何计算机上安装数据迁移助手。Data Migration Assistant can be installed on any machine that can connect to the SQL Server instance. Contoso 无需在 SQL Server 计算机上运行它。Contoso doesn't need to run it on the SQL Server machine.
    • 不应在 SQL Server 主机上运行数据迁移助手。Data Migration Assistant shouldn't be run on the SQL Server host machine.
  2. Contoso 运行已下载的安装程序文件 (DownloadMigrationAssistant.msi) 即可开始安装。Contoso runs the downloaded setup file (DownloadMigrationAssistant.msi) to begin the installation.
  3. 在“完成”页面上,Contoso 先选择“启动 Microsoft 数据迁移助手”,再完成向导。On the Finish page, Contoso selects Launch Microsoft Data Migration Assistant before finishing the wizard.

步骤 2:运行和分析针对 SmartHotel360 的数据库评估Step 2: Run and analyze the database assessment for SmartHotel360

现在,Contoso 可以运行评估,分析其 SmartHotel360 应用的本地 SQL Server 数据库。Now, Contoso can run an assessment to analyze its on-premises SQL Server database for the SmartHotel360 app.

  1. 在数据迁移助手中,Contoso 选择 > 评估,并为评估提供项目名称。In Data Migration Assistant, Contoso selects New > Assessment, and then gives the assessment a project name.

  2. 对于“源服务器类型”,Contoso 选择“SQL Server”;对于“目标服务器类型”,Contoso 选择“Azure 虚拟机上的 SQL Server”For Source server type, Contoso selects SQL Server and for Target Server type, Contoso selects SQL Server on Azure Virtual Machines

    数据迁移助手:选择源

    备注

    目前,数据迁移助手不支持迁移到 Azure SQL 托管实例的评估。Currently, Data Migration Assistant doesn't support assessment for migrating to Azure SQL Managed Instance. 为了解决此问题,Contoso 将 Azure VM 上的 SQL Server 用作评估的假定目标。As a workaround, Contoso uses SQL Server on an Azure VM as the supposed target for the assessment.

  3. 在“选择目标版本”中,Contoso 选择 SQL Server 2017 作为目标版本。In Select Target Version, Contoso selects SQL Server 2017 as the target version. Contoso 需要选择此版本,因为它是 SQL 托管实例使用的版本。Contoso needs to select this version because it's the version that's used by the SQL Managed Instance.

  4. Contoso 选择报告,以帮助它发现有关兼容性和新功能的信息:Contoso selects reports to help it discover information about compatibility and new features:

    • 兼容性问题 说明了在迁移之前可能会中断迁移或需要进行次要调整的更改。Compatibility issues note changes that might break migration or that require a minor adjustment before migration. 此报告会始终告知 Contoso 任何当前所用功能已弃用的情况。This report keeps Contoso informed about any features currently in use that are deprecated. 问题按兼容性级别进行组织。Issues are organized by compatibility level.
    • “新功能建议”指出目标 SQL Server 平台中可以在迁移后用于数据库的新功能。New feature recommendation notes new features in the target SQL Server platform that can be used for the database after migration. 新功能建议按标题 " 性能"、" 安全性" 和 "存储" 进行组织 New feature recommendations are organized under the headings Performance, Security, and Storage.

    数据迁移助手:兼容性问题和新功能

  5. 在“连接到服务器”中,Contoso 输入运行数据库的 VM 名称和凭据来进行访问。In Connect to a server, Contoso enters the name of the VM that's running the database and credentials to access it. Contoso 选择“信任服务器证书”,确保该 VM 可访问 SQL Server。Contoso selects Trust server certificate to make sure the VM can access SQL Server. 然后,Contoso 选择“连接”。Then, Contoso selects Connect.

    数据迁移助手:连接到服务器

  6. 在 " 添加源" 中,Contoso 添加要评估的数据库,然后选择 " 下一步 " 开始评估。In Add source, Contoso adds the database it wants to assess, then selects Next to start the assessment.

  7. 评估已创建。The assessment is created.

    数据迁移助手:创建评估

  8. 在“审阅结果”中,Contoso 可查看评估结果。In Review results, Contoso views the assessment results.

分析数据库评估Analyze the database assessment

会立即显示可用结果。Results are displayed as soon as they're available. 如果修复了问题,Contoso 必须选择“重启评估”来重新运行评估。If Contoso fixes issues, it must select Restart assessment to rerun the assessment.

  1. 在“兼容性问题”报告中,Contoso 检查每个兼容性级别的任何问题。In the Compatibility issues report, Contoso checks for any issues at each compatibility level. 兼容性级别会映射到 SQL Server 版本,如下所示:Compatibility levels map to SQL Server versions as follows:

    • 100:SQL Server 2008/Azure SQL 数据库100: SQL Server 2008/Azure SQL Database
    • 110:SQL Server 2012/Azure SQL 数据库110: SQL Server 2012/Azure SQL Database
    • 120:SQL Server 2014/Azure SQL 数据库120: SQL Server 2014/Azure SQL Database
    • 130:SQL Server 2016/Azure SQL 数据库130: SQL Server 2016/Azure SQL Database
    • 140:SQL Server 2017/Azure SQL 数据库140: SQL Server 2017/Azure SQL Database

    数据迁移助手:兼容性问题报表

  2. 在“功能建议”报告中,Contoso 可查看此评估建议的迁移后的性能、安全性和存储功能。In the Feature recommendations report, Contoso views performance, security, and storage features that the assessment recommends after migration. 建议的功能多种多样,其中包括:内存中 OLTP、列存储索引、Stretch Database、Always Encrypted、动态数据掩码和透明数据加密。A variety of features are recommended, including In-Memory OLTP, columnstore indexes, Stretch Database, Always Encrypted, dynamic data masking, and transparent data encryption.

    数据迁移助手:功能建议报告

    备注

    Contoso 应为所有 SQL Server 数据库启用透明数据加密Contoso should enable transparent data encryption for all SQL Server databases. 当数据库位于云端(相比托管于本地)时,这甚至更为重要。This is even more critical when a database is in the cloud than when it's hosted on-premises. 只有在迁移后才能启用透明数据加密。Transparent data encryption should be enabled only after migration. 如果已启用透明数据加密,Contoso 必须将证书或非对称密钥移动到 master 目标服务器的数据库中。If transparent data encryption is already enabled, Contoso must move the certificate or asymmetric key to the master database of the target server. 了解如何将受透明数据加密保护的数据库移到其他 SQL Server 实例Learn how to move a transparent data encryption-protected database to another SQL Server instance.

  3. Contoso 可用 JSON 或 CSV 格式导出评估。Contoso can export the assessment in JSON or CSV format.

备注

对于大规模的评估:For large-scale assessments:

  • 并发运行多个评估,并在“所有评估”页上查看评估状态。Run multiple assessments concurrently and view the state of the assessments on the All assessments page.
  • 将评估合并到 SQL Server 数据库中。Consolidate assessments into a SQL Server database.
  • 将评估合并到一个 Power BI 报表中。Consolidate assessments into a Power BI report.

步骤 3:使用 Azure Migrate 进行 VM 评估准备Step 3: Prepare for VM assessment by using Azure Migrate

Contoso 需要创建可供 Azure Migrate 用来自动发现待评估 VM 的 VMware 帐户、验证自己是否有权创建 VM、记下需要打开的端口,以及设置统计信息设置级别。Contoso needs to create a VMware account that Azure Migrate can use to automatically discover VMs for assessment, verify rights to create a VM, note the ports that need to be opened, and set the statistics settings level.

设置 VMware 帐户Set up a VMware account

VM 发现需要 vCenter Server 中具有以下属性的只读帐户:VM discovery requires a read-only account in vCenter Server that has the following properties:

  • 用户类型: 至少为只读用户。User type: At least a read-only user.
  • 权限: 对于 datacenter 对象,请选中 " 传播到子对象 " 复选框。Permissions: For the datacenter object, select the Propagate to Child Objects checkbox. 对于 " 角色",选择 " 只读"。For Role, select Read-only.
  • 详细信息: 用户在数据中心级别分配,并可访问数据中心内的所有对象。Details: The user is assigned at the datacenter level, with access to all objects in the datacenter.
  • 若要限制访问,请使用 "传播到子 对象" 将 "无访问" 角色分配给子对象, (vSphere 主机、数据存储、vm 和网络) 。To restrict access, assign the No access role with the Propagate to child object to the child objects (vSphere hosts, data stores, VMs, and networks).

验证是否有权创建 VMVerify permissions to create a VM

Contoso 通过导入 .ova 格式的文件来验证自己是否有权创建 VM。Contoso verifies that it has permissions to create a VM by importing a file in .ova format. 了解如何创建角色并为其分配权限Learn how to create and assign a role with privileges.

验证端口Verify ports

Contoso 评估使用依赖项映射。The Contoso assessment uses dependency mapping. 依赖关系映射要求在将要评估的 VM 上安装代理。Dependency mapping requires an agent to be installed on VMs that will be assessed. 代理必须能够从每个 VM 的 TCP 端口 443 连接到 Azure。The agent must be able to connect to Azure from TCP port 443 on each VM. 了解连接要求Learn about connection requirements.

步骤 4:发现 VMStep 4: Discover VMs

为了发现 VM,Contoso 创建 Azure Migrate 项目。To discover VMs, Contoso creates an Azure Migrate project. Contoso 下载并安装收集器 VM。Contoso downloads and sets up the collector VM. 然后,Contoso 运行收集器以发现其本地 VM。Then, Contoso runs the collector to discover its on-premises VMs.

创建一个项目Create a project

按如下所述设置新的 Azure Migrate 项目。Set up a new Azure Migrate project as follows.

  1. 在 Azure 门户中选择“所有服务”,然后搜索 Azure MigrateIn the Azure portal > All services, search for Azure Migrate.

  2. 在“服务”下选择“Azure Migrate”。 Under Services, select Azure Migrate.

  3. 在“概览”中的“发现、评估和迁移服务器”下,选择“评估和迁移服务器”。 In Overview, under Discover, assess and migrate servers, select Assess and migrate servers.

    Azure Migrate:创建迁移项目

  4. 在“入门”中,选择“添加工具”。In Getting started, select Add tools.

  5. 在“迁移项目”中选择你的 Azure 订阅,并创建一个资源组(如果没有)。In Migrate project, select your Azure subscription, and create a resource group if you don't have one.

  6. 在“项目详细信息”中,指定项目名称以及要在其中创建项目的地理位置。In Project Details, specify the project name, and the geography in which you want to create the project. 支持美国、亚洲、欧洲、澳大利亚、英国、加拿大、印度和日本。United States, Asia, Europe, Australia, United Kingdom, Canada, India, and Japan are supported.

    • 项目地理位置仅用于存储从本地 VM 中收集的元数据。The project geography is used only to store the metadata gathered from on-premises VMs.
    • 运行迁移时,可以选择任一目标区域。You can select any target region when you run a migration.
  7. 选择“下一页”。Select Next.

  8. 在“选择评估工具”中,选择“Azure Migrate: 服务器评估” > “下一步”。In Select assessment tool, select Azure Migrate: Server Assessment > Next.

    Azure Migrate:评估工具

  9. 在“选择迁移工具”中,选择“暂时跳过添加迁移工具” > “下一步”。 In Select migration tool, select Skip adding a migration tool for now > Next.

  10. 在“审阅 + 添加工具”中,审阅设置,然后选择“添加工具” 。In Review + add tools, review the settings, then select Add tools.

  11. 等待几分钟,让 Azure Migrate 项目部署完成。Wait a few minutes for the Azure Migrate project to deploy. 随后将转到项目页。You'll be taken to the project page. 如果未看到该项目,可以从 Azure Migrate 仪表板中的“服务器”访问它。If you don't see the project, you can access it from Servers in the Azure Migrate dashboard.

下载收集器设备Download the collector appliance

  1. 在“迁移目标” > “服务器” > “Azure Migrate: 服务器评估”中,选择“发现”。In Migration Goals > Servers > Azure Migrate: Server Assessment, select Discover.

  2. 在“发现计算机” > “计算机是否已虚拟化?”中,选择“是,使用 VMware vSphere 虚拟机监控程序” 。In Discover machines > Are your machines virtualized?, select Yes, with VMware vSphere hypervisor.

  3. 选择 " 下载 " 以下载。.OVA 模板文件。Select Download to download the .OVA template file.

    Azure Migrate:下载收集器

验证收集器设备Verify the collector appliance

在部署 VM 前,Contoso 检查 OVA 文件的安全性:Before deploying the VM, Contoso checks that the OVA file is secure:

  1. 在下载文件的计算机上,Contoso 打开管理员命令提示符窗口。On the machine on which the file was downloaded, Contoso opens an administrator Command Prompt window.

  2. Contoso 运行以下命令,生成 OVA 文件的哈希:Contoso runs the following command to generate the hash for the OVA file:

    C:\> CertUtil -HashFile <file_location> [Hashing Algorithm]

    示例:Example:

    C:\> CertUtil -HashFile C:\AzureMigrate\AzureMigrate.ova SHA256

  3. 生成的哈希应与评估 VMware vm 以便迁移教程中的 "验证安全性" 部分中所列的哈希值相匹配。The generated hash should match the hash values listed in the Verify security section of the Assess VMware VMs for migration tutorial.

创建收集器设备Create the collector appliance

现在,Contoso 可将下载的文件导入到 vCenter Server 实例并预配收集器设备 VM:Now, Contoso can import the downloaded file to the vCenter Server instance and provision the collector appliance VM:

  1. 在 vSphere 客户端控制台中,Contoso 选择 "文件 > 部署 OVF 模板"。In the vSphere Client console, Contoso selects File > Deploy OVF template.

    vSphere Web 客户端:部署 OVF 模板

  2. 在“部署 OVF 模板向导”中,Contoso 选择“源”,然后指定 OVA 文件的位置。In the Deploy OVF Template Wizard, Contoso selects Source, and then specifies the location of the OVA file.

  3. 在“名称和位置”中,Contoso 为收集器 VM 指定一个显示名称。In Name and Location, Contoso specifies a display name for the collector VM. 然后,它选择待托管 VM 的库存位置。Then, it selects the inventory location in which to host the VM. Contoso 还指定要在其上运行收集器设备的主机或群集。Contoso also specifies the host or cluster on which to run the collector appliance.

  4. 在“存储”中,Contoso 指定存储位置。In Storage, Contoso specifies the storage location. 在“磁盘格式”中,Contoso 选择所需的存储预配方式。In Disk Format, Contoso selects how it wants to provision the storage.

  5. 在“网络映射”中,Contoso 指定收集器 VM 要连接到的网络。In Network Mapping, Contoso specifies the network in which to connect the collector VM. 网络需要与 Internet 建立连接才能向 Azure 发送元数据。The network needs internet connectivity to send metadata to Azure.

  6. Contoso 查看设置,然后 在部署完成后选择开机 > 。Contoso reviews the settings, then selects Power on after deployment > Finish. 在创建设备以后,系统会显示一条消息,确认已成功完成。A message that confirms successful completion appears when the appliance is created.

运行收集器以发现 VM。Run the collector to discover VMs

现在,Contoso 运行收集器以发现 VM。Now, Contoso runs the collector to discover VMs. 此收集器目前仅支持使用“英语(美国)”作为操作系统语言和收集器界面语言。Currently, the collector currently supports only English (United States) as the operating system language and collector interface language.

  1. 在 vSphere 客户端控制台中,Contoso 选择“打开控制台”。In the vSphere Client console, Contoso selects Open Console. Contoso 接受收集器 VM 的许可条款和密码首选项。Contoso specifies the accepts the licensing terms, and password preferences for the collector VM.

  2. 在桌面上,Contoso 选择“Microsoft Azure 设备配置管理器”快捷方式。On the desktop, Contoso selects the Microsoft Azure Appliance Configuration Manager shortcut.

    vSphere 客户端控制台:收集器快捷方式

  3. 在 Azure Migrate 收集器中,Contoso 选择 " 设置必备组件"。In the Azure Migrate Collector, Contoso selects Set up prerequisites. Contoso 接受许可条款,并阅读第三方信息。Contoso accepts the license terms and reads the third-party information.

  4. 收集器检查 VM 是否可以访问 Internet、时间是否已同步,以及收集器服务是否正在运行。The collector checks that the VM has internet access, that the time is synced, and that the collector service is running. (默认情况下,将在 VM 上安装收集器服务。 ) Contoso 还会安装 VMware vSphere 虚拟磁盘开发工具包。(The collector service is installed by default on the VM.) Contoso also installs the VMware vSphere Virtual Disk Development Kit.

    备注

    假定此 VM 可以直接访问 Internet,无需使用代理。It's assumed that the VM has direct access to the internet without using a proxy.

    Azure Migrate 收集器:验证先决条件

  5. 登录到你的 Azure 帐户,并选择之前创建的订阅和迁移项目。Sign in to your Azure account and select the subscription and Migrate project you created earlier. 此外,请输入设备的名称,以便可以在 Azure 门户中识别该 设备Also enter a name for the appliance so you can identify it in the Azure portal.

  6. 在“指定 vCenter Server 详细信息”中,Contoso 输入 vCenter Server 实例的名称 (FQDN) 或 IP 地址,以及用于发现的只读凭据。In Specify vCenter Server details, Contoso enters the name (FQDN) or IP address of the vCenter Server instance and the read-only credentials used for discovery.

  7. Contoso 选择 VM 发现的范围。Contoso selects a scope for VM discovery. 收集器只能发现指定范围内的 VM。The collector can discover only VMs that are within the specified scope. 可将范围设置为特定文件夹、数据中心或群集。The scope can be set to a specific folder, datacenter, or cluster.

    指定 vCenter Server 详细信息

  8. 收集器现在将开始发现并收集有关 Contoso 环境的信息。The collector will now start to discovery and collect information about the Contoso environment.

    查看收集进度

在门户中验证 VMVerify VMs in the portal

收集完成后,Contoso 检查 VM 是否显示在门户中:When collection is finished, Contoso checks that the VMs appear in the portal:

  1. 在 Azure Migrate 项目中,Contoso 选择 服务器 服务器 * *。In the Azure Migrate project, Contoso selects Servers servers**. Contoso 检查是否显示了要发现的 VM。Contoso checks that the VMs that it wants to discover are shown.

    Azure Migrate:发现的计算机

  2. 目前,这些计算机尚未安装 Azure Migrate 代理。Currently, the machines don't have the Azure Migrate agents installed. Contoso 必须安装该代理才能查看依赖关系。Contoso must install the agents to view dependencies.

    Azure Migrate:需要安装代理

步骤 5:进行依赖项分析准备Step 5: Prepare for dependency analysis

为了查看要评估的 VM 之间的依赖关系,Contoso 在应用 VM 上下载并安装代理。To view dependencies between VMs that it wants to assess, Contoso downloads and installs agents on the app VMs. Contoso 在所有 VM 上为其 Windows 和 Linux 应用安装代理。Contoso installs agents on all VMs for its apps, both for Windows and Linux.

获取快照Take a snapshot

为了在修改 VM 前保留 VM 副本,Contoso 在安装代理前生成快照。To keep a copy of the VMs before modifying them, Contoso takes a snapshot before the agents are installed.

计算机快照

下载并安装 VM 代理Download and install the VM agents

  1. 在“计算机”中,Contoso 选择计算机。In Machines, Contoso selects the machine. 在“依赖关系”列中,Contoso 选择“需要安装”。In the Dependencies column, Contoso selects Requires installation.

  2. 在“发现计算机”窗格中,Contoso:In the Discover machines pane, Contoso:

    • 下载每个 Windows VM 的 Microsoft Monitoring Agent 和 Microsoft Dependency Agent。Downloads the Microsoft Monitoring Agent and the Microsoft Dependency Agent for each Windows VM.
    • 下载每个 Linux VM 的 Microsoft Monitoring Agent 和 Microsoft Dependency Agent。Downloads the Microsoft Monitoring Agent and Microsoft Dependency Agent for each Linux VM.
  3. Contoso 复制工作区 ID 和密钥。Contoso copies the workspace ID and key. Contoso 在安装 Microsoft Monitoring Agent 时需要工作区 ID 和密钥。Contoso needs the workspace ID and key when it installs the Microsoft Monitoring Agent.

    代理下载

在 Windows VM 上安装代理Install the agents on Windows VMs

Contoso 在每个 VM 上运行安装。Contoso runs the installation on each VM.

在 Windows VM 上安装 MMAInstall the MMA on Windows VMs

  1. Contoso 双击已下载的代理。Contoso double-clicks the downloaded agent.

  2. 在 " 目标文件夹" 中,Contoso 保留默认的安装文件夹,然后选择 " 下一步"。In Destination Folder, Contoso keeps the default installation folder, and selects Next.

  3. 在“代理安装选项”中,Contoso 选择“将代理连接到 Azure Log Analytics” > “下一步”。In Agent Setup Options, Contoso selects Connect the agent to Azure Log Analytics > Next.

    Microsoft Monitoring Agent 安装程序:代理安装选项

  4. 在“Azure Log Analytics”中,Contoso 粘贴从门户复制的工作区 ID 和密钥。In Azure Log Analytics, Contoso pastes the workspace ID and key that it copied from the portal.

    Microsoft Monitoring Agent 安装: Azure Log Analytics

  5. 在“准备安装”中,Contoso 安装 MMA。In Ready to Install, Contoso installs the MMA.

在 Windows Vm 上安装 Microsoft Dependency AgentInstall the Microsoft Dependency Agent on Windows VMs

  1. Contoso 双击已下载的代理。Contoso double-clicks the downloaded agent.

  2. Contoso 接受许可条款,并等待安装完成。Contoso accepts the license terms and waits for the installation to finish.

    安装 Microsoft Dependency Agent

在 Linux VM 上安装代理Install the agents on Linux VMs

Contoso 在每个 VM 上运行安装。Contoso runs the installation on each VM.

在 Linux VM 上安装 MMAInstall the MMA on Linux VMs

  1. Contoso 使用以下命令在每个 VM 上安装 Python ctypes 库:Contoso installs the Python ctypes library on each VM by using the following command:

    sudo apt-get install python-ctypeslib

  2. Contoso 必须运行命令,以 root 身份安装 MMA 代理。Contoso must run the command to install the MMA agent as root. 为了获取 root 权限,Contoso 运行以下命令,然后输入根密码:To become root, Contoso runs the following command, and then enters the root password:

    sudo -i

  3. Contoso 安装 MMA:Contoso installs the MMA:

    • Contoso 在命令中输入工作区 ID 和密钥。Contoso enters the workspace ID and key in the command.

    • 这些命令适用于 64 位。Commands are for 64-bit.

    • 工作区 ID 和主密钥位于 Azure 门户的 Log Analytics 工作区中。The workspace ID and primary key are located in the Log Analytics workspace in the Azure portal. 选择 " 设置",然后选择 " 连接的源 " 选项卡。Select Settings, and select the Connected Sources tab.

    • 运行以下命令以下载 Log Analytics 代理,验证校验和,并安装和载入代理:Run the following commands to download the Log Analytics agent, validate the checksum, and install and onboard the agent:

      wget https://raw.githubusercontent.com/Microsoft/OMS-Agent-for-Linux/master/installer/scripts/onboard_agent.sh && sh onboard_agent.sh -w 6b7fcaff-7efb-4356-ae06-516cacf5e25d -s k7gAMAw5Bk8pFVUTZKmk2lG4eUciswzWfYLDTxGcD8pcyc4oT8c6ZRgsMy3MmsQSHuSOcmBUsCjoRiG2x9A8Mg==

在 Linux Vm 上安装 Microsoft Dependency AgentInstall the Microsoft Dependency Agent on Linux VMs

安装 Microsoft Monitoring Agent 后,Contoso 会在 Linux Vm 上安装 Microsoft Dependency Agent:After the Microsoft Monitoring Agent is installed, Contoso installs the Microsoft Dependency Agent on the Linux VMs:

  1. 使用在 Linux 计算机上安装 Microsoft Dependency Agent,该 InstallDependencyAgent-Linux64.bin 脚本具有一个自解压缩二进制文件。The Microsoft Dependency Agent is installed on Linux computers by using InstallDependencyAgent-Linux64.bin, a shell script that has a self-extracting binary. Contoso 使用运行该文件 sh ,或将执行权限添加到文件本身。Contoso runs the file by using sh, or it adds execute permissions to the file itself.

  2. Contoso 将 Linux 依赖关系代理安装为根:Contoso installs the Linux dependency agent as root:

    wget --content-disposition https://aka.ms/dependencyagentlinux -O InstallDependencyAgent-Linux64.bin && sudo sh InstallDependencyAgent-Linux64.bin -s

步骤 6:运行和分析 VM 评估Step 6: Run and analyze the VM assessment

Contoso 现在可以验证计算机依赖关系并创建一个组。Contoso can now verify machine dependencies and create a group. 然后,它会为组运行评估。Then, it runs the assessment for the group.

验证依赖关系并创建一个组Verify dependencies and create a group

  1. 为了确定要分析的计算机,Contoso 选择“查看依赖关系”。To determine which machines to analyze, Contoso selects View Dependencies.

    Azure Migrate:查看计算机依赖项

  2. SQLVM 的依赖关系映射显示了以下详细信息:For SQLVM, the dependency map shows the following details:

    • 在指定的时段(默认为一小时)内在 SQLVM 上有活动的网络连接运行的进程组或进程。Process groups or processes that have active network connections running on SQLVM during the specified time period (an hour, by default).
    • 与所有依赖关系计算机的入站(客户端)和出站(服务器)TCP 连接。Inbound (client) and outbound (server) TCP connections to and from all dependent machines.
    • 安装了 Azure Migrate 代理的依赖计算机显示为单独的框。Dependent machines that have the Azure Migrate agents installed are shown as separate boxes.
    • 没有安装代理的计算机会显示端口和 IP 地址信息。Machines that don't have the agents installed show port and IP address information.
  3. 对于安装了代理 () 的计算机 WEBVM ,Contoso 将选择 "计算机" 框以查看详细信息。For machines that have the agent installed (WEBVM), Contoso selects the machine box to view more information. 信息包括 FQDN、操作系统和 MAC 地址。The information includes the FQDN, operating system, and MAC address.

    Azure Migrate:查看组依赖项

  4. Contoso 选择要添加到组 (SQLVM 和) 的 vm WEBVMContoso selects the VMs to add to the group (SQLVM and WEBVM). Contoso 在 Ctrl 选择多个 vm 时保存密钥。Contoso holds the Ctrl key while selecting multiple VMs.

  5. Contoso 选择 " 创建组",然后输入 () 的名称 smarthotelappContoso selects Create Group, and then enters a name (smarthotelapp).

    备注

    若要查看更细致的依赖关系,可以展开时间范围。To view more granular dependencies, you can expand the time range. 可以选择一个具体的时段,或者选择开始日期和结束日期。You can select a specific duration or select start and end dates.

运行评估Run an assessment

  1. 在 " " 中,Contoso 打开组 (smarthotelapp) ,然后选择 " 创建评估"。In Groups, Contoso opens the group (smarthotelapp), then selects Create assessment.

    Azure Migrate:创建评估

  2. 为了查看评估,Contoso 选择 "管理 > 评估"。To view the assessment, Contoso selects Manage > Assessments.

Contoso 使用默认评估设置,但也可以自定义设置Contoso uses the default assessment settings, but you can customize settings.

分析 VM 评估Analyze the VM assessment

Azure Migrate 评估包括以下信息:本地与 Azure 的兼容性、建议的适用于 Azure VM 的大小,以及估算的每月 Azure 成本。An Azure Migrate assessment includes information about the compatibility of on-premises with Azure, suggested right-sizing for Azure VM, and estimated monthly Azure costs.

Azure Migrate:评估报告

查看置信度分级Review confidence rating

Azure Migrate:评估显示

评估的置信度分为 1 星到 5 星(1 星表示置信度最低,5 星表示置信度最高)。An assessment has a confidence rating of from 1 star to 5 stars (1 star is the lowest and 5 stars is the highest).

  • 为评估分配置信度分级时,会考虑到进行评估计算时所需数据点的可用性。The confidence rating is assigned to an assessment based on the availability of data points that are needed to compute the assessment.

  • 此分级可以用来评估 Azure Migrate 提供的大小建议的可靠性。The rating helps you estimate the reliability of the size recommendations that are provided by Azure Migrate.

  • 进行 基于性能的大小调整 时,置信度分级很有用。The confidence rating is useful when you are doing performance-based sizing. Azure Migrate 可能没有足够的数据点来进行基于使用率的大小调整。Azure Migrate might not have enough data points for utilization-based sizing. 对于 按本地大小调整,置信度分级始终为 5 星,因为 Azure Migrate 有进行 VM 大小调整所需的所有数据点。For as on-premises sizing, the confidence rating is always 5 stars because Azure Migrate has all the data points it needs to size the VM.

  • 提供评估的置信度分级时,会考虑到可用数据点的百分比:Depending on the percentage of data points available, the confidence rating for the assessment is provided:

    数据点的可用性Availability of data points 置信度分级Confidence rating
    0%-20%0%-20% 1 星1 star
    21%-40%21%-40% 2 星2 stars
    41%-60%41%-60% 3 星3 stars
    61%-80%61%-80% 4 星4 stars
    81%-100%81%-100% 5 星5 stars

验证 Azure 迁移就绪性Verify Azure readiness

Azure Migrate:评估准备情况

评估报告显示的信息汇总在表中。The assessment report shows the information that's summarized in the table. 若要显示基于性能的大小调整情况,Azure Migrate 需要以下信息。To show performance-based sizing, Azure Migrate needs the following information. 如果无法收集这些信息,大小评估可能不准确。If the information can't be collected, sizing assessment might not be accurate.

  • CPU 和内存的使用率数据。Utilization data for CPU and memory.
  • 每个附加到 VM 的磁盘的读/写 IOPS 和吞吐量。Read/write IOPS and throughput for each disk attached to the VM.
  • 每个附加到 VM 的网络适配器的网络流入/流出量信息。Network in/out information for each network adapter attached to the VM.
设置Setting 指示Indication 详细信息Details
Azure VM 就绪Azure VM readiness 指示 VM 是否已做好迁移准备。Indicates whether the VM is ready for migration. 可能的状态:Possible states:
  • 已做好 Azure 迁移准备Ready for Azure
  • 准备好的条件Ready with conditions
  • 尚未做好 Azure 迁移准备Not ready for Azure
  • 就绪性未知Readiness unknown

    如果 VM 未就绪,Azure Migrate 会显示某些修正步骤。If a VM isn't ready, Azure Migrate shows some remediation steps.
  • Azure VM 大小Azure VM size 对于已就绪的 VM,Azure Migrate 会建议一个 Azure VM 大小。For ready VMs, Azure Migrate provides an Azure VM size recommendation. 大小建议取决于评估属性:Sizing recommendation depends on assessment properties:
  • 如果使用了基于性能的大小调整,则大小调整会考虑 Vm 的性能历史记录。If you used performance-based sizing, then sizing considers the performance history of the VMs.
  • 如果你使用的是 本地 大小调整,则根据本地 VM 大小和利用率进行调整。If you used as on-premises sizing, then sizing is based on the on-premises VM size and utilization.
  • 不使用数据。Data isn't used.
  • 建议的工具Suggested tool 由于 Azure 计算机运行代理,因此 Azure Migrate 会查看在计算机中运行的进程。Because Azure machines are running the agents, Azure Migrate looks at the processes that are running inside the machine. 它确定该计算机是否为数据库计算机。It identifies whether the machine is a database machine.
    VM 信息VM information 报告会显示本地 VM 的设置,包括操作系统、启动类型、磁盘和存储信息。The report shows settings for the on-premises VM, including operating system, boot type, and disk and storage information.

    查看每月估算的成本Review monthly cost estimates

    此视图显示在 Azure 中运行 VM 的总计算和存储成本。This view shows the total compute and storage cost of running the VMs in Azure. 它还显示每台计算机的详细信息。It also shows details for each machine.

    Azure Migrate: Azure 成本

    • 成本估算是根据计算机的大小建议进行计算的。Cost estimates are calculated by using the size recommendations for a machine.
    • 将会对于组中的所有 VM 合计计算和存储的每月估算费用。Estimated monthly costs for compute and storage are aggregated for all VMs in the group.

    评估后进行清理Clean up after assessment

    • 评估完成后,Contoso 保留 Azure Migrate 设备以用于将来的测评。When the assessment finishes, Contoso retains the Azure Migrate appliance to use in future evaluations.
    • Contoso 关闭 VMware VM。Contoso turns off the VMware VM. Contoso 在评估其他 VM 时将再次使用它。Contoso will use it again when it evaluates additional VMs.
    • Contoso 将 Contoso Migration 项目保留在 Azure 中。Contoso keeps the Contoso Migration project in Azure. 当前该项目部署在 ContosoFailoverRG 美国东部 Azure 区域的资源组中。The project currently is deployed in the ContosoFailoverRG resource group in the East US Azure region.
    • 收集器 VM 有 180 天的评估许可证。The collector VM has a 180-day evaluation license. 如果此许可证过期,Contoso 需要重新下载并设置收集器。If this limit expires, Contoso will need to download the collector and set it up again.

    结论Conclusion

    在此方案中,Contoso 使用数据迁移助手工具评估其 SmartHotel360 应用数据库。In this scenario, Contoso assesses its SmartHotel360 app database by using the Data Migration Assistant tool. 它使用 Azure Migrate 服务评估本地 VM。It assesses the on-premises VMs by using the Azure Migrate service. Contoso 查看评估情况,确保本地资源已做好迁移到 Azure 的准备。Contoso reviews the assessments to make sure that on-premises resources are ready for migration to Azure.

    后续步骤Next steps

    在 Contoso 将此工作负荷评估为可能的迁移候选项后,就可以开始准备它的本地基础结构和 Azure 基础结构以供迁移了。After Contoso assesses this workload as a potential migration candidate, it can begin preparing its on-premises infrastructure and its Azure infrastructure for migration. 有关 Contoso 如何执行这些过程的示例,请参阅云采用框架指南中“迁移最佳做法”一节内的部署 Azure 基础结构一文。See the deploy Azure infrastructure article in the Cloud Adoption Framework migrate best practices section for an example of how Contoso performs these processes.