VMware Cloud Community
absdear
Contributor
Contributor

How to get VM details which failed over due to HA from ESX logs

Hi,

I have an esx host, which crashed and it failed over all running VM's from the host to other host in DRS.

I checked AAM logs from /var/log/vmware/aam however, there is no details of which VM's were running on it, and failed over to other host.

I know, we can get these details from VC, however is there any log file for this, which VM's were failed from the Host?

0 Kudos
5 Replies
Virtualinfra
Commander
Commander

Hi,

You can get the VPXD.LOG from the below location in the virtual center server as follows:

  • vCenter Server 2.5-5.0 on Windows XP, 2000, 2003: %ALLUSERSPROFILE%\Application Data\VMware\VMware VirtualCenter\Logs\
  • vCenter Server 2.5-5.0 on Windows Vista, 7, 2008: %ALLUSERSPROFILE%\VMware\VMware VirtualCenter\Logs\

In this log all the action of the failover vms will be listed, you can grab the information from that location.

refer the below link

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=102180...

Thanks & Regards Dharshan S VCP 4.0,VTSP 5.0, VCP 5.0
0 Kudos
absdear
Contributor
Contributor

Hi,

Thanks for the reply, however it only keeps data for 2-3 days.

I want to get list of servers which were failed over 2 weeks ago.

I know, this can be achieved by querying VC database.

Are there additional logs saved on host logs for this?

0 Kudos
Virtualinfra
Commander
Commander

All this VM failovers will be logged in VMkernel log of the host. but as you told its already 2 weeks, so the logs would be over-written by this time.

Thanks & Regards Dharshan S VCP 4.0,VTSP 5.0, VCP 5.0
0 Kudos
HariKPrasad
Contributor
Contributor

Hello absdear,

Your message about "=?UTF-8?Q?[VI:_VMware_ESXi=E2=84=A2_3.5]_New_mes?= =?UTF-8?Q?sage:_"How_to_get_VM_details_w?= =?UTF-8?Q?hich_failed_over_due_to_HA_from_ESX_logs"_[t6gzsb-dz62-13ln2]?=" was waitlisted.

Please add yourself to my Guest List so your messages will be delivered to my Inbox. Use the link below.

Click here to deliver your message <https://www.boxbe.com/crs?tc=9844840965_1312879995>

Thank you,

harikprasadb@gmail.com

<http://www.boxbe.com/how-it-works?tc=9844840965_1312879995>

Powered by Boxbe -- "End Email Overload"

0 Kudos
HariKPrasad
Contributor
Contributor

Hello Dharshan,

Your message about "=?UTF-8?Q?[VI:_VMware_ESXi=E2=84=A2_3.5]_New_mes?= =?UTF-8?Q?sage:_"How_to_get_VM_details_w?= =?UTF-8?Q?hich_failed_over_due_to_HA_from_ESX_logs"_[t6gzsb-dz62-13lov]?=" was waitlisted.

Please add yourself to my Guest List so your messages will be delivered to my Inbox. Use the link below.

Click here to deliver your message <https://www.boxbe.com/crs?tc=9845572633_1118845160>

Thank you,

harikprasadb@gmail.com

<http://www.boxbe.com/how-it-works?tc=9845572633_1118845160>

Powered by Boxbe -- "End Email Overload"