Skip to content

Commit 30c7cf5

Browse files
authored
Merge pull request #283807 from v-sreedevank/07Aug-MMADeprecation
Migrate from MMA to AMA
2 parents 60b7747 + 0c21eed commit 30c7cf5

File tree

2 files changed

+71
-0
lines changed

2 files changed

+71
-0
lines changed
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
---
2+
title: Migrate to Azure Monitor Agent from Log Analytics agent
3+
description: Procedure to migrate to Azure Monitor Agent from MMA
4+
author: v-sreedevank
5+
ms.author: prijaisw
6+
ms.topic: how-to
7+
ms.date: 09/18/2024
8+
9+
# Customer intent: As an azure administrator, I want to understand the process of migrating from the MMA agent to the AMA agent.
10+
11+
---
12+
13+
# Agent-based dependency analysis using Azure monitor agent (AMA)
14+
15+
Dependency analysis helps you to identify and understand dependencies across servers that you want to assess and migrate to Azure. We currently perform agent-based dependency analysis by downloading the [MMA agent and associating a Log Analytics workspace](concepts-dependency-visualization.md) with the Azure Migrate project.
16+
17+
[Azure Monitor Agent (AMA)](/azure/azure-monitor/agents/azure-monitor-agent-overview) replaces the Log Analytics agent, also known as Microsoft Monitor Agent (MMA) and OMS, for Windows and Linux machines, in Azure and non-Azure environments, on-premises, and other clouds.
18+
19+
This article describes the impact on agent-based dependency analysis because of Azure Monitor Agent (AMA) replacing the Log Analytics agent (also known as Microsoft Monitor agent (MMA)) and provides guidance to migrate from the Log Analytics agent to Azure Monitor Agent.
20+
21+
> [!IMPORTANT]
22+
> The Log Analytics agent will be [retired on **August 31, 2024**](https://azure.microsoft.com/updates/were-retiring-the-log-analytics-agent-in-azure-monitor-on-31-august-2024/). You can expect the following when you use the MMA or OMS agent after this date.
23+
> - **Data upload:** Cloud ingestion services will gradually reduce support for MMA agents, which may result in decreased support and potential compatibility issues for MMA agents over time. Ingestion for MMA will be unchanged until February 1 2025.
24+
> - **Installation:** The ability to install the legacy agents will be removed from the Azure portal and installation policies for legacy agents will be removed. You can still install the MMA agents extension as well as perform offline installations.
25+
> - **Customer Support:** You will not be able to get support for legacy agent issues.
26+
> - **OS Support:** Support for new Linux or Windows distros, including service packs, won't be added after the deprecation of the legacy agents.
27+
28+
> [!Note]
29+
> Starting July 1, 2024, [Standard Log Analytics charges](https://go.microsoft.com/fwlink/?linkid=2278207) are applicable for Agent-based dependency visualization. We suggest moving to [agentless dependency analysis](how-to-create-group-machine-dependencies-agentless.md) for a seamless experience.
30+
31+
> [!Note]
32+
> The pricing estimation has been covered in [Estimate the price change](#estimate-the-price-change) section.
33+
34+
## Migrate from Log analytics agent (MMA) to Azure Monitor agent (AMA)
35+
36+
If you already set up MMA and the associated Log Analytics workspace with your Azure Migrate project, you can migrate from the existing Log analytics agent to Azure Monitor agent without breaking/changing the association of the Log Analytics workspace with the Azure Migrate project by following these steps.
37+
38+
1. To deploy the Azure Monitor agent, it's recommended to first clean up the existing Service Map to avoid duplicates. [Learn more](/azure/azure-monitor/vm/vminsights-migrate-from-service-map#remove-the-service-map-solution-from-the-workspace).
39+
40+
1. Review the [prerequisites](/azure/azure-monitor/agents/azure-monitor-agent-manage#prerequisites) to install the Azure Monitor Agent.
41+
42+
1. Download and run the script on the host machine as detailed in [Installation options](/azure/azure-monitor/agents/azure-monitor-agent-manage?tabs=azure-portal#installation-options). To get the Azure Monitor agent and the Dependency agent deployed on the guest machine, create the [Data collection rule (DCR)](/azure/azure-monitor/agents/azure-monitor-agent-data-collection) that maps to the Log analytics workspace ID.
43+
44+
In the transition scenario, the Log analytics workspace would be the same as the one that was configured for Service Map agent. DCR allows you to enable the collection of Processes and Dependencies. By default, it's disabled.
45+
46+
## Estimate the price change
47+
48+
You'll now be charged for associating a Log Analytics workspace with Azure Migrate project. This was earlier free for the first 180 days.
49+
As per the pricing change, you'll be billed against the volume of data gathered by the AMA agent and transmitted to the workspace. To review the volume of data you're gathering, follow these steps:
50+
51+
1. Sign in to the Log analytics workspace.
52+
1. Navigate to the **Logs** section and run the following query:
53+
54+
```
55+
let AzureMigrateDataTables = dynamic(["ServiceMapProcess_CL","ServiceMapComputer_CL","VMBoundPort","VMConnection","VMComputer","VMProcess","InsightsMetrics"]); Usage
56+
57+
| where StartTime >= startofday(ago(30d)) and StartTime < startofday(now())
58+
59+
| where DataType in (AzureMigrateDataTables)
60+
61+
| summarize AzureMigateGBperMonth=sum(Quantity)/1000
62+
```
63+
64+
## Support for Azure Monitor agent in Azure Migrate
65+
66+
Install and manage Azure Monitor agent as mentioned [here](/azure/azure-monitor/agents/azure-monitor-agent-manage?tabs=azure-portal). Currently, you can download the Log Analytics agent through the Azure Migrate portal.
67+
68+
## Next steps
69+
[Learn](how-to-create-group-machine-dependencies.md) how to create dependencies for a group.

articles/migrate/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,8 @@ items:
228228
href: how-to-discover-applications.md
229229
- name: Discover SQL instances and web apps in an existing project
230230
href: how-to-discover-sql-existing-project.md
231+
- name: Migrate to Azure Monitor agent
232+
href: azure-monitor-agent-migration.md
231233
- name: Analyze machine dependencies (agent-based)
232234
href: how-to-create-group-machine-dependencies.md
233235
- name: Analyze machine dependencies (agentless)

0 commit comments

Comments
 (0)