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-virtual-hardware.md
+68-17Lines changed: 68 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,20 @@
1
1
---
2
-
title: Enable virtual hardware and VM CRUD capabilities in a machine with Arc agent installed
3
-
description: Enable virtual hardware and VM CRUD capabilities in a machine with Arc agent installed
2
+
title: Enable additional capabilities on Arc-enabled Server machines by linking to vCenter
3
+
description: Enable additional capabilities on Arc-enabled Server machines by linking to vCenter
4
4
ms.topic: how-to
5
-
ms.date: 01/03/2024
5
+
ms.date: 03/08/2024
6
6
ms.service: azure-arc
7
7
ms.subservice: azure-arc-vmware-vsphere
8
8
author: Farha-Bano
9
9
ms.author: v-farhabano
10
10
manager: jsuri
11
11
---
12
12
13
-
# Enable virtual hardware and VM CRUD capabilities in a machine with Arc agent installed
13
+
# Enable additional capabilities on Arc-enabled Server machines by linking to vCenter
14
14
15
-
In this article, you learn how to enable virtual hardware management and VM CRUD operational ability on a VMware VM that has Arc agents installed via the Arc-enabled Servers route.
15
+
If you have VMware machines connected to Azure via Arc-enabled Servers route, you can seamlessly get additional capabilities by deploying resource bridge and connecting vCenter to Azure. The additional capabilities include the ability to perform virtual machine lifecycle operations, such as create, resize, and power cycle operations such as start, stop, and so on. You can get additional capabilities without any disruption, retaining the VM extensions configured on the Arc-enabled Server machines.
16
+
17
+
Follow the steps [here](./quick-start-connect-vcenter-to-arc-using-script.md) to deploy the Arc Resource Bridge and connect vCenter to Azure.
16
18
17
19
>[!IMPORTANT]
18
20
> This article is applicable only if you've installed Arc agents directly in VMware machines before onboarding to Azure Arc-enabled VMware vSphere by deploying Arc resource bridge.
@@ -21,32 +23,81 @@ In this article, you learn how to enable virtual hardware management and VM CRUD
21
23
22
24
- An Azure subscription and resource group where you have *Azure Arc VMware Administrator role*.
23
25
- Your vCenter instance must be [onboarded](quick-start-connect-vcenter-to-arc-using-script.md) to Azure Arc.
26
+
- Arc-enabled Server resource and vCenter resource must be in the same Azure region.
24
27
25
-
## Enable virtual hardware management and self-service access to vCenter VMs with Arc agent installed
28
+
## Link Arc-enabled Servers machines to vCenter from Azure portal
26
29
27
-
1.From your browser, go to [Azure portal](https://portal.azure.com/).
30
+
1.Navigate to the Virtual machines inventory page of your vCenter in the Azure portal.
28
31
29
-
1. Navigate to the Virtual machines inventory page of your vCenter. The virtual machines that have Arc agent installed via the Arc-enabled Servers route will have **Link to vCenter** status under virtual hardware management.
32
+
2. The Virtual machines that have Arc agent installed via Arc-enabled Servers route will have **Link to vCenter** status under virtual hardware management.
30
33
31
-
1. Select **Link to vCenter** to view the pane with the list of all the machines under vCenter with Arc agent installed but not linked to the vCenter in Azure Arc.
34
+
3. Select Link to vCenter to open a pane that will list all the machines under the vCenter with Arc agent installed but not linked to the vCenter in Azure Arc.
32
35
33
-
1. Choose all the machines that need to be enabled in Azure, and select **Link**to link the machines to vCenter.
36
+
4. Choose all the machines, and select the option to link machines to vCenter.
34
37
35
-
1. After you link to vCenter, the virtualhardware status will reflect as **Enabled** for all the VMs, and you can perform [virtualhardware operations](perform-vm-ops-through-azure.md).
38
+
:::image type="content" source="media/enable-virtual-hardware/link-machine-to-vcenter.png" alt-text="Screenshot that shows the Link to vCenter page." lightbox="media/enable-virtual-hardware/link-machine-to-vcenter.png":::
36
39
37
-
### Known issue
38
-
39
-
During the first scan of the vCenter inventory after onboarding to Azure Arc-enabled VMware vSphere, Arc-enabled Servers machines will be discovered under vCenter inventory. If the Arc-enabled Server machines aren't discovered and you try to perform the **Enable in Azure** operation, you'll encounter the following error:<br>
40
+
5. After linking to vCenter, the virtual hardware status will reflect as **Enabled** for all the VMs, and you can perform [virtual hardware operations](./perform-vm-ops-through-azure.md).
40
41
41
-
*A machine '/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXXX/resourceGroups/rg-contoso/providers/Microsoft.HybridCompute/machines/testVM1' already exists with the specified virtual machine MoRefId: 'vm-4441'. The existing machine resource can be extended with private cloud capabilities by creating the VirtualMachineInstance resource under it.*
42
+
:::image type="content" source="media/enable-virtual-hardware/perform-virtual-hardware-operations.png" alt-text="Screenshot that shows the page for performing virtual hardware operations." lightbox="media/enable-virtual-hardware/perform-virtual-hardware-operations.png":::
42
43
43
-
When you encounter this error message, try performing the **Link to vCenter** operation again after a few minutes (5-10 minutes). Alternatively, you can use the following Azure CLI command to link an existing Arc-enabled Server machine to vCenter:<br>
44
+
After linking to vCenter, virtual lifecycle operations and power cycle operations are enabled on the machine and the kind property of Hybrid Compute Machine is updated as VMware.
44
45
46
+
## Link Arc enabled Server machines to vCenter using Azure CLI
47
+
48
+
The following az commands can be used to link Arc enabled Server machines to vCenter at scale.
49
+
50
+
**Create VMware resources from the specified Arc for Server machines in the vCenter**
45
51
46
52
```azurecli-interactive
47
-
az connectedvmware vm create --subscription <subscription-id> --location <Azure region of the machine> --resource-group <resource-group-name> --custom-location /providers/microsoft.extendedlocation/customlocations/<custom-location-name> --name <machine-name> --inventory-item /subscriptions/<subscription-id>/resourceGroups/<resource-group-name>/providers/Microsoft.ConnectedVMwarevSphere/VCenters/<vcenter-name>/InventoryItems/<machine-name>
53
+
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
48
54
```
49
55
56
+
**Create VMware resources from all Arc for Server machines in the specified resource group belonging to that vCenter**
57
+
58
+
```azurecli-interactive
59
+
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```
60
+
61
+
**Create VMware resources from all Arc for Server machines in the specified subscription belonging to that vCenter**
62
+
63
+
```azurecli-interactive
64
+
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```
65
+
66
+
### Required Parameters
67
+
68
+
**--vcenter-id -v**
69
+
70
+
ARM ID of the vCenter to which the machines will be linked.
71
+
72
+
### Optional Parameters
73
+
74
+
**--ids**
75
+
76
+
One or more resource IDs (space-delimited). It should be a complete resource ID containing all the information of *Resource Id* arguments. You should provide either --ids or other *Resource Id* arguments.
77
+
78
+
**--name -n**
79
+
80
+
Name of the Microsoft.HybridCompute Machine resource. Provide this parameter if you want to convert a single machine to a VMware VM.
81
+
82
+
**--resource-group -g**
83
+
84
+
Name of the resource group that will be scanned for HCRP machines.
85
+
86
+
>[!NOTE]
87
+
>The default group configured using `az configure --defaults group=` is not used, and it must be specified explicitly.
88
+
89
+
**--subscription**
90
+
91
+
Name or ID of subscription. You can configure the default subscription using `az account set -s NAME_OR_ID`.
92
+
93
+
### Known issue
94
+
95
+
During the first scan of the vCenter inventory after onboarding to Azure Arc-enabled VMware vSphere, Arc-enabled Servers machines will be discovered under vCenter inventory. If the Arc-enabled Server machines aren't discovered and you try to perform the **Enable in Azure** operation, you'll encounter the following error:<br>
96
+
97
+
*A machine '/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXXX/resourceGroups/rg-contoso/providers/Microsoft.HybridCompute/machines/testVM1' already exists with the specified virtual machine MoRefId: 'vm-4441'. The existing machine resource can be extended with private cloud capabilities by creating the VirtualMachineInstance resource under it.*
98
+
99
+
When you encounter this error message, you will be able to perform the **Link to vCenter** operation in 10 minutes. Alternatively, you can use any of the Azure CLI commands listed above to link an existing Arc-enabled Server machine to vCenter.
100
+
50
101
## Next steps
51
102
52
103
[Set up and manage self-service access to VMware resources through Azure RBAC](setup-and-manage-self-service-access.md).
Copy file name to clipboardExpand all lines: articles/azure-arc/vmware-vsphere/overview.md
+3-1Lines changed: 3 additions & 1 deletion
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: What is Azure Arc-enabled VMware vSphere?
3
3
description: Azure Arc-enabled VMware vSphere extends Azure governance and management capabilities to VMware vSphere infrastructure and delivers a consistent management experience across both platforms.
4
4
ms.topic: overview
5
-
ms.date: 03/07/2024
5
+
ms.date: 03/08/2024
6
6
ms.custom: references_regions
7
7
ms.service: azure-arc
8
8
ms.subservice: azure-arc-vmware-vsphere
@@ -73,6 +73,8 @@ Azure Arc-enabled VMware vSphere currently works with vCenter Server versions 7
73
73
> [!NOTE]
74
74
> Azure Arc-enabled VMware vSphere supports vCenters with a maximum of 9500 VMs. If your vCenter has more than 9500 VMs, we don't recommend you to use Arc-enabled VMware vSphere with it at this point.
75
75
76
+
>If you're trying to enable Arc for Azure VMware Solution (AVS) private cloud, follow this guide [Deploy Arc-enabled VMware vSphere for Azure VMware Solution private cloud](../../azure-vmware/deploy-arc-for-azure-vmware-solution.md).
77
+
76
78
## Supported regions
77
79
78
80
You can use Azure Arc-enabled VMware vSphere in these supported regions:
Copy file name to clipboardExpand all lines: articles/azure-arc/vmware-vsphere/quick-start-connect-vcenter-to-arc-using-script.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Connect VMware vCenter Server to Azure Arc by using the helper script
3
3
description: In this quickstart, you learn how to use the helper script to connect your VMware vCenter Server instance to Azure Arc.
4
4
ms.topic: quickstart
5
5
ms.custom: references_regions
6
-
ms.date: 02/22/2024
6
+
ms.date: 03/08/2024
7
7
ms.service: azure-arc
8
8
ms.subservice: azure-arc-vmware-vsphere
9
9
author: Farha-Bano
@@ -20,7 +20,7 @@ To start using the Azure Arc-enabled VMware vSphere features, you need to connec
20
20
First, the script deploys a virtual appliance called [Azure Arc resource bridge](../resource-bridge/overview.md) in your vCenter environment. Then, it installs a VMware cluster extension to provide a continuous connection between vCenter Server and Azure Arc.
21
21
22
22
> [!IMPORTANT]
23
-
> This article describes a way to connect a generic vCenter Server to Azure Arc. If you're trying to enable Arc for Azure VMware Solution (AVS) private cloud, please follow this guide instead - [Deploy Arcfor Azure VMware Solution](../../azure-vmware/deploy-arc-for-azure-vmware-solution.md). With the Arc for AVS onboarding process you need to provide fewer inputs and Arc capabilities are better integrated into the AVS private cloud portal experience.
23
+
> This article describes a way to connect a generic vCenter Server to Azure Arc. If you're trying to enable Arc for Azure VMware Solution (AVS) private cloud, please follow this guide instead - [Deploy Arc-enabled VMware vSphere for Azure VMware Solution private cloud](../../azure-vmware/deploy-arc-for-azure-vmware-solution.md). With the Arc for AVS onboarding process you need to provide fewer inputs and Arc capabilities are better integrated into the AVS private cloud portal experience.
0 commit comments