संपादित करें

इसके माध्यम से साझा किया गया


Configure on-premises VMware HCX Connector

After you install the VMware HCX add-on, configure the on-premises VMware HCX Connector for your Azure VMware Solution private cloud.

In this article, learn how to:

  • 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

  • Install VMware HCX Connector.

  • VMware HCX Enterprise is now available and supported on Azure VMware Solution at no extra cost. HCX Enterprise is automatically installed for all new HCX add-on requests, and existing HCX Advanced customers can upgrade to HCX Enterprise using the Azure portal.

  • If you plan to enable VMware HCX MON, make sure you have:

    • VMware NSX or vSphere Distributed Switch (vDS) on-premises for HCX Network Extension (vSphere Standard Switch not supported).

    • One or more active stretched network segments.

  • Meet the VMware software version requirements.

  • 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, connect or pair the VMware HCX Cloud Manager in Azure VMware Solution with the VMware HCX Connector.

Important

According to the Azure VMware Solution limits, a single HCX manager system can have a maximum of 25 site pairs and 10 service meshes, including inbound and outbound site pairings.

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

  2. Under Infrastructure, select Site Pairing and choose 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 with 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 architecture.

    A screen displays the connection (pairing) between your VMware HCX Cloud Manager in Azure VMware Solution and your on-premises VMware HCX Connector.

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

Create network profiles

VMware HCX Connector deploys a subset of virtual appliances (automated) that require multiple IP segments. Create your network profiles using the IP segments identified during the planning phase. Create four network profiles:

  • Management
  • vMotion
  • Replication
  • Uplink

Note

  • For Azure VMware Solution connected via VPN, set Uplink Network Profile MTU's to 1350 to account for IPSec overhead.
  • Azure VMware Solution defaults to 1500 MTU, which is sufficient for most ExpressRoute implementations.
    • If your ExpressRoute provider does not support jumbo frames, you may need to lower the MTU in ExpressRoute setups as well.
    • Adjust MTU settings on both HCX Connector (on-premises) and HCX Cloud Manager (Azure VMware Solution) network profiles.
  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 displaying the details for creating a new network profile.

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

Create a compute profile

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

    Screenshot displaying the options to begin creating a compute profile.

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

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

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

  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 displaying 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 displaying 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 displaying 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 displaying 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 displaying 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 displaying 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're not migrating virtual machines on layer-2 (L2) extended networks, skip this step.

    Screenshot displaying the selection of distributed virtual switches and the Continue button.

  12. Review the connection rules and select Continue.

    Screenshot displaying the connection rules and the Continue button.

  13. Select Finish to create the compute profile.

    Screenshot displaying 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 port UDP 4500 is open between your on-premises VMware HCX Connector 'uplink' network profile addresses and the Azure VMware Solution HCX Cloud 'uplink' network profile addresses. (UDP 500 was required in legacy versions of HCX. See https://ports.vmware.com for the latest information.)

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

    Screenshot showing where to create a service mesh in the vSphere Client.

  2. Review the prepopulated 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.

    Note

    In a mixed-mode SDDC with an AV64 cluster, deploying service mesh appliances on the AV64 cluster is not viable or supported. Nevertheless, this doesn't impede you from conducting HCX migration or network extension directly onto AV64 clusters. The deployment container can be cluster-1, hosting the HCX appliances.

    Screenshot that shows selecting the source compute profile.

    Screenshot that shows selecting the remote compute profile.

  4. Review services to 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 displaying the button to view tasks.

    When the service mesh deployment finishes successfully, the services show as green.

    Screenshot displaying green indicators on services.

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

  12. Select Interconnect > Appliances.

    Screenshot displaying options to check 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 normal behavior after establishing a service mesh.

    Screenshot displaying the HCX service mesh datastore and host.

The HCX interconnect tunnel status should display UP in green. Now 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 that allow you to migrate workloads in your vSphere environment, create networks on-premises, and deploy VMs onto those networks. For more information, see the VMware HCX Documentation.

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

Next steps

Now that you configured the HCX Connector, explore the following articles: