Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • PowerCLI Cookbook
  • Toc
  • feedback
PowerCLI Cookbook

PowerCLI Cookbook

By : Philip Brandon Sellers
4.8 (4)
close
PowerCLI Cookbook

PowerCLI Cookbook

4.8 (4)
By: Philip Brandon Sellers

Overview of this book

If you are a virtualization professional who wants to unleash the power of automation and combat the complexity of sprawling virtual environments, this book is ideal for you. This book will enhance your skills of administering VMware vSphere and vCloud Director with PowerCLI.
Table of Contents (13 chapters)
close
12
Index

Setting a cluster into maintenance mode with PowerCLI


Maintenance is inevitable. vSphere's DRS features do a lot to help administrators when maintenance is required. vSphere has a maintenance mode feature for hosts in a cluster that prevents any virtual machines from being started or moved onto the host while maintenance is occurring. Hosts need to be placed into maintenance mode for changes and patching to occur.

For a cluster running in a fully automated mode, putting a host into maintenance mode will kick off a set of automated steps that will use vMotion to move all of the running virtual machines to other hosts. Using the vSphere Client, you can optionally move any powered off virtual machines to other hosts. In a partially automated mode, placing the host into maintenance mode will cause a number of DRS recommendations to be made that will need to be applied manually. You can use the previous recipe to apply these recommendations.

If you use PowerCLI to place the host into maintenance...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete