JP2562834B2 - Redundant control method - Google Patents

Redundant control method

Info

Publication number
JP2562834B2
JP2562834B2 JP63242944A JP24294488A JP2562834B2 JP 2562834 B2 JP2562834 B2 JP 2562834B2 JP 63242944 A JP63242944 A JP 63242944A JP 24294488 A JP24294488 A JP 24294488A JP 2562834 B2 JP2562834 B2 JP 2562834B2
Authority
JP
Japan
Prior art keywords
volume
disk
read
control unit
primary
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 - Fee Related
Application number
JP63242944A
Other languages
Japanese (ja)
Other versions
JPH0290314A (en
Inventor
康之 東浦
尚幸 西村
繁 橋本
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 JP63242944A priority Critical patent/JP2562834B2/en
Publication of JPH0290314A publication Critical patent/JPH0290314A/en
Application granted granted Critical
Publication of JP2562834B2 publication Critical patent/JP2562834B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔概要〕 二重化ボリュームのリードアクセス時は正系ボリュー
ムのみを制御して処理する二重化制御方法に関し、 ディスク制御部の処理をより簡易化し、しかもボリュ
ーム切り離しの判断を正確に行なってボリュームを切り
替えることを目的とし、 中央処理装置より二重化論理ボリュームアドレスと正
系及び副系の各ボリュームアドレスと二重化制御の運用
状態を示す情報とをディスク制御部に通知した後、二重
化ボリュームへのリードアクセス時は前記正系ボリュー
ムのみをリード処理する二重化制御方法において、前記
ディスク制御部は前記正系ボリュームの異常発生時に前
記中央処理装置へ異常発生を通知し、前記中央処理装置
は前記異常発生通知により設定コマンドを前記ディスク
制御部へ発行し前記正系ボリュームと前記副系ボリュー
ムとの切り替え処理を行なわせた後、リードコマンドを
前記ディスク制御部へ再発行して正系ボリュームに切り
替えられた前記副系ボリュームのリード処理を行なわせ
るように構成する。
The present invention relates to a duplication control method for controlling and processing only a primary volume when performing read access to a duplication volume, and further simplifies the processing of the disk control unit and accurately determines the volume detachment. The central processing unit notifies the disk controller of the redundant logical volume address, primary and secondary volume addresses, and information indicating the operating status of the redundant control, and then switches to the redundant volume. In the duplication control method in which only the primary volume is read-accessed during read access, the disk control unit notifies the central processing unit of the abnormality occurrence when the primary volume abnormality occurs, and the central processing unit causes the abnormality. By issuing an occurrence notification, a setting command is issued to the disk control unit and After the switching process between the volume and the secondary volume is performed, a read command is reissued to the disk control unit to perform the read process of the secondary volume switched to the primary volume.

〔産業上の利用分野〕[Industrial applications]

本発明は二重化制御方法に係り、特に二重化ボリュー
ムのリードアクセス時は正系ボリュームのみを制御して
処理する二重化制御方法に関する。
The present invention relates to a duplication control method, and more particularly to a duplication control method that controls and processes only a primary volume during read access to a duplication volume.

〔従来の技術〕[Conventional technology]

従来の二重化制御方法は、中央処理装置(CPU)、デ
ィスク制御部及び2つのディスク(#1ディスクと#2
ディスク)などから構成されたシステムにおいて、リー
ドアクセス時には、リードコマンドに基づいて正系ディ
スクのリード処理のみを行なう。
A conventional redundant control method is a central processing unit (CPU), a disk control unit, and two disks (# 1 disk and # 2 disk).
In a system composed of disks, etc., at the time of read access, only the read processing of the primary disk is performed based on the read command.

この従来方法について第4図と共に説明するに、CPU
がa1で示す如くリードコマンド(論理アドレス指定によ
る)をディスク制御部に発行すると、ディスク制御部は
このコマンドを解析し(第4図中、b1)、二重化設定情
報を参照して正系ディスク(この場合、#1ディスクと
する)をアクセスして(第4図中、b2)、#1ディスク
のリード処理(同、c1)を行なう。
This conventional method will be described with reference to FIG.
Issues a read command (by logical address specification) to the disk controller as indicated by a 1 , the disk controller analyzes this command (b 1 in FIG. 4) and refers to the duplication setting information to read the normal system. The disk (in this case, the # 1 disk) is accessed (b 2 in FIG. 4), and the # 1 disk read processing (the same, c 1 ) is performed.

ディスク制御部はリード処理が正常に行なわれ、それ
が終了すると正常終了のステータス通知(第4図中、
b3)をCPUに行なう。
The disk control unit normally performs the read process, and when the read process is completed, a status notification of normal completion (in FIG. 4,
b 3 ) to the CPU.

次にCPUがリードコマンドを再び発行し(第4図中、a
2)、これをディスク制御部が解析して(同、b4)、正
系ディスク#1をアクセスする(同、b5)。これによ
り、#1ディスクのリード処理(同、c2)が開始される
が、このときリード処理に異常が発生すると、必要なリ
カバリ(例えばコマンド再発行によるリトライなど)を
行なう。
Next, the CPU issues the read command again (in Fig. 4, a
2), which are disk control unit analyzes (same, b 4), to access the main system disk # 1 (same, b 5). As a result, the read process of the # 1 disc (same as c 2 ) is started, but if an error occurs in the read process at this time, necessary recovery (for example, retry by command reissue) is performed.

しかし、ハード異常等でリカバリ不能とディスク制御
部が判断した場合は、正系ディスクを切り離し、第4図
に示す如く副系ディスク(この場合、#2ディスク)を
アクセスする。これにより、#2ディスクのリード処理
が行なわれ(第4図中、d1)、それが正常に行なわれて
終了すると、ディスク制御部は正常終了のステータスを
CPUへ通知する(同、b7)。切り離しが発生した場合
は、切り離しを行なったことも通知する。
However, when the disk control unit determines that recovery is impossible due to a hardware error or the like, the primary disk is disconnected and the secondary disk (# 2 disk in this case) is accessed as shown in FIG. As a result, the # 2 disk read process is performed (d 1 in FIG. 4), and when the process is normally performed and the process ends, the disk control section returns a normal end status.
Notifies the CPU (the same, b 7). If disconnection occurs, the fact that disconnection has been performed is also notified.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

上記の従来の二重化制御方法によれば、ディスク制御
部においてリカバリ処理や切り離しの判断等を行なうよ
うにしていたため、切り離しの判断が正常に行なえない
ことがあった。
According to the above-mentioned conventional duplex control method, since the disk controller performs the recovery process and the judgment of disconnection, the judgment of disconnection may not be normally performed.

例えば、同一ディスクを複数のホストコンピュータが
使用している場合、ディスクへのアクセスがいつまでた
ってもビジーであることがあり、このような場合などで
はディスク制御部はハード異常と判断してよいかわから
なかった。
For example, when the same disk is used by multiple host computers, access to the disk may be busy forever, and in such a case, the disk control unit may determine that the hardware is abnormal. There wasn't.

本発明は上記の点に鑑みなされたもので、ディスク制
御部の処理をより簡易化し、しかもボリューム切り離し
の判断を正確に行なってボリュームを切り替える二重化
制御方法を提供することを目的とする。
The present invention has been made in view of the above points, and it is an object of the present invention to provide a duplexing control method that simplifies the processing of the disk control unit and, moreover, accurately determines the volume disconnection and switches the volume.

〔課題を解決するための手段〕[Means for solving the problem]

本発明の二重化制御方法では、ディスク制御部は正系
ボリュームの異常発生時に中央処理装置へその旨を通知
し、これにより中央処理装置は設定コマンドをディスク
制御部へ発行し正系ボリュームと副系ボリュームとの切
り替え処理を行なわせる。
According to the duplex control method of the present invention, the disk control unit notifies the central processing unit of the occurrence of an abnormality in the primary volume, whereby the central processing unit issues a setting command to the disk control unit to send the primary volume and the secondary system. The switching process with the volume is performed.

しかる後に、中央処理装置はリードコマンドをディス
ク制御部へ再発行して正系ボリュームに切り替えられた
副系ボリュームのリード処理を行なわせる。
Thereafter, the central processing unit reissues the read command to the disk control unit to cause the secondary volume switched to the primary volume to perform the read processing.

〔作用〕[Action]

中央処理装置はディスク制御部から異常通知を受ける
と、異常内容を判断し、必要なリカバリ処理を行なう。
このリカバリ処理でも異常となる場合やハード異常でリ
カバリできない場合は設定コマンドを発行して正系/副
系のディスクの切り替えを行なう。
Upon receiving the abnormality notification from the disk control unit, the central processing unit determines the details of the abnormality and performs necessary recovery processing.
If an error occurs even in this recovery process, or if recovery is not possible due to a hardware error, a setting command is issued to switch the primary and secondary disks.

従って、中央処理装置は正系/副系のディスクの設定
変更の処理を行なうのみで、異常発生以前の同一の処理
でボリュームの切り替えが可能である。
Therefore, the central processing unit only needs to change the settings of the primary / secondary disks, and the volumes can be switched by the same processing before the occurrence of the abnormality.

また、ディスク制御部は正系ボリュームのリード機能
を有するのみでよく、副系ボリュームのリード機能は不
要である。
Further, the disk control unit need only have the read function of the primary volume, and does not need the read function of the secondary volume.

また、中央処理装置が複数あり、これらが同一の正系
ボリュームをアクセスする場合、各々の中央処理装置は
通信手段があり、またシステム構成がわかっているの
で、同一の正系ボリュームへのアクセスがいつまでたっ
てもビジーでも、ハード異常によるものであるか否かを
正確に判断することができる。
Further, when there are a plurality of central processing units, and these access the same primary volume, each central processing unit has a communication means and the system configuration is known, so that access to the same primary volume is not possible. Even if it stays busy forever, it is possible to accurately determine whether it is due to a hardware abnormality.

〔実施例〕〔Example〕

第1図は本発明方法の一実施例の制御手順説明図、第
2図は本発明の一実施例のシステム構成図を示す。第2
図において、1は中央処理装置(CPU)、2はディスク
制御部、3及び4は夫々#1,#2のディスクである。デ
ィスク制御部2はCPU1対応に設けられる。また、5はメ
モリ(MEM)で、CPU1の動作プログラムその他が格納さ
れている。更に、ディスク制御部2内にある#0ディス
クは、ディスク制御部2が論理的に見せているディスク
であり、#1,#2のディスク3,4を二重化して、CPU1に
は#0のディスクとして見せていることを示す(#0デ
ィスクは実在しない)。
FIG. 1 is an explanatory view of a control procedure of an embodiment of the method of the present invention, and FIG. 2 is a system configuration diagram of an embodiment of the present invention. Second
In the figure, 1 is a central processing unit (CPU), 2 is a disk controller, and 3 and 4 are disks # 1 and # 2, respectively. The disk controller 2 is provided corresponding to the CPU 1. A memory (MEM) 5 stores the operation program of the CPU 1 and the like. Further, the # 0 disk in the disk control unit 2 is a disk that the disk control unit 2 logically looks like, and the disks 3 and 4 of # 1 and # 2 are duplicated so that the CPU 1 has the # 0 disk. Indicates that it is shown as a disc (the # 0 disc does not actually exist).

第2図に示すシステムにおいて、CPU1(又はソフトウ
ェア)は、二重化ボリューム制御を行なう場合、まず、
二重化設定コマンドにより第3図に示す情報をディスク
制御部2へ通知する。この通知情報は第3図に示すよう
に、二重化論理ボリュームアドレス、正系ボリュームア
ドレス、副系ボリュームアドレス及び運用状態を示す情
報からなる。
In the system shown in FIG. 2, when the CPU 1 (or software) performs redundant volume control, first,
The disk controller 2 is notified of the information shown in FIG. 3 by the duplex setting command. As shown in FIG. 3, this notification information is composed of a redundant logical volume address, a primary volume address, a secondary volume address, and information indicating the operating status.

二重化論理ボリュームアドレスは、ディスク制御部2
がCPU1に見せる二重化した仮想ボリュームのアドレスを
示し、第2図の実施例では#0である。
The duplicated logical volume address is the disk controller 2
Indicates the address of the duplicated virtual volume shown to the CPU 1, which is # 0 in the embodiment of FIG.

正系ボリュームアドレスは二重化するボリュームのう
ち正系ボリュームのアドレスを示し、第2図の実施例で
は#1である。また、副系ボリュームアドレスは二重化
するボリュームのうち副系ボリュームのアドレスを示
し、第2図の実施例では#2である。
The primary volume address indicates the address of the primary volume in the duplicated volume, and is # 1 in the embodiment of FIG. The secondary volume address indicates the address of the secondary volume in the duplicated volume, and is # 2 in the embodiment of FIG.

更に、運用状態は二重化制御の運用状態を示し、正系
ボリュームを切り離す場合は、内部の切り離しフラグを
オンとして切り離しを指示する。
Furthermore, the operating status indicates the operating status of the duplex control, and when disconnecting the primary volume, the internal disconnection flag is turned on to instruct the disconnection.

上記の二重化設定コマンドのディスク制御部2への通
知の後、CPU1が二重化論理ボリュームアドレスを指定し
て、リード/ライトコマンドを発行する二重化制御が行
なわれる。ただし、リード制御は、二重化論理ボリュー
ムアドレス指定により指示された場合は、正系ボリュー
ムのみをアクセスし、リード処理を行なう。
After the above-mentioned notification of the duplication setting command to the disk control unit 2, the CPU 1 designates the duplication logical volume address and the duplication control is performed to issue the read / write command. However, in the read control, when instructed by the dual logical volume address designation, only the primary volume is accessed and the read processing is performed.

次にかかるシステムにおいて、二重化制御時のリード
処理中に異常が発生した場合の動作について、第1図と
共に説明する。まず、CPU1がディスク制御部2へ二重化
論理ボリュームアドレス指定によるリードコマンドを発
行する(第1図中、7a)。
Next, in such a system, the operation in the case where an abnormality occurs during the read processing during duplex control will be described with reference to FIG. First, the CPU 1 issues a read command by designating a duplicated logical volume address to the disk control unit 2 (7a in FIG. 1).

これにより、ディスク制御部2は8aで示す如く、この
リードコマンドを解析し、二重化構成表(設定コマンド
により作成する)を参照し、正系ボリューム(すなわ
ち、#1ディスク3)に対してリード処理9を行なう。
しかし、このリード処理9に際してディスク制御部2は
#1ディスク3から読み出しデータが得られないと異常
と判定しで異常終了通知をCPU1へ行なう。
As a result, the disk control unit 2 analyzes this read command as shown by 8a, refers to the duplicated configuration table (created by the setting command), and reads the primary volume (that is, # 1 disk 3). Perform 9.
However, at the time of this read processing 9, the disk control unit 2 determines that it is abnormal if read data is not obtained from the # 1 disk 3, and notifies the CPU 1 of abnormal termination.

CPU1はこの異常終了通知に基づき異常内容を判断し
て、必要なリカバリ処理を行なう。リカバリが異常とな
った場合やハード異常等でリカバリできない場合は、CP
U1は設定コマンドをディスク制御部2へ発行する(第1
図の7b)。ディスク制御部2はこれにより、#1ディス
ク3を切り離し、8bで示す如く、その二重化構成表にお
いてそれまで正系ボリュームであった#1ディスク3を
副系ボリュームに、かつ、それまで副系ボリュームであ
った#2ディスク4を正系ボリュームに夫々切り替える
(すなわち、二重化構成再設定を行なう)。
The CPU 1 determines the content of the abnormality based on this abnormal end notification and performs necessary recovery processing. If recovery is abnormal or cannot be recovered due to hardware error, CP
U1 issues a setting command to the disk control unit 2 (first
Figure 7b). As a result, the disk control unit 2 disconnects the # 1 disk 3, and as shown by 8b, the # 1 disk 3 that was the primary volume in the duplicated configuration table until then becomes the secondary volume and the secondary volume until then. Then, the # 2 disk 4 which has been described above is switched to the primary volume (that is, the duplex configuration is reset).

CPU1はディスク制御部2からの二重化構成再設定の終
了通知を待って、第1図に7cで示す如く論理アドレス指
定によるリードコマンドを再発行する。すると、ディス
ク制御部2は第1図に8cで示す如く、そのリードコマン
ドを解析して(二重化構成表を参照して)、その時点で
正系ボリュームとされている、それ以前に副系ボリュー
ムであった#2ディスク4をアクセスし、リード処理10
を行なう。このリード処理10が終了すると、ディスク制
御部2はその旨をCPU1へ通知する。
The CPU 1 waits for the end notification of the duplicated configuration resetting from the disk control unit 2 and reissues the read command by the logical address designation as shown by 7c in FIG. Then, the disk control unit 2 analyzes the read command as shown by 8c in FIG. 1 (refer to the redundant configuration table) and determines that it is the primary volume at that time. Access the # 2 disk 4 which was
Perform When this read processing 10 is completed, the disk control unit 2 notifies the CPU 1 of that fact.

なお、異常発生時は、正系と副系のボリュームを切り
替えるだけでなく、運用状態の情報内にある切り離しフ
ラグをオンして異常発生正系ボリュームの切り離しも行
なう。
When an abnormality occurs, not only is the volume of the primary system and the volume of the secondary system switched, but the disconnection flag in the operating status information is turned on to disconnect the primary volume that has the error.

〔発明の効果〕〔The invention's effect〕

上述の如く、本発明によれば、ディスク制御部は異常
内容の判断機能が不要で、また副系ボリュームのリード
機能も不要であるため、従来より簡単で小型な構成とす
ることができ、しかも異常内容はシステム構成がわかっ
ている中央処理装置(ソフトウェア)が判断するので、
その異常原因がハード異常やリカバリ処理異常によるも
のか、それ以外の原因によるものかを正確に判断するこ
とができ、より信頼性の高い二重化制御ができる等の特
長を有するものである。
As described above, according to the present invention, the disk control unit does not need the function of determining the abnormality content, and the read function of the secondary volume is also unnecessary. Since the central processing unit (software) whose system configuration is known determines the details of the abnormality,
It is possible to accurately determine whether the cause of the abnormality is due to a hardware abnormality, a recovery processing abnormality, or another cause, and it is possible to perform more reliable duplex control.

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

第1図は本発明方法の一実施例の制御手順説明図、 第2図は本発明の一実施例のシステム構成図、 第3図はディスク制御部への通知情報を示す図、 第4図は従来方法の一例の制御手順説明図である。 図において、 1は中央処理装置(CPU)、 2はディスク制御部、 3,4はディスク を示す。 FIG. 1 is an explanatory diagram of a control procedure of an embodiment of the method of the present invention, FIG. 2 is a system configuration diagram of an embodiment of the present invention, FIG. FIG. 7 is an explanatory diagram of a control procedure of an example of a conventional method. In the figure, 1 is a central processing unit (CPU), 2 is a disk controller, and 3 and 4 are disks.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】中央処理装置(1)より二重化論理ボリュ
ームアドレスと正系及び副系の各ボリュームアドレスと
二重化制御の運用状態を示す情報とをディスク制御部
(2)に通知した後、二重化ボリュームへのリードアク
セス時は前記正系ボリューム(3)のみをリード処理す
る二重化制御方法において、 前記ディスク制御部(2)は前記正系ボリューム(3)
の異常発生時に前記中央処理装置(1)へ異常発生を通
知し、 前記中央処理装置(1)は前記異常発生通知により設定
コマンドを前記ディスク制御部(2)へ発行し前記正系
ボリューム(3)と前記副系ボリューム(4)との切り
替え処理を行なわせた後、リードコマンドを前記ディス
ク制御部(2)へ再発行して正系ボリュームに切り替え
られた前記副系ボリューム(4)のリード処理を行なわ
せることを特徴とする二重化制御方法。
1. A duplicated volume after a central processing unit (1) notifies a disk control unit (2) of a duplicated logical volume address, primary and secondary volume addresses, and information indicating an operation state of duplicated control. In the duplication control method of performing read processing only on the primary volume (3) during read access to the disk, the disk control unit (2) includes the primary volume (3).
When the abnormality occurs, the central processing unit (1) is notified of the abnormality occurrence, and the central processing unit (1) issues a setting command to the disk control unit (2) in response to the abnormality occurrence notification to issue the primary volume (3). ) And the secondary volume (4) are switched, and then a read command is reissued to the disk control unit (2) to read the secondary volume (4) switched to the primary volume. A duplex control method characterized by performing processing.
JP63242944A 1988-09-28 1988-09-28 Redundant control method Expired - Fee Related JP2562834B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63242944A JP2562834B2 (en) 1988-09-28 1988-09-28 Redundant control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63242944A JP2562834B2 (en) 1988-09-28 1988-09-28 Redundant control method

Publications (2)

Publication Number Publication Date
JPH0290314A JPH0290314A (en) 1990-03-29
JP2562834B2 true JP2562834B2 (en) 1996-12-11

Family

ID=17096547

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63242944A Expired - Fee Related JP2562834B2 (en) 1988-09-28 1988-09-28 Redundant control method

Country Status (1)

Country Link
JP (1) JP2562834B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7823007B2 (en) * 2006-02-17 2010-10-26 International Business Machines Corporation Apparatus, system, and method for switching a volume address association in a point-in-time copy relationship

Also Published As

Publication number Publication date
JPH0290314A (en) 1990-03-29

Similar Documents

Publication Publication Date Title
US5212784A (en) Automated concurrent data backup system
US5819310A (en) Method and apparatus for reading data from mirrored logical volumes on physical disk drives
US5720028A (en) External storage system
US5634111A (en) Computer system including a device with a plurality of identifiers
EP1310876B1 (en) Computer data migration system and method therefor
US6009535A (en) SCSI adaptor failover for a disk drive system
US6425049B1 (en) Disk array system and method of changing the configuration of the disk array system
US7890717B2 (en) Storage system, data transfer method, and program
JP5959733B2 (en) Storage system and storage system failure management method
JPH05341918A (en) Connector for constituting duplex disk storage device system
JP2710195B2 (en) Storage controller
JP2562834B2 (en) Redundant control method
JP2003114768A (en) Method of controlling external memory
JPH06139028A (en) Disk control system
JPH083807B2 (en) Automatic switching device for dual magnetic disk device
JPH06259274A (en) Duplex system
JP2000298557A (en) Disk array system and method for changing constitution of disk array system
EP1589412A2 (en) Computer data migration system
JPH05313831A (en) Control system for duplexed volume
JPH10187473A (en) Duplex information processor
JP2001306412A (en) Scsi bus control device
JPH09259047A (en) Recovery device for duplexed disk
JPH0498341A (en) Intelligent storage device
JPH0264843A (en) Data transfer device for inter-micro processor
JPH09237163A (en) Duplex disk storage device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees