VMware Command Collection

Source: Internet
Author: User
Tags network troubleshooting

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.