How to check the last time an ESXi host booted

VMware

I was investigating some VM issues recently, and needed to find out when an ESXi host last rebooted to see if I could correlate logs with events to discover the source of the issue.

There are a few of easy ways to find out the last time an ESXi host booted, there are probably more, but these should be enough for a quick check.

Firstly in vCenter, on the left hand side browse to the top level, the Datacenter level or Cluster level. Then in the right hand pane look at the hosts tab, and scoll along to the uptime column.

vcenter-hosts-uptime

The second and third methods involve connecting to the ESXi host via SSH. For this I use Putty (see the Useful Tools page).

Once connected to the ESXi host you can use the command uptime to see the last time an ESXi host booted, or you can use the command grep booted /var/log/vmksummary.log to view historic reboots if you have persistant storage for logging.

uptime-grep-booted-var-logs-vmksummary





Related Posts:

1.  How to convert a Hyper-V VHDX to VMDK for VMware Workstation

2. How to resolve VMware Workstation “The network bridge on device ‘VMnet0’ is not running”

3. How to install Dell OpenManage Server Administrator on ESXi 5.1 using VMware Update Manager

4. How to resolve VMware ESXi 6.0 only detects first NIC when nested in VMware Workstation

Related Posts

Leave a Reply

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