Pages

Thursday, June 30, 2005

Command Line VMware tool

I just found out how to register and unregister a vm from the command line. Why would I want to do this you say?

Well, lets just say you can't vmotion a VM because it has physical drives presented to it instead of .vmdk files. Using FTP I coppied the /home/vmware/server folder to another VMWare server and then did the following...

chmod 1777 -R server folder
vmware-cmd register -s /home/vmware/{guestfolder}/{guest}.vmx

And on the old VMWare server I ran:
vmware-cmd unregister -s /home/vmware/{guestfolder}/{guest}.vmx

viola!

No comments:

Post a Comment