Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 178040

What are the ScheduledHardwareUpgradeInfo.UpgradePolicy Options

$
0
0

Hey All--

 

Wondering if anyone has some info on this.  Looking to better understand the ScheduledHardwareUpgradeInfo.UpgradePolicy options.  What each does, and long-term impacts.  Hoping folks can chime in here.

 

For passers-by who aren't familiar with what I'm referring to, I'm looking to better understand the various ways of upgrading the VM Hardware.  In the past, you always had to power the VM off before you could upgrade the hardware, or schedule it with VM.  Later they gave you the "Schedule Hardware Upgrade" option within the webclient which waiting until the VM was powered off then back on. Now it seems in the webclient, there's a new(er) option when editing a VM's settings for "Upgrade > Schedule VM Compatibility" (with a sub option to only upgrade on GuestOS shutdown).  Selecting this later option (edit vm settings > upgrade > schedule vm compatibility w/o sub-option for guestos shutdown), appear to upgrade the VM Hardware now at reboot rather than full shutdown/poweron.

 

So now comes the questions...

 

When doing this via PowerCli, I understand there are three (if more feel free to add) options for the 'ScheduledHardwareUpgradeInfo.UpgradePolicy' ReconfigureVM method.  'Always', 'Never', and 'onSoftPowerOff'.  What I'm unclear on, is if I use this method with 'Always', to set the version key and reconfigure the VM, does this mean that from now on, every time the VM reboots, it will upgrade hardware if an upgrade is available?  Or, is this a one-time shot like you'd get from doing the same thing with the webclient?  If this isn't a one-time shot and setting the UpgradePolicy to 'Always' actually does mean always after reboot if available, then the final question is, how can I achieve the same result as the webclient way and not impact future version upgrades being forced?

 

Thanks!


Viewing all articles
Browse latest Browse all 178040

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>