vMotion between datacenters

Posted on 2011-03-02
Last Modified: 2012-08-14
Is there a way to vMotion between datacenters?  I went to try this but it only shows the datacenter the VM is in as an option for migrating via vMotion.  I am running ESXi 4.1 with an Equalogic PS6010 iSCSI SAN.
Question by:B1izzard
  • 2
  • 2
  • 2
  • +3

Expert Comment

ID: 35021793

Can both datacenters see the same hardware? Same network and SAN? Are they managed by the same vCenter?

LVL 40

Accepted Solution

coolsport00 earned 125 total points
ID: 35021845
Can you be a bit more specific? Are you talking about between physical datacenters, but within your vSphere environment, you have all hosts in the same datacenter object, and same SAN storage? If you have only 1 datacenter object in vCenter and hosts you want to migrate VM(s) between see the same storage, then yes. But, for now, you can't across different datacenter objects within vCenter...not yet. (unless this has recently changed)


Author Comment

ID: 35023254
>> Can both datacenters see the same hardware? Same network and SAN? Are they managed by the same vCenter?

Each site has it's own Equalogic SAN.  They are all on the same subnet and can ping any host in site A to any host on site B.  Site A VM's point to Site A SAN.  Site B VM's point to Site B SAN.  Supposedly the SAN's have replication capability that in conjunction with scripts will bring up the VM's at the other site in the event of an outage.  

They are managed by the same vCenter server as both datacenters appear there, but can't right click and select 'migrate'.   Sounds like as coolsport00 mentioned that it's a limitation thus far.  Makes me wonder why the consultant set it up in separate VMWare Datacenters even though they are essentially in the same LAN, but there must have been a good reason.
LVL 40

Expert Comment

ID: 35023342
Sounds like in your SAN description what you or your SAN vendor has setup is SAN replication. Your VMotion won't work because each host is seeing different storage. You can see VMotion (well, and sVMotion) requirements in the DC Adm Guide, beginning on pg. 211:

The vendor created 2 DCs in vCenter because there's no need to have them in 1 due to the hosts not accessing the same shared storage.

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!


Expert Comment

ID: 35026055
You can migrate the VM via VmWare Entrprise Converter or Standalone Converter or use Other software like Veeam Replication.


Assisted Solution

prak_seafarer earned 125 total points
ID: 35026798
cloning is possible using vmotion. vmotion live operations would not be possible if datacenter are not in same subnet or network.

Assisted Solution

smangogna earned 125 total points
ID: 35027112
Vmotion live operatios need the two datacenter to be in the same Virtual Center DB

Assisted Solution

ChrisKranz earned 125 total points
ID: 35031503
Only option is a cold migrate (power off, copy VM and all files, power on). Or you could look at using the SAN replication, so power down the VM, do a replication update, then register and power on the VM at the second datacentre.

But no, currently no options for vMotion or svMotion across datacentres. EMC have proved this technically can work, but that was with high end synchronous data replication.

Author Closing Comment

ID: 35091929
Thanks all.

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now