Esx: Difference between revisions

From DWIKI
mNo edit summary
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Links=
*[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]


=FAQ=


==start VM==
 
= Links =
 
*[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://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 =
 
== esxtop ==
 
=== Links ===
 
*[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]
 
 
 
 
= FAQ =
 
== 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==
  pam_tally2 --user root --reset
  pam_tally2 --user root --reset


==show hardware info==
== show hardware info ==
 
  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 ==
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