Starting and stopping vmware in linux command line
Jan.20, 2010 in
Blog
One advantage of using command line is that you can start and stop the VM without logging into the web console. I am using vmware server 2.0. I believe it should work the same for future versions.
To start and stop certain instance, say ares,
vmrun -T server -h 'https://10.2.115.21:8333/sdk' -u root -p 'yourpass' start "[standard] ares/ares.vmx" vmrun -T server -h 'https://10.2.115.21:8333/sdk' -u root -p 'yourpass' stop "[standard] ares/ares.vmx"
you can list all vm currently running under vmware using
vmrun -T server -h 'https://10.2.115.21:8333/sdk' -u root -p 'yourpass' list Total running VMs: 5 [standard] medusa/medusa.vmx [standard] ares/ares.vmx [standard] hera/hera.vmx [standard] hermes/hermes.vmx [standard] zeus/zeus.vmx
The vmrun command can do much more. see “vmrun –help”












Leave a Reply