Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 18th August 2008, 17:44
thanis thanis is offline
Join Date: Aug 2007
Location: somewhere over the rainbox
Posts: 30
Thanks: 0
Thanked 7 Times in 7 Posts

Actually, this is quite easy. VMWare Server 2.0 uses a different way of starting VM's. So, if you edit the vmstart file and change the lines using "vmware-cmd start/stop..." to
case "$1" in 
/usr/bin/vmrun -T server -h https://<server-ip-address>:<port>/sdk -u root -p <rootpassword> start nogui "<path-to-vmxfile>" 2>/dev/null 
# EXAMPLE:  /usr/bin/vmrun -T server -h -u root -p password start nogui "/var/vm/myvirtualmachine/myvm.vmx"
/usr/bin/vmrun -T server -h https://<server-ip-address>:<port>/sdk -u root -p <rootpassword> stop "<path-to-vmxfile>" 2>/dev/null 
/usr/bin/vmrun -T server -h https://<server-ip-address>:<port>/sdk -u root -p <rootpassword> list
echo "Usage: `basename $0` 'virtual machine file' {start|stop|status}" 
echo "This commands stops/starts/displays all configured VM's. Update this script !!
exit 0
Beware, I do not run VMWare Server 2.0 so I do not guarantee the validity of this script. Please check the VMWare Server manual, or revert to version 1.0x for compatability reasons.

Reply With Quote
The Following User Says Thank You to thanis For This Useful Post:
Bart van Kleef (18th August 2008)
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 8.04 Server LTS and VMware Server 1.05 Ken Lee Suggest HOWTO 3 10th June 2008 17:03
VMware Server and Linux Mint 5 waellerbe HOWTO-Related Questions 1 2nd June 2008 11:42
VMWARE server 1.0.3 from 1.0.1 gone bad rjn456 Installation/Configuration 2 13th June 2007 09:13
vmware server setup with multiple users handband2 HOWTO-Related Questions 3 19th April 2007 15:44
VMWare Server Free License - Invalid bardgd HOWTO-Related Questions 6 19th November 2006 18:50

All times are GMT +2. The time now is 18:45.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.