Virtu-Al.Net

Virtually everything is poshable

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 *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>