The Azure Arc Connected Machine Agent (Azcmagent)
source link: https://www.thomasmaurer.ch/2021/04/the-azure-arc-connected-machine-agent-azcmagent/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
The Azure Arc Connected Machine Agent (Azcmagent)
Azure Arc enabled servers allows you to add on-premises servers or servers running on another cloud provider. The onboarding is done by installing the Azure connected machine agent or also called Azure Arc agent on the server. The Azure Arc agent can be installed on Windows Server or Linux. After the agent is installed you run a couple of commands to manage the machine. Here is how you can manage and maintain the Azure Connect Machine Agent (Azcmagent tool) for Azure Arc.
The Azure Connected Machine agent package contains several logical components:
- The Hybrid Instance Metadata service (HIMDS) manages the connection to Azure and the connected machine’s Azure identity.
- The Guest Configuration agent provides In-Guest Policy and Guest Configuration functionality, such as assessing whether the machine complies with required policies.
- The Extension agent manages VM extensions, including install, uninstall, and upgrade.
You can find more information about the Azure Arc enabled servers agent on Microsoft Docs.
Installing the Azure Connected Machine Agent
To install the the Azure Connected Machine Agent (also known as Azure Arc agent) you have a couple of different options. Basically you need to follow these three steps:
- Download the agent – Windows agent Windows Installer package from the Microsoft Download Center and the Linux agent package is distributed from Microsoft’s package repository using the preferred package format for the distribution (.RPM or .DEB).
- Install the agent
- Register the Azure Arc enabled server with Microsoft Azure.
The Azure Arc agent currently supports the following operating systems (Keep in mind that the list is subject to change and you can find the official list here.
- Windows Server 2008 R2, Windows Server 2012 R2 and higher (including Server Core)
- Ubuntu 16.04 and 18.04 LTS (x64)
- CentOS Linux 7 (x64)
- SUSE Linux Enterprise Server (SLES) 15 (x64)
- Red Hat Enterprise Linux (RHEL) 7 (x64)
- Amazon Linux 2 (x64)
- Oracle Linux 7
You can find more details about how to connect the Azure Arc enabled servers Connected Machine agent for Windows or Linux on Microsoft Docs.
Managing the Azure Arc Connected Machine agent
To manage the Azure Connected Machine Agent, also know as the Azure Arc Agent, you can use the Azcmagent tool.
azcmagent utilityAllows you to connect and disconnect the Azure Arc Connected Machine agent, but also provides you with additional information. You can run the utility with the “show” command, to get additional information such a the installed version, Azure information such as resource group, subscription, tenant, and much more. It also provides you with information for troubleshooting such a path to the log file and an overview of the state of the different agent components.
azcmagent show commandIf you want to learn more about managing and maintaining the Azure Arc Connected Machine agent, check out the following Microsoft Docs article. You can also find more information on how to troubleshoot Azure Arc enabled servers agent connection issues here.
If you want to check the agent version of the connected machine agent, you can also do this at scale using Azure Resource Graph.
Conclusion
I hope this provides you with a quick overview on how to work with the agent. If you have any questions, feel free to leave a comment. Also check out my other blogs and Azure Arc content:
Email address:
Leave this field empty if you're human:
Tags: Agent, Azcmagent, Azure, Azure Arc, Azure Arc Enabled Server, Connected, Hybrid Cloud, Linux, Machine, Microsoft, Server, Windows Server
Recommend
-
40
Azure Arc Enabled Servers just got another update enabling extensions . This also includes an updated version of the Azure...
-
13
Jumping into Azure Arc Data Services Azure Arc brings Azure databases to your on-premises servers and applications. Microsoft may have promised multiple future releases of on-premises Windows Server, but that doe...
-
15
Written by Thomas Maurer• March 3, 2021• 7:15 am• Microsoft Azure Azure Unblogged – Az...
-
7
Azure Arc enabled Kubernetes: Digital Ocean Kubernetes in Azure Use Azure Arc to manage your Digital Ocean Kubernetes cluster in Microsoft Azure. Learn to connect, tag and query Azure Arc enabled Kubernetes. ...
-
7
Written by Thomas Maurer• May 11, 2021• 3:11 pm• Microsoft Azure Check if network co...
-
9
Webinar: Cloud Governance Forum and Azure Arc In the world of hybrid and multi cloud, cloud governance becomes more and more important. I am happy to let you know that I will be speaking at the
-
4
Azure Arc Jumpstart ArcBox HomeMicrosoft AzureAzure Arc Jumpstart ArcBox You might have seen my...
-
8
Azure Arc Machine Learning Part 1: Why Azure Arc for Machine Learning? ...
-
6
Problem One of my Azure VM running Ubuntu 22.04 LTS suddenly gives a warning message "<vm name> virtual machine agent status is not ready. Troubleshoot the issue". I recently did some updates and cleaned up the system, it see...
-
4
Intel Arc 顯卡在 Machine Learning 上的運算 前面提到「
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK