主权项 |
1. A method for a destination storage system to handle volume reservations from host computer systems, the destination storage system being located in a storage area network with a source storage system, the source and the destination storage systems being coupled to the host computer systems and each other, a volume on the source storage system being already accessible to the host computer systems via the source storage system, the method comprising:
discovering, by the destination storage system, the volume on the source storage system when the source storage system exports the volume to the destination storage system so the destination storage system is able to access the volume via the source storage system; exporting, by the destination storage system, the volume to the host computer systems, wherein the host computer systems discover the volume on the destination storage system the volume exported by the destination storage system; and in response to receiving, by the destination storage system, a request from a host computer system to reserve the volume exported by the destination storage system:
reserving locally the volume exported by the destination storage system for the host computer system to obtain a first reservation so only the host computer system has permission to access the volume exported by the destination storage system;reserving the volume on the source storage system for the destination storage system to obtain a second reservation so only the destination storage system has permission to access the volume on the source storage system; andhandling, by the destination storage system, input/output requests from the host computer system to the volume using the first and second reservations. |