On 01/24/2011 02:43 PM, Edward Ned Harvey wrote:
>> From: discuss-boun...@blu.org [discuss-boun...@blu.org] On Behalf Of Jerry 
>> Feldman [g...@blu.org]
>>
>> My question is how does one start a VM directly from the command line. I
>> saw some documentation that referenced vmware-cmd, but we don't have
>> that installed.
> It may be too late for this, but FWIW, for all the ripping I do on VMWare 
> Server, I still have one system where this is in production.  I was able to 
> look this up today.
>
> You say you don't have vmware-cmd installed, but it's automatically installed 
> with your vmware server installation, so unless you went browsing into the 
> vmware directory after installing and then deleting files in there...  It's 
> there.  And it works.  It's a perl script, but on windows there's a .bat 
> wrapper to launch the perl script.
>
> Here is an example of it working on my windows server:
> "C:\Program Files\VMware\VMWare Server\vmware-cmd" 
> "C:\VirtualMachines\MyGuest1\MyGuest1.vmx" start
The vmware-cmd command is not installed on my installation (if I log
into the host where the server is installed and do a find /usr/bin
/usr/lib/vmware -name vmware-cmd, it does not show up. I've actually
done a more extensive find. Also if you look at the VMWare knowledge
base, they tel you about the vmrun command:
vmrun -u USER -h 'https://vmware.server.com:8333/sdk' -p PASSWORD start
"[storage] Path/to/.vmx"
This should work, but I get permission denied if I use USER=root with
the root password or USER=me with my password (I am set up as an admin
on VMWARE server). I have not had the time to really research this.

-- 
Jerry Feldman <g...@blu.org>
Boston Linux and Unix
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846


_______________________________________________
Discuss mailing list
Discuss@blu.org
http://lists.blu.org/mailman/listinfo/discuss

Reply via email to