Support for VMware vSphere migration in Azure Migrate - Azure Migrate (2024)

  • Article

Caution

This article references CentOS, a Linux distribution that is nearing End Of Life (EOL) status. Please consider your use and planning accordingly. For more information, see the CentOS End Of Life guidance.

This article summarizes support settings and limitations for migrating VMware vSphere VMs with Migration and modernization . If you're looking for information about assessing VMware vSphere VMs for migration to Azure, review the assessment support matrix.

Migration options

You can migrate VMware vSphere VMs in a couple of ways:

  • Using agentless migration: Migrate VMs without needing to install anything on them. You deploy the Azure Migrate appliance for agentless migration.
  • Using agent-based migration: Install an agent on the VM for replication. For agent-based migration, you deploy a replication appliance.

Note

This also supports migrating VMs from AVS.

Review this article to figure out which method you want to use.

Agentless migration

This section summarizes requirements for agentless VMware vSphere VM migration to Azure.

VMware vSphere requirements (agentless)

The VMware vSphere hypervisor requirements are:

  • VMware vCenter Server - Version 5.5, 6.0, 6.5, 6.7, 7.0, 8.0.

  • VMware vSphere ESXi host - Version 5.5, 6.0, 6.5, 6.7, 7.0, 8.0.

  • Multiple vCenter Servers - A single appliance can connect to up to 10 vCenter Servers.

  • vCenter Server permissions - VMware account used to access the vCenter server from the Azure Migrate appliance needs below permissions to replicate virtual machines:

    Privilege Name in the vSphere ClientThe purpose for the privilegeRequired OnPrivilege Name in the API
    Browse datastoreAllow browsing of VM log files to troubleshoot snapshot creation and deletion.Data storesDatastore.Browse
    Low level file operationsAllow read/write/delete/rename operations in the datastore browser, to troubleshoot snapshot creation and deletion.Data storesDatastore.FileManagement
    Change Configuration - Toggle disk change trackingAllow enable or disable change tracking of VM disks, to pull changed blocks of data between snapshots.Virtual machinesVirtualMachine.Config.ChangeTracking
    Change Configuration - Acquire disk leaseAllow disk lease operations for a VM, to read the disk using the VMware vSphere Virtual Disk Development Kit (VDDK).Virtual machinesVirtualMachine.Config.DiskLease
    Provisioning - Allow read-only disk accessAllow read-only disk access: Allow opening a disk on a VM, to read the disk using the VDDK.Virtual machinesVirtualMachine.Provisioning.DiskRandomRead
    Provisioning - Allow disk accessAllow opening a disk on a VM, to read the disk using the VDDK.Virtual machinesVirtualMachine.Provisioning.DiskRandomAccess
    Provisioning - Allow virtual machine downloadAllow virtual machine download: Allows read operations on files associated with a VM, to download the logs and troubleshoot if failure occurs.Root host or vCenter ServerVirtualMachine.Provisioning.GetVmFiles
    Snapshot managementAllow Discovery, Software Inventory, and Dependency Mapping on VMs.Virtual machinesVirtualMachine.State.*
    Guest operationsAllow creation and management of VM snapshots for replication.Virtual machinesVirtualMachine.GuestOperations.*
    Interaction Power OffAllow the VM to be powered off during migration to Azure.Virtual machinesVirtualMachine.Interact.PowerOff

VM requirements (agentless)

The table summarizes agentless migration requirements for VMware vSphere VMs.

SupportDetails
Supported operating systemsWindows Server 2003 and later versions. Learn more.

You can migrate all the Linux operating systems supported by Azure listed here.

Windows VMs in AzureYou might need to make some changes on VMs before migration.
Linux VMs in AzureSome VMs might require changes so that they can run in Azure.

For Linux, Azure Migrate makes the changes automatically for these operating systems:
- Red Hat Enterprise Linux 9.x, 8.x, 7.9, 7.8, 7.7, 7.6, 7.5, 7.4, 7.0, 6.x
- CentOS 9.x (Release and Stream), 8.x (Release and Stream), 7.9, 7.7, 7.6, 7.5, 7.4, 6.x - SUSE Linux Enterprise Server 15 SP4, 15 SP3, 15 SP2, 15 SP1, 15 SP0, 12, 11 SP4, 11 SP3
- Ubuntu 22.04, 21.04, 20.04, 19.04, 19.10, 18.04LTS, 16.04LTS, 14.04LTS
- Debian 11, 10, 9, 8, 7
- Oracle Linux 9, 8, 7.7-CI, 7.7, 6
- Kali Linux (2016, 2017, 2018, 2019, 2020, 2021, 2022)
For other operating systems, you make the required changes manually.
The SELinux Enforced setting is currently not fully supported. It causes Dynamic IP setup and Microsoft Azure Linux Guest agent (waagent/WALinuxAgent) installation to fail. You can still migrate and use the VM.

Boot requirementsWindows VMs:
OS Drive (C:\) and System Reserved Partition (EFI System Partition for UEFI VMs) should reside on the same disk.
If /boot is on a dedicated partition, it should reside on the OS disk and not be spread across multiple disks.
If /boot is part of the root (/) partition, then the '/' partition should be on the OS disk and not span other disks.

Linux VMs:
If /boot is on a dedicated partition, it should reside on the OS disk and not be spread across multiple disks.
If /boot is part of the root (/) partition, then the '/' partition should be on the OS disk and not span other disks.

UEFI bootUEFI-based virtual machines will be migrated to Azure's Generation 2 VMs. However, it's important to note that Azure Generation 2 VMs lack the Secure Boot feature. For VMs that utilized Secure Boot in their original configuration, a conversion to Trusted Launch VMs is recommended after migration. This step ensures that Secure Boot, along with other enhanced security functionalities, is re-enabled.
Disk sizeUp to 2-TB OS disk for gen 1 VM and gen 2 VMs; 32 TB for data disks. Changing the size of the source disk after initiating replication is supported and won't impact ongoing replication cycle.
Dynamic disk- An OS disk as a dynamic disk isn't supported.
- If a VM with OS disk as dynamic disk is replicating, convert the disk type from dynamic to basic and allow the new cycle to complete, before triggering test migration or migration. Note that you'll need help from OS support for conversion of dynamic to basic disk type.
Ultra diskUltra disk migration isn't supported from the Azure Migrate portal. You have to do an out-of-band migration for the disks that are recommended as Ultra disks. That is, you can migrate selecting it as premium disk type and change it to Ultra disk after migration.
Encrypted disks/volumesVMs with encrypted disks/volumes aren't supported for migration.
Shared disk clusterNot supported.
Independent disksNot supported.
RDM/passthrough disksIf VMs have RDM or passthrough disks, these disks won't be replicated to Azure.
NFSNFS volumes mounted as volumes on the VMs won't be replicated.
ReiserFSNot supported.
iSCSI targetsVMs with iSCSI targets aren't supported for agentless migration.
Multipath IONot supported.
Storage vMotionSupported.
Teamed NICsNot supported.
IPv6Not supported.
Target diskVMs can be migrated only to managed disks (standard HDD, standard SSD, premium SSD) in Azure.
Simultaneous replicationUp to 300 simultaneously replicating VMs per vCenter Server with one appliance. Up to 500 simultaneously replicating VMs per vCenter Server when an additional scale-out appliance is deployed.
Automatic installation of Azure VM agent (Windows and Linux Agent)Windows:
Supported for Windows Server 2008 R2 onwards.

Linux:
- Red Hat Enterprise Linux 9.x, 8.x, 7.9, 7.8, 7.7, 7.6, 7.5, 7.4, 7.0, 6.x
- CentOS 9.x (Release and Stream), 8.x (Release and Stream), 7.9, 7.7, 7.6, 7.5, 7.4, 6.x
- SUSE Linux Enterprise Server 15 SP4, 15 SP3, 15 SP2, 15 SP1, 15 SP0, 12, 11 SP4, 11 SP3
- Ubuntu 22.04, 21.04, 20.04, 19.04, 19.10, 18.04LTS, 16.04LTS, 14.04LTS
- Debian 11, 10, 9, 8, 7
- Oracle Linux 9, 8, 7.7-CI, 7.7, 6
- Kali Linux (2016, 2017, 2018, 2019, 2020, 2021, 2022)

Note

Ensure that the following special characters are not passed in any credentials as they are not supported for SSO passwords:

  • Non-ASCII characters. Learn more.
  • Ampersand (&)
  • Semicolon (;)
  • Double quotation mark (")
  • Single quotation mark (')
  • Circumflex (^)
  • Backslash (\)
  • Percentage (%)
  • Angle brackets (<,>)
  • Pound (£)

Note

In addition to the Internet connectivity, for Linux VMs, ensure that the following packages are installed for successful installation of Microsoft Azure Linux agent (waagent):

  • Python 2.6+
  • OpenSSL 1.0+
  • OpenSSH 5.3+
  • Filesystem utilities: sfdisk, fdisk, mkfs, parted
  • Password tools: chpasswd, sudo
  • Text processing tools: sed, grep
  • Network tools: ip-route

Tip

Using the Azure portal you'll be able to select up to 10 VMs at a time to configure replication. To replicate more VMs you can use the portal and add the VMs to be replicated in multiple batches of 10 VMs, or use the Azure Migrate PowerShell interface to configure replication. Ensure that you don't configure simultaneous replication on more than the maximum supported number of VMs for simultaneous replications.

Appliance requirements (agentless)

Agentless migration uses the Azure Migrate appliance. You can deploy the appliance as a VMware vSphere VM using an OVA template, imported into vCenter Server, or using a PowerShell script.

  • Learn about appliance requirements for VMware vSphere.
  • Learn about URLs that the appliance needs to access in public and government clouds.
  • In Azure Government, you must deploy the appliance using the script.

Port requirements (agentless)

DeviceConnection
ApplianceOutbound connections on port 443 to upload replicated data to Azure, and to communicate with Azure Migrate services orchestrating replication and migration.
vCenter ServerInbound connections on port 443 to allow the appliance to orchestrate replication - create snapshots, copy data, release snapshots.
vSphere ESXi hostInbound on TCP port 902 for the appliance to replicate data from snapshots. Outbound port 902 from ESXi host.

Agent-based migration

This section summarizes requirements for agent-based migration.

VMware vSphere requirements (agent-based)

This table summarizes assessment support and limitations for VMware vSphere virtualization servers.

VMware vSphere requirementsDetails
VMware vCenter ServerVersion 5.5, 6.0, 6.5, or 6.7.
VMware vSphere ESXi hostVersion 5.5, 6.0, 6.5, 6.7 or 7.0.
vCenter Server permissionsVM discovery: At least a read-only user

Data Center object –> Propagate to Child Object, role=Read-only.

Replication: Create a role (Azure Site Recovery) with the required permissions, and then assign the role to a VMware vSphere user or group

Data Center object –> Propagate to Child Object, role=Azure Site Recovery

Datastore -> Allocate space, browse datastore, low-level file operations, remove file, update virtual machine files

Network -> Network assign

Resource -> Assign VM to resource pool, migrate powered off VM, migrate powered on VM

Tasks -> Create task, update task

Virtual machine -> Configuration

Virtual machine -> Interact -> answer question, device connection, configure CD media, configure floppy media, power off, power on, VMware tools install

Virtual machine -> Inventory -> Create, register, unregister

Virtual machine -> Provisioning -> Allow virtual machine download, allow virtual machine files upload

Virtual machine -> Snapshots -> Remove snapshots.

Note:
User assigned at datacenter level, and has access to all the objects in the datacenter.

To restrict access, assign the No access role with the Propagate to child object, to the child objects (vSphere hosts, datastores, VMs, and networks).

VM requirements (agent-based)

The table summarizes VMware vSphere VM support for VMware vSphere VMs you want to migrate using agent-based migration.

SupportDetails
Machine workloadAzure Migrate supports migration of any workload (say Active Directory, SQL server, etc.) running on a supported machine.
Operating systemsFor the latest information, review the operating system support for Site Recovery. Azure Migrate provides identical VM operating system support.
Linux file system/guest storageFor the latest information, review the Linux file system support for Site Recovery. Azure Migrate has identical Linux file system support.
Network/StorageFor the latest information, review the network and storage prerequisites for Site Recovery. Azure Migrate provides identical network/storage requirements.
Azure requirementsFor the latest information, review the Azure network, storage, and compute requirements for Site Recovery. Azure Migrate has identical requirements for VMware migration.
Mobility serviceThe Mobility service agent must be installed on each VM you want to migrate.
UEFI bootSupported. UEFI-based VMs will be migrated to Azure generation 2 VMs.
UEFI - Secure bootNot supported for migration.
Target diskVMs can only be migrated to managed disks (standard HDD, standard SSD, premium SSD) in Azure.
Disk sizeup to 2-TB OS disk for gen 1 VM; up to 4-TB OS disk for gen 2 VM; 32 TB for data disks.
Disk limitsUp to 63 disks per VM.
Encrypted disks/volumesVMs with encrypted disks/volumes aren't supported for migration.
Shared disk clusterNot supported.
Independent disksSupported.
Passthrough disksSupported.
NFSNFS volumes mounted as volumes on the VMs won't be replicated.
ReiserFSNot supported.
iSCSI targetsSupported.
Multipath IONot supported.
Storage vMotionSupported
Teamed NICsNot supported.
IPv6Not supported.

Appliance requirements (agent-based)

When you set up the replication appliance using the OVA template provided in the Azure Migrate hub, the appliance runs Windows Server 2022 and complies with the support requirements. If you set up the replication appliance manually on a physical server, then make sure that it complies with the requirements.

  • Learn about replication appliance requirements for VMware vSphere.
  • Install MySQL on the appliance. Learn about installation options.
  • Learn about URLs that the replication appliance needs to access in public and government clouds.
  • Review the ports the replication appliance needs to access.

Port requirements (agent-based)

DeviceConnection
VMsThe Mobility service running on VMs communicates with the on-premises replication appliance (configuration server) on port HTTPS 443 inbound, for replication management.

VMs send replication data to the process server (running on the configuration server machine) on port HTTPS 9443 inbound. This port can be modified.

Replication applianceThe replication appliance orchestrates replication with Azure over port HTTPS 443 outbound.
Process serverThe process server receives replication data, optimizes, and encrypts it, and sends it to Azure storage over port 443 outbound.
By default the process server runs on the replication appliance.

Azure VM requirements

All on-premises VMs replicated to Azure (with agentless or agent-based migration) must meet the Azure VM requirements summarized in this table.

ComponentRequirements
Guest operating systemVerifies supported VMware VM operating systems for migration.
You can migrate any workload running on a supported operating system.
Guest operating system architecture64-bit.
Operating system disk sizeUp to 2,048 GB.
Operating system disk count1
Data disk count64 or less.
Data disk sizeUp to 32 TB
Network adaptersMultiple adapters are supported.
Shared VHDNot supported.
FC diskNot supported.
BitLockerNot supported.

BitLocker must be disabled before you migrate the machine.

VM nameFrom 1 to 63 characters.

Restricted to letters, numbers, and hyphens.

The machine name must start and end with a letter or number.

Connect after migration-WindowsTo connect to Azure VMs running Windows after migration:

- Before migration, enable RDP on the on-premises VM.

Make sure that TCP and UDP rules are added for the Public profile, and that RDP is allowed in Windows Firewall > Allowed Apps for all profiles.

For site-to-site VPN access, enable RDP and allow RDP in Windows Firewall > Allowed apps and features for Domain and Private networks.

In addition, check that the operating system's SAN policy is set to OnlineAll. Learn more.

Connect after migration-LinuxTo connect to Azure VMs after migration using SSH:

Before migration, on the on-premises machine, check that the Secure Shell service is set to Start, and that firewall rules allow an SSH connection.

After failover, on the Azure VM, allow incoming connections to the SSH port for the network security group rules on the failed over VM, and for the Azure subnet to which it's connected.

In addition, add a public IP address for the VM.

Next steps

Select a VMware vSphere migration option.

Feedback

Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see: https://aka.ms/ContentUserFeedback.

Submit and view feedback for

Support for VMware vSphere migration in Azure Migrate - Azure Migrate (2024)
Top Articles
Latest Posts
Article information

Author: Francesca Jacobs Ret

Last Updated:

Views: 5776

Rating: 4.8 / 5 (48 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Francesca Jacobs Ret

Birthday: 1996-12-09

Address: Apt. 141 1406 Mitch Summit, New Teganshire, UT 82655-0699

Phone: +2296092334654

Job: Technology Architect

Hobby: Snowboarding, Scouting, Foreign language learning, Dowsing, Baton twirling, Sculpting, Cabaret

Introduction: My name is Francesca Jacobs Ret, I am a innocent, super, beautiful, charming, lucky, gentle, clever person who loves writing and wants to share my knowledge and understanding with you.