Migrate a Hybrid vSAN Cluster to an All-Flash vSAN Cluster

For one of my projects we have to perform a lifecycle on the hosts within a Management Cluster. To make this work we have to migrate a Hybrid vSAN Cluster to an All-Flash vSAN Cluster. The current hosts in the Management Cluster have magnetic spinning disks and vSAN was therefore running in a vSAN Hybrid configuration. The new hosts are equipped with nice NVMe drives and vSAN should therefore be running in an All-Flash (AF) configuration to have all the nice features available like Erasure Coding, Deduplication and Compression.

 
Migrate a Hybrid vSAN Cluster to an All-Flash vSAN Cluster
 

I had never done this before and the vSAN documentation (link) describes only replacing the disks of the hosts, and does not describe the procedure for replacing the Hybrid vSAN hosts by All-Flash vSAN hosts.

Well this is a good opportunity to get my hands dirty again with some labbing. To the Lab!

Lab Setup

  • Software used
    • vCenter 7.0 u1
    • vSphere 7.0 u1
    • vSAN 7.0 u1
  • Hosts – Hybrid – 1x 8GB Cache SSD 1x 64GB Capacity HDD
    • dcesxi71.vmbaggum.local
    • dcesxi72.vmbaggum.local
    • dcesxi73.vmbaggum.local
  • Hosts – All-Flash – 1x 8GB Cache SSD 1x 64GB Capacity SSD
    • dcesxi74.vmbaggum.local
    • dcesxi75.vmbaggum.local
    • dcesxi76.vmbaggum.local

Let’s get started

I’ve prepared vSphere Cluster “CL-03” with the 3 Hybrid hosts and made sure the vSphere and vSAN Cluster status is healthy.

Migrate a Hybrid vSAN Cluster to an All-Flash vSAN Cluster 1
 
vSAN is enabled, and as you can see everything is pretty default.

Migrate a Hybrid an All-Flash 2
 
Under Configure -> vSAN -> Disk Management the vSAN Disk Groups are shown. Also in the column “Type” you can see that the vSAN Disk Groups are of the type Hybrid.

Migrate a Hybrid an All-Flash 3
 
After adding the 3 All-Flash ESXi hosts to the vSphere Cluster “CL-03” they also show up in the vSAN Disk Management. But as you can see no disks are in use for the newly added hosts.

Migrate a Hybrid an All-Flash 4
 
The next step is toch select Claim Unused Disks, review the settings and make sure the correct disks are claimed for the Cache and Capacity Tier. Select Create to claim the disks for vSAN.

Migrate a Hybrid an All-Flash 5
 
After the disks are claimed and added to the vSAN Disk Groups they now show up as “All Flash” in the column “Type”.

Migrate a Hybrid an All-Flash 6
 
The next step is to exit the hosts from Maintenance Mode and let them participate in the (vSAN) Cluster.

Migrate a Hybrid an All-Flash 7
 
Select “Yes” to exit the hosts from Maintenance Mode.

Migrate a Hybrid an All-Flash 8
 
Next up is the removal of the “old” Hybrid hosts, enter the hosts into Maintenance Mode.

Migrate a Hybrid an All-Flash 9
 
Select “Yes” to enter the hosts into Maintenance Mode.

Migrate a Hybrid an All-Flash 10
 
In the next step, make sure you select “Full data migration”! And select OK.

Migrate a Hybrid an All Flash 11
 
After all VMs and data is migrated off the Hybrid hosts, they are put into Maintenance Mode.

Migrate a Hybrid an All Flash 12
 
Now you can check if your VM objects are placed on the new All-Flash hosts. You can do this under Monitor -> Virtual Objects -> Select a Hard Disk -> View Placement Details

Migrate a Hybrid an All Flash 13
 
Now all VM objects are running on the new All-Flash hosts, we can remove the Hybrid hosts from vSAN. Under Configure -> Disk Management -> Select a Disk Group (from a Hybrid host) -> -> Remove

Migrate a Hybrid an All Flash 14
 
Read the warning messages and select Remove if you accept the warning messages.

Migrate a Hybrid an All Flash 15
 
After the previous step has been applied to all hosts that need to be removed from the vSAN Cluster, the vSAN Disk Management overview will display no available Disk Groups on the Hybrid hosts.

Migrate a Hybrid an All Flash 16
 
Now it is time to remove the Hybrid hosts from the vSphere Cluster. Select the Hybrid hosts and select Remove from Inventory.

Migrate a Hybrid an All Flash 17
 
Select Yes to remove the Hybrid hosts from the inventory.

Migrate a Hybrid an All Flash 18
 
Make sure the correct Hybrid hosts were selected and select Yes.

Migrate a Hybrid an All Flash 19
 
After the removal task has been completed, you’re left with a nice and clean All-Flash vSAN Cluster!

Migrate a Hybrid an AllFlash 20
 
Now you can even make use of a feature only available under All-Flash vSAN like Space Efficiency and enable Deduplication and Compression.

Migrate a Hybrid an All Flash 21
 
As you can see super simple and straight forward process, some test VMs that I ran on the cluster while performing the actions above weren’t impacted. I hope this article helped you, leave a comment below if you have any further questions.

Marco van Baggum

Marco van Baggum

Marco works as a Staff Consulting Architect at VMware. Want to learn more about Marco? Check out Marco's About page.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.