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
+18-6Lines changed: 18 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ ms.service: azure-arc
6
6
ms.subservice: azure-arc-servers
7
7
author: mgoedtel
8
8
ms.author: magoedte
9
-
ms.date: 03/24/2020
9
+
ms.date: 04/01/2020
10
10
ms.topic: conceptual
11
11
---
12
12
@@ -57,6 +57,9 @@ The Setup Wizard discovers if a previous version exists, and then it automatical
57
57
58
58
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.
59
59
60
+
> [!NOTE]
61
+
> To upgrade the agent, you must have *root* access permissions or with an account that has elevated rights using Sudo.
62
+
60
63
#### Upgrade Ubuntu
61
64
62
65
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
107
110
108
111
## Remove the agent
109
112
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.
115
114
116
115
### Windows agent
117
116
117
+
Both of the following methods remove the agent, but they do not remove the *C:\Program Files\AzureConnectedMachineAgent* folder on the machine.
118
+
118
119
#### Uninstall from Control Panel
119
120
120
121
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
153
154
154
155
### Linux agent
155
156
157
+
> [!NOTE]
158
+
> To uninstall the agent, you must have *root* access permissions or with an account that has elevated rights using Sudo.
159
+
156
160
To uninstall the Linux agent, the command to use depends on the Linux operating system.
157
161
158
162
- For Ubuntu, run the following command:
@@ -172,3 +176,11 @@ To uninstall the Linux agent, the command to use depends on the Linux operating
172
176
```bash
173
177
sudo zypper remove azcmagent
174
178
```
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