Mass Schedule Both VM Tools and Hardware on Reboot Vsphere 5.5

Using both VUM and the web client you can set all of your VM’s to do both VMware tools and VM hardware upgrades. Unfortunately, the web client doesn’t have a good way to mass set the VM tools on reboot setting so we will need to use fat client with VUM.

VM Tools
1. Go to VMs and templates view at whichever object level you want to set your VM’s.
2. Make sure the vmware tools baseline is attached.
3. Click VMware tools upgrade settings.
4. Select all the machines to set to upgrade on reboot. Hit ok.

tools

Web Client
1. Click on the object you would like to select your VM’s from.
2. Hightlight all your VM’s under the Related Objects->Virtual Machines Tab.
3. Right click the higlighted machines and go to All Vcenter Actions -> Compatibility -> Schedule Upgrade

hardware hardware2
4. Select compatibility level and on guest reboot check box if you want a clean shutdown.

hardware3
5. Hit ok and you are done.

I have tested what happens on reboot and it does indeed do the hardware without a shutdown. It did it without even the blink of an eye. I am not sure how it does it so quickly but it was extremely fast.

Advertisements

4 Responses to Mass Schedule Both VM Tools and Hardware on Reboot Vsphere 5.5

  1. Mustafa says:

    can we do the schedule using powercli?

  2. Zimms says:

    Here is the PowerCLI version to set VMTools to “UpgradeAtPowerCycle”:

    $vms = Get-VM | where {(Get-Cluster).Name -eq “CLUSTER NAME”}
    Foreach ($vm in $vms) {
    $config = New-Object VMware.Vim.VirtualMachineConfigSpec
    $config.Tools = New-Object VMware.Vim.ToolsConfigInfo
    $config.Tools.ToolsUpgradePolicy = “UpgradeAtPowerCycle”
    $vm.ExtensionData.ReconfigVM($config)
    }

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: