Extend virtual disk
vmkfstools -X 30G /vmfs/volumes/datastore_name/vm_name/vm_name.vmdk
here 30G is not extra space, which is the total space finally.
to see the detail please check http://kb.vmware.com/kb/1007266
Labels
2012年2月24日
2011年5月16日
use esxcli kill stunk vm in ESXi 4.1
Find world ID
# esxcli vms vm list
Soft kill vm
#esxcli vms vm kill -w 81238123 -t soft <---here 81238123 is world ID
# esxcli vms vm list
Soft kill vm
#esxcli vms vm kill -w 81238123 -t soft <---here 81238123 is world ID
2011年2月15日
vmware esx update command
0.1. Suppose ssh is ready; patch is download from http://www.vmware.com/patch/download/
0.2 Upload patch file to esx server with scp or using viclient browse datastore and upload
1. Enter maintain mode
ESX:
vimsh -n -e /hostsvc/maintenance_mode_enter
ESXi:
vim-cmd /hostsvc/maintenance_mode_enter
2. Execute update
esxcli software vib intall -d /path/to/patch/esxi_update_patch.zip
3. Exit maintenance mode
ESX:
vimsh -n -e /hostsvc/maintenance_mode_exit
ESXi:
vim-cmd /hostsvc/maintenance_mode_exit
4. System reboot
0.2 Upload patch file to esx server with scp or using viclient browse datastore and upload
1. Enter maintain mode
ESX:
vimsh -n -e /hostsvc/maintenance_mode_enter
ESXi:
vim-cmd /hostsvc/maintenance_mode_enter
2. Execute update
esxcli software vib intall -d /path/to/patch/esxi_update_patch.zip
3. Exit maintenance mode
ESX:
vimsh -n -e /hostsvc/maintenance_mode_exit
ESXi:
vim-cmd /hostsvc/maintenance_mode_exit
4. System reboot
2011年1月27日
Improve VMware Console Mouse Experience with Windows Server 2008
ref.: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1011709
ref.: http://vm-pro.com/improve-vmware-console-mouse-experience-with-windows-server-2008/
ref.: http://vm-pro.com/improve-vmware-console-mouse-experience-with-windows-server-2008/
2011年1月21日
vmware-vmrc example
Directly connect to ESX
vmware-vmrc -h 192.168.1.123 -m "[datastore1] rayvm/rayvm.vmx"
orvmware-vmrc -h 192.168.1.123 -u "administrator" -p "yourpassword" -m "[datastore1] rayvm/rayvm.vmx"
Directly connect to VMware Server
vmware-vmrc.exe -h 192.168.1.246:8333 -m "[datastore1] rayvm/rayvm.vmx"
訂閱:
文章 (Atom)