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.
VMware HCX Connector has been installed.
If you plan to enable VMware HCX MON, make sure you have:
NSX-T or VDS on-premises for HCX Network Extension (no standard switch)
One or more active stretched network segment
VMware software version requirements have been met.
Your on-premises vSphere environment (source environment) meets the minimum requirements.
Azure ExpressRoute Global Reach is configured between on-premises and Azure VMware Solution private cloud ExpressRoute circuits.
All required ports are open for communication between on-premises components and Azure VMware Solution private.
Define VMware HCX network segments. The primary use cases for VMware HCX are workload migrations and disaster recovery.
Review the VMware HCX Documentation for information on using HCX.
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.
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.
Sign in to your on-premises vCenter, and under Home, select HCX.
Under Infrastructure, select Site Pairing and select the Connect To Remote Site option (in the middle of the screen).
Enter the Azure VMware Solution HCX Cloud Manager URL or IP address that you noted earlier
https://x.x.x.9and the credentials for a user which holds the CloudAdmin role in your private cloud. Then select Connect.
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).
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:
Under Infrastructure, select Interconnect > Multi-Site Service Mesh > Network Profiles > Create Network Profile.
For each network profile, select the network and port group, provide a name, and create the segment's IP pool. Then select Create.
For an end-to-end overview of this procedure, view the Azure VMware Solution: HCX Network Profile video.
Create a compute profile
Under Infrastructure, select Interconnect > Compute Profiles > Create Compute Profile.
Enter a name for the profile and select Continue.
Select the services to enable, such as migration, network extension, or disaster recovery, and then select Continue.
Generally, nothing changes here.
In Select Service Resources, select one or more service resources (clusters) to enable the selected VMware HCX services.
When you see the clusters in your on-premises datacenter, select Continue.
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.
From Select Management Network Profile, select the management network profile that you created in previous steps. Then select Continue.
From Select Uplink Network Profile, select the uplink network profile you created in the previous procedure. Then select Continue.
From Select vMotion Network Profile, select the vMotion network profile that you created in previous steps. Then select Continue.
From Select vSphere Replication Network Profile, select the replication network profile that you created in previous steps. Then select Continue.
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.
If you are not migrating virtual machines on layer-2 (L2) extended networks, you can skip this step.
Review the connection rules and select Continue.
Select Finish to create the compute profile.
For an end-to-end overview of this procedure, view the Azure VMware Solution: Compute Profile video.
Create a service mesh
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.
Under Infrastructure, select Interconnect > Service Mesh > Create Service Mesh.
Review the pre-populated sites, and then select Continue.
If this is your first service mesh configuration, you won't need to modify this screen.
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.
Review services that will be enabled, and then select Continue.
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.
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.
In Advanced Configuration - Traffic Engineering, review and make any modifications that you feel are necessary, and then select Continue.
Review the topology preview and select Continue.
Enter a user-friendly name for this service mesh and select Finish to complete.
Select View Tasks to monitor the deployment.
When the service mesh deployment finishes successfully, you'll see the services as green.
Verify the service mesh's health by checking the appliance status.
Select Interconnect > Appliances.
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.
Now that you've configured the HCX Connector, you can also learn about: