JP2003330624A - Extra disk assignment system and its method - Google Patents

Extra disk assignment system and its method

Info

Publication number
JP2003330624A
JP2003330624A JP2002138616A JP2002138616A JP2003330624A JP 2003330624 A JP2003330624 A JP 2003330624A JP 2002138616 A JP2002138616 A JP 2002138616A JP 2002138616 A JP2002138616 A JP 2002138616A JP 2003330624 A JP2003330624 A JP 2003330624A
Authority
JP
Japan
Prior art keywords
disk
work group
work
job
physical
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.)
Pending
Application number
JP2002138616A
Other languages
Japanese (ja)
Inventor
Takahiro Matsubara
孝浩 松原
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.)
NEC Solution Innovators Ltd
Original Assignee
NEC Software Chubu 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 NEC Software Chubu Ltd filed Critical NEC Software Chubu Ltd
Priority to JP2002138616A priority Critical patent/JP2003330624A/en
Publication of JP2003330624A publication Critical patent/JP2003330624A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide an extra disk assignment system for dividing a disk group into a sub-disk group and an extra disk group, and for executing input/output load decentralization by the dynamic assembly and restoration of a disk according to the load condition of the sub-disk group. <P>SOLUTION: This preliminary disk assignment method is provided with an assignment means for assigning one physical disk among a plurality of physical disks configuring a work group to which each inputted job is belonging to the job, a means for judging whether or not the mean access frequency of all physical disks in the work group to be accessed by all the inputted jobs belonging to the work group is higher than the upper limit value of the work group for each work group, and a means for adding the extra disk as a physical disk configuring the work group whose access frequency is judged to be higher than the upper limit value. <P>COPYRIGHT: (C)2004,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、ジョブへのディス
ク割り当て方式に関し、特に、ディスクに対する入出力
の頻度に応じて動的に割り当てを変更する、ジョブへの
ディスク割当方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a disk allocation method for jobs, and more particularly to a disk allocation method for jobs that dynamically changes allocation according to the frequency of input / output to / from a disk.

【0002】[0002]

【従来の技術】利用者プログラムのプライオリティ値に
応じた性能のディスク装置から一時ファイルを割り当て
るシステムの一例が、特開平07−084840号公報
に記載されている。
2. Description of the Related Art An example of a system for allocating a temporary file from a disk device having a performance according to a priority value of a user program is described in Japanese Patent Laid-Open No. 07-084840.

【0003】この公報に記載された一時ファイル作成の
ためのディスク割り当て方法では、電子ディスク及び磁
気ディスクをそれぞれ性能に応じてディスク群にグルー
プ化し、プライオリティ値とディスク群との対応表を保
持した表から、利用者プログラムにディスク群の中のデ
ィスクを割り当てる仕組みになっている。
In the disk allocation method for creating a temporary file described in this publication, a table holding electronic disks and magnetic disks grouped into disk groups according to their performance and holding a correspondence table between priority values and disk groups. Since then, the disk of the disk group is assigned to the user program.

【0004】[0004]

【発明が解決しようとする課題】しかしこの従来技術に
は次のような問題があった。この仕組みでは、対応表か
らディスク群を決定した後、利用者プログラムにサブデ
ィスク群内の最適なディスクを割り当てるが、多数の利
用者プログラムが1つのサブディスク群を使用する場合
において、サブディスク群内のボリューム数は固定であ
るため、1つのディスクを複数の利用者プログラム間で
使用することになり、ディスクに対する入出力待ちや割
り当て待ちが発生する問題がある。この問題が発生する
原因は、サブディスク群内のディスク構成があらかじめ
設定した構成しか使用できず、運用中にサブディスク群
の構成を変更できないということにある。
However, this conventional technique has the following problems. In this mechanism, after determining the disk group from the correspondence table, the optimum disk in the sub disk group is assigned to the user program, but when many user programs use one sub disk group, the sub disk group Since the number of volumes in the disk is fixed, one disk is used among a plurality of user programs, which causes a problem of waiting for input / output and allocation of the disk. The cause of this problem is that the disk configuration in the sub-disk group can use only the preset configuration and the configuration of the sub-disk group cannot be changed during operation.

【0005】本発明は、ディスク群を、サブディスク群
と予備ディスク群に分け、サブディスク群の負荷状況に
応じて、ディスクの動的組込み及び取戻しにて入出力負
荷分散を図った予備ディスク割り当て方式を提供するこ
とを目的とする。
According to the present invention, a disk group is divided into a sub disk group and a spare disk group, and spare disk allocation in which the input / output load is distributed by dynamically installing and retrieving disks according to the load status of the sub disk group. The purpose is to provide a scheme.

【0006】[0006]

【課題を解決するための手段】本発明によれば、投入さ
れた各ジョブに対して、ジョブが属するワークグループ
であって複数の物理ディスクより構成されるもののうち
の1の物理ディスクを割り当てる割当手段と、各前記ワ
ークグループ毎に、当該ワークグループに属する投入さ
れた全てのジョブによりアクセスされる当該ワークグル
ープ内の全ての物理ディスクについての平均アクセス頻
度が当該ワークグループについての上限値よりも高いか
否かを判断する手段と、前記平均アクセス頻度が前記上
限値よりも高いと判断されたワークグループについて、
当該ワークグループを構成する物理ディスクとして予備
ディスクを追加する手段と、を備えることを特徴とする
予備ディスク割当方式が提供される。
According to the present invention, for each job that is submitted, one physical disk out of a work group to which the job belongs and which is composed of a plurality of physical disks is assigned. Means, and for each work group, the average access frequency for all physical disks in the work group that are accessed by all submitted jobs belonging to the work group is higher than the upper limit value for the work group. Means for determining whether or not, and the work group in which the average access frequency is determined to be higher than the upper limit,
And a means for adding a spare disk as a physical disk constituting the work group, and a spare disk allocation method is provided.

【0007】上記の予備ディスク割当方式は、各前記ワ
ークグループ毎に、当該ワークグループに属する投入さ
れた全てのジョブによりアクセスされる当該ワークグル
ープ内の全ての物理ディスクについての平均アクセス頻
度が当該ワークグループについての下限値よりも低いか
否かを判断する手段と、前記平均アクセス頻度が前記下
限値よりも低いと判断されたワークグループについて、
追加されている予備ディスクを削除する手段と、を更に
備えてもよい。
In the above-mentioned spare disk allocation method, the average access frequency for all physical disks in the work group that are accessed by all jobs that belong to the work group for each work group is the work group. A means for determining whether the average access frequency is lower than the lower limit value for the group, and a work group for which the average access frequency is determined to be lower than the lower limit value,
And means for deleting the added spare disk.

【0008】上記の予備ディスク割当方式は、前記上限
値を更新する手段を更に備えてもよい。
The above spare disk allocation method may further comprise means for updating the upper limit value.

【0009】上記の予備ディスク割当方式は、前記下限
値を更新する手段を更に備えてもよい。
The above spare disk allocation method may further comprise means for updating the lower limit value.

【0010】上記の予備ディスク割当方式は、前記平均
アクセス頻度が前記上限値よりも高いと判断されたワー
クグループについて、当該ワークグループに追加されて
いる予備ディスクの数が所定値に達しているときには、
当該ワークグループを構成する物理ディスクとしての予
備ディスクの更なる追加を行わない手段を更に備えても
よい。
In the above-mentioned spare disk allocation method, for the work group whose average access frequency is judged to be higher than the upper limit value, when the number of spare disks added to the work group reaches a predetermined value. ,
It is possible to further include a unit that does not add a spare disk as a physical disk configuring the work group.

【0011】上記の予備ディスク割当方式において、前
記割当手段は、ジョブ記述文に記載されたジョブの投入
要求を受け付ける手段と、前記投入要求のあった前記ジ
ョブの種別に対応したワークグループを、ジョブ種別と
ワークグループとの対応関係を格納したテーブルから検
索する手段と、前記検索されたワークグループを構成す
る物理ディスクを、各物理ディスクとワークグループと
の対応関係を格納したテーブルから検索する手段と、前
記検索された物理ディスクのうち最も入出力回数の低い
ディスク名を検索する手段と、前記投入要求のあった前
記ジョブに対して前記最も入出力回数の低いディスク名
の物理ディスクを割り当てる手段と、を備えてもよい。
In the above-mentioned spare disk allocating method, the allocating means defines a means for receiving a job submission request described in a job description statement, and a workgroup corresponding to the type of the job for which the submission request is made. A means for searching a table storing the correspondence between types and work groups; and a means for searching the table storing the correspondence between each physical disk and the work group for the physical disks constituting the searched work group. A means for retrieving the disk name with the lowest I / O count among the retrieved physical disks, and a means for allocating the physical disk with the lowest I / O count for the job that has been submitted. , May be provided.

【0012】[0012]

【発明の実施の形態】[実施形態1]本発明は、ジョブ
の実行中に使用される作業用の一時ファイル(ソート、
マージ等に用いる作業ファイル)の作成されるワークデ
ィスクが複数の物理ディスクから構成されたコンピュー
タシステムにおいて、ワークディスクが複数のワークデ
ィスクグループに設定され、そのうちの1つのグループ
を予備のディスクグループとして設定し、ワークディス
クグループへの入出力の負荷状況(時間当たりの入出力
回数)を監視して、予備のディスクグループからワーク
ディスクグループへのディスクの動的組込みと予備のデ
ィスクグループへの動的取戻しを行う手段を有し、ジョ
ブで使用するワークディスクへの負荷分散を行い、シス
テムの運用性向上を可能とする。
BEST MODE FOR CARRYING OUT THE INVENTION [First Embodiment] The present invention relates to a temporary work file (sort,
In a computer system in which a work disk (for work files used for merging) is composed of multiple physical disks, the work disk is set to multiple work disk groups, and one of them is set as a spare disk group. The work disk group's I / O load status (the number of I / Os per hour) is monitored, and disks are dynamically installed from the spare disk group to the work disk group and dynamically restored to the spare disk group. It is possible to improve the operability of the system by distributing the load to the work disk used for the job.

【0013】図1で示す実施形態は、一時ファイルを用
いてソート等の業務を行うジョブ記述文1と、ジョブ実
行制御部10と、ジョブ11、12、13、14と、入
出力機構部20と、ディスク入出力情報テーブル30
と、ワークディスク群40と、ワークディスクグループ
管理制御部50と、本発明における新規制御部であるワ
ークディスク制御部60とを含む。
In the embodiment shown in FIG. 1, a job description statement 1 for performing a task such as sorting using a temporary file, a job execution control unit 10, jobs 11, 12, 13, 14 and an input / output mechanism unit 20. And the disk input / output information table 30
A work disk group 40, a work disk group management control unit 50, and a work disk control unit 60 which is a new control unit in the present invention.

【0014】ワークディスク群40は、それぞれ物理デ
ィスク41から構成されるワークディスクグループ4
2、43、44と、予備ディスクグループ45とを備え
ている。
The work disk group 40 is a work disk group 4 composed of physical disks 41.
2, 43, 44 and a spare disk group 45 are provided.

【0015】ワークディスク制御部60は、動的構成設
定部61と、ワークディスクグループ管理テーブル62
と、ワークディスク情報テーブル63とを備えている。
The work disk control unit 60 includes a dynamic configuration setting unit 61 and a work disk group management table 62.
And a work disk information table 63.

【0016】図2はワークディスクグループ管理テーブ
ル62とワークディスク情報テーブル63の一例を示し
ている。ワークディスクグループ管理テーブル62は、
ワークディスクグループ名101と、ジョブ種別102
と、単位時間当りのワークディスクグループへの最大入
出力回数103と、最小入出力回数104との情報を備
えており、動的構成設定部61によって参照/更新され
る。ワークディスク情報テーブル105は、ディスク名
105と、用途106と、ワークディスクグループ名1
07と、割り当てカウンタ108とを備えており、動的
構成設定部61から参照/更新される。ワークディスク
グループ管理テーブル62において、ジョブ種別毎にワ
ークグループが割り当てられている。割当の基準として
は、例えば、ジョブ種別毎の優先度が用いられる。
FIG. 2 shows an example of the work disk group management table 62 and the work disk information table 63. The work disk group management table 62 is
Work disk group name 101 and job type 102
And the maximum number of input / output 103 to the work disk group per unit time and the minimum number of input / output 104, which are referred to / updated by the dynamic configuration setting unit 61. The work disk information table 105 includes a disk name 105, a purpose 106, and a work disk group name 1
07 and an allocation counter 108, which are referenced / updated by the dynamic configuration setting unit 61. In the work disk group management table 62, work groups are assigned for each job type. For example, a priority for each job type is used as the allocation standard.

【0017】ジョブ実行前の環境定義として、ワークデ
ィスクグループ管理テーブル62内のワークディスクグ
ループ名101と、ジョブ種別102と、最大入出力回
数103と、最小入出力回数104を設定する。さら
に、ワークディスク情報テーブル63のディスク名10
5と、用途106と、ワークディスクグループ名107
も同様に設定する。なお、用途106には「ワーク」と
「予備」の2種類があり、「ワーク」と選択された場合
には、ワークディスクグループ名を設定する必要があ
る。
A work disk group name 101, a job type 102, a maximum input / output count 103, and a minimum input / output count 104 in the work disk group management table 62 are set as environment definitions before job execution. Furthermore, the disk name 10 of the work disk information table 63
5, use 106, and work disk group name 107
Is set in the same way. There are two types of applications 106, “work” and “spare”. When “work” is selected, it is necessary to set a work disk group name.

【0018】ジョブ実行制御部10は、ジョブ実行開始
時にワークディスクグループ管理制御部50にディスク
確保要求を行い、各ジョブに物理ディスク41を割り当
て、ジョブの実行終了時に、ワークディスクグループ管
理制御部50にディスク解放要求を行う機能を備えてい
る。
The job execution control unit 10 issues a disk reservation request to the work disk group management control unit 50 at the start of job execution, allocates the physical disk 41 to each job, and at the end of job execution, the work disk group management control unit 50. It is equipped with a function for making a disk release request.

【0019】入出力機構部20は、物理ディスク41へ
の入出力を行うとともに、入出力が行われるとディスク
入出力情報テーブル30を更新する機能を備えている。
ディスク入出力情報テーブル30は、物理ディスク41
毎の入出力回数の情報を保持している。
The input / output mechanism section 20 has a function of performing input / output to / from the physical disk 41 and updating the disk input / output information table 30 when the input / output is performed.
The disk input / output information table 30 is a physical disk 41.
It holds information on the number of inputs and outputs for each.

【0020】ワークディスクグループ管理制御部50
は、ディスク確保要求をジョブ実行制御部10から受け
た場合には、ジョブ種別情報とともにその要求を動的構
成設定部61に通知し、これより取得する物理ディスク
情報をジョブ実行制御部10に返却し、またディスク解
放要求をジョブ実行制御部10から受けた場合には、ジ
ョブで使用していたディスクのディスク名の情報ととも
にその要求を動的構成設定部61に通知する機能を備え
ている。
Work disk group management controller 50
When a disk allocation request is received from the job execution control unit 10, the job allocation information is notified to the dynamic configuration setting unit 61 along with the job type information, and the physical disk information acquired from this is returned to the job execution control unit 10. In addition, when a disk release request is received from the job execution control unit 10, it has a function of notifying the dynamic configuration setting unit 61 of the request together with the disk name information of the disk used in the job.

【0021】動的構成設定部61は、ディスク確保要求
をワークディスクグループ管理制御部50から受けた場
合に、ワークディスクグループ管理テーブル62及びワ
ークディスク情報テーブル63を検索して最適な物理デ
ィスク情報をワークディスクグループ管理制御部50に
返却し、ディスク解放要求をワークディスクグループ管
理制御部50から受けた場合には、この要求に基づきワ
ークディスク情報テーブル63を更新する機能を備えて
いる。また、動的構成設定部61は一定時間間隔に動作
し、ディスク入出力情報テーブル30を元に各ワークデ
ィスクグループの平均入出力回数を算出し、ワークディ
スクグループ管理テーブル62に設定されている最大入
出力回数及び最小入出力回数と比較して、ワークディス
ク情報テーブル63に設定されている各ワークディスク
グループ情報を更新する機能を備えている。
When a dynamic disk setting request is received from the work disk group management control unit 50, the dynamic configuration setting unit 61 searches the work disk group management table 62 and the work disk information table 63 to find the optimum physical disk information. When the disk is returned to the work disk group management control unit 50 and a disk release request is received from the work disk group management control unit 50, the work disk information table 63 is updated based on this request. Further, the dynamic configuration setting unit 61 operates at regular time intervals, calculates the average number of input / output times of each work disk group based on the disk input / output information table 30, and sets the maximum value set in the work disk group management table 62. It has a function of updating each work disk group information set in the work disk information table 63 by comparing the input / output count and the minimum input / output count.

【0022】次に、図1、図2で構成された環境におけ
る実行されるジョブ実行時の動作を、図3のシーケンス
チャートと図4のフローチャートを用いて説明する。図
3はジョブ実行から終了までの処理の流れを示し、図4
はジョブ実行中の処理手順を示す。
Next, the operation at the time of executing a job executed in the environment configured by FIGS. 1 and 2 will be described with reference to the sequence chart of FIG. 3 and the flowchart of FIG. FIG. 3 shows the flow of processing from job execution to end, and FIG.
Indicates a processing procedure during job execution.

【0023】はじめにジョブ実行から終了までの動作を
説明する。
First, the operation from job execution to completion will be described.

【0024】図3のシーケンスチャートを参照すると、
ジョブ記述文1に記載されたジョブの投入要求(ステッ
プA1)を受け付けたジョブ実行制御部10は(ステッ
プA2)、ワークディスクグループ管理制御部50に対
して、ジョブ種別情報を渡してディスク確保要求を行い
(ステップA3)、要求を受けたワークディスクグルー
プ管理制御部50はその要求を動的構成設定部61に渡
す(ステップA4)。動的構成設定部61は、ジョブ種
別をキーにワークディスクグループ管理テーブル62を
検索し、ジョブ種別に対応したワークディスクグループ
名を得る(ステップA5)。さらに、ワークディスク情報
テーブル63内をステップA5で得られたワークディス
クグループ名をキーにして複数のディスク名を検索した
後(ステップA6)、ステップA6で検索したディスク名
のうちディスク入出力情報テーブル30から最も入出力
回数の低いディスク名を検索し(ステップA7)、ワーク
ディスク情報テーブル63の割り当てカウンタを1つ上
げる(ステップA8)。その後、ワークディスクグループ
管理制御部50に対してステップA7で検索したディス
ク名を通知し(ステップA9)、ワークディスクグルー
プ管理制御部50は、ジョブ実行制御部10にそのディ
スク名を通知する(ステップA10)。ディスク名を通
知されたジョブ実行制御部10はジョブに対して通知さ
れたディスク名の物理ディスク41を割り当て(ステッ
プA11)、ジョブの実行を開始する(ステップA1
2)。
Referring to the sequence chart of FIG. 3,
The job execution control unit 10 that has received the job submission request (step A1) described in the job description 1 (step A2) passes the job type information to the work disk group management control unit 50 to request a disk allocation request. (Step A3), and the work disk group management control unit 50 that has received the request passes the request to the dynamic configuration setting unit 61 (Step A4). The dynamic configuration setting unit 61 searches the work disk group management table 62 using the job type as a key, and obtains the work disk group name corresponding to the job type (step A5). Further, after a plurality of disk names are searched in the work disk information table 63 by using the work disk group name obtained in step A5 as a key (step A6), the disk input / output information table among the disk names searched in step A6 The disk name with the lowest I / O count is searched from 30 (step A7), and the allocation counter of the work disk information table 63 is incremented by 1 (step A8). Thereafter, the work disk group management control unit 50 is notified of the disk name retrieved in step A7 (step A9), and the work disk group management control unit 50 notifies the job execution control unit 10 of the disk name (step S9). A10). The job execution control unit 10 notified of the disk name allocates the physical disk 41 having the notified disk name to the job (step A11) and starts executing the job (step A1).
2).

【0025】ジョブ実行(ステップA13)の後、ジョ
ブの終了時(ステップA14)には、ジョブの終了を認
識したジョブ実行制御部10が、そのジョブが使用して
いたディスク名とともにワークディスクグループ管理制
御部50にディスク解放要求を行い(ステップA1
5)、要求を受けたワークディスクグループ管理制御部
50はその要求を動的構成設定部61に渡す(ステップ
A16)。動的構成設定部61はワークディスク情報テ
ーブル63内のジョブが使用していたディスクの割り当
てカウンタを1つ下げる(ステップA17)。
After the job is executed (step A13), at the end of the job (step A14), the job execution control unit 10 that recognizes the end of the job manages the work disk group together with the disk name used by the job. A disk release request is issued to the control unit 50 (step A1
5) Upon receipt of the request, the work disk group management control unit 50 passes the request to the dynamic configuration setting unit 61 (step A16). The dynamic configuration setting unit 61 decrements the disk allocation counter used by the job in the work disk information table 63 by one (step A17).

【0026】次にジョブ実行中における動作を説明す
る。
Next, the operation during job execution will be described.

【0027】入出力機構部20はジョブよりディスクへ
の入出力が行われた際に動作し、ディスク入出力情報テ
ーブル30を更新する。動的構成設定部61は一定時間
間隔毎に動作し、ディスク入出力情報テーブル30を監
視して全てのワークディスクグループに対して、下記
(A)と(B)の処理を行う。
The input / output mechanism section 20 operates when the job inputs / outputs to / from the disk and updates the disk input / output information table 30. The dynamic configuration setting unit 61 operates at regular time intervals, monitors the disk input / output information table 30 and performs the following processes (A) and (B) for all work disk groups.

【0028】(A)動的組込み これは、予備のディスクをワークディスクグループに組
込む処理であり、次のように行われる。
(A) Dynamic incorporation This is a process of incorporating a spare disk into a work disk group, and is performed as follows.

【0029】図2のフローチャートを参照すると、動的
構成設定部61は、ワークディスクグループ管理テーブ
ル62からワークディスクグループを取得し(ステップ
B1)、予備ディスクを含んだワークディスクグループ
の平均入出力回数(各ディスクの単位時間当りの入出力
回数の合計/ディスク数)を算出して(ステップB2)、
この回数をワークディスクグループ管理テーブル62に
設定された最大入出力回数と比較する(ステップB3)。
平均入出力回数の方が上回っている場合には、ワークデ
ィスク情報テーブル63内を、用途が「予備」に設定し
てあり、かつワークディスクグループ名が設定されてい
ないディスク名を検索し、検索されたディスク名に当該
ワークディスクグループ名を設定する(ステップB4)。
この動的組込みにおけるディスクイメージ例及びワーク
ディスク情報テーブルの遷移例を、図5に示す。
Referring to the flowchart of FIG. 2, the dynamic configuration setting unit 61 acquires a work disk group from the work disk group management table 62 (step B1), and the average number of input / output times of the work disk group including the spare disk. Calculate (total number of I / Os per unit time of each disk / number of disks) (step B2),
This number is compared with the maximum input / output number set in the work disk group management table 62 (step B3).
If the average input / output count is higher than the average number of input / output times, the work disk information table 63 is searched for a disk name for which the usage is set to “spare” and a work disk group name is not set, and a search is performed. The work disk group name is set to the created disk name (step B4).
FIG. 5 shows a disk image example and a work disk information table transition example in this dynamic incorporation.

【0030】(B)動的取戻し これは、ワークディスクグループに組込まれた予備のデ
ィスクを予備ディスクグループに取戻す処理であり、次
のように行われる。
(B) Dynamic recovery This is a process for recovering the spare disk incorporated in the work disk group to the spare disk group, and is performed as follows.

【0031】動的構成設定部61は、ステップB3で平
均入出力回数が最大入出力回数より大きくないことが判
断されたならば、予備ディスクを除いたワークディスク
グループの平均入出力回数(各ディスクの単位時間当り
の入出力回数の合計/ディスク数)を算出して(ステップ
B5)、この回数をワークディスクグループ管理テーブ
ル62に設定された最小入出力回数と比較する(ステッ
プB6)。平均入出力回数の方が下回っている場合に
は、ワークディスク情報テーブル63内を、ワークディ
スクグループ名をキーにして、用途が「予備」に設定さ
れていて当該ワークディスクグループ名が設定されてい
るディスク名を検索し、検索されたディスクのうち、割
り当てカウンタが0となっているディスクからワークデ
ィスクグループ名を削除する(ステップB7)。取戻しに
おけるディスクイメージ例及びワークディスク情報テー
ブルの遷移例を、図6に示す。
If it is determined in step B3 that the average I / O count is not greater than the maximum I / O count, the dynamic configuration setting unit 61 determines the average I / O count of the work disk group excluding the spare disk (each disk (Total number of input / output times per unit time / number of disks) is calculated (step B5), and this number is compared with the minimum number of input / output times set in the work disk group management table 62 (step B6). If the average I / O count is lower than the average, the work disk information table 63 is set with the work disk group name as a key, the usage is set to "spare", and the work disk group name is set. The disk name is searched for, and the work disk group name is deleted from the searched disks whose allocation counter is 0 (step B7). FIG. 6 shows an example of a disk image and a transition example of the work disk information table in retrieving.

【0032】上記(A)又は(B)の処理を終えた時点
で、未処理のワークディスクグループが残っている場合
は(ステップB8でNO)、引き続き残りのワークディス
クグループに対して処理を継続する(ステップB1〜B
7)。
At the time when the processing of (A) or (B) is finished, if there is an unprocessed work disk group (NO in step B8), the processing is continued for the remaining work disk groups. Yes (Steps B1 to B
7).

【0033】[実施形態2]実施形態2は、ワークディ
スクグループ管理テーブル62の最大入出力回数103
と最小入出力回数104の値をジョブ実行中に動的に変
更可能とするという点で実施形態1と異なる。
[Second Embodiment] In the second embodiment, the maximum number of input / output operations 103 of the work disk group management table 62 is 103.
The difference from the first embodiment is that the value of the minimum input / output count 104 can be dynamically changed during job execution.

【0034】本実施形態では、図7を参照すると、ワー
クディスク制御部60にスケジュールテーブル64を追
加している。図8を参照すると、スケジュールテーブル
64は、ワークディスクグループ名109と、変更時刻
110と、最大入出力回数111と、最小入出力回数1
12を保持しており、環境定義として、システムの運用
スケジュールに応じた変更時刻を設定する。動的構成設
定部61は、あるワークディスクグループの変更時刻が
到来すると、ワークディスクグループ管理テーブル62
のそのワークディスクグループの最大入出力回数と最小
入出力回数をスケジュールテーブル64に保持されてい
る最大入出力回数と最小入出力回数に更新する。このこ
とにより、より精密な負荷調整を行えることを実現す
る。
In this embodiment, referring to FIG. 7, a schedule table 64 is added to the work disk controller 60. Referring to FIG. 8, the schedule table 64 has a work disk group name 109, a change time 110, a maximum input / output count 111, and a minimum input / output count 1
12 is held, and the change time according to the system operation schedule is set as the environment definition. The dynamic configuration setting unit 61, when the change time of a certain work disk group arrives, the work disk group management table 62.
The maximum I / O count and minimum I / O count of the work disk group are updated to the maximum I / O count and minimum I / O count held in the schedule table 64. As a result, it is possible to perform more precise load adjustment.

【0035】[実施形態3]実施形態3は、図9を参照
すると、ワークディスクグループ管理テーブル62に、
組込み可能ディスク数113の情報を付加し、これに基
づいてワークディスクグループ毎に予備ディスクの最大
組込み数を制限するという点で異なる。
[Third Embodiment] In the third embodiment, referring to FIG. 9, in the work disk group management table 62,
The difference is that information on the number of embeddable disks 113 is added, and based on this, the maximum number of spare disks to be installed is limited for each work disk group.

【0036】図10は、本実施形態のジョブ実行中の処
理手順を示すが、図10と図4を比較すると明らかなよ
うに、本実施形態のこの処理手順は、実施形態1のもの
に比べてステップB9とB10が追加されている。ワー
クディスク情報テーブル63を参照することにより当該
ワークディスクグループの組込み済みの予備ディスク数
を求め(ステップB9)、この数を組込み可能ディスク数
113と比較し(ステップB10)、当該ワークディスク
グループの組込み済みの予備ディスク数が組込み可能デ
ィスク数113に達していない場合にのみステップB4
の処理を行う。このことにより、負荷の高いワークディ
スクグループに予備ディスクを占有されることを防止す
ることが可能となり、よりバランスの取れた負荷分散を
図ることが実現される。
FIG. 10 shows a processing procedure during execution of a job according to the present embodiment. As is apparent from comparison between FIGS. 10 and 4, this processing procedure according to the present embodiment is different from that according to the first embodiment. Steps B9 and B10 are added. By referring to the work disk information table 63, the number of built-in spare disks of the work disk group is obtained (step B9), and this number is compared with the number of embeddable disks 113 (step B10) to install the work disk group. Only when the number of completed spare disks does not reach the number of mountable disks 113, step B4.
Process. As a result, it is possible to prevent the spare disk from being occupied by the work disk group with a high load, and it is possible to achieve a more balanced load distribution.

【0037】なお、ジョブ実行部10、入出力機構部2
0、ワークディスクグループ管理制御部50、動的構成
設定部61を、コンピュータをこれらの部分として機能
させるためのプログラムをコンピュータが読み込んで実
行することにより実現することもできる。また、ジョブ
実行部10、入出力機構部20、ワークディスクグルー
プ管理制御部50、動的構成設定部61を、コンピュー
タをこれらの部分として機能させるためのプログラムを
コンピュータがネットワークから受信して実行すること
により実現することもできる。
The job execution unit 10 and the input / output mechanism unit 2
0, the work disk group management control unit 50, and the dynamic configuration setting unit 61 can be realized by the computer reading and executing a program for causing the computer to function as these units. Further, the computer receives the program for causing the computer to function as the job execution unit 10, the input / output mechanism unit 20, the work disk group management control unit 50, and the dynamic configuration setting unit 61 from the network, and executes the program. It can also be realized by

【0038】[0038]

【発明の効果】複数のディスクから構成されるワークデ
ィスク群において、刻々と変化するディスクの入出力状
況を監視し、動的に予備ディスクをジョブに割り当てる
ことによって、ディスクの割り当て待ちや入出力待ちを
削減することを実現している。これにより、各業務のT
AT(Turn Around Time)を短縮することが可能となる。
EFFECTS OF THE INVENTION In a work disk group composed of a plurality of disks, the I / O status of a disk that changes every moment is monitored, and a spare disk is dynamically allocated to a job to wait for disk allocation or I / O wait. Has been realized. As a result, T of each work
It becomes possible to shorten AT (Turn Around Time).

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施形態1及び3による予備ディスク
割当方式の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a spare disk allocation system according to first and third embodiments of the present invention.

【図2】図1に示すワークディスクグループ管理テーブ
ルの実施形態1における構成及びそのテーブルに格納さ
れるデータ例並びに図1に示すワークディスク情報テー
ブルの構成及びそのテーブルに格納されるデータ例を示
す図である。
FIG. 2 shows a configuration of a work disk group management table shown in FIG. 1 according to a first embodiment and data examples stored in the table, and a configuration of a work disk information table shown in FIG. 1 and data examples stored in the table. It is a figure.

【図3】本発明の実施形態による予備ディスク割当方式
のジョブ投入からジョブ終了までの動作を示すシーケン
スチャートである。
FIG. 3 is a sequence chart showing an operation from job input to job end in the spare disk allocation method according to the embodiment of the present invention.

【図4】図1に示す動的構成設定部の実施形態1におけ
る定期的な動作を示すフローチャートである。
FIG. 4 is a flowchart showing a regular operation of the dynamic configuration setting unit shown in FIG. 1 according to the first embodiment.

【図5】本発明の実施形態による予備ディスク割当方式
の動的組み込みの動作を示す概念図である。
FIG. 5 is a conceptual diagram showing an operation of dynamically incorporating a spare disk allocation method according to an embodiment of the present invention.

【図6】本発明の実施形態による予備ディスク割当方式
の動的取戻しの動作を示す概念図である。
FIG. 6 is a conceptual diagram showing a dynamic recovery operation of the spare disk allocation method according to the embodiment of the present invention.

【図7】本発明の実施形態2による予備ディスク割当方
式の構成を示すブロック図である。
FIG. 7 is a block diagram showing a configuration of a spare disk allocation system according to a second embodiment of the present invention.

【図8】図7に示すスケジュールテーブルの構成及びそ
のテーブルに格納されるデータ例を示す図である。
8 is a diagram showing a configuration of a schedule table shown in FIG. 7 and an example of data stored in the table.

【図9】図1に示すワークディスクグループ管理テーブ
ルの実施形態3における構成及びそのテーブルに格納さ
れるデータ例を示す図である。
FIG. 9 is a diagram showing a configuration of a work disk group management table shown in FIG. 1 according to a third embodiment and an example of data stored in the table.

【図10】図1に示す動的構成設定部の実施形態3にお
ける定期的な動作を示すフローチャートである。
10 is a flowchart showing a regular operation of the dynamic configuration setting unit shown in FIG. 1 according to the third embodiment.

【符号の説明】[Explanation of symbols]

1 ジョブ記述文 10 ジョブ実行制御部 11〜14 ジョブ 20 入出力機構部 30 ディスク入出力情報テーブル 40 ワークディスク群 41 物理ディスク 42〜44 ワークディスクグループ 45 予備ディスクグループ 50 ワークディスクグループ管理制御部 60 ワークディスク制御部 61 動的構成設定部 62 ワークディスクグループ管理テーブル 63 ワークディスク情報テーブル 64 スケジュールテーブル 1 job description 10 Job execution control unit 11-14 jobs 20 I / O mechanism 30 Disk input / output information table 40 work disk group 41 physical disk 42-44 Work Disk Group 45 Spare disk group 50 Work disk group management control unit 60 Work disk controller 61 Dynamic configuration setting section 62 Work disk group management table 63 Work disk information table 64 schedule table

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 投入された各ジョブに対して、ジョブが
属するワークグループであって複数の物理ディスクより
構成されるもののうちの1の物理ディスクを割り当てる
割当手段と、 各前記ワークグループ毎に、当該ワークグループに属す
る投入された全てのジョブによりアクセスされる当該ワ
ークグループ内の全ての物理ディスクについての平均ア
クセス頻度が当該ワークグループについての上限値より
も高いか否かを判断する手段と、 前記平均アクセス頻度が前記上限値よりも高いと判断さ
れたワークグループについて、当該ワークグループを構
成する物理ディスクとして予備ディスクを追加する手段
と、 を備えることを特徴とする予備ディスク割当方式。
1. An assignment unit that assigns, to each submitted job, one physical disk of a work group to which the job belongs and which is composed of a plurality of physical disks; and for each work group, A means for determining whether or not the average access frequency for all physical disks in the work group accessed by all submitted jobs belonging to the work group is higher than the upper limit value for the work group; A spare disk allocation method comprising: a means for adding a spare disk as a physical disk constituting the work group, for a work group determined to have an average access frequency higher than the upper limit value.
【請求項2】 請求項1に記載の予備ディスク割当方式
において、 各前記ワークグループ毎に、当該ワークグループに属す
る投入された全てのジョブによりアクセスされる当該ワ
ークグループ内の全ての物理ディスクについての平均ア
クセス頻度が当該ワークグループについての下限値より
も低いか否かを判断する手段と、 前記平均アクセス頻度が前記下限値よりも低いと判断さ
れたワークグループについて、追加されている予備ディ
スクを削除する手段と、 を更に備えることを特徴とする予備ディスク割当方式。
2. The spare disk allocation method according to claim 1, wherein, for each work group, all physical disks in the work group that are accessed by all submitted jobs belonging to the work group A means for determining whether or not the average access frequency is lower than the lower limit value for the work group; and a spare disk added to the work group for which the average access frequency is determined to be lower than the lower limit value. A spare disk allocation system, further comprising:
【請求項3】 請求項1に記載の予備ディスク割当方式
において、 前記上限値を更新する手段を更に備えることを特徴とす
る予備ディスク割当方式。
3. The spare disk allocation system according to claim 1, further comprising means for updating the upper limit value.
【請求項4】 請求項2に記載の予備ディスク割当方式
において、 前記下限値を更新する手段を更に備えることを特徴とす
る予備ディスク割当方式。
4. The spare disk allocation system according to claim 2, further comprising means for updating the lower limit value.
【請求項5】 請求項1に記載の予備ディスク割当方式
において、 前記平均アクセス頻度が前記上限値よりも高いと判断さ
れたワークグループについて、当該ワークグループに追
加されている予備ディスクの数が所定値に達していると
きには、当該ワークグループを構成する物理ディスクと
しての予備ディスクの更なる追加を行わない手段を更に
備えることを特徴とする予備ディスク割当方式。
5. The spare disk allocation system according to claim 1, wherein, for a work group whose average access frequency is determined to be higher than the upper limit value, the number of spare disks added to the work group is predetermined. A spare disk allocation system, further comprising means for not further adding a spare disk as a physical disk configuring the work group when the value is reached.
【請求項6】 請求項1乃至5のいずれか1項に記載の
予備ディスク割当方式において、 前記割当手段は、 ジョブ記述文に記載されたジョブの投入要求を受け付け
る手段と、 前記投入要求のあった前記ジョブの種別に対応したワー
クグループを、ジョブ種別とワークグループとの対応関
係を格納したテーブルから検索する手段と、 前記検索されたワークグループを構成する物理ディスク
を、各物理ディスクとワークグループとの対応関係を格
納したテーブルから検索する手段と、 前記検索された物理ディスクのうち最も入出力回数の低
いディスク名を検索する手段と、 前記投入要求のあった前記ジョブに対して前記最も入出
力回数の低いディスク名の物理ディスクを割り当てる手
段と、 を備えることを特徴とする予備ディスク割当方式。
6. The spare disk allocating method according to claim 1, wherein the allocating unit receives the job submission request described in the job description statement, and includes the submission request. A means for searching a work group corresponding to the type of the job from a table storing the correspondence between the job type and the work group; and physical disks constituting the searched work group, each physical disk and the work group. Means for searching the table storing the correspondence relationship with the above, a means for searching the disk name having the lowest I / O count among the searched physical disks, and the most input for the job for which the submission request has been made. A spare disk allocation method comprising: a means for allocating a physical disk having a low output frequency.
【請求項7】 投入された各ジョブに対して、ジョブが
属するワークグループであって複数の物理ディスクより
構成されるもののうちの1の物理ディスクを割り当てる
割当ステップと、 各前記ワークグループ毎に、当該ワークグループに属す
る投入された全てのジョブによりアクセスされる当該ワ
ークグループ内の全ての物理ディスクについての平均ア
クセス頻度が当該ワークグループについての上限値より
も高いか否かを判断するステップと、 前記平均アクセス頻度が前記上限値よりも高いと判断さ
れたワークグループについて、当該ワークグループを構
成する物理ディスクとして予備ディスクを追加するステ
ップと、 を備えることを特徴とする予備ディスク割当方法。
7. An allocation step of allocating, to each submitted job, one physical disk of a work group to which the job belongs and consisting of a plurality of physical disks, and for each work group, Determining whether the average access frequency for all physical disks in the work group that are accessed by all submitted jobs belonging to the work group is higher than the upper limit value for the work group; For a work group whose average access frequency is determined to be higher than the upper limit value, a step of adding a spare disk as a physical disk constituting the work group is included, and a spare disk allocating method is provided.
【請求項8】 請求項7に記載の予備ディスク割当方法
において、 各前記ワークグループ毎に、当該ワークグループに属す
る投入された全てのジョブによりアクセスされる当該ワ
ークグループ内の全ての物理ディスクについての平均ア
クセス頻度が当該ワークグループについての下限値より
も低いか否かを判断するステップと、 前記平均アクセス頻度が前記下限値よりも低いと判断さ
れたワークグループについて、追加されている予備ディ
スクを削除するステップと、 を更に備えることを特徴とする予備ディスク割当方法。
8. The spare disk allocation method according to claim 7, wherein for each work group, all physical disks in the work group that are accessed by all submitted jobs belonging to the work group Determining whether the average access frequency is lower than the lower limit value for the work group, and deleting the added spare disk for the work group for which the average access frequency is determined to be lower than the lower limit value. And a spare disk allocation method.
【請求項9】 請求項7に記載の予備ディスク割当方法
において、 前記上限値を更新するステップを更に備えることを特徴
とする予備ディスク割当方法。
9. The spare disk allocation method according to claim 7, further comprising the step of updating the upper limit value.
【請求項10】 請求項8に記載の予備ディスク割当方
法において、 前記下限値を更新するステップを更に備えることを特徴
とする予備ディスク割当方法。
10. The spare disk allocation method according to claim 8, further comprising the step of updating the lower limit value.
【請求項11】 請求項7に記載の予備ディスク割当方
法において、 前記平均アクセス頻度が前記上限値よりも高いと判断さ
れたワークグループについて、当該ワークグループに追
加されている予備ディスクの数が所定値に達していると
きには、当該ワークグループを構成する物理ディスクと
しての予備ディスクの更なる追加を行わないステップを
更に備えることを特徴とする予備ディスク割当方法。
11. The method of allocating a spare disk according to claim 7, wherein, for a work group whose average access frequency is determined to be higher than the upper limit value, the number of spare disks added to the work group is predetermined. A spare disk allocation method, further comprising the step of not further adding a spare disk as a physical disk that constitutes the work group when the value has been reached.
【請求項12】 請求項7乃至11のいずれか1項に記
載の予備ディスク割当方法において、 前記割当ステップは、 ジョブ記述文に記載されたジョブの投入要求を受け付け
るステップと、 前記投入要求のあった前記ジョブの種別に対応したワー
クグループを、ジョブ種別とワークグループとの対応関
係を格納したテーブルから検索するステップと、 前記検索されたワークグループを構成する物理ディスク
を、各物理ディスクとワークグループとの対応関係を格
納したテーブルから検索するステップと、 前記検索された物理ディスクのうち最も入出力回数の低
いディスク名を検索するステップと、 前記投入要求のあった前記ジョブに対して前記最も入出
力回数の低いディスク名の物理ディスクを割り当てるス
テップと、 を備えることを特徴とする予備ディスク割当方法。
12. The spare disk allocating method according to claim 7, wherein the allocating step includes a step of accepting a job submission request described in a job description statement, and A step of searching a work group corresponding to the type of the job from a table storing the correspondence relationship between the job type and the work group; the physical disks constituting the searched work group, each physical disk and the work group. A table storing a correspondence relationship between the physical disk and the physical disk having the lowest I / O count among the searched physical disks; Allocating a physical disk having a disk name with a low output count, and Spare disk allocation method to.
【請求項13】 請求項7乃至12のいずれか1項に記
載の予備ディスク割当方法をコンピュータに実行させる
ためのプログラム。
13. A program for causing a computer to execute the spare disk allocation method according to any one of claims 7 to 12.
JP2002138616A 2002-05-14 2002-05-14 Extra disk assignment system and its method Pending JP2003330624A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002138616A JP2003330624A (en) 2002-05-14 2002-05-14 Extra disk assignment system and its method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002138616A JP2003330624A (en) 2002-05-14 2002-05-14 Extra disk assignment system and its method

Publications (1)

Publication Number Publication Date
JP2003330624A true JP2003330624A (en) 2003-11-21

Family

ID=29700006

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002138616A Pending JP2003330624A (en) 2002-05-14 2002-05-14 Extra disk assignment system and its method

Country Status (1)

Country Link
JP (1) JP2003330624A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006139635A (en) * 2004-11-15 2006-06-01 Hitachi Ltd Operating method for virtual tape volume
CN110764718A (en) * 2018-07-25 2020-02-07 富士施乐株式会社 Print management apparatus and computer-readable medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006139635A (en) * 2004-11-15 2006-06-01 Hitachi Ltd Operating method for virtual tape volume
JP4604669B2 (en) * 2004-11-15 2011-01-05 株式会社日立製作所 Operation method of virtual tape volume
CN110764718A (en) * 2018-07-25 2020-02-07 富士施乐株式会社 Print management apparatus and computer-readable medium

Similar Documents

Publication Publication Date Title
US10789133B2 (en) Data storage resource allocation by performing abbreviated resource checks of certain data storage resources based on relative scarcity to determine whether data storage requests would fail
US20200364089A1 (en) Data storage resource allocation in managing data storage operations
US6477535B1 (en) Method and apparatus for concurrent DBMS table operations
US7454420B2 (en) Data sorting method and system
JPH05189281A (en) File assigning system for storage device
JP4961931B2 (en) Job execution scheduling program, job execution scheduling method, and job execution scheduling apparatus
US10013288B2 (en) Data staging management system
JP4813975B2 (en) Method of changing configuration of non-shared database system, management server, and non-shared database system
JP5515889B2 (en) Virtual machine system, automatic migration method and automatic migration program
JP2003330624A (en) Extra disk assignment system and its method
CN115061811A (en) Resource scheduling method, device, equipment and storage medium
JP5867215B2 (en) Information processing apparatus, information processing method, and information processing program
JP2004280457A (en) Data management system, batch control system, and batch control program
CN115391104A (en) Method and device for determining storage software
JPS6190245A (en) Main memory control method by segment absence history
JP2013080346A (en) Information processing device, maintenance work support method and maintenance work support program

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20040514

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050915

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051111

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060228