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/azure-arc/servers/manage-agent.md
+17-14Lines changed: 17 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,8 @@
1
1
---
2
2
title: Managing the Azure Connected Machine agent
3
-
description: This article describes the different management tasks that you will typically perform during the lifecycle of the Azure Connected Machine agent.
4
-
ms.date: 05/04/2023
3
+
description: This article describes the different management tasks that you'll typically perform during the lifecycle of the Azure Connected Machine agent.
4
+
ms.date: 07/24/2024
5
5
ms.topic: conceptual
6
-
ms.custom:
7
-
- ignite-2023
8
6
---
9
7
10
8
# Managing and maintaining the Connected Machine agent
@@ -20,7 +18,7 @@ Microsoft recommends using the most recent version of the Azure Connected Machin
20
18
21
19
### [Windows](#tab/windows)
22
20
23
-
Links to the current and previous releases of the Windows agents are available below the heading of each [release note](agent-release-notes.md). If you're looking for an agent version that's more than 6 months old, check out the [release notes archive](agent-release-notes-archive.md).
21
+
Links to the current and previous releases of the Windows agents are available below the heading of each [release note](agent-release-notes.md). If you're looking for an agent version that's more than six months old, check out the [release notes archive](agent-release-notes-archive.md).
24
22
25
23
### [Linux - apt](#tab/linux-apt)
26
24
@@ -90,9 +88,9 @@ Links to the current and previous releases of the Windows agents are available b
90
88
91
89
## Upgrade the agent
92
90
93
-
The Azure Connected Machine agent is updated regularly to address bug fixes, stability enhancements, and new functionality. [Azure Advisor](../../advisor/advisor-overview.md) identifies resources that are not using the latest version of the machine agent and recommends that you upgrade to the latest version. It will notify you when you select the Azure Arc-enabled server by presenting a banner on the **Overview** page or when you access Advisor through the Azure portal.
91
+
The Azure Connected Machine agent is updated regularly to address bug fixes, stability enhancements, and new functionality. [Azure Advisor](../../advisor/advisor-overview.md) identifies resources that aren't using the latest version of the machine agent and recommends that you upgrade to the latest version. It notifies you when you select the Azure Arc-enabled server by presenting a banner on the **Overview** page or when you access Advisor through the Azure portal.
94
92
95
-
The Azure Connected Machine agent for Windows and Linux can be upgraded to the latest release manually or automatically depending on your requirements. Installing, upgrading, or uninstalling the Azure Connected Machine Agent will not require you to restart your server.
93
+
The Azure Connected Machine agent for Windows and Linux can be upgraded to the latest release manually or automatically depending on your requirements. Installing, upgrading, or uninstalling the Azure Connected Machine Agent doesn't require you to restart your server.
96
94
97
95
The following table describes the methods supported to perform the agent upgrade:
98
96
@@ -150,7 +148,7 @@ For Windows Servers that belong to a domain and connect to the Internet to check
150
148
151
149
1. Select **OK**.
152
150
153
-
The next time computers in your selected scope refresh their policy, they will start to check for updates in both Windows Update and Microsoft Update.
151
+
The next time computers in your selected scope refresh their policy, they'll start to check for updates in both Windows Update and Microsoft Update.
154
152
155
153
For organizations that use Microsoft Configuration Manager (MECM) or Windows Server Update Services (WSUS) to deliver updates to their servers, you need to configure WSUS to synchronize the Azure Connected Machine Agent packages and approve them for installation on your servers. Follow the guidance for [Windows Server Update Services](/windows-server/administration/windows-server-update-services/manage/setting-up-update-synchronizations#to-specify-update-products-and-classifications-for-synchronization) or [MECM](/mem/configmgr/sum/get-started/configure-classifications-and-products#to-configure-classifications-and-products-to-synchronize) to add the following products and classifications to your configuration:
156
154
@@ -167,7 +165,7 @@ Once the updates are being synchronized, you can optionally add the Azure Connec
167
165
168
166
1. Run **AzureConnectedMachineAgent.msi** to start the Setup Wizard.
169
167
170
-
If the Setup Wizard discovers a previous version of the agent, it will upgrade it automatically. When the upgrade completes, the Setup Wizard closes automatically.
168
+
If the Setup Wizard discovers a previous version of the agent, it upgrades it automatically. When the upgrade completes, the Setup Wizard closes automatically.
171
169
172
170
#### To upgrade from the command line
173
171
@@ -246,7 +244,7 @@ The Azure Connected Machine agent doesn't automatically upgrade itself when a ne
246
244
247
245
## Renaming an Azure Arc-enabled server resource
248
246
249
-
When you change the name of a Linux or Windows machine connected to Azure Arc-enabled servers, the new name is not recognized automatically because the resource name in Azure is immutable. As with other Azure resources, you must delete the resource and re-create it in order to use the new name.
247
+
When you change the name of a Linux or Windows machine connected to Azure Arc-enabled servers, the new name isn't recognized automatically because the resource name in Azure is immutable. As with other Azure resources, you must delete the resource and re-create it in order to use the new name.
250
248
251
249
For Azure Arc-enabled servers, before you rename the machine, it's necessary to remove the VM extensions before proceeding:
252
250
@@ -256,7 +254,7 @@ For Azure Arc-enabled servers, before you rename the machine, it's necessary to
256
254
257
255
3. Use the **azcmagent** tool with the [Disconnect](azcmagent-disconnect.md) parameter to disconnect the machine from Azure Arc and delete the machine resource from Azure. You can run this manually while logged on interactively, with a Microsoft identity [access token](../../active-directory/develop/access-tokens.md), or with the service principal you used for onboarding (or with a [new service principal that you create](onboard-service-principal.md#create-a-service-principal-for-onboarding-at-scale).
258
256
259
-
Disconnecting the machine from Azure Arc-enabled servers doesn't remove the Connected Machine agent, and you do not need to remove the agent as part of this process.
257
+
Disconnecting the machine from Azure Arc-enabled servers doesn't remove the Connected Machine agent, and you don't need to remove the agent as part of this process.
260
258
261
259
4. Re-register the Connected Machine agent with Azure Arc-enabled servers. Run the `azcmagent` tool with the [Connect](azcmagent-connect.md) parameter to complete this step. The agent will default to using the computer's current hostname, but you can choose your own resource name by passing the `--resource-name` parameter to the connect command.
262
260
@@ -278,11 +276,11 @@ For guidance on how to identify and remove any extensions on your Azure Arc-enab
278
276
279
277
### Step 2: Disconnect the server from Azure Arc
280
278
281
-
Disconnecting the agent deletes the corresponding Azure resource for the server and clears the local state of the agent. To disconnect the agent, run the `azcmagent disconnect` command as an administrator on the server. You'll be prompted to log in with an Azure account that has permission to delete the resource in your subscription. If the resource has already been deleted in Azure, you'll need to pass an additional flag to clean up the local state: `azcmagent disconnect --force-local-only`.
279
+
Disconnecting the agent deletes the corresponding Azure resource for the server and clears the local state of the agent. To disconnect the agent, run the `azcmagent disconnect` command as an administrator on the server. You'll be prompted to sign in with an Azure account that has permission to delete the resource in your subscription. If the resource has already been deleted in Azure, pass an additional flag to clean up the local state: `azcmagent disconnect --force-local-only`.
282
280
283
281
### Step 3a: Uninstall the Windows agent
284
282
285
-
Both of the following methods remove the agent, but they do not remove the *C:\Program Files\AzureConnectedMachineAgent* folder on the machine.
283
+
Both of the following methods remove the agent, but they don't remove the *C:\Program Files\AzureConnectedMachineAgent* folder on the machine.
286
284
287
285
#### Uninstall from Control Panel
288
286
@@ -389,7 +387,7 @@ You do not need to restart any services when reconfiguring the proxy settings wi
389
387
390
388
Starting with agent version 1.15, you can also specify services which should **not** use the specified proxy server. This can help with split-network designs and private endpoint scenarios where you want Microsoft Entra ID and Azure Resource Manager traffic to go through your proxy server to public endpoints but want Azure Arc traffic to skip the proxy and communicate with a private IP address on your network.
391
389
392
-
The proxy bypass feature does not require you to enter specific URLs to bypass. Instead, you provide the name of the service(s) that should not use the proxy server. The location parameter refers to the Azure region of the Arc Server(s).
390
+
The proxy bypass feature doesn't require you to enter specific URLs to bypass. Instead, you provide the name of the service(s) that shouldn't use the proxy server. The location parameter refers to the Azure region of the Arc Server(s).
393
391
394
392
Proxy bypass value when set to `ArcData` only bypasses the traffic of the Azure extension for SQL Server and not the Arc agent.
395
393
@@ -474,6 +472,11 @@ If you're already using environment variables to configure the proxy server for
474
472
475
473
1. Remove the unused environment variables by following the steps for [Windows](#windows-environment-variables) or [Linux](#linux-environment-variables).
476
474
475
+
## Alerting for Azure Arc-enabled server disconnection
476
+
477
+
The Connected Machine agent [sends a regular heartbeat message](overview.md#agent-status) to the service every five minutes. If an Arc-enabled server stops sending heartbeats to Azure for longer than 15 minutes, it can mean that it's offline, the network connection has been blocked, or the agent isn't running. Develop a plan for how you’ll respond and investigate these incidents, including setting up [Resource Health alerts](../..//service-health/resource-health-alert-monitor-guide.md) to get notified when such incidents occur.
478
+
479
+
477
480
## Next steps
478
481
479
482
* Troubleshooting information can be found in the [Troubleshoot Connected Machine agent guide](troubleshoot-agent-onboard.md).
0 commit comments