VMware {code} Community
sonyanderson
Contributor
Contributor

How to order events sequence between reboots correctly

Hello, all.

I want to order events sequence from ESX server correctly. There're key, chainId and createdTime properties of Event object that could be used for that (http://pubs.vmware.com/vsphere-51/topic/com.vmware.wssdk.apiref.doc/vim.event.Event.html).

I suppose that chainId and key values could be used for event ordering when the server is running. But when server is rebooted their values are being reset.

What is the correct way to handle server restart with respect to events ordering?

Maybe it is better to use createdTime property in this case? But on the other hand there could be problems with timestamps when server time changes e.g. after NTP sync.

0 Kudos
0 Replies