VMware {code} Community
ymnick
Enthusiast
Enthusiast

StandbyGuest vs SuspendVM_Task

Hi All,

StandbyGuest and SuspendVM_Task methods both put the VM into 'suspended' state, and the only difference I noticed is that standby process initiated by StandbyGuest command completes instantly, and then the VM gets suspended 'in the background' without any indication in the vSphere Client UI, while the process started by SuspendVM_Task takes a few long seconds to complete and there is a progress bar in the UI indicating the suspension progress. Is there anything else, except of VMware Tools presence requirement for StandbyGuest?

Thanks,

Ymnick

Reply
0 Kudos
1 Reply
lamw
Community Manager
Community Manager

I suspect the difference as you've already mentioned is one ends with _Task() which specifies is an async operation and non-blocking, where as the StandByGuest() is probably blocking. For example PowerOnVM_Task() is an async but there is also a sync version which isn't documented called PowerOnVM(). My guess is this is whats happening here given both have same outcome and probably the naming of the method was different when it was first introduced.