Processing main cause errors and sympathetic errors in devices in a system
First Claim
1. A computer program product for handling errors in a system having devices, the computer program product comprising a non-transitory computer readable storage medium having computer readable program code embodied therein that executes to cause operations, the operations comprising:
- analyzing error data for the devices in the system to determine a main cause error for one of the devices that causes at least one sympathetic error in the system;
generating a main cause event object for the main cause error including an active function pointer invoked to determine whether the main cause error is active;
generating at least one sympathetic event object for at least one sympathetic error resulting from the main cause error, wherein the at least one sympathetic event object indicates at least one sympathetic event action to perform for the sympathetic error represented by the sympathetic event object;
executing the active function pointer to check state information in the system or at least one of the devices in the system to determine whether the main cause error is active; and
in response to determining that the main cause error is active, performing;
determining, from the at least one sympathetic event object, the at least one sympathetic event action to perform for the at least one sympathetic error; and
performing the determined at least one sympathetic event action to recover from the at least one sympathetic error represented by the at least one sympathetic event object providing the at least one sympathetic event action, wherein the main cause and sympathetic event objects are generated for the main cause error at the device in order to perform recovery operations to address the main cause error.
1 Assignment
0 Petitions
Accused Products
Abstract
Provided are a computer program product, system, and method for processing main cause errors and sympathetic errors in devices in a system. Error data for the devices in the system are analyzed to determine a main cause error for one of the devices that cause at least one sympathetic error in the system. A main cause event object for the determined main cause error and at least one sympathetic event object for the determined at least one sympathetic error resulting from the main cause error are generated. A determination is made from the at least one sympathetic event object of at least one sympathetic event action to perform. The determined at least one sympathetic event action is performed to recover from the at least one sympathetic error represented by the at least one sympathetic event object providing the at least one sympathetic event action.
15 Citations
20 Claims
-
1. A computer program product for handling errors in a system having devices, the computer program product comprising a non-transitory computer readable storage medium having computer readable program code embodied therein that executes to cause operations, the operations comprising:
-
analyzing error data for the devices in the system to determine a main cause error for one of the devices that causes at least one sympathetic error in the system; generating a main cause event object for the main cause error including an active function pointer invoked to determine whether the main cause error is active; generating at least one sympathetic event object for at least one sympathetic error resulting from the main cause error, wherein the at least one sympathetic event object indicates at least one sympathetic event action to perform for the sympathetic error represented by the sympathetic event object; executing the active function pointer to check state information in the system or at least one of the devices in the system to determine whether the main cause error is active; and in response to determining that the main cause error is active, performing; determining, from the at least one sympathetic event object, the at least one sympathetic event action to perform for the at least one sympathetic error; and performing the determined at least one sympathetic event action to recover from the at least one sympathetic error represented by the at least one sympathetic event object providing the at least one sympathetic event action, wherein the main cause and sympathetic event objects are generated for the main cause error at the device in order to perform recovery operations to address the main cause error. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system having devices, comprising:
-
a processor; and a computer readable storage medium having code executed by the processor to perform operations, the operations comprising; analyzing error data for the devices in the system to determine a main cause error for one of the devices that causes at least one sympathetic error in the system; generating a main cause event object for the determined main cause error including an active function pointer invoked to determine whether the main cause error is active; generating at least one sympathetic event object for the at least one sympathetic error resulting from the main cause error, wherein the at least one sympathetic event object indicates at least one sympathetic event action to perform for the sympathetic error represented by the sympathetic event object; executing the active function pointer to check state information in the system or at least one of the devices in the system to determine whether the main cause error is active; and in response to determining that the main cause error is active, performing; determining from the at least one sympathetic event object the at least one sympathetic event action to perform for the at least one sympathetic error; and performing the determined at least one sympathetic event action to recover from the at least one sympathetic error represented by the at least one sympathetic event object providing the at least one sympathetic event action, wherein the main cause event object and the at least one sympathetic event objects are generated for the main cause error at the device in order to perform recovery operations to address the main cause error. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A method, comprising:
-
analyzing error data for devices in a system to determine a main cause error for one of the devices that causes at least one sympathetic error in the system; generating a main cause event object for the main cause error including an active function pointer invoked to determine whether the main cause error is active; generating at least one sympathetic event object for the at least one sympathetic error resulting from the main cause error, wherein the at least one sympathetic event object indicates at least one sympathetic event action to perform for the sympathetic error represented by the sympathetic event object; executing the active function pointer to check state information in the system or at least one of the devices in the system to determine whether the main cause error is active; and in response to determining that the main cause error is active, performing; determining from the at least one sympathetic event object the at least one sympathetic event action to perform for the at least one sympathetic error; and performing the determined at least one sympathetic event action to recover from the at least one sympathetic error represented by the at least one sympathetic event object providing the at least one sympathetic event action, wherein the main cause and sympathetic event objects are generated for the main cause error at the device in order to perform recovery operations to address the main cause error. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification