Using vmware-cmd.pl On ESX 3.0
Friday, 28 July 2006 by Michel Roth
A tip from Geert Baeke: vmware-cmd.pl is a command (perl script) to do all kinds of things with virtual machines from the ESX command line. You can use it to register and unregister virtual machines, stop, start and resume them and much more.

I wanted to use vmware-cmd to register a few virtual machines but it threw an error about not finding required perl modules. The solution to that was that I needed to run vmware-config.pl. That command will do the necessary stuff to get vmware-cmd.pl to work properly.

By the way, to register a virtual machine, it seems that you have to use the path to the vmx file using the UUID and not the label. Something like vmware-cmd -s register /vmfs/volumes/uuid/folder/filename.vmx. More information about that can be found in Mike Laverick's guide and also in the knowledge base. After registering the virtual machine, it will show up in VirtualCenter as well.

Read it al here.

Related Items:

New And Updated Tools From Massimiliano Daneri (2 January 2007)
Chip PC Anounces VDI Support (23 October 2006)
VMware Virtual Machine Importer 2.0 (6 October 2006)
Remotely Control VMware Server Machines (14 June 2006)
VMware Virtual Center 1.4 Released (12 July 2006)
Virtual Machines Slow After Using Virtual Machine Importer? (8 November 2006)
Virtual Machine Mobility (12 April 2005)
Virtual Machine Importer 2.0 Beta (9 March 2006)
ESX Server 3.0 and VirtualCenter 2.0 Available For Download (16 June 2006)
VMware Releases VMware Converter 3.0 (30 January 2007)
Comments (0)add feed
password
 

busy