Deploy and install VMware HCX

Completed

Remember that VMware HCX Advanced deploys by default when Azure VMware Solution deploys in Azure. Before configuring site pairings for your migration, use the next steps for deployment and configuration of VMware HCX Connector on-premises.

To complete the exercises, you need access to an Azure subscription with contributor rights assigned to configure an Azure VMware Solution environment.

Download VMware HCX Connector

Before you deploy VMware HCX Connector in the on-premises vCenter, download the VMware HCX Connector OVA file from the Azure portal.

  1. Search for and select the Azure VMware Solution private cloud in the Azure portal.

  2. Under Manage, select Add-ons.

  3. Select the Migration using HCX tab, place a check mark next to I agree with terms and conditions, and select Enable and deploy.

    Screenshot displaying how to enable the VMware HCX add-on within the Azure portal.

  4. This action triggers a build of VMware HCX Advanced within the Azure VMware Solution private cloud.

  5. After the build completes, you should see a similar screen to the following image:

    Screenshot displaying that the VMware HCX add-on installed after enabling the service within the Azure VMware Solution private cloud.

  6. Within the Azure VMware Solution resource, under Manage, select Add-ons again.

  7. In the Migration using HCX tab, you should now have HCX plan, Configure HCX appliance, and Connect with on-premise using HCX keys. All of these new options for configuration built out during the HCX Advanced deployment on the private cloud.

    Screenshot showing that the VMware HCX add-on is enabled and that there are more options to configure after the add-on finishes installing.

  8. Select + Add under Connect with on-premise using HCX keys to generate a key that you use for the on-premises HCX Connector installation.

  9. Supply a VMware HCX key name and you see the activation key shows up within this pane. This key is used to activate the on-premises VMware HCX Connector appliance.

    Screenshot that shows where to add the VMware HCX key in the Azure portal for use on-premises.

  10. Next, under Manage on the Azure VMware Solution private cloud, select Identity.

  11. The URLs and user credentials for the Azure VMware Solution vCenter and NSX-T Manager appears. Use the copy feature to paste the credential information into the web browser on the jump host VM.

    Screenshot of where to find the vCenter and NSX sign-in information in the Azure portal.

  12. Open a browser window within the jump host behind Azure Bastion. Sign in to the Azure VMware Solution VMware HCX Manager on https://x.x.x.9 over port 443. Replace the x's with the CIDR address block used to configure with Azure VMware Solution.

  13. Use the cloudadmin@vsphere.local user credentials to sign in.

  14. Within VMware HCX Cloud Manager, select Administration > System Updates > Check for Updates.

  15. After VMware HCX checks for a software update, select Request Download Link.

    Screenshot of where to request a download link to the VMware HCX Connector OVA file for the on-premises VMware environment.

  16. Select VMware HCX to download the VMware HCX Connector OVA file.

    Screenshot of selecting VMware HCX, which downloads the OVA file for deployment on-premises.

  17. In the web browser you chose to use, you see a status bar. This status bar highlights how long it takes to download the OVA file.

    Screenshot displaying the status of downloading the OVA file for deployment.

Deploy the VMware HCX Connector OVA on-premises

Next, the VMware HCX Connector OVA file needs to be installed in the on-premises VMware environment. Sign in to the web GUI of vCenter and begin deployment of the OVA file on-premises.

  1. Right-click the vCenter datacenter and select Deploy OVF Template.

    Screenshot that shows how to deploy the OVA file downloaded for VMware HCX Connector on-premises in vCenter.

  2. Select the local VMware HCX Connector OVA file already downloaded from the Azure portal.

    Screenshot that shows how to select a local file when prompted, during the VMware HCX Connector deployment within vCenter on-premises.

  3. For Select a name and folder, provide a name for the VMware HCX Connector appliance, select the datacenter resource, and select Next.

    Screenshot of where to name the VMware HCX Connector appliance and where to select the datacenter within vCenter on-premises.

  4. For Select a compute resource, select the vSphere cluster, then select Next.

    Screenshot that selects the vSphere cluster to deploy the VMware HCX Connector appliance to during deployment on-premises.

  5. Review the advanced configuration options and select Next.

    Screenshot to review advanced configuration details of the VMware HCX Connector appliance.

  6. For License agreements, if you agree, select I accept all license agreements, then select Next.

    Screenshot of accepting all license agreements during VMware HCX Connector deployment on-premises.

  7. Select the right storage on which to deploy VMware HCX Connector, then select Next.

    Screenshot of selecting storage for the VMware HCX Connector appliance on-premises.

  8. Select the VMware HCX management network segment, then select Next.

    Screenshot of selecting the right management network on-premises.

  9. In Customize template, note the user account used to configure VMware HCX Connector is admin. Enter all required information, then select Next.

    Screenshot of customizing the OVA template file for the VMware HCX Connector deployment on-premises.

  10. On Ready to complete, verify all configurations and select Finish.

    Screenshot that shows the appliance is ready to complete the installation on-premises.

  11. After the appliance deploys, you'll need to power on the virtual appliance manually in vCenter. Then wait 10-15 minutes before finishing the configuration.

Activate VMware HCX

After deploying and powering on the VMware HCX Connector appliance on-premises, you activate VMware HCX Connector. You need to get a license key from the Azure VMware Solution environment in Azure.

  1. Under Manage > Connectivity, select the HCX tab, and then select + Add.

    Screenshot to add the VMware HCX Advanced key in the Azure portal.

  2. Provide a name for the key and wait for Azure to generate a VMware HCX Advanced key for use on-premises.

    Screenshot after the VMware HCX Advanced key is requested from the Azure portal.

  3. Use the admin credentials you configured earlier to sign in to the on-premises VMware HCX Manager at https://x.x.x.x:9443. Replace the x's with the IP address configured for the on-premises appliance.

  4. When prompted, enter your key for HCX License Key, then select Add. If you receive any errors during activation, the on-premises environment might not have open internet access or a proxy configured for activation. Check internet connectivity if VMware HCX Connector on-premises doesn't activate.

    Screenshot of where to enter the VMware HCX Connector license key on-premises.

  5. In Datacenter Location, provide the nearest location for installing VMware HCX Connector on-premises, then select Continue.

    Screenshot that specifies the location of VMware HCX Connector on-premises during deployment.

  6. In System Name, modify the VMware HCX Connector appliance name or accept the default name, and select Continue.

    Screenshot of where to provide a system name for VMware HCX Connector on-premises.

  7. On the next screen, select Yes, Continue to continue setting up VMware HCX Connector on-premises.

    Screenshot of VMware HCX being successfully activated in the on-premises vCenter environment.

  8. For Connect your vCenter, provide the FQDN or IP address of your vCenter server on-premises.

  9. Use a username and password of an account that can access vCenter on-premises, then select Continue.

    Screenshot of where to configure a connection to the on-premises vCenter environment for the VMware HCX Connector appliance.

  10. In Configure SSO/PSC, provide the FQDN or IP address of your Platform Services Controller, then select Continue.

    Screenshot for the configuration of single sign-on and Platform Services Controller for VMware HCX Connector on-premises.

  11. On the next screen, verify that the information is correct and select Restart. A restart can take some time to complete.

    Screenshot of the end of configuring VMware HCX Manager on-premises.

  12. After the appliance restarts, sign back in to the VMware HCX Manager on-premises.

  13. If configured correctly, vCenter appears with a green circle after you sign in.

  14. Additionally, SSO indicates that VMware HCX Connector is configured to use the Platform Services Controller on-premises.

    Screenshot of vCenter and Platform Services Controller SSO configured correctly in the on-premises VMware HCX Connector appliance.

In the next unit, we'll cover how to set up a site pairing, add networking profiles, and add a compute profile.

Check your knowledge

1.

Which account is typically used to access the HCX Connector on-premises?

2.

If Juan can't activate the HCX Advanced Key on-premises, what might be the issue?