你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Azure Arc-enabled servers are designed for connected scenarios. When Azure Arc-enabled servers become disconnected from the internet for a short amount of time, they operate in limited scenarios with curtailed functionality.
This article describes how Azure Arc-enabled servers behave when they're disconnected from the internet, and ways to mitigate issues due to low connectivity. It also describes how you can get alerts when servers become disconnected.
Impact on Arc-enabled servers when disconnected
The Connected Machine agent sends a regular heartbeat message to Azure to confirm connectivity. When Azure stops receiving these heartbeat messages from a machine for more than 15 minutes, the machine is considered disconnected.
When an Azure Arc-enabled server loses connectivity:
- The Hybrid Instance Metadata Service (HIMDS) keeps running, but the service can't receive Microsoft Entra tokens or IMDS metadata while a server is disconnected. Any services dependent on these items will be disrupted. After 45 to 90 days of being disconnected, the Microsoft Entra management ID expires, and the Connected Machine Agent can no longer connect to the Arc-enabled server.
- Azure Policy assignments that target disconnected machines continue to run. However, guest assignment is stored locally for 14 days. Within the 14-day period, if the Connected Machine agent reconnects to the service, policy assignments are reapplied. After 14 days, assignments are deleted and aren't reassigned to the machine.
- Existing extensions continue to run, but operations on extensions (such as install, uninstall, or update) can't be completed while the server is disconnected. These operations are queued on the service for up to 6 hours, and can only be executed when connectivity is restored.
When an Azure Arc-enabled server loses connectivity, other Azure services running on the server can be impacted. For example, if you have the Azure Monitor agent installed on the server, it continues to run even when disconnected, with logs cached for up to 5 minutes. No data is sent to Azure while the connection is offline. Other services that depend on the Azure Monitor agent, such as Microsoft Sentinel, won't function properly until the server is reconnected.
Contingency options for disconnected servers
When connectivity is unavailable, you can still use local tools deployed on your machines, such as Windows Admin Center and Configuration Manager.
If connectivity is available but intermittent or reduced, such as when using an alternate internet connection, you may not be able to use all Azure Arc-enabled servers features, but you can still perform some management tasks. For instance, you might want to avoid attempting extension installs, upgrades, or removal when connectivity is inconsistent. You can also reduce the amount of logged data and apply policies to prioritize critical traffic until the connection is restored.
Disconnected server alerts
You can set up Resource Health alerts to notify you when an Arc-enabled server becomes disconnected. Specify the following settings in the alert rule:
- Resource type: Azure Arc-enabled servers
- Current resource status: Unavailable
- Previous resource status: Available
For more information, see Create and configure Resource Health alerts.