Managing a high availability framework by enabling and disabling individual nodes
AssigneeOracle International Corporation
InventorsCarol Lyndall Colrain, David Brower
Life of this patent
Estimating the term…
Abstract
A composite resource is established that includes a plurality of members. Each of the members is capable of providing a comparable service. A coordinator monitors a state of each member of the composite resource. A component requests the service from the coordinator. The coordinator arranges for the service to be provided to the component by a particular member of the composite resource. When the particular member ceases to be active, the service is automatically provided to the component by another member in the composite resource. A state of the composite resource is maintained independently of the state of each member in the composite resource.
Claims44
A method for providing a service, the method comprising the steps of:
- establishing a composite resource for providing said service;
- wherein said composite resource includes a plurality of members;
- wherein said composite resource maintains data indicating, for each member of the plurality of members, whether the member is enabled or disabled;
- wherein enabled members of the composite resource are concurrently executing on one or more nodes;
- wherein each enabled member of the composite resource is configured to automatically restart when the node upon which the enabled member is executing is restarted;
- wherein each enabled member of the plurality of members is considered to be a candidate, by the composite resource, for providing said service to a component that requests the service from the composite resource;
- in response to a particular event, disabling a first member in the plurality of members;
- wherein disabling a first member in the plurality of members reconfigures the first member to not automatically restart when the node upon which the member is executing is restarted;
- and
- while the first member is disabled, ceasing to consider the first member as a candidate for providing the service to the component that requests the service from the composite resource.
A method for managing components within a framework, the method comprising the steps of:
- associating a plurality of members as being part of a composite resource, each of the plurality of members being executable to provide a comparable service, wherein the plurality of members are provided on a plurality of nodes;
- receiving, on a first node where a first member of the plurality of members has ceased to execute, a request to restart at least one of the first member and the first node;
- in response to receiving the request, performing the steps of:
- (a) determining, by consulting the composite resource, a status of the first member as being one of enabled or disabled just prior to the first member ceasing to provide the service;
- (b) if the status is enabled, automatically attempting to restart the first member in order to provide the service;
- and
- (c) if the status is disabled, not starting the first member.
A computer-readable storage medium storing instructions for managing components within a framework, wherein execution of the one or more sequences of instructions by one or more processors causes the one or more processors to perform the steps of:
- establishing a composite resource for providing said service;
- wherein said composite resource includes a plurality of members;
- wherein said composite resource maintains data indicating, for each member of the application has been amended as follows:
- plurality of members, whether the member is enabled or disabled;
- wherein enabled members of the composite resource are concurrently executing on one or more nodes;
- wherein each enabled member of the composite resource is configured to automatically restart when the node upon which the enabled member is executing is restarted;
- wherein each enabled member of the plurality of members is considered to be a candidate, by the composite resource, for providing said service to a component that requests the service from the composite resource;
- in response to a particular event, disabling a first member in the plurality of members;
- wherein disabling a first member in the plurality of members reconfigures the first ember to not automatically restart when the node upon which the member is executing is restarted;
- and while the first member is disabled, ceasing to consider the first member as a candidate for providing the service to the component that requests the service from the composite resource.
A computer-readable storage medium storing one or more sequences of instructions for managing components within a framework, wherein execution of the one or more sequences of instructions by one or more processors cause the one or more processors to perform the steps of:
- associating a plurality of members as being part of a composite resource, each of the plurality of members being executable to provide a comparable service, wherein the plurality of members are provided on a plurality of nodes;
- receiving, on a first node where a first member of the plurality of members has ceased to execute, a request to restart at least one of the first member and the first node;
- in response to receiving the request, performing the steps of:
- (a) determining, by consulting the composite resource, a status of the first member as being one of enabled or disabled just prior to the first member ceasing to provide the service;
- (b) if the status is enabled, automatically attempting to restart the first member in order to provide the service;
- and
- (c) if the status is disabled, not starting the first member.
Dependencies are inferred from the claim text.