VMware Cloud Community
jherry22
Contributor
Contributor

When does powerOn return?

Hello,

I need to know when the power on function ends, e.g.

  • is it at the end of the boot (login screen is displayed)?
  • is it when vmware tools are up and running?
  • other?

Thank you.

0 Kudos
1 Reply
cfor
Expert
Expert

PowerOn - Vapp -> is done when the network devices are started (edge vapp networks) + all VM's are powered on (that are set to start on vapp startup)

PowerOn - VM -> is done as soon as the VM gets past the bios boot screen

It would be nice if a param existed to powerOn(WaitForTools) or something, but it does not.

Keep in mind powerOn RETURNS the second it is call.  It creates a task that you have to watch to see when the operation is done ... bt done does not equal guest OS up and running.  One example, the first time a windows system boots, if guest customization is on - I have seen it take 15 minutes before the system was really usable.  No way to really know this from the cloud director side (that I have found)

ChrisF (VCP4, VCP5, VCP-Cloud) - If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful