Checking logs

Ok, so its monday morning, I come in and there are an onslaught of emails (no change there) from some issues over the weekend.

It would seem there was ‘an issue with vmware’ and the virtual machines were restarting left right and center, imediately I think….Network issue.

To find the answer (for which I was correct) I used the following quick bit of code…

Connect-VIServer myviserver
$esx = Get-VMHost myhost
$log = Get-Log -Key “vmkernel” -VMhost $esx
$log.entries > c:\logs.txt

This showed that the service console nic had lost connection to the network, confirmed around 1hr later from our networks team saying the primary core had re-booted itself 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.