You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/automation/change-tracking/enable-vms-monitoring-agent.md
+37-3Lines changed: 37 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Enable Azure Automation Change Tracking for single machine and multiple m
3
3
description: This article tells how to enable the Change Tracking feature for single machine and multiple machines at scale from the Azure portal.
4
4
services: automation
5
5
ms.subservice: change-inventory-management
6
-
ms.date: 06/28/2023
6
+
ms.date: 04/10/2024
7
7
ms.topic: conceptual
8
8
---
9
9
@@ -23,7 +23,7 @@ This article describes how you can enable [Change Tracking and Inventory](overvi
23
23
24
24
This section provides detailed procedure on how you can enable change tracking on a single VM and multiple VMs.
25
25
26
-
#### [For a single VM](#tab/singlevm)
26
+
#### [Single Azure VM -portal](#tab/singlevm)
27
27
28
28
1. Sign in to [Azure portal](https://portal.azure.com) and navigate to **Virtual machines**.
29
29
@@ -41,7 +41,7 @@ This section provides detailed procedure on how you can enable change tracking o
41
41
:::image type="content" source="media/enable-vms-monitoring-agent/deployment-success-inline.png" alt-text="Screenshot showing the notification of deployment." lightbox="media/enable-vms-monitoring-agent/deployment-success-expanded.png":::
1. Sign in to [Azure portal](https://portal.azure.com) and navigate to **Virtual machines**.
47
47
@@ -64,6 +64,40 @@ This section provides detailed procedure on how you can enable change tracking o
64
64
65
65
1. Select **Enable** to initiate the deployment.
66
66
1. A notification appears on the top right corner of the screen indicating the status of deployment.
67
+
68
+
#### [Arc-enabled VMs - portal/CLI](#tab/arcvms)
69
+
70
+
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.
71
+
72
+
Follow these steps to associate the data collection rule to the Arc-enabled VMs:
73
+
74
+
1.[Create Change Tracking Data collection rule](#create-data-collection-rule).
75
+
1. Sign in to [Azure portal](https://portal.azure.com) and go to **Monitor** and under **Settings**, select **Data Collection Rules**.
76
+
77
+
:::image type="content" source="media/enable-vms-monitoring-agent/monitor-menu-data-collection-rules.png" alt-text="Screenshot showing the menu option to access data collection rules from Azure Monitor." lightbox="media/enable-vms-monitoring-agent/monitor-menu-data-collection-rules.png":::
78
+
79
+
1. Select the data collection rule that you have created in Step 1 from the listing page.
80
+
1. In the data collection rule page, under **Configurations**, select **Resources** and then select **Add**.
81
+
82
+
:::image type="content" source="media/enable-vms-monitoring-agent/select-resources.png" alt-text="Screenshot showing the menu option to select resources from the data collection rule page." lightbox="media/enable-vms-monitoring-agent/select-resources.png":::
83
+
84
+
1. In the **Select a scope**, from **Resource types**, select *Machines-Azure Arc* that is connected to the subscription and then select **Apply** to associate the *ctdcr* created in Step 1 to the Arc-enabled machine and it will also install the Azure Monitoring Agent extension.
85
+
86
+
:::image type="content" source="media/enable-vms-monitoring-agent/scope-select-arc-machines.png" alt-text="Screenshot showing the selection of Arc-enabled machines from the scope." lightbox="media/enable-vms-monitoring-agent/scope-select-arc-machines.png":::
87
+
88
+
1. Install the Change Tracking extension as per the OS type for the Arc-enabled VM.
89
+
90
+
**Linux**
91
+
92
+
```azurecli
93
+
az connectedmachine extension create --name ChangeTracking-Linux --publisher Microsoft.Azure.ChangeTrackingAndInventory --type-handler-version 2.20 --type ChangeTracking-Linux --machine-name XYZ --resource-group XYZ-RG --location X --enable-auto-upgrade
94
+
```
95
+
96
+
**Windows**
97
+
98
+
```azurecli
99
+
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
0 commit comments