×

Computer system and data migration method

  • US 9,213,490 B2
  • Filed: 06/18/2012
  • Issued: 12/15/2015
  • Est. Priority Date: 06/18/2012
  • Status: Active Grant
First Claim
Patent Images

1. A computer system, comprising:

  • a plurality of storage apparatuses which manage a plurality of storage devices; and

    a host computer which exchanges information with each of the storage apparatuses,wherein one storage apparatus among the plurality of storage apparatuses is managed as a migration source storage apparatus, another storage apparatus is managed as a migration destination storage apparatus, a logical volume which is constructed in a storage area of a storage device of the migration source storage apparatus is managed as a migration source volume, a logical volume which is constructed in a storage area of a storage device of the migration destination storage apparatus is managed as a migration destination volume, and the migration source volume and the migration destination volume are interconnected via a storage path,wherein the migration source storage apparatus comprises a migration source controller which manages the migration source volume as an access target of the host computer,wherein the migration destination storage apparatus comprises a migration destination controller which virtualizes the migration destination volume as the migration source volume and manages the virtualized migration destination volume as an access target of the host computer,wherein, in a case where a first access path linking the host computer to the migration source volume and a second access path linking the host computer to the migration destination volume are each online and where the migration destination volume is virtualized as the migration source volume, the host computer manages each of the first access path and the second access path as alternate paths for accessing the migration source volume,wherein, in a case where a first write command is received by the migration source controller from the host computer via the first access path during a period up until the first access path is offline after formation copy processing to migrate data of the migration source volume to the migration destination volume via the storage path has ended, the migration source controller writes first update data appended to the first write command to the migration source volume and executes an update copy to copy the first update data stored in the migration source volume to the migration destination volume, andwherein, in a case where a second write command is received by the migration destination controller from the host computer via the second access path during the period up until the first access path is offline after formation copy processing has ended, the migration destination controller determines whether the second write command indicates a processing mode to be one of;

    a host frame transfer mode;

    a duplex transfer mode; and

    a simplex transfer mode,upon determining the processing mode to be the host frame transfer mode, the migration destination controller transfers the second write command to the source destination controller without processing a frame of the second write command and the source destination controller stores second update data, appended to the second write command, in the migration source volume and sends an update completion notification to the migration destination controller that the second update data has been stored in the migration source volume,upon determining the processing mode to be the duplex transfer mode, the migration destination controller processes the frame of the second write command and transfers the second update data appended to the second write command to the migration source controller via the storage path, as a first update copy command, and responsive to receiving the first update copy command, the migration source controller stores the second update data stored in the migration source volume and transfers a copy command to the migration destination controller to copy, in the migration destination volume, the second update data stored in the migration source volume, the migration destination controller writes the second update data to the migration destination volume, and sends a copy completion notification to the migration source controller and upon receiving the copy completion notification, the migration source controller sends a command completion notification prompting the migration destination controller to notify the host that the second write command is completed, and upon determining the processing mode to be the simplex transfer mode, the migration destination controller processes the frame of the second write command and transfers the second write command to the migration source controller as a second update copy command, the migration destination controller executes update copy processing to copy the second update data to the migration source volume and holds the update data in the migration destination volume, and upon receiving the second update copy command, the migration source controller stores the second update data in the migration source volume and sends a command completion notification to the migration destination controller which stores the second update data held in the migration destination volume and issues completion notification to the host that the second write command is completed.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×