ESXi command line:
Vim-cmd Vmsvc/getallvms |grep <VM name>
Vim-cmd vmsvc/power.getstate <vmid> view virtual machine status
Vim-cmd vmsvc/power.on <vmid> Open Virtual machine
Vim-cmd/hostsvc/hostsummary | grep Inmaintenancemode to see if maintenance mode is entered
Vim-cmd/hostsvc/maintenance_mode_enter Entering maintenance mode
ESXCLI VM Process List # Displays only the virtual machines that are powered on
ESXCLI VM process Kill--type=[soft,hard,force]--world-id=worldnumber deleting a virtual machine
/ETC/INIT.D/VPXA Status View vcenter agent operating condition
Vsan command line:
To modify the number of virtual Vsan concurrent data synchronization processes:
VSISH-E Set/vmkmodules/vsan/dom/maxnumresynccopyinflight 30
Verifying the number of Vsan concurrent data synchronization processes
Vsish-e Get/vmkmodules/vsan/dom/maxnumresynccopyinflight
To move a host out of the cluster, SSH to the host first
ESXCLI Vsan Cluster get
ESXCLI Vsan cluster leave
ESXCLI Storage Core Device List | grep Naa. Viewing host disks
ESXCLI Vsan Storage Add--SSD naa.55cd2e414dcedf2a--disks naa.5000c500a08ab3a3 Adding a disk group
To see which disk Group a specific disk belongs to
Vdq-ih
ESXCLI Vsan Storage remove-s cachedisk_id Deleting a disk group
ESXCLI Vsan Network List view Vsan multicast address
ESXCLI Vsan Network IPv4 set-i vmk1-d 224.2.3.49-u 224.2.3.50 set Vsan multicast address
View in VC:
Vsan.resync_dashboard rs003-cluster005 If there is data to synchronize
Vsan.obj_status_report rs003-cluster005 Viewing the status of a Vsan object
NSX Network Troubleshooting
Vmkping ++netstack=vxlan-s 1570-d-I vmk3 10.60.0.65
Vmkping-i Vmk1 10.78.4.1
Net-vdr-l-I.
Net-stats-l
ESXCLI network NIC stats get-n vmnic0
ESXCLI Network NIC List
VMware Command Collection