你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

迁移到面向 SQL Server 的 Azure Monitoring Agent (AMA) 的自动预配进程

Microsoft Monitoring Agent (MMA) 将于 2024 年 8 月弃用。 因此,新的面向 SQL Server 的 Azure Monitoring Agent (AMA) 自动预配进程已发布。 可以了解有关 计算机 Log Analytics 代理弃用计划的 Defender for SQL Server 的详细信息。

使用最新的 Log Analytics 代理/Azure Monitor 代理自动配置进程的客户应迁移到新的计算机上的 SQL Server Azure 监视代理自动预配进程。 迁移过程是无缝的,会为所有计算机提供持续保护。

迁移到面向 SQL Server 的 AMA 自动预配过程

  1. 登录 Azure 门户

  2. 搜索并选择“Microsoft Defender for Cloud”。

  3. 在 Defender for Cloud 菜单中,选择“环境设置”。

  4. 选择相关订阅。

  5. 在“数据库计划”下,选择“需要操作”。 Screenshot that shows where the option to select action required is on the Defender plans page.

    注意

    如果未看到“需要操作”按钮,请在“数据库计划”下选择“设置”,然后将“计算机上适用于 SQL Server 的 Azure 监视代理”选项切换为“打开”。 然后选择“继续”>“保存”。

  6. 在弹出窗口中,选择“启用”。

    Screenshot that shows you where to select the Azure Monitor Agent on the screen.

  7. 选择“保存”。

启用面向 SQL Server 的 AMA 自动预配进程后,应禁用 Log Analytics 代理/Azure Monitor 代理自动预配进程。

注意

如果已启用 Defender for Server 计划,那么在禁用该过程之前,需要查看有关 Log Analytics 代理/ Azure Monitor 代理依赖项的 Defender for Servers Log Analytics 弃用计划

禁用 Log Analytics 代理/Azure Monitor 代理

  1. 登录 Azure 门户

  2. 搜索并选择“Microsoft Defender for Cloud”。

  3. 在 Defender for Cloud 菜单中,选择“环境设置”。

  4. 选择相关订阅。

  5. 在“数据库计划”下,选择“设置”。

  6. 将 Log Analytics 代理/Azure Monitor 代理切换为“关闭”。

    Screenshot that shows where the toggle is for the log analytics agent and the Azure monitor agent toggled to off.

  7. 选择“继续”。

  8. 选择“保存” 。

后续步骤

有关详细信息,请参阅以下资源: