Switching over from using a first primary storage to using a second primary storage when the first primary storage is in a mirror relationship
First Claim
1. A computer program product for switching from a first primary storage, used by a system, with a second primary storage, wherein the computer program product comprises a computer readable storage medium having program instructions embodied therewith to communicate with the first primary storage, the second primary storage, and a secondary storage, that when executed cause operations, the operations comprising:
- initiating migration operations comprising;
migrating data in the first primary storage to the second primary storage while the data in the first primary storage indicated in first change recording information is mirrored to the secondary storage;
initiating quiescing of writes to the first primary storage after synchronizing between the first primary storage and the second primary storage; and
switching from using the first primary storage to the second primary storage for host read and write access; and
initiating resynchronization operations while waiting for the quiescing of the writes, comprising;
indicating, in second change recording information, changes to data in the second primary storage resulting from copying writes from the first primary storage that occur after initiating the resynchronization operations and while waiting for completion of the quiescing of writes to the first primary storage in a second change recording information;
determining whether writes completed quiescing to the first primary storage;
copying writes from the second primary storage indicated in the first and the second change recording information to the secondary storage in response to the determining that the writes completed quiescing to the first primary storage; and
mirroring writes to the second primary storage to the secondary storage in response to the copying the writes indicated in the first and second change recording information to the secondary storage.
1 Assignment
0 Petitions
Accused Products
Abstract
A computer program product, system, and method for switching over from using a first primary storage to using a second primary storage when the first primary storage is in a mirror relationship. Migration operations are initiated to migrate data in the first primary storage to a second primary storage while the data in the first primary storage indicated in first change recording information is mirrored to a secondary storage and switch from using the first primary storage to the second primary storage. Resynchronization operations are initiated to indicate changes to data in the second primary storage in a second change recording information, copy writes from the second primary storage indicated in the first and the second change recording information to the secondary storage, and mirror writes to the second primary storage to the secondary storage in response to the copying the writes.
39 Citations
18 Claims
-
1. A computer program product for switching from a first primary storage, used by a system, with a second primary storage, wherein the computer program product comprises a computer readable storage medium having program instructions embodied therewith to communicate with the first primary storage, the second primary storage, and a secondary storage, that when executed cause operations, the operations comprising:
-
initiating migration operations comprising; migrating data in the first primary storage to the second primary storage while the data in the first primary storage indicated in first change recording information is mirrored to the secondary storage; initiating quiescing of writes to the first primary storage after synchronizing between the first primary storage and the second primary storage; and switching from using the first primary storage to the second primary storage for host read and write access; and initiating resynchronization operations while waiting for the quiescing of the writes, comprising; indicating, in second change recording information, changes to data in the second primary storage resulting from copying writes from the first primary storage that occur after initiating the resynchronization operations and while waiting for completion of the quiescing of writes to the first primary storage in a second change recording information; determining whether writes completed quiescing to the first primary storage; copying writes from the second primary storage indicated in the first and the second change recording information to the secondary storage in response to the determining that the writes completed quiescing to the first primary storage; and mirroring writes to the second primary storage to the secondary storage in response to the copying the writes indicated in the first and second change recording information to the secondary storage. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system for switching from using a first primary storage with a second primary storage and further in communication with a secondary storage, comprising:
-
a processor; and a computer readable storage medium having program instructions embodied therewith that when executed by the processor cause operations, the operations comprising; initiating migration operations comprising; migrating data in the first primary storage to the second primary storage while the data in the first primary storage indicated in first change recording information is mirrored to a secondary storage; initiating quiescing of writes to the first primary storage after synchronizing between the first primary storage and the second primary storage; and switching from using the first primary storage to the second primary storage for host read and write access; and initiating resynchronization operations while waiting for the quiescing of the writes, comprising; indicating, in second change recording information, changes to data in the second primary storage resulting from copying writes from the first primary storage that occur after initiating the resynchronization operations and while waiting for completion of the quiescing of writes to the first primary storage in a second change recording information; determining whether writes completed quiescing to the first primary storage; copying writes from the second primary storage indicated in the first and the second change recording information to the secondary storage; and mirroring writes to the second primary storage to the secondary storage in response to the copying the writes indicated in the first and second change recording information to the secondary storage. - View Dependent Claims (10, 11, 12, 13)
-
-
14. A method for switching from a first primary storage, used by a system, to a second primary storage, comprising:
-
initiating migration operations comprising; migrating data in the first primary storage to the second primary storage while the data in the first primary storage indicated in first change recording information is mirrored to a secondary storage; and switching from using the first primary storage to the second primary storage for host read and write access; initiating quiescing of writes to the first primary storage after synchronizing between the first primary storage and the second primary storage; and initiating resynchronization operations while waiting for the quiescing of the writes, comprising; indicating, in second change recording information, changes to data in the second primary storage resulting from copying writes from the first primary storage that occur after initiating the resynchronization operations and while waiting for completion of the quiescing of writes to the first primary storage in a second change recording information; determining whether writes completed quiescing to the first primary storage; copying writes from the second primary storage indicated in the first and the second change recording information to the secondary storage; and mirroring writes to the second primary storage to the secondary storage in response to the copying the writes indicated in the first and second change recording information to the secondary storage. - View Dependent Claims (15, 16, 17, 18)
-
Specification