This page describes how you can use VMware HCX to migrate your virtual machines (VMs) from your on-premises environment to Google Cloud VMware Engine. VMware HCX abstracts vSphere-based on-premises and cloud resources and presents them to applications as one continuous resource, creating a hybrid infrastructure.
Before you begin
- The VMware product versions that are used on-premises support the desired migration type option (live/cold/bulk) with HCX. vMotion requires versions later than vCenter 5.5/ESXi 5.5. For more information about source vSphere versions and their corresponding supported HCX functionality, see the HCX interoperability documentation.
- You must have a Google Cloud project and a VPC.
- The on-premises environment must have a Cloud Interconnect connection to the VPC in your project.
VMware Engine handles installation, configuration, and monitoring of HCX in the cloud environment.
The overview described in this page is independent of the specific versions of vSphere in your on-premises environment as long as your vSphere version is compatible with HCX.
Deploying a hybrid infrastructure solution using VMware HCX in your private cloud
Deploying the HCX migration solution for Google Cloud VMware Engine requires you to do the following:
- Create a private cloud in your VMware Engine environment.
- Set up infrastructure services in your private cloud.
- Connect your on-premises network to your private cloud.
- Prepare, install, configure, and use VMware HCX components in your on-premises environment.
Create a private cloud in your environment
Create a private cloud in your VMware Engine environment. When you create a private cloud, Google Cloud VMware Engine does the following for you:
- Deploys the HCX Manager Cloud appliance in the system management network and the management resource pool in your private cloud.
- Creates subnets for the HCX management network, the HCX vMotion network, and the HCX uplink network. If you entered an HCX subnet IP address range, then VMware Engine creates the subnets using that range.
- Configures HCX Manager Cloud with the compute profile (network pool) information.
- Establishes network connectivity between the various HCX service appliances and HCX Manager Cloud.
- Generates a license activation code and configures HCX Manager Cloud to use it.
- Registers HCX Manager Cloud with the VMware HCX service.
When creating a private cloud, you can optionally provide a subnet IP address range of /27 or higher for HCX services. If you skip this step, you can instead configure HCX subnets at a later time in HCX Manager.
Set up infrastructure services in your private cloud
Configure infrastructure services in the private cloud for management of workloads and tools.
- To provide IP address lookup, IP address management, and name resolution services for your workloads in the private cloud, set up a DHCP and DNS server.
- Management VMs and hosts in your private cloud use the
gve.googdomain. To resolve requests to this domain, configure DNS forwarding on the DNS server.
- Optional. If you want users from your on-premises Active Directory on your private cloud, add an identity provider.
Connect your on-premises network to your private cloud
- Use your Cloud Interconnect to connect your on-premises network to your private cloud.
- Add your VMware Engine subnet IP address ranges to custom routes for the Cloud Router that terminates the Cloud Interconnect attachment.
- Open required network ports on your on-premises firewall.
Prepare for HCX Cloud Manager installation in your on-premises environment
- Download the HCX Connector OVA from HCX Manager Cloud.
- Access the VMware Engine portal.
- From the Resources page, click your private cloud.
- From the vSphere Management Network page click the URL for HCX and log in to HCX Manager Cloud.
- Click Download OVA.
- Update HCX Manager Cloud to the latest version available from the HCX Manager Cloud UI.
- Download a license activation code for HCX Connector.
- In your VMware Engine portal, from the Resources page, click your private cloud.
- From the Summary page, download the license activation code.
Install HCX Connector in your on-premises environment
Install and configure HCX Connector in your on-premises environment by following the instructions in the VMware HCX User Guide.
- Prepare your on-premises environment for HCX Connector installation.
- Identify available IP addresses.
- If necessary, create vLANs/subnets.
- Deploy the HCX Connector OVA on your on-premises vSphere environment.
- Use the activation code downloaded earlier, and register your HCX Connector instance with VMware.
- Configure HCX Connector.
Use HCX Manager Cloud for workload migration
To learn how to use HCX to migrate workloads from your on-premises environment to your private cloud, see the VMware HCX user guide.
Here are some of the operations you can perform:
- Pair the two sites (on-premises and private cloud)
- Perform and schedule migrations:
- Extend layer-2 networks
- VMware HCX User Guide
- Learning Hybrid Cloud Extension (HCX)
- Learning Hybrid Cloud Extension (HCX) Part 2: Migration Types
- Learn more about VMware on your private cloud.