Migrate to Azure Monitor Agent on Azure Arc using Red Hat Ansible Automation Platform

Azure Arc is becoming the default Microsoft Azure service for connecting non-Azure infrastructure into Azure monitoring and administration. Azure has also issued a deprecation notice for the Azure Log Analytics Agents; Microsoft Monitoring Agent and Log Analytics (OMS). Azure Monitor Agent replaces these agents, introducing a simplified, flexible method of configuring collection configuration called Data Collection Rules. To leverage Azure Monitor Agent with their non-Azure servers, customers will need to onboard their machines to Azure Arc-enabled servers.
This article covers how to use Red Hat Ansible Automation Platform to migrate servers that are currently using Azure Log Analytics Agent to Azure Monitor Agent on Azure Arc using Ansible Automation Platform. When you have completed the configuration in this blog, you will be able to run a workflow against an automation controller inventory that performs the following tasks:
- Ensures that the Azure Arc agent is installed on each machine. In cases where the agent is not installed, then it will be installed.
- Enable the Azure Monitor Agent on Arc enabled machines.
- Disable the Log Analytics Agent.
- Uninstall the Log Analytics Agent.
Since the example workflow in this blog post is modular, you may also implement the Continue reading



