vSAN Maintenance Mode
In this series of vSAN we have successfully configured vSAN till now. In this post we will see on vSAN Maintenance mode options. This post is important because vSAN uses the local disks to create the vSAN Datastore so now you can’t directly put your ESXi hosts in Maintenance mode if you are using vSAN. You have to take care about the data first then put your host into maintenance mode. Before doing any activity on the vSAN Cluster make sure you have proper resource availability so you don’t run out of resources at the time of requirements.
In this post we will discuss about the maintenance modes when you have vSAN Enabled in the cluster.
When you put vSAN ESXi Hosts into maintenance mode you get 3 options to choose from :
- Evacuate all data to other hosts
- Ensure data accessibility from other hosts
- No data evacuation
In this post we will see on what are 3 options are and why you have to take care before choosing any options.
1. Evacuate all data to other hosts (Full data migration):
As the name suggests you can easily understand what this option is. This will Evacuate all the data to the another hosts in the vSAN Cluster. So for example if you have large number of virtual machines running on the ESXi Host then this will lead to large amount of data transfer within the vSAN Cluster and will take longer time to transfer data completely. It is recommended to choose this option only when you have enough space available in the vSAN Datastore for data migration or if you are planning to remove the ESXi host from the vSAN Datastore. If you are removing the hosts from cluster then this option is best suited because it will migrate all the data of the host to the other hosts in the vSAN Cluster. Host will not enter maintenance mode until all the data migrated off the host.
2. Ensure data accessibility from other hosts (Ensure accessibility):
This is the default option. When you power off or remove the host from the cluster, vSAN ensures that all accessible virtual machines on this host remain accessible. Select this option if you want to take the host out of the cluster temporarily, for example, to install upgrades, and plan to have the host back in the cluster. This option is not appropriate if you want to remove the host from the cluster permanently. Typically, only partial data evacuation is required.
This is the only evacuation mode available if you are working with a three-host cluster or a vSAN cluster configured with three fault domains.
3. No data migration :
vSAN does not evacuate any data from this host. If you power off or remove the host from the cluster, some virtual machines might become unaccessible.
You have to decide which option to choose and when.
For example
At the time of ESXi Host upgrade you can go with Ensure accessibility as it will ensure that vm is accessible, when the Host upgrade is complete your host will again added to vSAN Cluster so your data will be reconfigured.
If you plan to remove the ESXi host from the cluster completely then it is recommended to evacuate all the data from host to the other available host in the cluster. In this case vSAN will take care of data and will migrate all the data from the host.
Checkout our Posts on vSAN:
vSAN Hybrid vs All Flash Overview.
vSAN Objects and Components Overview.
vSAN Deduplication and Compression Overview.
vSAN Storage Policies Overview.
How to Create vSAN VMkernel Step by Step ?
How to Configure vSAN Step by Step ?
How to Run vSAN Proactive Tests ?
How to Create vSAN Storage Policy Step by Step ?
How to Assign vSAN Storage Policy to the virtual machine ?
That’s it for Today Friends. I Hope you liked reading this post & If you find anything more to be added or removed feel free to write it in our comments. If you find it useful You are Feel free to share this on social media to help others & spread knowledge.
If you have any query on any thing you are free to write it in our comments section & we will make sure to provide you the better solution as soon as possible.
Join Our LinkedIn Group to get Fast updates about our posts : Mastering VMware.
Checkout our Facebook Group for discussions & more.
You can also Like & Share our Facebook Page for Latest Updates.