主权项 |
1. An apparatus for controlling a storage system having a data replication function, comprising:
a primary storage location; a secondary storage location; a replication engine; and a storage array component coupled to the primary storage location, the secondary storage location, and the replication engine, the storage array component configured to receive, from a host, a write command to write data to the primary storage location, write the data to the primary storage location, and to send a command descriptor block (CDB) describing the write command, without sending the data, to the replication engine in response to receiving the write command, the CDB indicating that the data is subject to data replication in the secondary storage location, wherein:
the replication engine is configured to receive the CDB and, in response thereto, generate metadata for protecting the data based on the CDB and transmit the generated metadata to the storage array component,the storage array component is configured to receive the generated metadata and copy the data and the generated metadata to the secondary storage location, wherein the storage array component is further configured to add the generated metadata to the data as the data and the generated metadata is being written to the secondary storage location, andthe replication engine is configured to utilize the generated metadata to manage protection of the data written to the primary storage location and copied to the secondary storage location. |