The present disclosure relates to computer software, and more specifically, to computer software to dynamically determine an external systems management application to report system errors.
When a computing system experiences a software or hardware error, the error and related data must be reported to a support entity. Software solutions have arisen to automatically report these errors. Problems may arise when multiple systems management applications manage the same computing system, as the applications need to coordinate and decide who is the “call-home owner,” or the systems management application responsible for reporting the error to the support entity. Each systems management application may have its own algorithm used to determine whether it is the call-home owner, and these algorithms may not coordinate with each other, leading to conflicts. For example, one systems management application may determine if it is the call-home owner by checking if any other system has been set to call home the error—if no other system has taken responsibility, it will call home. Other systems management applications may forcedly take call-home responsibility. Therefore, in this scenario, if the latter systems management application forcedly takes the call-home responsibility, it may retain the responsibility until a user manually executes a command to change it.
Embodiments disclosed herein include systems, methods, and computer program products to perform an operation comprising, responsive to an occurrence of an error on a computing system, selecting, based on one or more policy attributes, a first systems management application from a plurality of systems management applications registered to manage the computing system, generating an event notification including an identifier for the first systems management application, and transmitting the event notification to the first systems management application for reporting to a remote service.
Embodiments disclosed herein provide techniques to dynamically determine an external systems management application to report system errors. The selected external systems management application may be referred to as a “call-home owner.” As used herein, a “call-home owner” refers to a system or software application responsible for reporting an error detected on a computing system to the appropriate support entity, such as the support department of a manufacturer of a product. Embodiments disclosed herein implement a standalone call-home coordinating engine running on a managed computing system. When the coordinating engine detects an error, or receives a notification that an error has occurred on the computing system, the coordinating engine may select a call-home owner from a group of management applications registered to manage the computing system. The coordinating engine 102 may then generate an event notification which includes a unique identifier of the selected call-home owner, and send the event notification to all subscribed management applications. When the management applications receive the event notification, each management application compares the unique identifier in the event notification to their respective management application identifier. If the identifiers match, the management application determines that it is the call-home owner, and may report the error to the appropriate entity. Any management application having an identifier not matching the identifier in the event notification does not report the error, but instead may display the error to a user.
As shown, the computing environment 100 also includes systems management applications 103 and 104. Generally, the systems management applications 103, 104 are applications configured to manage endpoint systems. The systems management applications 103, 104 may receive event notifications (and related data) from one or more managed systems, such as the managed system 101 and the systems 1111-N and 112−1-N, and report the errors to the backend support center 105. When the managed system 101 experiences an error, which may include, without limitation, a software error, a firmware error, and a hardware error, the coordinating engine 102 may reference one or more policies (not shown) in order to select one of the systems management applications 103, 104 as the “call-home owner.” In this example, the coordinating engine 102 may determine that the systems management application 104 is the call-home owner. The coordinating engine 102 may make this determination based on any number of policies, which include, without limitation, user-specified call-home owner priority rankings, the manufacturer of a component experiencing the error, a workload balance of each systems management application 103, 104, one or more features of each systems management application 103, 104 (such as whether the application forwards log files related to the system error included in the event notification 130), average historical response times for each systems management application 103, 104, a reliability score of each systems management application 103, 104 indicating whether the application successfully reported previous events, an availability of each systems management application 103, 104 (for example, whether the applications are currently reporting other events, downloading fixes, and the like), and a solution environment of the managed system 101.
When the coordinating engine 102 selects the systems management application 104 as the call-home owner, the coordinating engine 102 may generate an event notification 130 that includes a unique identifier of the selected call-home owner. The identifier may be, without limitation, an IP address or a host name of a machine hosting the selected management application. The notification 130 may include, without limitation, detailed information regarding the system error, the type of error, the source system name, and source system IP address. In at least some embodiments, the notification 130 includes a “snapshot” of the log files at the point in time the error occurred on the system 101. In other embodiments, after receiving the notification 130, the systems management applications 103, 104 may request and receive the log files from the system 101 regarding the error.
When the systems management applications 103, 104 receive the event notification 130, a designated component therein may compare the unique identifier of the systems management application to the unique identifier in the event notification 130. If the identifiers do not match, as in the case of systems management application 103, the systems management application 103 does not report an event notification to the backend support center 105, as the systems management application 103 is not the call-home owner. Instead, the systems management application 103 may take no action, or communicate the error to a user (via email, outputting for display on a monitor, or other communications means). If the identifiers match, as in the case of systems management application 104, the systems management application 104 determines that it is the call-home owner, which means it must report the error to the backend support center 105. The systems management application 104 may then connect to the managed system 101 in order to collect data related to the error, such as log files. The systems management application 104 may then send a call-home notification 140 to the backend support center 105. The call-home notification 140 may be a forwarded version of the event notification 130, or generated by the systems management application 104 according to a predefined format. The collected data may also be submitted along with the call-home notification 140. Once notified of the error, the backend support center 105 may take the appropriate steps in order to resolve the error. In addition, once the systems management application 104 “calls home” to the backend support center 105, it may send an acknowledgment to the coordinating engine 102 indicating that the error has been reported to the backend support center 105.
If the coordinating engine 102 does not receive an acknowledgement from the systems management application 104 within a predefined time threshold, the coordinating engine 102 may select a different call-home owner, such as the systems management application 103. The coordinating engine 102 may then generate an updated notification 130, which it may send to all systems management applications in the computing environment 100. The systems management application 103 may then attempt to report the problem to the backend support center 105. Generally, the coordinating engine 102 may select any number of systems management applications in the computing environment 100 to be the call-home owner until the coordinating engine 102 receives a notification indicating that the error was successfully reported to the backend support center 105.
The computer 202 generally includes a processor 204 connected via a bus 220 to a memory 206, a network interface device 218, a storage 208, an input device 222, and an output device 224. The computer 202 is generally under the control of an operating system (not shown). Examples of operating systems include the UNIX operating system, versions of the Microsoft Windows operating system, and distributions of the Linux operating system. (UNIX is a registered trademark of The Open Group in the United States and other countries. Microsoft and Windows are trademarks of Microsoft Corporation in the United States, other countries, or both. Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both.) More generally, any operating system supporting the functions disclosed herein may be used. The processor 204 is included to be representative of a single CPU, multiple CPUs, a single CPU having multiple processing cores, and the like. The network interface device 218 may be any type of network communications device allowing the computer 202 to communicate with other computers via the network 230.
The storage 208 may be a persistent storage device. Although the storage 208 is shown as a single unit, the storage 208 may be a combination of fixed and/or removable storage devices, such as fixed disc drives, solid state drives, SAN storage, NAS storage, removable memory cards or optical storage. The memory 206 and the storage 208 may be part of one virtual address space spanning multiple primary and secondary storage devices.
The input device 222 may be any device for providing input to the computer 202. For example, a keyboard and/or a mouse may be used. The output device 224 may be any device for providing output to a user of the computer 202. For example, the output device 224 may be any conventional display screen or set of speakers. Although shown separately from the input device 222, the output device 224 and input device 222 may be combined. For example, a display screen with an integrated touch-screen may be used.
As shown, the memory 206 contains the coordinating engine 102, which is an application generally configured to dynamically select an external systems management application to report errors (a call-home owner) occurring on the computer 102. In order to determine which of the management applications 231 on the hosts 230 should be the call-home owner for a given error, the coordinating engine 102 may reference one or more policies in the policies 215, which the coordinating engine 102 may apply to a list of available applications in the available applications 216. The policies 215 and the available applications 216 may both stored in the storage 208. The policies 215 may include one or more policies, rules, scores, or any other data that may assist the coordinating engine 102 to select a call-home owner. For example, the policies 215 may include user-defined rankings of each of the management applications 231, workload balance of each management application 231, one or more features of each management application 231 (such as whether the application forwards log files related to the system error), average historical response times for each systems management application 231, a reliability score of each systems management application 231 generated by the coordinating engine 102, and indications as to whether the application successfully reported previous events, and a solution environment of the computer 202. The reliability score of each management application 231 may be based on the rules and other factors in the policies 215, and how well each management application 231 performs according to these rules and factors.
When the coordinating engine 102 detects an error on the computer 202 (or receives a notification that an error has occurred), the coordinating engine 102 may select one of the management applications 231 as the call-home owner. The coordinating engine 102 may then generate an event notification including a unique identifier of the selected call-home owner and send it to each of the management applications 231 registered to manage the computer 202. In one embodiment, the coordinating engine 102 sends the event notification pursuant to the common information model object manager (CIMOM) protocol, although any suitable communications protocol may be used. Upon receiving the event notification, each of the management applications 231 compares its own unique identifier to the identifier included in the event notification. If the identifiers match, the management application 231 determines that it is the call-home owner, and may notify the appropriate support center host 241 through a notification interface 242. In at least some embodiments, the management application 231 may connect to the system 202 to collect data related to the error prior to notifying the support center host 241. Additionally, upon successfully notifying the support center host 241, the management application 231 may notify the coordinating engine 102 of the successful call home. If the coordinating engine 102 does not receive a notification from the selected call-home owner specified in the initial event notification, the coordinating engine 102 may select new call-home owners and send updated notifications until receiving a notification that the error was successfully called home.
At step 320, the coordinating engine 102, or a designated component of the computing system, monitors the local computing system for errors. At step 330, the coordinating engine 102 or the designated component detects a system error. When the error is detected, the coordinating engine 102 may connect to the system to collect data related to the error. At step 340, described in greater detail with reference to
Advantageously, embodiments disclosed herein dynamically select respective call-home owners for different system errors. A local system agent or service may detect errors (or receive notifications that an error has occurred), apply one or more policies and rules that may be specific to each error and management application, and select a management application as the call-home owner. If the local system agent or service does not receive a timely acknowledgment, it may select a “next-in-line” management application to call the error home, ensuring that the error is properly reported to a system support entity.
Although embodiments disclosed herein use system errors as a reference example, embodiments of the disclosure may apply equally to reporting any type of information, and the user of system errors should not be considered limiting of the disclosure. For example, and without limitation, embodiments disclosed herein may be used to report performance information, inventory information (such as installed software and device drivers), and heartbeat information to a service provider.
The descriptions of the various embodiments of the present disclosure have been presented for purposes of illustration, but are not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the embodiments, the practical application or technical improvement over technologies found in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.
As will be appreciated by one skilled in the art, aspects of the present disclosure may be embodied as a system, method or computer program product. Accordingly, aspects of the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present disclosure may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
Aspects of the present disclosure are described below with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
Embodiments of the disclosure may be provided to end users through a cloud computing infrastructure. Cloud computing generally refers to the provision of scalable computing resources as a service over a network. More formally, cloud computing may be defined as a computing capability that provides an abstraction between the computing resource and its underlying technical architecture (e.g., servers, storage, networks), enabling convenient, on-demand network access to a shared pool of configurable computing resources that can be rapidly provisioned and released with minimal management effort or service provider interaction. Thus, cloud computing allows a user to access virtual computing resources (e.g., storage, data, applications, and even complete virtualized computing systems) in “the cloud,” without regard for the underlying physical systems (or locations of those systems) used to provide the computing resources.
Typically, cloud computing resources are provided to a user on a pay-per-use basis, where users are charged only for the computing resources actually used (e.g. an amount of storage space consumed by a user or a number of virtualized systems instantiated by the user). A user can access any of the resources that reside in the cloud at any time, and from anywhere across the Internet. In context of the present disclosure, a user may access applications or related data available in the cloud. For example, the coordination engine 102 could execute on a computing system in the cloud and dynamically determine a call-home owner. In such a case, the coordination engine 102 could transmit event notifications and store policy data at a storage location in the cloud. Doing so allows a user to access this information from any computing system attached to a network connected to the cloud (e.g., the Internet).
The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
While the foregoing is directed to embodiments of the present disclosure, other and further embodiments of the disclosure may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow.
This application is a continuation of co-pending U.S. patent application Ser. No. 14/169,292, filed Jan. 31, 2014. The aforementioned related patent application is herein incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | 14169292 | Jan 2014 | US |
Child | 14291586 | US |