Data migration method and a data migration apparatus
First Claim
1. A data migration method from a first storage device to a second storage device in a computer system including said first storage device and said second storage device which provide volumes to a host computer via a switch, comprising the steps of:
- providing to said second storage device, a request for creating a destination volume having a size identical to the size of a source volume that is provided by said first storage device, allowing said second storage device to create said destination volume;
carrying out data copy processing which stores data corresponding to data in said source volume into said destination volume;
providing to said second storage device, a write protect request for said destination volume, and setting said destination volume as write protect, where the data in said source volume is copied, if the source volume is set as write protect;
reading out the data in said source volume from said first storage device and the data in said destination volume from said second storage device, and comparing the two data items, if the destination volume is set as write protect; and
providing a connection switching request to said switch, when it is indicated the data in said source volume agrees with the data in said destination volume, and carrying out switching of a target of said host computer, from said first storage device to said second storage device.
3 Assignments
0 Petitions
Accused Products
Abstract
The management computer 600 copies data in the volume 111 within the storage device 100A to the volume 115 within the storage device 100B. Upon completion of copy processing, the volume 115 is set to write protect. Then, the data in the volume 111 is read from the storage device 100A, and the data in the volume 115 is also read from the storage device 100B, to compare the two data items. Only when the data items agree with each other, setting of FC switch 400 is changed, and a target of the host computer 500 is switched from the storage device 100A to the storage device 100B.
Therefore, it is possible to detect or prevent an illegal data modification in the course of data copying from the source volume to the destination volume.
-
Citations
13 Claims
-
1. A data migration method from a first storage device to a second storage device in a computer system including said first storage device and said second storage device which provide volumes to a host computer via a switch, comprising the steps of:
-
providing to said second storage device, a request for creating a destination volume having a size identical to the size of a source volume that is provided by said first storage device, allowing said second storage device to create said destination volume; carrying out data copy processing which stores data corresponding to data in said source volume into said destination volume; providing to said second storage device, a write protect request for said destination volume, and setting said destination volume as write protect, where the data in said source volume is copied, if the source volume is set as write protect; reading out the data in said source volume from said first storage device and the data in said destination volume from said second storage device, and comparing the two data items, if the destination volume is set as write protect; and providing a connection switching request to said switch, when it is indicated the data in said source volume agrees with the data in said destination volume, and carrying out switching of a target of said host computer, from said first storage device to said second storage device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A data migration apparatus which carries out data migration from a first storage device to a second storage device, comprising:
-
a volume creation unit which provides to said second storage device, a request for creating a destination volume having a size identical to the size of a source volume that is provided by said first storage device, allowing said second storage device to create said destination volume; a data copy unit which carries out data copy processing which stores data corresponding to data stored in said source volume, into said destination volume; a write protect unit which provides to said second storage device, a write protect request for said destination volume, and sets said destination volume to write protect, where the data in said source volume is copied, if the source volume is set as write protect; a comparison unit which reads out the data in said source volume from said first storage device and the data in said destination volume from said second storage device, and compares the two data items, if the destination volume is set as write protect; and a connection switching unit which provides a connection switching request to a switch, which connects said first and second storage devices with a host computer, and carries out switching of a target of said host computer, from said first storage device to said second storage device, when it is indicated the data in said source volume agrees with the data in said destination volume.
-
-
11. A storage device into which data in a source volume is copied, comprising:
-
a disk unit, a first interface which establishes connection with an old storage device which provides said source volume, a second interface which establishes connection with a host computer via a second route, a switch which connects said disk unit, said first interface and said second interface, a volume creation module which creates in said storage device, a destination volume having a size identical to the source volume provided by said old storage device, a data copy module which carries out a data copy processing to store data corresponding to data stored in said source volume into said destination volume, a write protect module which sets said destination volume to write protect, into which the data in said source volume has been copied, if the source volume is set as write protect, a comparison means which reads out the data in said source volume from said old storage device and also reads out the data in said destination volume, so as to compare the two data items, if the destination volume is set as write protect, and a connection switching module which controls said switch and switches a target of said host computer from said old storage device to said disk unit, when a result of said comparison means indicates the two data items agree with each other.
-
-
12. A computer readable recording medium which stores a program allowing a data migration apparatus to carry out data migration from a first storage device to a second storage device, wherein,
said program comprises the steps of: -
providing to said second storage device, a request for creating a destination volume having a size identical to the size of a source volume that is provided by said first storage device, allowing said second storage device to create said destination volume; carrying out data copy processing which stores data corresponding to data stored in said source volume, into said destination volume; providing to said second storage device, a write protect request for said destination volume, and setting said destination volume to write protect, where the data in said source volume is copied, if the source volume is set as write protect; reading out the data in said source volume from said first storage device and the data in said destination volume from said second storage device, and comparing the two data items, if the destination volume is set as write protect; and providing a connection switching request to a switch, which connects said first and second storage devices with a host computer, and carrying out switching of a target of said host computer, from said first storage device to said second storage device, when it is indicated the data in said source volume agrees with the data in said destination volume.
-
-
13. A computer system comprising a first and second storage devices, a management computer, a host computer, and a switch which connects via a network said storage devices, said management computer, and said host computer,
wherein; -
each of said first and second storage devices includes an FC interface which is connected to said switch via said network, and a disk unit including at least one volume, wherein; a first volume provided in said first storage device stores data to be used by said host computer, wherein; said management computer comprises a CPU and an FC interface of said management computer, which is connected to said switch via said network, wherein; the CPU in said management computer transmits creation instruction information as to a second volume to said second storage device via said switch, obtains via said switch, write property information indicating whether or not data writing from said first volume into the second volume is possible, determines whether or not said first volume is writable based on said write property information, when it is determined said first volume is not writable as a result of the determination, transmits to said second storage device via said FC interface, setting request information as to an access property of said second volume, transmits a setting request as to a password to said second volume thus created, after said password is set, carries out data copy processing from said first volume to said second volume, after a completion of said data copy processing, transmits to said second storage device a setting request to write protect said second volume, if the first volume is set as write protect, after setting said write protect, compares the data stored in said first volume and the data stored in said second volume, if the destination volume is set as write protect, and as a result of the comparison, if the two data agree with each other, transmits to said second storage device via said switch, a release request information which instructs a release of the access property and the password which are set in said second volume, and wherein; said switch comprises an FC interface which is connected via a network with the FC interfaces respectively held by said storage devices, said management device and said host computer, a CPU, and a connection switching module which issues information received by any of said FC interfaces to another FC interface, according to an instruction from said CPU.
-
Specification