Skip to content

Commit ee519bc

Browse files
authored
Merge pull request #268481 from Farha-Bano/Doc_updates_Mar8
Doc updates
2 parents 1250531 + f4f5e71 commit ee519bc

File tree

7 files changed

+79
-24
lines changed

7 files changed

+79
-24
lines changed

articles/azure-arc/vmware-vsphere/enable-virtual-hardware.md

Lines changed: 71 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,105 @@
11
---
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.
44
ms.topic: how-to
5-
ms.date: 01/03/2024
5+
ms.date: 03/13/2024
66
ms.service: azure-arc
77
ms.subservice: azure-arc-vmware-vsphere
88
author: Farha-Bano
99
ms.author: v-farhabano
1010
manager: jsuri
1111
---
1212

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
1414

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 these steps [here](./quick-start-connect-vcenter-to-arc-using-script.md) to deploy the Arc Resource Bridge and connect vCenter to Azure.
1618

1719
>[!IMPORTANT]
18-
> 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.
20+
> This article applies only if you've directly installed Arc agents on the VMware machines, and those machines are onboarded as *Microsoft.HybridCompute/machines* ARM resources before connecting vCenter to Azure by deploying Resource Bridge.
1921
2022
## Prerequisites
2123

2224
- An Azure subscription and resource group where you have *Azure Arc VMware Administrator role*.
2325
- Your vCenter instance must be [onboarded](quick-start-connect-vcenter-to-arc-using-script.md) to Azure Arc.
26+
- Arc-enabled Servers machines and vCenter resource must be in the same Azure region.
2427

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
2629

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.
2831

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 have **Link to vCenter** status under virtual hardware management.
3033

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 lists all the machines under vCenter with Arc agent installed but not linked to vCenter in Azure Arc.
3235

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.
3437

35-
1. After you link 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).
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":::
3639

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 reflects as **Enabled** for all the VMs, and you can perform [virtual hardware operations](./perform-vm-ops-through-azure.md).
4041

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":::
43+
44+
After linking to vCenter, virtual lifecycle operations and power cycle operations are enabled on the machines, and the kind property of Hybrid Compute Machine is updated as VMware.
4245

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>
46+
## Link Arc-enabled Server machines to vCenter using Azure CLI
4447

48+
Use the following az commands 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**
4551

4652
```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
4854
```
4955

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+
62+
**Create VMware resources from all Arc for Server machines in the specified subscription belonging to that vCenter**
63+
64+
```azurecli-interactive
65+
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
66+
```
67+
68+
### Required Parameters
69+
70+
**--vcenter-id -v**
71+
72+
ARM ID of the vCenter to which the machines will be linked.
73+
74+
### Optional Parameters
75+
76+
**--ids**
77+
78+
One or more resource IDs (space-delimited). It must be a complete resource ID containing all the information of *Resource Id* arguments. You must provide either *--ids* or other *Resource Id* arguments.
79+
80+
**--name -n**
81+
82+
Name of the Microsoft.HybridCompute Machine resource. Provide this parameter if you want to convert a single machine to a VMware VM.
83+
84+
**--resource-group -g**
85+
86+
Name of the resource group that will be scanned for HCRP machines.
87+
88+
>[!NOTE]
89+
>The default group configured using `az configure --defaults group=` is not used, and it must be specified explicitly.
90+
91+
**--subscription**
92+
93+
Name or ID of subscription. You can configure the default subscription using `az account set -s NAME_OR_ID`.
94+
95+
#### Known issue
96+
97+
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>
98+
99+
*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.*
100+
101+
When you encounter this error message, you'll 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.
102+
50103
## Next steps
51104

52105
[Set up and manage self-service access to VMware resources through Azure RBAC](setup-and-manage-self-service-access.md).
154 KB
Loading
95.6 KB
Loading

articles/azure-arc/vmware-vsphere/overview.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: What is Azure Arc-enabled VMware vSphere?
33
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.
44
ms.topic: overview
5-
ms.date: 03/07/2024
5+
ms.date: 03/13/2024
66
ms.custom: references_regions
77
ms.service: azure-arc
88
ms.subservice: azure-arc-vmware-vsphere
@@ -73,6 +73,8 @@ Azure Arc-enabled VMware vSphere currently works with vCenter Server versions 7
7373
> [!NOTE]
7474
> 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.
7575
76+
>If you're trying to enable Arc for Azure VMware Solution (AVS) private cloud, see [Deploy Arc-enabled VMware vSphere for Azure VMware Solution private cloud](../../azure-vmware/deploy-arc-for-azure-vmware-solution.md).
77+
7678
## Supported regions
7779

7880
You can use Azure Arc-enabled VMware vSphere in these supported regions:

articles/azure-arc/vmware-vsphere/quick-start-connect-vcenter-to-arc-using-script.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Connect VMware vCenter Server to Azure Arc by using the helper script
33
description: In this quickstart, you learn how to use the helper script to connect your VMware vCenter Server instance to Azure Arc.
44
ms.topic: quickstart
55
ms.custom: references_regions
6-
ms.date: 02/22/2024
6+
ms.date: 03/13/2024
77
ms.service: azure-arc
88
ms.subservice: azure-arc-vmware-vsphere
99
author: Farha-Bano
@@ -20,7 +20,7 @@ To start using the Azure Arc-enabled VMware vSphere features, you need to connec
2020
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.
2121

2222
> [!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 Arc for 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, 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.
2424
2525
## Prerequisites
2626

articles/azure-arc/vmware-vsphere/switch-to-new-version.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Switch to the new version
33
description: Learn how to switch to the new version of Azure Arc-enabled VMware vSphere and use its capabilities.
44
ms.topic: how-to
5-
ms.date: 02/28/2024
5+
ms.date: 03/13/2024
66
ms.service: azure-arc
77
ms.subservice: azure-arc-vmware-vsphere
88
author: Farha-Bano
@@ -19,7 +19,7 @@ On August 21, 2023, we rolled out major changes to **Azure Arc-enabled VMware vS
1919
If you onboarded to Azure Arc-enabled VMware vSphere before **August 21, 2023**, and your VMs were Azure-enabled, you'll encounter the following breaking changes:
2020

2121
- For the VMs with Arc agents, starting from **February 27, 2024**, you'll no longer be able to perform any Azure management service-related operations.
22-
- From **March 15, 2024**, you'll no longer be able to perform any operations on the VMs, except the **Remove from Azure** operation.
22+
- From **April 1, 2024**, you'll no longer be able to perform any operations on the VMs, except the **Remove from Azure** operation.
2323

2424
To continue using these machines, follow these instructions to switch to the new version.
2525

articles/azure-arc/vmware-vsphere/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
href: support-matrix-for-arc-enabled-vmware-vsphere.md
2727
- name: Enable VMware vCenter resources in Azure
2828
href: browse-and-enable-vcenter-resources-in-azure.md
29-
- name: Enable virtual hardware and VM CRUD capabilities in a machine with Arc agent installed
29+
- name: Enable additional capabilities on Arc-enabled Server machines by linking to vCenter
3030
href: enable-virtual-hardware.md
3131
- name: Use Azure Management services for VMware VMs
3232
items:

0 commit comments

Comments
 (0)