JP6364773B2 - Information processing apparatus, information processing system, memory replication method, and computer program - Google Patents
Information processing apparatus, information processing system, memory replication method, and computer program Download PDFInfo
- Publication number
- JP6364773B2 JP6364773B2 JP2014002231A JP2014002231A JP6364773B2 JP 6364773 B2 JP6364773 B2 JP 6364773B2 JP 2014002231 A JP2014002231 A JP 2014002231A JP 2014002231 A JP2014002231 A JP 2014002231A JP 6364773 B2 JP6364773 B2 JP 6364773B2
- Authority
- JP
- Japan
- Prior art keywords
- replication
- application
- standby
- storage device
- host
- 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.)
- Active
Links
- 230000010076 replication Effects 0.000 title claims description 251
- 230000010365 information processing Effects 0.000 title claims description 94
- 238000000034 method Methods 0.000 title claims description 70
- 238000004590 computer program Methods 0.000 title description 24
- 238000012545 processing Methods 0.000 claims description 164
- 230000008569 process Effects 0.000 claims description 48
- 230000005856 abnormality Effects 0.000 claims description 30
- 238000012544 monitoring process Methods 0.000 claims description 28
- 230000006870 function Effects 0.000 claims description 20
- 238000012546 transfer Methods 0.000 claims description 11
- 238000003672 processing method Methods 0.000 claims description 5
- 238000011084 recovery Methods 0.000 description 24
- 238000002360 preparation method Methods 0.000 description 19
- 238000004891 communication Methods 0.000 description 14
- 238000010586 diagram Methods 0.000 description 12
- 230000000694 effects Effects 0.000 description 11
- 238000001514 detection method Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 230000002159 abnormal effect Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 4
- 239000000470 constituent Substances 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000004913 activation Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Landscapes
- Hardware Redundancy (AREA)
Description
本発明は、情報処理装置(コンピュータ)を用いたメモリレプリケーション技術に関する。 The present invention relates to a memory replication technique using an information processing apparatus (computer).
あるサービスを提供している稼働系の情報処理装置(以下、本明細書では「稼働系装置」と略称する)において障害が発生した場合に、予備系の情報処理装置(以下、本明細書では「予備系装置」と略称する)によってサービスを継続する技術が知られている。その技術の一部として、メモリレプリケーション技術が使われている。メモリレプリケーションは、予備系装置においてサービスを引き継ぐ際に、稼働系装置のメモリに格納された情報を、予備系装置においても利用可能とするメモリ同期の技術である。 When a failure occurs in an active information processing apparatus that provides a service (hereinafter abbreviated as “active apparatus” in this specification), a standby information processing apparatus (hereinafter, referred to in this specification). There is known a technique for continuing a service by abbreviated as “backup apparatus”. As part of that technology, memory replication technology is used. Memory replication is a memory synchronization technique that enables information stored in the memory of the active system device to be used also in the standby system device when the standby system device takes over the service.
仮想化技術を導入した仮想化システムにおいては、あるサービスを提供しているアプリケーションが動作するゲストOS(Operating System:オペレーティングシステム)に障害が発生した場合、ホストOSによってメモリレプリケーションを行うことが一般的である。 In a virtualization system using virtualization technology, when a failure occurs in a guest OS (Operating System) in which an application providing a service operates, memory replication is generally performed by the host OS. It is.
関連技術として、特許文献1には、稼働(運用)系サーバ装置においてハードウェア障害が検知される直前の稼働系ゲストOSの状態を、待機系サーバ装置において動作する待機系ゲストOSに引き継ぐ計算機装置が開示されている。この特許文献1に記載された装置では、稼働系サーバ装置において、同期部、障害検知部、および引き継ぎ制御部が、設けられる。稼働系サーバ装置が正常に動作する間、同期部が、IO処理毎、または一定周期において、稼働系ゲストOSの最新の状態を示すコンテキストを同期データとして、待機系サーバ装置へ通知する。すなわち、同期部は、稼働系サーバ装置において障害が検知されるまでの間、稼働系ゲストOSの状態に、待機系ゲストOSの状態を一致させるメモリ同期処理を継続的に行う。
As a related technique,
障害検知部が、稼働系ゲストOSに先んじてハードウェア障害を検知した時点で、引き継ぎ制御部が、障害を認識する前の稼働系ゲストOSの状態を示す情報と、障害時に発行されていたIOリクエストのコピーとを、外部装置に出力する。待機系ゲストOSは、それまでメモリ同期によって保持していた情報に加えて、出力された情報およびリクエストコピーを用いることにより、障害の検知直前における稼働系ゲストOSの状態から処理を引き継ぐことができる。 When the failure detection unit detects a hardware failure prior to the active guest OS, the takeover control unit provides information indicating the status of the active guest OS before the failure is recognized, and the IO issued at the time of the failure A copy of the request is output to the external device. The standby guest OS can take over the processing from the state of the active guest OS immediately before the detection of the failure by using the output information and the request copy in addition to the information held by memory synchronization until then. .
また、特許文献2には、複数の仮想マシン(ゲストOS)を管理するホストOSが、異常停止したゲストOSを復旧させる方法が開示されている。この特許文献2に記載された方法では、ホストOSにおいて動作するスナップショット管理制御部と異常検出部とが設けられる。各ゲストOSが正常に動作している間、スナップショット管理制御部が、指定時刻または所定の時間間隔において、指定されたゲストOSに割り当てられたCPU及びメモリの内容をコピーし、コピーした情報をスナップショットとして記憶装置に保存するというメモリ同期を行う。そして、異常検出部が、何れかのゲストOSにおける異常を検出した際、スナップショット管理部が、記憶装置に保持された情報の中から、異常が検出されたゲストOSに対応するスナップショットを用いて、当該ゲストOSを復旧する。すなわち、スナップショット管理部は、異常が発生したゲストOSの処理を引き継ぐ予備のゲストOSを新たに起動させることにより復旧する。このようにして、ホストOSおよび仮想マシンを冗長化構成にする必要なく、かつゲストOSが異常停止した時点の直前から、ゲストOSを復旧することが実現されている。
しかしながら、特許文献1および特許文献2に開示された技術においては、稼働系ゲストOSの処理を予備系のゲストOSに引き継ぐ必要が生じるまでの待機の間、常時(継続的に)メモリ同期を実行する必要があるという問題がある。すなわち、上述した関連技術は、予備系装置において、メモリ同期によってコピーした稼働系装置のメモリ情報を保持する記憶装置のメモリ容量、および、メモリ同期に要する通信帯域などの予備の設備量が常に必要である。
However, in the technologies disclosed in
本発明の一つの目的は、稼働系装置から予備系装置への処理の引き継ぎ(切り替え)が発生するまでの待機中において、メモリ同期に要する予備のリソース量が少ないメモリレプリケーションが可能な情報処理装置などを提供することにある。 One object of the present invention is to provide an information processing apparatus capable of performing memory replication with a small amount of spare resources required for memory synchronization during standby until processing takes over (switching) from an active system apparatus to a standby system apparatus. And so on.
上記の目的を達成すべく、本発明に係る情報処理装置は、以下の構成を備えることを特徴とする。 In order to achieve the above object, an information processing apparatus according to the present invention has the following configuration.
本発明の情報処理装置は、複製の対象を記憶する記憶装置と、稼動系装置と、予備系装置を含み、前記稼動系装置は、ホストオペレーティングシステム(ホストOS)上で動作するレプリケーション処理部と、前記ホストOS上で動作しゲストオペレーティングシステム(ゲストOS)とアプリケーションを含む仮想マシンと、前記ホストOSが使用する部分と、前記レプリケーション処理部が使用する部分と、前記ゲストOSが使用する部分と、前記アプリケーションが使用する部分で複製の対象ではない部分と、前記アプリケーションが使用する部分で複製の対象の部分とを含む主記憶装置と、を備え、 前記アプリケーションは、前記アプリケーションが使用する部分で複製の対象の部分が格納されるメモリ空間情報を通知する複製対象通知部を有し、レプリケーション処理部が、前記複製対象通知部から通知された前記メモリ空間情報を、前記記憶装置に保存し、サービスを前記予備系装置において実施させることを指示する切り替え指示を受信した場合、前記記憶装置に記憶された前記メモリ空間情報に基づいて、前記アプリケーションが使用する部分で複製の対象の部分を読み出し、前記予備系装置に対して転送することを特徴とする。 An information processing apparatus of the present invention includes a storage device that stores a replication target, an active device, and a standby device, and the active device includes a replication processing unit that operates on a host operating system (host OS); A virtual machine that operates on the host OS and includes a guest operating system (guest OS) and applications, a part used by the host OS, a part used by the replication processing unit, and a part used by the guest OS and a portion not a duplicate of the object at a portion where the application uses, and a main memory device including a target portion of the replication at the portion where the application uses the application, a portion where the application uses Replication target that notifies the memory space information where the target part of the replication is stored It has a notification section, the replication processing unit, the said memory space information notified from the replicated notification unit, and stored in the storage device, receiving an instruction to the switching instruction to be carried out the service in the standby system device In this case, based on the memory space information stored in the storage device, a portion to be copied is read out by a portion used by the application and transferred to the standby system device.
本発明の情報処理方法は、複製の対象を記憶する記憶装置と予備系装置に接続する稼動系装置が、ホストオペレーティングシステム(ホストOS)が使用する部分と、レプリケーション処理が使用する部分と、ゲストオペレーティングシステム(ゲストOS)が使用する部分と、アプリケーションが使用する部分で複製の対象ではない部分と、前記アプリケーションが使用する部分で複製の対象の部分とを含む主記憶装置とを備え、前記稼動系装置が、前記ホストOS上で動作する前記レプリケーション処理と、前記ホストOS上で動作し前記ゲストOSと前記アプリケーションを含む仮想マシンを動作させ、 前記アプリケーションは、前記アプリケーションが使用する部分で複製の対象の部分が格納されるメモリ空間情報を通知し、前記レプリケーション処理は、前記メモリ空間情報を前記記憶装置に保存し、サービスを前記予備系装置において実施させることを指示する切り替え指示を受信した場合、前記記憶装置に記憶された前記メモリ空間情報に基づいて、前記アプリケーションが使用する部分で複製の対象の部分を読み出し、前記予備系装置に対して転送する。
According to the information processing method of the present invention, a storage device that stores an object to be replicated and an active device connected to a standby device have a part used by a host operating system (host OS), a part used by a replication process, a guest A main storage device including a part used by an operating system (guest OS), a part used by an application and not a target of copying, and a part used by the application and a part to be copied system device, said replication process that runs on the host OS, the runs on the host OS to operate the virtual machine containing the application and the guest OS, the application, the replication at a portion where the application uses The memory space information in which the target part is stored is notified and the record is Application process, on the basis of the save memory space information in the storage device, if the service has received an instruction to the switching instruction to be performed in the standby system device, the memory space information stored in the storage device Then, the part to be copied is read out by the part used by the application and transferred to the standby system apparatus.
また、同目的は、上記の各構成を有する情報処理装置、並びに対応する方法を、コンピュータによって実現するコンピュータ・プログラム、及びそのコンピュータ・プログラムが格納されている、コンピュータ読み取り可能な記憶媒体によっても達成される。 The object is also achieved by an information processing apparatus having each of the above-described configurations and a corresponding method by a computer program realized by a computer and a computer-readable storage medium storing the computer program. Is done.
本発明には、待機中の予備系装置において必要な設備量が少ないメモリレプリケーションが可能になるという効果がある。 The present invention has an effect of enabling memory replication that requires a small amount of equipment in a standby standby apparatus.
次に、本発明の実施形態について図面を参照して詳細に説明する。 Next, embodiments of the present invention will be described in detail with reference to the drawings.
<第1の実施形態>
図1は、本発明の第1の実施形態に係る情報処理システムの構成を示すブロック図である。
<First Embodiment>
FIG. 1 is a block diagram showing a configuration of an information processing system according to the first embodiment of the present invention.
図1を参照すると、本実施形態に係る情報処理システムは、第1の情報処理装置(稼働系装置)1、記憶装置11、および第2の情報処理装置(予備系装置)21を含む。本実施形態は、切替指示30を受信した際、第1の情報処理装置1(以下、「稼働系装置1」と言う)が提供するサービス(処理)を、第2の情報処理装置21(以下、「予備系装置21」が引き継ぐことを可能とする情報処理システムである。
Referring to FIG. 1, the information processing system according to the present embodiment includes a first information processing device (active system device) 1, a storage device 11, and a second information processing device (standby system device) 21. In the present embodiment, when the
切替指示30は、稼働系装置1が提供するサービスを、他の予備系装置において実施させる(切り替える)ことを指示する情報である。切替指示30は、さらに、切り替え先である予備系装置21を示すレプリケーション(複製)先情報を含んでもよい。
The
稼働系装置1、および、予備系装置21は、それぞれインターネットや構内LAN(ローカルエリアネットワーク)等の通信ネットワーク(以下、単にネットワークと称する。)1000を介して通信可能である。稼働系装置1、および予備系装置21は、CPU(Central Processing Unit:図示せず)を用いて実行されるコンピュータ・プログラム(ソフトウェア・プログラム)の制御により動作する一般的な情報処理装置(コンピュータ)によって構成されても良い。または、稼働系装置1、および予備系装置21の各部が、専用のハードウェアデバイス、または論理回路によって構成されても良い。なお、この稼働系装置1、および予備系装置21をコンピュータによって実現したハードウェア構成例については、図9を参照して後述する。
The
記憶装置11は、稼働系装置1から利用可能な記憶装置である。本実施形態において、記憶装置11は、稼働系装置1に接続される。なお、記憶装置11は、稼働系装置1に内蔵されてもよい。記憶装置11は、HDD(ハードディスクドライブ)などの不揮発性の記憶装置であってもよい。また、記憶装置11は、必ずしも主記憶装置6と別個の記憶装置ではなくてもよい。例えば、記憶装置11は、後述する仮想マシン3、および仮想マシン3に含まれる機能部が利用する領域以外の、特定の記憶領域であってもよい。
The storage device 11 is a storage device that can be used from the
稼働系装置1は、ホストOS2、仮想マシン3、主記憶装置6、およびレプリケーション処理部8を有する。仮想マシン3は、ゲストOS4、およびゲストOS4の制御によって動作するアプリケーション5を含む。なお、以下の説明において、例えば、ホストOS2の制御により動作することを「ホストOS2上で動作する」のように称する。すなわち、アプリケーション5は、「ゲストOS4上で動作する」と言う。
The
ホストOS2は、稼働系装置1において、仮想計算機(VM、Virtual Machine)である仮想マシン3を実現する。すなわち、ホストOS2は、ゲストOS4と、メモリおよび通信リソース等の仮想マシンリソースとを提供し、その仮想マシンリソースに関するメモリ管理および通信制御などを行う。また、ホストOS2は、レプリケーション処理部8などのホストOS2上で動作するプロセスに対して、メモリ管理および通信制御などの一般的なOS機能を提供する。
The
ゲストOS4は、ホストOS2によって提供される仮想マシン3において動作するOSである。ゲストOS4は、仮想マシン3において、アプリケーション5を動作させることができる。
The
主記憶装置6は、アプリケーション5の動作に応じて生成される複製対象データ9を格納することができる。複製対象データ9は、アプリケーション5が実行する処理(サービス)を引き継ぐアプリケーション25が、当該サービスを復旧するために必要な情報である。主記憶装置6は、例えば、半導体メモリ装置やディスク装置により実現される。
The
アプリケーション5は、ゲストOS4上で動作する。アプリケーション5は、稼働系装置1においてサービスを提供する主体である。上述した予備系装置21が引き継ぐサービスとは、このアプリケーション5が提供するサービスである。また、アプリケーション5は、複製対象通知部7を含む。
The
複製対象通知部7は、複製対象データ9が格納されるメモリ空間を示すメモリ情報を、後述するレプリケーション処理部8に対して通知する。
The replication
レプリケーション処理部8は、ホストOS2上で動作する。レプリケーション処理部8は、複製対象通知部7からメモリ情報を示す通知を受信した際、通知されたメモリ情報を複製対象メモリ情報12として、記憶装置11に保存する。その後、レプリケーション処理部8は、稼働系装置1において動作する何れかのプロセスまたは外部装置等から、切替指示30を受信した際、保存しておいた複製対象メモリ情報12に基づいて、複製対象データ9を読み出す。そして、レプリケーション処理部8は、予備系装置21に対して、読み出した複製対象データ9を転送する。以下では、切替指示30を受信した後の、レプリケーション処理部8における一連の動作を、転送処理とも言う。
The
予備系装置21は、ホストOS22、仮想マシン23、主記憶装置26、および復旧処理部27を有する。仮想マシン23は、ゲストOS24、およびゲストOS24上で動作するアプリケーション25を含む。ホストOS22、仮想マシン23、ゲストOS24、およびアプリケーション25の仮想化システムとしての関係性と機能とは、稼働系装置1におけるホストOS2、仮想マシン3、ゲストOS4、およびアプリケーション5と同様である。
The
だだし、少なくともアプリケーション25は、後述する復旧処理部27によって、サービスの復旧が指示された後に動作を開始する点が異なる。
However, at least the
復旧処理部27は、稼働系装置1におけるレプリケーション処理部8から転送された複製対象データ9を受信し、受信した複製対象データ9を主記憶装置26における対応するメモリ空間に格納(上書き)する。その後、復旧処理部27は、予備系装置21において動作するアプリケーション25に対して、アプリケーション5が実行していたサービスの復旧を指示する復旧指示を送信する。
The
アプリケーション25は、アプリケーション5と同様のサービスを提供可能である。アプリケーション25は、稼働系装置1においてアプリケーション5がサービスの提供を停止した後に、復旧処理部27によって格納された複製対象データ9に基づいて、アプリケーション5のサービスを引き継ぐ。
The
次に、上述した構成を備える本実施形態の動作について詳細に説明する。本実施形態に係る情報処理システムの動作は、事前準備の動作とメモリレプリケーションの動作(レプリケーション動作)との2段階の動作によって構成される。 Next, the operation of the present embodiment having the above-described configuration will be described in detail. The operation of the information processing system according to the present embodiment is configured by a two-stage operation including a preparatory operation and a memory replication operation (replication operation).
まず、図2を参照して、事前準備における動作を説明する。図2は、第1の実施形態において、稼働系装置1が行う事前準備の動作を示すフローチャートである。
First, with reference to FIG. 2, the operation in advance preparation is demonstrated. FIG. 2 is a flowchart showing a preparatory operation performed by the
事前準備の動作を開始する時点において、稼働系装置1の状態は、図1に示す通りである。すなわち、ホストOS2、ゲストOS4、アプリケーション5、およびレプリケーション処理部8が動作している。また、主記憶装置6には、複製対象データ9がすでに存在している。ただし、記憶装置11における複製対象メモリ情報12は、まだ存在しない。複製対象メモリ情報12は、事前準備の動作によって生成される。
At the time of starting the preparatory operation, the state of the
また、事前準備の動作に際して、予備系装置21は、特に動作する必要はない。
Further, the
事前準備の動作においては、まず、稼働系装置1において、複製対象通知部7が、複製対象データ9が格納されているメモリ空間を示すメモリ情報を、レプリケーション処理部8に対して通知する(ステップA100)。ここで、複製対象データ9とは、予備系装置21においてアプリケーション25がアプリケーション5のサービスを、後で復旧する際に必要な情報である。複製対象データ9は、後述するメモリレプリケーションの動作において複製の対象となるデータである。
In the preparation operation, first, in the
複製対象データ9は、例えば、図4に示すように、主記憶装置6に格納されている。図4は、第1の実施形態における主記憶装置6のメモリ空間の使用状況の一例を示す模式図である。図4を参照すると、主記憶装置6には、ホストOSが使用するメモリ空間502、レプリケーション処理部8などのレプリケーション関連の機能部が使用するメモリ空間503、ゲストOSが使用するメモリ空間504、およびアプリケーションが使用するメモリ空間505および506などがある。アプリケーションが使用するメモリ空間は、複製対象データ9を格納する複製対象のメモリ空間506と、複製対象データ9を含まないメモリ空間505に分かれる。ステップA100において、複製対象通知部7は、アプリケーションが使用する複製対象のメモリ空間506を示すメモリ情報を通知する。複製対象通知部7は、例えば、図示しない設定ファイル等から複製対象のメモリ空間506の範囲を取得してもよい。
The
次に、レプリケーション処理部8が、複製対象データ9が格納されているメモリ空間を示すメモリ情報の通知を受信する(ステップB110)。そして、レプリケーション処理部8は、受信した通知に含まれる複製対象データ9が格納されているメモリ空間を示すメモリ情報を、複製対象メモリ情報12として、記憶装置11に格納する(ステップB111)。複製対象メモリ情報12は、例えば、複製対象のメモリ空間506を示すアドレス情報を含む。また、複製対象メモリ情報12は、アプリケーション5または、アプリケーション5が提供するサービスを識別する識別情報などを含んでもよい。
Next, the
最後に、レプリケーション処理部8は、切替指示の受信に備えて、待機する(ステップB112)。
Finally, the
以上が、事前準備における動作である。事前準備における動作は、任意のタイミングにおいて、複数回にわたって実施してもよい。例えば、複製対象通知部7は、サービスが開始された際に事前準備の動作を行った後、複製対象データ9の増減などが発生したタイミングにおいて、再び事前準備の動作を行ってもよい。
The above is the operation in advance preparation. The operation in advance preparation may be performed a plurality of times at an arbitrary timing. For example, the replication
次に、図3を参照して、メモリレプリケーションにおける動作を説明する。図3は、第1の実施形態において、稼働系装置1、および予備系装置21が行うメモリレプリケーションの動作を示すフローチャートである。
Next, the operation in memory replication will be described with reference to FIG. FIG. 3 is a flowchart showing the memory replication operation performed by the
メモリレプリケーションの動作を開始する時点において、稼働系装置1は、事前準備が終了した状態である。すなわち、レプリケーション処理部8は、待機状態である。
At the time of starting the memory replication operation, the
また、予備系装置21は、少なくとも、メモリレプリケーションの動作が開始される前に、図1に示す状態であればよい。すなわち、予備系装置21は、メモリレプリケーションの動作開始より前に、少なくともホストOS22、および復旧処理部27が動作していればよい。なお、予備系装置21におけるゲストOS24とアプリケーション25とが、メモリレプリケーションの動作開始より前に、動作していてもよい。
Further, the
まず、切替指示30が、稼働系装置1において動作する何れかのプロセス、または、図示しない外部装置等から、稼働系装置1に対して、送信される。稼働系装置1においては、レプリケーション処理部8が、切替指示30を受信する(ステップB200)。切替指示30は、例えば、アプリケーション5が提供するサービスに障害が発生した際、または、稼働系装置1の保守作業の前など、サービスの提供者を予備系装置21に切り替えたい場合に送信されうる。
First, the switching
レプリケーション処理部8は、切替指示30を受信すると、事前準備の際に格納しておいた複製対象メモリ情報12を、記憶装置11から取得する(ステップB201)。
When the
次に、レプリケーション処理部8は、取得した複製対象メモリ情報12に基づいて、複製対象データ9を、主記憶装置6から読み出す(ステップB202)。
Next, the
次に、レプリケーション処理部8は、読み出した複製対象データ9を予備系装置21に対して転送する(ステップB203)。レプリケーション処理部8は、例えば、図示しない外部装置にシステム構成を管理するサーバに対して、切り替え先を問い合わせることにより、予備系装置21を選択してもよい。または、レプリケーション処理部8は、例えば、切替指示30に含まれるレプリケーション先情報に基づいて、予備系装置21を選択してもよい。
Next, the
なお、レプリケーション処理部8は、ステップB200以降のいずれかのタイミングにおいて、アプリケーション5またはゲストOS4の動作を停止させる処理を実行(指示)してもよい。
Note that the
次に、予備系装置21においては、復旧処理部27が、レプリケーション処理部8から転送された複製対象データ9を受信する(ステップC210)。
Next, in the
次に、復旧処理部27は、受信した複製対象データ9を、主記憶装置26における、「アプリケーションが使用する複製対象のメモリ空間506(図4)」に対応するメモリ空間にコピー(上書き)する(ステップC211)。
Next, the
なお、ステップC211を実行する際に、主記憶装置26は、稼働系装置1における主記憶装置6のメモリ空間と同様に、図4におけるアプリケーションが使用する複製対象のメモリ空間506に対応するメモリ空間を有することとする。すなわち、ステップC211を実行する前に、予備系装置21においてゲストOS24、およびアプリケーション25が動作していることとする。ゲストOS24、およびアプリケーション25が動作していなかった場合、復旧処理部27は、ステップC211を実行する前に、ゲストOS24、およびアプリケーション25を起動(指示)してもよい。なお、主記憶装置26が、図4に示す以外の用途に使用されるメモリ空間を有していてもよい。また、主記憶装置26は、図4に示す各メモリ空間502乃至506に対応するメモリ空間を有しているのであって、各メモリ空間の絶対アドレス、および、各メモリ空間のサイズなどの属性までも図4に一致しているとは限らない。
When executing step C211, the
最後に、復旧処理部27は、ゲストOS24またはアプリケーション25に対して、サービスの復旧を指示する(ステップC212)。この指示により、アプリケーション25は、主記憶装置26にコピーされた複製対象データ9に基づき、アプリケーション5に代わってサービスを再開する(引き継ぐ)。
Finally, the
このようにして、本実施形態によれば、切替指示30を受信した後に、稼働系装置1から予備系装置21へのメモリ同期(データの転送)を行うことにより、予備系装置21へのサービスの引き継ぎを行うことができる。
As described above, according to the present embodiment, after receiving the switching
以上説明したように、本実施形態には、稼働系装置1から予備系装置21へのサービス(処理)の切替が発生するまでの待機中において、メモリ同期に要する予備のリソース量が少ないという効果がある。
As described above, the present embodiment has the effect that the amount of spare resources required for memory synchronization is small during standby until the switching of the service (processing) from the
その理由は、稼働系装置1において、レプリケーション処理部8が、切替指示30を受信した場合、複製対象データ9を予備系装置21へ転送することによりメモリ同期を行うからである。そして、予備系装置21において、復旧処理部27が、主記憶装置26を介して、転送された複製対象データ9をアプリケーション25に与えることにより、サービスが引き継がれるからである。すなわち、本実施形態は、切替指示30によって切替が発生することを待つ待機中において、稼働系装置1から予備系装置21へのメモリ同期を行わない。したがって、本実施形態は、メモリ同期に要する予備系装置21における記憶装置や通信帯域などのリソース量が少なく済むという効果がある。
The reason is that in the
なお、本実施形態において、レプリケーション処理部8は、複製対象メモリ情報12を記憶装置11に格納したが、上述した通り、複製対象メモリ情報12を主記憶装置6の特定のメモリ空間に格納してもよい。
In this embodiment, the
<第2の実施形態>
次に、上述した第1の実施形態を基本とする第2の実施形態について説明する。以下では、第2の実施形態に係る特徴的な部分を中心に説明する。第1の実施形態と同様な構成を有する第2の実施形態の構成要素には、第1の実施形態で付した参照符号と同一の参照符号を付し、その構成要素について重複する詳細な説明は省略する。
<Second Embodiment>
Next, a second embodiment based on the above-described first embodiment will be described. Below, it demonstrates centering on the characteristic part which concerns on 2nd Embodiment. Constituent elements of the second embodiment having the same configurations as those of the first embodiment are denoted by the same reference numerals as the reference numerals used in the first embodiment, and detailed description overlapping those constituent elements. Is omitted.
図5は、本発明の第2の実施形態に係る情報処理システムの構成を示すブロック図である。本実施形態では、第1の情報処理装置(稼働系装置)100が、サービスを提供する仮想マシン3の各部の異常を検知する状態管理部101を有する点が上述した第1の実施形態と異なる。すなわち、本実施形態では、状態管理部101が、異常を検知した際に、レプリケーション処理部8に対して切替指示30を送信する。
FIG. 5 is a block diagram showing a configuration of an information processing system according to the second embodiment of the present invention. The present embodiment is different from the first embodiment described above in that the first information processing apparatus (active system apparatus) 100 includes a
まず、図5を参照して、以下に本実施形態の構成を説明する。 First, the configuration of the present embodiment will be described below with reference to FIG.
図5を参照すると、本実施形態に係る情報処理システムは、第1の情報処理装置100(以下、「稼働系装置100」と言う)、記憶装置11、および予備系装置21を含む。本実施形態は、稼働系装置100が提供するサービスに影響のある異常などが発生した際に、稼働系装置100が提供するサービスを、予備系装置21が引き継ぐことを可能とする情報処理システムである。
Referring to FIG. 5, the information processing system according to the present embodiment includes a first information processing device 100 (hereinafter referred to as “
記憶装置11、および予備系装置21は、第1の実施形態と同様であるので、重複する詳細な説明は、省略する。稼働系装置100は、第1の実施形態における稼働系装置1に対応する。以下は、稼働系装置100が、第1の実施形態における稼働系装置1と異なる点を説明する。
Since the storage device 11 and the
稼働系装置100、および、予備系装置21は、第1の実施形態と同様に、それぞれインターネットや構内LAN等のネットワーク1000を介して通信可能である。稼働系装置100は、CPU(図示せず)を用いて実行されるコンピュータ・プログラム(ソフトウェア・プログラム)の制御により動作する一般的な情報処理装置(コンピュータ)によって構成されても良い。または、稼働系装置100の各部が、専用のハードウェアデバイス、または論理回路によって構成されても良い。なお、この稼働系装置100をコンピュータによって実現したハードウェア構成例については、図9を参照して後述する。
Similarly to the first embodiment, the
稼働系装置100は、ホストOS2、仮想マシン3、主記憶装置6、レプリケーション処理部8、および状態管理部101を有する。ホストOS2、仮想マシン3、主記憶装置6、およびレプリケーション処理部8の構成および機能は、第1の実施形態と同様であるので、重複する説明は省略する。
The
状態管理部101は、ホストOS2上で動作する。状態管理部101は、ゲストOS4、および、アプリケーション5が提供するサービスなどの動作を監視対象として監視することにより、動作の異常を検出する。すなわち、状態管理部101は、アプリケーション5が提供するサービスの継続に影響を与える可能性がある機能部などを監視対象とする。監視対象には、稼働系装置100および記憶装置11などに含まれるハードウェア、並びに、ホストOS2などを含めてもよい。
The
状態管理部101が監視を行う技法については、ウォッチドッグ(watch dog)機構等により監視する方法など、よく知られた一般的な技術を採用することが可能である。または、例えば、ゲストOS4などの監視対象が、自己の動作状況を、状態管理部101に対して常時(定期的に)通知してもよい。状態管理部101は、監視対象に異常が発生したことを検知したとき、第1の実施形態における切替指示30をレプリケーション処理部8に対して送信する。
As a technique for monitoring by the
次に、上述した構成を備える本実施形態の動作について詳細に説明する。本実施形態に係る情報処理システムの動作は、第1の実施形態と同様に、事前準備とメモリレプリケーションとの2段階の動作によって構成される。 Next, the operation of the present embodiment having the above-described configuration will be described in detail. As in the first embodiment, the operation of the information processing system according to the present embodiment is configured by two-stage operations including advance preparation and memory replication.
本実施形態における事前準備の動作は、第1の実施形態と同様であるので、重複する詳細な説明を省略する。なお、事前準備段階において、状態管理部101は、特に動作する必要はない。
Since the preparatory operation in the present embodiment is the same as that in the first embodiment, a detailed description thereof is omitted. Note that, in the preliminary preparation stage, the
事前準備が終了した後、状態管理部101は、監視を実行する。状態管理部101は、レプリケーション処理部8と同様に、あらかじめ起動していてもよい。または、状態管理部101は、レプリケーション処理部8が待機状態になる際に、起動されてもよい。
After the preparation is completed, the
状態管理部101は、監視を実行中に、ゲストOS4、または、アプリケーション5が提供するサービスなどの監視対象に異常が発生したことを検知すると、レプリケーション処理部8に対して、切替指示30を送信する。
When the
これ以降の動作は、第1の実施形態におけるメモリレプリケーションの動作と同様である。すなわち、レプリケーション処理部8が、状態管理部101から送信された切替指示を受信する(図3のステップB200)。最終的に、予備系装置21において、アプリケーション25が、サービスを再開する(図3のステップC212)。
The subsequent operation is the same as the memory replication operation in the first embodiment. That is, the
以上、説明したように、本実施形態には、上述した第1の実施形態と同様の効果に加えて、さらに、稼働系装置100から予備系装置21へのサービスの引き継ぎが、状態管理部101が動作異常を検知したことを契機として、自律的に実行できるという効果もある。
As described above, in addition to the same effects as those of the first embodiment described above, the present embodiment further takes over the service from the
その理由は、状態管理部101がアプリケーション5が提供するサービスの継続に影響を与える可能性がある監視対象における異常の発生に際して、自律的に切替指示30を送信するからである。そして、レプリケーション処理部8が、切替指示30の受信を契機に、レプリケーション動作を連動させるからである。
This is because the
なお、状況管理部101は、予備系装置21、または、図示しない外部の装置にあってもよい。
The
<第3の実施形態>
次に、上述した第1または第2の実施形態を基本とする第3の実施形態について説明する。以下では、第3の実施形態に係る特徴的な部分を中心に説明する。上述した実施形態と同様な構成を有する第3の実施形態の構成要素には、第1または第2の実施形態で付した参照符号と同一の参照符号を付し、その構成要素について重複する詳細な説明は省略する。
<Third Embodiment>
Next, a third embodiment based on the first or second embodiment described above will be described. Below, it demonstrates centering on the characteristic part which concerns on 3rd Embodiment. The same reference numerals as those used in the first or second embodiment are attached to the constituent elements of the third embodiment having the same configuration as that of the above-described embodiment, and the details of the constituent elements are duplicated. The detailed explanation is omitted.
図6は、本発明の第3の実施形態に係る情報処理システムの構成を示すブロック図である。本実施形態では、ホストOS4自体の異常によって情報処理装置(稼働系装置)200(以下、「稼働系装置200」と言う)全体の処理が継続不能になった後に、サービスの引き継ぎを可能とするブート処理部201を有する点が上述した実施形態と異なる。また、本実施形態では、状態管理部221が、第2の情報処理装置(予備系装置)220に配置され、第2の情報処理装置220(以下、「予備系装置220」と言う)から稼働系装置200のホストOS4を含む各部を監視する点も異なる。さらに、複製対象メモリ情報12を格納する記憶装置は、不揮発性の記憶装置210である点も異なる。
FIG. 6 is a block diagram showing a configuration of an information processing system according to the third embodiment of the present invention. In the present embodiment, the service can be taken over after processing of the entire information processing apparatus (active system apparatus) 200 (hereinafter referred to as “
まず、図6を参照して、以下に本実施形態の構成を説明する。 First, the configuration of the present embodiment will be described below with reference to FIG.
図6を参照すると、本実施形態に係る情報処理システムは、稼働系装置200、不揮発性記憶装置210、および予備系装置220を含む。本実施形態は、稼働系装置200が提供するサービスに影響のある異常などが発生した際に、稼働系装置200が提供するサービスを、予備系装置220が引き継ぐことを可能とする情報処理システムである。
Referring to FIG. 6, the information processing system according to this embodiment includes an
稼働系装置200、および予備系装置220は、上述した実施形態と同様に、それぞれインターネットや構内LAN等のネットワーク1000を介して通信可能である。稼働系装置200、および予備系装置220は、CPU(図示せず)を用いて実行されるコンピュータ・プログラム(ソフトウェア・プログラム)の制御により動作する一般的な情報処理装置(コンピュータ)によって構成されても良い。または、稼働系装置200、および予備系装置220の各部が、専用のハードウェアデバイス、または論理回路によって構成されても良い。なお、この稼働系装置200、および予備系装置220をコンピュータによって実現したハードウェア構成例については、図9を参照して後述する。
The
不揮発性記憶装置210は、第1および第2の実施形態における記憶装置11に対応する。本実施形態において、不揮発性記憶装置210は、HDD(ハードディスクドライブ)などの不揮発性の記憶装置により実現される点が、記憶装置11と異なる。これ以外の不揮発性記憶装置210の構成および機能は、第1および第2の実施形態と同様であるので、重複する説明は省略する。
The
稼働系装置200は、第1の実施形態における稼働系装置1を基本とする。稼働系装置200は、ホストOS2、仮想マシン3、主記憶装置6、レプリケーション処理部8を有する。
The
レプリケーション処理部8の機能および構成は、複製対象メモリ情報12を保存する先が、不揮発性記憶装置210であること以外は、第1および第2の実施形態と同様である。レプリケーション処理部8における重複する説明は、省略する。
The function and configuration of the
ホストOS2は、ブート処理部201を有する。これ以外のホストOS2の構成および機能は、第1の実施形態と同様であるので、重複する説明は省略する。
The
ブート処理部201は、稼働系装置200の起動時に、前回の終了処理(シャットダウン時の処理)の結果を確認し、その結果に応じて、主記憶装置6の初期化処理を含む起動処理を行うことができる。
The
前回正常終了していなかった(異常だった)場合、ブート処理部201は、「レプリケーションモード」で起動処理を行う。レプリケーションモードにおいては、まず、ブート処理部201は、不揮発性記憶装置210に格納された複製対象メモリ情報12に基づいて、主記憶装置6に残された複製対象データ9の位置を特定する。そして、ブート処理部201は、複製対象データ9を保護する。さらに、ブート処理部201は、稼働系装置200の再起動後に新たに起動されたレプリケーション処理部8に対して、切替指示30を送信する。前回正常終了していた場合、ブート処理部201は、仮想化システムにおける情報処理装置で一般的に行われる、起動処理を行う。すなわち、ブート処理部201は、主記憶装置6に残された複製対象データ9の保護は行わずに、起動処理を行う。
If it was not completed normally (abnormal) last time, the
仮想マシン3、および主記憶装置6の構成および機能は、第1の実施形態と同様であるので、重複する説明は省略する。
Since the configurations and functions of the
予備系装置220は、ホストOS22、仮想マシン23、主記憶装置26、復旧処理部27、および状態管理部221を有する。ホストOS22、仮想マシン23、主記憶装置26、および復旧処理部27の構成および機能は、第1および第2の実施形態と同様であるので、重複する説明は省略する。
The
状態管理部221は、第2の実施形態における状態管理部101を基本とする。すなわち、状態管理部221は、第2の実施形態において稼働系装置100に配置された状態管理部101を、予備系装置220に配置したものと言える。状態管理部221は、予備系装置220から、ネットワーク1000を介して、稼働系装置200のホストOS2、ゲストOS4、およびアプリケーション25が提供するサービスの動作などを監視対象として、監視する。状態管理部221が監視を行う技法については、第2の実施形態と同様に、よく知られた一般的な技術を採用することが可能である。
The
状態管理部221は、監視対象に異常が発生したことを検出したとき、稼働系装置200に対して、切替指示30を送信することができる。また、状態管理部221は、ホストOS2の異常を検出したときなど、稼働系装置200における切替指示30に対する処理が行われない可能性がある場合、稼働系装置200の再起動を実行(指示)してもよい。状態管理部221が、ネットワーク1000を介して接続する稼働系装置200の再起動を行う技法については、よく知られた一般的な技術を採用することが可能であるので、ここでは詳細な説明は省略する。
When the
次に、上述した構成を備える本実施形態の動作について詳細に説明する。本実施形態に係る情報処理システムの動作は、第2の実施形態と同様に、事前準備と、監視を含むメモリレプリケーションとの2段階の動作によって構成される。 Next, the operation of the present embodiment having the above-described configuration will be described in detail. As in the second embodiment, the operation of the information processing system according to the present embodiment is configured by a two-stage operation including advance preparation and memory replication including monitoring.
本実施形態における事前準備の動作は、第1の実施形態と同様であるので、重複する詳細な説明を省略する。なお、事前準備段階において、ブート処理部201は、特に動作する必要はない。事前準備が終了した後は、複製対象メモリ情報12が、不揮発性記憶装置210に格納されている。また、予備系装置220において、状態管理部221が稼働系装置200を監視している状態である。
Since the preparatory operation in the present embodiment is the same as that in the first embodiment, a detailed description thereof is omitted. Note that the
次に、事前準備が終了した後、状態管理部221による監視中に、稼働系装置200において異常が発生した場合の、本実施形態に係る情報処理システムが行う動作を説明する。なお、以下では、本実施形態の効果が明確に表れる具体例の一つとして、稼働系装置200におけるホストOS2に、処理の継続が不能となるような異常が発生した場合の動作を説明する。
Next, an operation performed by the information processing system according to the present embodiment when an abnormality occurs in the
まず、状態管理部221が監視を実行中に、稼働系装置200において、ホストOS2に異常が発生する。そして、状態管理部221が、ホストOS2の異常を検出し、稼働系装置200の再起動を実行する。このとき、本実施形態では、稼働系装置200において再起動が発生した場合、まずブート処理部201が行うブート処理の動作が、レプリケーション動作の前に、実行される。以下に、図7を参照して、ブート処理におけるブート処理部201の動作を説明する。図7は、第3の実施形態において、ブート処理部201が行う動作を示すフローチャートである。
First, an abnormality occurs in the
ホストOS2に異常が発生した状態において稼働系装置200の再起動が実行されたとき、稼働系装置200は、終了処理を正常に行わずに終了し、その後、再び起動したこととする。再起動の際、稼働系装置200において、まずブート処理部201が動作する。ブート処理部201は、前回の終了処理の結果を確認する(ステップD300)。例えば、ブート処理部201は、終了処理によって更新されるべきファイルやレジストリの状態を確認することなどにより、前回の終了処理の正常性を判定することができる。
When the
前回の終了処理が異常だった場合、ブート処理部201は、「レプリケーションモード」で起動処理を行う。例えば、ブート処理部201は、ホストOS2以外が使用するメモリ空間を除外して、主記憶装置6に対するメモリ初期化を実施する(ステップD301)。すなわち、ブート処理部201は、ゲストOS4およびアプリケーション5が再起動前に使用したメモリ空間(図4の504乃至506)を初期化から除外する。
When the previous termination process is abnormal, the
次に、ブート処理部201は、不揮発性記憶装置210から、複製対象メモリ情報12を取得する(ステップD302)。
Next, the
次に、ブート処理部201は、取得した複製対象メモリ情報12に基づいて、主記憶装置6における複製対象データ9を保護する(ステップD303)。例えば、ブート処理部201は、ホストOS2が提供するメモリ管理機能により、複製対象データ9が格納されたメモリ空間に対する上書きを禁止してもよい。
Next, the
次に、ブート処理部201は、レプリケーション処理部8を起動する(ステップD304)。
Next, the
最後に、ブート処理部201は、起動したレプリケーション処理部8に対して、切替指示30を送信する(ステップD305)。
Finally, the
これ以降の動作は、第1の実施形態におけるメモリレプリケーションの動作(図3)と同様であるので、重複する詳細な説明を省略する。メモリレプリケーションの動作後、最終的に、予備系装置21において、アプリケーション25が、サービスを再開する(図3のステップC212)。
The subsequent operation is the same as the memory replication operation (FIG. 3) in the first embodiment, and thus a detailed description thereof is omitted. After the memory replication operation, finally, the
なお、ステップD301以降のいずれかの時点において、ブート処理部201は、レプリケーションモードで起動したことをホストOS2に通知することにより、ホストOS2がゲストOS4およびアプリケーション5を起動しないように制御してもよい。
Note that at any point after step D301, the
以上、説明したように、本実施形態には、上述した第1および第2の実施形態と同様の効果に加えて、さらに、ホストOS2などの異常によりレプリケーション処理部8が切替指示30を処理できない場合にも、稼働系装置200の再起動後に、予備系装置21へのサービスの引き継ぎができるという効果もある。
As described above, in this embodiment, in addition to the same effects as those of the first and second embodiments described above, the
その理由は、ブート処理部201が、起動処理において、前回の終了処理が正常でなかった場合に、再起動前に格納された複製対象データ9を保護するからである。また、不揮発性記憶装置210が、稼働系装置200が再起動されても、複製対象メモリ情報12を保持できるからである。その結果、稼働系装置200の再起動後に動作するレプリケーション処理部8が、保護された再起動前の複製対象データ9を用いて、予備系装置21へのメモリレプリケーションを実行することが可能となる。
The reason is that the
なお、ステップD300において、前回の終了処理が正常だった場合、ブート処理部201は、通常のメモリ初期化を実施する(ステップD310)。すなわち、ブート処理部201は、主記憶装置6に残された複製対象データ9の保護は行わずに、主記憶装置6に対するメモリ初期化を実施する。さらに、ブート処理部201は、その他の起動処理を行ってもよい。
In step D300, when the previous end process is normal, the
また、上述したブート処理部201が行う処理の一部は、ブート処理部201以外のホストOS2の機能によって実現されてもよい。例えば、レプリケーション処理部8の起動、および、その後の切替指示30の送信は、ホストOS2を介して実行されてもよい。
A part of the processing performed by the
また、ブート処理部201が実行するメモリ初期化の範囲、および複製対象データ9の保護方法などは、ステップD301乃至D303において例示した以外の方法によっても実現可能である。
Further, the range of memory initialization executed by the
<第4の実施形態>
次に、上述した各実施形態に共通する概念について説明する。
<Fourth Embodiment>
Next, a concept common to the above-described embodiments will be described.
図8は、本発明の第4の実施形態に係る情報処理システムの構成を示すブロック図である。 FIG. 8 is a block diagram showing a configuration of an information processing system according to the fourth embodiment of the present invention.
図8を参照すると、本実施形態は、第1の情報処理装置(稼働系装置)300、記憶装置311、および第2の情報処理装置(予備系装置)320を含む。本実施形態は、切替指示30を受信した際、第1の情報処理装置300(以下、「稼働系装置300」と言う)が提供するサービス(処理)を、第2の情報処理装置320(以下、「予備系装置320」が引き継ぐことを可能とする情報処理システムである。
Referring to FIG. 8, the present embodiment includes a first information processing apparatus (active system apparatus) 300, a
切替指示30は、稼働系装置1が提供するサービスを、他の予備系装置において実施させる(切り替える)ことを指示する情報である。
The switching
稼働系装置300、および、予備系装置320は、それぞれインターネットや構内LAN等のネットワーク1000を介して通信可能である。稼働系装置300、および予備系装置320は、CPU(Central Processing Unit:図示せず)を用いて実行されるコンピュータ・プログラム(ソフトウェア・プログラム)の制御により動作する一般的な情報処理装置(コンピュータ)によって構成されても良い。または、稼働系装置300、および予備系装置320の各部が、専用のハードウェアデバイス、または論理回路によって構成されても良い。なお、この稼働系装置300、および予備系装置320をコンピュータによって実現したハードウェア構成例については、図8を参照して後述する。
The
記憶装置311は、稼働系装置300から利用可能な記憶装置である。本実施形態において、記憶装置311は、稼働系装置300に接続される。なお、記憶装置311は、稼働系装置300に内蔵されてもよい。記憶装置311は、HDD(ハードディスクドライブ)などの不揮発性の記憶装置であってもよい。また、記憶装置311は、必ずしも記憶装置306と別個の記憶装置ではなくてもよい。記憶装置311は、第1および第2の実施形態における記憶装置11、並びに、第3の実施形態における不揮発性記憶装置210に対応する。
The
稼働系装置300は、アプリケーション305、記憶装置306、およびレプリケーション処理部308を有する。アプリケーション305は、第1乃至第3の実施形態におけるアプリケーション5に対応する。記憶装置306は、第1乃至第3の実施形態における主記憶装置6に対応する。レプリケーション処理部308は、第1乃至第3の実施形態におけるレプリケーション処理部8に対応する。
The
アプリケーション305は、稼働系装置300においてサービスを提供する主体である。上述した予備系装置320が引き継ぐサービスとは、このアプリケーション305が提供するサービスである。また、アプリケーション305は、複製対象通知部307を含む。
The
複製対象通知部307は、複製対象データ309が格納されるメモリ空間を示すメモリ情報を、後述するレプリケーション処理部308に対して通知する。なお、複製対象データ309は、アプリケーション305が実行する処理(サービス)を引き継ぐアプリケーション325が、当該サービスを復旧するために必要な情報である。複製対象通知部307は、第1乃至第3の実施形態における複製対象通知部7に対応する。複製対象データ309は、第1乃至第3の実施形態における複製対象データ9に対応する。
The replication
記憶装置306は、アプリケーション305の動作に応じて生成される複製対象データ309を格納することができる。記憶装置306は、例えば、半導体メモリ装置やディスク装置により実現される。
The
レプリケーション処理部308は、まず事前準備における動作として、複製対象通知部307からメモリ情報を示す通知を受信した場合に、通知されたメモリ情報を複製対象メモリ情報312として、記憶装置311に保存する。その後、レプリケーション処理部308は、切替指示30の受信を待機する。なお、切替指示30は、サービスの提供元を、稼働系装置300から予備系装置320へ切り替えたい場合などに、レプリケーション処理部308に対して送信される。複製対象メモリ情報312は、第1乃至第3の実施形態における複製対象メモリ情報12に対応する。
First, when receiving a notification indicating memory information from the replication
レプリケーション処理部308は、切替指示30を受信した場合に、メモリレプリケーション動作における転送処理として、保存しておいた複製対象メモリ情報312に基づいて、複製対象データ309を読み出す。そして、レプリケーション処理部308は、予備系装置320に対して、読み出した複製対象データ309を転送する。
When receiving the switching
予備系装置320は、アプリケーション325、および復旧処理部327を有する。アプリケーション325は、第1乃至第3の実施形態におけるアプリケーション25に対応する。復旧処理部327は、第1乃至第3の実施形態における復旧処理部27に対応する。
The
復旧処理部327は、稼働系装置300におけるレプリケーション処理部308から転送された複製対象データ309を受信した場合、アプリケーション325に対して、複製対象データ309に基づいてサービスを復旧することを指示する。
When receiving the
アプリケーション325は、稼働系装置300におけるアプリケーション305と同様のサービスを提供することができる。アプリケーション325は、復旧処理部327の指示を受けて、複製対象データ309に基づいて、アプリケーション305が提供していたサービスを復旧する。
The
このように、レプリケーション処理部308によるメモリレプリケーションの動作の結果として、アプリケーション325が、レプリケーション処理部308から送られた複製対象データ309に基づいて、予備系装置320においてサービスを引き継ぐことができる
以上説明したように、上述した各実施形態に共通する概念を表す本実施形態には、稼働系装置300から予備系装置305への処理の引き継ぎ(切り替え)が発生するまでの待機中において、メモリ同期に要する予備のリソース量が少ないという効果がある。
As described above, as a result of the memory replication operation by the
その理由は、稼働系装置300において、レプリケーション処理部308が、切替指示30を受信した場合、複製対象データ309を予備系装置320へ転送することによりメモリ同期を行うからである。そして、予備系装置320において、復旧処理部327が、転送された複製対象データ309に基づいて、アプリケーション25にサービスを引き継がせるからである。すなわち、本実施形態は、切替指示30によって切替が発生することを待つ待機中において、稼働系装置300から予備系装置320へのメモリ同期を行わない。したがって、本実施形態は、メモリ同期に要する予備系装置320における記憶装置や通信帯域などのリソース量が少なく済むという効果がある。
The reason is that in the
[変形例]
また、上述した各実施形態の変形例として、各実施形態に係る情報処理システムを、複数台の稼働系装置1、100、200、または300に対して、1台の予備系装置21、220、または320を含むように構成してもよい。例えば、復旧処理部27が、受信した複製対象データの送信元(稼働系装置1)に応じて、サービスを引き継ぐアプリケーション25を選択する。この場合、復旧処理部27は、例えば、送信元を示すアドレス等と、各稼働系装置が提供するサービスに対応するアプリケーション25とを関連付ける情報をあらかじめ保持する。これにより、1台の予備系装置が、複数台の稼働系装置におけるサービスの引き継ぎに対応できる。したがって、このような変形例は、メモリ同期に要する予備のリソース量をさらに低減できるという効果がある。
[Modification]
Further, as a modification of each of the above-described embodiments, the information processing system according to each embodiment includes a single
また、上述した各実施形態において、稼働系装置および予備系装置におけるゲストOSは1つであるが、本実施形態は、各装置において複数のゲストOSを有する場合にも適用可能である。 Further, in each of the embodiments described above, there is one guest OS in the active system device and the standby system device, but this embodiment is also applicable when each device has a plurality of guest OSs.
なお、上述した各実施形態において図1、図5、図6、および図8に示した各部は、それぞれ独立したハードウェア回路で構成されていてもよいし、ソフトウェアプログラムの機能(処理)単位(ソフトウェアモジュール)と捕らえることができる。ただし、これらの図面に示した各部の区分けは、説明の便宜上の構成であり、実装に際しては、様々な構成が想定され得る。 1, 5, 6, and 8 in each of the above-described embodiments may be configured by independent hardware circuits, or a function (processing) unit of software program ( Software module). However, the division of each part shown in these drawings is a configuration for convenience of explanation, and various configurations can be assumed for mounting.
このような場合のハードウェア環境の一例を図9を参照して説明する。図9は、本発明の各実施形態に係る情報処理システムに適用可能なコンピュータ(情報処理装置)の構成を例示する図である。すなわち、図9は、上述した各実施形態における第1の情報処理装置(稼働系装置)1、100、200、および300、並びに、第2の情報処理装置(予備系装置)21、220、および320の少なくとも何れかを実現可能なコンピュータの構成であって、上述した各実施形態における各機能を実現可能なハードウェア環境を示す。 An example of the hardware environment in such a case will be described with reference to FIG. FIG. 9 is a diagram illustrating a configuration of a computer (information processing apparatus) applicable to the information processing system according to each embodiment of the present invention. That is, FIG. 9 shows the first information processing devices (active system devices) 1, 100, 200, and 300, and the second information processing devices (standby system devices) 21, 220, and the respective embodiments described above. A hardware configuration capable of realizing each function in each of the above-described embodiments, which is a configuration of a computer capable of realizing at least one of 320.
図9に示したコンピュータ900は、CPU(Central Processing Unit)901、ROM(Read Only Memory)902、RAM(Random Access Memory)903、通信インタフェース(I/F)904、ディスプレイ905、及びハードディスク装置(HDD)906を備え、これらがバス907を介して接続された構成を有する。なお、図9に示したコンピュータが情報処理装置(稼働系装置)1、100、200および300、並びに、情報処理装置(予備系装置)21、220および320として機能する場合、ディスプレイ905は常時設けられる必要はない。また、通信インタフェース904は、上述した各実施形態において、当該各コンピュータ間における通信を実現する一般的な通信手段である。ハードディスク装置906には、プログラム群906Aと、各種の記憶情報906Bとが格納されている。プログラム群906Aは、例えば、上述した図1、図5、図6、および図8に示した各ブロック(各部)に対応する機能を実現するためのコンピュータ・プログラムである。各種の記憶情報906Bは、例えば、図1、図5、図6、および図8に示した複製対象データ9、および309、並びに、複製対象メモリ情報12、および312などである。このようなハードウェア構成において、CPU901は、コンピュータ900の全体の動作を司る。
9 includes a CPU (Central Processing Unit) 901, a ROM (Read Only Memory) 902, a RAM (Random Access Memory) 903, a communication interface (I / F) 904, a
そして、上述した各実施形態を例に説明した本発明は、各実施形態の説明において参照したブロック構成図(図1、図5、図6、および図8)あるいはフローチャート(図1、図2、および図7)の機能を実現可能なコンピュータ・プログラムを供給した後、そのコンピュータ・プログラムを、当該ハードウェアのCPU901に読み出して実行することによって達成される。また、このコンピュータ内に供給されたコンピュータ・プログラムは、読み書き可能な一時記憶メモリ903またはハードディスク装置906などの不揮発性の記憶デバイス(記憶媒体)に格納すれば良い。
The present invention described by taking each of the above embodiments as an example is a block diagram (FIGS. 1, 5, 6, and 8) or a flowchart (FIGS. 1, 2, and 8) referred to in the description of each embodiment. This is achieved by supplying a computer program capable of realizing the functions of FIG. 7) and then reading the computer program to the
また、前記の場合において、当該各装置内へのコンピュータ・プログラムの供給方法は、フロッピーディスク(登録商標)やCD−ROM等の各種記録媒体を介して当該装置内にインストールする方法や、インターネット等の通信ネットワーク1000を介して外部よりダウンロードする方法等のように、現在では一般的な手順を採用することができる。そして、このような場合において、本発明は、係るコンピュータ・プログラムを構成するコード、或いは係るコードが記録されたところの、コンピュータ読み取り可能な記憶媒体によって構成されると捉えることができる。
In the above-described case, the computer program can be supplied to each device by a method of installing in the device via various recording media such as a floppy disk (registered trademark) and CD-ROM, the Internet, etc. Currently, a general procedure can be employed, such as a method of downloading from the outside via the
なお、上述した実施形態の一部または全部は、以下の付記のようにも記載されうるが、以下の付記に限定されるものではない。 Note that a part or all of the above-described embodiment can be described as the following supplementary notes, but is not limited to the following supplementary notes.
(付記1)
第1のアプリケーションが提供するサービスの復旧に必要な情報である複製対象データが格納されるメモリ空間を示すメモリ情報を通知する複製対象通知部と、
前記複製対象通知部から通知された前記メモリ情報を、所定の記憶装置に複製対象メモリ情報として保存し、前記サービスを他の情報処理装置において実施させることを指示する切替指示を受信した場合、前記所定の記憶装置において記憶された前記複製対象メモリ情報に基づいて、前記複製対象データを読み出し、読み出した前記複製対象データを第2の情報処理装置に対して転送するレプリケーション処理部と
を含む第1の情報処理装置。
(Appendix 1)
A replication target notification unit for notifying memory information indicating a memory space in which replication target data, which is information necessary for recovery of the service provided by the first application, is stored;
When the memory information notified from the replication target notification unit is stored as replication target memory information in a predetermined storage device, and when receiving a switching instruction that instructs the other information processing device to implement the service, A replication processing unit that reads the replication target data based on the replication target memory information stored in a predetermined storage device, and transfers the read replication target data to a second information processing device; Information processing device.
(付記2)
付記1記載の第1の情報処理装置において動作する第1のアプリケーションが提供するサービスの復旧に必要な情報である複製対象データを受信し、前記サービスを提供可能な第2のアプリケーションに対して、前記複製対象データに基づいて、前記サービスを復旧させる復旧処理部
を含む第2の情報処理装置。
(Appendix 2)
For the second application that receives the replication target data that is information necessary for restoration of the service provided by the first application that operates in the first information processing apparatus according to
(付記3)
前記第1のアプリケーションが行う前記サービスの継続に影響を与える可能性がある監視対象を監視し、前記監視対象に異常が発生したことを検知したとき、前記切替指示を前記レプリケーション処理部に対して送信する状態管理部
をさらに備える付記1記載の第1の情報処理装置。
(Appendix 3)
The monitoring target that may affect the continuity of the service performed by the first application is monitored, and when it is detected that an abnormality has occurred in the monitoring target, the switching instruction is sent to the replication processing unit. The first information processing apparatus according to
(付記4)
前記第1のアプリケーションが行う前記サービスの継続に影響を与える可能性がある監視対象を監視し、前記監視対象に異常が発生したことを検知したとき、付記1記載の第1の情報処理装置に対して、前記サービスを他の情報処理装置において実施させることを指示する切替指示を送信する状態管理部
をさらに備える付記2記載の第2の情報処理装置。
(Appendix 4)
When the monitoring target that may affect the continuity of the service performed by the first application is monitored and it is detected that an abnormality has occurred in the monitoring target, the first information processing apparatus according to
(付記5)
前記レプリケーション処理部は、前記複製対象メモリ情報を保存する際に、不揮発性記憶装置に前記複製対象メモリ情報を保存し、
さらにブート処理部を備え、
前記ブート処理部は、本装置の起動時に、本装置での前回の終了処理の結果を確認し、前回正常終了していなかった場合には、前記複製対象メモリ情報に基づいて位置を特定した前記複製対象データを保護し、本装置の起動後に新たに起動されたレプリケーション処理部に対して、前記切替指示を送信する付記1または付記3記載の第1の情報処理装置。
(Appendix 5)
The replication processing unit stores the replication target memory information in a nonvolatile storage device when storing the replication target memory information,
In addition, it has a boot processing unit,
The boot processing unit confirms the result of the previous end process in the apparatus at the time of starting the apparatus, and if the normal end has not been completed last time, specifies the position based on the replication target memory information The first information processing apparatus according to
(付記6)
付記1、付記3、または付記5の何れかに記載の第1の情報処理装置と、
前記第1の情報処理装置から前記複製対象データを受信する付記2、または付記4記載の第2の情報処理装置と
を含む情報処理システム。
(Appendix 6)
The first information processing apparatus according to any one of
An information processing system comprising: the second information processing device according to
(付記7)
第1の情報処理装置を用いて、
第1のアプリケーションが提供するサービスの復旧に必要な情報である複製対象データが格納されるメモリ空間を示すメモリ情報を、所定の記憶装置に複製対象メモリ情報として保存する事前準備処理を実行し、
前記サービスを他の情報処理装置において実施させることを指示する切替指示を受信した場合、前記所定の記憶装置において記憶された前記複製対象メモリ情報に基づいて読み出した前記複製対象データを第2の情報処理装置に対して転送する転送処理を実行し、
前記第2の情報処理装置を用いて、
前記複製対象データを受信し、
前記サービスを提供可能な第2のアプリケーションに対して、前記複製対象データに基づいて、前記サービスを復旧させる
メモリレプリケーション方法。
(Appendix 7)
Using the first information processing device,
Executing pre-preparation processing for storing memory information indicating a memory space in which data to be replicated, which is information necessary for restoration of a service provided by the first application, is stored as data to be replicated in a predetermined storage device;
When the switching instruction instructing the other information processing apparatus to execute the service is received, the replication target data read based on the replication target memory information stored in the predetermined storage device is the second information. Execute transfer processing to transfer to the processing device,
Using the second information processing apparatus,
Receiving the replication target data;
A memory replication method for recovering the service based on the replication target data for a second application that can provide the service.
(付記8)
前記事前準備処理の後に、
前記第1のアプリケーションが行う前記サービスの継続に影響を与える可能性がある監視対象を監視し、
前記監視対象に異常が発生したことを検知したとき、前記第1の情報処理装置に対して、前記切替指示を送信する処理をさらに行う
付記7記載のメモリレプリケーション方法。
(Appendix 8)
After the preparation process,
Monitoring a monitoring target that may affect continuity of the service performed by the first application;
The memory replication method according to
(付記9)
前記事前準備の処理において、 前記複製対象メモリ情報を、所定の不揮発性記憶装置に保存し、
その後に実行された前記第1の情報処理装置の起動時に、前記第1の情報処理装置での前回の終了処理の結果を確認し、
前回正常終了していなかった場合には、前記複製対象メモリ情報に基づいて位置を特定した前記複製対象データを保護し、
前記第1の情報処理装置の起動後に、前記転送処理を実行する
付記7または付記8記載のメモリレプリケーション方法。
(Appendix 9)
In the preparation process, the replication target memory information is stored in a predetermined nonvolatile storage device,
Confirming the result of the previous end processing in the first information processing apparatus at the time of starting the first information processing apparatus executed thereafter,
In the case where the previous normal end was not completed, the replication target data whose location was specified based on the replication target memory information was protected,
The memory replication method according to
(付記10)
第1のアプリケーションが提供するサービスの復旧に必要な情報である複製対象データが格納されるメモリ空間を示すメモリ情報を通知する複製対象通知処理と、
前記複製対象処理によって通知された前記メモリ情報を、所定の記憶装置に複製対象メモリ情報として保存し、前記サービスを他の情報処理装置において実施させることを指示する切替指示を受信した場合、前記所定の記憶装置において記憶された前記複製対象メモリ情報に基づいて、前記複製対象データを読み出し、読み出した前記複製対象データを第2の情報処理装置に対して転送するレプリケーション処理と
をコンピュータに実行させる第1のコンピュータ・プログラム。
(Appendix 10)
A replication target notification process for notifying memory information indicating a memory space in which the replication target data, which is information necessary for recovery of the service provided by the first application, is stored;
When the memory information notified by the duplication target process is stored as duplication target memory information in a predetermined storage device and a switching instruction instructing to execute the service in another information processing device is received, the predetermined information A replication process for reading the replication target data based on the replication target memory information stored in the storage device and transferring the read replication target data to a second information processing apparatus. 1 computer program.
(付記11)
付記10記載の第1のコンピュータ・プログラムを実行する情報処理装置から、第1のアプリケーションが提供するサービスの復旧に必要な情報である複製対象データを受信し、前記サービスを提供可能な第2のアプリケーションに対して、前記複製対象データに基づいて、前記サービスを復旧させる復旧処理
をコンピュータに実行させる第2のコンピュータ・プログラム。
(Appendix 11)
A second data that can be provided from the information processing apparatus that executes the first computer program according to attachment 10 by receiving data to be copied, which is information necessary for restoration of the service provided by the first application, and providing the service. A second computer program for causing an application to execute a restoration process for restoring the service based on the data to be replicated.
(付記12)
第1のアプリケーションが提供するサービスの継続に影響を与える可能性がある監視対象を監視し、前記監視対象に異常が発生したことを検知したとき、付記10記載の第1のコンピュータ・プログラムを実行する情報処理装置に対して、前記サービスを他の情報処理装置において実施させることを指示する切替指示を送信する状態管理処理
をコンピュータに実行させる第3のコンピュータ・プログラム。
(Appendix 12)
The monitoring target that may affect the continuity of the service provided by the first application is monitored, and when it is detected that an abnormality has occurred in the monitoring target, the first computer program according to appendix 10 is executed. A third computer program that causes a computer to execute a state management process for transmitting a switching instruction that instructs the information processing apparatus to perform the service in another information processing apparatus.
(付記13)
前記レプリケーション処理において、前記複製対象メモリ情報を、所定の不揮発性記憶装置に保存する
付記10記載の第1のコンピュータ・プログラム。
(Appendix 13)
The first computer program according to claim 10, wherein the replication target memory information is stored in a predetermined nonvolatile storage device in the replication process.
(付記14)
付記13記載の第1のコンピュータ・プログラムを実行する情報処理装置の動作制御のための第4のコンピュータ・プログラムであって、その第4のコンピュータ・プログラムにより、
本装置の起動時に、本装置での前回の終了処理の結果を確認する確認処理と、
前回正常終了していなかった場合には、前記複製対象メモリ情報に基づいて位置を特定した前記複製対象データを保護するデータ保護処理と、
本装置の起動後に新たに起動された付記13記載の第1のコンピュータ・プログラムに対して、前記切替指示を送信する
第4のコンピュータ・プログラム。
(Appendix 14)
A fourth computer program for controlling the operation of the information processing apparatus that executes the first computer program according to attachment 13, wherein the fourth computer program
A confirmation process for confirming the result of the previous termination process in the apparatus when the apparatus is started;
If the previous normal termination was not completed, a data protection process for protecting the replication target data whose position is specified based on the replication target memory information;
A fourth computer program that transmits the switching instruction to the first computer program according to Supplementary Note 13 that is newly started after the apparatus is started.
1、100、200、300 第1の情報処理装置(稼働系装置)
2、22 ホストOS
3、23 仮想マシン
4、24 ゲストOS
5、25、305、325 アプリケーション
6、26 主記憶装置
7、307 複製対象通知部
8、308 レプリケーション処理部
9、309 複製対象データ
11、311 記憶装置
12、312 複製対象メモリ情報
21、220、320 第2の情報処理装置(予備系装置)
27、327 復旧処理部
30 切替指示
101、221 状態管理部
201 ブート処理部
210 不揮発性記憶装置
306 記憶装置
501 主記憶装置のメモリ空間
502 ホストOSが使用するメモリ空間
503 レプリケーション関連の機能部が使用するメモリ空間
504 ゲストOSが使用するメモリ空間
900 情報処理装置(コンピュータ)
901 CPU
902 ROM
903 RAM
904 通信インタフェース(I/F)
905 ディスプレイ
906 ハードディスク装置(HDD)
906A プログラム群
906B 各種の記憶情報
907 バス
1000 ネットワーク(通信ネットワーク)
1, 100, 200, 300 First information processing apparatus (active system apparatus)
2, 22 Host OS
3, 23
5, 25, 305, 325
27, 327
901 CPU
902 ROM
903 RAM
904 Communication interface (I / F)
905
Claims (10)
前記稼動系装置は、
ホストオペレーティングシステム(ホストOS)上で動作するレプリケーション処理部と、
前記ホストOS上で動作しゲストオペレーティングシステム(ゲストOS)とアプリケーションを含む仮想マシンと、
前記ホストOSが使用する部分と、前記レプリケーション処理部が使用する部分と、前記ゲストOSが使用する部分と、前記アプリケーションが使用する部分で複製の対象ではない部分と、前記アプリケーションが使用する部分で複製の対象の部分とを含む主記憶装置とを備え、
前記アプリケーションは、前記アプリケーションが使用する部分で複製の対象の部分が格納されるメモリ空間情報を通知する複製対象通知部を有し、
レプリケーション処理部が、前記複製対象通知部から通知された前記メモリ空間情報を、前記記憶装置に保存し、サービスを前記予備系装置において実施させることを指示する切り替え指示を受信した場合、前記記憶装置に記憶された前記メモリ空間情報に基づいて、前記アプリケーションが使用する部分で複製の対象の部分を読み出し、前記予備系装置に対して転送することを特徴とする情報処理装置。 Including a storage device for storing a copy target, an active device, and a standby device,
The active system device is:
A replication processing unit operating on a host operating system (host OS);
A virtual machine operating on the host OS and including a guest operating system (guest OS) and applications;
A part used by the host OS, a part used by the replication processing unit, a part used by the guest OS, a part used by the application, a part not to be copied, and a part used by the application A main storage device including a portion to be duplicated,
The application will have a replication target notification unit for notifying the memory space information object parts of replication in a portion where the application uses is stored,
If the replication processing unit, the memory space information notified from the replication target notification unit, and stored in the storage device, receives a switching instruction for instructing to implement the services in the standby system device, said storage device An information processing apparatus that reads out a part to be duplicated in a part used by the application based on the memory space information stored in the information, and transfers the read part to the standby apparatus.
前記稼動系装置は、ブート処理部を備え、
前記ブート処理部は、稼動系装置の再起動時に、稼動系装置での前回の終了処理の結果を確認し、前回正常終了していなかった場合には、前記主記憶装置の前記ホストOS以外が使用する部分を除外して初期化し、
前記メモリ空間情報に基づいて位置を特定した前記アプリケーションが使用する部分で複製の対象の部分を保護し、稼動系装置の起動後に新たに起動されたレプリケーション処理部に対して、前記切り替え指示を送信する、
請求項1または2記載の情報処理装置。 The standby device monitors the services provided by the host OS, guest OS, and application of the active device, and when detecting that an abnormality has occurred, instructs the standby device to restart the active device. A second state management unit,
The active system device includes a boot processing unit,
The boot processing unit confirms the result of the previous termination process in the active system device when the active system device is restarted. Initialize by excluding the part to be used,
The part used by the application whose position is specified based on the memory space information is protected, and the part to be copied is protected, and the switching instruction is sent to the replication processing unit that is newly started after the active device is started To
The information processing apparatus according to claim 1 or 2.
ホストオペレーティングシステム(ホストOS)が使用する部分と、レプリケーション処理が使用する部分と、ゲストオペレーティングシステム(ゲストOS)が使用する部分と、アプリケーションが使用する部分で複製の対象ではない部分と、前記アプリケーションが使用する部分で複製の対象の部分とを含む主記憶装置とを備え、
前記稼動系装置が、前記ホストOS上で動作する前記レプリケーション処理と、前記ホストOS上で動作し前記ゲストOSと前記アプリケーションを含む仮想マシンを動作させ、
前記アプリケーションは、前記アプリケーションが使用する部分で複製の対象の部分が格納されるメモリ空間情報を通知し、
前記レプリケーション処理は、前記メモリ空間情報を前記記憶装置に保存し、サービスを前記予備系装置において実施させることを指示する切り替え指示を受信した場合、前記記憶装置に記憶された前記メモリ空間情報に基づいて、前記アプリケーションが使用する部分で複製の対象の部分を読み出し、前記予備系装置に対して転送する、情報処理方法。 A storage device that stores the replication target and an active device connected to the standby device,
A part used by a host operating system (host OS), a part used by a replication process, a part used by a guest operating system (guest OS), a part used by an application and a part not to be replicated, and the application And a main storage device including a portion to be duplicated in a portion used by
The active device operates the replication process that operates on the host OS, and the virtual machine that operates on the host OS and includes the guest OS and the application,
The application notifies the memory space information object parts of replication in a portion where the application uses is stored,
The replication processing stores the memory space information in the storage device, and when receiving a switching instruction instructing to execute a service in the standby system device, based on the memory space information stored in the storage device An information processing method of reading a portion to be copied in a portion used by the application and transferring the portion to the standby apparatus.
前記稼動系装置が、
稼動系装置の再起動時に、稼動系装置での前回の終了処理の結果を確認し、前回正常終了していなかった場合には、前記主記憶装置の前記ホストOS以外が使用する部分を除外して初期化し、
前記メモリ空間情報に基づいて位置を特定した前記アプリケーションが使用する部分で複製の対象の部分を保護し、稼動系装置の起動後に新たに起動されたレプリケーション処理に対して、前記切り替え指示を送信する請求項5または6記載の情報処理方法。 The standby device monitors the services provided by the host OS, guest OS, and application of the active device and, when detecting that an abnormality has occurred, instructs the standby device to restart,
The active device is
When the active device is restarted, the result of the previous termination process in the active device is confirmed. If the previous normal termination has not been completed, the part other than the host OS of the main storage device is excluded. Initialize
The portion used for the application whose location is specified based on the memory space information is used to protect the portion to be copied, and the switching instruction is transmitted to the replication processing newly started after the active device is started. The information processing method according to claim 5 or 6.
ホストオペレーティングシステム(ホストOS)が使用する部分と、レプリケーション処理が使用する部分と、ゲストオペレーティングシステム(ゲストOS)が使用する部分と、アプリケーションが使用する部分で複製の対象ではない部分と、前記アプリケーションが使用する部分で複製の対象の部分とを含む主記憶装置とを備えた稼動系装置を、
前記ホストOS上で動作する前記レプリケーション処理と前記ホストOS上で動作し前記ゲストOSと前記アプリケーションを含む仮想マシンを動作させる機能と、
前記アプリケーションが、前記アプリケーションが使用する部分で複製の対象の部分が格納されるメモリ空間情報を通知する機能と、
前記レプリケーション処理が、前記メモリ空間情報を前記記憶装置に保存し、サービスを前記予備系装置において実施させることを指示する切り替え指示を受信した場合、前記記憶装置に記憶された前記メモリ空間情報に基づいて、前記アプリケーションが使用する部分で複製の対象の部分を読み出し、前記予備系装置に対して転送する機能として動作させるプログラム。 Connect to the storage device that stores the replication target and the standby system device,
And portions host operating system (host OS) is used, a part replication processing is used, a portion guest operating systems (guest OS) are used, and not the target portion of the replicated in part that the application uses, the An active system device having a main storage device including a portion to be copied by a portion used by an application,
A function of operating the virtual machine including the guest OS and the application operating on the host OS and the replication processing operating on the host OS;
The application is a function of notifying the memory space information object parts of replication in a portion where the application uses is stored,
When the replication process receives a switching instruction that instructs to save the memory space information in the storage device and to perform a service in the standby device, based on the memory space information stored in the storage device A program that reads out a portion to be copied in a portion used by the application and operates as a function of transferring the portion to the standby apparatus.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014002231A JP6364773B2 (en) | 2014-01-09 | 2014-01-09 | Information processing apparatus, information processing system, memory replication method, and computer program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014002231A JP6364773B2 (en) | 2014-01-09 | 2014-01-09 | Information processing apparatus, information processing system, memory replication method, and computer program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2015130134A JP2015130134A (en) | 2015-07-16 |
| JP6364773B2 true JP6364773B2 (en) | 2018-08-01 |
Family
ID=53760794
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2014002231A Active JP6364773B2 (en) | 2014-01-09 | 2014-01-09 | Information processing apparatus, information processing system, memory replication method, and computer program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6364773B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2017045084A (en) * | 2015-08-24 | 2017-03-02 | 日本電信電話株式会社 | Failure detection apparatus and failure detection method |
| JP2024076683A (en) * | 2022-11-25 | 2024-06-06 | 株式会社デンソー | Electronic control apparatus |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3298239B2 (en) * | 1993-06-29 | 2002-07-02 | 富士電機株式会社 | Equalization method for redundant control system |
| JP2000020335A (en) * | 1998-07-01 | 2000-01-21 | Nec Corp | Method for restoring redundant system |
| JP2002099444A (en) * | 2000-09-21 | 2002-04-05 | Toshiba Corp | Computer system |
| JP2003131900A (en) * | 2001-10-24 | 2003-05-09 | Hitachi Ltd | Server system operation management method |
| JP4770749B2 (en) * | 2007-01-31 | 2011-09-14 | 富士通株式会社 | Service management apparatus, service management method, and service management program |
| JP5817308B2 (en) * | 2011-08-04 | 2015-11-18 | 富士通株式会社 | Server, server system, and server redundancy switching method |
-
2014
- 2014-01-09 JP JP2014002231A patent/JP6364773B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2015130134A (en) | 2015-07-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11249860B2 (en) | Node down recovery method and apparatus, electronic device, and storage medium | |
| US11194679B2 (en) | Method and apparatus for redundancy in active-active cluster system | |
| JP4572250B2 (en) | Computer switching method, computer switching program, and computer system | |
| US9141494B2 (en) | Isolating a PCI host bridge in response to an error event | |
| EP1397744B1 (en) | Recovery computer for a plurality of networked computers | |
| US8458534B1 (en) | Method and system for providing high availability to computer applications | |
| US9916216B2 (en) | Selectively coupling a PCI host bridge to multiple PCI communication paths | |
| CN107315656B (en) | Multi-core embedded PLC software recovery method and PLC | |
| JP2011253408A (en) | Server system and bios restoration method thereof | |
| WO2015104841A1 (en) | Redundant system and method for managing redundant system | |
| CN108737153B (en) | Blockchain disaster recovery system, method, server and computer-readable storage medium | |
| JP2014191491A (en) | Information processor and information processing system | |
| JP4341571B2 (en) | Storage device system, control method therefor, and control program | |
| JP6364773B2 (en) | Information processing apparatus, information processing system, memory replication method, and computer program | |
| US20210247996A1 (en) | Service continuation system and service continuation method | |
| JP5683088B2 (en) | Recovery system, recovery method, and backup control system | |
| JPH09288590A (en) | Virtual computer system | |
| CN117785568B (en) | Dual-host dual-machine hot standby method and device | |
| JP6554801B2 (en) | Redundant communication device and control method thereof | |
| US20200089585A1 (en) | Distributed processing system and method for management of distributed processing system | |
| CN100413261C (en) | Method and system for data recovery | |
| JP7208497B2 (en) | Backup/restoration method and backup/restoration device | |
| TW202546643A (en) | System and method for maintaining task operation continuity | |
| JP4494263B2 (en) | Service system redundancy method | |
| JP2006229512A (en) | Server switching method, server, and server switching program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20161214 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20171219 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180216 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20180508 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180525 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180531 |
|
| 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: 20180605 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180618 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6364773 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |