Esx

From DWIKI
Revision as of 13:14, 21 March 2024 by Tony (talk | contribs)


Links

Storage sense codes

Example: H:0x0 D:0x2 P:0x0 Valid sense data: 0x5 0x24 0x0

  • H: host status
  • D: device status
  • P: plugin status

Sense data:

  • Sense key
  • Additional sense data


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 guest

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


ESXi login locked

pam_tally2 --user root

and

pam_tally2 --user root --reset