Configure on-premises VMware HCX Connector

Once you've installed the VMware HCX add-on, you're ready to configure the on-premises VMware HCX Connector for your Azure VMware Solution private cloud.

In this how-to, you'll:

  • Pair your on-premises VMware HCX Connector with your Azure VMware Solution HCX Cloud Manager
  • Configure the network profile, compute profile, and service mesh
  • Check the appliance status and validate that migration is possible

After you complete these steps, you'll have a production-ready environment for creating virtual machines (VMs) and migration.

Prerequisites

Add a site pairing

In your data center, you can connect or pair the VMware HCX Cloud Manager in Azure VMware Solution with the VMware HCX Connector.

Important

Although the VMware Configuration Maximum tool describes site pairs maximum to be 25 between the on-premises HCX Connector and HCX Cloud Manager, licensing limits this to three for HCX Advanced and 10 for HCX Enterprise Edition.

  1. Sign in to your on-premises vCenter, and under Home, select HCX.

  2. Under Infrastructure, select Site Pairing and select the Connect To Remote Site option (in the middle of the screen).

  3. Enter the Azure VMware Solution HCX Cloud Manager URL or IP address that you noted earlier https://x.x.x.9 and the credentials for a user which holds the CloudAdmin role in your private cloud. Then select Connect.

    Note

    To successfully establish a site pair:

    • Your VMware HCX Connector must be able to route to your HCX Cloud Manager IP over port 443.

    • A service account from your external identity source, such as Active Directory, is recommended for site pairing connections. For more information about setting up separate accounts for connected services, see Access and Identity Concepts.

    You'll see a screen showing that your VMware HCX Cloud Manager in Azure VMware Solution and your on-premises VMware HCX Connector are connected (paired).

    Screenshot showing the site pairing of the HCX Manager in Azure VMware Solution and the VMware HCX Connector.

For an end-to-end overview of this procedure, view the Azure VMware Solution: HCX Site Pairing video.

Create network profiles

VMware HCX Connector deploys a subset of virtual appliances (automated) that require multiple IP segments. When you create your network profiles, you use the IP segments you identified during the planning phase. You'll create four network profiles:

  • Management
  • vMotion
  • Replication
  • Uplink
  1. Under Infrastructure, select Interconnect > Multi-Site Service Mesh > Network Profiles > Create Network Profile.

    Screenshot showing where to create a network profile in the vSphere Client.

  2. For each network profile, select the network and port group, provide a name, and create the segment's IP pool. Then select Create.

    Screenshot showing the details for a new network profile.

For an end-to-end overview of this procedure, view the Azure VMware Solution: HCX Network Profile video.

Create a compute profile

  1. Under Infrastructure, select Interconnect > Compute Profiles > Create Compute Profile.

    Screenshot that shows the selections for starting to create a compute profile.

  2. Enter a name for the profile and select Continue.

    Screenshot that shows the entry of a compute profile name and the Continue button.

  3. Select the services to enable, such as migration, network extension, or disaster recovery, and then select Continue.

    Note

    Generally, nothing changes here.

  4. In Select Service Resources, select one or more service resources (clusters) to enable the selected VMware HCX services.

  5. When you see the clusters in your on-premises datacenter, select Continue.

    Screenshot that shows selected service resources and the Continue button.

  6. From Select Datastore, select the datastore storage resource for deploying the VMware HCX Interconnect appliances. Then select Continue.

    When multiple resources are selected, VMware HCX uses the first resource selected until its capacity is exhausted.

    Screenshot that shows a selected data storage resource and the Continue button.

  7. From Select Management Network Profile, select the management network profile that you created in previous steps. Then select Continue.

    Screenshot that shows the selection of a management network profile and the Continue button.

  8. From Select Uplink Network Profile, select the uplink network profile you created in the previous procedure. Then select Continue.

    Screenshot that shows the selection of an uplink network profile and the Continue button.

  9. From Select vMotion Network Profile, select the vMotion network profile that you created in previous steps. Then select Continue.

    Screenshot that shows the selection of a vMotion network profile and the Continue button.

  10. From Select vSphere Replication Network Profile, select the replication network profile that you created in previous steps. Then select Continue.

    Screenshot that shows the selection of a replication network profile and the Continue button.

  11. From Select Distributed Switches for Network Extensions, select the switches containing the virtual machines to be migrated to Azure VMware Solution on a layer-2 extended network. Then select Continue.

    Note

    If you are not migrating virtual machines on layer-2 (L2) extended networks, you can skip this step.

    Screenshot that shows the selection of distributed virtual switches and the Continue button.

  12. Review the connection rules and select Continue.

    Screenshot that shows the connection rules and the Continue button.

  13. Select Finish to create the compute profile.

    Screenshot that shows compute profile information.

For an end-to-end overview of this procedure, view the Azure VMware Solution: Compute Profile video.

Create a service mesh

Important

Make sure ports UDP 500/4500 are open between your on-premises VMware HCX Connector 'uplink' network profile addresses and the Azure VMware Solution HCX Cloud 'uplink' network profile addresses.

  1. Under Infrastructure, select Interconnect > Service Mesh > Create Service Mesh.

    Screenshot of selections to start creating a service mesh.

  2. Review the pre-populated sites, and then select Continue.

    Note

    If this is your first service mesh configuration, you won't need to modify this screen.

  3. Select the source and remote compute profiles from the drop-down lists, and then select Continue.

    The selections define the resources where VMs can consume VMware HCX services.

    Screenshot that shows selecting the source compute profile.

    Screenshot that shows selecting the remote compute profile.

  4. Review services that will be enabled, and then select Continue.

  5. In Advanced Configuration - Override Uplink Network profiles, select Continue.

    Uplink network profiles connect to the network through which the remote site's interconnect appliances can be reached.

  6. In Advanced Configuration - Network Extension Appliance Scale Out, review and select Continue.

    You can have up to eight VLANs per appliance, but you can deploy another appliance to add another eight VLANs. You must also have IP space to account for the more appliances, and it's one IP per appliance. For more information, see VMware HCX Configuration Limits.

    Screenshot that shows where to increase the VLAN count.

  7. In Advanced Configuration - Traffic Engineering, review and make any modifications that you feel are necessary, and then select Continue.

  8. Review the topology preview and select Continue.

  9. Enter a user-friendly name for this service mesh and select Finish to complete.

  10. Select View Tasks to monitor the deployment.

    Screenshot that shows the button for viewing tasks.

    When the service mesh deployment finishes successfully, you'll see the services as green.

    Screenshot that shows green indicators on services.

  11. Verify the service mesh's health by checking the appliance status.

  12. Select Interconnect > Appliances.

    Screenshot that shows selections for checking the status of the appliance.

    Note

    After establishing the service mesh, you may notice a new datastore and a new host in your private cloud. This is perfectly normal behavior after establishing a service mesh.

    Screenshot showing the HCX service mesh datastore and host.

The HCX interconnect tunnel status should indicate UP and in green. You're ready to migrate and protect Azure VMware Solution VMs using VMware HCX. Azure VMware Solution supports workload migrations (with or without a network extension). So you can still migrate workloads in your vSphere environment, along with on-premises creation of networks and deployment of VMs onto those networks. For more information, see the VMware HCX Documentation.

For an end-to-end overview of this procedure, view the Azure VMware Solution: Service Mesh video.

Next steps

Now that you've configure the HCX Connector, you can also learn about: