VMware {code} Community
Andy1232
Contributor
Contributor

Problems using vmrun on ESX3.5

Hopefully a quick question because I'm missing something obvious.

I am running vmrun version 1.12.1 against an ESX 3.5 Server and am getting partial sucess.

If I run:

vmrun -T ESX -h http://{ip Address}/sdk -u root list

I am prompted for the password then it lists the VM's running as follows.

Total running VMs: 3

[ha-datacenter/server:storage2] Client/Client.vmx

""                          ""                     ""

""                          ""                     ""

But when I try to list the snapshots using:

vmrun -T ESX http://{ip Address}/sdk -u root listSnapshots "[ha-datacenter/server:storage2] Client/Client.vmx"

or

vmrun -T ESX http://{ip Address}/sdk -u root listSnapshots "[server:storage2] Client/Client.vmx"

I get the following error.

Error: Cannot open VM: [server:storage2] Client/Client.vmx, There was an error in communication.

Thanks,

Tags (1)
0 Kudos
2 Replies
lemke
VMware Employee
VMware Employee

I'd need to see the debug logs from vmrun to know for sure, but my initial guess is that the host running vmrun can't connect to the ESX automation socket.  Is there any firewall in place blocking port 902?

Andy1232
Contributor
Contributor

It appears that the list snapshot function is not contained within ESX3.5, upgraded to ESX4 and had no problems running the command.

0 Kudos