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
The vmrun command can do much more. see “vmrun –help”
sometimes the vmware web access just halted for some reason. A good way to overcome that is to simply restart the vmware web server, ie
1. shutdown vmware either from browser or console.
2. checkout the vmware-vdiskmanager command. The example there tells everything.
It is possible to run machines in vmware instead of xen. Vmware comes in handy when you have an old kernel that doesn’t support para-virtualisation.
vmware server is now web-based starting from ver 2.0. vmware is one of the pioneers when comes to virtualisation. It is meant to be as stable as a rock. I use it together with xen. Too bad, vmware is not in the redhat repository, so you will have to download the software from vmware website. They will prompt for some user information. You need to give the right email address because they will be sending the serial to your email.
After downloading the rpm, install it (vmware cannot run together with xen. Don’t use the xen kernel if you want to use vmware). Then run “vmware-config.pl” and enter the serial when prompted. You will notice that it will want to use certain ports. If you have iptables on, make sure you open them. If you have selinux on, you need to change the fcontext of a file. To make the change survive a relabel,
semanage fcontext -a -t textrel_shlib_t /usr/lib/vmware/vmcore/libvmacore.so.1.0
If unsure, see your setroubleshootd
If not done already, start vmware service “/etc/init.d/vmware” and make sure you see OK for everything. In your browser, login as root using your system password.The browser will prompt you to install a plugin to view the vm console. I found it faster to run in firefox. I was getting some errors when the browser was running in linux. It is best view the console in windows.
If the vm fails to boot up for some reason, it could be that the machine is being locked. remove the .vmdk.lck file in the relevant vm folder.
all done. easy peasy.