VMware Cloud Community
earnoth
Contributor
Contributor

vsphere-cli doesn't work on ESXi 5.0?

I'm running ESXi 5.0.0, and can't get the vSphere CLI tools to work.  Specifically, vmware-cmd doesn't seem to operate. 

I've been using the tools on ESX 3 and 4 without issue, but when I try and do a simple 'list' command to get a dump of the VMs on the 5.0.0 ESX, I get an empty result...specifically, 10 blank lines:

# vmware-cmd -H <my_IP> -U <esxi_user> -P <password> -l










#

I've installed the latest VMware CLI tools (VMware-vSphere-CLI-5.0.0-615831.x86_64.tar.gz) on a freshly built Ubuntu 10.04.1 LTS, but to no avail.

Help?

Reply
0 Kudos
5 Replies
Sreejesh_D
Virtuoso
Virtuoso

vmware-cmd works fine on my vMA 5.0 + ESXi 5.0. it lists out the VMs registered on ESXi 5 host.

can you try with another ESXi 5.0 host?

Reply
0 Kudos
AndreTheGiant
Immortal
Immortal

Try with vim-cmd

http://vinfrastructure.it/en/2011/12/esxi-replace-the-vmware-cmd-commands/

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
Reply
0 Kudos
earnoth
Contributor
Contributor

Thanks, but that's local to ESXi  What I'm trying to use is a remote VMware CLI command, from a Linux box to an ESXi 5.0 box.

I just checked, and the VMware-vSphere-CLI-5.0.0-615831.x86_64.tar.gz software package does not come with vim-cmd.

Reply
0 Kudos
earnoth
Contributor
Contributor

I'm working on trying it against another ESX 5 box (the only other one I've got).

In the meanwhile, how do I get my hands on vMA 5.0?  Isn't that a virtual appliance I can download?

Thanks.  Smiley Happy

Reply
0 Kudos
lamw
Community Manager
Community Manager

Make sure you follow all the pre-reqs when installing the vCLI on a supported platform. You can also just download the free vMA here http://www.vmware.com/support/developer/vima/ which includes the vCLI and it has vmware-cmd which does work against an ESXi 5.0 host

Reply
0 Kudos