Menu
InformatiWeb Pro
  • Index
  • System admin
  • Virtualization

Login

Registration Password lost ?
FR
  • Windows Server
    • WMS 2012
    • WS2012 R2
    • WS2016
  • Citrix
    • Citrix NetScaler Gateway
    • Citrix XenApp / XenDesktop
    • Citrix XenServer
  • VMware
    • VMware ESXi
    • VMware vSphere
    • VMware Workstation
  • Microsoft
    • Hyper-V
  • RAID
    • Adaptec SmartRAID
  • UPS
    • APC Back-UPS Pro
  • InformatiWeb Pro
  • Virtualization
  • VMware
  • Migrate VMs via vMotion accross datacenters on VMware vSphere 6.7

Migrate VMs via vMotion accross datacenters on VMware vSphere 6.7

  • VMware
  • VMware vCenter Server (VCSA), VMware vSphere
  • 27 November 2024 at 13:43 UTC
  • InformatiWeb
  • 2/2
Previous page

4. Migrate a virtual machine between 2 data centers

With vMotion, you can hot or cold migrate virtual machines, even if they are in different data centers.
As you can see, our "Win 10 v2004 x64" virtual machine is currently powered on and a window is currently open in it.

To migrate a virtual machine, select it and click: Actions -> Migrate.

Note: in our case, we are going to migrate our "Win 10 v2004 x64" virtual machine from the "DC-Brux-Dev" data center to the "DC-Brux-Prod" data center.

In the "[virtual machine name - Migrate]" window, select "Change both compute resource and storage" to move the execution (RAM) of the virtual machine, as well as its files.

Note: for more information regarding the different options of the migration assistant, refer again to our vMotion tutorial.

Select the remote host that is in another data center.

Select the remote host datastore where you want to store this virtual machine.

Note that it is possible to change the virtual disk format if you wish.
By default, the same format (thick or thin provision) will be used.

Select the virtual network to which this virtual machine should be connected.
In our case, we have a virtual network "VM Network" whose name is identical in the 2 data centers.
However, as the VMware vCenter Server migration wizard tells you, virtual networks are considered unique only within a single data center.

Plain Text

The virtual machine uses network 'VM Network'. Since the operation is being conducted across datacenters, this network may not be the same network on the source and destination. This is because network names are only unique within a datacenter.

For vMotion priority, you can choose any option.
Indeed, the "Schedule vMotion with high priority (recommended)" option allows you to prioritize this vMotion migration over other migrations that are potentially already in progress at the moment.
However, if no migration is currently in progress, choosing either option here will not change anything. In both cases, the vMotion migration will begin directly at the end of this wizard.

A summary of the configuration of this vMotion migration appears.
Click "Finish" to start the vMotion migration of this virtual machine.

Once the virtual machine migration has started, you will see a "Replace virtual machine" task appear at the bottom of the window.

As you can see, your virtual machine will remain usable even while it is being migrated. This makes it possible to migrate virtual machines from one host to another without making it inaccessible for a certain time.

The migration continues.

Once the migration is complete, you will see that the virtual machine is now on the destination host.
In our case, this was migrated from host "esxi2" (which is located in the "DC-Brux-Dev" data center) to host "esxi1" (which is located in the data center "DC-Brux-Prod").

As expected, despite the migration of this virtual machine, its state was preserved.

As expected, the files comprising this virtual machine were also migrated to the desired datastore on the destination VMware ESXi host.

Share this tutorial

Partager
Tweet

To see also

  • VMware ESXi 6.7 - Manage the virtual hard disks of your VMs from the VMRC console

    VMware 12/9/2022

    VMware ESXi 6.7 - Manage the virtual hard disks of your VMs from the VMRC console

  • VMware ESXi 7.0 / 6.7 - Change the complexity required for passwords

    VMware 6/17/2022

    VMware ESXi 7.0 / 6.7 - Change the complexity required for passwords

  • VMware vSphere 6.7 - Enhanced Linked Mode (ELM)

    VMware 11/1/2024

    VMware vSphere 6.7 - Enhanced Linked Mode (ELM)

  • VMware vSphere 6.7 - Use persistent memory (PMem) via NVDIMMs modules

    VMware 2/5/2025

    VMware vSphere 6.7 - Use persistent memory (PMem) via NVDIMMs modules

Comments

No comment

Share your opinion

Pinned content

  • Software (System admin)
  • Linux softwares
  • Our programs
  • Terms and conditions
  • Share your opinion

Contact

  • Guest book
  • Technical support
  • Contact

® InformatiWeb-Pro.net - InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.

Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.