VMware Cloud Community
atbnet
Expert
Expert

Suspend VM Failing - Via VC and ESX vmware-cmd

When suspending a VM via VC or ESX vmware-cmd it fails.

VC Error: "A general system error ocured: An error occured while suspending the virtual machine".

ESX host.log: ==> vmware/hostd.log <==

Task Created : haTask-352-vim.VirtualMachine.standbyGuest-71442

Invalid transit ion requested (VM_STATE_ON_HIBERNATING -> VM_STATE_HIBERNATING): Invalid state

Task Completed : haTask-352-vim.VirtualMachine.standbyGuest-71442

Activation : Invoke done on

Throw vim.fault.InvalidPowerState

Result:

(vim.fault.InvalidPowerState) {

dynamicType = <unset>,

requestedState = "suspended",

existingState = "poweredOn",

msg = ""

}

Any Ideas? Other VMs specifically 2008 VMs with vmware tools installed (exactly the same) can be suspended fine.

Tried powering off the VM and started up again then attempted suspend again, still no luck!!

Andy, VMware Certified Professional (VCP),

If you found this information useful please award points using the buttons at the top of the page accordingly.

Andy Barnes
VCP / VCA-DT / MCITP:EA / CCIA
Help, Guides and How Tos... www.VMadmin.co.uk

If you found this information useful please award points using the buttons at the top of the page accordingly.
0 Kudos
3 Replies
atbnet
Expert
Expert

command being run:

/usr/bin/vmware-cmd -H esx1.domain.local -U root -P pass /vmfs/volumes/428dc3d3-4b6af645-62b9-001aa01b9012/ExampleVM1/ExampleVM1.vmx suspend

error returned:

VMControl error -999: Unknown error: SoapError: ServerFaultCode(0) : (The attempted operation cannot be performed in the current state (Powered On).)

Andy, VMware Certified Professional (VCP),

If you found this information useful please award points using the buttons at the top of the page accordingly.

Andy Barnes
VCP / VCA-DT / MCITP:EA / CCIA
Help, Guides and How Tos... www.VMadmin.co.uk

If you found this information useful please award points using the buttons at the top of the page accordingly.
0 Kudos
Chamon
Commander
Commander

Are you running this from the remote CLI? Is this ESXi? If not the command should be

vmware-cmd path/to/server/server.vmx suspend

only. Are you running the command from the host that the VM is registered to? Any other info is helpfull.

atbnet
Expert
Expert

Its ESX as I said, running from service console. Thats the command im running, the problem is either way GUI of cmd it fails.

Andy, VMware Certified Professional (VCP),

If you found this information useful please award points using the buttons at the top of the page accordingly.

Andy Barnes
VCP / VCA-DT / MCITP:EA / CCIA
Help, Guides and How Tos... www.VMadmin.co.uk

If you found this information useful please award points using the buttons at the top of the page accordingly.
0 Kudos