cmdref.net - Cheat Sheet and Example

cmdref.net is command references/cheat sheets/examples for system engineers.

User Tools

Site Tools


Sidebar








Cloud



Etc


Reference














.

os:vmware:index.html



Operating system (OS)

VMware vSphere Hypervisor (ESXi)

VMware Commands

esxcli command

Operation Commands
Check ESXi Version esxcli system version get
Check Package List esxcli software vib list
Check Maintenance Mode esxcli system maintenanceMode get
Reboot ESXi Host esxcli system shutdown reboot -r “message”


vim-cmd command

Operation Commands
List VM vim-cmd vmsvc/getallvms
vim-cmd vmsvc/power.on VMID
vim-cmd vmsvc/power.off VMID
vim-cmd vmsvc/power.reboot VMID
vim-cmd vmsvc/power.shutdown VMID
vim-cmd vmsvc/power.suspend VMID
Show VM Summary Infomation vim-cmd vmsvc/get.summary VMID
top like Linux esxtop
vmkerrcode -l


Tips

Chage from lazy zero to eager zero

  1. Shutdown guest os
  2. vmkfstools –eagerzero xxxxxx.vmdk
  3. Unattach the Disk from Guest OS
  4. Attach the Disk to Guest OS
vmkfstools --eagerzero xxxxxx.vmdk



os/vmware/index.html.txt · Last modified: 2020/06/01 by admin

Page Tools