VMware Cloud Community
AlbertWT
Virtuoso
Virtuoso
Jump to solution

Where is the log files location to diagnose the ESXi after server host restart ?

Hi all,

Last night one of my ESXi host got restarted by itself for unknown reason, is there any way to look into the log what cause it to restart ?

I have access to this URL: https://ESXi02/host is there any way to know what may cause it to reboot all in a sudden ?

Thanks.

AWT

/* Please feel free to provide any comments or input you may have. */
Tags (3)
Reply
0 Kudos
1 Solution

Accepted Solutions
sabya1232003
Enthusiast
Enthusiast
Jump to solution

The Best option for ESXi logs is to collect it via VI client.VMware does not recommend any diagnosis directly on the server console as it has a small hyperviser and no service console.

View solution in original post

Reply
0 Kudos
6 Replies
chadwickking
Expert
Expert
Jump to solution

Howdy,

No problem at all. You can find the logs for ESXi in the following directories directly on the host or you can also go to the host with the vsphere client and export the logs.

by the web you could refer to the following site:

http://www.techhead.co.uk/how-to-view-your-vmware-esxi-hosts-system-log-config-and-datastore-via-a-w...

also:

http://www.simonlong.co.uk/blog/2010/06/03/vmware-esxi-4-log-files/






Cheers,

Chad King

VCP-410 | Server+

Twitter: http://twitter.com/cwjking

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful

Cheers, Chad King VCP4 Twitter: http://twitter.com/cwjking | virtualnoob.wordpress.com If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
AlbertWT
Virtuoso
Virtuoso
Jump to solution

Thanks for your reply man,

Does this log always reset to zero after the system reboot ?

Or does the time in the directory is in UTC not according to the NTP that I set ?

/* Please feel free to provide any comments or input you may have. */
Reply
0 Kudos
chadwickking
Expert
Expert
Jump to solution

Yes and Yes - also - you can set up a syslog server to prevent this from happening - HIGHLY recommended!

http://www.simonlong.co.uk/blog/2010/05/28/using-vma-as-your-esxi-syslog-server/

IMO this is a very cool way to have centralized management.






Cheers,

Chad King

VCP-410 | Server+

Twitter: http://twitter.com/cwjking

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful

Cheers, Chad King VCP4 Twitter: http://twitter.com/cwjking | virtualnoob.wordpress.com If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
Reply
0 Kudos
sabya1232003
Enthusiast
Enthusiast
Jump to solution

The Best option for ESXi logs is to collect it via VI client.VMware does not recommend any diagnosis directly on the server console as it has a small hyperviser and no service console.

Reply
0 Kudos
AlbertWT
Virtuoso
Virtuoso
Jump to solution

Ok, does vMA 4.1 supports logging for ESXi ?

Kind Regards,

Albert Widjaja T.

/* Please feel free to provide any comments or input you may have. */
Reply
0 Kudos
AlbertWT
Virtuoso
Virtuoso
Jump to solution

Thanks for the advice Sir,

Is it by Exporting System Log through vSphere Client to my local machine ?

/* Please feel free to provide any comments or input you may have. */
Reply
0 Kudos