How to Migrate VM From One to Another vCenter Server [3 Methods]
Following these steps should help you effectively migrate your virtual machines to another vCenter Server. Pick the best way for you to do it.
VMware migrate VM between vCenters
VMware vCenter Server is advanced server management software that provides a centralized platform for controlling your VMware vSphere environments, allowing you to automate and deliver a virtual infrastructure across the hybrid cloud. For large-scale virtual environment of enterprise, it even requires multiple vCenter Servers to work simultaneously.
In this context, there are also users who want to migrate virtual machines between vCenter Server instances to help achieve certain virtual machine provisioning cases:
- Balance workloads between clusters and vCenter Server instances.
- Flexibly scale up or down capacity between resources in different vCenter Server instances.
- Move virtual machines between environments with different purposes.
- Move virtual machines to meet different SLAs (Service Level Agreements).
Luckily, vSphere 6.0 or later versions allows you to migrate VM to another vCenter. Keep reading to learn the steps.
Requirements for VMware VM migration to another vCenter
In VMware, there are certain requirements to migrate VM to another vCenter:
- The source and target vCenter Server instances and ESXi hosts must be running version 6.0 or later.
- The source vCenter and target vCenter should be on the same version.
- An Enterprise Plus license is required for cross-vCenter Server and long distance vMotion functionality.
- When using the vSphere Web Client, both vCenter Server instances must be in Enhanced Linked Mode and must be in the same vCenter single sign-on (SSO) domain so that the source vCenter Server can authenticate to the target vCenter Server.
- When using GUI (webclient), ELM (same SSO domain) is required; when using sdk/api/PowerCLI, it is not.
- Both vCenter Server instances must be synced with each other for proper vCenter SSO token authentication.
- For migrating compute resources only, both vCenter Server instances must be connected to shared VM storage.
- When using vSphere APIs/SDK, two vCenter Server instances may exist in different vSphere Single Sign-On domains. Additional parameters are required when performing non-federated cross-vCenter Server vMotion. Starting with PowerCLI 6.5, the Move-VM cmdlet supports both federated and non-federated cross-vCenter Server vMotion.
👉Tips: For vSphere 7.0 U1c and later versions, you can use The Advanced Cross vCenter Server vMotion (XVM) capability The Advanced Cross vCenter vMotion feature in vSphere 7.0 U1c is only supported between vSphere (vCenter and ESXi) instances 6.5 or greater, and it is not supported with any builds of vSphere 6.0, for more information, see Import or Clone a Virtual Machine with Advanced Cross vCenter vMotion
Method 1. Migrate VM to another vCenter with vSphere vMotion
You can move VM from one vCenter to another using vSphere vMotion if the above requirements are met. Following these steps should help you migrate a VM to another vCenter Server using vSphere vMotion effectively.
📢 Before VMware VM migration across vCenter Servers, you should back up VMware ESXi which allows fast and secure recovery especially for enterprise. The backup process is easier and faster than setting up a new computer if you lose your data in the process of VM migration.
How to migrate vm from one vCenter to another vCenter:
1. In vSphere Client, navigate to the source vCenter Server. Locate the VM you want to migrate. Then right-click on the VM and select Migrate.
2. If the VM's datastore is available on both ends, you can move only the VM's compute by selecting the first option. Otherwise, check Change both compute resources and storage. It will be the most common choice, as sharing datastores across vCenter servers is not a best practice.
3. Expand the topology of the target vCenter server and select the resource you want to migrate it to.
4. Then select the target storage for the VM migration, followed by the destination virtual machine folder.
5. The next step is to select the destination network, where you will get a warning that this network may not be the same network on the source and destination due to operation across datacenters. So make sure you remember to change the VLAN after the migration is complete.
6. Then you will come to the summary pane and you can press Finish to start the migration. When the task status reads "Completed", you have successfully copied the virtual machine to another vCenter.
After migration process, verify VM functionality and connectivity, and pdate any DNS or IP configurations as necessary.
Method 2. Migrate VM with Advanced Cross vCenter vMotion
You can use Advanced Cross vCenter vMotion in vSphere Client to move VM from one vCenter to another without the specific requirement for link mode. But before start, you should verify that the target vCenter Server instances are version 6.5 or later, and the source vCenter Server instance is version 7.0 Update 1c or later.
How to move VM from one vCenter to another with Advanced cross vCenter vMotion:
1. Open vSphere Client, access to Home >> Hosts and Clusters.
2. Select the host or cluster that contains the virtual machines you want to migrate.
3. Right-click the virtual machine and select Migrate.
4. Select the migration type as Cross vCenter Server export. Then click Next.
5. Select the target vCenter Server instance to which you want to export or clone virtual machines. You can select a Saved vCenter Servers or New vCenter Server.
Tips: The connection to a saved vCenter Server instances is valid only for the current user session. You must enter the credentials of the source vCenter Server instances for each login session.
6. If a Security Alert dialog box appears, click Yes.
7. Click Next.
8. Select the destination compute resource for this virtual machine migration and click Next.
Possible targets include hosts and DRS clusters with any level of automation. If DRS is not enabled for a cluster, select a specific host in the cluster rather than selecting the cluster.
9. If a compatibility problem appears in the Compatibility pane, fix the problem or select another host or cluster for the migration.
10. Select the destination storage for the virtual machine migration.
- Select the storage type for the virtual machine configuration files and all the hard disks.
Tips: You can select the type of storage only if PMem or Hybrid storage types are available in the data center.
- Select the virtual disk format, VM storage policy, datastore location for the virtual machine files.
11. Select the destination folder for the virtual machines and click Next.
12. Choose the destination networks for the virtual machine migration.
13. On the Ready to complete page, review the details and click Finish.
14. Right-click the host or cluster to which you want to import virtual machines. Then select Import VMs. You can follow the Import VMs wizard to migrate VM from one vCenter to another.
Virtual machines are being migrated across vCenter Server. You are able to migrate VM to another vCenter that are in different single sign-on or SSO domains.
Method 3. Export OVF Templates and Employ
Exporting OVF (Open Virtualization Format) templates and using them for vCenter VM migration is a useful method when you need to migrate VM to another vCenter that aren't linked or when you want to preserve VMs in a standardized format.
1. Navigate to the VM, right-click on it, and hoose Template > Export OVF Template.
2. Assign a name to the template and choose a local storage location on your machine.
3. Manually transfer the exported OVF files to a location accessible by the destination vCenter Server. This can be done via network transfer, external storage, or other means.
4. Navigate to the host or cluster where you want to deploy the VM. Select Deploy OVF Template, then upload the OVF files from the location where they were transferred.
✍ You can also move a VMware VM to another host without vCenter by copying the VM files and registering the VM on the destination host. This process is commonly done when managing standalone ESXi hosts.
Batch backup your VMs on vCenter Server with an efficient software
Whether you’re migrating a VM to another vCenter Server, moving it between standalone ESXi hosts, it's essential to back up your VMs.
By creating regular backups of your VMs, you ensure that in case anything goes wrong during the migration, you can easily restore the VM to its previous state.
AOMEI Cyber Backup provides reliable, automated VMware backup solutions for ESXi and vCenter environments. It supports various versions including ESXi 6.0 and later. You are able to backup your multiple virtual machines with its flexible strategies.
With AOMEI Cyber Backup, you can enjoy these features easily.
Scheduled Backups: Set up auto VMware or Hyper-V VM backups so that your VMs are regularly backed up, reducing the risk of data loss during unexpected events.
Support Free ESXi: Support both paid and free versions of VMware ESXi and offer basic backup and recovery features for free.
Flexible Backup: Batch backup large numbers of VMs managed by vCenter Server or on a standalone ESXi host.
Instant Disaster Recovery: Restore the VM on the original or new host, allowing you to retry the migration without data loss.
Email Notification: Send email and alarms when the task is completed or abnormal.
Role-Assignment: Allow one administrator to create sub-accounts with limited privilege, effectively reduce administration cost and manual errors.
Please hit the button below to download and use AOMEI Cyber Backup 30-day free trial:
*You can choose to install this VM backup software on either Windows or Linux system.
If you want to protect the security of your virtual machines comprehensively, please refer to the following steps.
🚩 Step 1. Add Devices
Download AOMEI Cyber Backup and click Source Device >> VMware >> + Add VMware Device to Add vCenter or Standalone ESXi host directly. And then click … > Bind Device.
🚩 Step 2. Create VMware ESXi VM Backup Task
★ Click Backup Task >> Create New Task.
★ Enter a task name and batch select large numbers of VMs managed by vCenter Server for centralized backup.
★ Target: Specify the backup destination to local/network share/external hard drive.
★ Archive: Easily backup VMware to AWS for better data protection and it reduces storage costs.
★ Schedule: Schedule backup as full / incremental / differential backup and specify time to run the backup.
★ After configuring the backup task, review the information and click Start Backup.
🚩 Step 3. Restore
Click “…”>> Restore to select restoration content and destination. AOMEI Cyber Backup ensures you have a reliable recovery point if any issues arise during the manual file transfer or re-registration on the destination host.
>> You can choose to Restore to original location. It allows you to recover entire VM easily and quickly. It saves time to recreate or configure ESXi virtual machines.
>> Or you can also restore to new location to create a new VM in the same or another datastore/host directly from the backup, saving the trouble of re-configuring the new VM.
Summary
In VMware, migrating VM to another vCenter helps to move workloads from a vCenter Server instance to another. As we know, Cross vCenter vMotion and Advanced Cross vCenter vMotion are two available ways in different version of vSphere to help you copy VM from one vCenter to another, you can pick as you need.
Meanwhile, for important instance, you can backup vCenter to achieve competitive protection.