Posts Tagged vmware

Stop/Start a Guest OS in Vmware Server 2.0

The VMWare 2.0 has a command named “vmrun” that can control the state of the VMs. The syntax is:

vmrun [AUTHENTICATION-FLAGS] COMMAND [PARAMETERS]

To list all started VM:

# vmrun -u root -h ‘https://192.168.0.14:8333/sdk’ -p YOURPASSWORD list
Total running VMs: 3
[standard] Apolo/Apolo.vmx
[standard] Ares - NS01/Ares - NS01.vmx
[standard] hades - NS02/hades - NS02.vmx

To stop a VM:

# vmrun -u root -h ‘https://192.168.0.14:8333/sdk’ -p YOURPASSWORD stop “[standard] Apolo/Apolo.vmx”

To start a VM:

# vmrun -u root -h ‘https://192.168.0.14:8333/sdk’ -p YOURPASSWORD start “[standard] Apolo/Apolo.vmx”

 

,

No Comments