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/vmware-vsphere/enable-guest-management-at-scale.md
+21-23Lines changed: 21 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Install Arc agent at scale for your VMware VMs
3
3
description: Learn how to enable guest management at scale for Arc enabled VMware vSphere VMs.
4
4
ms.topic: how-to
5
-
ms.date: 04/22/2024
5
+
ms.date: 04/23/2024
6
6
ms.service: azure-arc
7
7
ms.subservice: azure-arc-vmware-vsphere
8
8
author: Farha-Bano
@@ -34,7 +34,7 @@ Ensure the following before you install Arc agents at scale for VMware VMs:
34
34
> [!NOTE]
35
35
> If you're using a Linux VM, the account must not prompt for login on sudo commands. To override the prompt, from a terminal, run `sudo visudo`, and add `<username> ALL=(ALL) NOPASSWD:ALL` at the end of the file. Ensure you replace `<username>`. <br> <br>If your VM template has these changes incorporated, you won't need to do this for the VM created from that template.
36
36
37
-
## Approach A: Install Arc agents at scale from portal
37
+
###Approach A: Install Arc agents at scale from portal
38
38
39
39
An admin can install agents for multiple machines from the Azure portal if the machines share the same administrator credentials.
40
40
@@ -56,7 +56,7 @@ An admin can install agents for multiple machines from the Azure portal if the m
56
56
> [!NOTE]
57
57
> For Windows VMs, the account must be part of local administrator group; and for Linux VM, it must be a root account.
58
58
59
-
## Approach B: Install Arc agents using AzCLI commands
59
+
###Approach B: Install Arc agents using AzCLI commands
60
60
61
61
The following Azure CLI commands can be used to install Arc agents.
62
62
@@ -74,17 +74,17 @@ az connectedvmware vm guest-agent enable --password
74
74
[--no-wait]
75
75
```
76
76
77
-
## Approach C: Install Arc agents at scale using helper script
77
+
###Approach C: Install Arc agents at scale using helper script
78
78
79
79
Arc agent installation can be automated using the helper script built using the AzCLI command provided [here](./enable-guest-management-at-scale.md#approach-b-install-arc-agents-using-azcli-commands). Download this [helper script](https://aka.ms/arcvmwarebatchenable) to enable VMs and install Arc agents at scale. In a single ARM deployment, the helper script can enable and install Arc agents on 200 VMs.
80
80
81
-
### Features of the script
81
+
####Features of the script
82
82
83
83
- Creates a log file (vmware-batch.log) for tracking its operations.
84
84
85
-
- Generates a list of Azure portal links to all the deployments created (all-deployments-<timestamp>.txt).
85
+
- Generates a list of Azure portal links to all the deployments created `(all-deployments-<timestamp>.txt)`.
86
86
87
-
- Creates ARM deployment files (vmw-dep-<timestamp>-<batch>.json).
87
+
- Creates ARM deployment files `(vmw-dep-<timestamp>-<batch>.json)`.
88
88
89
89
- Can enable up to 200 VMs in a single ARM deployment if guest management is enabled, else enables 400 VMs.
90
90
@@ -94,15 +94,15 @@ Arc agent installation can be automated using the helper script built using the
94
94
95
95
Before running this script, install az cli and the connectedvmware extension.
96
96
97
-
### Prerequisites
97
+
####Prerequisites
98
98
99
99
Before running this script, install:
100
100
101
101
- Azure CLI from [here](/cli/azure/install-azure-cli).
102
102
103
103
- The `connectedvmware` extension for Azure CLI: Install it by running `az extension add --name connectedvmware`.
104
104
105
-
# Usage
105
+
##Usage
106
106
107
107
1. Download the script to your local machine.
108
108
@@ -112,7 +112,7 @@ Before running this script, install:
112
112
113
113
4. Run the script with the required parameters. For example, `.\arcvmware-batch-enablement.ps1 -VCenterId "<vCenterId>" -EnableGuestManagement -VMCountPerDeployment 3 -DryRun`. Replace `<vCenterId>` with the ARM ID of your vCenter.
114
114
115
-
# Parameters
115
+
##Parameters
116
116
117
117
-`VCenterId`: The ARM ID of the vCenter where the VMs are located.
118
118
@@ -122,15 +122,13 @@ Before running this script, install:
122
122
123
123
-`DryRun`: If this switch is specified, the script will only create the ARM deployment files. Else, the script will also deploy the ARM deployments.
124
124
125
-
# Running as a Cron Job
125
+
##Running as a Cron Job
126
126
127
127
You can set up this script to run as a cron job using the Windows Task Scheduler. Here's a sample script to create a scheduled task:
@@ -142,7 +140,7 @@ To unregister the task, run the following command:
142
140
Unregister-ScheduledTask -TaskName "EnableVMs"
143
141
```
144
142
145
-
## Approach D: Install Arc agents at scale using out-of-band approach
143
+
###Approach D: Install Arc agents at scale using out-of-band approach
146
144
147
145
Arc agents can be installed directly on machines without relying on VMware tools or APIs. By following the out-of-band approach, initially onboard the machines as Arc-enabled Server resources with Resource type as Microsoft.HybridCompute/machines. After that, perform **Link to vCenter** operation to update the machine's Kind property as VMware, enabling virtual lifecycle operations.
148
146
@@ -160,21 +158,21 @@ b. **Link Arc-enabled Server resources to the vCenter:** The following commands
160
158
161
159
- The following command scans all the Arc for Server machines that belong to the vCenter in the specified subscription and links the machines with that vCenter.
162
160
163
-
```azurecli
164
-
az connectedvmware vm create-from-machines --subscription contoso-sub --vcenter-id /subscriptions/fedcba98-7654-3210-0123-456789abcdef/resourceGroups/contoso-rg-2/providers/Microsoft.HybridCompute/vcenters/contoso-vcenter
165
-
```
161
+
```azurecli
162
+
az connectedvmware vm create-from-machines --subscription contoso-sub --vcenter-id /subscriptions/fedcba98-7654-3210-0123-456789abcdef/resourceGroups/contoso-rg-2/providers/Microsoft.HybridCompute/vcenters/contoso-vcenter
163
+
```
166
164
167
165
- The following command scans all the Arc for Server machines that belong to the vCenter in the specified Resource Group and links the machines with that vCenter.
168
166
169
-
```azurecli
170
-
az connectedvmware vm create-from-machines --resource-group contoso-rg --vcenter-id /subscriptions/fedcba98-7654-3210-0123-456789abcdef/resourceGroups/contoso-rg-2/providers/Microsoft.HybridCompute/vcenters/contoso-vcenter.
171
-
```
167
+
```azurecli
168
+
az connectedvmware vm create-from-machines --resource-group contoso-rg --vcenter-id /subscriptions/fedcba98-7654-3210-0123-456789abcdef/resourceGroups/contoso-rg-2/providers/Microsoft.HybridCompute/vcenters/contoso-vcenter.
169
+
```
172
170
173
171
- The following command can be used to link an individual Arc for Server resource to vCenter.
174
172
175
-
```azurecli
176
-
az connectedvmware vm create-from-machines --resource-group contoso-rg --name contoso-vm --vcenter-id /subscriptions/fedcba98-7654-3210-0123-456789abcdef/resourceGroups/contoso-rg-2/providers/Microsoft.HybridCompute/vcenters/contoso-vcenter
177
-
```
173
+
```azurecli
174
+
az connectedvmware vm create-from-machines --resource-group contoso-rg --name contoso-vm --vcenter-id /subscriptions/fedcba98-7654-3210-0123-456789abcdef/resourceGroups/contoso-rg-2/providers/Microsoft.HybridCompute/vcenters/contoso-vcenter
Copy file name to clipboardExpand all lines: articles/azure-arc/vmware-vsphere/support-matrix-for-arc-enabled-vmware-vsphere.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Plan for deployment
3
3
description: Learn about the support matrix for Arc-enabled VMware vSphere including vCenter Server versions supported, network requirements, and more.
4
4
ms.topic: how-to
5
-
ms.date: 04/22/2024
5
+
ms.date: 04/23/2024
6
6
ms.service: azure-arc
7
7
ms.subservice: azure-arc-vmware-vsphere
8
8
author: Farha-Bano
@@ -62,11 +62,11 @@ In addition, VMware VSphere requires the following exception:
| vCenter Server | 443 | URL of the vCenter server | Appliance VM IP and control plane endpoint need outbound connection. | Used to by the vCenter server to communicate with the Appliance VM and the control plane.|
65
-
| VMware Cluster Extension | 443 | azureprivatecloud.azurecr.io | Appliance VM IPs need outbound connection. | Pull container images for Microsoft.VMWare and Microsoft.AVS Cluster Extension.|
| Azure Resource Manager | 443 | management.azure.com | Management machine needs outbound connection. | Required to create/update resources in Azure using ARM.|
68
-
| Helm Chart for Azure Arc Agents | 443 |*.dp.kubernetesconfiguration.azure.com | Management machine needs outbound connection. | Data plane endpoint for downloading the configuration information of Arc agents.|
| Azure Resource Manager | 443 |`management.azure.com`| Management machine needs outbound connection. | Required to create/update resources in Azure using ARM.|
68
+
| Helm Chart for Azure Arc Agents | 443 |`*.dp.kubernetesconfiguration.azure.com`| Management machine needs outbound connection. | Data plane endpoint for downloading the configuration information of Arc agents.|
For a complete list of network requirements for Azure Arc features and Azure Arc-enabled services, see [Azure Arc network requirements (Consolidated)](../network-requirements-consolidated.md).
0 commit comments