Grouping failure events with adaptive polling and sliding window buffering
AssigneeVMware, Inc.
InventorsAnjaneya Prasad Gondi, Hemanth Kalluri, Naveen Kumar Kalaskar
Life of this patent
Estimating the term…
Abstract
Embodiments detect and group multiple failure events to enable batch processing of those failure events, such as in a virtual datacenter executing a plurality of virtual machines (VMs). A long timer, adaptive short timer, and adaptive polling frequency enable a computing device to efficiently detect and group the failure events that may be related (e.g., resulting from one failure). The grouped failure events are processed in parallel thereby reducing the time for recovery from the failure events.
Claims20
A system for failure event detection and grouping using adaptive polling intervals and sliding window buffering, the system comprising:
- a memory area associated with a computing device, the memory area storing a plurality of virtualization components and datastores accessible thereto, a value for a short timer, and a value for a long timer;
- and
- a processor programmed to:
- upon detection of a failure event affecting at least one of the plurality of virtualization components and/or datastores, initiate the short timer and the long timer and poll for additional failure events during each of a series of polling intervals, wherein the series of polling intervals continue until either the short timer or the long timer expires, wherein a duration of each subsequent polling interval of the series of polling intervals depends on whether an additional failure was detected during a respective preceding polling interval of the series of polling intervals, the polling during each polling interval of the series of polling intervals comprising:
- upon detection of at least one of the additional failure events during a particular polling interval, collecting data relating to the detected at least one additional failure event, resetting the short timer, and reducing a duration of a next polling interval relative to the particular polling interval;
- group the detected failure event with the detected at least one additional failure event into a group of failure events;
- and
- perform recovery operations in parallel for each failure event in the grouped failure events.
A method comprising:
- accessing an adaptive polling frequency, a value for a short timer, and a value for a long timer for use in collecting a plurality of failure events in a virtual datacenter having a plurality of virtualization components and a plurality of datastores;
- initiating the short timer and the long timer and polling for failure events in the virtual datacenter according to the accessed adaptive polling frequency, wherein the polling for failure events continues until either the short timer or the long timer expires, wherein the adaptive polling frequency varies depending on detection of failure events;
- and
- upon detection of one or more of the failure events during the polling, buffering the detected one or more failure events, increasing the adaptive polling frequency, and resetting the short timer, or, upon expiration of the short timer or the long timer, processing the buffered one or more failure events in parallel, resetting the short timer, and resetting the long timer.
One or more non-transitory computer storage media including computer-executable instructions that, when executed, cause at least one processor to detect and group a plurality of failure events in a virtual datacenter having a plurality of virtualization components and datastores by:
- upon detection of a failure event affecting at least one of the plurality of virtualization components or associated datastores, initiating the short timer and the long timer and polling for additional failure events in the virtual datacenter during each of a series of polling intervals, wherein the series of polling intervals continue until either an expiration of a short timer having a first value or a long timer having a second value, wherein a duration of each subsequent polling interval of the series depends on whether an additional failure was detected during a respective preceding polling interval of the series, the polling during each polling interval of the series of polling intervals comprising:
- upon detection of at least one additional failure event during a particular polling interval, receiving data relating to the detected additional failure event, resetting the short timer, and reducing a duration of a next polling interval relative to the particular polling interval;
- grouping two or more failure events detected during the polling into a group of failure events;
- and
- processing each of the two or more failure events in the group of failure events in parallel.
Dependencies are inferred from the claim text.