Esx: Difference between revisions

From DWIKI
mNo edit summary
mNo edit summary
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:


= Links =
= Links =
Line 4: Line 6:
*[https://pubs.vmware.com/vsphere-51/topic/com.vmware.vcli.examples.doc/cli_manage_storage.6.6.html NFS on ESX]  
*[https://pubs.vmware.com/vsphere-51/topic/com.vmware.vcli.examples.doc/cli_manage_storage.6.6.html NFS on ESX]  
*[https://www.rootusers.com/how-to-increase-the-size-of-a-linux-lvm-by-adding-a-new-disk/ Adding a disk]  
*[https://www.rootusers.com/how-to-increase-the-size-of-a-linux-lvm-by-adding-a-new-disk/ Adding a disk]  
*[https://kb.vmware.com/s/article/289902?src=vmw_so_vex_rvand_702 interpreting scsi sense codes]
*[https://www.vmwareblog.org/disk-mode-esxi-vm-use/ Disk modes]


= Tools =
= Tools =
Line 13: Line 17:
*[https://communities.vmware.com/docs/DOC-11812 Interpreting esxtop statistics]  
*[https://communities.vmware.com/docs/DOC-11812 Interpreting esxtop statistics]  
*[https://kb.vmware.com/s/article/1027901 Checking the queue depth of the storage adapter and the storage device]
*[https://kb.vmware.com/s/article/1027901 Checking the queue depth of the storage adapter and the storage device]




Line 18: Line 24:


== start VM ==
== start VM ==
=== List all vms ===


  vim-cmd vmsvc/getallvms
  vim-cmd vmsvc/getallvms
  vim-cmd vmsvc/power.getstate [vmid]
  vim-cmd vmsvc/power.getstate [vmid]
  vim-cmd vmsvc/power.off [vmid]
  vim-cmd vmsvc/power.off [vmid]
  vim-cmd vmsvc/power.on [vmid]
  vim-cmd vmsvc/power.on [vmid]
 


== root account locked ==
== root account locked ==
Line 34: Line 41:
  esxcfg-info
  esxcfg-info
        
        
== Identify disks in Linux ==
lsscsi
== Check if vmdk is in use ==
grep vmdk some.vmx
https://blah.cloud/infrastructure/safely-checkremove-orphaned-vmdk-files-from-esxi/
  vmkfstools -D foo.vmdk
 
== list modules ==
== list modules ==
  esxcli system module list
  esxcli system module list

Revision as of 10:13, 28 September 2021


Links

Tools

esxtop

Links



FAQ

start VM

List all vms

vim-cmd vmsvc/getallvms
vim-cmd vmsvc/power.getstate [vmid]
vim-cmd vmsvc/power.off [vmid]
vim-cmd vmsvc/power.on [vmid]

root account locked

pam_tally2 --user root --reset

show hardware info

esxcfg-info
      

Identify disks in Linux

lsscsi


Check if vmdk is in use

grep vmdk some.vmx

https://blah.cloud/infrastructure/safely-checkremove-orphaned-vmdk-files-from-esxi/

 vmkfstools -D foo.vmdk


 

list modules

esxcli system module list