JP2019159621A - Storage device and program - Google Patents

Storage device and program Download PDF

Info

Publication number
JP2019159621A
JP2019159621A JP2018043709A JP2018043709A JP2019159621A JP 2019159621 A JP2019159621 A JP 2019159621A JP 2018043709 A JP2018043709 A JP 2018043709A JP 2018043709 A JP2018043709 A JP 2018043709A JP 2019159621 A JP2019159621 A JP 2019159621A
Authority
JP
Japan
Prior art keywords
data
migration
completion time
storage device
storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2018043709A
Other languages
Japanese (ja)
Other versions
JP6955167B2 (en
Inventor
秋山 茂
Shigeru Akiyama
茂 秋山
裕之 大島
Hiroyuki Oshima
裕之 大島
惇 猪頭
Jun Ito
惇 猪頭
崇 奥野
Takashi Okuno
崇 奥野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2018043709A priority Critical patent/JP6955167B2/en
Publication of JP2019159621A publication Critical patent/JP2019159621A/en
Application granted granted Critical
Publication of JP6955167B2 publication Critical patent/JP6955167B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To enhance prediction accuracy of data migration completion time.SOLUTION: A storage device 1a stores a data group migrated from a data migration source storage device 2. A control unit 1b classifies the data group into uncertain data whose data size is uncertain and definite data whose data size is definite based on storage management information acquired from the storage device 2. The control unit 1b transfers the uncertain data from the storage device 2 to a storage device 1a and measures migration time. In addition, the control unit 1b calculates finalized data migration completion time required for definite data migration. The control unit 1b calculates migration completion time required to cause the data group to migrate from the storage device 2 to the storage device 1a based on the migration time and the definite data transfer completion time and causes the definite data to migrate from the storage device 2 to the storage device 1a.SELECTED DRAWING: Figure 1

Description

本発明は、ストレージ装置およびプログラムに関する。   The present invention relates to a storage apparatus and a program.

ストレージシステムは、HDD(Hard Disk Drive)やSSD(Solid State Drive)等を備えるストレージ装置と、ストレージ装置に対してI/O制御を行うホスト(サーバ)とを有して、情報処理で扱う大量のデータを記録管理する。   A storage system includes a storage device including an HDD (Hard Disk Drive), an SSD (Solid State Drive), and the like, and a host (server) that performs I / O control on the storage device, and handles a large amount in information processing. Record and manage the data.

また、ストレージシステムでは、旧ストレージ装置から新ストレージ装置へのデータ移行(データコピー)作業であるストレージマイグレーションが行われる。
近年では、ホストを介さずに、新旧のストレージ装置を直接接続し、移行元の旧ストレージ装置内のボリュームデータを、移行先の新ストレージ装置内のボリュームに移行させるホスト非介在型のストレージマイグレーションが行われている。
In the storage system, storage migration, which is data migration (data copy) work from the old storage device to the new storage device, is performed.
In recent years, there has been a non-host-type storage migration in which new and old storage devices are directly connected without going through a host, and volume data in the old storage device at the migration source is migrated to a volume in the new storage device at the migration destination. Has been done.

特開2008−203937号公報JP 2008-203937 A 特表2011−526007号公報Special table 2011-526007

ストレージマイグレーションでは、データが移行中に更新されると、移行元と移行先のデータの整合性が保証できなくなるので、データ移行中は、システムの稼動を停止させてデータが更新されないようにする。   In the storage migration, if the data is updated during the migration, the consistency between the migration source data and the migration destination data cannot be guaranteed. Therefore, during the data migration, the system operation is stopped so that the data is not updated.

一方、ストレージマイグレーションが実行される際は、データ移行が完了する完了予測時刻が算出され、算出された完了予測時刻にもとづいて、システムの運用スケジュール等が作成される。   On the other hand, when storage migration is executed, a predicted completion time for completion of data migration is calculated, and a system operation schedule and the like are created based on the calculated predicted completion time.

しかし、データ移行が実際に完了する時刻と、完了予測時刻との誤差が大きいと、当初予定していたシステムの稼動停止期間にずれが生じ、運用スケジュール等の変更が必要となり業務に支障が生じてしまう。   However, if there is a large error between the time at which data migration is actually completed and the expected completion time, the system shutdown period that was originally planned will be shifted, and changes to the operation schedule will be required, resulting in problems in business operations. End up.

1つの側面では、本発明は、ストレージマイグレーションにおけるデータ移行完了時刻の予測精度を高めたストレージ装置およびプログラムを提供することを目的とする。   In one aspect, an object of the present invention is to provide a storage apparatus and a program in which the accuracy of predicting a data migration completion time in storage migration is improved.

上記課題を解決するために、ストレージ装置が提供される。ストレージ装置は、記憶装置と制御部を備える。記憶装置は、データ移行元装置から移行されるデータ群の移行先となる。制御部は、データ群の記憶管理に用いられる記憶管理情報をデータ移行元装置から取得し、記憶管理情報にもとづいて、データサイズが不確定の不確定データと、データサイズが確定する確定データとにデータ群を分類し、不確定データをデータ移行元装置から記憶装置へ移行し、不確定データの移行に要した移行時間とデータ移行元装置から記憶装置へ確定データの移行に要する確定データ移行完了時刻とにもとづいて、データ移行元装置から記憶装置へ確定データおよび不確定データを含むデータ群の移行に要する移行完了時刻を算出し、移行完了時刻の算出後に、確定データをデータ移行元装置から記憶装置へ移行する。   In order to solve the above problems, a storage apparatus is provided. The storage device includes a storage device and a control unit. The storage device is a migration destination of a data group migrated from the data migration source device. The control unit acquires storage management information used for storage management of the data group from the data migration source device, and based on the storage management information, uncertain data whose data size is uncertain, and confirmed data whose data size is determined The data group is categorized, the indeterminate data is transferred from the data migration source device to the storage device, the transfer time required for the transfer of the indeterminate data and the fixed data transfer required for the transfer of the determined data from the data transfer source device to the storage device Based on the completion time, the migration completion time required for the migration of the data group including the confirmed data and the uncertain data is calculated from the data migration source device to the storage device, and after the migration completion time is calculated, the confirmed data is transferred to the data migration source device. To storage device.

また、上記課題を解決するために、コンピュータに上記ストレージ装置と同様の制御を実行させるプログラムが提供される。   In order to solve the above problem, a program for causing a computer to execute the same control as that of the storage apparatus is provided.

1側面によれば、ストレージマイグレーションにおけるデータ移行完了時刻の予測精度を高めることが可能になる。   According to one aspect, it is possible to improve the prediction accuracy of the data migration completion time in storage migration.

ストレージ装置の構成の一例を示す図である。It is a figure which shows an example of a structure of a storage apparatus. ストレージシステムの構成の一例を示す図である。It is a figure which shows an example of a structure of a storage system. ストレージマイグレーションが行われる際の接続構成の一例を示す図である。It is a figure which shows an example of the connection structure at the time of storage migration. 制御部のハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of a control part. 制御部の機能ブロックの一例を示す図である。It is a figure which shows an example of the functional block of a control part. VTOC情報の構成の一例を示す図である。It is a figure which shows an example of a structure of VTOC information. データセットの種類毎の構成の一例を示す図である。It is a figure which shows an example of a structure for every kind of data set. データパターン設定の一例を示す図である。It is a figure which shows an example of a data pattern setting. 制御部の全体動作を示すフローチャートである。It is a flowchart which shows the whole operation | movement of a control part. 管理情報テーブルの一例を示す図である。It is a figure which shows an example of a management information table. 管理情報テーブルの一例を示す図である。It is a figure which shows an example of a management information table. 管理情報テーブルの一例を示す図である。It is a figure which shows an example of a management information table. 管理情報テーブルの生成動作を示すフローチャートである。It is a flowchart which shows the production | generation operation | movement of a management information table. 管理情報テーブルの一例を示す図である。It is a figure which shows an example of a management information table. 完了時刻と精度の算出動作を示すフローチャートである。It is a flowchart which shows the calculation operation | movement of completion time and precision. 画面表示の一例を示す図である。It is a figure which shows an example of a screen display.

以下、本実施の形態について図面を参照して説明する。
[第1の実施の形態]
第1の実施の形態について図1を用いて説明する。図1はストレージ装置の構成の一例を示す図である。ストレージ装置1は、記憶装置1aと、制御部1bを含み、データ移行元装置(記憶装置2)から記憶装置1aへのストレージマイグレーションを行う。
Hereinafter, the present embodiment will be described with reference to the drawings.
[First Embodiment]
A first embodiment will be described with reference to FIG. FIG. 1 is a diagram illustrating an example of the configuration of a storage apparatus. The storage device 1 includes a storage device 1a and a control unit 1b, and performs storage migration from the data migration source device (storage device 2) to the storage device 1a.

記憶装置1aは、データ移行元の記憶装置2から移行されるデータ群を記憶する。制御部1bは、データ群の記憶管理に用いられる記憶管理情報を記憶装置2から取得し、記憶管理情報にもとづいて、データサイズが不確定の不確定データと、データサイズが確定する確定データとにデータ群を分類する。   The storage device 1a stores a data group migrated from the data migration source storage device 2. The control unit 1b acquires storage management information used for storage management of the data group from the storage device 2, and based on the storage management information, uncertain data whose data size is uncertain, and confirmed data whose data size is determined Classify the data group.

不確定データは、記憶管理情報にもとづいてデータサイズが確定できない(算出不可の)データであり、確定データは、記憶管理情報にもとづいてデータサイズが確定しうる(算出可の)データである。   Indeterminate data is data whose data size cannot be determined (cannot be calculated) based on storage management information, and fixed data is data whose data size can be determined (can be calculated) based on storage management information.

また、制御部1bは、記憶装置2から記憶装置1aへ不確定データの移行に要する不確定データ移行完了時刻と、記憶装置2から記憶装置1aへ確定データの移行に要する確定データ移行完了時刻とを算出する。   The control unit 1b also includes an uncertain data transfer completion time required for transferring uncertain data from the storage device 2 to the storage device 1a, and a confirmed data transfer completion time required for transferring confirmed data from the storage device 2 to the storage device 1a. Is calculated.

さらに、制御部1bは、記憶装置2から記憶装置1aへデータ移行を行う際には、不確定データの移行を先に行い、不確定データの移行に要した移行時間を測定する。
また、制御部1bは、不確定データの移行時間と確定データ移行完了時刻とにもとづいて、記憶装置2から記憶装置1aへデータ群(不確定データ+確定データ)の移行に要する移行完了時刻を算出する。
Furthermore, when data transfer from the storage device 2 to the storage device 1a is performed, the control unit 1b performs transfer of uncertain data first and measures a transfer time required for transfer of uncertain data.
Further, the control unit 1b determines the migration completion time required for the migration of the data group (indeterminate data + determined data) from the storage device 2 to the storage device 1a based on the migration time of the indeterminate data and the confirmed data migration completion time. calculate.

そして、制御部1bは、移行完了時刻の算出後に、確定データを記憶装置2から記憶装置1aへ移行する。
なお、制御部1bは、不確定データを移行する場合、不確定データ移行完了時刻と確定データ移行完了時刻とにもとづいて、記憶装置2から記憶装置1aへデータ群の移行に要する初期移行完了時刻を算出し、初期移行完了時刻の算出後に不確定データの移行を行う。
Then, after calculating the migration completion time, the control unit 1b migrates the confirmed data from the storage device 2 to the storage device 1a.
In addition, when migrating uncertain data, the control unit 1b, based on the uncertain data migration completion time and the definite data migration completion time, initial migration completion time required for migrating the data group from the storage device 2 to the storage device 1a. And the indeterminate data is transferred after the initial transfer completion time is calculated.

図1に示す例を用いて動作について説明する。
〔ステップS1〕制御部1bは、記憶装置2から、ストレージマイグレーション対象のデータ群に関する記憶管理情報を取得する。
The operation will be described using the example shown in FIG.
[Step S <b> 1] The control unit 1 b acquires storage management information related to a storage migration target data group from the storage device 2.

〔ステップS2〕制御部1bは、記憶管理情報にもとづいて、データサイズが不確定の不確定データと、データサイズが確定する確定データとにデータ群を分類する。
〔ステップS3〕制御部1bは、記憶装置2から記憶装置1aへ不確定データを移行した際に予測される不確定データ移行完了時刻を算出する。不確定データは、データサイズが確定できないデータなので、予め定めた設定値(例えば、データサイズの最大値)にもとづいて不確定データ移行完了時刻が算出される。
[Step S2] Based on the storage management information, the control unit 1b classifies the data group into uncertain data whose data size is uncertain and confirmed data whose data size is confirmed.
[Step S3] The control unit 1b calculates an uncertain data transfer completion time predicted when uncertain data is transferred from the storage device 2 to the storage device 1a. Since the uncertain data is data whose data size cannot be determined, the uncertain data migration completion time is calculated based on a predetermined setting value (for example, the maximum value of the data size).

さらに、制御部1bは、記憶装置2から記憶装置1aへ確定データを移行した際に予測される確定データ移行完了時刻を算出する。確定データは、データサイズが確定できるデータなので、正確なデータサイズにもとづいて確定データ移行完了時刻が算出される。   Further, the control unit 1b calculates a confirmed data transfer completion time predicted when the confirmed data is transferred from the storage device 2 to the storage device 1a. Since the confirmed data is data whose data size can be confirmed, the confirmed data migration completion time is calculated based on the accurate data size.

〔ステップS4〕制御部1bは、記憶装置2から記憶装置1aへデータ群を移行した際に予測される初期移行完了時刻を算出する第1の処理を行う。なお、第1の処理では、初期移行完了時刻の精度も算出され、初期移行完了時刻および精度は通知される(画面表示等)。   [Step S4] The controller 1b performs a first process of calculating an initial transfer completion time predicted when the data group is transferred from the storage device 2 to the storage device 1a. In the first process, the accuracy of the initial transition completion time is also calculated, and the initial transition completion time and accuracy are notified (screen display or the like).

〔ステップS5〕制御部1bは、第1の処理後に、データ群のうちの不確定データを記憶装置2から記憶装置1aへ先に移行する。
〔ステップS6〕制御部1bは、記憶装置2から記憶装置1aへ移行された不確定データの移行時間を測定する。
[Step S5] After the first process, the control unit 1b first transfers indeterminate data in the data group from the storage device 2 to the storage device 1a.
[Step S6] The controller 1b measures the transition time of the indeterminate data transferred from the storage device 2 to the storage device 1a.

〔ステップS7〕制御部1bは、不確定データの移行時間と、確定データ移行完了時刻とにもとづいて、記憶装置2から記憶装置1aへデータ群を移行した際に予測される移行完了時刻を算出する第2の処理を行う。なお、第2の処理では、移行完了時刻の精度も算出され、移行完了時刻および精度は通知される(画面表示等)。   [Step S7] The control unit 1b calculates a migration completion time predicted when the data group is migrated from the storage device 2 to the storage device 1a based on the migration time of the indeterminate data and the decision data migration completion time. A second process is performed. In the second process, the accuracy of the transition completion time is also calculated, and the transition completion time and accuracy are notified (screen display or the like).

〔ステップS8〕制御部1bは、第2の処理後に、確定データを記憶装置2から記憶装置1aへ移行する。
このように、ストレージ装置1では、データサイズが不確定なデータを先に記憶装置2から記憶装置1aに移行して不確定データの移行時間の実測値を求め、またデータサイズが確定する確定データから確定データ移行完了時刻を算出する。
[Step S8] After the second process, the control unit 1b transfers the confirmed data from the storage device 2 to the storage device 1a.
As described above, in the storage apparatus 1, data having an indefinite data size is first transferred from the storage apparatus 2 to the storage apparatus 1a to obtain an actual measurement value of the transfer time of the indeterminate data, and confirmed data in which the data size is determined. To calculate the finalized data transfer completion time.

そして、ストレージ装置1は、移行時間と確定データ移行完了時刻とにもとづいて、ストレージマイグレーション対象のすべてのデータ群の移行完了時刻を算出する。これにより、ストレージ装置1は、記憶装置2から記憶装置1aへのデータ移行時の移行完了時刻の予測精度を高めることができる。   Then, the storage device 1 calculates the migration completion time of all the data groups to be migrated based on the migration time and the confirmed data migration completion time. Thereby, the storage apparatus 1 can improve the prediction accuracy of the migration completion time at the time of data migration from the storage device 2 to the storage device 1a.

ここで、第1の処理(ステップS4)で算出された初期移行完了時刻は、不確定データ移行完了時刻と確定データ移行完了時刻とにもとづいて算出されたものである。確定データ移行完了時刻は、正確なデータサイズから算出された予測時刻であるが、不確定データ移行時刻は、データサイズの正確な値が検出不可であるから、データサイズの最大値から算出された予測時刻である。   Here, the initial migration completion time calculated in the first process (step S4) is calculated based on the indeterminate data migration completion time and the confirmed data migration completion time. The confirmed data migration completion time is the predicted time calculated from the accurate data size, but the indeterminate data migration time is calculated from the maximum value of the data size because an accurate value of the data size cannot be detected. The predicted time.

また、第2の処理(ステップS7)で算出された移行完了時刻は、不確定データの移行後に、不確定データの移行時間の実測値と確定データ移行完了時刻とにもとづいて算出されたものである。   The migration completion time calculated in the second process (step S7) is calculated based on the measured value of the migration time of the uncertain data and the confirmed data migration completion time after the migration of the uncertain data. is there.

したがって、第1の処理で算出された初期移行完了時刻よりも、第2の処理で算出された移行完了時刻の方が予測精度は高くなる。このように、ストレージ装置1では、記憶装置2から記憶装置1aへデータ移行が進むにつれて、データ移行が完了する時刻の予測精度を高めることが可能になる。   Therefore, the prediction accuracy is higher in the transition completion time calculated in the second process than in the initial transition completion time calculated in the first process. As described above, in the storage device 1, as the data migration proceeds from the storage device 2 to the storage device 1a, it is possible to improve the prediction accuracy of the time when the data migration is completed.

[第2の実施の形態]
次に第2の実施の形態について説明する。なお、以降の説明では、データ移行をデータコピーとも呼ぶ。まず、システム構成について説明する。図2はストレージシステムの構成の一例を示す図である。ストレージシステム1−1は、ホスト3とストレージ装置10を備える。
[Second Embodiment]
Next, a second embodiment will be described. In the following description, data migration is also called data copy. First, the system configuration will be described. FIG. 2 is a diagram showing an example of the configuration of the storage system. The storage system 1-1 includes a host 3 and a storage device 10.

ストレージ装置10は、制御部11およびストレージ部12を含む。ストレージ装置10は、図1のストレージ装置1に対応する。また、制御部11は、図1の制御部1bの機能を実現し、ストレージ部12は、図1の記憶装置1aの機能を実現する。   The storage device 10 includes a control unit 11 and a storage unit 12. The storage device 10 corresponds to the storage device 1 of FIG. Further, the control unit 11 realizes the function of the control unit 1b in FIG. 1, and the storage unit 12 realizes the function of the storage device 1a in FIG.

ストレージ部12には、記憶装置12−1、12−2、・・・、12−nが含まれる。ホスト3とストレージ装置10は、チャネルポートchを介して接続される。図2ではチャネルポートchは1つ示されているが、ストレージ装置10はチャネルポートchを複数有する。   The storage unit 12 includes storage devices 12-1, 12-2, ..., 12-n. The host 3 and the storage apparatus 10 are connected via a channel port ch. Although one channel port ch is shown in FIG. 2, the storage apparatus 10 has a plurality of channel ports ch.

なお、制御部11は、CM(Controller Module)の機能を有してもよい。CMは、プロセッサやキャッシュメモリ等を含み、ストレージ内の動作を制御するモジュールである。   The control unit 11 may have a CM (Controller Module) function. The CM is a module that includes a processor, a cache memory, and the like and controls operations in the storage.

また、チャネルポートchは、CA(Channel Adapter)の機能を有してもよい。CAは、ストレージ側に搭載されて、ホスト3に搭載されるHBA(Host Bus Adapter)とのインタフェースを行うアダプタである。   The channel port ch may have a CA (Channel Adapter) function. The CA is an adapter that is mounted on the storage side and performs an interface with an HBA (Host Bus Adapter) mounted on the host 3.

さらに、チャネルポートchは、RA(Remote Adapter)の機能を有してもよい、RAは、ストレージのリモート・アドバンスト・コピー用のインタフェースとなるアダプタである。   Further, the channel port ch may have an RA (Remote Adapter) function. The RA is an adapter that serves as an interface for remote advanced copy of storage.

図3はストレージマイグレーションが行われる際の接続構成の一例を示す図である。ストレージ装置10aはデータコピー元のストレージ装置、ストレージ装置10はデータコピー先のストレージ装置である。   FIG. 3 is a diagram illustrating an example of a connection configuration when storage migration is performed. The storage device 10a is a data copy source storage device, and the storage device 10 is a data copy destination storage device.

〔状態St1〕ホスト3とストレージ装置10aがケーブルc1で接続されている。
〔状態St2〕ストレージ装置10aのチャネルポートchと、ストレージ装置10のチャネルポートchとがケーブルc2で接続される。
[State St1] The host 3 and the storage device 10a are connected by a cable c1.
[State St2] The channel port ch of the storage apparatus 10a and the channel port ch of the storage apparatus 10 are connected by a cable c2.

〔状態St3〕ケーブルc2の接続後、ストレージ装置10a内のストレージ部から、ストレージ装置10内のストレージ部12へ所定データのコピーが行われる(ストレージマイグレーションの実施)。   [State St3] After the cable c2 is connected, predetermined data is copied from the storage unit in the storage apparatus 10a to the storage unit 12 in the storage apparatus 10 (execution of storage migration).

なお、ストレージマイグレーション機能は、データコピー先となるストレージ装置10に実装される機能であり、データコピー元のストレージ装置10aは、ストレージマイグレーション機能は不要である。   The storage migration function is a function implemented in the storage apparatus 10 that is the data copy destination, and the storage apparatus 10a that is the data copy source does not need the storage migration function.

〔状態St4〕データコピーの完了後、ストレージ装置10、10aを接続していたケーブルc2が外される。また、ホスト3とストレージ装置10aとを接続していたケーブルc1の一端がストレージ装置10aから外される。そして、ケーブルc1の一端がストレージ装置10のチャネルポートchにつながれて、ホスト3とストレージ装置10がケーブルc1で接続される。   [State St4] After the data copy is completed, the cable c2 to which the storage apparatuses 10 and 10a were connected is disconnected. Also, one end of the cable c1 connecting the host 3 and the storage device 10a is disconnected from the storage device 10a. One end of the cable c1 is connected to the channel port ch of the storage apparatus 10, and the host 3 and the storage apparatus 10 are connected by the cable c1.

なお、ホスト非介在型のストレージマイグレーションなので、状態St2のときにホスト3とストレージ装置10aはケーブル接続されていなくてよい。
<ハードウェア構成>
図4は制御部のハードウェア構成の一例を示す図である。制御部11は、プロセッサ100によって装置全体が制御されている。プロセッサ100には、バス103を介してメモリ101と複数の周辺機器が接続されている。
Note that since the host-non-intervening type storage migration, the host 3 and the storage apparatus 10a do not have to be cable-connected in the state St2.
<Hardware configuration>
FIG. 4 is a diagram illustrating an example of a hardware configuration of the control unit. The entire control unit 11 is controlled by the processor 100. A memory 101 and a plurality of peripheral devices are connected to the processor 100 via a bus 103.

プロセッサ100は、マルチプロセッサであってもよい。プロセッサ100は、例えば、CPU(Central Processing Unit)、MPU(Micro Processing Unit)、DSP(Digital Signal Processor)、ASIC(Application Specific Integrated Circuit)、またはPLD(Programmable Logic Device)である。またプロセッサ100は、CPU、MPU、DSP、ASIC、PLDのうちの2以上の要素の組み合わせであってもよい。   The processor 100 may be a multiprocessor. The processor 100 is, for example, a central processing unit (CPU), a micro processing unit (MPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), or a programmable logic device (PLD). The processor 100 may be a combination of two or more elements among CPU, MPU, DSP, ASIC, and PLD.

メモリ101は、制御部11の主記憶装置として使用される。メモリ101には、プロセッサ100に実行させるOS(Operating System)のプログラムやアプリケーションプログラムの少なくとも一部が一時的に格納される。また、メモリ101には、プロセッサ100による処理に要する各種メッセージが格納される。   The memory 101 is used as a main storage device of the control unit 11. The memory 101 temporarily stores at least part of an OS (Operating System) program and application programs to be executed by the processor 100. The memory 101 stores various messages required for processing by the processor 100.

また、メモリ101は、制御部11の補助記憶装置としても使用され、OSのプログラム、アプリケーションプログラム、および各種メッセージが格納される。メモリ101は、補助記憶装置として、フラッシュメモリやSSD等の半導体記憶装置やHDD等の磁気記録媒体を含んでもよい。   The memory 101 is also used as an auxiliary storage device of the control unit 11 and stores an OS program, application programs, and various messages. The memory 101 may include a semiconductor storage device such as a flash memory and an SSD and a magnetic recording medium such as an HDD as an auxiliary storage device.

バス103に接続されている周辺機器としては、入出力インタフェース102、ネットワークインタフェース104およびストレージインタフェース105がある。
入出力インタフェース102は、プロセッサ100からの命令にしたがってストレージ装置10の状態を表示する表示装置として機能するモニタ(例えば、LED(Light Emitting Diode)やLCD(Liquid Crystal Display)等)が接続されている。
Peripheral devices connected to the bus 103 include an input / output interface 102, a network interface 104, and a storage interface 105.
The input / output interface 102 is connected to a monitor (for example, an LED (Light Emitting Diode), an LCD (Liquid Crystal Display), etc.) that functions as a display device that displays the state of the storage device 10 according to a command from the processor 100. .

また、入出力インタフェース102は、キーボードやマウス等の情報入力装置を接続可能であって、情報入力装置から送られてくる信号をプロセッサ100に送信する。
入出力インタフェース102は、周辺機器を接続するための通信インタフェースとして機能する。例えば、入出力インタフェース102は、レーザ光等を利用して、光ディスクに記録されたメッセージの読み取りを行う光学ドライブ装置を接続することができる。
The input / output interface 102 can be connected to an information input device such as a keyboard and a mouse, and transmits a signal sent from the information input device to the processor 100.
The input / output interface 102 functions as a communication interface for connecting peripheral devices. For example, the input / output interface 102 can be connected to an optical drive device that reads a message recorded on an optical disk by using a laser beam or the like.

光ディスクは、光の反射によって読み取り可能なようにメッセージが記録された可搬型の記録媒体である。光ディスクには、Blu−rayDisc(登録商標)、CD−ROM(Compact Disc Read Only Memory)、CD−R(Recordable)/RW(Rewritable)等がある。   An optical disc is a portable recording medium on which a message is recorded so that it can be read by reflection of light. Optical disks include Blu-ray Disc (registered trademark), CD-ROM (Compact Disc Read Only Memory), CD-R (Recordable) / RW (Rewritable), and the like.

また、入出力インタフェース102は、メモリ装置やメモリリーダライタを接続することができる。メモリ装置は、入出力インタフェース102との通信機能を搭載した記録媒体である。メモリリーダライタは、メモリカードへのメッセージの書き込み、またはメモリカードからのメッセージの読み出しを行う装置である。メモリカードは、カード型の記録媒体である。   The input / output interface 102 can be connected to a memory device or a memory reader / writer. The memory device is a recording medium equipped with a communication function with the input / output interface 102. The memory reader / writer is a device that writes a message to a memory card or reads a message from the memory card. A memory card is a card-type recording medium.

ネットワークインタフェース104は、ホスト3とのインタフェース制御を行う。また、ネットワークインタフェース104は、ストレージマイグレーション時に接続されるデータコピー元のストレージ装置とのインタフェース制御を行う。   The network interface 104 performs interface control with the host 3. In addition, the network interface 104 performs interface control with the data copy source storage apparatus connected during storage migration.

ネットワークインタフェース104は例えば、NIC(Network Interface Card)、無線LAN(Local Area Network)カード等の機能を有してもよい。ネットワークインタフェース104で受信されたデータ等はプロセッサ100に出力され、またはストレージインタフェース105を介してストレージ部12へ出力される。ストレージインタフェース105は、図2に示したストレージ部12とのインタフェース制御を行う。   The network interface 104 may have functions such as a NIC (Network Interface Card) and a wireless LAN (Local Area Network) card. Data received by the network interface 104 is output to the processor 100 or output to the storage unit 12 via the storage interface 105. The storage interface 105 performs interface control with the storage unit 12 shown in FIG.

以上のようなハードウェア構成によって、制御部11の処理機能を実現することができる。例えば、制御部11は、プロセッサ100が読み取り可能な記録媒体に記録されたプログラムを実行することで、本発明のストレージマイグレーション制御を行うことができる。   With the hardware configuration described above, the processing function of the control unit 11 can be realized. For example, the control unit 11 can perform storage migration control of the present invention by executing a program recorded on a recording medium readable by the processor 100.

制御部11に実行させる処理内容を記述したプログラムは、様々な記録媒体に記録しておくことができる。例えば、制御部11に実行させるプログラムを補助記憶装置に格納しておくことができる。   The program describing the processing contents to be executed by the control unit 11 can be recorded in various recording media. For example, a program to be executed by the control unit 11 can be stored in the auxiliary storage device.

プロセッサ100は、補助記憶装置内のプログラムの少なくとも一部を主記憶装置にロードし、プログラムを実行する。また、光ディスク、メモリ装置、メモリカード等の可搬型記録媒体に記録しておくこともできる。可搬型記録媒体に格納されたプログラムは、例えば、プロセッサ100からの制御により、補助記憶装置にインストールされた後、実行可能となる。またプロセッサ100が、可搬型記録媒体から直接プログラムを読み出して実行することもできる。   The processor 100 loads at least a part of the program in the auxiliary storage device into the main storage device and executes the program. It can also be recorded on a portable recording medium such as an optical disk, a memory device, or a memory card. The program stored in the portable recording medium becomes executable after being installed in the auxiliary storage device under the control of the processor 100, for example. The processor 100 can also read and execute the program directly from the portable recording medium.

<機能ブロック>
図5は制御部の機能ブロックの一例を示す図である。制御部11は、ストレージマイグレーション制御部11a、インタフェース部11bおよびメモリ11cを備える。ストレージマイグレーション制御部11aは、記憶管理情報取得部11a1、管理情報テーブル生成部11a2、データパターン判定部11a3、完了時刻算出部11a4、データコピー制御部11a5および表示制御部11a6を含む。
<Functional block>
FIG. 5 is a diagram illustrating an example of functional blocks of the control unit. The control unit 11 includes a storage migration control unit 11a, an interface unit 11b, and a memory 11c. The storage migration control unit 11a includes a storage management information acquisition unit 11a1, a management information table generation unit 11a2, a data pattern determination unit 11a3, a completion time calculation unit 11a4, a data copy control unit 11a5, and a display control unit 11a6.

記憶管理情報取得部11a1は、データコピー元のストレージ装置(以下、データコピー元装置10aと表記)から記憶管理情報を読み出して取得する。記憶管理情報には、VTOC(Volume Table Of Contents)情報および制御情報が含まれる。   The storage management information acquisition unit 11a1 reads out and acquires storage management information from the data copy source storage device (hereinafter referred to as the data copy source device 10a). The storage management information includes VTOC (Volume Table Of Contents) information and control information.

VTOC情報は、データコピー元装置10aのボリューム内のデータセットに関する情報として、レコード情報(レコード長、ブロック数等)やエクステント情報(トラック範囲情報)が記載された情報である。また制御情報は、VTOC情報には記載のない補足情報(例えば、レコード情報)が記載された情報である。   The VTOC information is information in which record information (record length, number of blocks, etc.) and extent information (track range information) are described as information related to the data set in the volume of the data copy source apparatus 10a. The control information is information in which supplementary information (for example, record information) not described in the VTOC information is described.

管理情報テーブル生成部11a2は、取得した記憶管理情報にもとづいて、後述の管理情報テーブルを生成する。データパターン判定部11a3は、管理情報テーブルにもとづいて、ストレージマイグレーション対象のデータがデータサイズの算出が可能か否かによるパターン判定を行う。   The management information table generation unit 11a2 generates a management information table described later based on the acquired storage management information. The data pattern determination unit 11a3 performs pattern determination based on whether or not the data size of the storage migration target data can be calculated based on the management information table.

完了時刻算出部11a4は、データパターン毎にデータコピーの完了時刻(完了予測時刻)を算出し、完了時刻の精度を算出する。データコピー制御部11a5は、データコピー元装置10aからストレージ部12へのデータコピーを行う。表示制御部11a6は、算出されたデータコピーの完了時刻および精度の表示制御を行う。   The completion time calculation unit 11a4 calculates a data copy completion time (completion predicted time) for each data pattern, and calculates the accuracy of the completion time. The data copy control unit 11a5 performs data copy from the data copy source device 10a to the storage unit 12. The display control unit 11a6 performs display control of the calculated data copy completion time and accuracy.

インタフェース部11bには、データコピー元装置10aおよびストレージ部12が接続される。さらに、インタフェース部11bには、算出された移行完了時刻および精度を表示する表示装置4が接続される。インタフェース部11bは、ストレージマイグレーション制御部11aと、これらの他装置とのインタフェース制御を行う。   The data copy source device 10a and the storage unit 12 are connected to the interface unit 11b. Further, the display unit 4 for displaying the calculated transition completion time and accuracy is connected to the interface unit 11b. The interface unit 11b performs interface control between the storage migration control unit 11a and these other devices.

メモリ11cは、生成された管理情報テーブルを格納する。またメモリ11cは、ストレージ装置10の動作制御にかかわる運用情報等を記憶する。
なお、ストレージマイグレーション制御部11aは、図4に示したプロセッサ100によって実現され、メモリ11cは、図4に示したメモリ101によって実現される。また、インタフェース部11bは、図4に示した入出力インタフェース102、ネットワークインタフェース104またはストレージインタフェース105によって実現される。
The memory 11c stores the generated management information table. The memory 11 c stores operation information related to operation control of the storage apparatus 10.
The storage migration control unit 11a is realized by the processor 100 shown in FIG. 4, and the memory 11c is realized by the memory 101 shown in FIG. The interface unit 11b is realized by the input / output interface 102, the network interface 104, or the storage interface 105 shown in FIG.

<VTOC情報>
次にVTOC情報について図6、図7を用いて説明する。図6はVTOC情報の構成の一例を示す図である。VTOC情報は、データセット#1、#2、・・・、#nを含む。ストレージマイグレーションは、データセット単位で行われるとする。また、図6には、各データセットに含まれる情報の一例が示されている。
<VTOC information>
Next, VTOC information will be described with reference to FIGS. FIG. 6 is a diagram showing an example of the configuration of VTOC information. The VTOC information includes data sets # 1, # 2,. It is assumed that storage migration is performed in units of data sets. FIG. 6 shows an example of information included in each data set.

図7はデータセットの種類毎の構成の一例を示す図である。テーブルT10は、項目として、データセット種類、レコード形式、レコード長およびエクステントを含む。
データセットの種類には、順データセット、区分編成データセット、索引順データセットおよび直接データセットがある。
FIG. 7 is a diagram illustrating an example of a configuration for each type of data set. The table T10 includes data set types, record formats, record lengths, and extents as items.
Data set types include sequential data sets, partitioned data sets, indexed data sets, and direct data sets.

順データセットは、レコードの並び順にデータが格納されるデータセットである。索引順データセットは、順データセットに索引が付されているデータセットである。
直接データセットは、レコードのキー値からレコードを格納するアドレスを求めて記録したデータセットである。
A sequential data set is a data set in which data is stored in the order of records. An indexed sequential data set is a data set that is indexed to a sequential data set.
The direct data set is a data set recorded by obtaining an address for storing the record from the key value of the record.

区分編成データセットは、順データセットと索引順データセットの両方の特徴を有するデータセットであり、格納領域がディレクトリ領域とメンバ領域に分けられ、レコードはメンバ領域に格納され、その索引がディレクトリ領域に格納される。   A partitioned organization data set is a data set that has the characteristics of both a sequential data set and an indexed data set. The storage area is divided into a directory area and a member area, records are stored in the member area, and the index is stored in the directory area. Stored in

また、順データセット、区分編成データセット、索引順データセットおよび直接データセットそれぞれに対して、レコード形式として、固定長レコード形式、可変長レコード形式および不定長レコード形式がある。   In addition, there are a fixed-length record format, a variable-length record format, and an indefinite-length record format for each of the sequential data set, the partitioned data set, the index sequential data set, and the direct data set.

固定長レコード形式は、RECFM=F[B][A|M]と記述される場合があり、すべてのレコードが同じ長さを持つ形式である。“F”はFix(固定)を示し、[B]はブロック化されたレコードであることを示す。また、[A|M]は、レコードの先頭1バイトが印刷制御文字であることを示す。   The fixed-length record format may be described as RECFM = F [B] [A | M], and all records have the same length. “F” indicates Fix (fixed), and [B] indicates a blocked record. [A | M] indicates that the first byte of the record is a print control character.

可変長レコード形式は、RECFM=V[B][A|M]と記述される場合があり、レコードの先頭にレコードの長さを示すフィールドRDW(Record Descriptor Word)を持つ形式である。“V”はVariable(可変)を示す。   The variable-length record format may be described as RECFM = V [B] [A | M], and has a field RDW (Record Descriptor Word) indicating the record length at the beginning of the record. “V” indicates Variable (variable).

不定長レコード形式は、RECFM=Uと記述される場合があり、長さが一定ではないが、可変長レコードのようにレコード上に長さを示すフィールドを持たないレコードを持つ形式である。“U”は、Undefined(不定)を示す。   The indefinite-length record format may be described as RECFM = U, and is a format having a record that does not have a field indicating the length on the record, such as a variable-length record, although the length is not constant. “U” indicates Undefined.

ここで、順データセットにおいて、固定長レコード形式では、レコード長およびエクステントの両方が記載されている。可変長レコード形式では、レコード長の記載はなく(レコード長の最大値のみ記載がある)、エクステントは記載されている。不定長レコード形式では、レコード長の記載はなく(レコード長の最大値のみ記載がある)、エクステントは記載されている。   Here, in the sequential data set, both the record length and the extent are described in the fixed-length record format. In the variable-length record format, the record length is not described (only the maximum value of the record length is described), and the extent is described. In the indefinite-length record format, there is no description of the record length (only the maximum value of the record length is described), and the extent is described.

区分編成データセットにおいて、固定長レコード形式では、レコード長の記載はなく、エクステントは記載されている。可変長レコード形式では、レコード長の記載はなく(レコード長の最大値のみ記載がある)、エクステントは記載されている。不定長レコード形式では、レコード長の記載はなく(レコード長の最大値のみ記載がある)、エクステントは記載されている。   In the segmented data set, the record length is not described in the fixed-length record format, and the extent is described. In the variable-length record format, the record length is not described (only the maximum value of the record length is described), and the extent is described. In the indefinite-length record format, there is no description of the record length (only the maximum value of the record length is described), and the extent is described.

索引順データセットにおいて、固定長レコード形式では、レコード長の記載はなく、エクステントは記載されている。可変長レコード形式では、レコード長の記載はなく、エクステントは記載されている。不定長レコード形式では、レコード長の記載はなく、エクステントは記載されている。   In the index order data set, the record length is not described in the fixed-length record format, and the extent is described. In the variable length record format, the record length is not described, and the extent is described. In the undefined-length record format, the record length is not described, and the extent is described.

直接データセットにおいて、固定長レコード形式では、レコード長およびエクステントの両方が記載されている。可変長レコード形式では、レコード長の記載はなく(レコード長の最大値のみ記載がある)、エクステントは記載されている。不定長レコード形式では、レコード長の記載はなく(レコード長の最大値のみ記載がある)、エクステントは記載されている。   In the direct data set, both the record length and the extent are described in the fixed-length record format. In the variable-length record format, the record length is not described (only the maximum value of the record length is described), and the extent is described. In the indefinite-length record format, there is no description of the record length (only the maximum value of the record length is described), and the extent is described.

<データパターンの設定>
図8はデータパターン設定の一例を示す図である。ストレージマイグレーション対象のデータセットのデータパターンは、データサイズ算出の可否にもとづいて設定される。テーブルT11は、図7に示したテーブルT10にデータサイズ算出可否の項目と、データパターンの項目とを追加したものである。
<Data pattern setting>
FIG. 8 is a diagram showing an example of data pattern setting. The data pattern of the storage migration target data set is set based on whether or not the data size can be calculated. The table T11 is obtained by adding an item indicating whether the data size can be calculated and a data pattern item to the table T10 illustrated in FIG.

ここで、レコード長とエクステントの両方が記載されているデータは、データサイズが算出可能である。この例では、順データセットの固定長レコード形式および直接データセットの固定長レコード形式が、レコード長とエクステントの両方の値が記載されている。   Here, for data in which both the record length and the extent are described, the data size can be calculated. In this example, both the record length and extent values are described in the fixed-length record format of the sequential data set and the fixed-length record format of the direct data set.

したがって、順データセットの固定長レコード形式および直接データセットの固定長レコード形式は、VTOC情報からデータサイズを算出可能である。このように、VTOC情報だけでデータサイズが算出可能な(データサイズが確定できる)データセットをデータパターンp1(第1の確定データ)とする。   Therefore, the fixed size record format of the sequential data set and the fixed length record format of the direct data set can calculate the data size from the VTOC information. In this way, a data set whose data size can be calculated only with VTOC information (data size can be determined) is defined as a data pattern p1 (first determined data).

また、レコード長の記載はなく、エクステントが記載されているデータであって、ボリューム内に設定されている制御情報からレコード長等の値が取得可能なデータについては、VTOC情報と制御情報とからデータサイズが算出可能である。すなわち、制御情報が記載されるボリューム内のデータセットは、VTOC情報と制御情報を用いてデータサイズが算出可能である。   In addition, there is no record length description, and data in which an extent is described, and data for which a value such as a record length can be obtained from control information set in the volume is obtained from the VTOC information and the control information. Data size can be calculated. In other words, the data size of the data set in the volume in which the control information is described can be calculated using the VTOC information and the control information.

この例では、順データセットの可変長/不定長レコード形式、区分編成データセットおよび索引順データセットは、レコード長の記載はなく、エクステントが記載され、また制御情報の取得が可能なデータセットである。   In this example, the variable length / indefinite length record format of the sequential data set, the partitioned data set, and the indexed data set are data sets in which the record length is not described, the extent is described, and control information can be obtained. is there.

したがって、順データセットの可変長/不定長レコード形式、区分編成データセットおよび索引順データセットは、VTOC情報と制御情報からデータサイズを算出可能である。このように、VTOC情報と制御情報によってデータサイズが算出可能な(データサイズが確定できる)データセットをデータパターンp2(第2の確定データ)とする。   Therefore, the variable size / indefinite length record format of the sequential data set, the segmented data set, and the indexed data set can calculate the data size from the VTOC information and the control information. In this way, a data set in which the data size can be calculated by the VTOC information and control information (the data size can be determined) is defined as a data pattern p2 (second determined data).

さらに、レコード長の記載はなく、エクステントが記載されているデータであって、ボリューム内に設定されている制御情報が取得不可のデータについては、データサイズ算出に要する情報が不足しているので、正確なデータサイズの算出は不可である。   Furthermore, there is no description of the record length, the data in which the extent is described, and for the data for which the control information set in the volume cannot be acquired, the information required for calculating the data size is insufficient. Accurate data size cannot be calculated.

この例では、直接データセットの可変長/不定長レコード形式は、レコード長の記載はなく、エクステントが記載されており、また制御情報の取得が不可能なデータである(または制御情報が取得できても該制御情報にはデータサイズ計算に要する情報が含まれていないデータである)。   In this example, the variable length / indefinite length record format of the direct data set is the data in which the record length is not described, the extent is described, and the control information cannot be acquired (or the control information can be acquired). However, the control information is data that does not include information required for data size calculation).

したがって、直接データセットの可変長/不定長レコード形式は、データサイズの算出が不可である。このように、データサイズの算出が不可の(データサイズが確定できない)データセットをデータパターンp3とする。   Therefore, the data size cannot be calculated for the variable length / indefinite length record format of the direct data set. In this way, a data set in which the data size cannot be calculated (data size cannot be determined) is set as a data pattern p3.

なお、データパターンp1のデータセット(第1のデータ)と、データパターンp2のデータセット(第2のデータ)は、図1で上述した確定データに該当し、データパターンp3のデータセットは、図1で上述した不確定データに該当する。   The data set (first data) of the data pattern p1 and the data set (second data) of the data pattern p2 correspond to the confirmed data described above with reference to FIG. 1, and the data set of the data pattern p3 is illustrated in FIG. 1 corresponds to the uncertain data described above.

上記のように、ストレージ装置10は、データセットの多様な種類をデータパターンp1、p2、p3に分類して、ストレージマイグレーションを実行するので、データセットの論理構造にもとづくストレージマイグレーションを効率よく行うことができる。   As described above, since the storage apparatus 10 classifies various types of data sets into the data patterns p1, p2, and p3 and executes storage migration, the storage migration can be efficiently performed based on the logical structure of the data set. Can do.

<全体動作>
図9は制御部の全体動作を示すフローチャートである。データコピー先であるストレージ装置10の制御部11における、ストレージマイグレーション機能と、完了時刻/精度の算出とを含む全体の動作フローを示している。
<Overall operation>
FIG. 9 is a flowchart showing the overall operation of the control unit. The overall operation flow including the storage migration function and the calculation of completion time / accuracy in the control unit 11 of the storage apparatus 10 that is the data copy destination is shown.

〔ステップS21〕制御部11は、データコピー元装置10aから記憶管理情報(VTOC情報および制御情報)を読み出す。ステップS30へ処理が進む。
〔ステップS30〕制御部11は、記憶管理情報にもとづいて、ストレージマイグレーション対象のデータセットをデータパターンp1、p2、p3のいずれかに分類する。また、制御部11は、記憶管理情報にもとづいて、管理情報テーブルを生成して保持する。ステップS40aへ処理が進む。
[Step S21] The control unit 11 reads storage management information (VTOC information and control information) from the data copy source device 10a. The process proceeds to step S30.
[Step S30] Based on the storage management information, the control unit 11 classifies the storage migration target data set into one of the data patterns p1, p2, and p3. Further, the control unit 11 generates and holds a management information table based on the storage management information. The process proceeds to step S40a.

〔ステップS40a〕制御部11は、データパターンp1、p2のデータセットのデータサイズを、管理情報テーブルに登録される値にもとづき算出する。そして、制御部11は、該データサイズにもとづき、データパターンp1、p2のデータセットをデータコピー元装置10aからストレージ部12へデータコピーした際の第1の完了時刻(確定データ移行完了時刻)を算出する。   [Step S40a] The control unit 11 calculates the data sizes of the data sets of the data patterns p1 and p2 based on the values registered in the management information table. Based on the data size, the control unit 11 sets a first completion time (confirmed data migration completion time) when data sets of the data patterns p1 and p2 are copied from the data copy source device 10a to the storage unit 12. calculate.

さらに、制御部11は、データパターンp3のデータセットのデータサイズを予め定めた設定値(例えば、データサイズの最大値)にもとづき算出する。そして、制御部11は、該データサイズにもとづき、データパターンp3のデータセットをデータコピー元装置10aからストレージ部12へデータコピーした際の第2の完了時刻(不確定データ移行完了時刻)を算出する。   Furthermore, the control unit 11 calculates the data size of the data set of the data pattern p3 based on a predetermined setting value (for example, the maximum value of the data size). Then, based on the data size, the control unit 11 calculates a second completion time (indeterminate data migration completion time) when the data set of the data pattern p3 is copied from the data copy source device 10a to the storage unit 12. To do.

そして、制御部11は、第1、第2の完了時刻にもとづいて、ストレージマイグレーション対象データ(データパターンp1、p2、p3のデータ)をデータコピーした場合の完了時刻(図1の初期移行完了時刻に相当)と、該完了時刻の精度を算出する。   The control unit 11 then completes the data when the storage migration target data (data of the data patterns p1, p2, and p3) is copied based on the first and second completion times (initial migration completion time in FIG. 1). And the accuracy of the completion time is calculated.

〔ステップS22〕制御部11は、ストレージマイグレーション対象のデータセットがデータパターンp3か否かを判定する。データパターンp3の場合、ステップS23へ処理が進み、データパターンp3でない場合、ステップS25へ処理が進む。   [Step S22] The control unit 11 determines whether or not the data set targeted for storage migration is the data pattern p3. If the data pattern is p3, the process proceeds to step S23. If the data pattern is not p3, the process proceeds to step S25.

〔ステップS23〕制御部11は、データパターンp3のデータコピー(データコピー元装置10aからストレージ装置10へのデータコピー)を行う。
〔ステップS24〕制御部11は、データパターンp3のデータセットのコピー時におけるデータ転送速度を、例えば、転送サイズや転送時間にもとづき算出する。ステップS40bへ処理が進む。
[Step S23] The control unit 11 performs data copy of the data pattern p3 (data copy from the data copy source device 10a to the storage device 10).
[Step S24] The control unit 11 calculates the data transfer speed when copying the data set of the data pattern p3 based on, for example, the transfer size and transfer time. The process proceeds to step S40b.

〔ステップS40b〕制御部11は、データパターンp3のデータセットのデータコピーに要した転送時間(移行時間)をデータ転送速度から求める。制御部11は、該転送時間と、ステップS40aで算出した第1の完了時刻とにもとづいて、ストレージマイグレーション対象データをデータコピーした場合の完了時刻(図1の移行完了時刻に相当)と、該完了時刻の精度を算出する。ステップS25へ処理が進む。   [Step S40b] The control unit 11 obtains the transfer time (transition time) required for data copying of the data set of the data pattern p3 from the data transfer rate. Based on the transfer time and the first completion time calculated in step S40a, the control unit 11 performs the data copy of the storage migration target data (corresponding to the migration completion time in FIG. 1), Calculate the accuracy of the completion time. The process proceeds to step S25.

〔ステップS25〕制御部11は、データパターンp3のデータセットの管理番号が最後か否かを判定する。管理番号が最後の場合、ステップS26へ処理が進む。管理番号が最後でない場合、ステップS22へ処理が戻り、次のデータセットの処理を行う。   [Step S25] The controller 11 determines whether or not the management number of the data set of the data pattern p3 is the last. If the management number is the last, the process proceeds to step S26. If the management number is not the last, the process returns to step S22 to process the next data set.

〔ステップS26〕制御部11は、ストレージマイグレーション対象の次のデータセットが未転送(未コピー)のデータセットか否かを判定する。未転送のデータセットの場合、ステップS27へ処理が進み、転送済みのデータセットの場合、ステップS28へ処理が進む。   [Step S26] The controller 11 determines whether or not the next data set to be migrated is an untransferred (uncopied) data set. If it is an untransferred data set, the process proceeds to step S27. If it is a transferred data set, the process proceeds to step S28.

〔ステップS27〕制御部11は、データパターンp1またはデータパターンp2のデータコピーを行う。
〔ステップS28〕制御部11は、データセットの管理番号が最後か否かを判定する。管理番号が最後の場合、ストレージマイグレーションを終了し、管理番号が最後でない場合、ステップS26へ処理が戻り、次のデータセットの処理を行う。
[Step S27] The control unit 11 performs data copying of the data pattern p1 or the data pattern p2.
[Step S28] The control unit 11 determines whether the management number of the data set is the last. If the management number is the last, the storage migration is terminated. If the management number is not the last, the process returns to step S26 to process the next data set.

<管理情報テーブル>
次に図10から図12を用いて管理情報テーブルについて説明する。図10から図12は管理情報テーブルの一例を示す図である。管理情報テーブルT1は、主に論理ボリュームに含まれるデータセットの数、およびそのデータセットのデータパターンの数を管理するテーブルである。
<Management information table>
Next, the management information table will be described with reference to FIGS. 10 to 12 are diagrams illustrating an example of the management information table. The management information table T1 is a table that mainly manages the number of data sets included in the logical volume and the number of data patterns of the data sets.

管理情報テーブルT1は、項目として、VTOC情報、実行状態および性能情報を有する。また、VTOC情報は、項目として、論理ボリューム番号、開始番号、データセット数、データパターンp1の数、データパターンp2の数およびデータパターンp3の数を含む。   The management information table T1 includes VTOC information, execution state, and performance information as items. The VTOC information includes items such as a logical volume number, a start number, the number of data sets, the number of data patterns p1, the number of data patterns p2, and the number of data patterns p3.

実行状態は、項目として、残り時間(min)およびデータセット残り数を含み、性能情報は、項目として、基準性能(固定値)および実測性能を含む。
なお、開始番号は、前のボリュームの論理ボリューム番号に、前のボリュームのデータセット数を加算した値になる。データセット残り数は、初期値において、データセット数と同じ値が設定される。
The execution state includes the remaining time (min) and the number of remaining data sets as items, and the performance information includes the reference performance (fixed value) and the actually measured performance as items.
The start number is a value obtained by adding the number of data sets of the previous volume to the logical volume number of the previous volume. The initial value of the remaining number of data sets is set to the same value as the number of data sets.

図11の管理情報テーブルT2は、主にVTOC情報から得られるデータセット毎のデータセット情報を管理するテーブルである。管理情報テーブルT2は、項目として、管理番号、データセット情報、データパターン、制御情報、サイズ/性能および転送状態を有する。   The management information table T2 in FIG. 11 is a table for managing data set information for each data set obtained mainly from VTOC information. The management information table T2 includes, as items, a management number, data set information, data pattern, control information, size / performance, and transfer status.

また、データセット情報は、項目として、種類、形式(DSCB:Data Set Control Block)、レコード形式、レコード長、ブロック長、トラック数およびデータアドレスを含む。制御情報は、項目として、管理番号および管理数を含み、サイズ/性能は、項目として、データサイズおよび性能値を含む。   The data set information includes items such as type, format (DSCB: Data Set Control Block), record format, record length, block length, number of tracks, and data address. The control information includes the management number and the management number as items, and the size / performance includes the data size and performance value as items.

なお、データパターンp2のデータセットに対しては、制御情報の管理番号および管理数(制御情報の数)が付される。また、転送状態は、データコピー状態のことであり、初期値において、未転送(未コピー)が設定される。また、転送完了とは、データコピー完了のことである。   It should be noted that the control number and the management number (the number of control information) are attached to the data set of the data pattern p2. The transfer state is a data copy state, and untransferred (not copied) is set as an initial value. Also, the transfer completion is data copy completion.

図12の管理情報テーブルT3は、主にデータパターンp2の制御情報を管理するテーブルである。管理情報テーブルT3は、項目として、管理番号、データセット情報、サイズ/性能および転送状態を有する。図12に示す管理番号は、図11に示される管理情報テーブルT2の管理番号に対応する。   The management information table T3 in FIG. 12 is a table that mainly manages control information of the data pattern p2. The management information table T3 includes, as items, a management number, data set information, size / performance, and transfer status. The management numbers shown in FIG. 12 correspond to the management numbers in the management information table T2 shown in FIG.

また、データセット情報は、項目として、種類、形式(DSCB)、レコード形式、レコード長、ブロック長、トラック数およびデータアドレスを含む。サイズ/性能は、項目として、データサイズおよび性能値を含む。   The data set information includes items such as type, format (DSCB), record format, record length, block length, number of tracks, and data address. The size / performance includes data size and performance value as items.

ここで、図11に示した管理情報テーブルT2において、データパターンp2に関するブロック長およびトラック数の情報は、VTOC情報のみからは得られないので該当テーブル欄は空白になっている。   Here, in the management information table T2 shown in FIG. 11, the block length and the number of tracks related to the data pattern p2 cannot be obtained only from the VTOC information, so the corresponding table column is blank.

制御部11は、データパターンp2に関しては、制御情報をさらに読み出して、管理情報テーブルT3を生成する。制御部11は、読み出した制御情報から、ブロック長およびトラック数の情報(エクステントに含まれる情報)を抽出し、管理情報テーブルT3を生成する。これにより、図12に示すように、ブロック長およびトラック数の情報が登録された、データセット情報すべての項目が登録された管理情報テーブルT3が生成される。   For the data pattern p2, the control unit 11 further reads control information and generates a management information table T3. The control unit 11 extracts block length and track number information (information included in the extent) from the read control information, and generates a management information table T3. As a result, as shown in FIG. 12, a management information table T3 in which the information on the block length and the number of tracks is registered and all items of the data set information are registered is generated.

<管理情報テーブルの生成動作>
図13は管理情報テーブルの生成動作を示すフローチャートである。図9に示されるステップS30における管理情報テーブルの生成動作のフローを示している。
<Management information table generation operation>
FIG. 13 is a flowchart showing a management information table generation operation. 10 shows a flow of a management information table generation operation in step S30 shown in FIG.

〔ステップS31〕制御部11は、取得したVTOC情報にもとづいて、管理情報テーブルT1を生成する。
〔ステップS32〕制御部11は、VTOC情報から得られるデータセット情報にもとづいて、管理情報テーブルT2を生成する。
[Step S31] The control unit 11 generates a management information table T1 based on the acquired VTOC information.
[Step S32] The control unit 11 generates the management information table T2 based on the data set information obtained from the VTOC information.

〔ステップS33〕制御部11は、管理情報テーブルT2の管理番号から昇順にデータセット情報を検索し、データセットがデータパターンp1か否かを判定する。データパターンp1でない場合、ステップS33aへ処理が進み、データパターンp1の場合、ステップS33bへ処理が進む。   [Step S33] The control unit 11 searches the data set information in ascending order from the management number of the management information table T2, and determines whether or not the data set is the data pattern p1. If the data pattern is not p1, the process proceeds to step S33a. If the data pattern is p1, the process proceeds to step S33b.

〔ステップS33a〕制御部11は、データセットがデータパターンp2か否かを判定する。データパターンp2でない場合、ステップS34aへ処理が進み、データパターンp2の場合、ステップS34b1へ処理が進む。   [Step S33a] The control unit 11 determines whether or not the data set is the data pattern p2. If the data pattern is not p2, the process proceeds to step S34a. If the data pattern is p2, the process proceeds to step S34b1.

〔ステップS34a〕制御部11は、データセットがデータパターンp3であることを認識し、該データセットのデータサイズを算出する。そして、制御部11は、管理情報テーブルT2のデータサイズの該当欄に算出値を登録する。ステップS35へ処理が進む。   [Step S34a] The control unit 11 recognizes that the data set is the data pattern p3, and calculates the data size of the data set. And the control part 11 registers a calculated value into the applicable column of the data size of management information table T2. The process proceeds to step S35.

なお、データパターンp3は、正確なデータサイズの算出が不可なので、制御部11は、例えば、1トラックの最大データサイズにもとづいてデータサイズ(データサイズの最大値)を算出する。1トラックの最大データサイズが47kBのとき、データパターンp3のデータセットのデータサイズは、47kB×トラック数で算出される。   Since the data pattern p3 cannot be calculated accurately, the control unit 11 calculates the data size (maximum value of the data size) based on the maximum data size of one track, for example. When the maximum data size of one track is 47 kB, the data size of the data set of the data pattern p3 is calculated as 47 kB × number of tracks.

〔ステップS34b1〕制御部11は、データセットがデータパターンp2の場合、データコピー元装置10aから、制御情報を読み出す。
〔ステップS34b2〕制御部11は、読み出した制御情報にもとづいて、管理情報テーブルT3を生成する。
[Step S34b1] When the data set is the data pattern p2, the control unit 11 reads the control information from the data copy source device 10a.
[Step S34b2] The control unit 11 generates a management information table T3 based on the read control information.

〔ステップS34b3〕制御部11は、データパターンp2のデータセットのデータサイズを算出する。そして、制御部11は、管理情報テーブルT3のデータサイズの該当欄に算出値を登録する。   [Step S34b3] The control unit 11 calculates the data size of the data set of the data pattern p2. And the control part 11 registers a calculated value into the applicable column of the data size of management information table T3.

なお、データパターンp2は、正確なデータサイズの算出が可能である。したがって、制御部11は、例えば、レコード長、ブロック長およびトラック数(シリンダ)にもとづいて、データパターンp2のデータセットのデータサイズを算出する。   The data pattern p2 can be calculated accurately. Therefore, the control unit 11 calculates the data size of the data set of the data pattern p2 based on, for example, the record length, the block length, and the number of tracks (cylinder).

〔ステップS34b4〕制御部11は、管理情報テーブルT2のデータサイズの該当欄に登録されている値に、ステップS34b3で算出したデータサイズを加算する。ステップS35へ処理が進む。   [Step S34b4] The control unit 11 adds the data size calculated in step S34b3 to the value registered in the corresponding column of the data size in the management information table T2. The process proceeds to step S35.

〔ステップS33b〕制御部11は、データパターンp1のデータセットのデータサイズを算出する。そして、制御部11は、管理情報テーブルT2のデータサイズの該当欄に算出値を登録する。ステップS35へ処理が進む。   [Step S33b] The control unit 11 calculates the data size of the data set of the data pattern p1. And the control part 11 registers a calculated value into the applicable column of the data size of management information table T2. The process proceeds to step S35.

なお、データパターンp1は、正確なデータサイズの算出が可である。したがって、制御部11は、例えば、レコード長、ブロック長およびトラック数(シリンダ)にもとづいて、データパターンp1のデータセットのデータサイズを算出する。   The data pattern p1 can be calculated accurately. Therefore, the control unit 11 calculates the data size of the data set of the data pattern p1 based on, for example, the record length, the block length, and the number of tracks (cylinder).

〔ステップS35〕制御部11は、データサイズを算出したデータパターン毎に、管理情報テーブルT1のデータパターン数をインクリメントする。
〔ステップS36〕制御部11は、すべてのデータセットに対して、データサイズの算出が完了したか否かを判定する。未完了の場合、ステップS33へ処理が戻り、完了の場合、ステップS37へ処理が進む。
[Step S35] The controller 11 increments the number of data patterns in the management information table T1 for each data pattern for which the data size has been calculated.
[Step S36] The controller 11 determines whether or not the calculation of the data size has been completed for all data sets. If not completed, the process returns to step S33, and if completed, the process proceeds to step S37.

〔ステップS37〕制御部11は、すべてのボリュームに対して、データサイズの算出が完了し、管理情報テーブルT1、T2、T3の生成処理が完了したか否かを判定する。未完了の場合、ステップS31へ処理が戻り、完了の場合、終了する。   [Step S37] The control unit 11 determines whether or not the calculation of the data size has been completed for all volumes and the generation processing of the management information tables T1, T2, and T3 has been completed. If not completed, the process returns to step S31, and if completed, the process ends.

<完了時刻と精度の算出時に使用される管理情報テーブル>
図14は管理情報テーブルの一例を示す図である。管理情報テーブルT4は、完了時刻と精度の算出時に使用される管理情報テーブルであり、項目として、全データの情報、残データの情報、性能情報および見積もりを有する。
<Management information table used when calculating completion time and accuracy>
FIG. 14 is a diagram illustrating an example of the management information table. The management information table T4 is a management information table used when calculating completion time and accuracy, and has items of information on all data, information on remaining data, performance information, and an estimate as items.

また、全データの情報は、項目として、全データセット数、全確定データサイズおよび全不確定データサイズを含む。
残データの情報は、項目として、残データセット数、残確定データサイズおよび残不確定データサイズを含む。性能情報は、項目として、基準性能および実測性能を含む。見積もりは、項目として、精度(%)および完了時刻(年月日時分)を含む。
Further, the information on all data includes, as items, the total number of data sets, the total confirmed data size, and the total undefined data size.
The remaining data information includes the number of remaining data sets, the remaining confirmed data size, and the remaining uncertain data size as items. The performance information includes reference performance and measured performance as items. The estimate includes, as items, accuracy (%) and completion time (year / month / day / hour / minute).

ここで、全確定データサイズは、データパターンp1のデータサイズと、データパターンp2のデータサイズとの合計値である。データパターンp1のデータサイズは、管理情報テーブルT2に登録されているデータパターンp1のデータサイズの累積値である。   Here, the total confirmed data size is a total value of the data size of the data pattern p1 and the data size of the data pattern p2. The data size of the data pattern p1 is an accumulated value of the data size of the data pattern p1 registered in the management information table T2.

データパターンp2のデータサイズは、管理情報テーブルT2または管理情報テーブルT3に登録されているデータパターンp2のデータサイズの累積値である。
全不確定データサイズは、データパターンp3のデータサイズの値である。データパターンp3のデータサイズは、管理情報テーブルT2に登録されているデータパターンp3のデータサイズの累積値である。
The data size of the data pattern p2 is a cumulative value of the data size of the data pattern p2 registered in the management information table T2 or the management information table T3.
The total uncertain data size is a value of the data size of the data pattern p3. The data size of the data pattern p3 is an accumulated value of the data size of the data pattern p3 registered in the management information table T2.

残確定データサイズ(データパターンp1、p2)は、データ未転送のデータパターンp1、p2のデータセットのデータサイズの合計値である。残不確定データサイズ(データパターンp3)は、データ未転送のデータパターンp3のデータセットのデータサイズの合計値である。   The remaining confirmed data size (data patterns p1, p2) is the total value of the data sizes of the data sets of the data patterns p1, p2 that have not been transferred. The remaining indeterminate data size (data pattern p3) is the total value of the data size of the data set of the data pattern p3 that has not been transferred.

<完了時刻と精度の算出>
図15は完了時刻と精度の算出動作を示すフローチャートである。
〔ステップS41〕制御部11は、完了時刻および精度の初期化処理(リセット等)を行う。
<Calculation of completion time and accuracy>
FIG. 15 is a flowchart showing the calculation operation of the completion time and accuracy.
[Step S41] The control unit 11 performs initialization processing (reset and the like) of completion time and accuracy.

〔ステップS42a〕制御部11は、管理情報テーブルT2の昇順にデータセットを検索し、該データセットの転送状態が未転送か否かを判定する。未転送(未コピー)の場合、ステップS42bへ処理が進み、転送済み(コピー済み)の場合、ステップS43へ処理が進む。   [Step S42a] The control unit 11 searches the data set in ascending order of the management information table T2, and determines whether or not the transfer state of the data set is untransferred. If untransferred (uncopied), the process proceeds to step S42b. If transferred (copied), the process proceeds to step S43.

〔ステップS42b〕制御部11は、データセットがデータパターンp3か否かを判定する。データパターンp3の場合、ステップS42cへ処理が進み、データパターンp3でない場合、ステップS42dへ処理が進む。   [Step S42b] The control unit 11 determines whether or not the data set is the data pattern p3. If the data pattern is p3, the process proceeds to step S42c. If the data pattern is not p3, the process proceeds to step S42d.

〔ステップS42c〕制御部11は、残不確定データサイズ(p3)にデータサイズを加算する。
〔ステップS42d〕制御部11は、残確定データサイズ(p1、p2)にデータサイズを加算する。
[Step S42c] The control unit 11 adds the data size to the remaining uncertain data size (p3).
[Step S42d] The controller 11 adds the data size to the remaining confirmed data size (p1, p2).

〔ステップS43〕制御部11は、データセットの管理番号が最後か否かを判定する。最後の場合ステップS44へ処理が進み、最後でない場合ステップS42aへ処理が戻る。   [Step S43] The control unit 11 determines whether the management number of the data set is the last. If it is the last, the process proceeds to step S44. If it is not the last, the process returns to step S42a.

〔ステップS44〕制御部11は、精度の算出を行う。精度の算出において、全確定データサイズが0以外の場合、以下の式(1a)で算出される。
精度(%)=(残確定データサイズ(p1、p2))÷((残確定データサイズ(p1、p2))+(残不確定データサイズ(p3)))×100・・・(1a)
全確定データサイズが0の場合、以下の式(1b)で算出される。
[Step S44] The controller 11 calculates accuracy. In the calculation of accuracy, when the total confirmed data size is other than 0, it is calculated by the following equation (1a).
Accuracy (%) = (Remaining deterministic data size (p1, p2)) / ((Remaining deterministic data size (p1, p2)) + (Remaining undetermined data size (p3))) × 100 (1a)
When the total confirmed data size is 0, it is calculated by the following equation (1b).

精度(%)=(転送完了済みの不確定データサイズ)÷(全不確定データサイズ)×100・・・(1b)
〔ステップS45〕制御部11は、データパターンp3の残不確定データサイズの転送時間を算出する。
Accuracy (%) = (Transfer completed indeterminate data size) / (Total indeterminate data size) × 100 (1b)
[Step S45] The controller 11 calculates the transfer time of the remaining uncertain data size of the data pattern p3.

〔ステップS46〕制御部11は、データパターンp1、p2の残確定データサイズのデータコピー転送時間を算出する。
〔ステップS47〕制御部11は、完了時刻の算出を行う。完了時刻は、以下の式(2)で算出される。
[Step S46] The controller 11 calculates the data copy transfer time of the remaining determined data size of the data patterns p1 and p2.
[Step S47] The controller 11 calculates a completion time. The completion time is calculated by the following equation (2).

完了時刻=(現在時刻)+(残確定データサイズの転送時間)+(残不確定データサイズの転送時間)・・・(2)
なお、転送時間は、転送時間(分)=(データサイズ)÷(データ転送速度)÷60で求められる。
Completion time = (current time) + (transfer time of remaining uncertain data size) + (transfer time of remaining uncertain data size) (2)
The transfer time is obtained by the following equation: transfer time (minutes) = (data size) ÷ (data transfer speed) ÷ 60.

〔ステップS48〕制御部11は、完了時刻および精度を更新して表示制御を行う。
<画面表示例>
図16は画面表示の一例を示す図である。画面g1は、図9のステップS40aにおいて算出された完了時刻と精度を表示している画面であり、画面g2は、図9のステップS40bにおいて算出された完了時刻と精度を表示している画面である。なお、図5に示したインタフェース部11bに接続された表示装置4によって画面g1、g2の表示が行われる。
[Step S48] The control unit 11 performs display control by updating the completion time and accuracy.
<Example of screen display>
FIG. 16 shows an example of the screen display. The screen g1 is a screen displaying the completion time and accuracy calculated in step S40a in FIG. 9, and the screen g2 is a screen displaying the completion time and accuracy calculated in step S40b in FIG. is there. The screens g1 and g2 are displayed by the display device 4 connected to the interface unit 11b shown in FIG.

データパターンp3のデータセットの転送前の画面g1では、完了時刻(初期移行完了時刻)が2017年12月23日19時45分と表示され、該完了時刻の精度(第1の予測精度)が60%と表示されている。   On the screen g1 before transfer of the data set of the data pattern p3, the completion time (initial transition completion time) is displayed as 19:45 on December 23, 2017, and the accuracy (first prediction accuracy) of the completion time is displayed. It is displayed as 60%.

また、データパターンp3のデータセットの転送後の画面g2では、完了時刻(移行完了時刻)が2017年12月23日16時20分と表示され、該完了時刻の精度(第2の予測精度)が90%と表示されている。   Further, on the screen g2 after the data set of the data pattern p3 is transferred, the completion time (migration completion time) is displayed as 16:20 on December 23, 2017, and the accuracy of the completion time (second prediction accuracy) Is displayed as 90%.

このように、正確なデータサイズが算出不可のデータパターンp3のデータセットを先にデータコピーし、次に正確なデータサイズが算出可のデータパターンp1、p2のデータセットのデータコピーが行われることで、データコピーが進むにつれて完了時刻の予測精度が向上される。   As described above, the data set of the data pattern p3 whose accurate data size cannot be calculated is first copied, and then the data sets of the data patterns p1 and p2 whose correct data size can be calculated are copied. Thus, as the data copy proceeds, the prediction accuracy of the completion time is improved.

また、データコピーが進むにつれて予測精度の高い完了時刻に更新されて画面表示されるので、作業者にとってデータコピーの作業管理が容易となり、運用スケジュールの調整や業務を効率よく遂行することができる。   In addition, as the data copy progresses, it is updated and displayed on the screen with a highly accurate completion time, so that the data copy work management becomes easy for the operator, and the operation schedule adjustment and work can be performed efficiently.

上記で説明した本発明のストレージ装置1、10の処理機能は、コンピュータによって実現することができる。この場合、ストレージ装置1、10が有すべき機能の処理内容を記述したプログラムが提供される。そのプログラムをコンピュータで実行することにより、上記処理機能がコンピュータ上で実現される。   The processing functions of the storage apparatuses 1 and 10 of the present invention described above can be realized by a computer. In this case, a program describing the processing contents of the functions that the storage apparatuses 1 and 10 should have is provided. By executing the program on a computer, the above processing functions are realized on the computer.

処理内容を記述したプログラムは、コンピュータで読み取り可能な記録媒体に記録しておくことができる。コンピュータで読み取り可能な記録媒体としては、磁気記憶装置、光ディスク、光磁気記録媒体、半導体メモリ等がある。磁気記憶装置には、ハードディスク装置(HDD)、フレキシブルディスク(FD)、磁気テープ等がある。光ディスクには、CD−ROM/RW等がある。光磁気記録媒体には、MO(Magneto Optical disk)等がある。   The program describing the processing contents can be recorded on a computer-readable recording medium. Examples of the computer-readable recording medium include a magnetic storage device, an optical disk, a magneto-optical recording medium, and a semiconductor memory. Magnetic storage devices include hard disk devices (HDD), flexible disks (FD), magnetic tapes, and the like. Optical discs include CD-ROM / RW and the like. Magneto-optical recording media include MO (Magneto Optical disk).

プログラムを流通させる場合、例えば、そのプログラムが記録されたCD−ROM等の可搬型記録媒体が販売される。また、プログラムをサーバコンピュータの記憶装置に格納しておき、ネットワークを介して、サーバコンピュータから他のコンピュータにそのプログラムを転送することもできる。   When the program is distributed, for example, a portable recording medium such as a CD-ROM in which the program is recorded is sold. It is also possible to store the program in a storage device of a server computer and transfer the program from the server computer to another computer via a network.

プログラムを実行するコンピュータは、例えば、可搬型記録媒体に記録されたプログラムもしくはサーバコンピュータから転送されたプログラムを、自己の記憶装置に格納する。そして、コンピュータは、自己の記憶装置からプログラムを読み取り、プログラムに従った処理を実行する。なお、コンピュータは、可搬型記録媒体から直接プログラムを読み取り、そのプログラムに従った処理を実行することもできる。   The computer that executes the program stores, for example, the program recorded on the portable recording medium or the program transferred from the server computer in its own storage device. Then, the computer reads the program from its own storage device and executes processing according to the program. The computer can also read the program directly from the portable recording medium and execute processing according to the program.

また、コンピュータは、ネットワークを介して接続されたサーバコンピュータからプログラムが転送される毎に、逐次、受け取ったプログラムに従った処理を実行することもできる。また、上記の処理機能の少なくとも一部を、DSP、ASIC、PLD等の電子回路で実現することもできる。   In addition, each time a program is transferred from a server computer connected via a network, the computer can sequentially execute processing according to the received program. In addition, at least a part of the processing functions described above can be realized by an electronic circuit such as a DSP, ASIC, or PLD.

以上、実施の形態を例示したが、実施の形態で示した各部の構成は同様の機能を有する他のものに置換することができる。また、他の任意の構成物や工程が付加されてもよい。さらに、前述した実施の形態のうちの任意の2以上の構成(特徴)を組み合わせたものであってもよい。   As mentioned above, although embodiment was illustrated, the structure of each part shown by embodiment can be substituted by the other thing which has the same function. Moreover, other arbitrary structures and processes may be added. Further, any two or more configurations (features) of the above-described embodiments may be combined.

(付記1) データ移行元装置から移行されるデータ群の移行先となる記憶装置と、
前記データ群の記憶管理に用いられる記憶管理情報を前記データ移行元装置から取得し、前記記憶管理情報にもとづいて、データサイズが不確定の不確定データと、前記データサイズが確定する確定データとに前記データ群を分類し、前記不確定データを前記データ移行元装置から前記記憶装置へ移行し、前記不確定データの移行に要した移行時間と前記データ移行元装置から前記記憶装置へ前記確定データの移行に要する確定データ移行完了時刻とにもとづいて、前記データ移行元装置から前記記憶装置へ前記確定データおよび前記不確定データを含む前記データ群の移行に要する移行完了時刻を算出し、前記移行完了時刻の算出後に、前記確定データを前記データ移行元装置から前記記憶装置へ移行する制御部と、
を有するストレージ装置。
(Supplementary Note 1) A storage device that is a migration destination of a data group that is migrated from the data migration source device;
Storage management information used for storage management of the data group is acquired from the data migration source device, based on the storage management information, uncertain data whose data size is uncertain, and confirmed data whose data size is fixed Classifying the data group, transferring the indeterminate data from the data migration source device to the storage device, the migration time required for the migration of the indeterminate data, and the decision from the data migration source device to the storage device. Based on the confirmed data migration completion time required for data migration, calculating the migration completion time required for migration of the data group including the confirmed data and the uncertain data from the data migration source device to the storage device, After calculating the migration completion time, a control unit that migrates the confirmed data from the data migration source device to the storage device;
A storage device.

(付記2) 前記制御部は、
前記データ移行元装置から前記記憶装置へ前記不確定データの移行に要する不確定データ移行完了時刻と前記確定データ移行完了時刻とにもとづいて、前記データ移行元装置から前記記憶装置へ前記確定データおよび前記不確定データを含む前記データ群の移行に要する初期移行完了時刻を算出し、
前記初期移行完了時刻の算出後に、前記不確定データを前記データ移行元装置から前記記憶装置へ移行する、
付記1記載のストレージ装置。
(Supplementary Note 2) The control unit
Based on the indeterminate data migration completion time required for the migration of the indeterminate data from the data migration source device to the storage device and the confirmed data migration completion time, the confirmed data and the storage device are transferred from the data migration source device to the storage device. Calculating an initial migration completion time required for migration of the data group including the uncertain data;
After the calculation of the initial migration completion time, the uncertain data is migrated from the data migration source device to the storage device.
The storage device according to attachment 1.

(付記3) 前記制御部は、前記不確定データの記録単位の最大データサイズを設定して、前記最大データサイズにもとづいて前記不確定データ移行完了時刻を算出し、前記確定データの前記データサイズにもとづいて前記確定データ移行完了時刻を算出する付記2記載のストレージ装置。   (Additional remark 3) The said control part sets the maximum data size of the recording unit of the said indefinite data, calculates the said indeterminate data transfer completion time based on the said maximum data size, The said data size of the said fixed data The storage apparatus according to appendix 2, wherein the finalized data migration completion time is calculated based on the above.

(付記4) 前記データ群は、
前記記憶管理情報のうちのVTOC(Volume Table Of Contents)情報にもとづいて前記データサイズが確定できる第1の確定データと、
前記記憶管理情報のうち、前記VTOC情報には含まれない補足情報を有する制御情報と、前記VTOC情報とにもとづいて前記データサイズが確定できる第2の確定データと、
前記VTOC情報と前記制御情報から前記データサイズが確定できない前記不確定データとを有する付記1記載のストレージ装置。
(Appendix 4) The data group is
First confirmed data capable of determining the data size based on VTOC (Volume Table Of Contents) information in the storage management information;
Among the storage management information, control information having supplementary information not included in the VTOC information, second confirmed data in which the data size can be confirmed based on the VTOC information,
The storage device according to appendix 1, comprising the VTOC information and the uncertain data whose data size cannot be determined from the control information.

(付記5) 前記第1の確定データは、順データセットの固定長レコード形式および直接データセットの固定長レコード形式のデータセットであり、
前記第2の確定データは、順データセットの可変長レコード形式および不定長レコード形式のデータセット、区分編成データセットおよび索引順データセットであり、
前記不確定データは、直接データセットの可変長レコード形式および不定長レコード形式のデータセットである、
付記4記載のストレージ装置。
(Supplementary Note 5) The first definite data is a data set of a fixed length record format of a sequential data set and a fixed length record format of a direct data set,
The second definite data is a variable-length record format and an indefinite-length record format data set of a sequential data set, a partitioned data set, and an index-sequence data set,
The indeterminate data is a data set of a variable length record format and an indefinite length record format of a direct data set,
The storage device according to appendix 4.

(付記6) 前記制御部は、
前記初期移行完了時刻の算出処理において、前記初期移行完了時刻の第1の予測精度を算出し、前記初期移行完了時刻と前記第1の予測精度を画面表示し、
前記移行完了時刻の算出処理において、前記移行完了時刻の第2の予測精度を算出し、前記移行完了時刻と前記第2の予測精度を画面表示する、
付記2記載のストレージ装置。
(Appendix 6) The control unit
In the calculation process of the initial transition completion time, the first prediction accuracy of the initial transition completion time is calculated, and the initial transition completion time and the first prediction accuracy are displayed on the screen,
In the calculation process of the transition completion time, the second prediction accuracy of the transition completion time is calculated, and the transition completion time and the second prediction accuracy are displayed on the screen.
The storage device according to attachment 2.

(付記7) コンピュータに、
データ群の記憶管理に用いられる記憶管理情報をデータ移行元装置から取得し、
前記記憶管理情報にもとづいて、データサイズが不確定の不確定データと、前記データサイズが確定する確定データとに前記データ群を分類し、
前記不確定データを前記データ移行元装置から記憶装置へ移行し、
前記不確定データの移行に要した移行時間と前記データ移行元装置から前記記憶装置へ前記確定データの移行に要する確定データ移行完了時刻とにもとづいて、前記データ移行元装置から前記記憶装置へ前記確定データおよび前記不確定データを含む前記データ群の移行に要する移行完了時刻を算出し、
前記移行完了時刻の算出後に、前記確定データを前記データ移行元装置から前記記憶装置へ移行する、
処理を実行させるプログラム。
(Appendix 7)
Obtain storage management information used for storage management of the data group from the data migration source device,
Based on the storage management information, classify the data group into uncertain data whose data size is uncertain and confirmed data whose data size is determined;
Transferring the uncertain data from the data migration source device to a storage device;
Based on the migration time required for the migration of the indeterminate data and the confirmed data migration completion time required for the migration of the confirmed data from the data migration source device to the storage device, the data migration source device to the storage device Calculating a migration completion time required for migration of the data group including the confirmed data and the uncertain data;
After the calculation of the migration completion time, the confirmed data is migrated from the data migration source device to the storage device.
A program that executes processing.

(付記8) データ移行元装置から移行されるデータ群を記憶する記憶装置と、
前記データ移行元装置から前記記憶装置へ前記データ群を移行する制御部と、
を備え、
前記制御部は、
前記データ群に関する記憶管理情報を前記データ移行元装置から取得し、
前記記憶管理情報にもとづいて、データサイズが不確定の不確定データと、前記データサイズが確定する確定データとに前記データ群を分類し、
前記データ移行元装置から前記記憶装置へ前記不確定データの移行に要する時間として予測した不確定データ移行完了時刻と前記データ移行元装置から前記記憶装置へ前記確定データの移行に要する時間として予測した確定データ移行完了時刻とにもとづいて、前記データ移行元装置から前記記憶装置へ前記確定データおよび前記不確定データを含む前記データ群の移行に要する時間として予測される初期移行完了時刻を算出する第1の処理を行い、
前記第1の処理後に、前記不確定データを前記データ移行元装置から前記記憶装置へ移行し、
前記データ移行元装置から前記記憶装置へ移行された前記不確定データの移行時間と前記確定データ移行完了時刻とにもとづいて、前記データ移行元装置から前記記憶装置へ前記確定データおよび前記不確定データを含む前記データ群の移行に要する時間として予測される移行完了時刻を算出する第2の処理を行い、
前記第2の処理後に、前記確定データを前記データ移行元装置から前記記憶装置へ移行する、
ストレージ装置。
(Supplementary Note 8) A storage device that stores a data group to be migrated from the data migration source device;
A control unit that migrates the data group from the data migration source device to the storage device;
With
The controller is
Obtaining storage management information related to the data group from the data migration source device;
Based on the storage management information, classify the data group into uncertain data whose data size is uncertain and confirmed data whose data size is determined;
Indeterminate data migration completion time predicted as the time required for the transfer of the uncertain data from the data migration source device to the storage device and the time required for the transfer of the determined data from the data migration source device to the storage device Based on the confirmed data migration completion time, an initial migration completion time that is predicted as a time required to migrate the data group including the confirmed data and the indeterminate data from the data migration source device to the storage device is calculated. 1 process,
After the first processing, the uncertain data is migrated from the data migration source device to the storage device,
Based on the migration time of the indeterminate data migrated from the data migration source device to the storage device and the confirmed data migration completion time, the confirmed data and the indeterminate data from the data migration source device to the storage device. Performing a second process of calculating a migration completion time predicted as a time required for migration of the data group including:
After the second processing, the confirmed data is migrated from the data migration source device to the storage device.
Storage device.

1 ストレージ装置
1a 記憶装置
1b 制御部
2 記憶装置(データ移行元装置)
1 storage device 1a storage device 1b control unit 2 storage device (data migration source device)

Claims (7)

データ移行元装置から移行されるデータ群の移行先となる記憶装置と、
前記データ群の記憶管理に用いられる記憶管理情報を前記データ移行元装置から取得し、前記記憶管理情報にもとづいて、データサイズが不確定の不確定データと、前記データサイズが確定する確定データとに前記データ群を分類し、前記不確定データを前記データ移行元装置から前記記憶装置へ移行し、前記不確定データの移行に要した移行時間と前記データ移行元装置から前記記憶装置へ前記確定データの移行に要する確定データ移行完了時刻とにもとづいて、前記データ移行元装置から前記記憶装置へ前記確定データおよび前記不確定データを含む前記データ群の移行に要する移行完了時刻を算出し、前記移行完了時刻の算出後に、前記確定データを前記データ移行元装置から前記記憶装置へ移行する制御部と、
を有するストレージ装置。
A storage device as a migration destination of a data group migrated from the data migration source device;
Storage management information used for storage management of the data group is acquired from the data migration source device, based on the storage management information, uncertain data whose data size is uncertain, and confirmed data whose data size is fixed Classifying the data group, transferring the indeterminate data from the data migration source device to the storage device, the migration time required for the migration of the indeterminate data, and the decision from the data migration source device to the storage device. Based on the confirmed data migration completion time required for data migration, calculating the migration completion time required for migration of the data group including the confirmed data and the uncertain data from the data migration source device to the storage device, After calculating the migration completion time, a control unit that migrates the confirmed data from the data migration source device to the storage device;
A storage device.
前記制御部は、
前記データ移行元装置から前記記憶装置へ前記不確定データの移行に要する不確定データ移行完了時刻と前記確定データ移行完了時刻とにもとづいて、前記データ移行元装置から前記記憶装置へ前記確定データおよび前記不確定データを含む前記データ群の移行に要する初期移行完了時刻を算出し、
前記初期移行完了時刻の算出後に、前記不確定データを前記データ移行元装置から前記記憶装置へ移行する、
請求項1記載のストレージ装置。
The controller is
Based on the indeterminate data migration completion time required for the migration of the indeterminate data from the data migration source device to the storage device and the confirmed data migration completion time, the confirmed data and the storage device are transferred from the data migration source device to the storage device. Calculating an initial migration completion time required for migration of the data group including the uncertain data;
After the calculation of the initial migration completion time, the uncertain data is migrated from the data migration source device to the storage device.
The storage apparatus according to claim 1.
前記制御部は、前記不確定データの記録単位の最大データサイズを設定して、前記最大データサイズにもとづいて前記不確定データ移行完了時刻を算出し、前記確定データの前記データサイズにもとづいて前記確定データ移行完了時刻を算出する請求項2記載のストレージ装置。   The control unit sets a maximum data size of a recording unit of the indeterminate data, calculates the indeterminate data migration completion time based on the maximum data size, and based on the data size of the established data The storage apparatus according to claim 2, wherein a fixed data migration completion time is calculated. 前記データ群は、
前記記憶管理情報のうちのVTOC(Volume Table Of Contents)情報にもとづいて前記データサイズが確定できる第1の確定データと、
前記記憶管理情報のうち、前記VTOC情報には含まれない補足情報を有する制御情報と、前記VTOC情報とにもとづいて前記データサイズが確定できる第2の確定データと、
前記VTOC情報と前記制御情報から前記データサイズが確定できない前記不確定データとを有する請求項1記載のストレージ装置。
The data group is:
First confirmed data capable of determining the data size based on VTOC (Volume Table Of Contents) information in the storage management information;
Among the storage management information, control information having supplementary information not included in the VTOC information, second confirmed data in which the data size can be confirmed based on the VTOC information,
The storage apparatus according to claim 1, further comprising: the uncertain data in which the data size cannot be determined from the VTOC information and the control information.
前記第1の確定データは、順データセットの固定長レコード形式および直接データセットの固定長レコード形式のデータセットであり、
前記第2の確定データは、順データセットの可変長レコード形式および不定長レコード形式のデータセット、区分編成データセットおよび索引順データセットであり、
前記不確定データは、直接データセットの可変長レコード形式および不定長レコード形式のデータセットである、
請求項4記載のストレージ装置。
The first definite data is a data set of a fixed length record format of a sequential data set and a fixed length record format of a direct data set;
The second definite data is a variable-length record format and an indefinite-length record format data set of a sequential data set, a partitioned data set, and an index-sequence data set,
The indeterminate data is a data set of a variable length record format and an indefinite length record format of a direct data set,
The storage apparatus according to claim 4.
前記制御部は、
前記初期移行完了時刻の算出処理において、前記初期移行完了時刻の第1の予測精度を算出し、前記初期移行完了時刻と前記第1の予測精度を画面表示し、
前記移行完了時刻の算出処理において、前記移行完了時刻の第2の予測精度を算出し、前記移行完了時刻と前記第2の予測精度を画面表示する、
請求項2記載のストレージ装置。
The controller is
In the calculation process of the initial transition completion time, the first prediction accuracy of the initial transition completion time is calculated, and the initial transition completion time and the first prediction accuracy are displayed on the screen,
In the calculation process of the transition completion time, the second prediction accuracy of the transition completion time is calculated, and the transition completion time and the second prediction accuracy are displayed on the screen.
The storage apparatus according to claim 2.
コンピュータに、
データ群の記憶管理に用いられる記憶管理情報をデータ移行元装置から取得し、
前記記憶管理情報にもとづいて、データサイズが不確定の不確定データと、前記データサイズが確定する確定データとに前記データ群を分類し、
前記不確定データを前記データ移行元装置から記憶装置へ移行し、
前記不確定データの移行に要した移行時間と前記データ移行元装置から前記記憶装置へ前記確定データの移行に要する確定データ移行完了時刻とにもとづいて、前記データ移行元装置から前記記憶装置へ前記確定データおよび前記不確定データを含む前記データ群の移行に要する移行完了時刻を算出し、
前記移行完了時刻の算出後に、前記確定データを前記データ移行元装置から前記記憶装置へ移行する、
処理を実行させるプログラム。
On the computer,
Obtain storage management information used for storage management of the data group from the data migration source device,
Based on the storage management information, classify the data group into uncertain data whose data size is uncertain and confirmed data whose data size is determined;
Transferring the uncertain data from the data migration source device to a storage device;
Based on the migration time required for the migration of the indeterminate data and the confirmed data migration completion time required for the migration of the confirmed data from the data migration source device to the storage device, the data migration source device to the storage device Calculating a migration completion time required for migration of the data group including the confirmed data and the uncertain data;
After the calculation of the migration completion time, the confirmed data is migrated from the data migration source device to the storage device.
A program that executes processing.
JP2018043709A 2018-03-12 2018-03-12 Storage devices and programs Active JP6955167B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018043709A JP6955167B2 (en) 2018-03-12 2018-03-12 Storage devices and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018043709A JP6955167B2 (en) 2018-03-12 2018-03-12 Storage devices and programs

Publications (2)

Publication Number Publication Date
JP2019159621A true JP2019159621A (en) 2019-09-19
JP6955167B2 JP6955167B2 (en) 2021-10-27

Family

ID=67996422

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018043709A Active JP6955167B2 (en) 2018-03-12 2018-03-12 Storage devices and programs

Country Status (1)

Country Link
JP (1) JP6955167B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007172295A (en) * 2005-12-22 2007-07-05 Mitsubishi Electric Corp Shared data information display device, shared data information display system, and shared data information display method
JP2009288912A (en) * 2008-05-28 2009-12-10 Hitachi Ltd Method, apparatus, program and system for migrating nas system
JP2014021691A (en) * 2012-07-18 2014-02-03 Nec Corp Data backup device, data backup method and program of data backup
WO2016121108A1 (en) * 2015-01-30 2016-08-04 株式会社日立製作所 Storage device management method and computer system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007172295A (en) * 2005-12-22 2007-07-05 Mitsubishi Electric Corp Shared data information display device, shared data information display system, and shared data information display method
JP2009288912A (en) * 2008-05-28 2009-12-10 Hitachi Ltd Method, apparatus, program and system for migrating nas system
JP2014021691A (en) * 2012-07-18 2014-02-03 Nec Corp Data backup device, data backup method and program of data backup
WO2016121108A1 (en) * 2015-01-30 2016-08-04 株式会社日立製作所 Storage device management method and computer system

Also Published As

Publication number Publication date
JP6955167B2 (en) 2021-10-27

Similar Documents

Publication Publication Date Title
JP4690783B2 (en) Volume management system and method
JP4576923B2 (en) Storage system storage capacity management method
JP5123641B2 (en) Performance history management method and performance history management system
JP2019016320A (en) Storage control device and storage control program
JP5991701B2 (en) Storage management method, storage management system, computer system, and program
TW201250471A (en) Managing data placement on flash-based storage by use
JP5565157B2 (en) Data processing apparatus, data processing method, data processing program, and storage apparatus
JP2008015623A (en) Controller of storage system equipped with many kinds of storage devices
JP4935331B2 (en) Storage system, storage area selection method and program
US20160154712A1 (en) Flash copy for disaster recovery (dr) testing
JP2006072789A (en) Storage system and data management device of the same
JP2007072813A (en) Storage system, file migration method and computer program
US20080270698A1 (en) Data migration including operation environment information of a host computer
JP2010086049A (en) Management computer and operation method thereof
WO2012131753A1 (en) Storage system and performance management method of storage system
JP6100404B2 (en) Computer system and method for controlling hierarchical storage thereof
JP6955167B2 (en) Storage devices and programs
US8688938B2 (en) Data copying
JP7323769B2 (en) Storage devices, storage systems and programs
WO2015029198A1 (en) Storage system
CN110018949A (en) A kind of general journal management method and system based on IPMI protocol
JP2016143166A (en) Control apparatus, storage system, and control program
US9733863B1 (en) Correlating storage rings
US10268411B1 (en) Policy and heuristic based conversion of write-optimized virtual disk format into read-optimized virtual disk format
JP2015132987A (en) Information processing apparatus, data copying management method, and data copying management program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201210

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20201217

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20201217

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210826

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210831

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210913

R150 Certificate of patent or registration of utility model

Ref document number: 6955167

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150