Adaptive event forwarding method and system
Through adaptive event forwarding methods and systems, event subscription rules are dynamically updated, solving the problem that static rules cannot reflect changes in administrator interests, achieving immediate and effective forwarding of events and improving management efficiency.
Patent Information
- Application Number
- CN202310265647.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-14
- Publication Date
- 2024-09-20
AI Technical Summary
Static event subscription rules in existing system management tools cannot dynamically reflect administrator changes in interests, and event subscription rules cannot be turned on or off in a short period of time, resulting in low management efficiency.
Provide an adaptive event forwarding method and system that detects system and facility events by receiving predefined event subscription rules, determines whether to forward the event to subscribers based on the context and rules of the event, and dynamically updates the subscription rules to reflect the administrator changes in interests.
It realizes the immediate and effective forwarding of system and facility events to event subscribers, improves the management efficiency of administrators, and dynamically adjusts event subscriptions to adapt to changes in administrators' interests.
Smart Images

Figure CN118672797A
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the field of system management, and more particularly to a method, system, and computer program product for adaptive event forwarding. Background Art
[0002] In current system management, different administrators may have different roles and responsibilities in managing large computing facilities (e.g., data centers). In order to pay close attention to and solve certain problems that occur in the system, current system management tools may configure different event subscription rules for administrators with different roles to allow certain events related to system and facility operations (e.g., alarms or warnings) to be forwarded to the corresponding administrators to attract timely or close attention. Typically, these event subscription rules are static and do not change after configuration, so they cannot dynamically reflect changes in interests that may occur in certain administrators. To change these static event subscription rules, it is necessary to manually modify the existing event subscription rules stored in the system, which is time-consuming and inconvenient.
[0003] In addition, in some cases, the system administrator may only pay attention to certain events related to system management in a short period of time. For example, when the system administrator provides management for a specific computer component in a short period of time (e.g., 30 minutes), he may only want to know more information about the specific computer component in this specific service period. The current static event subscription rules do not have a time-based component that allows certain event subscription rules to be "turned on" or "turned off" for a specific computer component in a short period of time.
[0004] Therefore, it is necessary to provide new technical solutions to improve some technical problems existing in current system management.
[0005] Public Content
[0006] In order to solve the technical problem that static event subscription rules in current system management cannot dynamically reflect the interest changes that may occur to some administrators and cannot be turned on and off in a short time, the embodiments of the present disclosure provide a method, system, and computer program product for adaptive event forwarding. The technical solution includes the following three aspects.
[0007] In a first aspect of an embodiment of the present disclosure, a method for adaptive event forwarding is provided. The method includes: receiving one or more predefined event subscription rules associated with an event subscriber, detecting a system and facility event related to system and facility operation of a computer system, determining a context of system and facility operation related to the detected system and facility event, and determining whether to forward the detected system and facility event to the event subscriber based on the context of system and facility operation and the predefined event subscription rules.
[0008] According to a second aspect of an embodiment of the present disclosure, a computer program product for adaptive event forwarding is provided. The computer program product includes a non-volatile computer-readable storage medium and program instructions stored therein. The program instructions are configured to be executable by a computer so that the computer performs the following operations: receiving one or more predefined event subscription rules associated with an event subscriber, detecting system and facility events related to system and facility operations of a computer system, determining the context of system and facility operations related to the detected system and facility events, and determining whether to forward the detected system and facility events to the event subscriber based on the context of system and facility operations and the predefined event subscription rules.
[0009] According to a third aspect of an embodiment of the present disclosure, a system for adaptive event forwarding is provided. The system includes a processor and a non-volatile memory containing computer program instructions. The computer program instructions are configured to be executed by the processor to perform operations including the following: receiving one or more predefined event subscription rules associated with an event subscriber, detecting system and facility events related to system and facility operations of a computer system, determining the context of system and facility operations related to the detected system and facility events, and determining whether to forward the detected system and facility events to the event subscriber based on the context of system and facility operations and multiple predefined event subscription rules.
[0010] Those skilled in the art can appreciate other aspects of the embodiments of the present disclosure based on the specification, claims, and drawings of the embodiments of the present disclosure.
[0011] The embodiments of the present disclosure provide a technology for adaptive event forwarding. The computer system pre-receives one or more pre-defined event subscription rules associated with event subscribers. When a system and facility event related to the system and facility operation of the computer system is detected, the context of the system and facility operation related to the detected system and facility event is first determined, and then based on the context of the system and facility operation and the pre-received multiple pre-defined event subscription rules, it is determined whether to forward the detected system and facility event to the event subscriber. This technology solves the technical problems that static event subscription rules existing in current system management cannot dynamically reflect the changes in interests that may occur to some administrators and cannot be turned on and off in a short time, and achieves the technical effect of instantly and effectively forwarding system and facility events to event subscribers. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate various embodiments of the present disclosure and, together with the description, explain the spirit of the present disclosure.
[0013] Figure 1 A system framework diagram of an exemplary adaptive event forwarding provided in an embodiment of the present disclosure.
[0014] Figure 2 A framework diagram of an example resource manager included in an adaptive event forwarding system provided for an embodiment of the present disclosure.
[0015] Figure 3 A flowchart of an exemplary adaptive event forwarding method provided in an embodiment of the present disclosure.
[0016] Figure 4 A flowchart of an example method for determining whether to forward detected system and facility events to event subscribers based on the context of system and facility operation and multiple predefined event subscription rules is provided for an embodiment of the present disclosure.
[0017] Figure 5 A flowchart of an example method for updating event subscription rules based on feedback provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0018] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that, unless otherwise specifically stated, the steps, arithmetic expressions, numerical values and relative arrangements of components set forth in these embodiments do not limit the scope of the present disclosure.
[0019] The following description of at least one exemplary embodiment is merely illustrative in nature and should not be construed as any limitation on the present disclosure and its application or use. Techniques, methods, and devices known to those of ordinary skill in the relevant art may not be described in detail. Where appropriate, the techniques, methods, and devices should be considered part of the specification.
[0020] It should be noted that in the following figures, the same reference numerals and letters represent the same or similar components. Therefore, once a component is defined in a figure, it is no longer necessary to define the same or similar component in subsequent figures. The following will describe an example of an embodiment of the present disclosure with reference to the accompanying drawings.
[0021] Figure 1 A block diagram of an exemplary computer system 152 configured for adaptive event forwarding provided for embodiments of the present disclosure. Figure 1 The computer system 152 includes at least one computer processor 156 or “CPU” and random access memory 168 (“RAM”) connected to the processor 156 and other components of the computer system 152 through a high-speed memory bus 166 and a bus adapter 158 .
[0022] Computer system 152 includes an operating system 154 stored in random access memory 168. Operating system 154 may be a UNIX TM , Linux TM , Microsoft Windows TM , AIX TM , IBM's iOS TM and other operating systems known to those skilled in the art. Although operating system 154 is Figure 1 168 , although many components of such software are optionally stored in non-volatile memory, such as on a disk drive or data storage 170 within computer system 152 .
[0023] Computer system 152 also includes resource manager 126 stored in random access memory 168. Resource manager 126 is a module containing computer program instructions for managing composable architecture 122 supporting adaptive event forwarding. Figure 1 168. Although illustrated as a separate component from the operating system 154 in FIG. 168, the resource manager 126 may be part of the operating system 154 stored in the random access memory 168 in some embodiments.
[0024] Figure 1 The computer system 152 further includes a disk drive adapter 172. The disk drive adapter 172 is coupled to the processor 156 and other components of the computer system 152 through the expansion bus 160 and the bus adapter 158. The disk drive adapter 172 connects non-volatile data storage in the form of a disk drive 170 to the computer system 152. The disk drive adapter 172 can be an integrated drive electronics ("IDE") adapter, a small computer system interface ("SCSI") adapter, and other adapters that are contemplated by those skilled in the art.
[0025] Disk drive or data storage 170 may be non-volatile computer memory, electrically erasable programmable read-only memory (so-called "EEPROM" or "Flash" memory), RAM drive, and other adapters or drives as will occur to those skilled in the art.
[0026] Computer system 152 also includes one or more input / output ("I / O") adapters 178. An I / O adapter may include a computer display screen, as well as user input from user input devices 181 such as a keyboard and mouse. Figure 1The computer system 152 also includes a video adapter 179. The video adapter 179 is an example of an I / O adapter that is specifically used for graphics output to a display device 180, such as a display screen or computer monitor. The video adapter 179 is connected to the processor 156 through the high-speed video bus 164, the bus adapter 158, and the front side bus 162, which is also a high-speed bus.
[0027] Figure 1 The computer system 152 also includes a communications adapter 167 for data communications with other computers and with data communications networks. Such data communications may be accomplished via an RS-232 connection, via an external bus such as a Universal Serial Bus ("USB"), via a data communications network such as an IP data communications network, and other means as will be appreciated by those skilled in the art. The communications adapter performs the hardware aspects of data communications so that one computer sends data communications to another computer. Examples of communications adapter 167 include modems for wired dial-up communications, Ethernet (IEEE 802.3 adapters for wired data communications), and 802.11 adapters for wireless data communications.
[0028] The communication adapter 167 of the computer system 152 is connected to the composable architecture 122 via a communication bus 169. The composable architecture 122 is a collection of computer elements 124. The computer elements 124 can be arranged (i.e., combinable) into different configurations based on data center or other computing architecture requirements. Examples of computer elements 124 include computer nodes (e.g., servers), memory, communication adapters (e.g., fiber switches), I / O adapters, drive adapters, and storage devices such as disk drives and solid-state drives. The composable architecture 122 can be a group of computer elements 124 configured based on Intel's rack scale design platform.
[0029] Additionally or alternatively, the communication adapter 167 of the computer system 152 is connected to the composable architecture 122 via the network 120. The network 120 may be a wireless network for wireless data communication, so that the communication between the computer system 152 and the composable architecture 122 is a wireless communication, such as the communication between related computing devices in the Internet of Things (IoT) system. Therefore, the resource manager 126 of the computer system 152 can manage the composable architecture 122 through wired or wireless communication. For example, according to some embodiments of the present disclosure, the resource manager 126 can transmit the system and facility configuration to the computer element 124 by wire or wirelessly, and transmit the actual operation data and operation status of the computer element 124 by wire or wirelessly to the computer system 152 through the communication bus 169 or the network 120.
[0030] In some embodiments, network 120 may also establish wireless communications between computer system 152 and other systems or services (not shown). For example, through network 120, when performing adaptive event forwarding, computer system 152 may send / receive emails / messages to / from computing terminals associated with different system administrators via email or other wireless communication services (not shown).
[0031] Figure 2 A framework diagram of an exemplary resource manager 126 for supporting management of a composable computer system with adaptive event forwarding is provided for embodiments of the present disclosure. Figure 2 The exemplary resource manager 126 includes at least a microcontroller 202, an event recorder 206, an adaptive event forwarding engine 208, and an event subscription rule database 220. Each of them can communicate with each other through a bus 224, or communicate with other components in the computer system 152 and the computer elements 124 in the composable architecture 122 through the storage bus 166 and / or other buses and adapters.
[0032] The microcontroller 202 includes computer program instructions for performing system management on the computer elements 124 of the composable architecture 122. Specific operations of system management may include inventory counting, configuration mode, operating system imaging and deployment, firmware management and updating, monitoring, and other different functions required in system management. Each of these functions may be implemented with or without the user interface 222. The user interface 222 is configured to be used by different system administrators in system management.
[0033] With regard to inventory in system management, the microcontroller 202 can identify the computer elements 124 in the composable architecture 122, such as managing the installed servers, storage, switches, chassis, racks, resource groups, and other hardware components. After identifying each component, the microcontroller 202 can also perform further control, such as enabling and disabling specific ports for the identified Internet switch. With regard to supply in system management, certain configuration modes can be set to facilitate hardware (e.g., server) configuration. With regard to operating system deployment in system management, certain operating system images can be pre-configured and selected for targeted deployment to specific systems (e.g., servers). With regard to firmware management and updates in system management, the firmware repository can provide convenient access to existing firmware updates, and certain compliance policies can be further checked when selecting appropriate firmware from the repository for firmware activation and updates. Each of the aforementioned activities and other undescribed activities related to system management of the composable architecture 122 can be performed by the microcontroller 202 in the resource manager 126.
[0034] With regard to monitoring in system management, the microcontroller 202 can monitor the health of the composable architecture 122 and collect corresponding hardware and facility operation alarms, messages, and warnings for related hardware failures and facility failures in the composable architecture 122 to guide relevant personnel to handle. These alarms, messages, and warnings of hardware and facility operation related to system management and other similar events can then be forwarded to certain recipients (e.g., system administrators at different levels) through the event forwarding process. Depending on the configuration of the computer system 152 and the preferences of the system administrator, a variety of event forwarding processes (e.g., system log forwarding or email forwarding) can be used to forward alarms, messages, or warnings to various recipients.
[0035] For a particular recipient, it is not necessary to forward all alarms, messages or warnings, but only forward certain alarms, messages or warnings that the recipient is concerned about. Therefore, through the user interface 222 in the microcontroller 202, certain event subscription rules can be defined for each recipient (e.g., each system administrator). Suitable filters or parameters for defining event subscription rules may include specific devices, certain types of management activities, event types, event forwarding types (e.g., email forwarding or system log forwarding), event forwarding schedules, user preferences, management levels, etc. In some embodiments, a recipient or event subscriber can have multiple associated event subscription rules. In some embodiments, different recipients or event subscribers can have similar event subscription rules (except for personal information).
[0036] In the prior art, once event subscription rules related to a specific recipient are set for a certain recipient, these rules are static. In order to change the event subscription rules, the event subscriber or other relevant personnel responsible for system management need to modify the current subscription rules through the user interface 222 of the resource manager 126. This is both time-consuming and inconvenient.
[0037] In the embodiment of the present disclosure, after the adaptive event forwarding engine 208 is introduced, the event subscription rules of a specific receiver can be automatically and dynamically updated to instantly reflect the interest of the event receiver in the events that he really cares about.
[0038] To achieve this function, the adaptive event forwarding engine 208 in the computer system 152 of the present disclosure may include a subscription event identification module 210, an event forwarding module 212, a feedback collection module 214, a real-time analysis module 216, and an event subscription rule update module 218. In addition, there may be an event recorder 206 in the resource manager 126 to record all events identified by the resource manager 126, and an event subscription rule database 220 to store pre-defined and timely updated event subscription rules for different event subscribers or system administrators.
[0039] The subscription event identification module 210 can identify events (e.g., hardware and facility operation alarms, messages, and warnings) and corresponding receivers that have subscribed to the identified events. The subscription event identification module 210 can rely on event subscription rules stored in the event subscription rule database 220 to identify target receivers for event forwarding.
[0040] In some embodiments, the event subscription rules stored in the event subscription rule database 220 can be manually initially set by the corresponding recipient or the relevant personnel responsible for the event subscription process. For example, these subscription rules can be initially set according to management roles, levels and other types of responsibilities defined for these recipients. In some embodiments, these event subscription rules can be initially set by the training cycle supported by the adaptive event forwarding engine 208. In short, in the training cycle for the recipient, a large number of different events are actively forwarded to the recipient (for example, a senior system administrator, an intermediate system administrator or a primary system administrator) in a manner that does not rely on any event subscription rules. Then by collecting and analyzing feedback from the recipient, to determine the interest or preference of the recipient to the event to be subscribed. Through a period of training, a set of initial event subscription rules can be defined for the recipient.
[0041] Then, the event subscription rules defined in the above method can be stored in the event subscription rule database 220. When a new event occurs (for example, a new event is reported to the event recorder 206), the subscription event identification module 210 can identify the event receiver corresponding to the new event according to the event subscription rules stored in the event subscription rule database 220, and then forward the new event to the corresponding receiver.
[0042] The event forwarding module 212 can forward the event to the corresponding recipient according to the event subscription rules in the event subscription rule database 220. The event can be forwarded to the recipient by email or system log message. Therefore, when the event subscription rules are initially established for the recipient, some email and system log information associated with the recipient can also be included in these event subscription rules.
[0043] In some embodiments, the event forwarding module 212 can forward events in real time. That is, when an event is reported to the event recorder 206 and / or detected by the adaptive event forwarding engine 208, it can be forwarded immediately, especially for events that are considered to be urgent or important. However, for less urgent events, the event forwarding process may take a more flexible approach. For example, system and facility events can be forwarded according to a predetermined schedule. In this way, multiple events accumulated over a certain period of time can be forwarded together to the same event subscriber, which can save resources for data communication.
[0044] In some embodiments, when forwarding an event, the event forwarding module 212 can also attach a voting mechanism (which can be the questionnaire itself or included in other questionnaires). The voting or questionnaire mechanism helps to determine the recipient's immediate interest or preference for the event that the recipient wishes to receive. Therefore, the voting or questionnaire mechanism can include one or more questions or voting components for the recipient to choose. For example, the voting or questionnaire mechanism can include a question asking the target recipient whether it is interested in receiving similar events in the future, or whether the forwarded event is valuable to the recipient. Other means of voting or questionnaire mechanisms that allow collection of responses or feedback from the target recipient can also be considered. For example, the voting or questionnaire mechanism may include "Like" and "Brick" buttons, "Subscribe" and "Unsubscribe" buttons, including multiple buttons reflecting different interest levels from 1 to 10, or including multiple markable stars reflecting different interests. These different voting or questionnaire mechanisms can be configured to facilitate the identification of the receiver's interest in forwarding events from the received receiver feedback or responses to these voting or questionnaire mechanisms.
[0045] Feedback collection module 214 can collect feedback or response of the corresponding recipient to the voting or questionnaire mechanism of the forwarded event. Feedback or response can be a reply or response to the voting or questionnaire mechanism included in the event forwarding process. When the target recipient responds or feedbacks the voting or questionnaire mechanism, the recipient can send the response or feedback back to the adaptive event forwarding engine 208. The response or feedback can be sent back to the resource manager 126 (for example, by email or message) in the same way as sending the questionnaire or vote to the recipient. Based on the received feedback or response, the event subscription rules for the recipient can be automatically modified or updated to reflect his immediate interest in some events that he really cares about at present. In this way, when modifying its event subscription rules, the recipient or relevant personnel only need to respond to the voting or questionnaire mechanism without manually accessing the user interface 222 of the resource manager 126. This is very convenient for the recipient to update his own event subscription rules.
[0046] In some embodiments, not every event forwarding process includes a questionnaire survey, especially when the managed composable architecture 122 has been running smoothly for a long time or when the management role of the system administrator has not changed recently. For example, in order to save resources, the questionnaire survey can be sent to the respective recipients only periodically (for example, every Monday for recipient A) or on demand (for example, when the target recipient has just changed its role in system management) instead of including the questionnaire survey in every event forwarding process.
[0047] In some embodiments, even without a specific voting or questionnaire mechanism, the feedback collection module 214 can still collect feedback or responses from the recipients. For example, when the intended recipient cancels the subscription to the event forwarding through the service provided by the email service provider or when the intended recipient directly deletes the email related to the event forwarding without reading the actual content of the email, such feedback or responses can also be collected.
[0048] In some embodiments, when the target recipient replies to an event forwarding email that does not include a voting or questionnaire mechanism, corresponding feedback or response may also be given. The replied email may contain keywords to reflect the recipient's interest or preference changes. For example, keywords may include "unsubscribe", "delete me", "dislike", "no value", or other similar words that reflect the recipient's interest or preference changes. With the latest developments in artificial intelligence technology, these keywords can be easily identified by the adaptive event forwarding engine 208. These identified keywords from the replied email can also reflect the user's interests. The user's interests are also collected by the feedback collection module 214.
[0049] The real-time analysis module 216 can analyze the responses or feedback collected by the feedback collection module 214 and determine whether the event subscription rules need to be updated. If the recipient indicates that the event forwarded to him is valuable, the real-time analysis module 216 can determine to maintain the current event subscription rules for the recipient. If the recipient wants to receive more similar events, the current event subscription rules can be modified to include more similar events. Conversely, if the feedback or response from the recipient shows that the recipient no longer cares about the events forwarded to him, the event subscription rules associated with the recipient can be modified to exclude such events in the future.
[0050] In some embodiments, the real-time analysis module 216 may not monitor feedback or responses from users, but may analyze the user activities of the system administrator to infer events that the administrator may be interested in. For example, the resource manager 126 may determine that the system administrator is configuring a server based on the current activity status of the system administrator. Therefore, events related to the configuration of the server may be of interest to the system administrator. Therefore, the event subscription rules of the system administrator may be modified so that events related to the configuration of the server are forwarded to the system administrator in real time.
[0051] In some embodiments, the real-time analysis module 216 can also infer which events the administrator may be interested in or not interested in based on other factors. For example, the real-time analysis module 216 can detect that the air conditioning facilities in the data center are undergoing maintenance. At this time, even if the extreme temperature alarms of the data center facilities are constantly reported, the real-time analysis module 216 can still determine that these events are not events that the system administrator really cares about. Therefore, the event subscription rules related to temperature alarms can be modified in a timely manner so that such events are not forwarded to the system administrator before the air conditioning facilities are repaired.
[0052] The event subscription rule update module 218 can update the event subscription rules of the recipient based on the analysis of the real-time analysis module 216. For example, if the analysis shows that the event subscription rules associated with the recipient need to be updated, the event subscription rule update module 218 can update one or more rules associated with the recipient. For example, the event subscription rule update module 218 can modify the current event subscription rules associated with the recipient to exclude events that the recipient is not interested in. In some embodiments, certain similar events can also be excluded at the same time when modifying or updating the event subscription rules associated with the recipient.
[0053] In some embodiments, the event subscription rule update module 218 can update the event subscription rules for the recipient without considering the analysis performed by the real-time analysis module 216. Instead, the event subscription rule update module 218 can update the event subscription rules of the recipient based on changes in the responsibilities and / or management levels associated with the recipient. For example, if the recipient has recently changed the management level, the relevant responsibilities will change accordingly. This may cause changes in the events that the recipient cares about or is responsible for. For example, a system administrator who is promoted from intermediate to senior may pay more attention to more important system and facility events, or more serious alarms or warnings. The event subscription rule update module 218 can automatically update the event subscription rules for the administrator to reflect such changes.
[0054] The event subscription rule update module 218 can also store the updated event subscription rules associated with the recipient in the event subscription rule database 220. Therefore, when a new event occurs, the updated event subscription rules, rather than the static subscription rules in the prior art, are used to decide whether the event should be forwarded to the recipient. In this way, the event forwarding process can be adaptively and dynamically updated to reflect the recipient's immediate interest and preference for the events he really cares about, without the need for the recipient or related personnel to frequently access the user interface 222 of the resource manager 126 to manually change the recipient's event subscription rules.
[0055] Various specific implementations of the disclosed adaptive event forwarding engine 208 will be further described below with reference to the accompanying drawings.
[0056] Figure 3 A flowchart of an example method for managing a composable computer system supporting adaptive event forwarding according to some embodiments of the present disclosure is shown.
[0057] Figure 3 The flowchart includes step 302 of receiving a plurality of predefined event subscription rules for one or more event subscribers. Monitoring the health of the composable architecture 122 requires forwarding certain events, particularly alarms and warnings of certain hardware and facilities, to appropriate system managers. In this way, immediate action can be taken when necessary to prevent system failures or dysfunction of certain parts of the composable architecture 122. Therefore, a plurality of event subscription rules covering various aspects of system management can be initially defined for each system administrator. In general, a plurality of event subscription rules can be predefined based on the roles and responsibilities of the persons responsible for system management, or in other ways as previously described. Predefined event subscription rules applicable to different system administrators can be stored in the event subscription rule database 220. Once these event subscription rules are defined, they can be used to determine whether system and facility events should be forwarded and / or to whom they should be forwarded.
[0058] Next, Figure 3 The method identifies system and facility events in step 304 based on the operation of the system and facilities. In a computer environment, system and facility events refer to operations or events that are recognized by a program and are of great significance to the system hardware and software. For example, certain events may occur when configuring a server, deploying an operating system, updating firmware, or when certain facilities are operating abnormally (e.g., excessive temperature of a storage drive or flash node, abnormal voltage, power failure, etc.). These different events can be detected by a service processor or other components in a computer element 124 of a composable architecture 122 and can be forwarded to a central computer (e.g., computer system 152) in the format of a message, a token, a counting pattern, a value, a tag, etc.
[0059] For example, one or more computer elements 124 in the composable architecture 122 may include a corresponding service processor that monitors the operational or physical state of the same or other different computer elements 124 (e.g., servers). The functionality of the service processor varies by manufacturer and may include remote power cycling of the device, monitoring of the server's onboard instruments (temperature, CPU status, fan speed, and voltage), remote console access via Serial over LAN (SoL), and the ability to set event traps and perform an operating system level shutdown. Some service processors 102 also allow data logging, keyboard, video, and mouse (KVM) control, and virtual media. Different activities performed by the service processor may trigger different events generated in the computer element 124. Thus, the service processor 102 in the computer element 124 may communicate with a system management tool in the computer element 124 via a special management connection to report events monitored by the service processor 102. In some embodiments, the service processor 102 in the computer element 124 may further forward or report these events to a central computer (e.g., computer system 152) via the respective system management tool for notification of a system administrator or for subsequent actions (e.g., for adaptive event forwarding).
[0060] In some embodiments, as a central computer, computer system 152 may enable an event collector to create event subscriptions on local or remote computer elements 124 in the composable architecture 122 to allow the aforementioned events to be forwarded to computer system 152 .
[0061] like Figure 2As shown, the resource manager 126 may further include an event logger 206 to record all events forwarded or reported to the resource manager 126 by the computer elements 124 in the composable architecture 122. In some embodiments, the event logger 206 of the resource manager 126 may further organize different events received in different ways for simple event processing. For example, the event logger 206 may organize events according to event type, severity level, facility, timestamp of occurrence, etc. For example, events can be organized according to event type: application events, system events, and security events, etc. For another example, events can be organized according to the severity level of the event: emergency, alarm, serious, error, warning, notification, information, debugging, etc. For another example, events can be organized according to processes, modules, protocols, etc. Alternatively, events can be organized only according to timestamps to indicate the date and time of event creation, or according to the order in which multiple events occur in a particular process (for example, a system update may include a sequence of events). Other ways to organize different events identified from system and facility operations may also be included, which will not be repeated here. By classifying and organizing, it is easy to determine events suitable for adaptive event forwarding. For example, based on the timestamp, new events just recorded in the event recorder 206 can be used for adaptive event forwarding processing. For another example, based on demand, events related to specific computer components occurring within a specific time in the event recorder 206 can be subjected to adaptive event forwarding processing, as described in detail below.
[0062] Figure 3The method also includes determining the context related to the system and facility operation associated with the detected system and facility event in step 306. This includes determining any information related to the detected system and facility event and related events. For example, when a system and facility event is detected, the resource manager 126 can determine the context of the system and facility operation associated with the event by collecting information related to the system and facility operation. This includes identifying under what conditions the system and facility operation is started / initiated, the specific user who plays a specific role at the start of the operation or in the operation, which events are generated throughout the operation, etc. For example, if when the system administrator configures the computer system, deploys the operating system or updates the firmware, the resource manager 126 can identify the system administrator who performs the operation based on the login information. In addition, the resource manager 126 can also determine a sequence of events related to the operation performed by the system administrator based on the system log information. Taking the system update as an example, during the update process, there will be a period of time when the code is sent to the programming controller to write the new version to the RAM. A series of events will be generated during this process, such as 10% completion, writing the 3rd block, the 4th block, and so on. These events will be generated at the time of this particular system update. If the context of the system update operation is monitored, the resource manager 126 can easily identify these events. Then, based on the determined context of system and facility operations associated with the detected system and facility events, it can help determine whether the detected system and facility events should be forwarded to event subscribers.
[0063] In step 308, Figure 3 The method can also determine whether to forward the detected system and facility events to the event subscriber based on the context of the system and facility operation and a plurality of predefined event subscription rules. That is, the adaptive event forwarding engine 208 will rely on the context of the system and facility operation associated with the detected system and facility event and the event subscription rules in the database 220 to forward the event.
[0064] By determining whether to forward detected system and facility events to event subscribers based on the context of system and facility operation and event subscription rules, the adaptive event forwarding engine 208 can not only consider the user's event preferences reflected by the event subscription rules in the event forwarding rules, but also consider the immediate situation that may affect the user's interest in certain events. In this way, dynamic and more accurate event forwarding can be achieved.
[0065] For example, to perform a firmware update of a computer element 124 in the composable architecture 122, the process may require resetting and restarting multiple elements 124 included in the composable architecture 122. Each of these restarts may create an alert (i.e., a system and facility event). These alerts or events may serve as a rough progress indicator for the system administrator who is implementing the firmware update, and therefore the system administrator may find the event interesting. However, to other system administrators who have subscribed to system restarts but are not involved in the firmware update themselves, these alerts and events may be viewed as side effects of the firmware update process. By analyzing the context of the firmware update operation, the adaptive event forwarding engine 208 may determine that these alerts or events will not be of interest to these other system administrators, and therefore may choose not to forward the alerts / events to these other system administrators. Specific details regarding when detected system and facility events are forwarded to event subscribers based on the context of system and facility operations and when detected system and facility events are forwarded to event subscribers based on multiple event subscription rules are provided. Figure 4 A further description will be given in.
[0066] Figure 4 A flowchart of an example method 308 for determining whether to forward detected system and facility events to event subscribers based on the context of system and facility operations and a plurality of predefined event subscription rules according to some embodiments of the present disclosure is shown.
[0067] As shown, method 308 first determines whether to forward the detected system and facility events based on the context of the associated system and facility operations. When determining whether to forward the detected system and facility events to the event subscriber based on the context of the system and facility operations, in step 402, method 308 may first determine whether the system and facility operations associated with the system and facility events are initiated by a certain user. Here, the user-initiated system and facility operations refer to the situation where the system and facility operations are enabled or started due to a specific reason other than the general program or process. For example, for a system restart, although it is mainly caused by a user operation, if the system restart is just a general process of turning on the computer system, the system restart is not necessarily regarded as a user-initiated system and facility event. However, if the system restart is caused by operating system deployment / update, system configuration / reconfiguration, system repair, or other user-initiated services, the system restart may not be considered as just a general system restart, but is caused by a special reason and is therefore regarded as a system and facility operation initiated by the user. By monitoring the operating status of specific computer systems and / or user activities associated with computer systems, system updates / deployments, configurations / reconfigurations, and specific users involved in these processes can be identified, thereby helping to determine whether detected system and facility operations are user-initiated operations and / or who initiated the detected system and facility operations.
[0068] If for some reason it is determined that the system and facility operation is user-initiated, then in step 404 of method 308, it is continued to determine whether the event subscriber plays a role in the system and facility operation initiated by the user. For example, if the system and facility operation is initiated by the user, the resource manager 126 can use management tools or other resources to determine who initiated the system and facility operation, and / or who plays a role in the system and facility operation. For example, the system update / deployment process may involve both the intermediate system administrator and the junior system administrator. In this case, both the intermediate system administrator and the junior system administrator will play a role in the system and facility operation initiated by the user (i.e., system update / deployment). In this case, in step 410, the system and facility events detected and associated with the system and facility operation will be forwarded to the intermediate system administrator and the junior system administrator at the same time.
[0069] In some embodiments, when forwarding detected system and facility events to event subscribers in step 410, the adaptive event forwarding engine 208 not only forwards detected system and facility events associated with user-initiated system and facility operations, but also identifies and subsequently forwards other system and facility events associated with user-initiated system and facility events. By determining a sequence of events associated with system and facility operations, the adaptive event forwarding engine 208 can automatically forward all events associated with system and facility operations to event subscribers involved in the operation. That is, the adaptive event forwarding engine 208 can automatically "turn on" the event forwarding process during the user-initiated system and facility operation. In addition, by identifying the order of occurrence of events associated with the user-initiated system and facility operation, the adaptive event forwarding engine 208 can also determine which event is the last event to be forwarded, and automatically "turn off" the event forwarding of the system involved after the user-initiated system and facility operation is completed. That is, after the user-initiated system and facility operation is completed, the events of the system involved will not be automatically forwarded to the associated event subscribers. In this way, the adaptive event forwarding engine 208 can implement the "turn on" and "turn off" functions of service-based or operation-based adaptive event forwarding.
[0070] In some embodiments, in step 408, if the event subscriber is not active in the system and facility operation, one or more events associated with the system and facility operation will not be forwarded to the event subscriber, even if the event subscriber has subscribed to events that may occur during the system and facility operation. For example, even if the event subscriber has subscribed to a system restart for a certain system, since the system restart occurs during the user-initiated system and facility operation initiated by other users, the adaptive event forwarding engine 208 will not follow the subscription rules of the event in the event forwarding. In this way, the event subscriber will not be overwhelmed by events that he does not care about because he does not participate in this particular user-initiated system and facility event. In this way, adaptive forwarding of events can be achieved.
[0071] In some embodiments, the system and facility operation associated with the detected system and facility event may not be user-initiated, and the method 308 continues to step 406 to determine whether to forward the detected system and facility event to the event subscriber according to the event subscription rules associated with the event subscriber. That is, if the system and facility operation associated with the detected system and facility event is not a "user-initiated" system and facility operation, the adaptive event forwarding engine 208 can determine whether to forward the detected event to the event subscriber according to the event subscription rules. If the event subscriber has not subscribed to the detected system and facility event according to the event subscription rules in the database 220, the adaptive event forwarding engine 208 will not forward the detected system and facility event to the event subscriber in step 408. If the event subscriber has subscribed to the detected event, the adaptive event forwarding engine 208 can forward the detected event to the event subscriber in step 410.
[0072] Although the adaptive event forwarding process can be realized based on "user-initiated" system and facility event forwarding, the adaptive event forwarding process can also be realized based on event subscription rules. Figure 5 For further description.
[0073] Figure 5 A flowchart of an example method for updating event subscription rules based on feedback according to some embodiments of the present disclosure is shown. In the provided method, after determining in step 308 that the detected system and facility events should be forwarded to the event subscriber, the adaptive event forwarding engine 208 forwards the detected system and facility events to the event subscriber in step 510.
[0074] As previously addressed Figure 2 As discussed in the event forwarding module 212 in FIG. 5 , in some embodiments, the event forwarding process may include a voting or questionnaire mechanism to determine whether the recipient is interested in the forwarded event. Accordingly, in step 512, Figure 5 The method also includes receiving feedback from the event subscriber to indicate whether the event subscriber is interested in the event forwarded to him. As discussed elsewhere in this document, different administrators may have different interests in events occurring in the system (e.g., the composable architecture 122). For example, a network administrator may be more interested in network-related issues and may therefore provide positive feedback on network-related events rather than server-related events. However, a system administrator is more concerned with server issues and may therefore provide positive feedback on server-related events rather than network-related issues. Similarly, an application administrator may give positive feedback on events that provide information about the state of an application.
[0075] In some embodiments, when the system administrator only cares about events related to a specific server for a short period of time (e.g., during system configuration), he can "turn on" the event subscription rule for the specific server during a specific period by continuously liking events related to the specific server in the early stage of the specific period. After the specific period, if the system administrator determines that he no longer cares about the specific server, he may stomp on events related to the specific server so that the events related to the specific server will not be further forwarded to the system administrator.
[0076] Therefore, based on feedback received from different administrators or from the same administrator at different times, events that are of real interest to the system administrator can be dynamically determined.
[0077] Figure 5 The method also includes, in step 512, updating the event subscription rules of the event subscriber based on the received feedback. This can include excluding more similar events when negative feedback is received, or forwarding more similar events to the event subscriber when positive feedback is received. That is, if positive feedback is received from the event subscriber, this means that the event subscriber is interested in the detected system and facility events forwarded to him. Therefore, the adaptive event forwarding engine 208 will maintain or update the event subscription rules associated therewith to forward more similar system and facility events to the event subscriber in the future. On the contrary, if negative feedback is received, this means that the event subscriber is not interested in the system and facility events forwarded to him, so the adaptive event forwarding engine 208 will update the event subscription rules associated with the event subscriber so as not to forward similar system and facility events to the event subscriber in the future. Negative feedback means that the event subscriber may have changed his interest in certain system and facility events compared to the time when the existing version of the event subscription rules was previously defined or updated. This may occur for a variety of reasons, such as role changes, responsibility changes, or user preference changes. By dynamically updating the event subscription rules associated with each event subscriber, the adaptive event forwarding engine 208 selectively forwards events to more accurately reflect the immediate interests of each event subscriber.
[0078] It should be noted that when updating event subscription rules, so-called similar events may have different meanings in different situations. Generally, similar system and facility events may mean that these events are of the same type, occur in the same or similar computer systems, have the same severity and / or require the same level of responsibility, etc. However, in some cases, similar system and facility events may mean that these events are only closely related, but not necessarily of the same type, the same severity, etc. For example, for user-initiated system and facility operations, such as system deployment / update, configuration / reconfiguration, repair and maintenance, certain events will inevitably occur together as a series of events. In this case, although each event in a series of events is not necessarily of the same type, since these events always occur together with each other, these events can also be regarded as similar events in the adaptive event forwarding process. Therefore, when the first event in a series of events is detected, if the event subscriber provides positive feedback for the first event, the adaptive event forwarding engine 208 can automatically forward subsequent events in a series of events associated with the operation to the event subscriber. On the contrary, if the event subscriber provides negative feedback to the first event, the adaptive event forwarding engine 208 stops forwarding subsequent events in a series of events to the event subscriber.
[0079] Through Figure 5 By using the described process, the event subscription rules associated with each event subscriber can be automatically and dynamically updated. In this way, when the system administrator wants to change the events he really cares about, he does not need to manually modify the event subscription rules every time. Compared with the existing "static rule" method, such subscription rule modification is more convenient, more effective and less time-consuming.
[0080] It should be noted that in some cases, the adaptive event forwarding engine 208 can automatically update the event subscription rules of the event subscriber or system administrator without waiting to receive any feedback from the event subscriber. As previously mentioned, the adaptive event forwarding engine 208 can update the event subscription rules of the event subscriber based on recent role changes, the behavior pattern of the administrator (e.g., the administrator is configuring the server) or based on the facility status (e.g., the air conditioner in the data center is under repair), etc. The adaptive event forwarding engine 208 can also consider other factors that significantly affect the interest of the system administrator in certain events. For example, the update of the event subscription rules of a certain event subscriber can be adaptively updated based on the update of the event subscription rules of other event subscribers, especially when these event subscribers have similar management roles. By including as many factors as possible in the adaptive update event subscription rules for specific event subscribers, the updated event subscription rules can more accurately reflect the interests of the event subscribers. In this way, the events related to the event subscribers can be forwarded to the event subscribers as much as possible without affecting the actual system management responsibilities.
[0081] It should also be noted that although the adaptive event forwarding engine 208 has been described as being located at the central computer system 152, in some embodiments, the adaptive event forwarding engine 208 can be located inside a computer element, for example, in a server in the composable architecture 122. For example, a server in the composable architecture 122 may include a system management tool and the adaptive event forwarding engine 208. Accordingly, the event logger 206 and the event subscription rule database 220 may also be located in a server in the composable architecture 122. In this way, similar adaptive event forwarding as described elsewhere in this description can be performed on events collected by the system management tool in the server. Therefore, instead of forwarding the event to the central computer system 152, the server in the composable architecture 122 adaptively forwards each event detected in the server to the corresponding system administrator. In some embodiments, the server in the composable architecture 122 can also manage events of other computer elements 124 in the composable architecture 122. For example, the server in the composable architecture 122 can also monitor storage devices, chassis, certain other servers, etc., and handle events related to these other computer elements 124 through the forwarding of adaptive events. By setting different levels of adaptive event forwarding, it is possible to ensure that the event forwarding process in the system achieves higher accuracy without sacrificing the reliability of event forwarding in system management.
[0082] This description describes various aspects of the flowchart and / or framework diagram of the system (device) and computer program product according to the method of the embodiment of the present disclosure. It should be understood that each frame of the flowchart and / or framework diagram or any combination of frames in the flowchart and / or framework diagram can be implemented by computer-readable program instructions.
[0083] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or any other programmable data processing device to generate a device so that when the instructions are executed by the processor of the computer or in other programmable data processing devices, a device can be created to implement the functions / actions specified in one or more boxes of the flowchart and / or framework diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium. These instructions can control a computer, a programmable data processing device, and / or any other device to operate in a specific manner so that the computer-readable medium on which these instructions are stored can become a manufactured product. The manufactured product includes instructions for implementing various aspects of the functions / actions specified in one or more boxes of the flowchart and / or framework diagram.
[0084] The computer readable program instructions may also be loaded onto a computer, other programmable data processing device or other device to perform a series of operation steps on the computer, other programmable data processing device or other device, and the resulting computer-implemented process. In this way, the instructions executed on the computer, other programmable data processing device or other device may implement one or more blocks in the flowchart and / or frame diagram.
[0085] The flowcharts and frame diagrams in the accompanying drawings illustrate the operations, methods and computer program products that may be implemented according to the architecture, functions and systems of various embodiments of the present disclosure. In this regard, each box in the flowchart or frame diagram may represent a module, a portion of a program or a portion of an instruction. The instruction contains one or more instructions of executable instructions for implementing a specified logical function. In some alternative embodiments, the functions marked in the box may occur in an order different from that indicated in the figure. For example, two consecutive blocks may actually be executed in parallel. Sometimes, depending on the functions involved, two consecutive blocks may also be executed in the opposite order. It should also be noted that each box in the frame diagram and / or flowchart, and any combination of boxes in the frame diagram and / or flowchart, can be implemented by a system that performs a specified function or action or is based on dedicated hardware, or can be implemented by a combination of dedicated hardware and computer instructions. It will be understood by those skilled in the art that it is effective to implement by hardware, by software, and by a combination of software and hardware.
[0086] Various embodiments of the present disclosure have been described above. The above description is exemplary rather than exhaustive and is not intended to limit the embodiments of the present disclosure. Many modifications and variations should be apparent to those skilled in the art without departing from the scope and spirit of the illustrated embodiments. The choice of terms used herein is to best explain the principles of the embodiments, practical applications or improvements to market technology, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present disclosure is defined by the appended claims.
Claims
1. An adaptive event forwarding method, characterized in that: include: receiving a plurality of predefined event subscription rules associated with one or more event subscribers; Detect system and facility events related to system and facility operations of computer systems; determining a context of said system and facility operation associated with a detected said system and facility event; According to the context in which the system and facility are running and the plurality of predefined event subscription rules, it is determined whether to forward the detected system and facility events to the event subscriber.
2. The method according to claim 1, characterized in that Determining whether to forward the detected system and facility events to the event subscriber according to the context of the system and facility operation and the plurality of predefined event subscription rules comprises: determining, based on the context of the system and facility operation, whether the system and facility operation is a system and facility operation initiated by a user; If the system and facility operation is a user-initiated system and facility operation, determining whether the event subscriber plays a role in the detected system and facility operation based on the context of the system and facility operation; If the event subscriber does not play a role in the detected operation of the system and facility, then the detected system and facility events are not forwarded to the event subscriber.
3. The method according to claim 2, characterized in that The method further comprises: If the event subscriber plays a role in the detected operation of the system and facility, the detected system and facility events are selected to be forwarded to the event subscriber.
4. The method according to claim 3, characterized in that The method further comprises: One or more other of the system and facility events related to system and facility operations are selected to be forwarded to the event subscriber, wherein the system and facility operations include a series of related system and facility events.
5. The method according to claim 2, characterized in that The method further comprises: If it is determined that the system and facility operation is not a user-initiated system and facility operation, it is determined whether to forward the detected system and facility event to the event subscriber according to one or more event subscription rules associated with the event subscriber.
6. The method according to claim 5, characterized in that The method further comprises: If a decision is made to forward the detected system and facility events to the event subscriber in accordance with the one or more event subscription rules associated with the event subscriber, the detected system and facility events are forwarded to the event subscriber.
7. The method according to claim 6, characterized in that The method further comprises: receiving feedback from the event subscribers on the system and facility events forwarded to the event subscribers; updating the one or more event subscription rules associated with the event subscriber according to the received feedback; A decision is made whether to forward subsequent system and facility events to the event subscriber based on the updated one or more event subscription rules associated with the event subscriber.
8. The method according to claim 7, characterized in that Updating the one or more event subscription rules associated with the event subscriber according to the received feedback includes: If the feedback received is positive, updating the one or more event subscription rules associated with the event subscriber by selecting to forward subsequent system and facility events similar to the detected system and facility events to the event subscriber; If the feedback received is negative, the one or more event subscription rules associated with the event subscriber are updated by electing not to forward subsequent system and facility events similar to the detected system and facility event to the event subscriber.
9. A computer program product, characterized in that The invention comprises a non-volatile computer-readable storage medium and program instructions stored therein, wherein the program instructions are configured to be executable by a computer, and the operations performed by the computer include: receiving a plurality of predefined event subscription rules associated with one or more event subscribers; Detect system and facility events related to system and facility operations of computer systems; determining a context of said system and facility operation associated with a detected said system and facility event; According to the context in which the system and facility are running and a plurality of predefined event subscription rules, it is determined whether to forward the detected system and facility events to the event subscriber.
10. The computer program product according to claim 9, characterized in that Determining whether to forward the detected system and facility events to the event subscriber according to the context of the system and facility operation and the plurality of predefined event subscription rules comprises: determining, based on the context of the system and facility operation, whether the system and facility operation is a system and facility operation initiated by a user; If the system and facility operation is a user-initiated system and facility operation, determining whether the event subscriber plays a role in the detected system and facility operation according to the context of the system and facility operation; If the event subscriber does not play a role in the detected operation of the system and facility, then the detected system and facility events are not forwarded to the event subscriber.
11. The computer program product according to claim 10, characterized in that The operations further include: If the event subscriber plays a role in the detected operation of the system and facility, the detected system and facility events are selected to be forwarded to the event subscriber.
12. The computer program product according to claim 11, characterized in that The operations further include: One or more other system and facility events related to the system and facility operation are selected to be forwarded to the event subscriber, wherein the system and facility operation includes a series of related system and facility events.
13. The computer program product according to claim 10, characterized in that The operations further include: If it is determined that the system and facility operation is not a user-initiated system and facility operation, it is determined whether to forward the detected system and facility event to the event subscriber according to one or more event subscription rules associated with the event subscriber.
14. The computer program product according to claim 13, characterized in that The operations further include: If it is determined that the detected system and facility events are to be forwarded to the event subscriber in accordance with the one or more event subscription rules associated with the event subscriber, the detected system and facility events are forwarded to the event subscriber.
15. The computer program product according to claim 14, characterized in that The operations further include: receiving feedback from the event subscribers on the system and facility events forwarded to the event subscribers; updating the one or more event subscription rules associated with the event subscriber according to the received feedback; A decision is made whether to forward subsequent system and facility events to the event subscriber based on the updated one or more event subscription rules associated with the event subscriber.
16. The computer program product according to claim 15, characterized in that The updating of the one or more event subscription rules related to the event subscriber according to the received feedback comprises: If the feedback received is positive, updating the one or more event subscription rules associated with the event subscriber by selecting to forward subsequent system and facility events similar to the detected system and facility events to the event subscriber; If the feedback received is negative, the one or more event subscription rules associated with the event subscriber are updated by electing not to forward subsequent system and facility events similar to the detected system and facility event to the event subscriber.
17. A system, characterized in that include: processor, a non-volatile memory containing computer program instructions configured to be executable by the processor to perform operations comprising: receiving a plurality of predefined event subscription rules associated with one or more event subscribers; Detect system and facility events related to system and facility operations of computer systems; determining a context of said system and facility operation associated with a detected said system and facility event; According to the context in which the system and facility are running and a plurality of predefined event subscription rules, it is determined whether to forward the detected system and facility events to the event subscriber.
18. The system according to claim 17, characterized in that The determining whether to forward the detected system and facility events to the event subscriber according to the context of the system and facility operation and the plurality of predefined event subscription rules comprises: determining, based on the context of the system and facility operation, whether the system and facility operation is a system and facility operation initiated by a user; If the system and facility operation is a user-initiated system and facility operation, determining whether the event subscriber plays a role in the detected system and facility operation based on the context of the system and facility operation; If the event subscriber does not play a role in the detected operation of the system and facility, then the detected system and facility events are not forwarded to the event subscriber.
19. The system according to claim 18, characterized in that The operations further include: If the event subscriber plays a role in the detected operation of the system and facility, the detected system and facility events are selected to be forwarded to the event subscriber.
20. The system according to claim 18, characterized in that The operations further include: If it is determined that the system and facility operation is not a user-initiated system and facility operation, it is determined whether to forward the detected system and facility event to the event subscriber according to one or more event subscription rules associated with the event subscriber.
