Edit

Share via


Enable guest management and install extensions on Arc-enabled VMs

In this article, you learn how to enable guest management and install extensions on Arc-enabled VMs in Azure VMware Solution. Use guest management to manage the guest operating system of your VM, including installing and managing extensions. This feature is available for Arc-enabled VMware VMs in Azure VMware Solution private clouds.

Prerequisite

With Arc-enabled VMware vSphere, you can install the Arc connected machine agent on VMs at scale and use Azure management services on the VMs. There are more requirements for this capability. Before you can install an extension, ensure your target machine meets the following conditions:

  • Is running a supported operating system.
  • Is able to connect through the firewall to communicate over the internet and these URLs aren't blocked.
  • Has VMware tools installed and running.
  • Is powered on and the resource bridge has network connectivity to the host running the VM.
  • Is Enabled in Azure.

Enable guest management

You need to enable guest management on the VMware VM before you can install an extension. Use the following steps to enable guest management.

  1. Navigate to Azure portal.
  2. From the left navigation, locate vCenter Server Inventory and choose Virtual Machines to view the list of VMs.
  3. Select the VM you want to install the guest management agent on.
  4. Select Enable guest management and provide the administrator username and password to enable guest management then select Apply.
  5. Locate the VMware vSphere VM you want to check for guest management and install extensions on, and select the name of the VM.
  6. Select Configuration from the left navigation for a VMware VM.
  7. Verify Enable guest management is now checked.

From here more extensions can be installed. See the VM extensions Overview for a list of current extensions.

Manually integrate an Arc-enabled VM into Azure VMware Solutions

When a VM in Azure VMware Solution private cloud is Arc-enabled using a method distinct from the one outlined in this document, the following steps are provided to refresh the integration between the Arc-enabled VMs and Azure VMware Solution.

These steps change the VM machine type from Machine – Azure Arc to type Machine – Azure Arc (AVS), which has the necessary integrations with Azure VMware Solution. 

There are two ways to refresh the integration between the Arc-enabled VMs and Azure VMware Solution:  

  1. In the Azure VMware Solution private cloud, navigate to the vCenter Server inventory and Virtual Machines section within the portal. Locate the virtual machine that requires updating and follow the process to 'Enable in Azure'. If the option is grayed out, you must first Remove from Azure and then proceed to Enable in Azure

  2. Run the az connectedvmware vm create Azure CLI command on the VM in Azure VMware Solution to update the machine type. 

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>

Next Steps