Migrate VMs To VMware Cloud On AWS By Using HCX OS Assisted ...

Migrate VMs to VMware Cloud on AWS by using HCX OS Assisted Migration

Created by Deepak Kumar (AWS) and Himanshu Gupta (AWS)

Summary

Notice: As of April 30, 2024, VMware Cloud on AWS is no longer resold by AWS or its channel partners. The service will continue to be available through Broadcom. We encourage you to reach out to your AWS representative for details.

This pattern describes how to migrate a virtual machine (VM) from a non-vSphere environment to VMware Cloud on Amazon Web Services (AWS) by using OS Assisted Migration (OSAM).

OSAM is part of VMware Hybrid Cloud Extension (HCX), which is included with VMware Cloud on AWS. You can use OSAM to migrate a non-vSphere environment such as VMware KVM or Hyper-V to VMware Cloud on AWS. OSAM uses Sentinel software, which you install on a Windows or Linux guest VM to assist in replicating the VM from your on-premises environment to a Software-Defined Data Center (SDDC) on VMware Cloud on AWS. 

This pattern explains how to enable OSAM, install Sentinel software on a Windows VM, connect and register with an HCX Sentinel Gateway (SGW) appliance at the source site, and establish a forwarding connection with an HCX Sentinel Data Receiver (SDR) appliance at the destination site to initiate migration. 

For more information about OSAM, see the VMware documentation.

Prerequisites and limitations

Prerequisites 

  • Install HCX in your source and target environments. For HCX prerequisites, see Migrate VMware SDDC to VMware Cloud on AWS using VMware HCX in the AWS Prescriptive Guidance documentation.

  • For OSAM prerequisites, see the installation checklist in the VMware documentation. 

  • For OSAM port information, see VMware HCX port requirements on the VMware Ports and Protocols website. 

Limitations 

  • VMware HCX 4.2.0 Configuration Limits

  • Considerations for OSAM Deployment

  • Supported Guest Operating Systems

  • Guest Operating System Considerations

Product versions

  • VMware HCX 4.2.0

  • VMware SDDC 1.12

Architecture

The following diagram shows how HCX OSAM works with the Sentinel software to replicate non-vSphere VMs from your on-premises environment to VMware Cloud on AWS.

Using HCX OSAM to replicate non-vSphere VMs on AWS

OSAM consists of three components: 

  • The Sentinel Gateway (SGW) appliance, which is used to connect and forward workloads and applications in the source VMware-based environment

  • The Sentinel Data Receiver (SDR), which is used in the destination VMware Cloud on AWS environment to receive migrated workloads from the source

  • Sentinel software, which must be installed on each guest VM that you want to migrate

OSAM uses the Sentinel software that is installed on Windows or Linux guest VMs to assist in replicating a VM from on premises to a VMware SDDC. The Sentinel software that you install on guest VMs collects the system configurations from the guest VM and assists with the data replication. This information is also used to create the inventory of guest VMs for migration and helps prepare the disks on the replica VM for replication and migration purposes.

Tools

  • VMware HCX 4.2.0

  • VMware Cloud on AWS SDDC

Epics

TaskDescriptionSkills required

Deploy HCX Cloud and HCX Connector.

Follow the instructions in HCX Connector and HCX Cloud Installations in the VMware documentation.

Cloud administrator, Systems administrator
TaskDescriptionSkills required

Install HCX Sentinel.

To install Sentinel on Linux:

  1. In the vCenter Server for the HCX Connector, choose Interconnect, Multi-Site Service Mesh, Sentinel Management.

  2. Choose Download Linux Bundle.

  3. Install the Sentinel agent on a Linux machine.

For more information, see Downloading and Installing HCX Sentinel Agent software in the VMware documentation.

Cloud administrator

Migrate VMs.

To migrate your VMs in groups (called mobility groups), follow these steps:

  1. In the vSphere Client, from the HCX plug-in, choose Services, Migration.

  2. Choose Migrate. 

  3. Choose Non vSphere Inventory, Remote connections. This will show the list VMs that you installed HCX Sentinel on.

  4. For Group name, enter the name of the mobility group you want to create for the VMs.

  5. Choose the VMs you want to migrate, and then choose Add to add them to the mobility group.

  6. For each VM:

    1. Select the destination compute container.

    2. Select the destination storage.

    3. Select the migration profile. 

    4. Select the destination folder.

  7. To start the migration process, choose Go.

HCX validates your VM selections before migration starts.

For more information, see Migrating Virtual Machines with Mobility Groups and Monitoring and Estimating Migration with Mobility Groups in the VMware documentation.

Cloud administrator

Related resources

VMware documentation:

  • VMware HCX User Guide

  • Install Checklist B - HCX with a VMC SDDC Destination Environment

  • VMware HCX in the VMware Cloud on AWS

  • HCX OS Assisted Migration for VMware Cloud on AWS

  • VMware HCX 4.2.1 Release Notes

Từ khóa » Hcx