JPH10240632A - On-line exchange method for external storage device - Google Patents

On-line exchange method for external storage device

Info

Publication number
JPH10240632A
JPH10240632A JP9043814A JP4381497A JPH10240632A JP H10240632 A JPH10240632 A JP H10240632A JP 9043814 A JP9043814 A JP 9043814A JP 4381497 A JP4381497 A JP 4381497A JP H10240632 A JPH10240632 A JP H10240632A
Authority
JP
Japan
Prior art keywords
external storage
storage device
block size
physical block
replaced
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
JP9043814A
Other languages
Japanese (ja)
Inventor
Akio Hamano
昭夫 濱野
Arata Futagami
新 二神
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP9043814A priority Critical patent/JPH10240632A/en
Publication of JPH10240632A publication Critical patent/JPH10240632A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a method capable of realizing the on-line exchange of the external storage devices of different physical block sizes without the need of interrupting a program processing. SOLUTION: The external storage device of an active system to be exchanged is changed to a standby system, an input/output request to the device is inhibited (1) and the external storage device is physically exchanged with a new external storage device (2). Thereafter, the physical block size is obtained (3), the conversion processing of a logical block size (virtual block size) and the physical block size is performed, the information of the continuously used external storage device is copied to the exchanged external storage device (4), it is incorporated into a system (5) and thus, the on-line exchange is realized.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、多重化された外部
記憶装置とその制御プログラムとを備えた情報処理シス
テムにおける外部記憶装置の交換をオンラインで実施す
る方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for online replacement of an external storage device in an information processing system having a multiplexed external storage device and a control program therefor.

【0002】[0002]

【従来の技術】近年、外部記憶装置の開発が加速化さ
れ、高機能の装置が開発されているが、ハード機構の変
更を伴うので定期的に交換する必要がある。また、電子
交換機のようなシステムではシステムの高信頼化及びサ
ービス無中断を保証するため、外部記憶装置を多重化
し、冗長構成とする方式が採用されている。
2. Description of the Related Art In recent years, the development of external storage devices has been accelerated, and high-performance devices have been developed. However, since the hardware mechanisms are changed, they need to be replaced periodically. Further, in a system such as an electronic exchange, a method of multiplexing an external storage device to have a redundant configuration is adopted in order to guarantee high system reliability and uninterrupted service.

【0003】外部記憶装置のオンライン交換方法として
は、例えば「新版 原典CTRON大系 3入出力制御
インタフェース 装置多重化機能(メンバ装置複写)」
(株式会社オーム社 発行)に、外部記憶装置を多重化
定義し、オンラインソフトウェアよりの入出力要求を実
行しながら現用系の外部記憶装置の情報を置き換えた予
備系の外部記憶装置へ複写する方法が提案されている。
また、「外部記憶装置のオンライン容量拡張方法」(特
願平7−47306号)には、外部記憶装置の記憶容量
が変更となった場合の外部記憶装置のオンライン交換方
法が提案されている。
[0003] As an on-line exchange method of an external storage device, for example, "new edition original CTRON large system 3 input / output control interface device multiplexing function (member device copy)"
(Ohm Co., Ltd.), a method of multiplexing and defining an external storage device, and copying the information of the active external storage device to the spare external storage device while executing the input / output request from the online software. Has been proposed.
Further, "Online capacity expansion method of external storage device" (Japanese Patent Application No. 7-47306) proposes a method of online replacement of an external storage device when the storage capacity of the external storage device is changed.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、前述し
た従来の方法では、いずれも外部記憶装置の物理ブロッ
クサイズを含むハードウェア構成については現用系と予
備系との間で同一のものを想定しており、外部記憶装置
の物理ブロックサイズが予備系と現用系との交換により
変更される場合には外部記憶装置に対する入出力要求を
制御する制御プログラム(ドライバ)を変更する必要が
あるが、このドライバの変更はプログラム処理の中断を
必要とし、サービスの中断を伴うという問題があった。
However, in the conventional methods described above, the hardware configuration including the physical block size of the external storage device is assumed to be the same between the active system and the standby system. When the physical block size of the external storage device is changed by exchanging the standby system and the active system, it is necessary to change a control program (driver) for controlling input / output requests to the external storage device. However, there is a problem that the change of the program requires the interruption of the program processing and the interruption of the service.

【0005】本発明の目的は、ドライバの変更、即ちプ
ログラム処理の中断を必要とすることなく、物理ブロッ
クサイズの異なる外部記憶装置のオンライン交換を実現
し得る方法を提供することにある。
An object of the present invention is to provide a method capable of realizing online exchange of external storage devices having different physical block sizes without changing drivers, that is, without interrupting program processing.

【0006】[0006]

【課題を解決するための手段】本発明では、前記課題を
解決するため、現用系及び予備系を構成する複数の多重
化された外部記憶装置のいずれかを他の外部記憶装置と
置き換えた後、該置き換えた外部記憶装置と継続使用中
の外部記憶装置との装置交換をオンラインで行う外部記
憶装置のオンライン交換方法において、複数の多重化さ
れた外部記憶装置より物理ブロックサイズを取得するブ
ロックサイズ取得工程と、該取得した物理ブロックサイ
ズを格納するブロックサイズ格納工程と、格納した物理
ブロックサイズに基づいて継続使用中の外部記憶装置の
情報を前記置き換えた外部記憶装置へ複写する情報複写
工程とを備えたことを特徴とする。
According to the present invention, in order to solve the above-mentioned problems, one of a plurality of multiplexed external storage devices constituting a working system and a standby system is replaced with another external storage device. In an external storage device online replacement method for performing online device replacement between the replaced external storage device and a continuously used external storage device, a block size for obtaining a physical block size from a plurality of multiplexed external storage devices An obtaining step, a block size storing step of storing the obtained physical block size, and an information copying step of copying information of the external storage device which is continuously used based on the stored physical block size to the replaced external storage device. It is characterized by having.

【0007】前記構成によれば、外部記憶装置の物理ブ
ロックサイズを取得してこれを格納し、この物理ブロッ
クサイズに基づいて多重化された外部記憶装置間の情報
複写を行うことにより、物理ブロックサイズの異なる外
部記憶装置間での装置交換を可能とし、置き換えた外部
記憶装置の物理ブロックサイズに対応した入出力要求の
処理が可能となり、物理ブロックサイズの異なる外部記
憶装置間での情報の多重化及びオンラインソフトウェア
からの入出力要求の並列処理が可能となり、ドライバの
変更、即ちプログラム処理の中断を必要とすることな
く、物理ブロックサイズの異なる外部記憶装置のオンラ
イン交換を実現できる。
According to the above configuration, the physical block size of the external storage device is obtained and stored, and information is copied between the external storage devices multiplexed on the basis of the physical block size. It is possible to exchange devices between external storage devices of different sizes, process input / output requests corresponding to the physical block size of the replaced external storage device, and multiplex information between external storage devices of different physical block sizes. And parallel processing of input / output requests from online software becomes possible, and online exchange of external storage devices having different physical block sizes can be realized without changing drivers, that is, without interrupting program processing.

【0008】[0008]

【発明の実施の形態】図1は本発明を適用する情報処理
システムの一例を模式的に示すもので、図中、1はハー
ドウェア、2はハードウェアインタフェース、3はO
S、4はアプリケーションプログラムである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 schematically shows an example of an information processing system to which the present invention is applied. In the drawing, reference numeral 1 denotes hardware, 2 denotes a hardware interface, and 3 denotes an O.
S and 4 are application programs.

【0009】ハードウェア1は、本発明が対象とする外
部記憶装置の他、周知のプロセッサや通信系の装置等か
らなる。ハードウェアインタフェース2は、例えばSC
SIインタフェース等の標準インタフェースが想定され
るが、このインタフェースではコマンドは標準化されて
いるものの、物理ブロックサイズはハードウェア毎に異
なる。
The hardware 1 includes a well-known processor, a communication system, and the like, in addition to an external storage device to which the present invention is applied. The hardware interface 2 is, for example, an SC
A standard interface such as an SI interface is assumed. In this interface, although commands are standardized, the physical block size differs for each hardware.

【0010】OS3として、ここではNTTが開発/公
開したOSインタフェース仕様であるIROS(Interf
ace for Realtime Operating Systems)に対応した、S
1インタフェース31、S2インタフェース32、基本
OS33、拡張OS34からなる階層化された構成を想
定している。
[0010] As OS3, here, IROS (Interf Interface) which is an OS interface specification developed / released by NTT.
ace for Realtime Operating Systems)
It is assumed that a hierarchical structure including one interface 31, an S2 interface 32, a basic OS 33, and an extended OS 34 is provided.

【0011】S1インタフェース31は、マルチベンダ
インタフェースとしてベンダ間のハードウェアの差異を
隠ぺいし、上位ソフトウェアの移植性を高めるためのも
ので、カーネルプログラム、入出力制御プログラム等か
らなる基本OS33によって提供される。このS1イン
タフェース31では、外部記憶装置の置き換えによりハ
ードウェアインタフェースが変更された場合にも、同一
のソフトインタフェースを提供するために論理ブロック
(サイズは可変)を定義している。
The S1 interface 31 is a multi-vendor interface that hides differences in hardware between vendors and enhances portability of higher-level software. The S1 interface 31 is provided by a basic OS 33 including a kernel program, an input / output control program, and the like. You. In the S1 interface 31, a logical block (variable in size) is defined in order to provide the same software interface even when the hardware interface is changed by replacing the external storage device.

【0012】また、S2インタフェース32は、上位に
あたるサービス階層(アプリケーションプログラム等)
に対して、通信回線等のリソースを論理的に提供するた
めのもので、ファイル管理プログラム、プロセス管理プ
ログラム等からなる拡張OS34によって提供される。
The S2 interface 32 is a service layer (such as an application program) which is a higher-order service layer.
, For logically providing resources such as communication lines, and is provided by the extended OS 34 including a file management program, a process management program, and the like.

【0013】以下、本発明による現用系と予備系との外
部記憶装置の交換手順を図2のシーケンスを参照して詳
細に説明する。外部記憶装置の交換は、以下の〜に
従って行われる。
A procedure for replacing the external storage device between the active system and the standby system according to the present invention will be described below in detail with reference to the sequence shown in FIG. The replacement of the external storage device is performed according to the following (1) to (4).

【0014】装置切り離し処理 上位ソフトによる「優先メンバ装置切替」の要求によ
り、交換しようとする現用系の外部記憶装置を予備系に
変更し、その後、「装置切り離し」の要求により交換す
る外部記憶装置への入出力要求は受け付けない状態に移
行する。
Device disconnection processing In response to a request for "priority member device switching" by higher-level software, the active external storage device to be replaced is changed to a standby system, and then the external storage device to be replaced in response to a "device disconnection" request. The state shifts to a state in which an input / output request to the server is not accepted.

【0015】外部記憶装置の交換 外部記憶装置の新しい外部記憶装置への物理的な交換
(置き換え)を実施する。
Replacement of External Storage Device Physical replacement (replacement) of an external storage device with a new external storage device is performed.

【0016】物理ブロックサイズ取得 拡張OSから発行されるシステムコール(ボリューム削
除命令)を契機に、ドライバはSCSIコマンド(DM
Rコマンド)を置き換えられた外部記憶装置に対して発
行し、物理ブロックサイズの取得を実施する。
Acquisition of physical block size Upon a system call (volume deletion instruction) issued from the extended OS, the driver issues a SCSI command (DM
R command) is issued to the replaced external storage device, and the physical block size is obtained.

【0017】復元処理 ドライバは多重化された外部記憶装置対応に取得した物
理ブロックサイズを内部データ(デバイスコントロール
ブロック)として記憶し、その後の入出力要求処理にお
いて論理ブロックサイズ(仮想ブロックサイズ)と物理
ブロックサイズとの変換処理に使用する。この結果、物
理ブロックサイズの異なる外部記憶装置間での情報の複
写が可能となる。
Restoration Processing The driver stores the physical block size acquired corresponding to the multiplexed external storage device as internal data (device control block), and performs logical block size (virtual block size) and physical Used for conversion to block size. As a result, information can be copied between external storage devices having different physical block sizes.

【0018】具体的には、図3に示すように、現用系の
外部記憶装置11の物理ブロックサイズをb1、置き換
えた予備系の外部記憶装置12の物理ブロックサイズを
b2とすると、複写処理では以下の処理を実施する。
Specifically, as shown in FIG. 3, assuming that the physical block size of the active external storage device 11 is b1 and the physical block size of the replacement external storage device 12 is b2, the copying process is not performed. The following processing is performed.

【0019】(1)複写用バッファ13としてnバイト
を確保する。この時、nはb1及びb2の公倍数とす
る。 (2)現用系の装置11の先頭ブロックからn/b1物
理ブロック数分の情報を複写バッファ13に読み出す。 (3)複写バッファ13の内容を予備系の装置12の先
頭ブロックからn/b2物理ブロックに書き込む。 (4)複写すべき情報が残っていれば複写位置を移動し
て(2)、(3)の処理を繰り返し実行する。 (5)複写用バッファ13を解放する。
(1) Securing n bytes as the copy buffer 13 At this time, n is a common multiple of b1 and b2. (2) The information of the number of n / b1 physical blocks from the head block of the active device 11 is read out to the copy buffer 13. (3) Write the contents of the copy buffer 13 to the n / b2 physical block from the head block of the standby system device 12. (4) If information to be copied remains, the copy position is moved, and the processes of (2) and (3) are repeatedly executed. (5) Release the copy buffer 13.

【0020】組み込み 上位ソフトによる「装置組み込み」の要求により、外部
記憶装置の二重化運転が開始され、さらに「優先メンバ
装置切替」の要求により、交換された外部記憶装置が現
用系に変更され、交換作業が終了する。
Incorporation The external storage device is started to be duplexed in response to a request for “device installation” by the host software, and the replaced external storage device is changed to the active system in response to a request for “priority member device switching”. The work ends.

【0021】[0021]

【発明の効果】以上説明したように、本発明によれば、
現用系及び予備系を構成する複数の多重化された外部記
憶装置のいずれかを他の外部記憶装置と置き換えた後、
該置き換えた外部記憶装置と継続使用中の外部記憶装置
との装置交換をオンラインで行う外部記憶装置のオンラ
イン交換方法において、複数の多重化された外部記憶装
置より物理ブロックサイズを取得するブロックサイズ取
得工程と、該取得した物理ブロックサイズを格納するブ
ロックサイズ格納工程と、格納した物理ブロックサイズ
に基づいて継続使用中の外部記憶装置の情報を前記置き
換えた外部記憶装置へ複写する情報複写工程とを備えた
ことにより、ドライバの変更、即ちプログラム処理の中
断を必要とすることなく、物理ブロックサイズの異なる
外部記憶装置のオンライン交換を実現できる。
As described above, according to the present invention,
After replacing any of the multiplexed external storage devices constituting the active system and the standby system with another external storage device,
In the external storage device online replacement method for performing online device replacement between the replaced external storage device and a continuously used external storage device, a block size acquisition for acquiring a physical block size from a plurality of multiplexed external storage devices A step of storing the obtained physical block size, and a step of copying information of the external storage device that is continuously used based on the stored physical block size to the replaced external storage device. With this configuration, online exchange of external storage devices having different physical block sizes can be realized without changing the driver, that is, without interrupting the program processing.

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

【図1】本発明を適用する情報処理システムの一例を示
す模式図
FIG. 1 is a schematic diagram showing an example of an information processing system to which the present invention is applied.

【図2】本発明の外部記憶装置のオンライン交換方法の
実施の形態の一例を示すシーケンス図
FIG. 2 is a sequence diagram showing an example of an embodiment of an online storage device exchange method according to the present invention;

【図3】現用系の外部記憶装置の情報を予備系の外部記
憶装置へ複写用バッファを利用して複写するようすを示
す説明図
FIG. 3 is an explanatory diagram showing how information in an active external storage device is copied to a standby external storage device using a copy buffer;

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

1…ハードウェア、2…ハードウェアインタフェース、
3…OS、4…アプリケーションプログラム、11,1
2…外部記憶装置、13…複写用バッファ、31…S1
インタフェース、32…S2インタフェース、33…基
本OS、34…拡張OS。
1 ... hardware, 2 ... hardware interface,
3 OS, 4 application programs, 11, 1
2: external storage device, 13: copy buffer, 31: S1
Interface 32, S2 interface 33 Basic OS 34 Extended OS

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 現用系及び予備系を構成する複数の多重
化された外部記憶装置のいずれかを他の外部記憶装置と
置き換えた後、該置き換えた外部記憶装置と継続使用中
の外部記憶装置との装置交換をオンラインで行う外部記
憶装置のオンライン交換方法において、 複数の多重化された外部記憶装置より物理ブロックサイ
ズを取得するブロックサイズ取得工程と、 該取得した物理ブロックサイズを格納するブロックサイ
ズ格納工程と、 格納した物理ブロックサイズに基づいて継続使用中の外
部記憶装置の情報を前記置き換えた外部記憶装置へ複写
する情報複写工程とを備えたことを特徴とする外部記憶
装置のオンライン交換方法。
After replacing one of a plurality of multiplexed external storage devices constituting an active system and a standby system with another external storage device, the replaced external storage device and an external storage device that is continuously used are replaced. Acquiring a physical block size from a plurality of multiplexed external storage devices, and a block size for storing the acquired physical block size. A method for online replacement of an external storage device, comprising: a storage step; and an information copying step of copying information of an external storage device that is continuously used based on the stored physical block size to the replaced external storage device. .
【請求項2】 継続使用中の外部記憶装置の物理ブロッ
クサイズと置き換えた外部記憶装置の物理ブロックサイ
ズとの公倍数に等しいサイズの複写用バッファを確保
し、該複写用バッファのサイズを単位として継続使用中
の外部記憶装置の情報を置き換えた外部記憶装置へ繰り
返し複写する情報複写工程を備えたことを特徴とする請
求項1記載の外部記憶装置のオンライン交換方法。
2. A copy buffer having a size equal to a common multiple of a physical block size of an external storage device being continuously used and a physical block size of a replaced external storage device is secured, and the size of the copy buffer is continued as a unit. 2. The method according to claim 1, further comprising an information copying step of repeatedly copying information in the used external storage device to the replaced external storage device.
JP9043814A 1997-02-27 1997-02-27 On-line exchange method for external storage device Pending JPH10240632A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9043814A JPH10240632A (en) 1997-02-27 1997-02-27 On-line exchange method for external storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9043814A JPH10240632A (en) 1997-02-27 1997-02-27 On-line exchange method for external storage device

Publications (1)

Publication Number Publication Date
JPH10240632A true JPH10240632A (en) 1998-09-11

Family

ID=12674220

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9043814A Pending JPH10240632A (en) 1997-02-27 1997-02-27 On-line exchange method for external storage device

Country Status (1)

Country Link
JP (1) JPH10240632A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006018426A (en) * 2004-06-30 2006-01-19 Alpine Electronics Inc Data processor and data transfer method
WO2008136097A1 (en) * 2007-04-24 2008-11-13 Fujitsu Limited Access control program, access control method, and access controller
JP2010211295A (en) * 2009-03-06 2010-09-24 Mitsubishi Electric Corp Data update device, data update method of the same, and data update program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006018426A (en) * 2004-06-30 2006-01-19 Alpine Electronics Inc Data processor and data transfer method
WO2008136097A1 (en) * 2007-04-24 2008-11-13 Fujitsu Limited Access control program, access control method, and access controller
JP2010211295A (en) * 2009-03-06 2010-09-24 Mitsubishi Electric Corp Data update device, data update method of the same, and data update program

Similar Documents

Publication Publication Date Title
US6598134B2 (en) System and method for on-line, real time, data migration
US7707186B2 (en) Method and apparatus for data set migration
US6968425B2 (en) Computer systems, disk systems, and method for controlling disk cache
US7016961B2 (en) Computer system including a device with a plurality of identifiers
EP1310876A1 (en) Computer system
JP2003085018A (en) Online data changing method and system by remote copy
US7836162B2 (en) Transaction processing system and transaction processing method
US20050251636A1 (en) Method for controlling storage device controller, storage device controller, and program
JPH11296313A (en) Storage sub-system
JP2003345525A (en) Computer system and replication method
JP2006268531A (en) Data processing system and method for managing database
JP2002297456A (en) Method for backup processing, performing system therefor and program therefor
JP2007041888A (en) Database restructuring device and database restructuring program
JPH10240632A (en) On-line exchange method for external storage device
JP2001109642A (en) Cluster system and data copying method therefor
JP3882461B2 (en) Storage device system and backup acquisition method thereof
JPH08241220A (en) Online capacity extending method for external storage device
JP2001100930A (en) Mirror disk controller
JP3463696B2 (en) Online garbage collection processing method
JP2000305719A (en) Method for backing-up data in information processing system
JPH08212090A (en) Server system
US8549221B2 (en) RAID management apparatus, RAID management method, and computer product
JP2023181818A (en) Storage system and data layout conversion method in storage system
JPH10289122A (en) High-speed changeover system for inter-system shared disk in hot standby system
JPH08339341A (en) Selection method for main storage page