Self-testable HA framework library infrastructure
AssigneeOracle International Corporation
InventorsSarat B. Kakarla, Andrey Gusev, Juan Tellez
Life of this patent
Estimating the term…
Abstract
A method for a self-testing clusterware agent is provided. A clusterware agent that includes clusterware-side components and application-side components is configured to interface between a cluster manager and an application. The application-side components are invoked by clusterware-side components via an application programming interface, or API that includes API functions that are invocable by a cluster manager. Without any cluster manager invoking the clusterware agent, one or more of the API functions are invoked.
Claims16
A computer-implemented method for testing a clusterware agent configured to communicate between an application and a cluster manager executing clusterware, the method comprising:
- executing on a computer said clusterware agent,
- wherein said clusterware agent comprises clusterware-side components and application-side components, and
- wherein a given cluster manager manages resources and services of the cluster by invoking clusterware-side components that communicate via an Application Programming Interface (API) with application-side components that communicate with said application;
- and emulating a behavior of said given cluster manager by one or more clusterware-side components by:
- determining one or more API functions to invoke based, at least in part, on a test unit, wherein the test unit is embedded within said clusterware agent, and the test unit is designed to cause an application failure;
- determining one or more clusterware-side messages for invoking said one or more API functions;
- and
- invoking said one or more API functions of said API by using said clusterware-side messages;
- wherein said method is performed by one or more computing devices.
A computer-readable storage medium storing instructions for testing a clusterware agent configured to communicate between an application and a cluster manager executing clusterware, which, when executed, cause one or more processors to perform:
- executing on a computer a clusterware agent,
- wherein said clusterware agent comprises clusterware-side components and application-side components, and
- wherein a given cluster manager invokes clusterware-side components that communicate via an Application Programming Interface (API) with application-side components that communicate with said application;
- and
- emulating a behavior of said given cluster manager by one or more clusterware-side components, by:
- determining one or more API functions to invoke based, at least in part, on a test unit, wherein the test unit is embedded within said clusterware agent, and the test unit is designed to cause an application failure;
- determining one or more clusterware-side messages for invoking said one or more API functions;
- and
- invoking said one or more API functions by using said clusterware-side messages.
Dependencies are inferred from the claim text.