Skip to content

Commit 375645e

Browse files
committed
added zone pivots
1 parent c96f6be commit 375645e

File tree

2 files changed

+50
-18
lines changed

2 files changed

+50
-18
lines changed

articles/automation/change-tracking/enable-vms-monitoring-agent.md

Lines changed: 39 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ ms.subservice: change-inventory-management
66
ms.date: 10/29/2024
77
ms.topic: how-to
88
ms.service: azure-automation
9+
ms.author: sudhirsneha
10+
author: SnehaSudhirG
11+
zone_pivot_groups: enable-change-tracking-inventory-using-monitoring-agent
912
---
1013

1114
# Enable Change Tracking and Inventory using Azure Monitoring Agent
@@ -22,7 +25,11 @@ This article describes how you can enable [Change Tracking and Inventory](overvi
2225

2326
## Enable Change Tracking and Inventory
2427

25-
This section provides detailed procedure on how you can enable change tracking on a single VM and multiple VMs.
28+
::: zone pivot="single-portal"
29+
30+
### Enable change tracking and inventory for single VM from Azure portal
31+
32+
This section provides detailed procedure on how you can enable change tracking on a single Azure VM and Arc-enabled VM.
2633

2734
#### [Single Azure VM -portal](#tab/singlevm)
2835

@@ -45,6 +52,30 @@ This section provides detailed procedure on how you can enable change tracking o
4552
> - When you enable Change Tracking in the Azure portal using the Azure Monitoring Agent, the process automatically creates a Data Collection Rule (DCR). This rule will appear in the resource group with a name in the format ct-dcr-aaaaaaaaa. After the rule is created, add the required resources.
4653
> - It usually takes up to two to three minutes to successfully onboard and enable the virtual machine(s). After you enable a virtual machine for change tracking, you can make changes to the files, registries, or software for the specific VM.
4754
55+
#### [Single Azure Arc VM - portal](#tab/singlearcvm)
56+
57+
1. Sign in to [Azure portal](https://portal.azure.com). Search for and select **Machines-Azure Arc**.
58+
59+
:::image type="content" source="media/enable-vms-monitoring-agent/select-arc-machines-portal.png" alt-text="Screenshot showing how to select Azure Arc machines from the portal." lightbox="media/enable-vms-monitoring-agent/select-arc-machines-portal.png":::
60+
61+
1. Select the Azure-Arc machine for which you want to enable Change Tracking.
62+
1. Under **Operations**, select **Change tracking** to view the change tracking and inventory page.
63+
1. In the **Stay up-to-date with all changes** layout, select **Enable using AMA agent (Recommended)** option and **Enable**.
64+
65+
:::image type="content" source="media/enable-vms-monitoring-agent/select-change-tracking-arc-vm.png" alt-text="Screenshot showing to select change tracking option for a single Azure arc virtual machine from the portal." lightbox="media/enable-vms-monitoring-agent/select-change-tracking-arc-vm.png":::
66+
67+
It will initiate the deployment and the notification appears on the top right corner of the screen.
68+
69+
---
70+
71+
:::zone-end
72+
73+
::: zone pivot="multiple-portal-cli"
74+
75+
### Enable change tracking and inventory for multiple VMs using Azure portal and Azure CLI
76+
77+
This section provides detailed procedure on how you can enable change tracking and inventory on multiple Azure VMs and Azure Arc-enabled VMs.
78+
4879
#### [Multiple Azure VMs - portal](#tab/multiplevms)
4980

5081
1. Sign in to [Azure portal](https://portal.azure.com) and navigate to **Virtual machines**.
@@ -69,22 +100,6 @@ This section provides detailed procedure on how you can enable change tracking o
69100
1. Select **Enable** to initiate the deployment.
70101
1. A notification appears on the top right corner of the screen indicating the status of deployment.
71102

72-
73-
#### [Single Azure Arc VM - portal](#tab/singlearcvm)
74-
75-
1. Sign in to [Azure portal](https://portal.azure.com). Search for and select **Machines-Azure Arc**.
76-
77-
:::image type="content" source="media/enable-vms-monitoring-agent/select-arc-machines-portal.png" alt-text="Screenshot showing how to select Azure Arc machines from the portal." lightbox="media/enable-vms-monitoring-agent/select-arc-machines-portal.png":::
78-
79-
1. Select the Azure-Arc machine for which you want to enable Change Tracking.
80-
1. Under **Operations**, select **Change tracking** to view the change tracking and inventory page.
81-
1. In the **Stay up-to-date with all changes** layout, select **Enable using AMA agent (Recommended)** option and **Enable**.
82-
83-
:::image type="content" source="media/enable-vms-monitoring-agent/select-change-tracking-arc-vm.png" alt-text="Screenshot showing to select change tracking option for a single Azure arc virtual machine from the portal." lightbox="media/enable-vms-monitoring-agent/select-change-tracking-arc-vm.png":::
84-
85-
It will initiate the deployment and the notification appears on the top right corner of the screen.
86-
87-
88103
#### [Arc-enabled VMs - portal/CLI](#tab/arcvms)
89104

90105
To enable the Change Tracking and Inventory on Arc-enabled servers, ensure that the custom Change Tracking Data collection rule is associated to the Arc-enabled VMs.
@@ -119,9 +134,13 @@ Follow these steps to associate the data collection rule to the Arc-enabled VMs:
119134
az connectedmachine extension create --name ChangeTracking-Windows --publisher Microsoft.Azure.ChangeTrackingAndInventory --type-handler-version 2.20 --type ChangeTracking-Windows --machine-name XYZ --resource-group XYZ-RG --location X --enable-auto-upgrade
120135
```
121136
---
137+
:::zone-end
122138

139+
::: zone pivot="at-scale-policy"
123140

124-
## Enable Change Tracking at scale using Azure Monitoring Agent
141+
### Enable Change Tracking at scale using policy
142+
143+
This section provides detailed procedure on how you can enable change tracking and inventory at scale using policy.
125144

126145
### Prerequisite
127146
- You must [create the Data collection rule](#create-data-collection-rule).
@@ -173,8 +192,10 @@ Using the Deploy if not exist (DINE) policy, you can enable Change tracking with
173192
1. Provide the **Data Collection Rule Resource id**. Learn more on [how to obtain the Data Collection Rule Resource ID after you create the Data collection rule](#create-data-collection-rule).
174193
1. Select **Review + create**.
175194

195+
:::zone-end
176196

177197
### Create data collection rule
198+
178199
1. Download [CtDcrCreation.json](change-tracking-data-collection-rule-creation.md) file on your machine.
179200
1. Go to Azure portal and in the search, enter *Deploy a custom template*.
180201
1. In the **Custom deployment** page > **select a template**, select **Build your own template in the editor**.

articles/zone-pivot-groups.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1579,6 +1579,17 @@ groups:
15791579
title: New Maintenance Configuration
15801580
- id: existing-mc
15811581
title: Existing Maintenance Configuration
1582+
# Owner: sudhirsneha
1583+
- id: enable-change-tracking-inventory-using-monitoring-agent
1584+
title: Requirements to enable change tracking and inventory using monitoring agent
1585+
prompt: Choose a deployment environment
1586+
pivots:
1587+
- id: single-portal
1588+
title: Single Azure VM and Azure Arc-enabled VM
1589+
- id: multiple-portal-cli
1590+
title: Multiple VMs using Azure portal and Azure CLI
1591+
- id: at-scale-policy
1592+
title: At scale using policy
15821593
# Owner: marymichael
15831594
- id: web-apps-assessment-app-service
15841595
title: Assess ASP.NET web apps for migration to Azure App Service

0 commit comments

Comments
 (0)