Showing posts with label vmware server. Show all posts
Showing posts with label vmware server. Show all posts

Monday, December 6, 2010

esxi managing from console

See also: Robert Chase page

It is easy to use console of ESXi server and do some managing from it.


Get all virtual machines
vim-cmd vmsvc/getallvms

Power off/on/reboot virtual machine with id 368
vim-cmd vmsvc/power.off 368
vim-cmd vmsvc/power.on 368
vim-cmd vmsvc/power.reboot 368


Get information about virtual machine with id 368
vim-cmd vmsvc/get.summary 368

Delete all snapshots
vim-cmd vmsvc/snapshot.removeall 368

Refresh datastore
esxcfg-nas -r

Delete and add nfs datastore back
esxcfg-nas -d back
esxcfg-nas -a back --host IPADDRESS --share DIRECTORY


Running processes
esxtop

Console screen
dcui

Tuesday, November 3, 2009

vmware server 2.0.1 in ubuntu 9.10

See: blog.mymediasystem.net

Try reinstall from source, and after fail of installation (vmware-install.pl) copy
patch to the instalation directory (vmware-server-distrib/), untar and run patch. Run

sudo rm -r /usr/lib/vmware/modules/binary

now you can accomplish installation by

sudo /usr/bin/vmware-config.pl

Sometimes webaccess do not work so restart server by:

sudo killall -9 vmware-hostd
sudo /etc/init.d/vmware-mgmt restart


For new installation of 2.0.2 use http://radu.cotescu.com/2009/10/30/how-to-install-vmware-server-2-0-x-on-ubuntu-9-10-karmic-koala/