Dear Team,
i have one ha and drs enabled cluster, once i put one of the esx/esxi host in a maintenance mode then what will happen??
it will safely migrate vms from one host to another or it will restart vms on other esx host, then esx/esxi host enter into maintenance mode
regards
Mr VMware
DRS will try to move the VM's to other host in the cluster, but it depends on the availability of the resources on the other host to host those VM's.
Thanks Mustafa,
DRS will move the VMs without restarting ---> right
Please confirm.
regards
Mr VMware
Yes without restart, make sure you have configured vMotion network across all the host in the cluster and VM's on shared storage.
Maintenance mode is one of the best features of an ESX(i) host administrative process. Rickatron shares some tips and tricks in this post for this aspect of virtualization.
When I first became familiar with ESX 3, I noticed that the host had this action called maintenance mode. I immediately saw the value of this feature, and have been a big fan of using it ever since. As it turns out, the key technologies around vSphere such as vMotion and Storage vMotion allow virtual machines to be migrated from one ESX(i) host to another, but there still may be work to be done on the actual host. This is where maintenance mode can really help keep the environment clean.
Maintenance mode simply evacuates running virtual machines from an ESX(i) host and allows it to be a good place to do a number of administrative tasks, including rebooting the host. You enter maintenance mode by right-clicking on the host as shown in Figure A:
In vSphere environments where there is a cluster and vMotion technologies are licensed, the virtual machines will migrate to other hosts in the cluster. If local attached storage is in use, these virtual machines will not automatically migrate off of the host. Further, vSphere Essentials Plus licensing or higher will allow migration using vMotion. Once the host is evacuated, the administrative tasks can begin. Here is a list of some of the administrative tasks best served by using maintenance mode:
There are a few changes to consider with maintenance mode, however. First of all, changes to storage configuration topics may not be exclusive to a host. In any situation where there is multipathing, changes are on the same storage network or storage fabric as the other hosts, so use caution from the perspective of the shared storage resources. Lastly, give consideration to any HA and DRS rules and capacity reservations, as the cluster capacity may shrink.
The key takeaway is to USE maintenance mode. Frequently, I respond to the “ESXi” or “vSphere” public searches in Twitter when I see someone complain of some weird situations. I’ll ask if they were using maintenance mode. Sadly, it is usually not the case. In what ways do you use maintenance mode for your ESX(i) hosts? Share your comments below.
Hi
Welcome to the communities.
If its unexpected shutdown then it wont get time so that case only server wont available.
Else server will available time of migration too.