I have had good success installing Player 3.1.2 build-301548 on top of Ubuntu 10.04. I have a number of different guest OSes all bridged, but I can't get vmrun to connect. Can I have help troubleshooting?
The vmrun came from VMware-VIX-1.10.1-266898.x86_64.bundle. I have tried many variants on the command...
vmrun -T player -h 'http:// parameters work when I attempt to ssh to my host IP. I've also used my root account. I've tried with Player running and with all VMs and console shutdown.
It bothers me that I can't find an /sdk subdirectory anywhere on the disk. Do I need to install VMware Tools?
The response is almost always "Unable to connect to host. Error: The specified version was not found."
I thought I had vmrun working on an older setup. Also, is VMware working on an enhanced version which does not require passwords in the clear?
Thanks.
A typo, my vmrun commands have used https:
Three things:
Hi Phana,
1) VMware Player does not support remoting. So, you cannot connect remotely via vmrun and perform automation tasks. You will have to run vmrun on the same host as runs Player (when you do this, you can connect without specifying a host URL, username, or password).
2) The current download of VMware VIX (1.10.1) is not compatible with VMware Player. If you install this version of VIX, you will have to modify the /usr/lib/vmware-vix/vixwrapper-config.txt and add the following line at the end of the file:
player 13 vmdb 3.1.2 Workstation-7.1.0
We will have a new release of VIX very soon that has support for Player 3.1.2 out of the box.
3) Yes, vmrun does support not having passwords on the command line. If you try to connect to a VMware Server 2, ESX, or vCenter Server instance (and specify one of these as the host type option--"server", "esx", or "vc"), and do not supply passwords on the command line, vmrun will prompt you to enter the password via a secure command-line prompt (so, characters are not echoed back to the screen). Obviously, this will only work if you are using vmrun interactively.
Message was edited by: mattrich
Thanks for the support.
This modification did not result in any change. I using two computers for this problem and both gave the same result.
I found the file, copied a similar line and editted the line right before the "#EOF". The end of my vixwrapper-config.txt now looks like..
Workstation 7.1.0
ws 13 vmdb 7.1.0 Workstation-7.1.0
player 13 vmdb 3.1.0 Workstation-7.1.0
player 13 vmdb 7.1.2 Workstation-7.1.0
EOF
Please review these changes and let me know if they look correct. In addition I ran tests with the "player 13" line commented out. I rebooted, tried to connect with Player running and not running, with guests running and not running, etc. As usual I tried a number of various vmrun options, the simplest being (in a root window)...
vmrun -T player list
Please let me know if I can provide additional troubleshooting help.
Thanks,
- Phil Heineman
work: 619-574-2205
Typo..
I ran additional tests with the FIRST "player 13" line commented out..
- Phil H
Sorry, there was a typo in my post; the version number in the added line should be 3.1.2 not 7.1.2 (I have edited my previous post to reflect this to prevent future confusion).
That seems to do it.
Maybe I should know more about the wrapper file. Is there documentation you can direct me to?
Thanks,
- Phil H
My attempt to clone a vm failed..
Error: The operation is not supported.
Is this operation not functioning with my current configuration?
What is the best way to backup a current vm state without having to do a reinstallation?
Thanks,
- Phil H
vmrun does not support the "clone" operation when used with VMware Player (nor are any snapshot functions). You would have to buy VMware Workstation to get support for this functionality.
You can always make copies of the virtual machine's directory through the normal shell operations.
vmrun does not support the "clone" operation when used with VMware Player
Even though is does show this in Getting Started with the VIX API for VMware Player It would be nice if the Documentation Team would do a better job since in Using vmrun to Control Virtual Machines under clone it only states "(Cloning not supported on VMware Server or on VMware Fusion.)" so would you pass it along to them.