Use VMware HCX to migrate VMware VMs

This page describes how to use VMware HCX to migrate your virtual machines (VMs) from your VMware environment to Google Cloud VMware Engine. VMware HCX abstracts vSphere-based resources in your VMware environment and cloud resources, presenting them to applications as one continuous resource. This abstraction creates a hybrid infrastructure, which simplifies workload migration, mobility, and protection between your on-premises data center and Google Cloud VMware Engine.

Before you begin

  1. Make sure that the VMware product versions that you use on-premises are supported by HCX for your selected migration type (live, cold, or bulk). For more information about source vSphere versions and their corresponding supported HCX features, see the VMware product interoperability matrix.

    The HCX download depot is decommissioned. HCX Connector upgrades are managed as part of the VMware Engine service. Contact support if you need help to upgrade the HCX Connector.

  2. You need a Google Cloud project and a Virtual Private Cloud (VPC) network.

  3. Connect your VMware environment to the VPC network in your project by using Cloud VPN or Cloud Interconnect. If you use Cloud VPN, review the minimum network underlay requirements for VMware HCX.

The overview described in this page is independent of the specific versions of vSphere in your VMware environment as long as your vSphere version is compatible with HCX.

Deploy a hybrid infrastructure solution using VMware HCX in your private cloud

To deploy the HCX migration solution for Google Cloud VMware Engine, complete the following steps:

Create a private cloud in your environment

To create a private cloud in your Google Cloud VMware Engine environment, see Creating a Google Cloud VMware Engine private cloud. When you create a private cloud, VMware Engine performs the following actions:

  • Deploys the HCX Cloud Manager appliance in the system management network and the management resource pool in your private cloud.
  • Configures HCX Cloud Manager with the compute profile (network pool) information.
  • Establishes network connectivity between the various HCX service appliances and HCX Cloud Manager.
  • Generates a license activation key and configures HCX Cloud Manager to use it.
  • Registers HCX Cloud Manager with the VMware HCX service.

Because VMware Engine automatically deploys HCX during private cloud creation, you don't need to provide a subnet IP address range for HCX services.

Connect your VMware environment network to your private cloud

  1. Connect your VMware environment network to your private cloud by using your Cloud Interconnect.
  2. Add your VMware Engine subnet IP address ranges to custom routes for the Cloud Router that terminates the Cloud Interconnect attachment.
  3. Open the required network ports on your VMware environment firewall.

Prepare for HCX Connector installation in your VMware environment

  1. Verify the current HCX Cloud Manager version in your private cloud:
    1. Sign in to the vCenter client UI.
    2. Go to the HCX section.
    3. Select System Updates and record the local HCX version.
  2. Download the equivalent version of the HCX Connector OVA (matching the version you recorded in the previous step). For more information, see Broadcom KB395372 and the Broadcom documentation for downloading the HCX OVAs for private clouds.
    • If you have a Broadcom support account, download the OVA from the Broadcom Support Portal:
      1. Go to the Broadcom Support Portal.
      2. Sign in with your credentials.
      3. Navigate to the HCX product section to download the HCX OVA and the required upgrade bundles.
    • If you don't have a Broadcom support account, contact support to obtain the HCX OVA.
  3. Update or install the HCX Connector to the same version as the HCX Cloud Manager deployed in the VMware Engine private cloud.

Install HCX Connector in your VMware environment

Install and configure HCX Connector in your VMware environment by following the instructions in the VMware HCX User Guide.

  1. Prepare your VMware environment for HCX Connector installation.
    1. Identify available IP addresses.
    2. If necessary, create VLANs or subnets.
  2. Deploy the HCX Connector OVA on your VMware environment.
  3. Activate HCX Connector. For details, see the Broadcom documentation for managing HCX licenses. You can use one of the following options:
    • Use a VCF license.
    • Use an Evaluation license with service inheritance from HCX Cloud running on VMware Engine.
    • Use activation keys provided in HCX 4.10 or earlier. These keys remain active for up to 450 days after upgrading to HCX 4.11. You must replace activation keys with a valid license before they expire.
  4. Configure HCX Connector.

Use HCX Cloud Manager for workload migration

To migrate workloads from your VMware environment to your private cloud using HCX, see the VMware HCX User Guide.

You can perform the following operations:

  • Pair the two sites (VMware environment and private cloud)
  • Perform and schedule migrations:
    • Cold migrations
    • Bulk migrations
    • vMotion migrations
  • Extend Layer 2 networks

External references