Claims Analysis
Total Claims: 13
Claim 1
Independent Claim
231 words
A method for managing resources within a computer system, the method comprising the steps of: creating one or more recovery domains within said computer system; establishing a correlation between said resources and said one or more recovery domains; in each of a plurality of lock manager units, creating a recovery domain object for any of said one or more recovery domains that will be supported by said lock manager unit; receiving at a particular lock manager unit a request for a lock on a resource; determining which recovery domain of said one or more recovery domains is associated with the resource; inspecting a flag associated with a recovery domain object that corresponds to the recovery domain to determine whether the recovery domain is valid; determining whether a master resource object exists for the resource; if a master resource object does not exist for the resource, then: creating a master resource object for the resource, establishing a link between the recovery domain object and the master resource object; determining whether the resource is valid based on whether the resource domain is valid, and setting a flag associated with the resource object to indicate whether the resource is valid; if the resource is valid, then granting a valid lock without performing cleanup on the resource; and if the resource is not valid, then performing cleanup on the resource before granting a valid lock.
Claim 2
Independent Claim
231 words
A method for managing resources within a computer system, the method comprising the steps of: creating one or more recovery domains within said computer system; establishing a correlation between said resources and said one or more recovery domains; in each of a plurality of lock manager units, creating a recovery domain object for any of said one or more recovery domains that will be supported by said lock manager unit; receiving at a particular lock manager unit a request for a lock on a resource; determining which recovery domain of said one or more recovery domains is associated with the resource; inspecting a flag associated with a recovery domain object that corresponds to the recovery domain to determine whether the recovery domain is valid; determining whether a master resource object exists for the resource; if a master resource object does not exist for the resource, then: creating a master resource object for the resource, establishing a link between the recovery domain object and the master resource object; determining whether the resource is valid based on whether the resource domain is valid, and setting a flag associated with the resource object to indicate whether the resource is valid; if the resource is valid, then granting a valid lock without performing cleanup on the resource; and if the resource is not valid, then performing cleanup on the resource before granting a valid lock.
Claim 3
Dependent Claim
27 words
The method of claim 1 further comprising a step of setting a flag associated with the recovery domain object to indicate whether the recovery domain is valid.
Claim 4
Dependent Claim
50 words
The method of claim 1 further comprising the steps of: detecting failure of a lock manager unit that supports the recovery domain; and in response to the failure of the lock manager unit, setting the flag associated with the recovery domain to indicate that the recovery domain is not valid.
Claim 5
Dependent Claim
180 words
The method of claim 3 further comprising the steps of responding to the failure of the lock manager unit by: inspecting a plurality of resource objects that represent resources that belong to said recovery domain; for each resource object of said plurality of resource objects, performing the steps of determining whether locks associated with the resource object would have prevented one or more failed processes from holding an exclusive mode lock on the resource represented by the resource object; if locks associated with the resource object would have prevented one or more failed processes from holding an exclusive mode lock on the resource represented by the resource object, then causing a flag associated with the resource represented by the resource object to indicate that the resource is valid; and if locks associated with the resource object would not have prevented one or more failed processes from holding an exclusive mode lock on the resource represented by the resource object, then causing the flag associated with the resource represented by the resource object to indicate that the resource is not valid.
Claim 6
Dependent Claim
92 words
The method of claim 1 wherein the step of performing cleanup includes the steps of: establishing a snapshot of lock information; sending a snapshot identifier associated with said snapshot to a cleanup process; after said cleanup process performs cleanup, receiving from said cleanup process said snapshot identifier; determining the snapshot that corresponds to the snapshot identifier; determining a set of resources that have become valid based on the snapshot identified by said snapshot identifier; and setting flags associated with resources in said set of resources to indicate that said resources are valid.
Claim 7
Dependent Claim
73 words
The method of claim 1 wherein: the computer system includes a plurality of nodes; each node of said plurality of nodes has a lock manager unit of a plurality of lock manager units; the method further comprises the step of storing, in each lock manager unit of said plurality of lock manager units, data that indicates which of the other lock manager units support the recovery domains supported by said lock manager unit.
Claim 8
Dependent Claim
75 words
The method of claim 1 wherein: the computer system includes a plurality of nodes; each node of said plurality of nodes has a lock manager unit of a plurality of lock manager units; the step of receiving a request for a lock on a resource includes the step of a lock manager unit on a first node of said plurality of nodes receiving a lock request from a process that resides on said first node.
Claim 9
Dependent Claim
38 words
The method of claim 7 wherein: the resource is a resource associated with a database; and the lock manager unit on the first node receives the lock request from a database instance that resides on the first node.
Claim 10
Dependent Claim
23 words
The method of claim 1 wherein the step of performing cleanup is performed by a process from which the lock request was received.
Claim 11
Dependent Claim
26 words
The method of claim 1 further comprising the steps of: detecting failure of a database process; and recovering the resources managed by a lock management system.
Claim 12
Dependent Claim
128 words
The method of claim 10 wherein the step of recovering includes the steps of: establishing a snapshot of lock information stored in the lock management system; creating a snapshot identifier that identifies the snapshot; sending the snapshot identifier to a cleanup process; after receiving said snapshot identifier, said cleanup process performing cleanup of resources held by said database process; after performing the cleanup of the resources held by the database process, the cleanup process transmitting the snapshot identifier to the lock manager system; the lock management system determining which resources have been cleaned up by said cleanup process based on the snapshot identified by said snapshot identifier; and the lock management system revising said lock information to indicate which resources have been cleaned up by said cleanup process.
Claim 13
Dependent Claim
43 words
The method of claim 11 wherein: the step of establishing a snapshot is performed in response to receiving a request for an invalid resource; and the step of performing cleanup is performed by a process that issued the request for the invalid resource.