Data duplication control method
AssigneeHitachi, Ltd.
InventorsYuri Hiraiwa, Taro Inoue, Sumio Goto
Life of this patent
Estimating the term…
Abstract
When there is a change in a group of volumes managed by a host computer, data duplication processing is immediately carried out against the changed volume. The host computer includes a volume-managing portion, a data duplication-controlling portion which executes the data duplication of data stored in a volume in a main data center, and a data duplication storing portion which stores data necessary for the data duplication. The data duplication-controlling portion compares data held by the volume-managing portion with the data in the data duplication storing portion, and updates the data in the data duplication storing portion based on the data held by the volume-managing portion.
Claims10
A data duplication method which duplicates data being stored in a storage subsystem connected to a computer, wherein said computer includes a processor unit and a storing unit, and said storage subsystem includes a plurality of storage media managed as a plurality of volumes, said method comprising:
- a first storing step that causes said storing unit to store an identification information list indicative of identification information for identifying each of the plurality of volumes to be supplied to an application program which is processed by the computer,
- a second storing step that causes said storing unit to store a first duplication definition information which stores identification information indicative of a copy origin volume and identification information indicative of a copy destination volume,
- an identification information reading step which reads out from the storing unit the identification information list,
- a first reading step which reads out from the storing unit, a first duplication definition information,
- a first comparing step which compares the identification information list read out in the identification information reading step, and the first duplication definition information read out in the first reading step,
- an addition step in which when there exists first identification information that is stored in the identification information list but not stored in the first duplication definition information in the first comparing step, a copy destination volume of a volume identified by the first identification information is selected according to a predetermined selection condition, the first identification information and the identification information of the copy destination volume thus selected are added to the first duplication definition information, and data in the volume identified by the first identification information of the copy origin volume is copied to the copy destination volume thus selected, and
- a deletion step in which when there exists second identification information that is not stored in the identification information list but is stored in the first duplication definition information in the first comparing step, the second identification information and identification information of a copy destination volume, which is a copy destination of a volume identified by the second identification information, are deleted from the first duplication definition information, and copying the data of the volume identified by the second identification information is stopped.
A computer readable memory storing a computer program executable by a processor unit in a computer, for causing said computer to duplicate data being stored in a storage subsystem connected to the computer, wherein said computer includes the processor unit and a storing unit, and said storage subsystem includes a plurality of storage media managed as a plurality of volumes, said program being executed by the processor unit causing said processor unit to carry out steps comprising:
- a first storing step that causes said storing unit to store therein an identification information list indicative of identification information for identifying each of the plurality of volumes to be supplied to an application program which is processed by the computer,
- a second storing step that causes said storing unit to store therein a first duplication definition information which stores identification information indicative of a copy origin volume and identification information indicative of a copy destination volume,
- an identification information reading step which reads out from the storing unit the identification information list,
- a definition information reading step which reads out from the storing unit, the first duplication definition information,
- a comparing step which compares the identification information list read out in the identification information reading step, and the first duplication definition information read out in the duplication definition reading step,
- an addition step in which when there exists first identification information that is stored in the identification information list but not stored in the first duplication definition information in the comparing step, a copy destination volume of a volume identified by the first identification information is selected according to a predetermined selection condition, the first identification information of the copy origin volume and the identification information of the copy destination volume thus selected are added to the first duplication definition information, and volume data identified by the first identification information of the copy origin is copied to the copy destination volume thus selected, and
- a deletion step in which when there exists second identification information that is not stored in the identification information list but is stored in the first duplication definition information in the comparing step, the second identification information and identification information of a volume, which is a copy destination of a volume identified by the second identification information, are deleted from the first duplication definition information, and copying the data of the volume identified by the second identification information is stopped.
A computer which duplicates data stored in a storage subsystem, comprising:
- a first storing means which stores an identification information list in which identification information of each of a plurality of storage media included in said storage subsystem is stored,
- a second storing means which stores duplication definition information including identification information with respect to each of said plurality of volumes of a copy origin, and identification information of a copy destination volume of each of said volumes, and a comparing means which compares the identification information list stored in said first storing means, and the duplication definition information stored in said second storing means, wherein,
- when there exists first identification information that is stored in said identification information list but not stored in said duplication definition information, said comparing means selects, according to a predetermined selection condition, a copy destination volume of a volume identified by the first identification information, adds to said duplication definition information, the first identification information and the identification information of said copy destination volume thus selected, and copies data in the volume identified by the first identification information to said copy destination volume thus selected, and
- when there exists second identification information that is not stored in said identification information list, but stored in said duplication definition information, said comparing means deletes, from said duplication definition information, the second identification information and identification information of a copy destination volume, which is a copy destination of a volume identified by the second identification information, and stops copying of data in the volume identified by the second identification information.
A method of managing duplicating of data stored in a storage subsystem connected to a computer, wherein the storage subsystem includes a first disk subsystem and a second disk subsystem connected to the first disk subsystem, and the computer includes a processing unit and a storing unit, the management method comprising:
- a first storing step which stores disk subsystem configuration information in the storing unit, the disk subsystem configuration information being used for managing a plurality of first volumes in the first disk subsystem supplied to an application operated on the computer as a virtual volume,
- a second storing step which stores copy definition information in the storing unit, the copy definition information indicating a correspondence between each of the first volumes and a corresponding second volume in the second disk subsystem, each second volume being a copy destination of data which is stored in at least one of the first volumes,
- a comparing step which compares the disk subsystem configuration information with the copy definition information,
- an addition step which adds information indicative of one the first volumes to the copy definition information, when information indicative of the one of the first volumes contained in the virtual volume is not contained in the copy definition information in the comparing step, and which adds information indicative of one of said second volumes to the copy definition information as a copy destination of the data which is to be stored in the one of first volumes to be added,
- a deletion step which deletes the copy definition information relating to one of the first volumes from the copy definition information, when information indicating that a volume which is different from the first volumes contained in the virtual volume is stored in the copy definition information in the comparing step.
Dependencies are inferred from the claim text.