JPH0420487B2 - - Google Patents

Info

Publication number
JPH0420487B2
JPH0420487B2 JP58170036A JP17003683A JPH0420487B2 JP H0420487 B2 JPH0420487 B2 JP H0420487B2 JP 58170036 A JP58170036 A JP 58170036A JP 17003683 A JP17003683 A JP 17003683A JP H0420487 B2 JPH0420487 B2 JP H0420487B2
Authority
JP
Japan
Prior art keywords
update management
file
management information
data
update
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.)
Expired - Lifetime
Application number
JP58170036A
Other languages
Japanese (ja)
Other versions
JPS6061843A (en
Inventor
Yutaka Hyoshi
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 JP58170036A priority Critical patent/JPS6061843A/en
Publication of JPS6061843A publication Critical patent/JPS6061843A/en
Publication of JPH0420487B2 publication Critical patent/JPH0420487B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【発明の詳細な説明】 発明の技術分野 本発明は多重化されたデータ処理装置に関し、
特に二重化システムにおける二重化フアイルの更
新管理に係る。
DETAILED DESCRIPTION OF THE INVENTION Technical Field of the Invention The present invention relates to a multiplexed data processing device;
In particular, it relates to update management of duplex files in a duplex system.

従来技術と問題点 データ処理装置では信頼性の向上、処理の確実
さを図つてホストCPU(中央処理装置)及び
DASD(直接アクセス記憶装置)など全てを二重
化することが盛行している。二重化システムでは
処理したデータを2つのDASDへ2重に記録して
おり、一方のDASDがダウンしても他方のDASD
でデータ処理を継続できるようにしている。
DASDに対して行なつた書込み処理の記録または
履歴情報(更新管理情報)はDASD詳しくはその
制御アダプタに格納しており、二重化フアイルで
あるから各DASDの更新管理情報は正常なら同じ
内容のものである。一方がダウンすればそのダウ
ン以後の更新管理情報はブランクになるから、両
DASDの更新管理情報を突き合わせることで何処
まで正常であつたか、ダウンしたDASDと何処か
ら更新すればよいかが分り、更新管理情報をとつ
ておくと障害修復後の立上げが有利に行なえる。
Prior Art and Problems In data processing equipment, the host CPU (central processing unit) and
Duplicating everything, including DASD (direct access storage devices), is becoming popular. In a redundant system, processed data is recorded twice on two DASDs, so even if one DASD goes down, the other DASD
This allows data processing to continue.
The record or history information (update management information) of write processing performed on the DASD is stored in the control adapter of the DASD, and since it is a duplicate file, the update management information of each DASD will have the same content if normal. It is. If one side goes down, the update management information after that time will be blank, so both
By comparing the update management information of the DASD, it is possible to know to what extent the DASD was normal and where to start updating the DASD that has gone down, and if the update management information is saved, startup after the failure is repaired can be carried out advantageously.

かゝる二重化フアイルの更新管理情報を外部記
憶装置上記の例ではDASDが持つているシステム
では、該外部記憶装置は動作している限り更新管
理を行なつてしまい、二重化フアイルに属さなく
て更新管理が必要でない時にもそれをしてしまう
という欠点がある。
In a system where the update management information for such duplexed files is stored in an external storage device (in the above example, DASD), the external storage device performs update management as long as it is operating, and updates are not performed even though they do not belong to the duplexed files. The drawback is that management is done even when it is not necessary.

発明の目的 本発明はかゝる点を改善しようとするもので、
二重化フアイルの更新管理機能の有効/無効をホ
ストより指示して不必要時に更新管理情報をとる
ことがないようにして該更新管理情報の信頼性を
向上させ、また不必要時には該情報を記録しない
ことで外部記憶装置の制御装置の負荷を軽減させ
ようとするものである。
Purpose of the invention The present invention aims to improve the above points.
The reliability of the update management information is improved by instructing the host to enable/disable the update management function of the duplicated file so that the update management information is not taken when unnecessary, and the information is not recorded when it is unnecessary. This is intended to reduce the load on the control device of the external storage device.

発明の構成 本発明は多重化されたフアイルの更新管理情報
を該フアイルを構成する外部記憶装置に持たせ、
多重化フアイルの復旧を行う際、正常なフアイル
の更新管理情報に基づき、正常なフアイルのデー
タを障害が発生したフアイルへ書込むことによ
り、障害が発生したフアイルの復旧を行うように
した多重化データ処理装置において、前記更新管
理情報中にフアイルの更新管理情報を採取する機
能を有効化あるいは無効化するフラグを設け、前
記、データ処理装置の中央処理装置からのコマン
ドにより前記フラグを有効化あるいは無効化の状
態に設定することを特徴とするが、次に図面を参
照しながらこれを説明する。
Structure of the Invention The present invention provides update management information for multiplexed files in an external storage device constituting the files,
When recovering a multiplexed file, the data in the normal file is written to the failed file based on the update management information of the normal file, thereby recovering the failed file. In the data processing device, a flag is provided in the update management information to enable or disable the function of collecting file update management information, and the flag is enabled or disabled by a command from the central processing unit of the data processing device. This feature is set to an invalid state, which will be explained next with reference to the drawings.

発明の実施例 第1図は本発明が対象とする二重化されたデー
タ処理装置の概要を示し、10,12はホスト
CPU、14,16はDASD本例では磁気デイス
ク装置の制御装置、18,20はデイスク制御ア
ダプタ、22,24は磁気デイスク装置である。
デイスク22,24は大規模データ処理装置では
多数設けられているが、こゝでは各2つのみ示
す。このシステムでは図示のようにホスト、デイ
スクなど全てを2重化しており、信頼度を高めて
いる。鎖線枠26内がホストの内部記憶装置(主
記憶)に対する外部記憶装置を構成する。デイス
ク制御アダプタ18,20には更新管理領域18
a,20aが設けられ、これらの領域に更新管理
情報が格納される。
Embodiment of the Invention FIG. 1 shows an outline of a duplex data processing device to which the present invention is applied, and 10 and 12 are host
A CPU, 14 and 16 are control devices for a DASD magnetic disk device in this example, 18 and 20 are disk control adapters, and 22 and 24 are magnetic disk devices.
Although a large number of disks 22 and 24 are provided in a large-scale data processing apparatus, only two of each are shown here. As shown in the diagram, this system has duplicate hosts, disks, and other components to increase reliability. The area within the chain line frame 26 constitutes an external storage device for the internal storage device (main storage) of the host. The disk control adapters 18 and 20 have an update management area 18.
a, 20a are provided, and update management information is stored in these areas.

第2図はデイスク制御アダプタ18の詳細説明
図で、図中第1図と同一部分は同一番号で表わし
ている。27は上位インターフエース回路、28
はアドレスポインタ、29はリード回路、30は
ライト回路、31は下位インターフエース回路で
ある。制御装置14からのコマンドを上位インタ
ーフエース回路27で解読し、書込み系コマンド
である時は更新管理領域18aの所定アドレスを
アドレスポインタ28でアクセスし、ライト回路
30によりデータを書き込む。読出し系コマンド
の時はリード回路30によりデータを読み出す。
FIG. 2 is a detailed explanatory diagram of the disk control adapter 18, in which the same parts as in FIG. 1 are designated by the same numbers. 27 is the upper interface circuit, 28
is an address pointer, 29 is a read circuit, 30 is a write circuit, and 31 is a lower interface circuit. The command from the control device 14 is decoded by the upper interface circuit 27, and if it is a write command, a predetermined address in the update management area 18a is accessed by the address pointer 28, and the data is written by the write circuit 30. In the case of a read-related command, data is read by the read circuit 30.

第3図は更新管理領域18a,20aの格納情
報を示すものである。AA,AB……BDの最初の
符号A,Bはデバイス名を、次の符号A〜Dはチ
ヤネルを示す。デバイスとはデイスク22,24
をいい、本例では各2個あるので、これをA,B
で示している。チヤネルとはデイスク制御アダプ
タ18,20の制御装置14,16に対するポー
トをいい、本例では各2個であるが第3図では4
個ある場合を想定してこれらをA,B,C,Dで
示している。更新管理領域では図示の如くデバイ
ス別及びチヤネル別に書込み処理履歴をとるよう
にしており、その履歴内容はデータ有効フラグ
a、更新開始日時b、更新開始ブロツクアドレス
c、更新完了ブロツクアドレスd、データチエツ
クフラグeからなる。これらのうちb〜dは更新
管理情報の要部をなし、aはこれらのデータが有
効か否かを示すもの、eはこれらのデータのエラ
ーチエツク用パリテイビツトである。データチエ
ツクフラグeにはECCなどのようにデータ修正
機能を持たせてもよい。
FIG. 3 shows information stored in the update management areas 18a and 20a. AA, AB... The first symbols A and B of BD indicate device names, and the following symbols A to D indicate channels. What is a device? Disk 22, 24
In this example, there are two of each, so they are called A and B.
It is shown in Channels refer to the ports of the disk control adapters 18 and 20 to the control devices 14 and 16, and in this example there are two ports each, but in FIG. 3 there are four ports.
These are shown as A, B, C, and D assuming that there are several cases. In the update management area, as shown in the figure, write processing history is kept for each device and channel, and the history contents include data valid flag a, update start date and time b, update start block address c, update completion block address d, and data check. Consists of flag e. Of these, b to d form the main part of the update management information, a indicates whether or not these data are valid, and e indicates a parity bit for error checking of these data. The data check flag e may have a data correction function such as ECC.

かかる更新管理情報の書込み読取りはセツトバ
ツフアパラメータ(Set Buffer Parameter)コ
マンドの如きホストコマンドで行なうが、この動
作を第4図のフローチヤートを用いて説明する。
セツトバツフアパラメータコマンドが発行される
と、このコマンドに後述されるライトパラメータ
が指定されているときには、更新管理を開始し
ようとする場合であれば続いて発行される更新管
理領域書込みコマンドにより1で示す更新管理デ
ータのセツトを行い、有効フラグaはオンにセツ
トする。更新管理が不要となつた場合には後述さ
れる終了パラメータにより、3で示す有効フラ
グのオフへのリセツトを行わせる。また更新管理
を一時凍結する場合には、後述される凍結パラメ
ータにより、4で示す凍結フラグのセツトを行
わせる(凍結フラグ自体は図示省略されている)。
他方、セツトバツフアパラメータコマンドに後述
されるリードパラメータが指定されているとき
には、続いて発行される更新管理領域読出しコマ
ンドにより2で示す更新管理データの読出しと送
出を行う。パラメータとしては次の如きパラメー
タ〜を用意する。
Writing and reading of such update management information is performed by a host command such as a Set Buffer Parameter command, and this operation will be explained using the flowchart shown in FIG.
When the Set Buffer Parameter command is issued, if the write parameter described later is specified in this command, if update management is to be started, the update management area write command issued subsequently will The update management data shown is set, and the valid flag a is set on. When update management is no longer necessary, the validity flag indicated by 3 is reset to OFF using a termination parameter described later. Further, when temporarily freezing the update management, a freezing flag indicated by 4 is set using a freezing parameter described later (the freezing flag itself is not shown).
On the other hand, when a read parameter, which will be described later, is specified in the set buffer parameter command, the update management data indicated by 2 is read and sent by the subsequently issued update management area read command. The following parameters are prepared as parameters.

パラメータは、ライトパラメータで、二重化
制御中であることを制御装置に知らせるものであ
る。そして前述したようにセツトバツフアパラメ
ータコマンドに続いて発行される更新管理領域書
込みコマンドにより、指定ブロツクに第3図で説
明したデータa,b,c,d,eを書込ませ、以
後、書込みコマンド毎に更新完了ブロツクアドレ
スの更新を行なわせる。以後発行される書込みコ
マンドによる処理フローは図中5に示す経路を経
る。この処理フローは有効フラグaがオンで更新
管理が凍結中でないときに更新管理領域にブロツ
クNoを書込んでゆくものである。
The parameter is a light parameter that notifies the control device that duplex control is in progress. Then, as mentioned above, the update management area write command issued following the set buffer parameter command writes data a, b, c, d, and e explained in FIG. The updated block address is updated for each command. The processing flow for write commands issued thereafter follows the route shown in 5 in the figure. This processing flow writes the block number to the update management area when the valid flag a is on and update management is not frozen.

パラメータは、リードパラメータで、前述し
たように、続いて発行される更新管理領域読出し
コマンドにより該更新管理領域の4単位データ
AA〜AD,BA〜BDを読み取らせるものである。
The parameter is a read parameter, and as mentioned above, the 4 unit data of the update management area is read by the update management area read command issued subsequently.
It allows you to read AA~AD, BA~BD.

パラメータは、凍結パラメータで、単独動作
中であるか又は二重化制御中ではあるが障害発生
時の修復が不要なデータであるなどの事情で更新
完了ブロツクアドレスの更新は不要であることを
制御装置に知らせるものである。
The parameter is a frozen parameter, which indicates to the control device that it is not necessary to update the updated block address due to circumstances such as the data not needing to be repaired in the event of a failure even though it is operating independently or under duplex control. It is something to inform.

パラメータは、終了パラメータで、続いて発
行される更新管理領域書込みコマンドにより任意
のブロツクにデータa〜eを書込ませるが、この
場合は以後書込みコマンドが発行されても更新デ
ータはとらないようにするものである。
The parameter is an end parameter that causes data a to e to be written to any block by the update management area write command issued subsequently, but in this case, update data is not taken even if a write command is issued thereafter. It is something to do.

データ有効フラグaはデータb〜dが有効、無
効を示すものであり、更新管理情報はもうとらな
いという場合はパラメータを用いて該フラグa
を“0”(無効)にセツトする。勿論更新管理情
報をとり始める場合はパラメータにより該フラ
グaを“1”にセツトする。一方のデイスク系1
8,22又は20,24がダウンした場合は、ア
ダプタ18,20の第2図に示す如き更新管理領
域18a,20aの内容をパラメータで読取つ
て比較し、不一致である、例えば各系のAB欄の
dが異なる場合は、デバイスA(各系でのそれ)
に対するチヤネルBからの書込み処理をダウンし
たデバイスに対して行なえばよい。
The data valid flag a indicates whether data b to d are valid or invalid.If you do not want to collect update management information anymore, use a parameter to set the flag a.
Set to “0” (invalid). Of course, when starting to obtain update management information, the flag a is set to "1" by a parameter. One disk system 1
8, 22 or 20, 24 are down, read and compare the contents of the update management areas 18a, 20a of the adapters 18, 20 as shown in FIG. If d is different, device A (that in each system)
It is sufficient to perform write processing from channel B to the down device.

更新管理情報をとるデータ処理装置では該情報
はハードウエアで自動採取するようにしており、
本発明でも該情報はデイスク制御アダプタ18,
20のハードウエアが採取する。即ち第2図に示
したアドレスポインタ28、リード回路29、ラ
イト回路30により更新管理領域18aの情報を
採取する。前述のようにこの機能は迅速に有効
化、無効化することができないと、採取してはな
らない状態でも採取してしまい、ひいては更新管
理情報そのものを信頼のおけないものにしてしま
う。この点本発明のようにホストコマンドで簡
単、迅速に有効化、無効化可能にしておくと、
DASDの一方がダウンした或いはDASDの2重化
を解除して単独動作にした場合などは速やかに更
新管理情報の採取を禁止することができ、甚だ有
効である。
Data processing equipment that collects update management information automatically collects this information using hardware.
In the present invention, the information is also transmitted to the disk control adapter 18,
20 hardware samples. That is, information on the update management area 18a is collected by the address pointer 28, read circuit 29, and write circuit 30 shown in FIG. As mentioned above, if this function cannot be enabled or disabled quickly, it will collect information even when it should not be collected, which will eventually make the update management information itself unreliable. In this regard, if it is enabled and disabled easily and quickly using host commands as in the present invention,
If one of the DASDs goes down, or if the duplication of the DASD is canceled and the DASD operates independently, collection of update management information can be immediately prohibited, which is extremely effective.

本発明は磁気デイスク装置だけでなく、多重化
フアイルとして構成され履歴情報を採るデータ処
理装置に適用して同様な効果を得ることができ
る。
The present invention can be applied not only to magnetic disk devices but also to data processing devices that are configured as multiplexed files and that collect history information to obtain similar effects.

発明の効果 以上説明したように本発明によればOS(管理プ
ログラム)によつて更新管理機能の有効化/無効
化が自由にできるので汎用性があり、信頼度が向
上する。また無効時には更新管理機能動作しなく
なるので、外部記憶装置の制御装置の負荷が軽減
される効果がある。
Effects of the Invention As explained above, according to the present invention, the update management function can be freely enabled/disabled using the OS (management program), thereby providing versatility and improving reliability. Furthermore, when the update management function is disabled, the update management function does not operate, which has the effect of reducing the load on the control device of the external storage device.

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

第1図は本発明の実施例を示すブロツク図、第
2図はデイスク制御アダプタの詳細を示すブロツ
ク図、第3図はその更新管理領域の内容を示す説
明図、第4図は更新管理領域の処理を説明するフ
ローチヤートである。 図面で、26は外部記憶装置、10,12は中
央処理装置、18a,20aは更新管理情報を記
憶する領域である。
Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is a block diagram showing details of the disk control adapter, Fig. 3 is an explanatory diagram showing the contents of its update management area, and Fig. 4 is an update management area. 2 is a flowchart illustrating the processing. In the drawing, 26 is an external storage device, 10 and 12 are central processing units, and 18a and 20a are areas for storing update management information.

Claims (1)

【特許請求の範囲】[Claims] 1 多重化されたフアイルの更新管理情報を該フ
アイルを構成する外部記憶装置に持たせ、多重化
フアイルの復旧を行う際、正常なフアイルの更新
管理情報に基づき、正常なフアイルのデータを障
害が発生したフアイルへ書込むことにより、障害
が発生したフアイルの復旧を行うようにした多重
化データ処理装置において、前記更新管理情報中
にフアイルの更新管理情報を採取する機能を有効
化あるいは無効化するフラグを設け、前記、デー
タ処理装置の中央処理装置からのコマンドにより
前記フラグを有効化あるいは無効化の状態に設定
することを特徴とするデータ処理装置。
1 The update management information of a multiplexed file is stored in the external storage device that constitutes the file, and when the multiplexed file is restored, the data of the normal file is updated based on the update management information of the normal file. In a multiplex data processing device configured to recover a file in which a failure has occurred by writing to the file in which a failure has occurred, enable or disable a function for collecting file update management information in the update management information. A data processing apparatus, characterized in that a flag is provided, and the flag is set to be enabled or disabled by a command from a central processing unit of the data processing apparatus.
JP58170036A 1983-09-14 1983-09-14 Data processor Granted JPS6061843A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58170036A JPS6061843A (en) 1983-09-14 1983-09-14 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58170036A JPS6061843A (en) 1983-09-14 1983-09-14 Data processor

Publications (2)

Publication Number Publication Date
JPS6061843A JPS6061843A (en) 1985-04-09
JPH0420487B2 true JPH0420487B2 (en) 1992-04-03

Family

ID=15897416

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58170036A Granted JPS6061843A (en) 1983-09-14 1983-09-14 Data processor

Country Status (1)

Country Link
JP (1) JPS6061843A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55135950A (en) * 1979-04-11 1980-10-23 Fujitsu Ltd Data processing system
JPS5835653A (en) * 1981-08-27 1983-03-02 Fujitsu Ltd History memory controlling system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55135950A (en) * 1979-04-11 1980-10-23 Fujitsu Ltd Data processing system
JPS5835653A (en) * 1981-08-27 1983-03-02 Fujitsu Ltd History memory controlling system

Also Published As

Publication number Publication date
JPS6061843A (en) 1985-04-09

Similar Documents

Publication Publication Date Title
US7028216B2 (en) Disk array system and a method of avoiding failure of the disk array system
US7890697B2 (en) System and program for demoting tracks from cache
US5193154A (en) Buffered peripheral system and method for backing up and retrieving data to and from backup memory device
US7152184B2 (en) Storage device, backup method and computer program code of this storage device
US7590884B2 (en) Storage system, storage control device, and storage control method detecting read error response and performing retry read access to determine whether response includes an error or is valid
JP5047308B2 (en) Nonvolatile disk cache for data security
US6604171B1 (en) Managing a cache memory
US6591335B1 (en) Fault tolerant dual cache system
US7310743B1 (en) Data recovery method and apparatus
US20020083366A1 (en) Dual channel restoration of data between primary and backup servers
JP2002149499A (en) Remote copy system with integrity of data
US7567994B2 (en) Method and apparatus to proactively capture and transmit dense diagnostic data of a file system
US20070033361A1 (en) Apparatus, system, and method for fastcopy target creation
JPH0335313A (en) Data transfer system
JP2006072435A (en) Storage system and data recording method
US20040133741A1 (en) Disk array apparatus and data writing method used in the disk array apparatus
JPH0877074A (en) Storage device system using flash memory
JPH0420487B2 (en)
JP2002278706A (en) Disk array device
JP3845239B2 (en) Disk array device and failure recovery method in disk array device
JPH0287242A (en) Saving and recovering system for data base
JPH10340215A (en) Data backup system
JPS58175065A (en) Processing system of multiplex volume
JP2003186629A (en) Data copy system
JPS63262737A (en) Data base updating and recording processing method