Dynamic, policy-based control of copy service precedence
View Patent ↗Techniques are provided for resolving a collision between two copy services. A policy associated with a new copy service request is retrieved. Characteristics of an existing copy service request are determined. The effects of the new copy service request are determined. A resolution for the collision is identified based on the policy, the determined characteristics, and the determined effects.
1. An article of manufacture embodied as one of hardware logic and a computer readable medium including program logic for resolving a collision between two copy services, wherein the hardware logic or program logic when executed by a computer causes operations to be performed,
the operations comprising:
retrieving a policy associated with a new copy service request;
determining characteristics of an existing copy service request;
determining effects of the new copy service request;
determining a resolution for the collision based on the policy, the determined characteristics, and the determined effects; and
returning an indication of the resolution to one of hardware and a program that requested the resolution.
2. The article of manufacture of claim 1 , wherein the policy is user-specified.
3. The article of manufacture of claim 1 , wherein the policy is system-defined.
4. The article of manufacture of claim 1 , wherein the characteristics include a type of the existing copy service and a status of the existing copy service.
5. The article of manufacture of claim 1 , wherein the effects of the new copy service are determined with reference to the policy.
6. The article of manufacture of claim 1 , wherein the operations further comprise:
performing one or more operations based on the resolution.
7. The article of manufacture of claim 6 , wherein the one or more operations include suspending one of the existing copy service and the new copy service until the other copy service completes.
8. A method for resolving a collision between two copy services, comprises:
retrieving a policy associated with a new copy service request;
determining characteristics of an existing copy service request;
determining effects of the new copy service request;
determining a resolution for the collision based on the policy, the determined characteristics, and the determined effects; and
returning an indication of the resolution to one of hardware and a program that requested the resolution.
9. The method of claim 8 , wherein the policy is user-specified.
10. The method of claim 8 , wherein the policy is system-defined.
11. The method of claim 8 , wherein the characteristics include a type of the existing copy service and a status of the existing copy service.
12. The method of claim 8 , wherein the effects of the new copy service are determined with reference to the policy.
13. The method of claim 8 , further comprising:
performing one or more operations based on the resolution.
14. The method of claim 13 , wherein the one or more operations include suspending one of the existing copy service and the new copy service until the other copy service completes.
15. A system for resolving a collision between two copy services, comprising:
circuitry causing operations to be performed, the operations comprising:
retrieving a policy associated with a new copy service request;
determining characteristics of an existing copy service request;
determining effects of the new copy service request;
determining a resolution for the collision based on the policy, the determined characteristics, and the determined effects; and
returning an indication of the resolution to one of hardware and a program that requested the resolution.
16. The system of claim 15 , wherein the policy is user-specified.
17. The system of claim 15 , wherein the policy is system-defined.
18. The system of claim 15 , wherein the characteristics include a type of the existing copy service and a status of the existing copy service.
19. The system of claim 15 , wherein the effects of the new copy service are determined with reference to the policy.
20. The system of claim 15 , wherein the operations further comprise:
performing one or more operations based on the resolution.
21. The system of claim 20 , wherein the one or more operations include suspending one of the existing copy service and the new copy service until the other copy service completes.
22. A system comprising:
means for retrieving a policy associated with a new copy service request;
means for determining characteristics of an existing copy service request;
means for determining effects of the new copy service request;
means for determining a resolution for a collision based on the policy, the determined characteristics, and the determined effects; and
means for returning an indication of the resolution to one of hardware and a program that requested the resolution.