JP6007822B2 - Fault tolerant server and its memory copy method - Google Patents
Fault tolerant server and its memory copy method Download PDFInfo
- Publication number
- JP6007822B2 JP6007822B2 JP2013028069A JP2013028069A JP6007822B2 JP 6007822 B2 JP6007822 B2 JP 6007822B2 JP 2013028069 A JP2013028069 A JP 2013028069A JP 2013028069 A JP2013028069 A JP 2013028069A JP 6007822 B2 JP6007822 B2 JP 6007822B2
- Authority
- JP
- Japan
- Prior art keywords
- memory
- write address
- data storage
- address data
- main memory
- 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
Links
- 230000015654 memory Effects 0.000 title claims description 379
- 238000000034 method Methods 0.000 title claims description 9
- 238000013500 data storage Methods 0.000 claims description 60
- 230000006386 memory function Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 3
- 239000000725 suspension Substances 0.000 description 3
- 230000005856 abnormality Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 238000004904 shortening Methods 0.000 description 2
- 230000006866 deterioration Effects 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000001771 impaired effect Effects 0.000 description 1
Images
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
- Hardware Redundancy (AREA)
Description
本発明はフォールトトレラントサーバ、そのメモリコピー方法およびライトアドレスデータ格納用メモリモジュールに関する。 The present invention relates to a fault tolerant server, a memory copy method thereof, and a memory module for storing write address data.
2つの系を二重化させて動作するフォールトトレラントサーバ(以下、FTサーバと称する。)では、システムが片系動作から二重化動作へと移行する際に、一方の系のメインメモリに格納されているデータを他系のメインメモリに速やかにコピーして、両系のメインメモリのデータを一致させる必要がある。さらに、メモリデータのコピー中は、コピー元のデータが更新されることを防ぐために、システム全体の動作を一時停止する必要がある。 In a fault-tolerant server (hereinafter referred to as FT server) that operates by duplicating two systems, data stored in the main memory of one system when the system shifts from one system operation to dual operation Must be quickly copied to the main memory of the other system so that the data in the main memory of both systems match. Furthermore, during the copying of the memory data, it is necessary to temporarily stop the operation of the entire system in order to prevent the copy source data from being updated.
近年、システムのメインメモリ容量は増加の一途を辿っており、メモリコピー時に発生するシステムの一時停止時間もますます増大している。システムの一時停止は業務に大きな支障をきたすため、一時停止時間を少しでも短くすることが求められている。 In recent years, the main memory capacity of the system has been steadily increasing, and the pause time of the system that occurs at the time of memory copying is also increasing. Since the suspension of the system causes a big trouble in business, it is required to shorten the suspension time as much as possible.
なお、特許文献1、2には、障害発生に起因して片系動作となった場合に、メインメモリへの書き込みアドレスをアドレス記憶用のメモリに記憶しておき、方系動作から二重化動作に復旧する際に、前記記憶しておいたアドレスに該当する片系のメインメモリのデータを復旧させる技術が開示されている。 In Patent Documents 1 and 2, when a one-system operation is caused due to the occurrence of a failure, a write address to the main memory is stored in an address storage memory, and the system operation is changed to a duplex operation. A technique for recovering data in one main memory corresponding to the stored address at the time of recovery is disclosed.
本発明に関連する公知のFTサーバでは、メインメモリコントローラとメインメモリのアドレスを格納するTraceメモリとを専用チップセットに内蔵する構成を採用している。そして、当該FTサーバは、メモリデータをコピーする際には、片系動作中にデータが更新されたメインメモリの領域のみをコピーすることによって、メインメモリのコピー時間の短縮を図っている。しかしながら、近年のコンピュータアーキテクチャでは、メモリコントローラをCPU内部に内蔵しているため、メインメモリのアドレスを格納するTraceメモリについては、マザーボード上に実装する必要がある。 A known FT server related to the present invention employs a configuration in which a main memory controller and a Trace memory for storing the address of the main memory are incorporated in a dedicated chip set. Then, when copying the memory data, the FT server attempts to reduce the copy time of the main memory by copying only the main memory area in which the data is updated during the one-system operation. However, in recent computer architectures, since the memory controller is built in the CPU, the Trace memory for storing the address of the main memory needs to be mounted on the motherboard.
ところが、Traceメモリはメインメモリのような多ビットインターフェースを有していることから、高密設計されたマザーボード上へTraceメモリを実装することは困難である。また、マザーボード上へのTraceメモリの実装がメモリバス経路長の増大にもつながる結果、信号品質悪化の要因になるなどの実装上の問題がある。 However, since the Trace memory has a multi-bit interface like a main memory, it is difficult to mount the Trace memory on a high-density designed motherboard. In addition, mounting of the Trace memory on the mother board leads to an increase in the memory bus path length, resulting in a problem of mounting such as a factor of signal quality deterioration.
本発明の目的は、上述した課題を解決するフォールトトレラントサーバ、そのメモリコピー方法およびライトアドレスデータ格納用メモリモジュールを提供することにある。 An object of the present invention is to provide a fault-tolerant server, a memory copy method thereof, and a write address data storage memory module that solve the above-described problems.
一実施の形態において、フォールトトレラントサーバは、メモリスロットと、前記メモリスロットに実装されるメインメモリと、前記メインメモリへの書き込みまたは読み出しをメモリバスを介して制御するメインメモリコントローラと、前記メインメモリコントローラを介して前記メモリスロットにアクセスするメモリコピーエンジンと、を備え、前記メインメモリへのライトアドレスを格納するライトアドレスデータ格納用メモリと、前記ライトアドレスデータ格納用メモリへの書き込みまたは読み出しを制御するライトアドレスデータ格納用メモリコントローラと、を有するライトアドレスデータ格納用メモリモジュールを前記メモリスロットに実装し、前記ライトアドレスデータ格納用メモリコントローラは、前記メインメモリへのライトアドレスを前記ライトアドレスデータ格納用メモリに蓄積し、前記メモリコピーエンジンは、前記ライトアドレスデータ格納用メモリコントローラに対して、障害発生に起因して片系動作となった時点から当該片系動作を終了して二重化動作に復旧させる時点の間にかけて前記ライトアドレスデータ格納用メモリに蓄積されたライトアドレスを前記メモリバスへ出力するように指示し、前記メインメモリコントローラは、前記ライトアドレスデータ格納用メモリから前記メモリバスへ出力されたライトアドレスを読み出し、当該読み出したライトアドレスに対応する前記メインメモリに格納されたデータを読み出し、当該読み出したデータを前記障害から復旧した他の片系のメインメモリへとコピーする、ものである。 In one embodiment, the fault tolerant server includes a memory slot, a main memory mounted in the memory slot, a main memory controller that controls writing or reading to the main memory via a memory bus, and the main memory. A memory copy engine that accesses the memory slot via a controller, and controls write address data storage memory for storing a write address to the main memory, and writing or reading to the write address data storage memory A write address data storage memory module is mounted in the memory slot, and the write address data storage memory controller is connected to the main memory. Write address data is stored in the memory for storing write address data, and the memory copy engine operates from the point of time when the memory controller for the write address data storage becomes a one-system operation due to a failure. The main memory controller instructs to output the write address data stored in the write address data storage memory to the memory bus between the time when the operation is terminated and the duplex operation is restored. Reads the write address output from the memory to the memory bus, reads the data stored in the main memory corresponding to the read write address, and restores the read data from the failure to the other one-system main memory To copy to.
他の一実施の形態において、フォールトトレラントサーバのメモリコピー方法は、メモリスロットと、前記メモリスロットに実装されるメインメモリと、前記メインメモリへの書き込みまたは読み出しをメモリバスを介して制御するメインメモリコントローラと、前記メインメモリコントローラを介して前記メモリスロットにアクセスするメモリコピーエンジンと、がフォールトトレラントサーバに備えられており、前記メインメモリへのライトアドレスを格納するライトアドレスデータ格納用メモリと、前記ライトアドレスデータ格納用メモリへの書き込みまたは読み出しを制御するライトアドレスデータ格納用メモリコントローラと、を有するライトアドレスデータ格納用メモリモジュールを前記メモリスロットに実装され、前記ライトアドレスデータ格納用メモリコントローラが、前記メインメモリへのライトアドレスを前記ライトアドレスデータ格納用メモリに蓄積し、前記メモリコピーエンジンが、前記ライトアドレスデータ格納用メモリコントローラに対して、障害発生に起因して片系動作となった時点から当該片系動作を終了して二重化動作に復旧させる時点の間にかけて前記ライトアドレスデータ格納用メモリに蓄積されたライトアドレスを前記メモリバスへ出力するように指示し、前記メインメモリコントローラが、前記ライトアドレスデータ格納用メモリから前記メモリバスへ出力されたライトアドレスを読み出し、当該読み出したライトアドレスに対応する前記メインメモリに格納されたデータを読み出し、当該読み出したデータを前記障害から復旧した他の片系のメインメモリへとコピーする、ものである。 In another embodiment, a memory copy method of a fault tolerant server includes a memory slot, a main memory mounted in the memory slot, and a main memory that controls writing or reading to the main memory via a memory bus. A controller and a memory copy engine for accessing the memory slot via the main memory controller, provided in a fault-tolerant server, a write address data storage memory for storing a write address to the main memory, A write address data storage memory module having a write address data storage memory controller for controlling writing to or reading from the write address data storage memory. A memory controller for storing the address data stores a write address for the main memory in the memory for storing the write address data, and the memory copy engine is caused by the occurrence of a failure with respect to the memory controller for storing the write address data. Instructed to output the write address accumulated in the write address data storage memory to the memory bus from the time when the one-system operation is completed until the time when the one-system operation is terminated and the duplex operation is restored. The main memory controller reads the write address output from the write address data storage memory to the memory bus, reads the data stored in the main memory corresponding to the read write address, and reads the read data. Others recovered from the above failure To copy to one system of main memory, it is intended.
他の一実施の形態において、ライトアドレスデータ格納用メモリモジュールは、フォールトレラントサーバのメインメモリへのライトアドレスを格納するライトアドレスデータ格納用メモリと、前記ライトアドレスデータ格納用メモリへの書き込みまたは読み出しを制御するライトアドレスデータ格納用メモリコントローラと、を有し、前記フォールトレラントサーバのメモリスロットに実装される、ものである。 In another embodiment, the write address data storage memory module includes a write address data storage memory for storing a write address to the main memory of the fault tolerant server, and a write or read to the write address data storage memory. And a write address data storage memory controller for controlling the write address data, and mounted in a memory slot of the fault tolerant server.
本発明により、メモリコピー時間の短縮機能を汎用的に利用可能とし、かつ、実装上の困難を回避可能とするフォールトトレラントサーバ、そのメモリコピー方法およびライトアドレスデータ格納用メモリモジュールを提供することができる。 According to the present invention, it is possible to provide a fault-tolerant server, a memory copy method thereof, and a memory module for storing write address data, which can use a memory copy time shortening function for general purposes and avoid mounting difficulties. it can.
まず、本発明の実施の形態の説明に先立って、本発明の原理を説明する。図4に示すように、本発明に係るフォールトトレラントサーバ300は、メモリスロット305aと、メモリスロット305aに実装されるメインメモリ313と、メインメモリ313への書き込みまたは読み出しをメモリバスを介して制御するメインメモリコントローラ303aと、メインメモリコントローラ303aを介してメモリスロット305aにアクセスするメモリコピーエンジン306aと、を少なくとも備えている。さらに、フォールトトレラントサーバ300は、ライトアドレスデータ格納用メモリモジュール400をメモリスロット305aに実装している。
First, prior to the description of the embodiment of the present invention, the principle of the present invention will be described. As shown in FIG. 4, the fault
ライトアドレスデータ格納用メモリモジュール400は、メインメモリ313へのライトアドレスを格納するライトアドレスデータ格納用メモリ410と、ライトアドレスデータ格納用メモリ410への書き込みまたは読み出しを制御するライトアドレスデータ格納用メモリコントローラ411と、を有する。
The write address data
ライトアドレスデータ格納用メモリコントローラ411は、メインメモリ313へのライトアドレスをライトアドレスデータ格納用メモリ410に蓄積する。メモリコピーエンジン306aは、ライトアドレスデータ格納用メモリコントローラ411に対して、障害発生に起因して片系動作となった時点から当該片系動作を終了して二重化動作に復旧させる時点の間にかけてライトアドレスデータ格納用メモリ410に蓄積されたライトアドレスをメモリバスへ出力するように指示する。メインメモリコントローラ304aは、ライトアドレスデータ格納用メモリ410からメモリバスへ出力されたライトアドレスを読み出し、当該読み出したライトアドレスに対応するメインメモリ313に格納されたデータを読み出し、当該読み出したデータを障害から復旧した他の片系のメインメモリへとコピーする。
The write address data
実施の形態1.
以下、図面を参照して本発明の実施の形態について説明する。
<構成>
図1を参照して、本実施の形態に係るFTサーバの構成を説明する。
FTサーバ100は、モジュール1aと、モジュール1aと同期して動作するモジュール1bと、を備えている。クロスリンクバス2は、モジュール1aとモジュール1bを接続する。モジュール1aとモジュール1bは、クロスリンクバス2を介して、互いの状態を監視する。モジュール1aは、CPU4aと、メモリスロット5aと、メモリスロット5aに実装されるメインメモリ(不図示)と、フォールトトレラント制御チップ(以下、FT制御チップと称す。)7aと、を備えている。なお、モジュール1bについても同様の構成を備えているため、ここではその詳細な説明を省略する。
Embodiment 1 FIG.
Embodiments of the present invention will be described below with reference to the drawings.
<Configuration>
The configuration of the FT server according to the present embodiment will be described with reference to FIG.
The
CPU4aは、メモリバスを介してメインメモリ(不図示)への書き込みまたは読み出しを制御する、メインメモリコントローラの一例としてのメモリコントローラ3aを内蔵している。メモリスロット5aは、複数のメモリスロットを有しており、それぞれのメモリスロットがメモリコントローラ3aに接続する。メモリスロット5aには、メインメモリ(不図示)と、後述するTraceメモリモジュール200とが実装されている。
The
メモリスロット5aにおいて、メインメモリ(不図示)は、例えば、メモリコントローラ3aに最も近い位置に実装してよく、メインメモリ(不図示)が複数のメモリから構成される場合には、例えば、メモリコントローラ3aに最も近い位置から開始してそれぞれのメモリを実装してもよい。また、Traceメモリモジュール200は、例えば、メモリコントローラ3aから最も遠い位置に実装してよい。なお、メモリスロット5aにおけるメインメモリ(不図示)およびTraceメモリモジュール200の実装位置はこれに限定されず、他の位置に実装するものとしてもよい。
In the memory slot 5a, the main memory (not shown) may be mounted, for example, at a position closest to the memory controller 3a. When the main memory (not shown) is composed of a plurality of memories, for example, the memory controller Each memory may be mounted starting from the position closest to 3a. Further, the Trace
FT制御チップ7aは、メモリコピーエンジン6aを内蔵している。メモリコピーエンジン6aは、メモリコントローラ3aと接続し、メモリコントローラ3aを介して、メモリスロット5aにアクセス可能である。また、データリンクバス8は、CPU4aとCPU4bを接続する。CPU4aおよびCPU4bは、データリンクバス8を介して、メモリコピーを行う。
The
図2を参照して、本実施の形態に係るライトアドレスデータ格納用モジュールの一例としてのTraceメモリモジュール200の構成を説明する。
ライトアドレスデータ格納用メモリモジュールの一例としてのTraceメモリモジュール200は、メモリモジュールインターフェース9と、ライトアドレスデータ格納用メモリの一例としてのTraceメモリ10と、ライトアドレスデータ格納用メモリコントローラの一例としてのTraceメモリコントローラ11と、切り替えセレクタ12と、を備えている。Traceメモリモジュール200は、モジュール1a、1bのメモリスロット5a、5bに対して、着脱自在に実装可能である。
With reference to FIG. 2, a configuration of a
The
メモリモジュールインターフェース9は、メモリバス上のコマンドおよびアドレスを読み出すインタフェースである。Traceメモリ10は、メモリバス上のアドレスデータに関して、メインメモリへのライトアドレスのアドレスデータを格納する。Traceメモリコントローラ11は、メモリバス上のコマンドをデコードし、Traceメモリ10への書き込みまたは読み出しを制御する。また、Traceメモリコントローラ11は、Traceメモリ10のライトアドレスについて後述する片系動作開始時の開始アドレスおよび片系動作終了時の終了アドレスを保持する。切り替えセレクタ12は、メモリバス上のライトアドレスのアドレスデータをTraceメモリ10に入力し、また、Traceメモリ10に格納されたライトアドレスデータをメモリバス上のデータバスへ出力する。
The
図3は、本実施の形態に係るFTサーバ100における特定のメモリ空間にTraceメモリをマッピングする際の処理を示すフローチャートである。
まず、ユーザによって、FTサーバ100の電源がOnされる(S101)。FTサーバ100のBIOSは、POST(Power On Self Test)を実行する(S102)。
FIG. 3 is a flowchart showing processing when mapping the Trace memory to the specific memory space in the
First, the user turns on the power of the FT server 100 (S101). The BIOS of the
BIOSは、Traceメモリ機能を使用するか否かをBIOS設定メニューにおいて表示してユーザに問い合わせる。BIOSは、ユーザからの回答に応じて、Traceメモリ機能を使用するか否かを判断する(S103)。BIOSは、Traceメモリ機能を使用しない場合には、装置(FTサーバ100)を起動する(S104)。 The BIOS asks the user by displaying in the BIOS setting menu whether or not to use the Trace memory function. The BIOS determines whether or not to use the Trace memory function according to the answer from the user (S103). When the BIOS does not use the Trace memory function, the BIOS activates the device (FT server 100) (S104).
BIOSは、Traceメモリ機能を使用する場合には、Traceメモリ機能をOnに設定する(S105)。そして、BIOSは、装置(FTサーバ100)を再起動する(S106)。 When using the Trace memory function, the BIOS sets the Trace memory function to On (S105). Then, the BIOS restarts the device (FT server 100) (S106).
再起動の後、BIOSは、上述したPOSTを実行し、Traceメモリ機能を使用するために、Traceメモリ10を特定のメモリ空間へとマッピングする(S107)。この特定のメモリ空間とは、メモリコピーエンジン6のみがアクセス可能なメモリ空間であり、予め割り当てられる。最後に、BIOSは、装置(FTサーバ100)を起動する(S108)。
After the restart, the BIOS executes the above-described POST and maps the
このように、本実施の形態に係るTraceメモリモジュールを利用するシステムでは、Traceメモリ機能の使用の要否やその設定をBIOS設定に組み込む。そして、装置(FTサーバ100)起動の際のメモリマッピングの処理時に、メモリコピーエンジン6のみがアクセス可能な特定のメモリ空間へと、Traceメモリ10をマッピングする。これにより、汎用のメモリスロット5aにTraceメモリモジュール200を実装した場合においても、通常のアプリケーションがTraceメモリにアクセスしてしまうことを防止することができる。
As described above, in the system that uses the Trace memory module according to the present embodiment, the necessity of using the Trace memory function and the setting thereof are incorporated into the BIOS settings. Then, the
<動作>
以下、FTサーバ100による動作を説明する。なお、以下の動作例では、メモリスロット5aにTraceメモリモジュールが実装されている場合を例に説明する。
まず、Traceメモリモジュール200を実装したFTサーバ100は、二重化動作中、モジュール1aのメモリコントローラ3aとメモリスロット5a間のメモリバス上のコマンドおよびアドレスを、メモリモジュールインターフェース9を介して常に監視している。
<Operation>
Hereinafter, the operation of the
First, the
Traceメモリコントローラ11は、メモリバス上のコマンドをデコードし、当該デコードしたコマンドがメインメモリへのライトコマンドであった場合、Traceメモリ10の入力方向に切り替えセレクタ12を切り替え、メモリバス上の当該ライトコマンドのライトアドレスのアドレスデータをTraceメモリ10に格納する。Traceメモリコントローラ11は、Traceメモリ10への格納を継続することによって、メインメモリへのライトアドレスをTraceメモリ10に蓄積する。Traceメモリコントローラ11は、Traceメモリ10への書き込みを制御し、Traceメモリ10へのライトアドレスのアドレスポインタをインクリメント(例えば、1増加)する。
The
二重化動作中に障害が発生し、その障害発生に起因してモジュール1bにおいて何らかの異常が検出された場合、モジュール1aのFT制御チップ7aは、クロスリンクバス2を介してモジュール1bの異常を検知する。そして、FT制御チップ7aは、モジュール1bをシステムから切り離して、モジュール1aのみの片系動作へと移行する。FT制御チップ7aのメモリコピーエンジン6aは、片系動作が開始したことを、メモリコントローラ3aおよびTraceメモリコントローラ11に通知する。メモリコピーエンジン6aは、片系動作が開始したことを示すコマンドを用いて、メモリコントローラ3aを介してTraceメモリコントローラ11に通知する。
When a failure occurs during the duplication operation and any abnormality is detected in the
Traceメモリコントローラ11は、片系動作の開始の通知を受けた場合、当該通知を受けた時点におけるTraceメモリ10へのライトアドレスを、片系動作開始時の開始アドレスとして、Traceメモリコントローラ11の内部に保持する。システムは、モジュール1bが復旧されるまでの間、片系動作を継続するが、この間もTraceメモリコントローラ11は、モジュール1aのメインメモリへのライトアドレスを、Traceメモリ10に格納し続ける。
When the
システムは、モジュール1bの復旧が開始すると片系動作から二重化動作へと移行する。この際に、FT制御チップ7aのメモリコピーエンジン6aは、モジュール1aとモジュール1bのメインメモリの中身を一致させるために、Traceメモリ10に格納されたライトアドレスデータを使用して、片系動作中に更新されたモジュール1aのメインメモリのデータのみをモジュール1bへとコピーする動作を開始する。以下、具体的に説明する。
When the recovery of the
(i)まず、FT制御チップ7aのメモリコピーエンジン6aは、片系動作が終了したことを、メモリコントローラ3aおよびTraceメモリコントローラ11に通知する。メモリコピーエンジン6aは、Traceメモリ10に対してリードコマンドを発行して、メモリコントローラ3aを介してTraceメモリコントローラ11に通知する。Traceメモリコントローラ11は、Traceメモリ10に対するリードコマンドを受けた場合、当該通知を受けた時点におけるTraceメモリ10へのライトアドレスを、片系動作終了時の終了アドレスとして、Traceメモリコントローラ11の内部に保持する。
(I) First, the
(ii)そして、Traceメモリコントローラ11は、Traceメモリ10のアドレスポインタを、保持していた片系動作時の開始アドレスへと移動させ、Traceメモリ10の出力方向に切り替えセレクタ12を切り替える。Traceメモリコントローラ11は、開始アドレスから終了アドレスとなるまでの間、Traceメモリ10のアドレスポインタをインクリメントし、Traceメモリ10に格納していたメインメモリのライトアドレスを、メモリバスのデータバスへと出力させる。これによって、メモリコピーエンジン6aは、Traceメモリコントローラ11に対して、障害発生に起因して片系動作となった時点からその片系動作を終了して二重化動作に復旧させる時点の間にかけてTraceメモリ10に蓄積されたライトアドレスを、メモリバスへ出力させるよう指示する。
(Ii) Then, the
(iii)モジュール1aのメモリコントローラ3aは、片系動作の終了通知を受けると、Traceメモリ10のライトアドレスについて片系動作開始時の開始アドレスから片系動作終了時の終了アドレスに関して、Traceメモリ10から出力されるライトアドレスをメモリバスのデータバスから読み出す。メモリコントローラ3aは、読み出したライトアドレスをメモリコピーエンジン6aに保持する。メモリコントローラ3aは、全てのライトアドレスの読み出しを完了すると、当該ライトアドレスのメインメモリのデータを読み出し、モジュール1aからモジュール1bへのメモリコピーを開始する。モジュール1aのメモリコントローラ3aは、モジュール1aとモジュール1bのメインメモリデータが一致するまで、データリンクバス8を介してデータコピーを行う。
(Iii) When the memory controller 3a of the
以上に説明したように、本実施の形態に係るFTサーバ100は、Traceメモリモジュール200をマザーボード上のメモリスロットに搭載する。ここで、Traceメモリモジュール200はTraceメモリを備えており、当該Traceメモリは、FT制御チップに内蔵されたメモリコピーエンジンがアクセス可能である。そして、Traceメモリモジュール200は、FTサーバ100におけるメインメモリアクセス時のアドレスデータを、Traceメモリへ格納する。メモリコピーエンジン6aは、メインメモリのコピーが発生すると、Traceメモリ10のライトアドレスを取り出し、片系動作中に更新された領域のデータのみをコピーする。
As described above, the
これまでは装置に専用チップセットを採用することによってのみメモリコピー時間の短縮機能を実現してきたが、本実施の形態によれば、専用チップセットを採用する必要がないため、メモリコピー時間の短縮機能を汎用的に利用可能とすることができる。よって、本実施の形態によれば、メモリコピー時に必要なシステムの一時停止時間を短縮することができる。 Up to now, the function of shortening the memory copy time has been realized only by adopting a dedicated chipset for the device. However, according to the present embodiment, it is not necessary to employ a dedicated chipset, so the memory copy time can be shortened. The function can be made universally available. Therefore, according to the present embodiment, it is possible to shorten the system suspension time required for memory copy.
また、本実施の形態によれば、Traceメモリモジュール200をマザーボード上の空きメモリスロット5aに対して実装することから、マザーボードの実装エリアを損なうことがないという利点を有する。さらに、メモリスロット5aを利用してTraceメモリモジュール200を実装することで、メモリバス経路長への影響を最小限に抑えることが可能である。
In addition, according to the present embodiment, since the
なお、本発明は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。 Note that the present invention is not limited to the above-described embodiment, and can be changed as appropriate without departing from the spirit of the present invention.
1a、1b モジュール、
2 クロスリンクバス、
3a、3b メモリコントローラ、
4a、4b CPU、
5a、5b メモリスロット、
6a、6b メモリコピーエンジン、
7a、7b FT制御チップ、
8 データリンクバス、
9 メモリモジュールインターフェース、
10 Traceメモリ、
11 Traceメモリコントローラ、
12 切り替えセレクタ、
100 フォールトトレラントサーバ、
200 Traceメモリモジュール、
300 フォールトトレラントサーバ、
303a メインメモリコントローラ、
305a メモリスロット、
306a メモリコピーエンジン、
313 メインメモリ、
400 ライトアドレスデータ格納用メモリモジュール、
410 ライトアドレスデータ格納用メモリ、
411 ライトアドレスデータ格納用メモリコントローラ、
1a, 1b module,
2 Cross link bus,
3a, 3b memory controller,
4a, 4b CPU,
5a, 5b memory slot,
6a, 6b Memory copy engine,
7a, 7b FT control chip,
8 Data link bus,
9 Memory module interface,
10 Trace memory,
11 Trace memory controller,
12 switching selector,
100 fault-tolerant server,
200 Trace memory module,
300 fault-tolerant server,
303a main memory controller,
305a memory slot,
306a memory copy engine,
313 main memory,
400 memory module for storing write address data,
410 memory for storing write address data,
411 memory controller for storing write address data;
Claims (4)
前記メインメモリへのライトアドレスを格納するライトアドレスデータ格納用メモリと、前記ライトアドレスデータ格納用メモリへの書き込みまたは読み出しを制御するライトアドレスデータ格納用メモリコントローラと、を有するライトアドレスデータ格納用メモリモジュールを前記メモリスロットに実装し、
前記ライトアドレスデータ格納用メモリコントローラは、前記メモリバス上のコマンドが前記メインメモリへの書き込みコマンドであった場合、前記メインメモリへのライトアドレスを前記ライトアドレスデータ格納用メモリに蓄積し、
前記メモリコピーエンジンは、障害発生に起因して片系動作となった場合に、前記ライトアドレスデータ格納用メモリコントローラに対して、片系動作の開始を通知し、前記片系動作から二重化動作へと移行させる場合に、前記ライトアドレスデータ格納用メモリコントローラに対して、片系動作の終了を通知し、
前記ライトアドレスデータ格納用メモリコントローラは、前記片系動作の開始の通知を受けた場合、当該通知を受けた時点における前記ライトアドレスデータ格納用メモリへのライトアドレスを開始アドレスとして前記ライトアドレスデータ格納用メモリコントローラの内部に保持し、前記片系動作の終了の通知を受けた場合、当該通知を受けた時点における前記ライトアドレスデータ格納用メモリへのライトアドレスを終了アドレスとして前記ライトアドレスデータ格納用メモリコントローラの内部に保持し、前記開始アドレスから開始して前記終了アドレスとなるまでの間、前記ライトアドレスデータ格納用メモリのアドレスポインタを増加し、前記ライトアドレスデータ格納用メモリに蓄積された前記メインメモリのライトアドレスを前記メモリバスへ出力させ、
前記メインメモリコントローラは、前記ライトアドレスデータ格納用メモリから前記メモリバスへ出力されたライトアドレスを読み出し、当該読み出したライトアドレスに対応する前記メインメモリに格納されたデータを読み出し、当該読み出したデータを前記障害から復旧した他の片系のメインメモリへとコピーする、
フォールトトレラントサーバ。 A memory slot; a main memory mounted in the memory slot; a main memory controller that controls writing or reading to the main memory via a memory bus; and a memory that accesses the memory slot via the main memory controller A copy engine,
Write address data storage memory having a write address data storage memory for storing a write address to the main memory, and a write address data storage memory controller for controlling writing to or reading from the write address data storage memory Mounting the module in the memory slot;
When the command on the memory bus is a write command to the main memory, the write address data storage memory controller stores a write address to the main memory in the write address data storage memory,
The memory copy engine notifies the write address data storage memory controller of the start of the one-system operation when the one-system operation is caused by the occurrence of a failure, and the one-system operation is changed to the duplex operation . To the write address data storage memory controller, the end of one-system operation is notified,
When the write address data storage memory controller receives the notification of the start of the one-system operation, the write address data storage using the write address to the write address data storage memory at the time of receiving the notification as the start address When the notification of the end of the one-system operation is received, the write address to the write address data storage memory is used as the end address when the notification of the end of the one-system operation is received. held inside the memory controller, until the said end address starting before Symbol start address, increasing the address pointer of the write address data storage memory, stored in the write address data storage memory the write address of the main memory Is output to the serial memory bus,
The main memory controller reads a write address output from the write address data storage memory to the memory bus, reads data stored in the main memory corresponding to the read write address, and reads the read data. Copy to the main memory of the other one system recovered from the failure,
Fault tolerant server.
ことを特徴とする請求項1に記載のフォールトトレラントサーバ。 The memory for storing the write address data is a memory space accessible only by the memory copy engine, and is mapped to a specific memory space allocated in advance.
The fault-tolerant server according to claim 1.
前記メインメモリへのライトアドレスを格納するライトアドレスデータ格納用メモリと、前記ライトアドレスデータ格納用メモリへの書き込みまたは読み出しを制御するライトアドレスデータ格納用メモリコントローラと、を有するライトアドレスデータ格納用メモリモジュールが前記メモリスロットに実装され、
前記ライトアドレスデータ格納用メモリコントローラが、前記メモリバス上のコマンドが前記メインメモリへの書き込みコマンドであった場合、前記メインメモリへのライトアドレスを前記ライトアドレスデータ格納用メモリに蓄積し、
前記メモリコピーエンジンが、障害発生に起因して片系動作となった場合に、前記ライトアドレスデータ格納用メモリコントローラに対して、片系動作の開始を通知し、前記片系動作から二重化動作へと移行させる場合に、前記ライトアドレスデータ格納用メモリコントローラに対して、片系動作の終了を通知し、
前記ライトアドレスデータ格納用メモリコントローラが、前記片系動作の開始の通知を受けた場合、当該通知を受けた時点における前記ライトアドレスデータ格納用メモリへのライトアドレスを開始アドレスとして前記ライトアドレスデータ格納用メモリコントローラの内部に保持し、前記片系動作の終了の通知を受けた場合、当該通知を受けた時点における前記ライトアドレスデータ格納用メモリへのライトアドレスを終了アドレスとして前記ライトアドレスデータ格納用メモリコントローラの内部に保持し、前記開始アドレスから開始して前記終了アドレスとなるまでの間、前記ライトアドレスデータ格納用メモリのアドレスポインタを増加し、前記ライトアドレスデータ格納用メモリに蓄積された前記メインメモリのライトアドレスを前記メモリバスへ出力させ、
前記メインメモリコントローラが、前記ライトアドレスデータ格納用メモリから前記メモリバスへ出力されたライトアドレスを読み出し、当該読み出したライトアドレスに対応する前記メインメモリに格納されたデータを読み出し、当該読み出したデータを前記障害から復旧した他の片系のメインメモリへとコピーする、
フォールトトレラントサーバのメモリコピー方法。 A memory slot; a main memory mounted in the memory slot; a main memory controller that controls writing or reading to the main memory via a memory bus; and a memory that accesses the memory slot via the main memory controller A copy engine and a fault-tolerant server
Write address data storage memory having a write address data storage memory for storing a write address to the main memory, and a write address data storage memory controller for controlling writing to or reading from the write address data storage memory A module is mounted in the memory slot;
The write address data storage memory controller, when the command on the memory bus is a write command to the main memory, stores the write address to the main memory in the write address data storage memory,
When the memory copy engine becomes a one-system operation due to the occurrence of a failure, the write address data storage memory controller is notified of the start of the one-system operation, and the one-system operation is changed to the duplex operation . To the write address data storage memory controller, the end of one-system operation is notified,
When the write address data storage memory controller receives the notification of the start of the one-system operation, the write address data storage is performed with the write address to the write address data storage memory at the time of receiving the notification as the start address When the notification of the end of the one-system operation is received, the write address to the write address data storage memory is used as the end address when the notification of the end of the one-system operation is received. held inside the memory controller, until the said end address starting before Symbol start address, increasing the address pointer of the write address data storage memory, stored in the write address data storage memory the write address of the main memory Is output to the serial memory bus,
The main memory controller reads a write address output from the write address data storage memory to the memory bus, reads data stored in the main memory corresponding to the read write address, and reads the read data. Copy to the main memory of the other one system recovered from the failure,
Memory copy method for fault tolerant servers.
ことを特徴とする請求項3に記載のフォールトトレラントサーバのメモリコピー方法。 The memory for storing the write address data is a memory space accessible only by the memory copy engine, and is mapped to a specific memory space allocated in advance.
The memory copy method for a fault-tolerant server according to claim 3.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013028069A JP6007822B2 (en) | 2013-02-15 | 2013-02-15 | Fault tolerant server and its memory copy method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013028069A JP6007822B2 (en) | 2013-02-15 | 2013-02-15 | Fault tolerant server and its memory copy method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2014157492A JP2014157492A (en) | 2014-08-28 |
| JP6007822B2 true JP6007822B2 (en) | 2016-10-12 |
Family
ID=51578331
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2013028069A Expired - Fee Related JP6007822B2 (en) | 2013-02-15 | 2013-02-15 | Fault tolerant server and its memory copy method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6007822B2 (en) |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5953742A (en) * | 1996-07-01 | 1999-09-14 | Sun Microsystems, Inc. | Memory management in fault tolerant computer systems utilizing a first and second recording mechanism and a reintegration mechanism |
| JP2004046455A (en) * | 2002-07-10 | 2004-02-12 | Nec Corp | Information processor |
| JP5094460B2 (en) * | 2008-02-20 | 2012-12-12 | 株式会社日立製作所 | Computer system, data matching method, and data matching processing program |
| US20100318746A1 (en) * | 2009-06-12 | 2010-12-16 | Seakr Engineering, Incorporated | Memory change track logging |
-
2013
- 2013-02-15 JP JP2013028069A patent/JP6007822B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2014157492A (en) | 2014-08-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11474805B2 (en) | System capable of upgrading firmware in background and method for upgrading firmware in background | |
| CN107636601B (en) | Processor and platform-assisted NVDIMM solutions using standard DRAM and integrated memory | |
| US9507671B2 (en) | Write cache protection in a purpose built backup appliance | |
| KR101410596B1 (en) | Information processing apparatus, computer program, and copy control method | |
| JP2011170589A (en) | Storage control device, storage device, and storage control method | |
| JP2014032516A (en) | Storage device, controller, and data protection method | |
| US20060056321A1 (en) | Recovery of duplex data system after power failure | |
| US9740423B2 (en) | Computer system | |
| US10831657B2 (en) | Debug data recovery after PLI event | |
| US10642674B2 (en) | Storage control device with power failure processing and abnormality processing | |
| KR100827287B1 (en) | Semiconductor auxiliary memory and data storage method using same | |
| JP6007822B2 (en) | Fault tolerant server and its memory copy method | |
| JP5773446B2 (en) | Storage device, redundancy recovery method, and program | |
| EP2757477A1 (en) | Information processing apparatus and stored information analyzing method | |
| WO2016006108A1 (en) | Storage and control method therefor | |
| JP5103823B2 (en) | Information processing apparatus and input / output request control method | |
| JP2011159101A (en) | Information processing apparatus, method and program for managing memory | |
| JP5556086B2 (en) | Redundant system and duplexing method | |
| JP2011076528A (en) | Method and device for providing redundancy to raid card | |
| JP2011018187A (en) | Test method, test program, test device and test system | |
| JP2008287727A (en) | Storage device | |
| WO2016139774A1 (en) | Information processing device and information processing system | |
| JP2012190064A (en) | Information processing apparatus, memory management method, and memory management program | |
| JP4789263B2 (en) | Memory control system, memory control device, and memory control method | |
| JP3793544B2 (en) | Disk array device and control method thereof |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140611 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150410 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150421 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150611 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160119 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160317 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20160816 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160829 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6007822 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |