Wednesday, March 30, 2011

Testing standby mode before enabling VMware DPM (Distributed Power Management)

I was recently asked by an ex-colleague of mine about a warning messaging he received when trying to enable DPM where he was presented with the following warning message:

One or more hosts in the cluster have never exited from standby state, or failed in the last attempt.

It is recommended that you manually test the enter and exit standby commands of these hosts before enabling power management.

Click Cancel and go to the Host Options page to see which hosts need to be tested (recommended).

Click OK to enable power management.

image

Those who are not familiar with VMware vSphere might not know what to do and this was the case for my ex-colleague.  What you’re supposed to do as per the vSphere Resource Management Guide:

http://www.vmware.com/pdf/vsphere4/r40/vsp_40_resource_mgmt.pdf

image

… you should go into the settings of the cluster’s properties, navigate to VMware DRS –> Power Management –> Host Options:

image

From the window above, you’ll be able to see which hosts have last exited standby mode and for the hosts that have the status of never, proceed with right clicking them in the Hosts and Clusters view and select Enter Standby Mode:

image

A host that have successfully entered the standby state will look like the following:

image

From here on, right click on the host again and select Power On:

image

As the host begins to power up, you should see the task status in the recent task list:

image

image

image

Once the server boot up completes:

image

… the host should now have reverted back to the previous state:

image

Navigating back to the host options, you should now see a date and time in the Last Time Exited Standby field:

image

Once you’ve completed this for all the hosts in the cluster that you want to enable for DPM, you should be able to turn on DPM without receiving the warning message shown earlier in this post:

image

No comments: