VMware Cloud Community
chcino
Contributor
Contributor

Datacenter Migration Between 5.5 and 6.0

Hello, I'm currently working through a migration strategy and I'd like some advise on possible options from anyone who might have done something similar.

Useful info here is that the source site exists now but the target site is yet to be build. This project is seen as a good opportunity to go to vSphere 6.0, but we want to use VMware Replication to get the initial data across from source to target, which restricts our initial target point to a 5.x system.

Effectively, phase one will set up a Replication Appliance in the source and target DCs and replicate machines over. These will both be 5.5. as the source and target vCenters need to be of the same major version.

Phase1.jpg

In Phase 2, I'd ideally then like to migrate workloads to vSphere 6.0 hosts. The Replication environment and the new vSphere 6.0 environment will share a storage platform in the new location.

Phase2.jpg

Assuming we have got the data to the target vCenter 5.5 system (and it will be an ongoing thing), what advise / options are there for then getting those machine across and starting them up in the 6.0 environment? Could we just migrate them across into a shared datastore and then start them up from on the new 6.0 hosts that share that storage? The idea is that they won't run form the target 5.5. platform - this would be a stage environment effectively.

Any advice welcome,

M

Tags (1)
4 Replies
rcporto
Leadership
Leadership

After you get all your virtual machines at your 5.5 infrastructure at target site, you can just move your vSphere ESXi 5.5 hosts to the vCenter 6.0 and then migrate (vMotion) the virtual machines to the vSphere ESXi 6.0 hosts.

---

Richardson Porto
Senior Infrastructure Specialist
LinkedIn: http://linkedin.com/in/richardsonporto
0 Kudos
chcino
Contributor
Contributor

Hi Richardson,

Thanks for your response.

I guess the issue here is that we have hundreds of workloads, so we will be migrating / staging a set of machines, then wanting to bring those up in the v6.0 environment while migrating another set, so the migration host really needs to be in place throughout.

The thinking was that we could perhaps do some kind of storage migration, or perhaps sharing VMFS datastores across the 5.5 and 6.0 hosts as below?

Could we then just import the VMs into 6.0?

Sharing a VMFS Datastore Across Hosts

As a cluster file system, VMFS lets multiple ESXi hosts access the same VMFS datastore concurrently.

Sharing a VMFS Datastore Across Hosts

The image shows a single VMFS datastore being accessed by multiple servers.
0 Kudos
rcporto
Leadership
Leadership

Since the migration will be staged, you can just use a "swap" datastore shared between your ESXi 5.5 and 6.0 hosts, and replicate the source virtual machines to that shared datastore.

Once the virtual machine is replicated and running at ESXi 5.5 target host, you can just shutdown the virtual machine, unregister the virtual machine from the ESXi 5.5 host, on the vCenter 6.0, browse the datastore where the virtual machine is stored, register the virtual machine on the ESX 6.0 hosts, power on the virtual machine and if you want, just Storage vMotion the virtual machine to a different datastore not shared with ESXi 5.5 hosts.

---

Richardson Porto
Senior Infrastructure Specialist
LinkedIn: http://linkedin.com/in/richardsonporto
bayupw
Leadership
Leadership

Hi, you can do it in stage even without downtime.

Let's say you have ESXi 5.5 on vCenter 5.5 and some new ESXi 6 on vCenter 6.

An option would be to add the ESXi 5.b to vCenter 6 and vMotion from ESXi 5.x to ESXi 6.

Make sure the datastore is shared across both ESXi 5.x and ESXi 6.

If you can't share all the datastore, you can just share at least to one or two of the ESXi 6 for migration purpose - so you will have 2 migration steps:

1. vMotion to ESXi 6 staging which has shared datastore

2. Storage vMotion from ESXi 6 staging to ESXi 6

If you are using VDS (vSphere Distributed Switch), you will need to create VDS 5.x on ESXi 6 so it backward compatible with ESXi 5.x and you can have both ESXi 5.x & ESXi 6 on same VDS for the staging/migration purpose.

Upgrade the VDS to 6 once you have upgraded all the ESXi to version 6.

When you add ESXi 5.5 to vCenter 6, you will disconnect the ESXi 5 and add it on vCenter 6 - if you are using VDS, you will need to migrate to VSS (vSphere Standard Switch) first

For this scenario the high level steps would be:

  1. Prepare vCenter 6, ESXi 6 with VDS 5.5, (optional) ESXi 6 staging with the same VDS 5.5, add all ESXi 6 to vCenter server
  2. Verify that ESXi 6 (or ESXi 6 staging) can access the ESXi 5.5 datastores
  3. If the VM on ESXi 5.5 are on VDS, create VSS on every ESXi 5.5 with the required PortGroup and VLANs, migrate VMs from VDS to VSS
  4. From vCenter 5.5, disconnect ESXi 5.5 from vCenter 5.5. From vCenter 6, add the disconnected ESXi to vCenter 6. There is no downtime on this, if you are worried and never done this before, you can try one of the ESXi 5.5 with less VMs and less critical VMs so you are familiar with the process. Then all the steps from here will be on vCenter 6.
  5. Add the ESXi 5.5 hosts to VDS on vCenter 6 (VDS version 5.5)
  6. Migrate VMs from VSS PortGroup to VDS PortGroup
  7. vMotion VMs from ESXi 5.5 to ESXi 6 (staging).
  8. Storage vMotion VMs from staging/5.5 datastore to ESXi 6 only datastore. If you are on ESXi 6 staging, next step is to vMotion VMs from ESXi 6 staging to normal ESXi 6
  9. Once all the VMs are migrated from ESXi 5.5 to ESXi 6, you can upgrade ESXi 5.5 or remove from VDS & vCenter 6 if the ESXi 5.5 hosts are not required
  10. Upgrade VDS 5.5 to VDS 6

Another scenario would be sharing datastore across ESXi 5.5 and ESXi 6, remove from 5.5 inventory and add inventory into ESXi 6 (or you are referring to import I guess). But the VMs need to be powered off before we can remove it from inventory.

Most of my customers choose the scenario without downtime

Bayu Wibowo | VCIX6-DCV/NV
Author of VMware NSX Cookbook http://bit.ly/NSXCookbook
https://github.com/bayupw/PowerNSX-Scripts
https://nz.linkedin.com/in/bayupw | twitter @bayupw