My backups scripts stopped working after I've upgraded my win7 x64 host to Workstation 9 from version 8.
My simple script looks like this:
vmrun.exe suspend myvm.vmx
.. copy to backup device ..
vmrun.exe start myvm.vmx nogui
This used to work flawlessly. But now start command returns:
Error: The operation was canceled
What's interesting that if i run start command again at a later time, it works fine.
Any ideas?
Thank you.
gui.lastPoweredViewMode = fullscreen
gui.viewModeAtPowerOn = fullscreen
I wonder if this settings are good for a VM you start with nogui option ?
Do you really need 3d support ? - did you try with 3d support disabled ?
Noticed an interesting pattern.
It fails for win7 guests only. Ubuntu guest starts fine.
can you post the vmware.log of the affected VM ?
Ah. Should have looked there myself. Log below.
Looks like something to do with graphics. Perhaps this happens because machine is "locked" during the backup process since it happens at night.
Just to reiterate, nothing has changed at all except Workstation version. No hardware changes, no backup schedule changes, etc.
I've also attached the successful start log that happens when host screen is unlocked and I start my VMs in the morning manually via same start command.
gui.lastPoweredViewMode = fullscreen
gui.viewModeAtPowerOn = fullscreen
I wonder if this settings are good for a VM you start with nogui option ?
Do you really need 3d support ? - did you try with 3d support disabled ?
Hmmm. I thought nogui just meant dont fire up VMWare console GUI on the host and had nothing to do with actual guest UI/gfx.
I'll disbale two options you've suggested and see what happens.
Still, strange that I have to change things just cause of workstation software upgrade.
Thank you.
That did the trick. Disabling "3D Acceleration" for the VMs fixed it.
I guess you can't have 3d accel on if you going to suspend/resume via command line. Not sure why though, that sure makes it a little cumbersome to backup your VMs if 3d accel is desired.
Thank you for your help.