FICStech
Contributor
Contributor

ESXi 4.0 - Trying to suspend a VM with script using Remote CLI

Jump to solution

Sorry if this is in the wrong forum; I can't find the ESXi 4.0 specific forum.

This is the script that I tried to use to get my VM to suspend in ESXi 4.0 remotely using the Remote CLI:

"vmware-cmd.pl" --server 192.168.5.6 --username xxxx --password xxxx "/vmfs/volumes/datastore1/Helix/Helix.vmx" suspend soft

This error message comes up after I hit enter:

SOAP Fault:

-


Fault string: fault.RestrictedVersion.summary

Fault detail: RestrictedVersionFault

Operation cannot be performed.

SOAP Fault:

-


Fault string: fault.RestrictedVersion.summary

Fault detail: RestrictedVersionFault

I just need to be able to remotely suspend my VMs on the ESXi 4.0 box. Any suggestions on how to get this to work? I'm open to other ways as well...

0 Kudos
1 Solution

Accepted Solutions
lamw
Community Manager
Community Manager

Take a look at this article for your answer: http://vmetc.com/2009/03/31/esxi-u4-ends-free-version-read-and-write-access-from-the-rcli/

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Comuunity

Twitter: @lamw

If you find this information useful, please award points for "correct" or "helpful".

View solution in original post

0 Kudos
3 Replies
Rubeck
Virtuoso
Virtuoso

Is this the free version you're using? If so, I might believe that read operations only are allowed from RemoteCli...

/Rubeck

FICStech
Contributor
Contributor

Yes I'm using the free version.

0 Kudos
lamw
Community Manager
Community Manager

Take a look at this article for your answer: http://vmetc.com/2009/03/31/esxi-u4-ends-free-version-read-and-write-access-from-the-rcli/

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Comuunity

Twitter: @lamw

If you find this information useful, please award points for "correct" or "helpful".

View solution in original post

0 Kudos