JP2003271319A - Backup system - Google Patents

Backup system

Info

Publication number
JP2003271319A
JP2003271319A JP2002073488A JP2002073488A JP2003271319A JP 2003271319 A JP2003271319 A JP 2003271319A JP 2002073488 A JP2002073488 A JP 2002073488A JP 2002073488 A JP2002073488 A JP 2002073488A JP 2003271319 A JP2003271319 A JP 2003271319A
Authority
JP
Japan
Prior art keywords
input
output request
storage device
external storage
conversion
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
JP2002073488A
Other languages
Japanese (ja)
Inventor
Nobuyuki Kishi
信之 岸
Masaru Sato
勝 佐藤
Masamichi Okashima
正道 岡嶌
Kenichi Oyamada
健一 小山田
Yoshiaki Niimura
義章 新村
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2002073488A priority Critical patent/JP2003271319A/en
Publication of JP2003271319A publication Critical patent/JP2003271319A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method for executing the sampling of backup in a backup medium without providing any backup time during a system operation. <P>SOLUTION: A program for copying an input and output request to an external storage device and a converting program having the identifier of a backup medium and an instruction conversion table are set in a central arithmetic processing unit, and the copied input/output request is converted into an input/ output to the backup medium by the conversion program so that the input/ output can be executed. Therefore, it is possible to simultaneously execute the input/output to the external storage device and the copy to the backup medium. Thus, it is possible to simultaneously execute the input/output of the external storage device and the sampling of backup during the system operation. <P>COPYRIGHT: (C)2003,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、データ処理システ
ムにおいてアクセスされる外部記憶装置のバックアップ
コピーを別種記憶装置に実行することを可能にする方法
およびシステムに関する。さらにバックアップコピーに
限定せず、外部記憶装置と別種記憶装置に同一のデータ
を格納する方法およびシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and system for enabling a backup copy of an external storage device accessed in a data processing system to be performed on a separate storage device. Further, the present invention relates to a method and system for storing the same data in an external storage device and a different type storage device without being limited to a backup copy.

【0002】[0002]

【従来の技術】最近のデータベースシステムでは、デー
タ量の増加に伴いバックアップコピーに要する時間が増
大し、システムが停止できない状況でデータの更新を伴
うアプリケーションとデータ更新の行われていない静的
なデータを必要とするバックアップコピーを同時に実行
する手段が求められていた。
2. Description of the Related Art In recent database systems, the time required for backup copy increases as the amount of data increases, and applications that require data updates and static data that has not been updated when the system cannot be stopped. There has been a need for a means of simultaneously performing backup copies that require the.

【0003】前記の要求に対して、特開平11−327
986号公報に示す方法では、入出力要求発行元が静的
データに対する要求なのかを判別し、静的データに対す
る要求か否かで入出力対象装置を変えることで、データ
更新を伴うアプリケーション実行中にバックアップ時間
を確保してデータ更新を伴うアプリケーションとバック
アップコピーを同時に実行する方法について教示してい
る。
In response to the above request, Japanese Patent Laid-Open No. 11-327.
In the method disclosed in Japanese Patent No. 986, it is determined whether the input / output request issuer is a request for static data, and the input / output target device is changed depending on whether the request is for static data, thereby executing an application involving data update. Teaches a method of securing backup time and executing an application accompanied by data update and a backup copy at the same time.

【0004】[0004]

【発明が解決しようとする課題】特開平11−3279
86号公報に示す方法では、複写機能で作成した装置の
一方をバックアップコピーに使用しているため、バック
アップコピーを実行する時間を確保する必要があり、通
常の入出力と同時にバックアップを実行することはでき
なかった。
[Patent Document 1] Japanese Patent Laid-Open No. 11-3279
In the method disclosed in Japanese Patent Publication No. 86, one of the devices created by the copy function is used for backup copy, so it is necessary to secure time to execute the backup copy. I couldn't.

【0005】そこで、本発明では、通常の入出力とバッ
クアップコピーを同時に行い、バックアップコピー時間
を必要としないバックアップコピーを可能とすることを
目的とする。
Therefore, it is an object of the present invention to perform a normal input / output and a backup copy at the same time, thereby enabling a backup copy that does not require a backup copy time.

【0006】[0006]

【課題を解決するための手段】外部記憶装置への入出力
要求を複写するプログラムとバックアップ媒体の識別子
および命令変換テーブルを有する変換プログラムを中央
演算処理装置内に設けるか、または、入出力を制御する
制御装置内に複写機能および変換機能を設け、複写プロ
グラムまたは複写機能で複写した入出力要求を変換プロ
グラムまたは変換機能でバックアップ媒体への入出力要
求に変換して入出力を実行することで、外部記憶装置へ
の入出力と同時にバックアップ媒体へのバックアップコ
ピーを可能とする。
A conversion program having a program for copying an input / output request to an external storage device and a backup medium identifier and an instruction conversion table is provided in the central processing unit, or the input / output is controlled. By providing a copy function and a conversion function in the control device that performs the input / output by converting the input / output request copied by the copy program or the copy function into the input / output request to the backup medium by the conversion program or the conversion function, It enables input / output to / from an external storage device and backup copy to a backup medium at the same time.

【0007】[0007]

【発明の実施の形態】以下、この発明の一実施例を図に
基づいて説明する。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below with reference to the drawings.

【0008】図1は、この発明の一実施例におけるシス
テムの構成図であり、図1において、100は各種プロ
グラムを実行する中央演算処理装置、101は中央演算
処理装置1内で動作するアプリケーション、102は中
央演算処理装置1内で動作する入出力プログラムであ
る。また、中央演算処理装置1には制御装置106によ
って制御される磁気ディスク装置108と、制御装置1
10によって制御される磁気テープ装置112と、制御
装置114によって制御されるDAT装置116が接続
されていて、中央演算処理装置1と制御装置106およ
び制御装置110および制御装置114はそれぞれパス
105およびパス109およびパス113で接続され、
磁気ディスク装置108と制御装置106はパス107
で接続され、磁気テープ装置112と制御装置110は
パス111で接続され、DAT装置116と制御装置1
14はパス115で接続されている。さらに、入出力プ
ログラム102内には入出力要求の複写を作成する複写
プログラム103と、磁気ディスク装置108への入出
力要求を磁気テープ装置112およびDAT装置116
に適したデータに変換する変換プログラム104があ
る。変換プログラム104は常に動作している必要はな
く、磁気テープ装置112またはDAT装置116への
入出力が必要な場合にのみ動作していればよい。また、
複写プログラム103内には複写を制御する複写制御部
120と複写した入出力要求の同期を制御する同期制御
部121を有する。さらに、変換プログラム104内に
は変換先装置を選択する選択制御部118と変換を制御
する変換制御部119と変換先装置の情報が格納される
変換テーブル117を有する。
FIG. 1 is a block diagram of a system according to an embodiment of the present invention. In FIG. 1, 100 is a central processing unit for executing various programs, 101 is an application operating in the central processing unit 1, An input / output program 102 operates in the central processing unit 1. Further, the central processing unit 1 includes a magnetic disk unit 108 controlled by the control unit 106, and a control unit 1
A magnetic tape device 112 controlled by 10 and a DAT device 116 controlled by a control device 114 are connected, and the central processing unit 1, the control device 106, the control device 110, and the control device 114 are connected to the path 105 and the path, respectively. Connected by 109 and path 113,
The magnetic disk device 108 and the control device 106 have a path 107.
, The magnetic tape device 112 and the control device 110 are connected by a path 111, and the DAT device 116 and the control device 1 are connected.
14 are connected by a path 115. Further, a copy program 103 for creating a copy of the input / output request in the input / output program 102, and an input / output request to the magnetic disk device 108 are sent to the magnetic tape device 112 and the DAT device 116.
There is a conversion program 104 for converting the data into data suitable for. The conversion program 104 does not always need to operate, and may operate only when input / output to / from the magnetic tape device 112 or the DAT device 116 is necessary. Also,
The copy program 103 includes a copy control unit 120 that controls copying and a synchronization control unit 121 that controls synchronization of copied input / output requests. Further, the conversion program 104 has a selection control unit 118 that selects a conversion destination device, a conversion control unit 119 that controls conversion, and a conversion table 117 that stores information about the conversion destination device.

【0009】図2は変換テーブル117に格納される情
報である。変換テーブル117は図2に示す装置変換テ
ーブル201と命令変換テーブル210を有する。装置
変換テーブル201には変換先の装置種別202と装置
毎にユニークな識別子203および変換要否を示すフラ
グ204を有する。命令変換テーブル210は識別子2
03毎に存在し、識別子203の格納領域211と読み
込みや更新といった命令種別212と装置後の命令コー
ド213を有する。変換先装置種別202は磁気テープ
やCD−Rなどの名称でも良いし、装置種別毎にユニー
クな識別子でもよい。装置毎にユニークな識別子を格納
している場合、202と203が同一内容となってもよ
いし、装置変換テーブル201を有せずに命令変換テー
ブル210だけでもよい。フラグ204は外部からのコ
マンド操作やスイッチ操作によってON/OFFが切り
替えられるものでもよいし、常にONでもよい。また、
命令変換テーブルは図2の例に示すように複数の装置種
別に対応して複数存在しても良い。
FIG. 2 shows information stored in the conversion table 117. The conversion table 117 has a device conversion table 201 and an instruction conversion table 210 shown in FIG. The device conversion table 201 has a device type 202 of the conversion destination, a unique identifier 203 for each device, and a flag 204 indicating the necessity of conversion. The instruction conversion table 210 is identifier 2
It exists for every 03, and has a storage area 211 of the identifier 203, a command type 212 such as reading and updating, and a command code 213 after the device. The conversion destination device type 202 may be a name such as a magnetic tape or a CD-R, or may be a unique identifier for each device type. When a unique identifier is stored for each device, 202 and 203 may have the same content, or only the instruction conversion table 210 may be provided without the device conversion table 201. The flag 204 may be switched ON / OFF by an external command operation or switch operation, or may be always ON. Also,
There may be a plurality of instruction conversion tables corresponding to a plurality of device types as shown in the example of FIG.

【0010】図3は変換テーブル117の具体例であ
る。変換テーブル117には図3に示す装置変換テーブ
ル300と命令変換テーブル310を有する。装置変換
テーブル300には磁気テープ装置名称301と磁気テ
ープ装置識別子302として「01」を、CD−R装置
名称304とCD−R装置識別子305として「02」
を、DAT装置名称307とDAT装置識別子308と
して「03」を有する。変換要否フラグは、磁気テープ
装置フラグ303とDAT装置フラグ309がONで、
CD−R装置フラグ306はOFFである。命令変換テ
ーブル310は装置識別子303と装置識別子305に
対応して存在し、装置識別子03用の命令変換テーブル
310には、装置識別子311と命令種別312〜31
4と、命令種別に対応した命令コード315〜317を
有する。装置識別子305用の命令変換テーブル320
には、装置識別子321と命令種別322〜324と、
命令種別に対応した命令コード325〜327を有す
る。図3の例では、「読み込み」「更新」「制御」の命
令種別に対応する命令コードとして、磁気テープ装置識
別子311の場合に「10」「20」「30」を、DA
T装置識別子321の場合に「40」「50」「60」
をそれぞれ有する。
FIG. 3 shows a concrete example of the conversion table 117. The conversion table 117 has a device conversion table 300 and an instruction conversion table 310 shown in FIG. In the device conversion table 300, “01” is set as the magnetic tape device name 301 and the magnetic tape device identifier 302, and “02” is set as the CD-R device name 304 and the CD-R device identifier 305.
, And has “03” as the DAT device name 307 and the DAT device identifier 308. As for the conversion necessity flag, when the magnetic tape device flag 303 and the DAT device flag 309 are ON,
The CD-R device flag 306 is OFF. The command conversion table 310 exists corresponding to the device identifier 303 and the device identifier 305, and the command conversion table 310 for the device identifier 03 has a device identifier 311 and command types 312-31.
4 and instruction codes 315 to 317 corresponding to the instruction type. Command conversion table 320 for device identifier 305
Includes a device identifier 321, instruction types 322 to 324,
It has instruction codes 325 to 327 corresponding to the instruction type. In the example of FIG. 3, as the instruction code corresponding to the instruction types of “read”, “update”, and “control”, “10”, “20”, and “30” in the case of the magnetic tape device identifier 311,
In the case of the T device identifier 321, "40", "50", and "60"
Have respectively.

【0011】図4は図1および図3の実施例において、
アプリケーション101が磁気ディスク装置108に更
新要求を行うと同時に、磁気テープ装置112とDAT
装置116を同時に更新する場合の動作フローチャート
である。アプリケーション101が磁気ディスク装置1
08の更新を実行すると(ステップ401)、変換プロ
グラム104が動作しているかチェックする(ステップ
402)。変換プログラム104が動作している場合、
複写プログラム103は入出力要求の複製を作成して変
換プログラム104に渡す(ステップ403)。変換プ
ログラム104は装置変換テーブル300に装置名称が
格納され、かつ変換が必要(フラグ=ON)か否かを判
定する(ステップ404)。本実施例では装置名称とし
て「磁気テープ」「CD−R」「DAT」が格納されて
おり「磁気テープ」と「DAT」についてフラグ=ON
なので、「磁気テープ」「DAT」について変換処理を
行う。磁気テープについての変換処理がステップ405
〜410である。まず、装置名称「磁気テープ」を装置
名称301から取得し(ステップ405)、装置識別子
「01」を装置識別子302から取得する(ステップ4
06)。次に装置識別子「01」を有する命令変換テー
ブル310を取得し(ステップ407)、命令種別「更
新」に対応する命令コード「20」を命令コード316
から取得する(ステップ408)。取得した命令コード
「20」を入出力プログラム102に渡し磁気テープ装
置112の更新を要求する(ステップ409)。入出力
プログラム102はパス109、制御装置110、パス
111を介して磁気テープ装置112を更新する(ステ
ップ410)。ステップ405〜410と同様の処理を
DATについても行う(ステップ411〜416)。ス
テップ402で変換プログラム104が動作していない
場合や、ステップ404で変換必要装置がなかった場合
(全ての装置について処理を終了した場合)、磁気ディ
スク装置108を更新して処理を完了する(ステップ4
17)。
FIG. 4 shows the embodiment of FIGS. 1 and 3.
At the same time that the application 101 makes an update request to the magnetic disk device 108, the magnetic tape device 112 and the DAT
7 is an operation flowchart in the case of simultaneously updating the devices 116. The application 101 is the magnetic disk device 1
When the update of 08 is executed (step 401), it is checked whether the conversion program 104 is operating (step 402). If the conversion program 104 is running,
The copy program 103 creates a copy of the input / output request and passes it to the conversion program 104 (step 403). The conversion program 104 determines whether the device name is stored in the device conversion table 300 and conversion is necessary (flag = ON) (step 404). In the present embodiment, "magnetic tape", "CD-R", and "DAT" are stored as device names, and flags "ON" for "magnetic tape" and "DAT".
Therefore, the conversion process is performed on the "magnetic tape" and "DAT". The conversion process for the magnetic tape is step 405.
~ 410. First, the device name "magnetic tape" is acquired from the device name 301 (step 405), and the device identifier "01" is acquired from the device identifier 302 (step 4).
06). Next, the instruction conversion table 310 having the device identifier “01” is acquired (step 407), and the instruction code “20” corresponding to the instruction type “update” is given as the instruction code 316.
(Step 408). The acquired instruction code "20" is passed to the input / output program 102 to request the update of the magnetic tape device 112 (step 409). The input / output program 102 updates the magnetic tape device 112 via the path 109, the control device 110, and the path 111 (step 410). The same processing as in steps 405 to 410 is also performed for DAT (steps 411 to 416). If the conversion program 104 is not operating in step 402 or if there is no conversion-requiring device in step 404 (when the processes have been completed for all devices), the magnetic disk device 108 is updated and the process is completed (step Four
17).

【0012】本発明におけるアプリケーションからの入
出力要求の開始から完了までの流れを図5に示す。図5
において、500は各種プログラムを実行する中央演算
処理装置、501は中央演算処理装置500内で動作す
るアプリケーション、502は中央演算処理装置500
内で動作する入出力プログラムである。また、中央演算
処理装置500には制御装置506によって制御される
磁気ディスク装置508と、制御装置510によって制
御される磁気テープ装置512が接続されていて、中央
演算処理装置500と制御装置506および制御装置5
10はそれぞれパス505およびパス509で接続さ
れ、磁気ディスク装置508と制御装置506はパス5
07で接続され、磁気テープ装置512と制御装置51
0はパス511で接続されている。さらに、入出力プロ
グラム502内には入出力要求の複写を作成する複写プ
ログラム503と、磁気ディスク装置508への入出力
要求を磁気テープ装置512に適したデータに変換する
変換プログラム504がある。アプリケーション501
からの入出力要求は入出力プログラム502でで受け付
けられ複写プログラム503に渡される(520)。複
写プログラム503に渡された入出力要求は複写されて
(521)変換プログラム504に渡される(52
3)。複写元の入出力要求は磁気ディスク装置508の
入出力を実行する(522)。変換プログラム504に
渡された入出力要求は、変換プログラム504内で変換
先装置が選択され(524)、変換機能によって磁気テ
ープ装置512の入出力要求に変換され(525、52
6)、バックアップ媒体112の入出力が実行される
(527)。磁気ディスク装置508の入出力完了(5
30)と磁気テープ装置512の入出力完了(528)
は、複写プログラム503内で同期が取られ(52
9)、入出力完了がアプリケーション501に報告され
る(531)。
FIG. 5 shows the flow from the start to the completion of the input / output request from the application in the present invention. Figure 5
5, a central processing unit 500 executes various programs, 501 is an application operating in the central processing unit 500, and 502 is a central processing unit 500.
It is an input / output program that operates within. A magnetic disk device 508 controlled by the control device 506 and a magnetic tape device 512 controlled by the control device 510 are connected to the central processing unit 500, and the central processing unit 500, the control device 506, and the control device are controlled. Device 5
10 are connected by a path 505 and a path 509, respectively, and the magnetic disk device 508 and the control device 506 are connected by the path 5
07, the magnetic tape device 512 and the control device 51
0 is connected by a path 511. Further, the input / output program 502 includes a copy program 503 for making a copy of the input / output request and a conversion program 504 for converting the input / output request to the magnetic disk device 508 into data suitable for the magnetic tape device 512. Application 501
The I / O request from the I / O program is accepted by the I / O program 502 and passed to the copy program 503 (520). The I / O request passed to the copy program 503 is copied (521) and passed to the conversion program 504 (52).
3). The input / output request of the copy source executes input / output of the magnetic disk device 508 (522). The I / O request passed to the conversion program 504 is converted into an I / O request of the magnetic tape device 512 by the conversion function by selecting the conversion destination device in the conversion program 504 (524) (525, 52).
6) The input / output of the backup medium 112 is executed (527). I / O completion of magnetic disk unit 508 (5
30) and the input / output of the magnetic tape device 512 is completed (528).
Are synchronized in the copy program 503 (52
9), the input / output completion is reported to the application 501 (531).

【0013】図6は図5の動作フローチャートである。
図6においてアプリケーション501から磁気ディスク
装置508の更新要求が行われると(ステップ60
1)、まず複写プログラム503が動作しているか否か
をチェックする(ステップ602)。複写プログラム5
03が動作していれば入出力要求の複製を作成し、変換
プログラム504に渡す(ステップ603)。変換プロ
グラム504は渡された入出力要求を磁気ディスク装置
512に適したデータに変換する(ステップ604)。
次に、入出力プログラム502は変換されたデータを制
御装置510に渡し磁気テープ装置512を更新する
(ステップ605)。ステップ602で複写プログラム
503が動作していなかった場合やステップ605で磁
気テープ装置512の更新を実行した後、入出力要求を
制御装置506に渡して磁気ディスク装置508を更新
する(ステップ606)。複写プログラム503は磁気
ディスク装置508と磁気テープ装置512の入出力完
了の同期を制御し(ステップ607)、両方の入出力が
完了していれば入出力完了をアプリケーション501に
報告する(ステップ608)。
FIG. 6 is an operation flowchart of FIG.
In FIG. 6, when an update request for the magnetic disk device 508 is issued from the application 501 (step 60).
1) First, it is checked whether or not the copy program 503 is operating (step 602). Copy program 5
If 03 is operating, a copy of the input / output request is created and passed to the conversion program 504 (step 603). The conversion program 504 converts the passed input / output request into data suitable for the magnetic disk device 512 (step 604).
Next, the input / output program 502 passes the converted data to the control device 510 to update the magnetic tape device 512 (step 605). When the copy program 503 is not operating in step 602 or after the magnetic tape device 512 is updated in step 605, an input / output request is passed to the control device 506 to update the magnetic disk device 508 (step 606). The copy program 503 controls the synchronization of the I / O completion of the magnetic disk device 508 and the magnetic tape device 512 (step 607), and reports the I / O completion to the application 501 if both of the I / O have been completed (step 608). .

【0014】次に図1に示す処理をハードウェアを使用
して実現する方法の実施例を図7に示す。図7におい
て、700は各種プログラムを実行する中央演算処理装
置、701は中央演算処理装置700内で動作するアプ
リケーション、702は中央演算処理装置700内で動
作する入出力プログラムである。制御装置704は中央
演算処理装置700からの入出力要求を制御する装置で
あり、パス703を介して中央演算処理装置700と制
御装置704が接続され、制御装置704にはパス70
5を介して磁気ディスク装置706が接続されている。
制御装置704内には複写装置707と変換装置714
が存在する。さらに、制御装置710がパス709を介
して制御装置704と接続され、制御装置710にはパ
ス711を介して磁気テープ装置712が接続されてい
る。複写装置707は磁気ディスク装置706への入出
力要求を複写する装置であり、変換装置708は複写装
置707によって複写された入出力要求を磁気テープ装
置710に適したデータに変換する装置である。複写装
置307および変換装置308は常に接続されている必
要はなく、バックアップ媒体310の入出力が必要な場
合にのみ接続されていればよい。また、制御装置704
内には入出力完了の同期を制御する同期制御部713を
有し、複写装置707内には複写制御部708を有す
る。また、変換装置714内には変換制御部715と変
換テーブル716を有する。ここで、変換テーブル71
6には図2で示す変換テーブルの情報が格納されてい
る。
Next, FIG. 7 shows an embodiment of a method for realizing the processing shown in FIG. 1 by using hardware. In FIG. 7, 700 is a central processing unit that executes various programs, 701 is an application that runs in the central processing unit 700, and 702 is an input / output program that runs in the central processing unit 700. The control device 704 is a device that controls an input / output request from the central processing unit 700, the central processing unit 700 and the control device 704 are connected via a path 703, and the path 70 is connected to the control device 704.
The magnetic disk device 706 is connected via the No. 5.
A copy device 707 and a conversion device 714 are included in the control device 704.
Exists. Further, the control device 710 is connected to the control device 704 via a path 709, and the magnetic tape device 712 is connected to the control device 710 via a path 711. The copying device 707 is a device for copying an input / output request to the magnetic disk device 706, and the conversion device 708 is a device for converting the input / output request copied by the copying device 707 into data suitable for the magnetic tape device 710. The copying apparatus 307 and the conversion apparatus 308 do not need to be always connected, and may be connected only when input / output of the backup medium 310 is necessary. In addition, the control device 704
The copy control unit 713 has a synchronization control unit 713 for controlling the synchronization of input / output completion, and the copy control unit 708 has a copy device 707. Further, the conversion device 714 has a conversion control unit 715 and a conversion table 716. Here, the conversion table 71
6 stores the information of the conversion table shown in FIG.

【0015】図7においてアプリケーションからの入出
力要求の開始から完了までの流れを図8に示す。図8に
おいて、800は各種プログラムを実行する中央演算処
理装置、801は中央演算処理装置800内で動作する
アプリケーション、802は中央演算処理装置800内
で動作する入出力プログラムである。制御装置804は
中央演算処理装置800からの入出力要求を制御する装
置であり、パス803を介して中央演算処理装置800
と制御装置804が接続され、制御装置804にはパス
805を介して磁気ディスク装置806が接続されてい
る。制御装置804内には複写装置807と変換装置8
08が存在する。さらに、制御装置810がパス809
を介して制御装置804と接続され、制御装置810に
はパス811を介して磁気テープ装置812が接続され
ている。アプリケーション801からの入出力要求の開
始から完了までの流れを820〜829に示す。アプリ
ケーション801からの入出力要求は入出力プログラム
802によって制御装置804で受け付けられ、複写装
置807に渡される(820)。複写装置807に渡さ
れた入出力要求は複写され(821)、変換装置808
に渡される(822)。複写元の入出力要求は磁気ディ
スク装置806の入出力を実行する(826)。変換装
置808に渡された入出力要求は、変換装置808内で
磁気テープ装置812の入出力要求に変換され(82
3)、磁気テープ装置812の入出力が実行される(8
24)。磁気ディスク装置806の入出力完了(82
7)と磁気テープ装置825の入出力完了(825)
は、制御装置304内で同期が取られ(828)、入出
力完了が中央演算処理装置800に報告され、アプリケ
ーション801に報告される(829)。
FIG. 8 shows the flow from the start to the completion of the input / output request from the application in FIG. In FIG. 8, reference numeral 800 is a central processing unit that executes various programs, 801 is an application that runs in the central processing unit 800, and 802 is an input / output program that runs in the central processing unit 800. The control device 804 is a device that controls an input / output request from the central processing unit 800, and the central processing unit 800 is controlled via the path 803.
And a control device 804 are connected to the control device 804, and a magnetic disk device 806 is connected to the control device 804 via a path 805. In the control device 804, a copying device 807 and a conversion device 8 are provided.
08 is present. Further, the control device 810 passes the path 809.
A magnetic tape device 812 is connected to the control device 810 via a path 811. Flows from the start to the completion of the input / output request from the application 801 are shown at 820 to 829. The input / output request from the application 801 is accepted by the control device 804 by the input / output program 802 and passed to the copying device 807 (820). The input / output request passed to the copying apparatus 807 is copied (821), and the conversion apparatus 808
(822). The input / output request of the copy source executes the input / output of the magnetic disk device 806 (826). The input / output request passed to the conversion device 808 is converted into the input / output request of the magnetic tape device 812 in the conversion device 808 (82
3), input / output of the magnetic tape device 812 is executed (8
24). Input / output completion of the magnetic disk device 806 (82
7) and the input / output of the magnetic tape device 825 is completed (825)
Are synchronized within the controller 304 (828), I / O completion is reported to the central processing unit 800 and to the application 801 (829).

【0016】図9は図8の動作フローチャートである。
図9においてアプリケーション801から磁気ディスク
装置806の更新要求が行われると(ステップ90
1)、入出力プログラム802は制御装置804に磁気
ディスク装置806の更新を要求する(ステップ90
2)。次に、制御装置804は複写装置807および変
換装置808が接続されているか否かを判定し(ステッ
プ903)、接続されていれば複写装置807は入出力
要求の複写を作成し(ステップ904)、変換装置80
8は複写された入出力要求を磁気テープ装置812に適
したデータに変換し(ステップ905)、変換したデー
タを使用して磁気テープ装置812を更新する(ステッ
プ906)。バックアップ媒体812の更新が終了する
か、ステップ903で複写装置807および変換装置8
08が接続されていないと判定した場合、磁気ディスク
装置806を更新する(ステップ907)。更新が終了
したら入出力の完了を中央演算処理装置800に通知す
る(ステップ908)。
FIG. 9 is an operation flowchart of FIG.
In FIG. 9, when an update request for the magnetic disk device 806 is issued from the application 801 (step 90
1), the input / output program 802 requests the controller 804 to update the magnetic disk device 806 (step 90).
2). Next, the control device 804 determines whether the copying device 807 and the conversion device 808 are connected (step 903), and if they are connected, the copying device 807 creates a copy of the input / output request (step 904). , Conversion device 80
8 converts the copied input / output request into data suitable for the magnetic tape device 812 (step 905), and updates the magnetic tape device 812 using the converted data (step 906). When the update of the backup medium 812 is completed, or in step 903, the copying apparatus 807 and the conversion apparatus 8 are updated.
When it is determined that 08 is not connected, the magnetic disk device 806 is updated (step 907). When the update is completed, the completion of input / output is notified to the central processing unit 800 (step 908).

【0017】[0017]

【発明の効果】本発明により、システム稼動中に特別な
時間を設けることなくバックアップの採取が可能とな
る。
According to the present invention, it is possible to take a backup without providing a special time during system operation.

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

【図1】本発明の実施例におけるシステムの構成図であ
る。
FIG. 1 is a configuration diagram of a system according to an embodiment of the present invention.

【図2】本発明における変換プログラムまたは変換装置
が使用する変換テーブルである。
FIG. 2 is a conversion table used by a conversion program or a conversion device according to the present invention.

【図3】本発明における変換プログラムまたは変換装置
が使用する変換テーブルの例。
FIG. 3 is an example of a conversion table used by a conversion program or a conversion device according to the present invention.

【図4】図1のシステムにおいて本発明を実現するため
のフローチャートである。
FIG. 4 is a flow chart for implementing the present invention in the system of FIG.

【図5】図1のシステムにおける入出力要求の流れ図で
ある。
5 is a flow chart of an input / output request in the system of FIG.

【図6】図5の動作フローチャートである。FIG. 6 is an operation flowchart of FIG.

【図7】本発明においてハードウェア機構を用いた実施
例におけるシステムの構成図である。
FIG. 7 is a configuration diagram of a system in an embodiment using a hardware mechanism in the present invention.

【図8】図7のシステムにおける入出力要求の流れ図で
ある。
8 is a flow chart of an input / output request in the system of FIG.

【図9】図8のシステムにおいて本発明を実現するため
のフローチャートである。
9 is a flowchart for implementing the present invention in the system of FIG.

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

100…中央演算処理装置、101…アプリケーショ
ン、102…入出力プログラム、103…複写プログラ
ム、104…変換プログラム、105…パス、106…
制御装置、107…パス、108…磁気ディスク装置、
109 …パス、110…制御装置、111…パス、1
12…磁気テープ装置、113…パス、114…制御装
置、115…パス、116…DAT装置、117…変換
プログラム中の変換テーブル、118…変換プログラム
中の選択制御部、119…変換プログラム中の変換制御
部、120…複写プログラム中の複写制御部、121…
複写プログラム中の同期制御部。
Reference numeral 100 ... Central processing unit, 101 ... Application, 102 ... Input / output program, 103 ... Copy program, 104 ... Conversion program, 105 ... Path, 106 ...
Control device, 107 ... Path, 108 ... Magnetic disk device,
109 ... Path, 110 ... Control device, 111 ... Path, 1
12 ... Magnetic tape device, 113 ... Path, 114 ... Control device, 115 ... Path, 116 ... DAT device, 117 ... Conversion table in conversion program, 118 ... Selection control unit in conversion program, 119 ... Conversion in conversion program Control unit, 120 ... Copy control unit in copy program, 121 ...
Synchronous control unit in the copy program.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 岡嶌 正道 神奈川県横浜市戸塚区戸塚町5030番地 株 式会社日立製作所ソフトウェア事業部内 (72)発明者 小山田 健一 神奈川県横浜市戸塚区戸塚町5030番地 株 式会社日立製作所ソフトウェア事業部内 (72)発明者 新村 義章 神奈川県横浜市戸塚区戸塚町5030番地 株 式会社日立製作所ソフトウェア事業部内 Fターム(参考) 5B065 EA35 5B082 DA02    ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Masamichi Okamine             5030 Totsuka Town, Totsuka Ward, Yokohama City, Kanagawa Prefecture             Ceremony company Hitachi Ltd. software division (72) Inventor Kenichi Oyamada             5030 Totsuka Town, Totsuka Ward, Yokohama City, Kanagawa Prefecture             Ceremony company Hitachi Ltd. software division (72) Inventor Yoshiaki Shinmura             5030 Totsuka Town, Totsuka Ward, Yokohama City, Kanagawa Prefecture             Ceremony company Hitachi Ltd. software division F term (reference) 5B065 EA35                 5B082 DA02

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】外部記憶装置と該外部記憶装置の入出力要
求を制御する制御装置に対してデータの入出力要求を指
示する中央演算処理装置を有するシステムにおいて、前
記外部記憶装置への入出力要求の複製を作成する複写機
能と前記外部記憶装置への入出力要求を別種の外部記憶
装置への入出力要求に変換する変換機能を前記中央演算
処理装置内に付加することで、前記外部記憶装置への入
出力要求と同時に前記複写機能によって生成した入出力
要求を別種の外部記憶装置に実行する、ことを特徴とし
たシステム。
1. A system having an external storage device and a central processing unit for instructing a data input / output request to a control device for controlling an input / output request of the external storage device, wherein the input / output to / from the external storage device is performed. By adding in the central processing unit a copy function for creating a copy of a request and a conversion function for converting an input / output request to the external storage device into an input / output request to another type of external storage device, the external storage A system characterized by executing an input / output request generated by the copying function to an external storage device of a different type at the same time as an input / output request to a device.
【請求項2】外部記憶装置と該外部記憶装置の入出力要
求を制御する制御装置に対してデータの入出力要求を指
示する中央演算処理装置を有するシステムにおいて、該
中央演算処理装置からの外部記憶装置に対する入出力要
求を複写および別種の外部記憶装置への入出力要求に変
換する変換機能を前記制御装置に付加することで、前記
外部記憶装置への入出力要求と同時に前記複写機能によ
って生成した入出力要求を別種の外部記憶装置に実行す
る、ことを特徴としたシステム。
2. A system having an external storage device and a central processing unit for instructing a data input / output request to a control device for controlling an input / output request of the external storage device, wherein an external unit from the central processing unit is provided. A conversion function for copying an input / output request to a storage device to an input / output request to an external storage device of a different type is added to the control device to generate the input / output request to the external storage device and the copy function at the same time. A system characterized by executing the input / output request to another type of external storage device.
【請求項3】前記のシステムにおいて、装置種別と装置
種別ごとの変換テーブルを前記変換機能内に有すること
で、前記変換機能が前記外部記憶装置への入出力要求を
別種の外部記憶装置への入出力要求に変換することを特
徴とした変換機能を有する請求項1および請求項2のシ
ステム。
3. In the above system, by having a conversion table for each device type and each device type in the conversion function, the conversion function sends an input / output request to the external storage device to another type of external storage device. 3. The system according to claim 1 or 2, which has a conversion function of converting into an input / output request.
【請求項4】前記のシステムにおいて、複写機能および
変換機能の動作を、前記中央演算処理装置内で動作する
外部オペレータコマンドや、前記制御装置に付加したス
イッチ操作により指示可能とすることで、複写機能およ
び変換機能の動作要否を外部から指示できることを特徴
とした請求項1および請求項2のシステム。
4. In the system described above, the copying and converting functions can be instructed by an external operator command operating in the central processing unit or a switch operation added to the control unit, thereby copying. The system according to claim 1 or 2, wherein the necessity of operation of the function and the conversion function can be instructed from the outside.
JP2002073488A 2002-03-18 2002-03-18 Backup system Pending JP2003271319A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002073488A JP2003271319A (en) 2002-03-18 2002-03-18 Backup system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002073488A JP2003271319A (en) 2002-03-18 2002-03-18 Backup system

Publications (1)

Publication Number Publication Date
JP2003271319A true JP2003271319A (en) 2003-09-26

Family

ID=29203143

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002073488A Pending JP2003271319A (en) 2002-03-18 2002-03-18 Backup system

Country Status (1)

Country Link
JP (1) JP2003271319A (en)

Similar Documents

Publication Publication Date Title
JP2003271319A (en) Backup system
JPH08335181A (en) File accessing device
JPH05204733A (en) System for updating library
JPS6312300B2 (en)
JPH0950394A (en) Automatic data saving processing system
JP2003288210A (en) System and method for executing install program
JP2878159B2 (en) Transaction processing system
JP2000020294A (en) Program development support device and computer- readable recording medium
JPS62194542A (en) Program control system
JPH04348438A (en) Using right control system
JPH06110712A (en) Terminal start processing monitoring system
JPH05225025A (en) File save and restore system
JPH11328093A (en) Input/output device information management system for multi-computer system
JPH0535575A (en) Control file update system of file transfer system
JPH07230377A (en) Software resource management system
JPH0219923A (en) System for constituting system resident volume
JPS5960664A (en) Output system of message of data base managing system
JPH01196627A (en) System for updating software
JPH04119443A (en) Computer network system
JPH0430694A (en) Stored program control electronic exchange
JPH06250833A (en) Method for processing data item information dealing with multilanguage
JPH06149917A (en) Construction design supporting system
JPH07325708A (en) System constitution management system
JPH03283894A (en) Electronic exchange
JPH04309162A (en) Method for copying file between dual disks