Search This Blog

Saturday, April 7, 2012

ESXi Troubleshooting






Find runing VM WWID: vm-support -x 
Restart Management agent = services.sh restart
ESX Version: vmware -v


Checking Logs
------------------


tail -f /var/log/message
cat /var/log/messages | grep -i reservation
ls -tr /var/log/messages* | xargs grep -il reservation
cat /var/log/messages | grep -i power-on
/usr/sbin/vmdumper -l
cat /var/log/messages | grep -i abort
grep -ih scsi /var/log/messages | cut -c 50 | sort | uniq | sort -m
cat /var/log/messages | grep -ih vob
logger [m1]
$ sed -n '/m1/,/m2/p' /var/log/message
head -20 /var/log/message | tail -5 


Fail the volume / rescan
-----------------------
esxcfg-advcfg -g /VMFS3/FailVolumeOpenIfAPD
esxcfg-advcfg -s 1 /VMFS3/FailVolumeOpenIfAPD
esxcfg-rescan vmhba2


---------------------------------------------
VMA
--------------------------------------------


vilogger
vifp
vifptarget
savesession.pl


----------------------------------
Find NIC driver version
----------------------------------

esxcfg-nics -l
ethtool -i vmnic10


===================================
Putty
===================================
http://the.earth.li/~sgtatham/putty/0.58/htmldoc/Chapter3.html
Copy : Select the text
Paste: Right click
copy a word : double click
copy successive words: double click hold and drag
copy a line : triple click
copy sequence of lines: triple-click and drag
extend selection: middle click
rectangle selection: hold alt


PLogs\&H-&Y&M&D-&T.log

No comments:

Post a Comment

Followers