Skip to content

Commit 10500e0

Browse files
authored
Merge pull request #271721 from SnehaSudhirG/10Apr-CTUpdate
Added a new section for arc-enabled vms
2 parents 9389b4b + e202ffe commit 10500e0

File tree

5 files changed

+38
-4
lines changed

5 files changed

+38
-4
lines changed

articles/automation/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@
262262
href: change-tracking/extension-version-details.md
263263
- name: Supported regions
264264
href: change-tracking/region-mappings-monitoring-agent.md
265-
- name: Enable change tracking from portal
265+
- name: Enable change tracking and inventory
266266
href: change-tracking/enable-vms-monitoring-agent.md
267267
- name: Manage change tracking and inventory
268268
href: change-tracking/manage-change-tracking-monitoring-agent.md

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

Lines changed: 37 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Enable Azure Automation Change Tracking for single machine and multiple m
33
description: This article tells how to enable the Change Tracking feature for single machine and multiple machines at scale from the Azure portal.
44
services: automation
55
ms.subservice: change-inventory-management
6-
ms.date: 06/28/2023
6+
ms.date: 04/10/2024
77
ms.topic: conceptual
88
---
99

@@ -23,7 +23,7 @@ This article describes how you can enable [Change Tracking and Inventory](overvi
2323

2424
This section provides detailed procedure on how you can enable change tracking on a single VM and multiple VMs.
2525

26-
#### [For a single VM](#tab/singlevm)
26+
#### [Single Azure VM -portal](#tab/singlevm)
2727

2828
1. Sign in to [Azure portal](https://portal.azure.com) and navigate to **Virtual machines**.
2929

@@ -41,7 +41,7 @@ This section provides detailed procedure on how you can enable change tracking o
4141
:::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":::
4242

4343

44-
#### [For multiple VMs](#tab/multiplevms)
44+
#### [Multiple Azure VMs - portal](#tab/multiplevms)
4545

4646
1. Sign in to [Azure portal](https://portal.azure.com) and navigate to **Virtual machines**.
4747

@@ -64,6 +64,40 @@ This section provides detailed procedure on how you can enable change tracking o
6464

6565
1. Select **Enable** to initiate the deployment.
6666
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
100+
```
67101
---
68102

69103
>[!NOTE]
207 KB
Loading
86.9 KB
Loading
88.8 KB
Loading

0 commit comments

Comments
 (0)