VMware command in linux system with other linux command is not the same, completely different.
Debian linux and other systems are relatively different, but not entirely different.
The following is a simple command of VMware.
ESXI command line:
vim-cmd vmsvc / getallvms | grep <vm name>
vim-cmd vmsvc / power.getstate <vmid> to view the virtual machine state
vim-cmd vmsvc / power.on <vmid > Open Virtual Machine
vim-cmd / hostsvc / hostsummary | grep inMaintenanceMode to see whether to enter maintenance mode
vim-cmd / hostsvc / maintenance_mode_enter into maintenance mode
esxcli vm process list # show only the boot virtual machine list
esxcli vm process kill --type = [soft , hard, force] --world-id = WorldNumber delete a virtual machine
/etc/init.d/vpxa status to view the agent operation vcenter
Vsan command line:
change the number of concurrent data synchronization process vsan:
vsish -e the SET / vmkModules / vsan / dom / MaxNumResyncCopyInFlight 30
the number of concurrent data synchronization process validation vsan
vsish -e get / vmkModules / vsan / dom / MaxNumResyncCopyInFlight
Will be a host out of the cluster, the first SSH to host
the esxcli VSAN Cluster GET
the esxcli the Leave Cluster VSAN
esxcli storage core device list |. grep naa view the host disk
esxcli vsan storage add --ssd naa.55cd2e414dcedf2a --disks naa.5000c500a08ab3a3 adding a disk group
to see which disk group belongs to a particular disk
Vdq -ih
the esxcli VSAN Storage disk delete the Remove -s cachedisk_id 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
to view the vc:
whether vsan.resync_dashboard RS003-Cluster005 data needs to be synchronized
vsan. obj_status_report RS003-Cluster005 view the state of the object vsan
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
esxcfg-scsidevs -a (acquired RAID card name)
esxcfg-module -i + RAID name query RAID version and FW (fireware)
Tail + | more representation have read the check information