Skip to content

Files

Latest commit

1e7d463 · Jun 6, 2022

History

History
160 lines (86 loc) · 9.39 KB

install-vmware-hcx.md

File metadata and controls

160 lines (86 loc) · 9.39 KB
title description ms.topic ms.service ms.date
Install VMware HCX in Azure VMware Solution
Install VMware HCX in your Azure VMware Solution private cloud.
how-to
azure-vmware
03/29/2022

Install and activate VMware HCX in Azure VMware Solution

VMware HCX Advanced and its associated Cloud Manager are no longer pre-deployed in Azure VMware Solution. Instead, you'll install it through the Azure portal as an add-on. You'll still download the HCX Connector OVA and deploy the virtual appliance on your on-premises vCenter Server.

Any edition of VMware HCX supports 25 site pairings (on-premises to cloud or cloud to cloud). The default is HCX Advanced, but you can open a support request to have HCX Enterprise Edition enabled. Once the service is generally available, you'll have 30 days to decide on your next steps. You can turn off or opt out of the HCX Enterprise Edition service but keep HCX Advanced as it's part of the node cost.

Downgrading from HCX Enterprise Edition to HCX Advanced is possible without redeploying. First, ensure you've reverted to an HCX Advanced configuration state and not using the Enterprise features. If you plan to downgrade, ensure that no scheduled migrations, features like RAV and HCX Mobility Optimized Networking (MON) are in use, and site pairings are three or fewer.

Tip

You can also uninstall HCX Advanced through the portal. When you uninstall HCX Advanced, make sure you don't have any active migrations in progress. Removing HCX Advanced returns the resources to your private cloud occupied by the HCX virtual appliances.

In this how-to, you'll:

  • Install HCX Advanced through the Azure portal
  • Download and deploy the VMware HCX Connector OVA
  • Activate HCX Advanced with a license key

After you're finished, follow the recommended next steps at the end to continue with the steps of this getting started guide.

Prerequisites

Install VMware HCX Advanced

  1. In your Azure VMware Solution private cloud, select Manage > Add-ons.

  2. Select Get started for HCX Workload Mobility.

    :::image type="content" source="media/tutorial-vmware-hcx/deployed-hcx-migration-get-started.png" alt-text="Screenshot showing the Get started button for HCX Workload Mobility.":::

  3. Select the I agree with terms and conditions checkbox and then select Install.

    It takes around 35 minutes to install HCX Advanced and configure the Cloud Manager. Once installed, the HCX Manager URL and the HCX keys needed for the HCX on-premises connector site pairing will display on the Migration using HCX tab.

    [NOTE!] If you aren't able to see the HCX key once installed, click the ADD button to generate the key which you can then use for site pairing.

    :::image type="content" source="media/tutorial-vmware-hcx/deployed-hcx-migration-using-hcx-tab.png" alt-text="Screenshot showing the Migration using HCX tab under Connectivity.":::

Download and deploy the VMware HCX Connector OVA

In this step, you'll download the VMware HCX Connector OVA file, and then you'll deploy the VMware HCX Connector to your on-premises vCenter Server.

  1. Open a browser window, sign in to the Azure VMware Solution HCX Manager on https://x.x.x.9 port 443 with the cloudadmin@vsphere.local user credentials

  2. Under Administration > System Updates, select Request Download Link. If the box is greyed, wait a few seconds for it to generate a link.

  3. Either download or receive a link for the VMware HCX Connector OVA file you deploy on your local vCenter Server.

  4. In your on-premises vCenter Server, select an OVF template to deploy the VMware HCX Connector to your on-premises vSphere cluster.

  5. Navigate to and select the OVA file that you downloaded and then select Open.

    :::image type="content" source="media/tutorial-vmware-hcx/select-ovf-template.png" alt-text="Screenshot of browsing to an OVF template." lightbox="media/tutorial-vmware-hcx/select-ovf-template.png":::

  6. Select a name and location, and select a resource or cluster where you're deploying the VMware HCX Connector. Then review the details and required resources and select Next.

  7. Review license terms, select the required storage and network, and then select Next.

  8. Select the VMware HCX management network segment that you defined during the planning state. Then select Next.

  9. In Customize template, enter all required information and then select Next.

    :::image type="content" source="media/tutorial-vmware-hcx/customize-template.png" alt-text="Screenshot of the boxes for customizing a template." lightbox="media/tutorial-vmware-hcx/customize-template.png":::

  10. Verify and then select Finish to deploy the VMware HCX Connector OVA.

    [!IMPORTANT] You will need to turn on the virtual appliance manually. After powering on, wait 10-15 minutes before proceeding to the next step.

Activate VMware HCX

After deploying the VMware HCX Connector OVA on-premises and starting the appliance, you're ready to activate it. First, you'll need to get a license key from the Azure VMware Solution portal, and then you'll activate it in VMware HCX Manager. Finally, you’ll need a key for each on-premises HCX connector deployed.

  1. In your Azure VMware Solution private cloud, select Manage > Add-ons > Migration using HCX. Then copy the Activation key.

    :::image type="content" source="media/tutorial-vmware-hcx/hcx-activation-key.png" alt-text="Screenshot showing the activation key.":::

  2. Sign in to the on-premises VMware HCX Manager at https://HCXManagerIP:9443 with the admin credentials. Make sure to include the 9443 port number with the VMware HCX Manager IP address.

    [!TIP] You defined the admin user password during the VMware HCX Manager OVA file deployment.

  3. In Licensing, enter your key for HCX Advanced Key and select Activate.

    [!IMPORTANT] VMware HCX Manager must have open internet access or a proxy configured.

  4. In Datacenter Location, provide the nearest location for installing the VMware HCX Manager on-premises. Then select Continue.

  5. In System Name, modify the name or accept the default and select Continue.

  6. Select Yes, Continue.

  7. In Connect your vCenter, provide the FQDN or IP address of your vCenter server and the appropriate credentials, and then select Continue.

    [!TIP] The vCenter Server is where you deployed the VMware HCX Connector in your datacenter.

  8. In Configure SSO/PSC, provide your Platform Services Controller's FQDN or IP address, and select Continue.

    [!NOTE] Typically, it's the same as your vCenter Server FQDN or IP address.

  9. Verify that the information entered is correct and select Restart.

    [!NOTE] You'll experience a delay after restarting before being prompted for the next step.

After the services restart, you'll see vCenter Server showing as green on the screen that appears. Both vCenter Server and SSO must have the appropriate configuration parameters, which should be the same as the previous screen.

:::image type="content" source="media/tutorial-vmware-hcx/activation-done.png" alt-text="Screenshot of the dashboard with green vCenter status." lightbox="media/tutorial-vmware-hcx/activation-done.png":::

Uninstall HCX Advanced

You can uninstall HCX Advanced through the portal, which removes the existing pairing and software.

Note

It could take approximately 30 minutes to return the resources to your private cloud occupied by the HCX virtual appliances.

  1. Make sure you don't have any active migrations in progress.

  2. Ensure that L2 extensions are no longer needed or the networks have been "unstretched" to the destination.

  3. For workloads using MON, ensure that you’ve removed the default gateways. Otherwise, it may result in workloads not being able to communicate or function.

  4. In your Azure VMware Solution private cloud, select Manage > Add-ons.

  5. Select Get started for HCX Workload Mobility, then select Uninstall.

  6. Enter yes to confirm the uninstall.

At this point, HCX Advanced no longer has the vCenter Server plugin, and if needed, you can reinstall it at any time.

Next steps

Continue to the next tutorial to configure the VMware HCX Connector. After you've configured the VMware HCX Connector, you'll have a production-ready environment for creating virtual machines (VMs) and migration.

[!div class="nextstepaction"] Configure VMware HCX in Azure VMware Solution