Resource arbitration via persistent reservation
AssigneeMicrosoft Corporation
InventorsRajsekhar Das, Norbert Kusters
Life of this patent
Estimating the term…
Abstract
Reserving ownership of a shared resource including registering a node with the shared resource using a first registration, delaying an interval of time and then attempting to detect the registration and, if the first registration is detected indicating no other node is maintaining ownership of the shared resource, preempting any pre-existing reservation placing a new reservation for the node with the shared resource, the new reservation limiting any other node from reserving ownership of the shared resource.
Claims20
In a distributed computing system, a method for a node to reserve ownership of a shared resource, the method comprising:
- registering the node with the shared resource at a time t1 using a first registration;
- and
- attempting to detect the first registration with the shared resource at a time t2 and, if the first registration is detected, preempting a pre-existing reservation placing a new reservation for the node with the shared resource at a time t3, the new reservation limiting any other node from reserving ownership of the shared resource.
A system for reserving ownership of a shared resource, the system comprising:
- a coupling between a node and the shared resource;
- and
- a first registration being registered for the node with the shared resource at a time t1 by the system;
- the system attempting to detect the first registration with the shared resource at a time t2 and, if the first registration is detected, preempting a pre-existing reservation placing a new reservation for the node with the shared resource at a time t3, the new reservation limiting any other nodes from reserving ownership of the shared resource.
A computer-readable medium, embodying computer-executable instructions for performing a method to reserve ownership of a shared resource, the method comprising:
- registering a node with the shared resource using a first registration;
- attempting to reserve ownership of the shared resource for the node;
- and
- if unable to reserve ownership of the shared resource:
- attempting to detect a pre-existing reservation with the shared resource,
- delaying a first interval of time, the first interval of time being a reservation interval, and
- preempting the pre-existing reservation placing a new reservation for the node with the shared resource, the new reservation limiting any other node from reserving ownership of the shared resource.
The computer-readable medium of claim 19, wherein the method further comprises:
- reading any registrations with the shared resource;
- attempting to detect the first registration with the shared resource;
- and
- if the first registration is detected:
- removing the any registrations except the first registration with the shared resource,
- delaying a second interval of time, the second interval of time being a maintenance interval, and
- repeating the method of claim 20.
Dependencies are inferred from the claim text.