Patent ID: 9672124
Date: 2017-06-06
CPC Classifications: G06F

Claim:
1. A computer program product for maintaining a relationship between a primary storage system and a plurality of secondary storage systems, wherein the computer program product comprises a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause operations, the operations comprising: establishing a plurality of copy pairs, where each of the copy pairs associates one of a plurality of primary volumes in the primary storage system with one of a plurality of secondary volumes in one of the secondary storage systems, wherein there is one copy pair for each of the primary volumes and each of the secondary volumes in each of the secondary storage systems to which a primary volume is copied, and wherein there are multiple copy pairs for one of the primary volumes to copy to multiple secondary volumes in multiple of the secondary storage systems; for each of the copy pairs from one of the primary volumes to one of the secondary volumes in one of the secondary storage systems, mirroring data from the primary volume of the copy pair in the primary storage system to the associated secondary volume in the secondary storage system in the copy pair; detecting a failure at the primary storage system; selecting a secondary storage system of the secondary storage systems in response to detecting the failure, wherein a plurality of the secondary storage systems are available for selection; indicating the selected secondary storage system as a new primary storage system to which host requests are directed; and establishing a plurality of new copy pairs associating volumes in the new primary storage system as new primary volumes to the secondary volumes in available of the secondary storage systems other than the new primary storage system.