Patent ID: 7401251

Claim:
A computer architecture for managing failover and recovery after failover in a data storage environment having a first and second data storage system, and production data being stored on the first data storage system, and a copy of the production data, denominated as the data copy, being stored on the second data storage system, wherein during a copy session, production data is being copied from the first data storage system to the second data storage system, the architecture comprising: (i) a failover manager program logic configured for computer-execution of the following steps: responsive to a failure in the data storage environment occurring during the copy session, stopping data transfer associated with the copy session that experiences the failure; determining a starting offset of the copy session to a point prior to the detection of the failure; and re-starting the stopped data transfer and allowing copying to continue in accordance with a recovery mode based on a data storage environment failure mode; and (ii) a recovery manager program logic configured for computer-execution of the following steps: responsive to an indication of a recovery from said failure, searching all copy sessions that were queued or active before the failure occurred; and dispatching for re-starting any copy sessions active prior to the failure found during the search from said determined starting offset, such that earlier beginning copy sessions active prior to the failure are restarted before any later beginning pre-failure copy sessions.