
VMware HCX (Hybrid Cloud Extension) enables seamless migration between on-premises VMware environments and Azure VMware Solution (AVS). This guide walks through installation, activation, and configuration of VMware HCX in AVS.
Step 1: Prerequisites
Before installing HCX in Azure VMware Solution, ensure you have:
- Azure VMware Solution (AVS) deployed
- vCenter and NSX-T access in AVS
- On-premises vSphere 6.5+ environment
- Configured ExpressRoute/VPN between on-prem and AVS
- HCX licenses (provided by Microsoft AVS)
Step 2: Enable VMware HCX in AVS
1. Activate HCX in AVS
- Go to Azure Portal → Open Azure VMware Solution.
- Select your AVS Private Cloud.
- Navigate to Add-ons → Click HCX.
- Click Activate HCX.
2. Access HCX Manager
- After activation, go to Azure VMware Solution.
- Navigate to Add-ons → HCX and click HCX Manager URL.
- Log in with vCenter administrator credentials.
Step 3: Deploy HCX in On-Premises vSphere
1. Download HCX Connector OVA
- Go to My VMware and download VMware HCX Connector OVA.
- Log in to on-prem vCenter.
- Deploy the HCX OVA in the on-premises vSphere environment.
2. Configure HCX Connector in vCenter
- Power on the HCX VM and open the console.
- Configure IP settings, DNS, and NTP.
- Log in to HCX UI at:
https://<HCX_On-Prem_IP>:9443
- Register HCX Connector with vCenter and NSX Manager.
- Click Activate and enter the HCX license key (provided by Microsoft).
Step 4: Establish Site Pairing Between On-Prem and AVS
1. Create Site Pairing in HCX Manager
- Open HCX Manager in AVS.
- Navigate to Site Pairing → Click Add Site Pairing.
- Enter the On-Prem HCX IP and credentials.
- Click Connect and verify pairing status.
Step 5: Configure HCX Services for Migration
1. Enable HCX Network Extension
- In HCX Manager, go to Services → Network Extension.
- Click Extend Network.
- Select on-prem networks to extend to AVS.
- Click Extend.
2. Enable Mobility Optimized Networking (Optional)
- Allows efficient traffic routing for migrated workloads.
3. Enable HCX Migration Services
- Navigate to HCX Manager → Migration.
- Enable Bulk Migration, vMotion, or Cold Migration.
- Configure Mobility Groups for workload migration.
Step 6: Validate Migration Connectivity
- Test vMotion between on-prem and AVS.
- Ping workloads to verify network connectivity.
- Ensure routing works via ExpressRoute/VPN.
Step 7: Migrate Virtual Machines to AVS
- In HCX Manager, go to Migration.
- Click Migrate VM.
- Select on-prem VM and choose AVS as destination.
- Choose migration type:
- Cold Migration (powered-off VMs)
- Bulk Migration (scheduled, minimal downtime)
- HCX vMotion (live migration, zero downtime)
- Click Start Migration.
- Monitor migration in HCX Dashboard.
