Device reservation state synchronization in data mirroring
AssigneeInternational Business Machines Corporation
InventorsScott B. Compton, Matthew R. Craig, Clint A. Hardy, Matthew J. Kalos, Carol S. Mellgren, John G. Thompson
Life of this patent
Estimating the term…
Abstract
One general aspect of device reservation state synchronization in accordance with the present description, device reservation management logic ensures synchronization of reservation states of primary and secondary volumes of a mirror relationship in the event of a change in the state of the mirroring relationship such as achieving full data synchronization between the volumes. Other features and aspects may be realized, depending upon the particular application.
Claims24
A computer program product for use with at least one host, a primary data storage system, the primary data storage system having a primary storage controller and a primary storage drive controlled by the primary storage controller, the primary storage drive having a primary device configured to store data, and at least one secondary data storage system, each secondary data storage system having a secondary storage controller and a secondary storage drive controlled by the secondary storage controller, the secondary storage drive having a plurality of secondary devices configured to store data, wherein the computer program product comprises a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor of a host to cause processor operations, the processor operations comprising:
- relationship state detection logic detecting a change in relationship state of a synchronous mirror relationship between a primary device controlled by a primary storage controller, and at least one secondary device controlled by at least one secondary storage controller;
- and
- reservation state synchronization logic, in response to detecting a change in relationship state, determining if a reservation state of the primary device is synchronized with respect to a reservation state of a secondary device of the synchronous mirror relationship as a function of a comparison of the reservation states of the primary device and the at least one secondary device, and synchronizing the reservation states of the primary device and the at least one secondary device if determined to be out of synchronization.
A method, comprising:
- relationship state detection logic detecting a change in relationship state of a synchronous mirror relationship between a primary device controlled by a primary storage controller, and at least one secondary device controlled by at least one secondary storage controller;
- and
- reservation state synchronization logic, in response to detecting a change in relationship state, determining if a reservation state of the primary device is synchronized with respect to a reservation state of a secondary device of the synchronous mirror relationship as a function of a comparison of the reservation states of the primary device and the at least one secondary device, and synchronizing the reservation states of the primary device and the at least one secondary device if determined to be out of synchronization.
A system for use with at least one host, comprising:
- a primary data storage system, the primary data storage system having a primary storage controller and a primary storage drive controlled by the primary storage controller, the primary storage drive having a plurality of primary devices configured to store data;
- and
- at least one secondary data storage system. each secondary data storage system having a secondary storage controller and a secondary storage drive controlled by the secondary storage controller, the secondary storage drive having a plurality of secondary devices configured to store data;
- wherein at least one of the primary and secondary storage controllers includes device reservation logic which includes:
- relationship state detection logic configured to detect a change in relationship state of a synchronous mirror relationship between a primary device controlled by a primary storage controller, and at least one secondary device controlled by the at least one secondary storage controller;
- and
- reservation state synchronization logic, configured to, in response to the relationship state detection logic detecting a change in relationship state, determine if a reservation state of the primary device is synchronized with respect to a reservation state of a secondary device of the synchronous mirror relationship as a function of a comparison of the reservation states of the primary device and the at least one secondary device, and synchronize the reservation states of the primary device and the at least one secondary device if determined to be out of synchronization.
Dependencies are inferred from the claim text.