Using ghost agents in an environment supported by customer service providers

A method for supporting an application can include the step of receiving a problem indication relating to the application. The method can also identify a host within a grid environment, wherein a host can be a software object used by said application. A ghost agent can be associated with the host. The actions of the host can be replicated for use by the ghost agent. Data relating to the replicated actions can be recorded using the ghost agent. The indicated problem can be responded to, where the response can be based at least in part upon the recorded data.

BACKGROUND

1. Field of the Invention

This invention relates to the field of computer software and, more particularly to supporting applications using ghost agents.

2. Description of the Related Art

Numerous application and subscription providers offer customer support services. It can be laborious, however, for customer service representatives (CSRs) to determine the causes of customer problems and subsequently resolve the customer's problems. Part of the difficulty for the CSRs arises from communication issues. That is, CSRs interface with customers of vastly different technical backgrounds and experience levels. Novice users can lack the terminology and expertise to describe problems in a manner meaningful to the CSRs. In contrast, extremely proficient users can experience application-specific problems that most CSRs are not qualified to address or to understand.

Additionally, even if no significant communication hurdles exist between a user and a CSR, it can still be difficult if not impossible to recreate the problem that a user experienced. Recreating the problem can be an essential step in resolving it. One common difficulty in recreating user problems is that users often cannot remember the exact sequence of events leading up to a problem. Another difficulty relates to user problems that occur intermittently or randomly. Intermittent or random problems can be impossible for a user to predict or purposefully trigger and can therefore be almost impossible for a CSR to replicate. Yet another difficulty can be that the user's problem is unique to the hardware and software environment used by the user. In such an instance, a CSR using different hardware and software will not be able to recreate the problem on the CSR's system. The more complex that the environment being supported by a CSR is, the more difficult it can be for a CSR to resolve user problems.

One illustrative environment in which CSRs have difficulty is a grid computing environment. A grid environment can be a distributed computing environment where computing, application, storage, and/or network resources can be shared across geographically dispersed organizations. In the grid environment, a variety of computing resources can be transparently utilized by users on an as-needed basis. Users can therefore consume computing resources in a manner similar to the commercial consumption of electricity and water. Accordingly, a grid computing environment can dynamically coordinate a collection of users, applications, and organizations with a multitude of resources provided by numerous computing devices.

Complicated interactions can occur between different grid-based applications, since the applications can share a common pool of computing resources. These complex interactions can be a significant the source of user problems. When informed of the user problems, however, a CSR can be unable to simulate the dynamic conditions within the grid environment that resulted in the problems. Additionally, a CSR may not be able to correct problems experienced within the supported application that result from flaws within other applications that share grid resources with the supported application. Consequently, in order to better support problems common to a grid environment, CSRs need better tools that facilitate the identification and resolution of user problems.

SUMMARY OF THE INVENTION

The present invention includes a method, a system, and an apparatus for providing computer support using ghost agents. More specifically, a user can experience problems using an application and contact a customer service representative (CSR). The CSR can identify a host relating to the user's identity within the application, where the host is a software object. The CSR can assign a ghost agent to the identified host. The ghost agent can monitor and record the actions of the user.

In one embodiment, the CSR can execute tests using the ghost agent, where test input can be extracted from the recorded actions of the host. In another embodiment, debugging actions can be performed using the ghost agents. For example, a processing halt point can be established for one or more replicated actions. The CSR can examine system parameters at this halt point to determine the problem source. In yet another embodiment, operational performance and/or system requirement thresholds can be input into the ghost agents. The ghost agents can compare the input thresholds with results from the replicated actions. In each of these embodiments, the CSR can convey commands to a multitude of ghost agents and can receive messages reporting the results of these commands.

One aspect of the present invention can include a method for supporting an application. The method can include the step of receiving a message indicating a problem with the supported application. The method can also identify a host within a grid environment, wherein the host can be a software object used by the application. A ghost agent can be associated with the host. The host can move within the grid environment and the ghost agent can responsively move in accordance with the movement of the host. Movement in a grid environment refers to the movement from one grid component to another component within a grid and/or movement from one grid to a different grid of the grid environment. The ghost agent can also disassociate itself from the host in order to associate itself with a different host. The actions of the host can be replicated for use by the ghost agent and data relating to the replicated actions can be recorded using the ghost agent. In one embodiment, a location external to the ghost agent can be identified to which the recorded data can be conveyed.

The indicated problem can be responded to based at least in part upon the recorded data. In one embodiment, the indicated problem can be automatically detected by components of the grid computing environment. For example, recorded data relating to a replicated action can be compared with one or more operational thresholds provided by the ghost agent. If any of the thresholds are not satisfied, a problem indication message can be responsively generated and suitable actions taken. One such suitable action can include recording the results of the comparisons for use by customer service representatives (CSRs) and/or system administrators. Another action can include automatically routing application activity from an area of the grid environment in which the problem occurred to an alternative area of the grid environment. Further, when the method is implemented in a self-correcting system, the problem can be automatically resolved based at least in part upon the recorded data.

In another embodiment, the method can be a manual process involving at least one CSR using a customer service interface. The customer service interface can utilize ghost agents to respond to problems. For example, a CSR can receive a message from a user, which indicates the user recognized problem. The user can be represented within the application by a particular host to which a ghost agent can be associated. The data recorded by the associated ghost agent can be used to determine the actions of the user that resulted in the problem. In responding to the problem, one or more tests can be executed using the ghost agent. The ghost agent can use the recorded data as input for the tests. Further, a debugging action can be performed using the ghost agent, where the debugging action can be performed against one or more replicated actions.

Another aspect of the present invention can include a customer service environment including multiple hosts, one or more ghost agents, a customer service application, and/or a service data store. The hosts can be software objects for an application domain, where the application domain can be an application distributed within a grid environment. The ghost agents can be associated with one or more hosts. Each ghost agent can move within the grid environment to follow movements of the host with which it is associated. The customer service application can utilize ghost agents to determine actions leading to one or more problems with the application. The customer service application can also debug the determined problems using the ghost agents. The service data store can be communicatively linked to a multitude of ghost agents and to the customer service application. Additionally, the service data store can record data generated by the ghost agents for use by the customer service application.

DETAILED DESCRIPTION OF THE INVENTION

The present invention can include a method, a system, and an apparatus for supporting customers within a customer service environment using ghost agents. More specifically, an application can be installed within a grid computing environment. The application can include a customer service application used by customer service representatives (CSRs) to assist users. Users can contact the CSRs to report problems with the application. Further, the application can include some self-monitoring aspects that automatically detect and report application problems to the CSRs. The CSRs can then selectively monitor application activities to determine actions that resulted in the reported problem. Once the actions leading to problems are identified, the CSR can perform tests and/or debugging actions to resolve the problem.

Automatic problem detection, action identification, and problem resolution tasks can involve associating ghost agents to hosts, where a host can be a software object used or accessed by the application. The host can move from location to location within the grid environment. When the host moves, an associated ghost agent can responsively move in accordance with the movement of the host. The ghost agent can replicate the actions of the host and record data related to the replicated actions. For example, the ghost agent can record user-triggered activities and the results of these activities.

As used herein, a ghost agent can be a self-managing, self-identifying software object capable of performing predefined tasks in a self-sufficient manner. Any suitable technique can be used to attach the ghost agent to the host including, but not limited to, debugging attachment techniques, system calibration techniques, hardware performance testing techniques, and similar binding methodologies.

FIG. 1is a schematic diagram illustrating a customer support system100in which ghost agents can be used in accordance with the inventive arrangements disclosed herein. The system100can include a grid environment105in which applications120and125are disposed. The applications120and125can be supported by a customer service application150. The grid environment105is illustrated as a series of nodes beginning with a root node labeled “GE” for grid environment. The grid environment105can include one or more grids110, where each grid110is represented by a node labeled “G.” Each grid110can further provide one or more computing resources115, represented by nodes labeled “CR.”

The grid environment105can be a distributed computing environment that includes a multitude of hardware and software components represented as computing resources115. The computing resources115of the grid environment105can be accessible on an as needed basis to a multitude of applications, users, and organizations. The grid environment105can include any hardware platform, operating system, storage scheme, and/or software resource that adheres to the standards and protocols defined for the grid environment105.

Each of the grids110can be a logical segmentation of the grid environment105that includes one or more groupings of physically differentiable hardware resources. For example, the grids110can each include a multitude of mainframe or supercomputers. Additionally, the grids110can each include several local area networks, workgroups, and computing arrays arranged according to any topography including, but not limited to, star topographies, Fiber Distributed Data Interface (FDDI) rings, token rings, and the like.

Computing resources115can include low-level and high-level resources as well as software and hardware resources. Low-level resources can include processing cycles of a CPU, storage space in a memory, capacity, bandwidth within a communication pathway, and other such hardware resources. Low-level resources can also include microcode routines, threads, CPU processes, and other such software resources. High-level hardware computing resources115can include printers, fax machines, copiers, input devices, display devices, database storage space, removable media, and the like. High-level software computing resources115can include algorithms and heuristics such as database search routines, spell-checking routines, transcription services, text-to-speech services, format conversions, Web services, and the like.

Application domains120and125can exist within the grid environment105, each functioning as a “virtual application.” Unlike traditional applications that generally reside on a single server, application domains120and125can physically span across several grids110and can utilize a variety of geographically dispersed computing resources115, yet logically function as a single application having a single user interface. Additionally, a set of computing resources can be utilized by more than one application domain. For example, application domain120and application domain125share a portion of computing resources labeled shared segment130. Exemplary types of application domains120and125can include productivity applications, entertainment applications, development applications, office applications, utility applications, multimedia applications, data management applications, graphic design applications, and the like.

Application domains120and125can include a multitude of hosts32and38, which can be software objects used by the application domains120and125. Ghost agents34and40can be associated with hosts32and38respectively. Hosts32and38can periodically move from location to location within the grid environment105. For example, the host32can be an object representing a user of the application domain120. As such, the host32can move within the application domain120depending upon which application features the user triggers and depending upon the grid locations that contain to the requested features.

The customer service application150can be a software application for monitoring user interactions within a designated application domain for purposes of assisting application users with problems. The customer service application150can also aid in resolving customer problems by directing users from problem grid segments to alternative grid segments, by debugging problem areas, by implementing test solutions, and by verifying implemented fixes to resolve user problems. In one embodiment, the customer service application150can register hosts32and38in order to perform host-based operations. Similarly, the ghosts34and40can be registered with the customer service application150. The customer service application150can include a service interface152allowing authorized users, such as a CSR140, to access the features of the customer service application150. Further, the customer service application can be communicatively linked with a detector135, a service data store170, a debugger154, a testing application156, and a validation application158.

The detector135can be an automated problem detection application. Accordingly, the detector135can receive system status messages from the application domains120and125, from grid environment components105including hardware, and from ghost agents34and40. For example, if a hardware component within the grid environment105fails or is overloaded, the detector135can transmit a problem indication message to the customer service application150. In one embodiment, the detector135can contain error-handling functions. For example, if the detector135determines that a problem exists by analyzing data of the service data store170, the detector135can automatically route user requests from the problem segment or component to an alternate grid location. Further, any error-handling functions and/or detection functions of the detector135can be configured using the customer service application150.

The service data store170can be any centralized storage location where data from the ghost agents34and40can be stored for use by the customer service application150and other applications. The service data store170can store data in any fashion using any data methodologies known in the art including database storage methodologies, file-based storage methodologies, and other formats. Further, the service data store170can store data within removable storage devices, fixed storage devices, network storage device, and other such hardware.

When the customer service application150operates with the grid environment105, service application commands50can be directed toward designated ghost agents34and40disposed throughout the grid environment105. The service application commands50can trigger the ghost agents34and40to execute customer service procedures resulting in output messages in which results of the commands50are recorded. The ghost agents34and40can convey these output messages to the service data store170. Subsequently, the customer service application150can access and utilize the output messages.

For example, a user145can contact the CSR140and report a problem with application domain120. The CSR140can inform the user145to continue using the application domain120and that the problem is presently being worked on. The user145can additionally be instructed to inform the CSR140the next time the problem is discovered because active problem tracking procedures have been initialized. The CSR140can then identify a host32associated with the user145and bind the ghost agent34to the host32. The ghost agent34can monitor user145actions within the application120and send ghost34generated output to the service data store170for storage and/or recordation.

When the problem next occurs, the CSR140can determine the exact conditions that resulted in the problem. If the problem is primarily a training problem, which results from a misunderstanding on the part of the user145as to how the application domain120operates, the CSR140can contact the user145and correct the misunderstanding. If the problem is an actual system problem, the CSR140can initiate problem solving procedures. For example, the customer service application150and related software maintenance tools, which include the debugger154, the testing application156, and the validation application158, can be used to debug, test, correct, and verify corrections in the application domain120code. The CSR140can contact the user145once the problem has been fixed as a follow up action for the reported problem.

The debugger154can be a program configured to search for and correct errors or problems existing within other software. Additionally, the debugger154can debug software installed within the grid environment105, which can include a test grid environment and/or a production grid environment. The debugger154can utilize any of the ghost-related debugging methods described herein to implement debugging features within the grid environment105. For example, a portion of the service application commands50can be debugging commands directed toward designated ghost agents34and40. Further, a portion of the output messages generated by the ghost agents34and40that are conveyed to the service data store170can include debugging output.

The debugging features implemented by the debugger154are not limited to a particular subset of features. Rather, any debugging features commonly used in the art can be implemented using the debugger154. Exemplary debugging programs exhibiting common debugging features include GDB by the GNU project, the Java Platform Debugger Architecture (JPDA) by Sun Microsystems, Inc. of Santa Clara, Calif., the IBM Distributed Debugger by International Business Machines (IBM) Corporation of Armonk, N.Y., and Built-in Linux Kernel Debugger (KDB) by Silicon Graphics Incorporated (SGI) of Mountain View, Calif.

In one embodiment, the debugger154can include a debugging interface. The debugging interface can allow the CSR140, system developers, and other users to access the functionality of the debugger154. The debugging interface can be integrated with the service interface152or can be a separate interface. It should be noted that the data store that the debugger154uses can include a debugging data store exclusively reserved for debugging data, the service data store170, and any other data storage space.

The testing application156can be a software development tool configured to test applications within grid-environment105. The testing application156can function in conjunction with the validation application158, thereby allowing test routines to first be executed and then be verified. The testing application156can also include a test interface that permits authorized users to access the functionality of the testing application156. The testing interface can be integrated with the service interface152or can be separate from the service interface152. Additionally, the testing application150can issue test commands, which can be one type of service command50, that can be conveyed to ghost agents34and40to produce test output. The test output can be conveyed to the service data store170, to a test data store, and to any other data storage space.

In one embodiment, the CSR140and/or software technicians can utilize the test interface to access the testing application156. Once an instance of the test interface is open, the application domain125can be chosen from a selection of application domains. The procedures, methods, parameters, and graphical user interface (GUI) views of the application domain125can be presented within the test interface. The CSR140and/or software technician can select a presented software object and generate a test routine for it. Subsequently, the generated test routines can be executed. For example, a test routine can include a driver and a stub written for a particular procedure. The test routine can be executed in place of or in addition to the procedure for which it was written.

The validation application158can be a software maintenance tool configured to validate and/or verify software fixes, the load induced by software upon a system, and software performance characteristics. Additionally, the validation application158can manage validation operations and resulting data for multiple ghost agents deployed within the grid environment105. A validation interface, which can be integrated with or separate from the service interface152, can be provided so that authorized users can access the features of the validation application158. Further, the validating application158can issue validation commands, which can be one type of service command50, that can be conveyed to ghost agents34and40to produce validation output. The validation output can be conveyed to the service data store170, to a validation data store, and to any other data storage space.

In one embodiment, whenever a specified computing resource115is used by the application domain120, the ghost agent34can compute the quantity of the computing resource115consumed by the application domain120. This quantity can be compared to a resource consumption threshold. Further, a ghost agent34can be associated with a hardware device driver to monitor activities of a selected hardware device. The ghost agent34can determine a load upon for the associated hardware device every nthsecond. The ghost agent34can then compare the determined load against an inputted load threshold. Additionally, the validation application158can be used to perform comparisons between test output generated by ghost34and the output resulting from host32.

In another embodiment, an authorized user can utilize the validation interface to access the validation application158. The validation application158can visually present ghost agent34, ghost agent40, and every other ghost agent disposed within the grid environment105. The user can select the ghost agent34and can establish validation data for the ghost agent34using the validation interface. The user-entered validation data can be conveyed to ghost agent34using validation commands. The ghost agent34can also receive other validation commands in order to direct the ghost agent34to perform desired comparisons. The comparisons can result in validation output, which can be conveyed to the service data store170.

One illustrative example of ghost agents34and40operating within a grid environment105can relate to a Massive Multi-Player Gaming (MMPG) system, which can represent application domain120. In the example, a player, corresponding to host32, can experience erratic behavior when campaigning in a suspect area of the MMPG. The player145, can contact the CSR140and explain the problem. In response, the CSR140can bind ghost agent34to the host32. In one embodiment, the MMPG can include user selectable options that facilitate error reporting and resolution while minimizing contacts between the player and the CSR140. For example, the MMPG interface can include a user-selectable track problems option. The track problems option can automatically associate a ghost agent34with the host32without CSR140involvement. Whenever a player has enabled the problem tracking option with the MMPG, a further option for reporting an experienced problem can be enabled for the player. Selection of the problem reporting option can convey a problem indication message to the customer service application150.

Once a problem has been reported by the player, the actions leading up to the problem can be analyzed. This analysis can involve comparing operational metrics resulting from player actions with application domain120specifications. Tests routines can be executed using the ghost agent34that can use previously recorded player actions as test input. Further, debugging actions can be performed against previously executed player actions. Proposed problem fixes can be verified before being implemented within the production version of the application domain120. Once the problem reported by the user145has been fixed, the CSR140can contact the user145as part of a follow up procedure. The above MMPG example is just one possible application within which ghost agents34can be utilized to support user145problems. The invention, however, is not limited in this regard and any application type can be supported using the inventive arrangements disclosed herein.

FIG. 2is a schematic diagram illustrating a host205and a ghost agent215within a grid environment200in accordance with the inventive arrangements disclosed herein. The host205can be any definable software unit within the grid environment200that can receive input250and execute actions256. The input250can include messages of any type conveyed to the host205, such as keyboard input, procedural calls, and the like. The actions256can be relatively high-level actions as well as low-level actions. High-level actions can include calls to software routines that can contain one or more external procedural calls. Low-level actions can include hardware device calls and the execution of one or more processes or threads.

The ghost agent215can be associated or bound to the host205through the ghost interface210. The ghost interface210can generate replicated actions255that are copies of the actions executed by the host205, using any of a variety of suitable techniques. For example, techniques used by software debugging programs to attach monitors to running programs in order to evaluate system behavior and step through code can be used by the ghost interface210. Alternatively, techniques used by system calibration and hardware performance testing utilities can be used by the ghost interface210to bind the ghost agent215with the host205. Further, operating system level commands, tools, and functions analogous or similar to the UNIX commands “strace” and “ptrace,” can potentially be used by the ghost interface210to bind the host205with the ghost agent215. Strace is a commonly used system call trace, i.e. a debugging tool that prints out a trace of all the system calls made by another process and/or program. Additionally, ptrace is a commonly used system call that enables one process to control the execution of another. Ptrace also enables a process to change the core image of another process.

More specifically, the ghost interface210of one embodiment can be implemented as one or more Java software objects. In such an embodiment, the ghost interface210can cause a Java web server to be initialized with the Java debugging command, “java_g.” The ghost interface210can utilize a Java debugging object to replicate the actions of the host205and convey the replicated actions255to the ghost agent215. Additionally, passwords provided by the host205can be echoed to the ghost interface210and used to authorize the ghost agent215as appropriate.

In another example within a Java environment, both the host205and the ghost agent215can be implemented as different Java classes and the ghost interface210can appropriately convey messages between the host205and ghost agent215classes. In yet another example the ghost interface210can be implemented using a Java/Tcl blend, where Tcl is a computing language that interoperates with Java code segments. In that case, the ghost interface210can use the “java::bind” command to generate callback scripts from events in the host205. The call back scripts can replicate actions for the ghost agent215.

The implementations of the ghost interface210are not restricted to the Java programming language as one of ordinary skill in the art can utilize any of a variety of different programming languages and binding techniques. For example, the ghost interface210can be implemented using a GNU debugger distributed by the Free Software Foundation and an Apache server distributed by the Apache Software Foundation. The GNU debugger can be attached to an Apache server causing all activity occurring within the server to be directed to the GNU debugger. The host205can be disposed within the Apache server and the ghost agent215can utilize replicated actions of the host205provided by the GNU debugger.

Regardless of how the ghost interface210is implemented, the ghost agent215can manipulate the replicated actions255when performing customer service operations. The replicated action255can be a passive or “read only” action that has no operational effect upon the grid environment200. Accordingly, the passive action can be stored and not rebroadcast or sent into the grid environment200to be executed. For example, a passive action can involve analyzing a replicated action to determine performance metrics, resource utilization metrics, and/or estimated load metrics relating to the replicated action. In another example, a passive action can involve executing a test routine within the ghost agent215generating test output.

The ghost agent215can also generate one or more active actions257that are executed within the grid environment200. Active actions257can be used to place a system in a selected state so that the selected state can be tested. While active actions257can be commonly used by ghost agents215disposed within a test segment of the grid environment200, active actions257can also be used within production segments of the grid environment200. For example, an active action257can trigger a fault condition in order to validate fault-reporting features and/or error handling routines of a system. When used within production segments, however, care must be taken to assure the active actions257are not harmful to users of the grid environment200.

In one embodiment, the ghost agent215can receive control signals260from an external source, such as a test application. The control signals260can include messages from a customer service application, messages from other ghost agents215, and messages generated by components of the grid environment200. For example, the control signals260can specify that a test routine that is to be executed. In another example, the control signals260can include validation specifications. Additionally, the control signals260can synchronize multiple ghost agents215with one another for customer service operations that involve multiple ghost agents215. Alternatively, control signals260can cause a ghost agent215to associate and/or disassociate with a host205, can alter the level of logging performed by the ghost agent215, can cause the ghost agent215to terminate, and can similarly control the ghost agent215.

The ghost agent215can include a validater217, a test engine235, a ghost log220, a ghost identifier225, and a ghost controller230. The validater217can compare data related to the replicated action to validation data. For example, the validater217can analyze a replicated action255as well as other system input to determine performance metrics, resource utilization metrics, load metrics, and/or output resulting from actions of the host205. This data can be compared against corresponding validation data, which can include performance requirements, resource utilization specifications, and load specifications inputted into the ghost agent215as well as test output generated by the ghost agent215.

For example, in one arrangement, the validation data input into the validater217can include a time threshold for executing a designated action. In such an arrangement, the validater217can determine a time required to execute a corresponding host205action. The validater217can then compare the time threshold to the determined time. Further, the validater217can indicate whether the time threshold has been exceeded or not. Accordingly, part of the validation output produced by the validater217can include a compliance indicator detailing this result.

In another arrangement, the validation data input into the validater217can include a resource threshold for resources consumed by the designated action. In such an arrangement, the validater217can determine resources consumed by an action and compare the determined value to the resource threshold. In yet another arrangement, the validation data input into the validater217can include a system load threshold. In such an arrangement, the validater217can determine a system load when the host205executes an action and compare the determined value to the system load threshold.

The test engine235can load test routines into the ghost agent215, can execute the test routines, and can generate test output. The execution of the test routines can result from receiving test commands that trigger one or more test operations. Test routines can also be automatically executed based upon the occurrence of a monitored event. For example, if a particular replicated action255is received, the test engine235can responsively execute a test routine.

When executing test routines, the test engine235can analyze, manipulate, and extract data from the replicated actions255. For example, a test routine may require one or more parameters to be extracted from one or more replicated actions255. Test routines can also be executed in combination with other test routines and/or replicated actions255.

For example, a replicated action255can trigger three sequentially executed procedures specified as module A, B, and C. A particular test routine, called module BTEST, can be a replacement for the second procedure, B. Accordingly, when the test engine235executes replicated action255, module A, BTEST, and C can be sequentially executed.

The ghost log220can record the data relating to the replicated actions255, such as debugging actions, validation actions, and testing actions, thereby creating a log. The ghost log220can be configured to record all activities relating to the associated host205or can be configured to record only selected activities. For example, in one embodiment, the ghost log220can record only those comparisons of the validater217where specifications are not met, thereby generating a problem log. In another example, the ghost log220can record a statistically relevant portion of actions, such as recording data relating to every nthreplicated action255or every nthvalidation comparison. The ghost log220can also capture system information and add annotations from this system information to the generated log.

For example, system clock information can be captured and used to annotate the time between receiving a replicated action255and the completion time for an associated active action257. Operational metrics, including load metrics, for the replicated action can be gathered in this fashion. In another example, metadata information contained within message flows, such as input250, and active action257, can be recorded and/or utilized by the ghost log220. Additionally, the ghost log220can time stamp data relating to replicated actions255.

The ghost log220can also record the log information in a ghost log repository240. The ghost log repository240can be a temporary buffer or a persistent data storage area. If the ghost log repository240is external to the ghost agent215, any of a variety of different mechanisms can be utilized to convey the log data to the ghost log repository240.

While ghost log repository240is depicted as being external and possibly remotely located from the ghost agent215, it should be appreciated that the ghost log repository240can also be an allocated memory space internal to the ghost agent215. For example, the ghost log repository240can be a dynamically allocated segment of random access memory (RAM) available to the ghost agent215as needed.

In one embodiment, an intermittent communication link, such as a unicast or a point-to-point communication link can be established between the ghost log220and the ghost log repository240through which data can be conveyed. In another example, a buffer space, which can be another embodiment of ghost log220, within the ghost agent215can record log information. Whenever the buffer reaches a specified volume of data, a message containing the buffered information can be conveyed to the ghost log repository240. The buffer within the ghost agent215can then be cleared and used to store fresh data.

In yet another example, ghost agents215can convey log data to a local data server. The local data server can then convey all received log data to the ghost log repository240from time to time or on a periodic basis. In still another example, the ghost agent215can intermittently deposit log data to a local location. Then a data-reaping object can gather packets of the log data that have been locally deposited by the various ghost agents215. The packets of log data can be conveyed to the ghost log repository240by the data-reaping objects.

The ghost identifier225can provide identification, authorization, and security related functions for the ghost agent215. That is, the ghost identifier225can identify the ghost agent215to the various components of the grid environment200. Accordingly, servers in the grid environment200can have an awareness of the ghost agent215. The grid servers can then use policy-based controls to manage permissions, authentication, resource utilization, and security for the ghost agents215. Ghost agents215adhering to the established policies can be permitted to automatically enter and exit the various grids of the grid environment200.

The ghost agent215can be granted different access privileges to computing resources as the ghost agent215traverses from one grid in a grid environment200to another depending on grid-based policies. Privileges afforded the ghost agent215can be determined in any manner known in the art. For example, a ghost agent215can replicate the passwords provided by the host205and use the replicated passwords to provide authentication to the grid environment200. In another example, before a ghost agent215can be permitted to follow an associated host205from one grid in the grid environment200to the next, a password or digital certificate unique to the ghost agent215can be required. The ghost agent215can receive the same system privilege level within the grid environment200as the host205or can receive a different privilege level.

The ghost controller230can manage the ghost agent215. For example, the ghost controller230can establish a life span for a particular ghost agent215so that the ghost agent215self-terminates after a designated period. In another example, the ghost controller230can restrict the computing resources consumed by the ghost agent215, thereby freeing up system resources in the grid environment200for improved operational performance. Alternately, the ghost controller230can increase the computing resources consumed by the ghost agent215, thereby slowing down operational performance in the grid environment200. Slowing performance can be beneficial when simulating a load during testing.

In one embodiment, the ghost controller230can accept control signals260from an external source. Further, the ghost controller230can include a listener object capable of responding to particular events broadcasted by a corresponding notifier object. For example, a server could broadcast a signal causing all ghost controllers230to limit the resource consumption of all ghost agents215presently disposed in the server. Similarly, a grid wide broadcast could cause specified ghost agents215to self-terminate.

It should be noted that there are many possible ways to implement the elements of system200. Implementation details can depend upon the conditions of the host205, the specifics of the ghost agent215, and details concerning the grid environment200itself. One of ordinary skill in the art can apply the teachings disclosed herein to a variety of different conditions using well-known software engineering techniques and principles.

For example, the details of the test engine235can depend upon implementation choices. In one embodiment, the host205can execute actions A, B, and C by calling three separate external routines; call A, call B, and call C, respectively. The ghost agent215can determine the routine calls by examining the replicated actions255that correspond to the calling actions. In one arrangement, drivers and stubs can be written for call A, call B, and call C. The drivers and stubs can be executed by the test engine235so that the test engine235need not externally call routines A, B, and C. In another arrangement, the test engine235can perform calls to the external routines, but an indicator can be relayed to the external routines to prevent operational changes from occurring. That is, each of the external routines can be executed in a disabled mode.

In yet another arrangement, substitute routines for routines A, B, and C can exist and be called by the test engine235in place of calling A, B, and C. For instance, the substitute routines can be implemented within a test environment and can be approximately equivalent to their counterparts that are implemented within a production environment. In another arrangement, the host205can execute actions A, B, and C using internal routines. The internal routines will generate actions that are copied into the ghost agent215as replicated actions and can be directly executed by the test engine235.

FIG. 3is a flow chart illustrating a method300for servicing problems using ghost agents in accordance with the inventive arrangements disclosed herein. The method300can be performed in the context of supporting an application installed within a grid environment. The method300can begin in step305, where a problem indication can be received. For example, a user of the application can report a problem to a CSR. Alternatively, problem detection software and hardware can automatically detect application problems and report the problem to a customer service application as appropriate. In step310, a host experiencing the problem can be identified. A host can be a software object included within the grid-based application. If the problem is reported by a user, the host can represent the user within the application. The host can also represent an application component and/or a hardware component experiencing a problem.

In one embodiment, if the problem is relates to an isolatable segment of the grid environment and if alternative grid segments can provide similar capabilities as the problematic grid segment, the grid environment can automatically route users and processes from the problem segment to the alternative segment until the problem is resolved.

In step315, a ghost agent can be associated with the identified host. In step320, the ghost agent can gather information relating to the host. For example, the ghost agent can log and record the actions of the host. The ghost agent can also gather system information relating to the actions of the host including, but not limited to, execution time for actions, resources consumed, latency experienced, and the load upon system components at the time of action executions. In step325, a recurrence of the indicated problem can be detected. In one embodiment, the detection can be a manual event that requires a user having the problem to report the problem to a customer service representative. In another embodiment, a threshold indicative of the problem can be loaded into the ghost agent at the time the ghost agent is associated with the host. The ghost agent can, thereafter, compare the loaded threshold against system conditions. If the threshold is exceeded, a problem can be automatically reported.

In step330, a sequence of actions leading to the detected problem can be determined by examining the output recorded by the ghost agent. In step335, a determination can be made as to whether the problem was caused by a user error. If so, the method can proceed to step340where a CSR can contact the user and train the user in the proper procedures. In particular embodiments, a CSR need not be involved in step340and automated messages detailing the user problems and/or proper procedures can be substituted for human interactions. In step345, once the problem has been resolved, the ghost agent can be disassociated with the host.

If the problem was a system error and not a user error as determined by step335, the method can proceed to step350. In step350, a technician can be informed of the problem, the source of the problem, and can be conveyed the ghost generated data. The technician can then perform debugging operations using one or more ghost agents. In step355, the technician can also use ghost agents to execute tests to correct the identified problem. In step360, ghost agents can be used to validate potential problem fixes. Once fixes have been validated, the method can proceed to step365, where problem fixes can be implemented in a production system. In step370, users can be informed that the reported problem has been resolved. Finally, in step375, the ghost agent can be disassociated from the host.