Skip to content

Commit 92eb9b4

Browse files
authored
Merge pull request #109744 from MGoedtel/task1702880
Update Manage Agent article
2 parents 95a5d71 + 00b59a1 commit 92eb9b4

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

articles/azure-arc/servers/manage-agent.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.service: azure-arc
66
ms.subservice: azure-arc-servers
77
author: mgoedtel
88
ms.author: magoedte
9-
ms.date: 03/24/2020
9+
ms.date: 04/01/2020
1010
ms.topic: conceptual
1111
---
1212

@@ -57,6 +57,9 @@ The Setup Wizard discovers if a previous version exists, and then it automatical
5757
5858
To update the agent on a Linux machine to the latest version, it involves two commands. One command to update the local package index with the list of latest available packages from the repositories, and one command to upgrade the local package.
5959
60+
> [!NOTE]
61+
> To upgrade the agent, you must have *root* access permissions or with an account that has elevated rights using Sudo.
62+
6063
#### Upgrade Ubuntu
6164
6265
1. To update the local package index with the latest changes made in the repositories, run the following command:
@@ -107,14 +110,12 @@ Actions of the [zypper](https://en.opensuse.org/Portal:Zypper) command, such as
107110
108111
## Remove the agent
109112
110-
Use one of the following procedures to uninstall the Windows or Linux agent using the command line or setup wizard described in this section. Before uninstalling the agent, first disconnect the machine from Azure Arc for servers (preview) by completing these steps:
111-
112-
1. Open Azure Arc for servers (preview) by going to the [Azure portal](https://aka.ms/hybridmachineportal).
113-
114-
2. Select the machine in the list, select the ellipsis (**...**), and then select **Delete**.
113+
Perform one of the following methods to uninstall the Windows or Linux Connected Machine agent from the machine. Removing the agent does not unregister the machine with Arc for servers (preview), this is a separate process you perform when you no longer need to manage the machine in Azure.
115114
116115
### Windows agent
117116
117+
Both of the following methods remove the agent, but they do not remove the *C:\Program Files\AzureConnectedMachineAgent* folder on the machine.
118+
118119
#### Uninstall from Control Panel
119120
120121
1. To uninstall the Windows agent from the machine, do the following:
@@ -153,6 +154,9 @@ To uninstall the agent manually from the Command Prompt or to use an automated m
153154
154155
### Linux agent
155156
157+
> [!NOTE]
158+
> To uninstall the agent, you must have *root* access permissions or with an account that has elevated rights using Sudo.
159+
156160
To uninstall the Linux agent, the command to use depends on the Linux operating system.
157161
158162
- For Ubuntu, run the following command:
@@ -172,3 +176,11 @@ To uninstall the Linux agent, the command to use depends on the Linux operating
172176
```bash
173177
sudo zypper remove azcmagent
174178
```
179+
180+
## Unregister machine
181+
182+
If you are planning to stop managing the machine with supporting services in Azure, perform the following steps to unregister the machine with Arc for servers (preview). You can perform these step either before or after you have removed the Connected Machine agent from the machine.
183+
184+
1. Open Azure Arc for servers (preview) by going to the [Azure portal](https://aka.ms/hybridmachineportal).
185+
186+
2. Select the machine in the list, select the ellipsis (**...**), and then select **Delete**.

0 commit comments

Comments
 (0)