Method and apparatus for obtaining agent status in a network management application
First Claim
1. A method for determining status of execution of a SAN management command by an agent on a remote host in a storage area network (SAN) at a command manager operating in a SAN management computer system, the method comprising:
- receiving at the command manager a SAN management command submission from a SAN application that directs operation of an agent on a remote host to manage resources in the SAN, each command submission indicating the SAN management command to be executed as a transaction on the agent and indicating that the SAN application is to be notified of the status of the SAN management command;
creating at the command manager a transaction identifier associated with the SAN management command;
registering at the command manager at least one of a plurality of the SAN applications as an application to be notified of the execution status of the SAN management command by the agent in association with the transaction identifier;
returning the transaction identifier associated with the SAN management command from the command manager to the SAN application;
issuing the SAN management command to the agent for execution by the agent to perform a management function specified by the command in association with a resource in the SAN;
sending at least one status request from the command manager to the agent to determine a status of execution of the SAN management command by the agent according to a status entry in a status table based on the transaction identifier, the status entry storing current execution state of the command by the agent in association with the transaction identifier;
in response to the at least one status request sent from the command manager to the agent, receiving at least one status response from the agent indicating the status of the execution of the SAN management command by the agent; and
returning the status of execution of the SAN management command indicated within the at least one status response received at the command manager from the agent to the SAN application that submitted the command to the command manager and having the associated transaction identifier.
9 Assignments
0 Petitions
Accused Products
Abstract
A system determines status of agent execution of a command in a network. The system identifies a command to be performed by an agent and issues the command to the agent for execution. The agent operates a status manager that tracks execution status of commands in the agent. The system sends status requests to the agent to determine a status of execution of the command by the agent and the agent responds and sends a status response indicating the status of the execution of the command by the agent. Applications are thus provided with current status of execution of long running commands in an agent.
17 Citations
23 Claims
-
1. A method for determining status of execution of a SAN management command by an agent on a remote host in a storage area network (SAN) at a command manager operating in a SAN management computer system, the method comprising:
-
receiving at the command manager a SAN management command submission from a SAN application that directs operation of an agent on a remote host to manage resources in the SAN, each command submission indicating the SAN management command to be executed as a transaction on the agent and indicating that the SAN application is to be notified of the status of the SAN management command; creating at the command manager a transaction identifier associated with the SAN management command; registering at the command manager at least one of a plurality of the SAN applications as an application to be notified of the execution status of the SAN management command by the agent in association with the transaction identifier; returning the transaction identifier associated with the SAN management command from the command manager to the SAN application; issuing the SAN management command to the agent for execution by the agent to perform a management function specified by the command in association with a resource in the SAN; sending at least one status request from the command manager to the agent to determine a status of execution of the SAN management command by the agent according to a status entry in a status table based on the transaction identifier, the status entry storing current execution state of the command by the agent in association with the transaction identifier; in response to the at least one status request sent from the command manager to the agent, receiving at least one status response from the agent indicating the status of the execution of the SAN management command by the agent; and returning the status of execution of the SAN management command indicated within the at least one status response received at the command manager from the agent to the SAN application that submitted the command to the command manager and having the associated transaction identifier. - View Dependent Claims (2, 3, 4, 5, 6, 7, 18, 20, 21, 22, 23)
-
-
8. In an agent operating on a remote host to manage a resource in a storage area network (SAN), a method for providing status of a SAN management command executed by the agent, the method comprising:
-
receiving a SAN management command to be executed by the agent from a command manager operating in a SAN management computer system configured to register at least one of a plurality of SAN applications as an application to be notified of the execution status of the command by the agent; registering the SAN management command with a status manager within the agent configured to maintain current execution state of the SAN management command by the agent in relation to a transaction identifier received from the SAN management computer system and associated with the SAN management command during execution of the SAN management command within the agent, registering the SAN management command comprising allocating a status entry in a status table based on the transaction identifier, the status entry storing current execution state of the command by the agent in association with the transaction identifier; executing the SAN management command within the agent to perform a management function specified by the SAN management command in association with the resource in the SAN; receiving at least one status request from the command manager requesting status of execution of the SAN management command by the agent; and returning to the command manager from the agent at least one status response in response to the at least one status request received by the agent, the at least one status response indicating current execution status of the SAN management command by the agent. - View Dependent Claims (9, 10, 11, 12)
-
-
13. A system for determining status of execution of a SAN management command in a storage area network (SAN), the system comprising:
-
a management server computer system comprising; a first processor; and a first non-transitory computer-readable medium including computer program logic encoded thereon that, when executed by the first processor, provides a command manager configured to determine status of agent execution of the SAN management command in the SAN by performing operations of; receiving the SAN management command submission from a SAN application that directs operation of an agent on a remote host to manage resources in the SAN, each command submission indicating the SAN management command to be executed as a transaction on the agent and indicating that the SAN application is to be notified of the status of the SAN management command; creating a transaction identifier associated with the SAN management command; registering at least one of a plurality of the SAN applications as an application to be notified of the execution status of the SAN management command by the agent in association with the transaction identifier; returning the transaction identifier associated with the SAN management command to the SAN application; issuing the SAN management command to the agent for execution by the agent to perform a management function specified by the command in association with a resource in the SAN; sending at least one status request to the agent to determine a status of execution of the SAN management command by the agent according to a status entry in a status table based on the transaction identifier, the status entry storing current execution state of the command by the agent in association with the transaction identifier; in response to the at least one status request, receiving at least one status response from the agent indicating the status of the execution of the SAN management command by the agent; and returning status indicated within the at least one status response received at the command manager from the agent to the SAN application having the associated transaction identifier; and a host computer system comprising; a second processor; and a second non-transitory computer-readable medium including computer program logic encoded thereon that, when executed by the second processor, provides a status manager operating in the agent configured to provide status of the SAN management command executed by the agent by performing operations of; receiving the SAN management command to be executed by the agent from the command manager operating in the SAN management computer system; registering the SAN management command with a status manager within the agent configured to maintain current execution state of the SAN management command by the agent in relation to the transaction identifier associated with the SAN management command during execution of the SAN management command within the agent, registering the SAN management command comprising allocating a status entry in a status table based on the transaction identifier, the status entry storing current execution state of the command by the agent in association with the transaction identifier; executing the SAN management command within the agent to perform a management function specified by the SAN management command in association with the resource in the SAN; receiving at least one status request from the command manager requesting status of execution of the command by the agent; and returning to the command manager at least one status response to the at least one of a plurality of registered SAN applications in response to the at least one status request, the at least one status response indicating current execution status of the SAN management command by the agent. - View Dependent Claims (19)
-
-
14. A management server computer system comprising:
-
a non-transitory computer-readable medium; a processor; a communications interface; and an interconnection mechanism coupling the non-transitory computer-readable medium, the processor and the communications interface; wherein the non-transitory computer-readable medium includes computer program logic encoded thereon that, when executed by the processor, provides a command manager that operates in a command manager process that causes the management server computer system to perform the operations of; receiving at the command manager a SAN management command submission from a SAN application that directs operation of an agent on a remote host to manage resources in the SAN, each command submission indicating the SAN management command to be executed as a transaction on the agent and indicating that the SAN application is to be notified of the status of the SAN management command; creating at the command manager a transaction identifier associated with the SAN management command; registering, at the command manager at least one of a plurality of SAN applications as an application to be notified of the execution status of the SAN management command by the agent in association with the transaction identifier; returning the transaction identifier associated with the SAN management command from the command manager to the SAN application; issuing the SAN management command to the agent for execution by the agent over the communications interface to perform a management function specified by the command in association with a resource in the SAN; sending at least one status request from the command manager over the communications interface to the agent to determine a status of execution of the SAN management command by the agent according to a status entry in a status table based on the transaction identifier, the status entry storing current execution state of the command by the agent in association with the transaction identifier; in response to the at least one status request sent from the command manager to the agent, receiving at least one status response over the communications interface from the agent indicating the status of the execution of the SAN management command by the agent; and returning the status of execution of the SAN management command indicated within the at least one status response received at the command manager from the agent to the SAN application that submitted the command to the command manager and having the associated transaction identifier.
-
-
15. A host computer system comprising:
-
a non-transitory computer-readable medium; a processor; a communications interface; and an interconnection mechanism coupling the a non-transitory computer-readable medium, the processor and the communications interface; wherein the non-transitory computer-readable medium includes computer program logic encoded thereon that, when executed by the processor, provides a status manager that operates in an agent process that causes the host computer system to perform the operations of; receiving a storage area network (SAN) management command to be executed by the agent from a command manager operating in a SAN management computer system configured to register at least one of a plurality of SAN applications as an application to be notified of the execution status of the SAN management command by the agent; registering the SAN management command with the status manager within the agent configured to maintain current execution state of the SAN management command by the agent in relation to a transaction identifier received from the SAN management computer system and associated with the SAN management command during execution of the SAN management command within the agent, registering the SAN management command comprising allocating a status entry in a status table based on the transaction identifier, the status entry storing current execution state of the command by the agent in association with the transaction identifier; executing the SAN management command within the agent to perform a management function specified by the SAN management command in association with the resource in the SAN; receiving at least one status request over the communications interface from the command manager requesting status of execution of the SAN management command by the agent; and returning, over the communications interface to the command manager from the agent, at least one status response in response to the at least one status request received by the agent, the at least one status response indicating current execution status of the SAN management command by the agent.
-
-
16. A computer program product having a non-transitory computer-readable medium including computer program logic encoded thereon that, when executed on a computer system provides a command manager that causes the computer system to perform the operations of:
-
receiving at the command manager a SAN management command submission from a SAN application that directs operation of an agent on a remote host to manage resources in the SAN, each command submission indicating the SAN management command to be executed as a transaction on the agent and indicating that the SAN application is to be notified of the status of the SAN management command; creating at the command manager a transaction identifier associated with the SAN management command; registering, at the command manager at least one of a plurality of SAN applications as an application to be notified of the execution status of the SAN management command by the agent in association with the transaction identifier; returning the transaction identifier associated with the SAN management command from the command manager to the SAN application; issuing the SAN management command to the agent for execution by the agent over the communications interface to perform a management function specified by the command in association with a resource in the SAN; sending at least one status request from the command manager to the agent to determine a status of execution of the SAN management command by the agent according to a status entry in a status table based on the transaction identifier, the status entry storing current execution state of the command by the agent in association with the transaction identifier; in response to the at least one status request sent from the command manager to the agent, receiving at least one status response from the agent indicating the status of the execution of the SAN management command by the agent; and returning the status of execution of the SAN management command indicated within the at least one status response received at the command manager from the agent to the application that submitted the command to the command manager.
-
-
17. A computer program product having a non-transitory computer-readable medium including computer program logic encoded thereon that, when executed on a computer system provides a status manager that operates in an agent that causes the computer system to perform the operations of:
-
receiving a storage area network (SAN) management command from to be executed by the agent from a command manager operating in a SAN management computer system configured to register at least one of a plurality of plurality of SAN applications as an application to be notified of the execution status of the SAN management command by the agent; registering the SAN management command with the status manager within the agent configured to maintain current execution state of the SAN management command by the agent in relation to a transaction identifier received from the SAN management computer system and associated with the SAN management command during execution of the SAN management command within the agent, registering the SAN management command comprising allocating a status entry in a status table based on the transaction identifier, the status entry storing current execution state of the command by the agent in association with the transaction identifier; executing the SAN management command within the agent to perform a management function specified by the SAN management command in association with the resource in the SAN; receiving at least one status request from the command manager requesting status of execution of the SAN management command by the agent; and returning to the command manager from the agent, at least one status response in response to the at least one status request received by the agent, the at least one status response indicating current execution status of the SAN management command by the agent.
-
Specification