Use DRS for Business Hours VMware Maintenance

I got a tip from Chris Wahl’s blog the other day that will really helped during the vSphere 5.1 host upgrade. Beyond the upgrade, there are times when I need to work on a DRS clustered host when it’s in and out of maintenance mode. The problem is DRS, when in Fully Automated Mode, will start moving virtual machines back on the host when it emerges from maintenance mode and becomes available.

There a couple of ways around this:

– Change the DRS Cluster to Manual or Partially Automated which gives you control over virtual machine migrations, just not virtual machine placement when they’re powered on.

– Turn DRS off. This will hurt if your have resource pools because you’ll lose them.

– Remove the host from the cluster. This will require you to move the host back into the cluster and reconfigure for HA.

All of those options involve preparing and recovering from host maintenance. If you need to stop automatic migrations for a while as you work on a clustered host , use the Conservative option in the cluster’s DRS options:

This setting tells DRS to follow rules only.

The conservative setting only allows DRS to follow any DRS based rules that you have put in place. It will make no resource constraint based decisions. This has worked very well for upgrading firmware or just testing the 5.1 upgrades on the hosts.

Once you’re done messing with the host, go back into the cluster’s settings and drag the slider where you want. This is a helluva lot better than manually migrating machines.


Categories: VMware

Tags: , , ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Brad Hedlund

stuff and nonsense


Every cloud has a silver lining.

Live Virtually

A Storage and Virtualization Blog

Virtualization Team

VMware ESX/ESXi - ESX server - Virtualization - vCloud Director, tutorials, how-to, video

Just another site

VirtualKenneth's Blog - hqVirtual | hire quality

Virtualization Blog focused on VMware Environments


Virtually everything is POSHable

Gabes Virtual World

Your P.I. on virtualization

Yellow Bricks

by Duncan Epping

Wahl Network

Technical Solutions for Technical People

Joking's Blog

Phoenix-based IT guy with too much to say...

%d bloggers like this: