VMware vSphere

 View Only
  • 1.  History of which VMs were running on an ESXi host

    Posted Mar 31, 2014 11:51 AM

    Hi,

    Is it somehow possible to determine which VMs were running on an ESXi Host on a specific time?

    Cheers!



  • 2.  RE: History of which VMs were running on an ESXi host

    Posted Mar 31, 2014 12:50 PM

    Go to the tasks & events tab for that specific host and looks for power on events for each VM you are looking for.  If you don't see a power off or shutdown, then the VM was still running.  I am sure you could write a powercli script to search for these events.



  • 3.  RE: History of which VMs were running on an ESXi host

    Posted Mar 31, 2014 02:39 PM

    Thanks for you answer, but thats not exactly what I'm looking for.

    The problem was one of our ESXi host rebooted unexpectedly and all VMs running on that host where restart on an other host by HA. Now I was interested in, if there is a way to find out which VM's where running on a host on a given timestamp. So I can see which VMs were running on that particularly host before it rebooted.

    Cheers!



  • 4.  RE: History of which VMs were running on an ESXi host

    Posted Mar 31, 2014 03:05 PM

    Go to each VM and go to the tasks and events tab.  Click on the events button, then look for the time frame when the ESXi host rebooted and there should be an event that shows the VM being migrated from the rebooted ESXi host to the new host it is on. 

    I know that is a lot of work, but that is the only way I know of without scripting it.

    You could use powercli to look for events within a certain time, from a certain host ...



  • 5.  RE: History of which VMs were running on an ESXi host

    Posted Apr 01, 2014 06:50 AM

    Ok, not so good, for troubleshooting this would be a nice feature to have. I will try to make something with PowerCli as you suggested.

    Thanks anyway!