JPH02213964A - Memory copying method - Google Patents
Memory copying methodInfo
- Publication number
- JPH02213964A JPH02213964A JP1033556A JP3355689A JPH02213964A JP H02213964 A JPH02213964 A JP H02213964A JP 1033556 A JP1033556 A JP 1033556A JP 3355689 A JP3355689 A JP 3355689A JP H02213964 A JPH02213964 A JP H02213964A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- copy
- update data
- buffer
- copying
- 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
Links
- 230000015654 memory Effects 0.000 title claims abstract description 43
- 238000000034 method Methods 0.000 title claims description 12
- 239000000872 buffer Substances 0.000 claims abstract description 11
- 239000012536 storage buffer Substances 0.000 claims description 6
- 230000006866 deterioration Effects 0.000 abstract 1
- 238000009825 accumulation Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000002542 deteriorative effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000007423 decrease Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は二重化構成をとるオンラインシステムにおける
二重化メモリのメモリコピー方法に関するO
〔従来の技術〕
従来のメモリコピー方法は、特開昭62−85558号
公報に記載のように、メモリコピー中には両系のプロセ
ッサの動作を停止させて、専用のコピー回路によシメモ
リコビーを行うようKなっていた。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a memory copying method for duplexed memory in an online system having a duplex configuration. As described in the above publication, during memory copying, the operations of both processors are stopped and memory copying is performed by a dedicated copying circuit.
上記従来技術は、コピー量の増加に伴う運用サービスの
停止時間の点くついて配慮がされておらず、サービス性
の低下をまねく問題があった〇本発明の目的は、運用サ
ービスを停止することなく、運用状態において現用系/
予備系のメモリ間コピーを行い、かつデータの同一性お
よび最新性を保証するメモリコピー方法を提供するにあ
る。The above-mentioned conventional technology does not take into account the suspension time of the operational service due to an increase in the amount of copies, and has the problem of deteriorating the serviceability.The purpose of the present invention is to stop the operational service. active system/in operation state.
To provide a memory copy method that performs backup memory-to-memory copy and guarantees data identity and currency.
上記目的は、プロセッサおよびメモリが二重化構成をと
シ、現用系と予備系のメモリ内容の一致を図る二重化シ
ステムにおいて、現用系から予備系へ一致させるべき可
変データ全域を一括コピーし、該コピー中に発生する現
用系の一時蓄積バッファに蓄積し、上記コピー終了後に
上記バッファに蓄積された更新データによシ予備系のメ
モリを更新して、現用系と予備系のメモリ内容を一致さ
せるメモリコピー方法によシ達成される@〔作用〕
上記メモリコピー方法は、現用系のメモリから予備系の
メモリへ一致させるべき可変データ全域を一括コピーす
る手段によシー括コピーし、また該コピー中に発生する
現用系の運用サービスに伴う更新データを予備系の一時
蓄積バッファに蓄積する手段によシ該バッファに蓄積し
、上記コピー終了後に上記バッファに蓄積された更新デ
ータによシ予備系のメモリを更新する手段によ)、該更
新データを上記バッファから取シ出して予備系のメモリ
へ蓄積し、これによって運用を停止することなく現用系
と予備系のメモリ内容一致を運用状態で行うことが可能
となる。The above purpose is to copy all the variable data that should be matched from the active system to the backup system all at once in a duplex system in which the processor and memory have a duplex configuration and match the memory contents of the active system and the backup system. Memory copying that occurs in the temporary storage buffer of the active system, and updates the memory of the backup system with the update data accumulated in the buffer after the above copy is completed, so that the memory contents of the active system and the backup system match. @[Operation] Achieved by the method The above memory copy method performs batch copying of the entire variable data to be made consistent from the current memory to the backup memory, and also includes The updated data accompanying the operational service of the active system that occurs is accumulated in the temporary storage buffer of the standby system, and after the copying is completed, the update data accumulated in the buffer is used to store the memory of the standby system. (by updating means), the updated data is taken out from the buffer and stored in the memory of the standby system, thereby matching the memory contents of the active system and the standby system in the operational state without stopping the operation. becomes possible.
以下に本発明の一実施例を第1図および第2図によシ説
明する。An embodiment of the present invention will be explained below with reference to FIGS. 1 and 2.
第1図は本発明によるメモリコピー方法の一実施例を示
す現用系と予備系の二重化構成のシステ^構成図である
0第1図において、1a、1bは2重化システムの現用
系、予備系(交換機の保守運用部)、2a、2bはプロ
セッサ、S&、Skはメモリ装置である。4,5.6は
本メモリコピー方法を実施するための機構であって、4
は現用系1aのメモリ装置3aから予備系1bのメモリ
装置3bへ一致させるべき可変データ全域を一括コピー
する手段をなすコピー機構、5は該コピー機構4のコピ
ー実行中に発生する現用系1aの運用サービスIOK伴
う更新データ9bを一時蓄積バッファ7に蓄積する手段
をなす一時蓄積機構、6はコピー機構4のコピー実行終
了後に上記−時蓄積パッ7ア7に蓄積された更新データ
9dを取シ出して予備系1bのメモリ装置3bを更新す
る手段をなすメモリ更新機構である08はコピー機構4
によるコピーデータ(流れ)、9a〜9eは運用サービ
スIOK伴う更新データ(流れ)である。FIG. 1 is a system configuration diagram of a duplex configuration of an active system and a backup system showing an embodiment of the memory copy method according to the present invention. In FIG. 2a and 2b are processors, and S& and Sk are memory devices. 4, 5.6 is a mechanism for implementing the present memory copy method, and 4.
Reference numeral 5 denotes a copy mechanism that serves as a means for batch copying all variable data to be made consistent from the memory device 3a of the active system 1a to the memory device 3b of the backup system 1b; A temporary storage mechanism 6 serves as a means for storing update data 9b accompanying the operation service IOK in a temporary storage buffer 7, and a temporary storage mechanism 6 serves as a means for storing update data 9d stored in the time storage pad 7a 7 after the copying mechanism 4 finishes copying. Reference numeral 08 denotes a copy mechanism 4, which is a memory update mechanism that serves as a means for updating the memory device 3b of the backup system 1b.
The copy data (flow) 9a to 9e are the update data (flow) accompanying the operation service IOK.
第2図は第1図のメモリ間コピー実行中7ラグの説明図
である。第2図において、11は現用系1aのメモリ間
コピー実行中7ラグ、12は予備系1bのメモリ間コピ
ー実行中7ラグである。つぎに第1図の予備系1bが停
止状態から待期状態へ移行する場合に必要となる可変デ
ータ全域のメモリコピーの動作を例にとって本メモリコ
ピー方法を説明する◎まず現用系1aのプロセッサ2a
のコピー機構4は第2図に示す自現用系1aのメモリ間
コピー実行中7ラグ11に%行中を設定し、予備系1b
のメモリ間コピー冥行中7ラグ12へ自コヒー機構4を
用いてコピーシタ後Km 自=rビー機構4によシメモ
リ装置3aから予備系1bのメモリ装置5bへ可変デー
タ8全域を一括コピーする。!*;ビー終了後に現用系
1aのコピー機構4は自現用系1aのメモリ間コピー実
行中7ラグ11に非実行中を設定し、予備系1bのメモ
リ間コピー実行中7ラグ12へ自コピー機構4を用いて
コピーする。FIG. 2 is an explanatory diagram of 7 lags during execution of the memory-to-memory copy in FIG. 1. In FIG. 2, 11 is 7 lags while the memory-to-memory copy is being executed in the active system 1a, and 12 is 7 lags while the memory-to-memory copy is being executed in the backup system 1b. Next, the present memory copy method will be explained by taking as an example the memory copy operation of the entire variable data area that is required when the backup system 1b in FIG. 1 moves from the stopped state to the standby state.
The copy mechanism 4 sets 7 lags 11 of the active system 1a shown in FIG.
During memory-to-memory copying, the entire area of the variable data 8 is copied in bulk from the memory device 3a to the memory device 5b of the standby system 1b using the self-copy mechanism 4. ! *; After the copy is completed, the copy mechanism 4 of the active system 1a sets the memory-to-memory copy in progress 7 lag 11 of the active system 1a to non-executing, and sets the self-copy mechanism to the memory-to-memory copy in progress 7 lag 12 of the standby system 1b. 4 to copy.
上記可変データ8コピー中に、現用系1aの運用サービ
ス10に伴い発生する更新データは自現用系1aのメモ
リ装置5aK更新データ9aとして記憶されると同時に
、予備系1)のプロセッサ21)の−時蓄積機構5へ更
新データ9bとして転送される。これKよシー時蓄積機
構5は受信した更新データを一時蓄積バッファ7に更新
データ9Cとして蓄積する◎なお一時蓄積バツファ7は
rI F O(First In First
Out )方式O中具−制御により管理されている。ま
たメモリ更新機構6は予備系1bのメモリ間コピー冥行
中7ラグ12を監視しておシ、実行中であれば一時蓄積
バッファ7から更新データの取シ出しを行わず、メモリ
間;ピー実行中7ラグ12が非実行中(コピー終了)へ
変化した時点よシ、−時蓄積バッファ7からコピー機構
4のコピー実行によシ保留されていた更新データ9dの
取出しを開始して、メモリ装置5bを更新データ9eK
よシ更新する@これによシ両系1a、lbのメモリ装置
5a、5bの内容が一致し、予備系1bは待期状態とな
る。During the copying of the variable data 8, the update data generated by the operation service 10 of the active system 1a is stored as update data 9a in the memory device 5aK of the active system 1a, and at the same time, the - The data is transferred to the time accumulation mechanism 5 as update data 9b. When this happens, the storage mechanism 5 stores the received update data in the temporary storage buffer 7 as update data 9C.
Out) Method O Inner Tools - Managed by control. In addition, the memory update mechanism 6 monitors the lag 12 during memory-to-memory copying of the backup system 1b, and does not retrieve update data from the temporary storage buffer 7 if the memory-to-memory copy is in progress. At the point when the execution 7 lag 12 changes to non-execution (copy completed), the update data 9d that has been suspended due to the copy execution of the copy mechanism 4 is started to be retrieved from the time accumulation buffer 7, and the update data 9d is transferred to the memory. Update device 5b with data 9eK
As a result, the contents of the memory devices 5a and 5b of both systems 1a and lb match, and the standby system 1b enters the standby state.
上記予備系1)が待機状態へ移行した後には、現用系1
aの運用サービス10に伴い発生する更新データ9aは
、上記コピー機構4のコピーデータ8コピー時と同一ル
ートによシ転送され、予備系1tのメモリ装置5bを更
新するが、本処理におけるメモリ更新機構5はコピー機
構4が実行されていないことによυ、逐次に一時蓄積バ
ッファ7に蓄積された更新データ9dを取り出して、メ
モリ装置5bを更新するため、両系1a、lbのメモリ
装置5a、5bは常に一致した内容となる。After the backup system 1) has transitioned to the standby state, the active system 1)
The update data 9a generated with the operation service 10 of a is transferred through the same route as the copy data 8 of the copy mechanism 4 and updates the memory device 5b of the backup system 1t, but the memory update in this process is Since the copy mechanism 4 is not being executed, the mechanism 5 sequentially retrieves the update data 9d accumulated in the temporary accumulation buffer 7 and updates the memory device 5b, so the memory device 5a of both systems 1a and lb is , 5b always have matching contents.
本実雄側によれば、コピー機構4は運用サービス10を
停止することなく実行可能であるため、現用系1aのサ
ービス性の低下を防ぐことができるO
〔発明の効果〕
本発明によれば、現用系の運用サービスを停止すること
なくメモリ間のコピーが可能となるため、現用系のサー
ビスの低下を防止できる効果がある0According to Minomoto, since the copy mechanism 4 can be executed without stopping the operation service 10, it is possible to prevent the serviceability of the active system 1a from deteriorating. [Effects of the Invention] According to the present invention, It is possible to copy between memories without stopping the active service, which has the effect of preventing a decline in the active service.
第1図は本発明によるメモリコピー方法の一実施例を示
す現用系と予備系の二重化構成のシステム構成図、第2
図は第1図のメモリ間コピー笑行中フラグの説明図であ
る。
la、lb・・・現用系、予備系(交換機の保守運用部
)、2a、2b・・・プロセッサ、5a、5b・・・メ
モリ装置、4・・・コピー機構、5・・・−時蓄積機構
、6・・・メモリ更新機構、7・・・−時蓄積バッファ
、8・・・コピーデータ(流れ)、9&〜9e・・・更
新データ(流れ)、10・・・運用サービス、11・・
・現用系メモリ間;ビー夷行中7ラグ、12・・・予備
系メモリ間コピー実行中フラグ。FIG. 1 is a system configuration diagram of a redundant configuration of an active system and a backup system, showing an embodiment of the memory copy method according to the present invention;
The figure is an explanatory diagram of the inter-memory copying flag in FIG. 1. la, lb...active system, standby system (maintenance and operation section of exchange), 2a, 2b...processor, 5a, 5b...memory device, 4...copy mechanism, 5...-time storage mechanism, 6... memory update mechanism, 7...-time accumulation buffer, 8... copy data (flow), 9&~9e... update data (flow), 10... operation service, 11.・
・Between active memory; 7 lags in progress, 12... Flag in progress of copying between spare memory.
Claims (1)
系と予備系のメモリ内容の一致を図る二重化システムに
おいて、現用系から予備系へ一致させるべき可変データ
全域を一括コピーし、該コピー中に発生する現用系の運
用サービスに伴う更新データを予備系の一時蓄積バッフ
ァに蓄積し、上記コピー終了後に上記バッファに蓄積さ
れた更新データにより予備系のメモリを更新して、現用
系と予備系のメモリ内容を一致させることを特徴とする
メモリコピー方法。1. In a duplex system in which the processor and memory have a duplex configuration and the memory contents of the active system and the backup system are made to match, the entire range of variable data to be matched is copied from the active system to the backup system in a batch, and the problem that occurs during the copying is The updated data associated with the operation service of the active system is accumulated in the temporary storage buffer of the backup system, and after the above copy is completed, the memory of the backup system is updated with the update data accumulated in the buffer, and the memory contents of the active system and the backup system are updated. A memory copy method characterized by matching.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1033556A JPH02213964A (en) | 1989-02-15 | 1989-02-15 | Memory copying method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1033556A JPH02213964A (en) | 1989-02-15 | 1989-02-15 | Memory copying method |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH02213964A true JPH02213964A (en) | 1990-08-27 |
Family
ID=12389829
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1033556A Pending JPH02213964A (en) | 1989-02-15 | 1989-02-15 | Memory copying method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH02213964A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0736788A (en) * | 1993-07-19 | 1995-02-07 | Nec Corp | Main storage file system |
JP2014146259A (en) * | 2013-01-30 | 2014-08-14 | Oki Electric Ind Co Ltd | Redundant VoIP system |
-
1989
- 1989-02-15 JP JP1033556A patent/JPH02213964A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0736788A (en) * | 1993-07-19 | 1995-02-07 | Nec Corp | Main storage file system |
JP2014146259A (en) * | 2013-01-30 | 2014-08-14 | Oki Electric Ind Co Ltd | Redundant VoIP system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2505928B2 (en) | Checkpoint mechanism for fault tolerant systems | |
US6640291B2 (en) | Apparatus and method for online data migration with remote copy | |
US4941087A (en) | System for bumpless changeover between active units and backup units by establishing rollback points and logging write and read operations | |
US7840768B2 (en) | Memory-controller-embedded apparatus and procedure for achieving system-directed checkpointing without operating-system kernel support | |
US20060150010A1 (en) | Memory-controller-embedded apparatus and procedure for achieving system-directed checkpointing without operating-system kernel support | |
US6654880B1 (en) | Method and apparatus for reducing system down time by restarting system using a primary memory before dumping contents of a standby memory to external storage | |
JPH07234808A (en) | System dump acquisition system | |
JPH02213964A (en) | Memory copying method | |
JP3253473B2 (en) | Method and apparatus for resynchronization processing of duplicated shared memory | |
USRE45632E1 (en) | Memory-controller-embedded apparatus and procedure for achieving system-directed checkpointing without operating-system kernel support | |
JPH05143248A (en) | Data backup system for semiconductor disk device | |
JP2650134B2 (en) | Duplication volume recovery processor | |
JP3729573B2 (en) | Processing takeover method for parallel processing system | |
JPH10240620A (en) | Computer system and check point image preservation method in the system | |
JP2712819B2 (en) | Dynamic copy control method for duplicated files | |
JPS59180897A (en) | Double structure system of battery back-up memory | |
JPS62217329A (en) | Backup system for multi-system | |
JPH01296352A (en) | Duplex processor | |
JP3033586B2 (en) | Information processing system | |
JP3464768B2 (en) | Processor device with file load | |
JPH04235639A (en) | Non-stop operation processing system for computer system | |
JP2000163276A (en) | Network wide spare system | |
JPH0736761A (en) | On-line copying processing method with high reliability for external memory device | |
JPH04105159A (en) | Work substitute system | |
JPH09146814A (en) | Data base assuarance system |