Solved

Proper procedure to enter maintenance mode in a cluster

Posted on 2014-03-05
4
2,807 Views
Last Modified: 2014-03-05
I have a quick and easy 500 question-

I have a 5.5 Cluster with 2 hosts configured with HA and DRS with the VM's on a SAN (DRS is in Partial Automated until I get a warm and fuzzy with DRS).

I want to enter one of the Hosts into maintenace mode. Do I need to perform the same procedures as if it was not a cluster?
Meaning, Do I need to vmotion off the VM's onto the other server (I presume I need to disable temp DRS) , then enter maintenace mode, or will VMWare do this automatically if I try entering Maintenance mode?

Thats all- Thanks
0
Comment
Question by:BKennedy2008
4 Comments
 
LVL 21

Accepted Solution

by:
mcsween earned 300 total points
ID: 39907302
First make sure there is no removable media attached to any VMs running on that ESXi host (e.g. ISO Image mounted from a datastore or shared CD ROM).

Just right click the host and enter maintenance mode, check the box and vMotion will take care of the rest.  You do not have to disable HA and DRS

I have my DRS set to fully automated applying 1 - 4 recommendations.  It has been that way for years.  I'm running about 50 guests on 3 ESXi 5.5 Hosts.

On a side note, if you are doing this to patch a system you should remediate it from the update manager tab.  This will pop a wizard that will detach all removable media from guests if required then put in maintenance mode, install patches, reboot, re-attach, and exit maintenance mode all on its own.
0
 
LVL 13

Assisted Solution

by:Abhilash
Abhilash earned 100 total points
ID: 39907315
If the host is inside a DRS-enabled cluster, entering maintenance mode causes DRS to attempt to automatically evacuate powered-on virtual machines from the host using vMotion.

But note that DRS needs to be enabled on your cluster in Fully Automated mode if you want VirtualCenter to migrate your running virtual machines automatically to other hosts when placing your host in Maintenance Mode.
0
 
LVL 11

Assisted Solution

by:Giladn
Giladn earned 100 total points
ID: 39907320
Hi,

1. yes, vMotion could be nice, only if HA is on, otherwise turn the servers off the migrate to the other host - do check for available resources before doing that.

2. Vmotion is great when one server is down, not on maintenance, best practice if it's planned would be to migrate them live to the other machine, do not enter maintenance mode without doing that if you can plan it ahead.
for a complete answer, since your setup includes SAN, HA and DRS -  vMotion is automated when entering maintenance mode.
 
Hope this helps,

Gilad
0
 

Author Closing Comment

by:BKennedy2008
ID: 39907343
Thnaks All for the info!
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…

759 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

19 Experts available now in Live!

Get 1:1 Help Now