Method and apparatus for concurrency control in a policy-based management system
First Claim
1. A method for providing concurrency control for a policy-based management system that controls resources in a distributed computing system, the method comprising:
- receiving a request to perform an operation on a lockable resource from a controller in the distributed computing system, wherein the controller is associated with a policy;
wherein the controller sends the request in order to enforce a first policy for controlling resources in the distributed computing system;
determining whether the controller holds a lock on the lockable resource, wherein the lock can be controlled by different controllers, and wherein only one controller can hold a lock on a resource at a given time;
allowing the controller to execute the operation on the lockable resource if the controller holds the lock on the lockable resource;
allowing the controller to acquire the lock if the controller does not hold the lock on the lockable resource; and
allowing the controller to execute the operation on the lockable resource if the controller acquires the lock;
wherein the controller can hold locks on other policies and can thereby create a hierarchical locking structure between policies.
2 Assignments
0 Petitions
Accused Products
Abstract
A system that facilitates concurrency control for a policy-based management system that controls resources in a distributed computing system. The system operates by receiving a request to perform an operation on a lockable resource from a controller in the distributed computing system. This controller sends the request in order to enforce a first policy for controlling resources in the distributed computing system. In response the request, the system determines whether the controller holds a lock on the lockable resource. If so, the system allows the controller to execute the operation on the lockable resource. If not, the system allows the controller an opportunity to acquire the lock. If the controller is able to acquire the lock, the system allows the controller to execute the operation on the lockable resource.
-
Citations
26 Claims
-
1. A method for providing concurrency control for a policy-based management system that controls resources in a distributed computing system, the method comprising:
-
receiving a request to perform an operation on a lockable resource from a controller in the distributed computing system, wherein the controller is associated with a policy;
wherein the controller sends the request in order to enforce a first policy for controlling resources in the distributed computing system;
determining whether the controller holds a lock on the lockable resource, wherein the lock can be controlled by different controllers, and wherein only one controller can hold a lock on a resource at a given time;
allowing the controller to execute the operation on the lockable resource if the controller holds the lock on the lockable resource;
allowing the controller to acquire the lock if the controller does not hold the lock on the lockable resource; and
allowing the controller to execute the operation on the lockable resource if the controller acquires the lock;
wherein the controller can hold locks on other policies and can thereby create a hierarchical locking structure between policies. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A computer-readable storage medium storing instructions that when executed by a computer cause the computer to perform a method for providing concurrency control for a policy-based management system that controls resources in a distributed computing system, the method comprising:
-
receiving a request to perform an operation on a lockable resource from a controller in the distributed computing system, wherein the controller is associated with a policy;
wherein the controller sends the request in order to enforce a first policy for controlling resources in the distributed computing system;
determining whether the controller holds a lock on the lockable resource, wherein the lock can be controlled by different controllers, and wherein only one controller can hold a lock on a resource at a given time;
allowing the controller to execute the operation on the lockable resource if the controller holds the lock on the lockable resource;
allowing the controller to acquire the lock if the controller does not hold the lock on the lockable resource; and
allowing the controller to execute the operation on the lockable resource if the controller acquires the lock;
wherein the controller can hold locks on other policies and can thereby create a hierarchical locking structure between policies. - View Dependent Claims (13, 14, 15)
-
-
16. An apparatus that provides concurrency control within a policy-based management system that controls resources in a distributed computing system, the apparatus comprising:
-
a receiving mechanism that receives a request to perform an operation on a lockable resource from a controller in the distributed computing system, wherein the controller is associated with a policy;
wherein the controller sends the request in order to enforce a first policy for controlling resources in the distributed computing system;
a determining mechanism that determines whether the controller holds a lock on the lockable resource, wherein the lock can be controlled by different controllers, and wherein only one controller can hold a lock on a resource at a given time;
an execution mechanism that is configured to, allow the controller to acquire the lock if the controller does not hold the lock on the lockable resource, and to allow the controller to execute the operation on the lockable resource if the controller holds the lock on the lockable resource;
wherein the controller can hold locks on other policies and can thereby create a hierarchical locking structure between policies. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26)
-
Specification