Loading...
Please wait, while we are loading the content...
Device Reservation State Preservation in Data Mirroring
| Content Provider | The Lens |
|---|---|
| Abstract | One general aspect of device reservation state preservation in accordance with the present description, provides for an intermediate reservation state, referred to herein as a “peer” reservation state, which may be maintained by a storage controller in the event of a total loss of communication connectivity to the reserving host so long as a peer or partner storage controller of a mirror relationship still has communication connectivity to the host. The peer reservation state as used herein, is a reservation state intermediate between a full reservation state for a device, and a fully released state in which a reservation of the device has been completely released. Other features and aspects may be realized, depending upon the particular application. |
| Related Links | https://www.lens.org/lens/patent/009-850-341-552-005/frontpage |
| Language | English |
| Publisher Date | 2019-07-18 |
| Access Restriction | Open |
| Content Type | Text |
| Resource Type | Patent |
| Jurisdiction | United States of America |
| Date Applied | 2019-03-26 |
| Applicant | Ibm |
| Application No. | 201916365621 |
| Claim | 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 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 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: receiving by device reservation logic of a secondary storage controller of the secondary data storage system, a propagated reservation request to reserve on behalf of a first host, a secondary device controlled by the secondary storage controller for exclusive use by the first host for input/output (I/O) data requests wherein if the propagated reservation request is granted, other hosts are excluded from use of the secondary device for I/O data requests; and in response to the propagated reservation request, selectively granting by reservation state selection logic of the secondary storage controller, the propagated reservation request as one of a peer reservation of the secondary device on behalf of the first host, in a peer reservation state, and a full reservation of the secondary device on behalf of the first host, in a full reservation state. The computer program product of claim 1 wherein the operations further comprise: receiving by device reservation logic of a primary storage controller of a primary data storage system, a host-initiated reservation request to reserve on behalf of the first host a primary device controlled by the primary storage controller for exclusive use by the first host for I/O data requests wherein if the host-initiated reservation request is granted, other hosts are excluded from use of the primary device for I/O data requests; and in response to the host-initiated reservation request, selectively propagating by device reservation logic of the primary storage controller, the reservation request to be received by the secondary storage controller of the secondary data storage system to reserve the secondary device for exclusive use by the first host for I/O data requests wherein if the propagated reservation request is granted other hosts are excluded from use of the secondary device for I/O data requests. The computer program product of claim 2 wherein the reservation state selection logic of the secondary storage controller, granted the propagated reservation request as a full reservation of the secondary device on behalf of the first host, in a full reservation state, and wherein the operations further comprise: determining by host connection monitoring logic of the secondary storage controller whether communication connectivity for all communication paths between the secondary storage controller and the first host has been lost; and in response to a determination whether communication connectivity for all communication paths of between the secondary storage controller and the first host has been lost, selectively converting a full reservation of the secondary device on behalf of the first host, to a peer reservation of the secondary device on behalf of the first host, in a peer state. The computer program product of claim 2 wherein reservation state selection logic of the primary storage controller, granted the host-initiated reservation request as a full reservation of the primary device on behalf of the first host, in a full reservation state, and wherein the operations further comprise: determining by host connection monitoring logic of the primary storage controller whether communication connectivity for all communication paths between the primary storage controller and the first host has been lost; in response to a determination whether communication connectivity for all communication paths between the primary storage controller and the first host has lost, selectively performing one of releasing the reservation of the primary device held on behalf of the first host, and converting the full reservation of the primary device on behalf of the first host, to a peer reservation of the primary device on behalf of the first host, in a peer reservation state. The computer program product of claim 2 wherein reservation state selection logic of a storage controller, granted a reservation request as a peer reservation of the device on behalf of the first host, in a peer reservation state, and wherein the operations further comprise: determining by host connection monitoring logic of the storage controller whether communication connectivity for at least one communication path between the storage controller and the first host has been restored; in response to a determination whether communication connectivity for all communication paths of between the storage controller and the first host remains lost, selectively performing one of maintaining the reservation for a reserved device in a peer reservation state,. and converting a peer reservation of the reserved device on behalf of the first host, to a full reservation for a reserved device on behalf of the first host, in a full reservation state. The computer program product of claim 2 wherein the operations further comprise: detecting by relationship state detection logic of a storage controller whether a synchronous mirroring relationship between the primary and secondary devices has become suspended; and in response to a detection whether the synchronous mirroring relationship between the primary and secondary devices has become suspended, reservation state selection logic of the storage controller selectively performing one of releasing a reservation of a reserved device on behalf of the first host if the reservation state of the reserved device is a peer reservation state, and maintaining a reservation of the reserved device if the reservation state of the reserved device is a full reservation state. A method, comprising: receiving by device reservation logic of a secondary storage controller of a secondary data storage system, a propagated reservation request to reserve on behalf of a first host, a secondary device controlled by the secondary storage controller for exclusive use by the first host for input/output (I/O) data requests wherein if the propagated reservation request is granted, other hosts are excluded from use of the secondary device for I/O data requests; and in response to the propagated reservation request, selectively granting by reservation state selection logic of the secondary storage controller, the propagated reservation request as one of a peer reservation of the secondary device on behalf of the first host, in a peer reservation state, and a full reservation of the secondary device on behalf of the first host, in a full reservation state. The method of claim 7 further comprising: receiving by device reservation logic of a primary storage controller of a primary data storage system, a host-initiated reservation request to reserve on behalf of the first host a primary device controlled by the primary storage controller for exclusive use by the first host for I/O data requests wherein if the host-initiated reservation request is granted, other hosts are excluded from use of the primary device for I/O data requests; and in response to the host-initiated reservation request, selectively propagating by device reservation logic of the primary storage controller, the reservation request to be received by the secondary storage controller of the secondary data storage system to reserve the secondary device for exclusive use by the first host for I/O data requests wherein if the propagated reservation request is granted other hosts are excluded from use of the secondary device for I/O data requests. The method of claim 8 wherein the reservation state selection logic of the secondary storage controller, granted the propagated reservation request as a full reservation of the secondary device on behalf of the first host, in a full reservation state, the method further comprising: determining by host connection monitoring logic of the secondary storage controller whether communication connectivity for all communication paths between the secondary storage controller and the first host has been lost; and in response to a determination whether communication connectivity for all communication paths of between the secondary storage controller and the first host has been lost, selectively converting a full reservation of the secondary device on behalf of the first host, to a peer reservation of the secondary device on behalf of the first host, in a peer state. The method of claim 8 wherein reservation state selection logic of the primary storage controller, granted the host-initiated reservation request as a full reservation of the primary device on behalf of the first host, in a full reservation state, the method further comprising: determining by host connection monitoring logic of the primary storage controller whether communication connectivity for all communication paths between the primary storage controller and the first host has been lost; in response to a determination whether communication connectivity for all communication paths between the primary storage controller and the first host has lost, selectively performing one of releasing the reservation of the primary device held on behalf of the first host, and converting the full reservation of the primary device on behalf of the first host, to a peer reservation of the primary device on behalf of the first host, in a peer reservation state. The method of claim 8 wherein reservation state selection logic of a storage controller, granted a reservation request as a peer reservation of the device on behalf of the first host, in a peer reservation state, the method further comprising: determining by host connection monitoring logic of the storage controller whether communication connectivity for at least one communication path between the storage controller and the first host has been restored; in response to a determination whether communication connectivity for all communication paths of between the storage controller and the first host remains lost, selectively performing one of maintaining the reservation for a reserved device in a peer reservation state, and converting a peer reservation of the reserved device on behalf of the first host, to a full reservation for a reserved device on behalf of the first host, in a full reservation state. The method of claim 8 further comprising: detecting by relationship state detection logic of a storage controller whether a synchronous mirroring relationship between the primary and secondary devices has become suspended; and in response to a detection whether the synchronous mirroring relationship between the primary and secondary devices has become suspended, reservation state selection logic of the storage controller selectively performing one of releasing a reservation of a reserved device on behalf of the first host if the reservation state of the reserved device is a peer reservation state, and maintaining a reservation of the reserved device if the reservation state of the reserved device is a full reservation state. 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 the secondary storage controller includes: device reservation logic configured to receive a propagated reservation request to reserve on behalf of a first host, a secondary device controlled by the secondary storage controller for exclusive use by the first host for input/output (I/O) data requests wherein if the propagated reservation request is granted, other hosts are excluded from use of the secondary device for I/O data requests; and reservation state selection logic configured to selectively, in response to a determination whether the secondary storage controller lacks communication connectivity with the first host, grant the propagated reservation request as one of a peer reservation of the secondary device on behalf of the first host, in a peer reservation state, and a full reservation of the secondary device on behalf of the first host, in a full reservation state. The system of claim 13 wherein the primary storage controller includes: device reservation logic configured to receive a host-initiated reservation request to reserve on behalf of the first host a primary device controlled by the primary storage controller for exclusive use by the first host for I/O data requests wherein if the host-initiated reservation request is granted, other hosts are excluded from use of the primary device for I/O data requests, and to selectively propagate the reservation request to be received by the secondary storage controller of the secondary data storage system to reserve the secondary device for exclusive use by the first host for I/O data requests wherein if the propagated reservation request is granted other hosts are excluded from use of the secondary device for I/O data requests. The system of claim 14 wherein: the reservation state selection logic of the secondary storage controller, granted the propagated reservation request as a full reservation of the secondary device on behalf of the first host, in a full reservation state; the system further comprises host connection monitoring logic of the secondary storage controller configured to determine whether communication connectivity for all communication paths between the secondary storage controller and the first host has been lost; and the reservation state selection logic of the secondary controller is further configured to selectively, in response to a determination whether communication connectivity for all communication paths of between the secondary storage controller and the first host has been lost, convert a full reservation of the secondary device on behalf of the first host, to a peer reservation of the secondary device on behalf of the first host, in a peer state. The system of claim 14 wherein: reservation state selection logic of the primary storage controller, granted the host-initiated reservation request as a full reservation of the primary device on behalf of the first host, in a full reservation state; the system further comprises host connection monitoring logic of the primary storage controller configured to determine whether communication connectivity for all communication paths between the primary storage controller and the first host has been lost; and reservation state selection logic of the primary storage controller is further configured to selectively perform one of, in response to a determination whether communication connectivity for all communication paths between the primary storage controller and the first host has lost releasing the reservation of the primary device held on behalf of the first host, and converting the full reservation of the primary device on behalf of the first host, to a peer reservation of the primary device on behalf of the first host, in a peer reservation state. The system of claim 14 wherein: reservation state selection logic of a storage controller, granted a reservation request as a peer reservation of the device on behalf of the first host, in a peer reservation state; the system further comprises host connection monitoring logic of a storage controller configured to determine whether communication connectivity for at least one communication path between the storage controller and the first host has been restored; and the reservation state selection logic of the storage controller is further configured to selectively perform one of, in response to a determination whether communication connectivity for all communication paths of between the storage controller and the first host remains lost, maintaining the reservation for a reserved device in a peer reservation state, and converting a peer reservation of the reserved device on behalf of the first host, to a full reservation for a reserved device on behalf of the first host, in a full reservation state. The system of claim 14 wherein: they relationship state detection logic of a storage controller is further configured to determine whether a synchronous mirroring relationship between the primary and secondary devices has become suspended; and the reservation state selection logic of the storage controller is further configured to selectively, in response to a detection whether the synchronous mirroring relationship between the primary and secondary devices has become suspended, release a reservation of a reserved device on behalf of the first host if the reservation state of the reserved device is a peer reservation state, and maintain a reservation of the reserved device if the reservation state of the reserved device is a full reservation state. |
| CPC Classification | ELECTRIC DIGITAL DATA PROCESSING |
| Extended Family | 009-850-341-552-005 079-689-454-965-86X 017-173-210-695-318 038-391-561-323-820 |
| Patent ID | 20190220370 |
| Inventor/Author | Compton Scott B Craig Matthew R Hardy Clint A Kalos Matthew J Mellgren Carol S Thompson John G |
| IPC | G06F11/14 G06F3/06 G06F11/00 G06F11/20 |
| Status | Inactive |
| Owner | International Business Machines Corporation |
| Simple Family | 009-850-341-552-005 079-689-454-965-86X 017-173-210-695-318 038-391-561-323-820 |
| CPC (with Group) | G06F11/2076 G06F3/0617 G06F3/0622 G06F3/0637 G06F3/065 G06F3/067 G06F11/2069 G06F11/2071 G06F11/2097 G06F11/1464 G06F3/0665 G06F11/004 G06F11/1458 |
| Issuing Authority | United States Patent and Trademark Office (USPTO) |
| Kind | Patent Application Publication |