Abstract:
Provided are a computer program product, system, and method for determining whether to extend a drain time to copy data blocks from a first storage to a second storage. A data structure is generated indicating data blocks in the first storage to copy to the second storage. A drain operation is initiated to copy the data blocks indicated in the first storage to the second storage for a drain time period. Write requests to the data blocks indicated in the data structure are queued during the drain time period, wherein the queued write requests are not completed while queued. Metric information based on the writes that occur to data blocks in the first storage are gathered during the drain time period; and in response to expiration of the drain time period, a determination is made from the gathered metric information of whether to continue the drain operation or terminate the drain operation.
Abstract:
A method to provide information from a first information storage and retrieval system to a second information storage and retrieval system, where the first information storage and retrieval system comprises (N) PPRC adapters and information. The method generates and saves an Established Path Bitmap which recites the (N) PPRC adapters, and generates an Available Path Bitmap. If a PPRC adapter is in communication with the secondary storage system, then the method adds that adapter to the Available Path Bitmap. The primary information storage and retrieval system generates a PPRC task comprising a flag set to “off”. The method copies the Available Path Bitmap as a Working Bitmap, and generates a PPRC request comprising a flag set to “on”, selects one of the adapters recited in the Working Bitmap, and provides the PPRC request to that selected adapter. The method then once attempts to provide information to the second information storage and retrieval system using the selected adapter.