[go: up one dir, main page]

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 PDF

Info

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
Application number
JP2014002231A
Other languages
Japanese (ja)
Other versions
JP2015130134A (en
Inventor
西郡 豊
豊 西郡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2014002231A priority Critical patent/JP6364773B2/en
Publication of JP2015130134A publication Critical patent/JP2015130134A/en
Application granted granted Critical
Publication of JP6364773B2 publication Critical patent/JP6364773B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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, Patent Document 1 discloses a computer device that takes over the state of an active guest OS immediately before a hardware failure is detected in an active (operating) server device to a standby guest OS operating in the standby server device. Is disclosed. In the device described in Patent Document 1, a synchronization unit, a failure detection unit, and a takeover control unit are provided in the active server device. While the active server device operates normally, the synchronization unit notifies the standby server device of the context indicating the latest state of the active guest OS as synchronization data for each IO process or at a constant cycle. That is, the synchronization unit continuously performs memory synchronization processing for matching the state of the standby guest OS with the state of the active guest OS until a failure is detected in the active server device.

障害検知部が、稼働系ゲスト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を復旧することが実現されている。   Patent Document 2 discloses a method in which a host OS that manages a plurality of virtual machines (guest OSs) recovers a guest OS that has stopped abnormally. In the method described in Patent Document 2, a snapshot management control unit and an abnormality detection unit that operate in the host OS are provided. While each guest OS is operating normally, the snapshot management control unit copies the contents of the CPU and memory assigned to the specified guest OS at a specified time or a predetermined time interval, and copies the copied information. Memory synchronization is performed in which the snapshot is stored in the storage device. When the abnormality detection unit detects an abnormality in any of the guest OSes, the snapshot management unit uses a snapshot corresponding to the guest OS in which the abnormality is detected from the information held in the storage device. To restore the guest OS. In other words, the snapshot management unit recovers by newly starting a spare guest OS that takes over the processing of the guest OS in which an abnormality has occurred. In this way, it is possible to restore the guest OS immediately before the time when the guest OS is abnormally stopped without having to make the host OS and the virtual machine redundant.

WO2012/070102号公報WO2012 / 070102 特開2011−060055号公報JP 2011-060055 A

しかしながら、特許文献1および特許文献2に開示された技術においては、稼働系ゲストOSの処理を予備系のゲストOSに引き継ぐ必要が生じるまでの待機の間、常時(継続的に)メモリ同期を実行する必要があるという問題がある。すなわち、上述した関連技術は、予備系装置において、メモリ同期によってコピーした稼働系装置のメモリ情報を保持する記憶装置のメモリ容量、および、メモリ同期に要する通信帯域などの予備の設備量が常に必要である。   However, in the technologies disclosed in Patent Literature 1 and Patent Literature 2, memory synchronization is always performed (standby) during standby until it becomes necessary to take over the processing of the active guest OS to the standby guest OS. There is a problem that needs to be done. That is, the related technology described above always requires spare capacity such as the memory capacity of the storage device that holds the memory information of the active device copied by memory synchronization and the communication bandwidth required for memory synchronization in the standby device. It is.

本発明の一つの目的は、稼働系装置から予備系装置への処理の引き継ぎ(切り替え)が発生するまでの待機中において、メモリ同期に要する予備のリソース量が少ないメモリレプリケーションが可能な情報処理装置などを提供することにある。   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.

本発明の第1の実施形態に係る情報処理システムの構成を示すブロック図である。It is a block diagram which shows the structure of the information processing system which concerns on the 1st Embodiment of this invention. 第1の実施形態において、稼働系装置1が行う事前準備の動作を示すフローチャートである。5 is a flowchart illustrating a preparatory operation performed by an active system device 1 in the first embodiment. 第1の実施形態において、稼働系装置1、および予備系装置21が行うメモリレプリケーションの動作を示すフローチャートである。4 is a flowchart illustrating a memory replication operation performed by an active system device 1 and a standby system device 21 in the first embodiment. 第1の実施形態における主記憶装置6のメモリ空間の使用状況の一例を示す模式図である。It is a schematic diagram which shows an example of the usage condition of the memory space of the main memory device 6 in 1st Embodiment. 本発明の第2の実施形態に係る情報処理システムの構成を示すブロック図である。It is a block diagram which shows the structure of the information processing system which concerns on the 2nd Embodiment of this invention. 本発明の第3の実施形態に係る情報処理システムの構成を示すブロック図である。It is a block diagram which shows the structure of the information processing system which concerns on the 3rd Embodiment of this invention. 第3の実施形態において、ブート処理部201が行う動作を示すフローチャートである。10 is a flowchart illustrating an operation performed by a boot processing unit 201 in the third embodiment. 本発明の第4の実施形態に係る情報処理システムの構成を示すブロック図である。It is a block diagram which shows the structure of the information processing system which concerns on the 4th Embodiment of this invention. 本発明の各実施形態に係る情報処理システムに適用可能なコンピュータ(情報処理装置)の構成を例示する図である。It is a figure which illustrates the structure of the computer (information processing apparatus) applicable to the information processing system which concerns on each embodiment of this invention.

次に、本発明の実施形態について図面を参照して詳細に説明する。   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 switching instruction 30 is received, a service (processing) provided by the first information processing apparatus 1 (hereinafter referred to as “active system apparatus 1”) is transferred to the second information processing apparatus 21 (hereinafter referred to as “active system apparatus 1”). , An information processing system that enables the “standby system 21” to take over.

切替指示30は、稼働系装置1が提供するサービスを、他の予備系装置において実施させる(切り替える)ことを指示する情報である。切替指示30は、さらに、切り替え先である予備系装置21を示すレプリケーション(複製)先情報を含んでもよい。   The switching instruction 30 is information for instructing to perform (switch) the service provided by the active system apparatus 1 in another standby system apparatus. The switching instruction 30 may further include replication (duplication) destination information indicating the standby system 21 that is the switching destination.

稼働系装置1、および、予備系装置21は、それぞれインターネットや構内LAN(ローカルエリアネットワーク)等の通信ネットワーク(以下、単にネットワークと称する。)1000を介して通信可能である。稼働系装置1、および予備系装置21は、CPU(Central Processing Unit:図示せず)を用いて実行されるコンピュータ・プログラム(ソフトウェア・プログラム)の制御により動作する一般的な情報処理装置(コンピュータ)によって構成されても良い。または、稼働系装置1、および予備系装置21の各部が、専用のハードウェアデバイス、または論理回路によって構成されても良い。なお、この稼働系装置1、および予備系装置21をコンピュータによって実現したハードウェア構成例については、図9を参照して後述する。   The active system device 1 and the standby system device 21 can communicate with each other via a communication network (hereinafter simply referred to as a network) 1000 such as the Internet or a local area network (LAN). The active system device 1 and the standby system device 21 are general information processing devices (computers) that operate under the control of a computer program (software program) executed using a CPU (Central Processing Unit: not shown). It may be constituted by. Alternatively, each unit of the active system device 1 and the standby system device 21 may be configured by a dedicated hardware device or a logic circuit. A hardware configuration example in which the active system device 1 and the standby system device 21 are realized by a computer will be described later with reference to FIG.

記憶装置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 active system device 1. In the present embodiment, the storage device 11 is connected to the active system device 1. The storage device 11 may be built in the active system device 1. The storage device 11 may be a non-volatile storage device such as an HDD (Hard Disk Drive). Further, the storage device 11 is not necessarily a separate storage device from the main storage device 6. For example, the storage device 11 may be a specific storage area other than an area used by a virtual machine 3 to be described later and a functional unit included in the virtual machine 3.

稼働系装置1は、ホストOS2、仮想マシン3、主記憶装置6、およびレプリケーション処理部8を有する。仮想マシン3は、ゲストOS4、およびゲストOS4の制御によって動作するアプリケーション5を含む。なお、以下の説明において、例えば、ホストOS2の制御により動作することを「ホストOS2上で動作する」のように称する。すなわち、アプリケーション5は、「ゲストOS4上で動作する」と言う。   The active system device 1 includes a host OS 2, a virtual machine 3, a main storage device 6, and a replication processing unit 8. The virtual machine 3 includes a guest OS 4 and an application 5 that operates under the control of the guest OS 4. In the following description, for example, operating under the control of the host OS 2 is referred to as “operating on the host OS 2”. That is, the application 5 says “runs on the guest OS 4”.

ホストOS2は、稼働系装置1において、仮想計算機(VM、Virtual Machine)である仮想マシン3を実現する。すなわち、ホストOS2は、ゲストOS4と、メモリおよび通信リソース等の仮想マシンリソースとを提供し、その仮想マシンリソースに関するメモリ管理および通信制御などを行う。また、ホストOS2は、レプリケーション処理部8などのホストOS2上で動作するプロセスに対して、メモリ管理および通信制御などの一般的なOS機能を提供する。   The host OS 2 implements a virtual machine 3 which is a virtual machine (VM, Virtual Machine) in the active system device 1. That is, the host OS 2 provides the guest OS 4 and virtual machine resources such as memory and communication resources, and performs memory management and communication control related to the virtual machine resources. In addition, the host OS 2 provides general OS functions such as memory management and communication control to processes operating on the host OS 2 such as the replication processing unit 8.

ゲストOS4は、ホストOS2によって提供される仮想マシン3において動作するOSである。ゲストOS4は、仮想マシン3において、アプリケーション5を動作させることができる。   The guest OS 4 is an OS that operates in the virtual machine 3 provided by the host OS 2. The guest OS 4 can operate the application 5 in the virtual machine 3.

主記憶装置6は、アプリケーション5の動作に応じて生成される複製対象データ9を格納することができる。複製対象データ9は、アプリケーション5が実行する処理(サービス)を引き継ぐアプリケーション25が、当該サービスを復旧するために必要な情報である。主記憶装置6は、例えば、半導体メモリ装置やディスク装置により実現される。   The main storage device 6 can store replication target data 9 generated according to the operation of the application 5. The replication target data 9 is information necessary for the application 25 taking over the process (service) executed by the application 5 to restore the service. The main storage device 6 is realized by, for example, a semiconductor memory device or a disk device.

アプリケーション5は、ゲストOS4上で動作する。アプリケーション5は、稼働系装置1においてサービスを提供する主体である。上述した予備系装置21が引き継ぐサービスとは、このアプリケーション5が提供するサービスである。また、アプリケーション5は、複製対象通知部7を含む。   The application 5 operates on the guest OS 4. The application 5 is a main body that provides a service in the active device 1. The service taken over by the standby apparatus 21 described above is a service provided by the application 5. The application 5 includes a duplication target notification unit 7.

複製対象通知部7は、複製対象データ9が格納されるメモリ空間を示すメモリ情報を、後述するレプリケーション処理部8に対して通知する。   The replication target notification unit 7 notifies the replication processing unit 8 described later of memory information indicating a memory space in which the replication target data 9 is stored.

レプリケーション処理部8は、ホストOS2上で動作する。レプリケーション処理部8は、複製対象通知部7からメモリ情報を示す通知を受信した際、通知されたメモリ情報を複製対象メモリ情報12として、記憶装置11に保存する。その後、レプリケーション処理部8は、稼働系装置1において動作する何れかのプロセスまたは外部装置等から、切替指示30を受信した際、保存しておいた複製対象メモリ情報12に基づいて、複製対象データ9を読み出す。そして、レプリケーション処理部8は、予備系装置21に対して、読み出した複製対象データ9を転送する。以下では、切替指示30を受信した後の、レプリケーション処理部8における一連の動作を、転送処理とも言う。   The replication processing unit 8 operates on the host OS 2. When the replication processing unit 8 receives the notification indicating the memory information from the replication target notification unit 7, the replication processing unit 8 stores the notified memory information as the replication target memory information 12 in the storage device 11. Thereafter, when the replication processing unit 8 receives the switching instruction 30 from any process or external device operating in the active system device 1, the replication processing data is based on the stored replication target memory information 12. 9 is read out. Then, the replication processing unit 8 transfers the read replication target data 9 to the standby system device 21. Hereinafter, a series of operations in the replication processing unit 8 after receiving the switching instruction 30 is also referred to as transfer processing.

予備系装置21は、ホストOS22、仮想マシン23、主記憶装置26、および復旧処理部27を有する。仮想マシン23は、ゲストOS24、およびゲストOS24上で動作するアプリケーション25を含む。ホストOS22、仮想マシン23、ゲストOS24、およびアプリケーション25の仮想化システムとしての関係性と機能とは、稼働系装置1におけるホストOS2、仮想マシン3、ゲストOS4、およびアプリケーション5と同様である。   The standby system device 21 includes a host OS 22, a virtual machine 23, a main storage device 26, and a recovery processing unit 27. The virtual machine 23 includes a guest OS 24 and an application 25 that operates on the guest OS 24. The relationships and functions of the host OS 22, virtual machine 23, guest OS 24, and application 25 as a virtualization system are the same as those of the host OS 2, virtual machine 3, guest OS 4, and application 5 in the active system device 1.

だだし、少なくともアプリケーション25は、後述する復旧処理部27によって、サービスの復旧が指示された後に動作を開始する点が異なる。   However, at least the application 25 is different in that the operation is started after the restoration processing unit 27 described later instructs the restoration of the service.

復旧処理部27は、稼働系装置1におけるレプリケーション処理部8から転送された複製対象データ9を受信し、受信した複製対象データ9を主記憶装置26における対応するメモリ空間に格納(上書き)する。その後、復旧処理部27は、予備系装置21において動作するアプリケーション25に対して、アプリケーション5が実行していたサービスの復旧を指示する復旧指示を送信する。   The recovery processing unit 27 receives the replication target data 9 transferred from the replication processing unit 8 in the active device 1 and stores (overwrites) the received replication target data 9 in the corresponding memory space in the main storage device 26. Thereafter, the recovery processing unit 27 transmits a recovery instruction for instructing recovery of the service being executed by the application 5 to the application 25 operating in the standby apparatus 21.

アプリケーション25は、アプリケーション5と同様のサービスを提供可能である。アプリケーション25は、稼働系装置1においてアプリケーション5がサービスの提供を停止した後に、復旧処理部27によって格納された複製対象データ9に基づいて、アプリケーション5のサービスを引き継ぐ。   The application 25 can provide the same service as the application 5. The application 25 takes over the service of the application 5 based on the replication target data 9 stored by the recovery processing unit 27 after the application 5 stops providing the service in the active system device 1.

次に、上述した構成を備える本実施形態の動作について詳細に説明する。本実施形態に係る情報処理システムの動作は、事前準備の動作とメモリレプリケーションの動作(レプリケーション動作)との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 active system device 1 in the first embodiment.

事前準備の動作を開始する時点において、稼働系装置1の状態は、図1に示す通りである。すなわち、ホストOS2、ゲストOS4、アプリケーション5、およびレプリケーション処理部8が動作している。また、主記憶装置6には、複製対象データ9がすでに存在している。ただし、記憶装置11における複製対象メモリ情報12は、まだ存在しない。複製対象メモリ情報12は、事前準備の動作によって生成される。   At the time of starting the preparatory operation, the state of the active system device 1 is as shown in FIG. That is, the host OS 2, guest OS 4, application 5, and replication processing unit 8 are operating. In addition, the copy target data 9 already exists in the main storage device 6. However, the copy target memory information 12 in the storage device 11 does not yet exist. The replication target memory information 12 is generated by a preparatory operation.

また、事前準備の動作に際して、予備系装置21は、特に動作する必要はない。   Further, the standby apparatus 21 does not need to operate in particular during the preparation operation.

事前準備の動作においては、まず、稼働系装置1において、複製対象通知部7が、複製対象データ9が格納されているメモリ空間を示すメモリ情報を、レプリケーション処理部8に対して通知する(ステップA100)。ここで、複製対象データ9とは、予備系装置21においてアプリケーション25がアプリケーション5のサービスを、後で復旧する際に必要な情報である。複製対象データ9は、後述するメモリレプリケーションの動作において複製の対象となるデータである。   In the preparation operation, first, in the active device 1, the replication target notification unit 7 notifies the replication processing unit 8 of memory information indicating the memory space in which the replication target data 9 is stored (step) A100). Here, the replication target data 9 is information necessary when the application 25 in the standby system 21 restores the service of the application 5 later. The replication target data 9 is data to be replicated in the memory replication operation described later.

複製対象データ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 replication target data 9 is stored in the main storage device 6 as shown in FIG. FIG. 4 is a schematic diagram illustrating an example of a usage state of the memory space of the main storage device 6 according to the first embodiment. Referring to FIG. 4, the main storage device 6 includes a memory space 502 used by the host OS, a memory space 503 used by replication-related functional units such as the replication processing unit 8, a memory space 504 used by the guest OS, and There are memory spaces 505 and 506 used by applications. The memory space used by the application is divided into a replication target memory space 506 that stores the replication target data 9 and a memory space 505 that does not include the replication target data 9. In step A100, the replication target notification unit 7 notifies the memory information indicating the replication target memory space 506 used by the application. The replication target notification unit 7 may acquire the range of the replication target memory space 506 from, for example, a setting file (not shown).

次に、レプリケーション処理部8が、複製対象データ9が格納されているメモリ空間を示すメモリ情報の通知を受信する(ステップB110)。そして、レプリケーション処理部8は、受信した通知に含まれる複製対象データ9が格納されているメモリ空間を示すメモリ情報を、複製対象メモリ情報12として、記憶装置11に格納する(ステップB111)。複製対象メモリ情報12は、例えば、複製対象のメモリ空間506を示すアドレス情報を含む。また、複製対象メモリ情報12は、アプリケーション5または、アプリケーション5が提供するサービスを識別する識別情報などを含んでもよい。   Next, the replication processing unit 8 receives a notification of memory information indicating the memory space in which the replication target data 9 is stored (step B110). Then, the replication processing unit 8 stores the memory information indicating the memory space in which the replication target data 9 included in the received notification is stored in the storage device 11 as the replication target memory information 12 (step B111). The replication target memory information 12 includes, for example, address information indicating the replication target memory space 506. The copy target memory information 12 may include identification information for identifying the application 5 or a service provided by the application 5.

最後に、レプリケーション処理部8は、切替指示の受信に備えて、待機する(ステップB112)。   Finally, the replication processing unit 8 stands by in preparation for receiving the switching instruction (step B112).

以上が、事前準備における動作である。事前準備における動作は、任意のタイミングにおいて、複数回にわたって実施してもよい。例えば、複製対象通知部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 target notification unit 7 may perform the preliminary operation again at the timing when the replication target data 9 is increased or decreased after performing the preliminary operation when the service is started.

次に、図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 active system device 1 and the standby system device 21 in the first embodiment.

メモリレプリケーションの動作を開始する時点において、稼働系装置1は、事前準備が終了した状態である。すなわち、レプリケーション処理部8は、待機状態である。   At the time of starting the memory replication operation, the active device 1 is in a state where the preliminary preparation has been completed. That is, the replication processing unit 8 is in a standby state.

また、予備系装置21は、少なくとも、メモリレプリケーションの動作が開始される前に、図1に示す状態であればよい。すなわち、予備系装置21は、メモリレプリケーションの動作開始より前に、少なくともホストOS22、および復旧処理部27が動作していればよい。なお、予備系装置21におけるゲストOS24とアプリケーション25とが、メモリレプリケーションの動作開始より前に、動作していてもよい。   Further, the standby apparatus 21 may be in the state shown in FIG. 1 at least before the memory replication operation is started. That is, at least the host OS 22 and the recovery processing unit 27 may be operating in the standby system 21 before the start of the memory replication operation. Note that the guest OS 24 and the application 25 in the standby apparatus 21 may be operating before the start of the memory replication operation.

まず、切替指示30が、稼働系装置1において動作する何れかのプロセス、または、図示しない外部装置等から、稼働系装置1に対して、送信される。稼働系装置1においては、レプリケーション処理部8が、切替指示30を受信する(ステップB200)。切替指示30は、例えば、アプリケーション5が提供するサービスに障害が発生した際、または、稼働系装置1の保守作業の前など、サービスの提供者を予備系装置21に切り替えたい場合に送信されうる。   First, the switching instruction 30 is transmitted to the active system device 1 from any process operating in the active system device 1 or an external device (not shown). In the active device 1, the replication processing unit 8 receives the switching instruction 30 (step B200). The switching instruction 30 can be transmitted when a service provider is to be switched to the standby system device 21 when, for example, a failure occurs in the service provided by the application 5 or before maintenance work of the active system device 1 is performed. .

レプリケーション処理部8は、切替指示30を受信すると、事前準備の際に格納しておいた複製対象メモリ情報12を、記憶装置11から取得する(ステップB201)。   When the replication processing unit 8 receives the switching instruction 30, the replication processing unit 8 acquires the replication target memory information 12 stored at the time of preparation from the storage device 11 (step B201).

次に、レプリケーション処理部8は、取得した複製対象メモリ情報12に基づいて、複製対象データ9を、主記憶装置6から読み出す(ステップB202)。   Next, the replication processing unit 8 reads the replication target data 9 from the main storage device 6 based on the acquired replication target memory information 12 (step B202).

次に、レプリケーション処理部8は、読み出した複製対象データ9を予備系装置21に対して転送する(ステップB203)。レプリケーション処理部8は、例えば、図示しない外部装置にシステム構成を管理するサーバに対して、切り替え先を問い合わせることにより、予備系装置21を選択してもよい。または、レプリケーション処理部8は、例えば、切替指示30に含まれるレプリケーション先情報に基づいて、予備系装置21を選択してもよい。   Next, the replication processing unit 8 transfers the read replication target data 9 to the standby system device 21 (step B203). For example, the replication processing unit 8 may select the standby device 21 by inquiring a server that manages the system configuration to an external device (not shown) about the switching destination. Alternatively, the replication processing unit 8 may select the standby system device 21 based on the replication destination information included in the switching instruction 30, for example.

なお、レプリケーション処理部8は、ステップB200以降のいずれかのタイミングにおいて、アプリケーション5またはゲストOS4の動作を停止させる処理を実行(指示)してもよい。   Note that the replication processing unit 8 may execute (instruct) the process of stopping the operation of the application 5 or the guest OS 4 at any timing after Step B200.

次に、予備系装置21においては、復旧処理部27が、レプリケーション処理部8から転送された複製対象データ9を受信する(ステップC210)。   Next, in the standby system 21, the recovery processing unit 27 receives the replication target data 9 transferred from the replication processing unit 8 (step C210).

次に、復旧処理部27は、受信した複製対象データ9を、主記憶装置26における、「アプリケーションが使用する複製対象のメモリ空間506(図4)」に対応するメモリ空間にコピー(上書き)する(ステップC211)。   Next, the recovery processing unit 27 copies (overwrites) the received replication target data 9 to a memory space in the main storage device 26 corresponding to “the replication target memory space 506 (FIG. 4)”. (Step C211).

なお、ステップ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 main storage device 26, like the memory space of the main storage device 6 in the active device 1, corresponds to the memory space 506 to be copied used by the application in FIG. It shall have. That is, it is assumed that the guest OS 24 and the application 25 are operating in the standby apparatus 21 before executing Step C211. When the guest OS 24 and the application 25 are not operating, the recovery processing unit 27 may start (instruct) the guest OS 24 and the application 25 before executing Step C211. Note that the main storage device 26 may have a memory space used for purposes other than those shown in FIG. Further, the main storage device 26 has a memory space corresponding to each of the memory spaces 502 to 506 shown in FIG. 4, and includes attributes such as the absolute address of each memory space and the size of each memory space. Is not necessarily consistent with FIG.

最後に、復旧処理部27は、ゲストOS24またはアプリケーション25に対して、サービスの復旧を指示する(ステップC212)。この指示により、アプリケーション25は、主記憶装置26にコピーされた複製対象データ9に基づき、アプリケーション5に代わってサービスを再開する(引き継ぐ)。   Finally, the recovery processing unit 27 instructs the guest OS 24 or the application 25 to recover the service (step C212). In response to this instruction, the application 25 resumes (takes over) the service on behalf of the application 5 based on the replication target data 9 copied to the main storage device 26.

このようにして、本実施形態によれば、切替指示30を受信した後に、稼働系装置1から予備系装置21へのメモリ同期(データの転送)を行うことにより、予備系装置21へのサービスの引き継ぎを行うことができる。   As described above, according to the present embodiment, after receiving the switching instruction 30, by performing memory synchronization (data transfer) from the active system device 1 to the standby system device 21, service to the standby system device 21 is performed. Can be taken over.

以上説明したように、本実施形態には、稼働系装置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 active system device 1 to the standby system device 21 occurs. There is.

その理由は、稼働系装置1において、レプリケーション処理部8が、切替指示30を受信した場合、複製対象データ9を予備系装置21へ転送することによりメモリ同期を行うからである。そして、予備系装置21において、復旧処理部27が、主記憶装置26を介して、転送された複製対象データ9をアプリケーション25に与えることにより、サービスが引き継がれるからである。すなわち、本実施形態は、切替指示30によって切替が発生することを待つ待機中において、稼働系装置1から予備系装置21へのメモリ同期を行わない。したがって、本実施形態は、メモリ同期に要する予備系装置21における記憶装置や通信帯域などのリソース量が少なく済むという効果がある。   The reason is that in the active device 1, when the replication processing unit 8 receives the switching instruction 30, memory synchronization is performed by transferring the replication target data 9 to the standby device 21. Then, in the standby system 21, the restoration processing unit 27 gives the transferred replication target data 9 to the application 25 via the main storage device 26, so that the service is taken over. That is, according to the present embodiment, the memory synchronization from the active system device 1 to the standby system device 21 is not performed while waiting for the switching to be generated by the switching instruction 30. Therefore, this embodiment has an effect that the amount of resources such as a storage device and a communication band in the standby system 21 required for memory synchronization can be reduced.

なお、本実施形態において、レプリケーション処理部8は、複製対象メモリ情報12を記憶装置11に格納したが、上述した通り、複製対象メモリ情報12を主記憶装置6の特定のメモリ空間に格納してもよい。   In this embodiment, the replication processing unit 8 stores the replication target memory information 12 in the storage device 11, but stores the replication target memory information 12 in a specific memory space of the main storage device 6 as described above. Also good.

<第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 state management unit 101 that detects an abnormality of each unit of the virtual machine 3 that provides the service. . That is, in this embodiment, the state management unit 101 transmits a switching instruction 30 to the replication processing unit 8 when detecting an abnormality.

まず、図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 “active system device 100”), a storage device 11, and a standby system device 21. The present embodiment is an information processing system that enables the standby system device 21 to take over the service provided by the active system device 100 when an abnormality that affects the service provided by the active system device 100 occurs. is there.

記憶装置11、および予備系装置21は、第1の実施形態と同様であるので、重複する詳細な説明は、省略する。稼働系装置100は、第1の実施形態における稼働系装置1に対応する。以下は、稼働系装置100が、第1の実施形態における稼働系装置1と異なる点を説明する。   Since the storage device 11 and the standby system device 21 are the same as those in the first embodiment, a detailed description thereof will be omitted. The active system device 100 corresponds to the active system device 1 in the first embodiment. Hereinafter, the difference between the active system device 100 and the active system device 1 in the first embodiment will be described.

稼働系装置100、および、予備系装置21は、第1の実施形態と同様に、それぞれインターネットや構内LAN等のネットワーク1000を介して通信可能である。稼働系装置100は、CPU(図示せず)を用いて実行されるコンピュータ・プログラム(ソフトウェア・プログラム)の制御により動作する一般的な情報処理装置(コンピュータ)によって構成されても良い。または、稼働系装置100の各部が、専用のハードウェアデバイス、または論理回路によって構成されても良い。なお、この稼働系装置100をコンピュータによって実現したハードウェア構成例については、図9を参照して後述する。   Similarly to the first embodiment, the active system device 100 and the standby system device 21 can communicate with each other via a network 1000 such as the Internet or a local area LAN. The active system apparatus 100 may be configured by a general information processing apparatus (computer) that operates under the control of a computer program (software program) that is executed using a CPU (not shown). Alternatively, each unit of the active system device 100 may be configured by a dedicated hardware device or a logic circuit. A hardware configuration example in which the active device 100 is realized by a computer will be described later with reference to FIG.

稼働系装置100は、ホストOS2、仮想マシン3、主記憶装置6、レプリケーション処理部8、および状態管理部101を有する。ホストOS2、仮想マシン3、主記憶装置6、およびレプリケーション処理部8の構成および機能は、第1の実施形態と同様であるので、重複する説明は省略する。   The active system 100 includes a host OS 2, a virtual machine 3, a main storage device 6, a replication processing unit 8, and a state management unit 101. Since the configurations and functions of the host OS 2, the virtual machine 3, the main storage device 6, and the replication processing unit 8 are the same as those in the first embodiment, duplicate descriptions are omitted.

状態管理部101は、ホストOS2上で動作する。状態管理部101は、ゲストOS4、および、アプリケーション5が提供するサービスなどの動作を監視対象として監視することにより、動作の異常を検出する。すなわち、状態管理部101は、アプリケーション5が提供するサービスの継続に影響を与える可能性がある機能部などを監視対象とする。監視対象には、稼働系装置100および記憶装置11などに含まれるハードウェア、並びに、ホストOS2などを含めてもよい。   The state management unit 101 operates on the host OS 2. The state management unit 101 detects an abnormal operation by monitoring operations such as services provided by the guest OS 4 and the application 5 as monitoring targets. That is, the state management unit 101 monitors function units that may affect the continuity of the service provided by the application 5. The monitoring target may include hardware included in the active system device 100 and the storage device 11, and the host OS 2.

状態管理部101が監視を行う技法については、ウォッチドッグ(watch dog)機構等により監視する方法など、よく知られた一般的な技術を採用することが可能である。または、例えば、ゲストOS4などの監視対象が、自己の動作状況を、状態管理部101に対して常時(定期的に)通知してもよい。状態管理部101は、監視対象に異常が発生したことを検知したとき、第1の実施形態における切替指示30をレプリケーション処理部8に対して送信する。   As a technique for monitoring by the state management unit 101, a well-known general technique such as a method of monitoring by a watch dog mechanism or the like can be employed. Alternatively, for example, the monitoring target such as the guest OS 4 may constantly (periodically) notify the state management unit 101 of its own operation status. When the state management unit 101 detects that an abnormality has occurred in the monitoring target, the state management unit 101 transmits the switching instruction 30 in the first embodiment to the replication processing unit 8.

次に、上述した構成を備える本実施形態の動作について詳細に説明する。本実施形態に係る情報処理システムの動作は、第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 state management unit 101 does not need to operate in particular.

事前準備が終了した後、状態管理部101は、監視を実行する。状態管理部101は、レプリケーション処理部8と同様に、あらかじめ起動していてもよい。または、状態管理部101は、レプリケーション処理部8が待機状態になる際に、起動されてもよい。   After the preparation is completed, the state management unit 101 performs monitoring. Similarly to the replication processing unit 8, the state management unit 101 may be activated in advance. Alternatively, the state management unit 101 may be activated when the replication processing unit 8 enters a standby state.

状態管理部101は、監視を実行中に、ゲストOS4、または、アプリケーション5が提供するサービスなどの監視対象に異常が発生したことを検知すると、レプリケーション処理部8に対して、切替指示30を送信する。   When the state management unit 101 detects that an abnormality has occurred in a monitoring target such as a service provided by the guest OS 4 or the application 5 during execution of monitoring, the state management unit 101 transmits a switching instruction 30 to the replication processing unit 8. To do.

これ以降の動作は、第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 replication processing unit 8 receives the switching instruction transmitted from the state management unit 101 (step B200 in FIG. 3). Finally, in the standby system apparatus 21, the application 25 resumes the service (step C212 in FIG. 3).

以上、説明したように、本実施形態には、上述した第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 active device 100 to the standby device 21, and the state management unit 101. This also has the effect of being able to execute autonomously triggered by detecting an abnormal operation.

その理由は、状態管理部101がアプリケーション5が提供するサービスの継続に影響を与える可能性がある監視対象における異常の発生に際して、自律的に切替指示30を送信するからである。そして、レプリケーション処理部8が、切替指示30の受信を契機に、レプリケーション動作を連動させるからである。   This is because the state management unit 101 autonomously transmits the switching instruction 30 when an abnormality occurs in the monitoring target that may affect the continuity of the service provided by the application 5. This is because the replication processing unit 8 links the replication operation when the switching instruction 30 is received.

なお、状況管理部101は、予備系装置21、または、図示しない外部の装置にあってもよい。   The status management unit 101 may be in the standby system device 21 or an external device (not shown).

<第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 “active system apparatus 200”) cannot be continued due to an abnormality in the host OS 4 itself. The point which has the boot process part 201 differs from embodiment mentioned above. Further, in the present embodiment, the state management unit 221 is disposed in the second information processing apparatus (standby system apparatus) 220 and is operated from the second information processing apparatus 220 (hereinafter referred to as “standby system apparatus 220”). Another difference is that each unit including the host OS 4 of the system device 200 is monitored. Furthermore, the storage device that stores the replication target memory information 12 is also a nonvolatile storage device 210.

まず、図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 active device 200, a nonvolatile storage device 210, and a standby device 220. The present embodiment is an information processing system that enables the standby system device 220 to take over the service provided by the active system device 200 when an abnormality that affects the service provided by the active system device 200 occurs. is there.

稼働系装置200、および予備系装置220は、上述した実施形態と同様に、それぞれインターネットや構内LAN等のネットワーク1000を介して通信可能である。稼働系装置200、および予備系装置220は、CPU(図示せず)を用いて実行されるコンピュータ・プログラム(ソフトウェア・プログラム)の制御により動作する一般的な情報処理装置(コンピュータ)によって構成されても良い。または、稼働系装置200、および予備系装置220の各部が、専用のハードウェアデバイス、または論理回路によって構成されても良い。なお、この稼働系装置200、および予備系装置220をコンピュータによって実現したハードウェア構成例については、図9を参照して後述する。   The active system device 200 and the standby system device 220 can communicate with each other via a network 1000 such as the Internet or a local area LAN, as in the above-described embodiment. The active system apparatus 200 and the standby system apparatus 220 are configured by a general information processing apparatus (computer) that operates under the control of a computer program (software program) that is executed using a CPU (not shown). Also good. Alternatively, each unit of the active system device 200 and the standby system device 220 may be configured by a dedicated hardware device or a logic circuit. A hardware configuration example in which the active system device 200 and the standby system device 220 are realized by a computer will be described later with reference to FIG.

不揮発性記憶装置210は、第1および第2の実施形態における記憶装置11に対応する。本実施形態において、不揮発性記憶装置210は、HDD(ハードディスクドライブ)などの不揮発性の記憶装置により実現される点が、記憶装置11と異なる。これ以外の不揮発性記憶装置210の構成および機能は、第1および第2の実施形態と同様であるので、重複する説明は省略する。   The nonvolatile storage device 210 corresponds to the storage device 11 in the first and second embodiments. In the present embodiment, the nonvolatile storage device 210 is different from the storage device 11 in that the nonvolatile storage device 210 is realized by a nonvolatile storage device such as an HDD (hard disk drive). The other configurations and functions of the nonvolatile memory device 210 are the same as those in the first and second embodiments, and thus the duplicate description is omitted.

稼働系装置200は、第1の実施形態における稼働系装置1を基本とする。稼働系装置200は、ホストOS2、仮想マシン3、主記憶装置6、レプリケーション処理部8を有する。   The active system apparatus 200 is based on the active system apparatus 1 in the first embodiment. The active device 200 includes a host OS 2, a virtual machine 3, a main storage device 6, and a replication processing unit 8.

レプリケーション処理部8の機能および構成は、複製対象メモリ情報12を保存する先が、不揮発性記憶装置210であること以外は、第1および第2の実施形態と同様である。レプリケーション処理部8における重複する説明は、省略する。   The function and configuration of the replication processing unit 8 are the same as those in the first and second embodiments except that the storage destination of the replication target memory information 12 is the nonvolatile storage device 210. A duplicate description in the replication processing unit 8 is omitted.

ホストOS2は、ブート処理部201を有する。これ以外のホストOS2の構成および機能は、第1の実施形態と同様であるので、重複する説明は省略する。   The host OS 2 has a boot processing unit 201. Other configurations and functions of the host OS 2 are the same as those in the first embodiment, and a duplicate description is omitted.

ブート処理部201は、稼働系装置200の起動時に、前回の終了処理(シャットダウン時の処理)の結果を確認し、その結果に応じて、主記憶装置6の初期化処理を含む起動処理を行うことができる。   The boot processing unit 201 confirms the result of the previous termination process (the process at the time of shutdown) when the active system device 200 is activated, and performs the startup process including the initialization process of the main storage device 6 according to the result. be able to.

前回正常終了していなかった(異常だった)場合、ブート処理部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 boot processing unit 201 performs a startup process in “replication mode”. In the replication mode, first, the boot processing unit 201 specifies the position of the replication target data 9 remaining in the main storage device 6 based on the replication target memory information 12 stored in the nonvolatile storage device 210. Then, the boot processing unit 201 protects the replication target data 9. Further, the boot processing unit 201 transmits a switching instruction 30 to the replication processing unit 8 that is newly started after the active system device 200 is restarted. In the case of normal termination last time, the boot processing unit 201 performs a startup process that is generally performed by an information processing apparatus in the virtualization system. That is, the boot processing unit 201 performs the startup process without protecting the replication target data 9 remaining in the main storage device 6.

仮想マシン3、および主記憶装置6の構成および機能は、第1の実施形態と同様であるので、重複する説明は省略する。   Since the configurations and functions of the virtual machine 3 and the main storage device 6 are the same as those in the first embodiment, duplicate descriptions are omitted.

予備系装置220は、ホストOS22、仮想マシン23、主記憶装置26、復旧処理部27、および状態管理部221を有する。ホストOS22、仮想マシン23、主記憶装置26、および復旧処理部27の構成および機能は、第1および第2の実施形態と同様であるので、重複する説明は省略する。   The standby system device 220 includes a host OS 22, a virtual machine 23, a main storage device 26, a recovery processing unit 27, and a state management unit 221. Since the configurations and functions of the host OS 22, the virtual machine 23, the main storage device 26, and the recovery processing unit 27 are the same as those in the first and second embodiments, redundant descriptions are omitted.

状態管理部221は、第2の実施形態における状態管理部101を基本とする。すなわち、状態管理部221は、第2の実施形態において稼働系装置100に配置された状態管理部101を、予備系装置220に配置したものと言える。状態管理部221は、予備系装置220から、ネットワーク1000を介して、稼働系装置200のホストOS2、ゲストOS4、およびアプリケーション25が提供するサービスの動作などを監視対象として、監視する。状態管理部221が監視を行う技法については、第2の実施形態と同様に、よく知られた一般的な技術を採用することが可能である。   The state management unit 221 is based on the state management unit 101 in the second embodiment. In other words, it can be said that the state management unit 221 has arranged the state management unit 101 arranged in the active system device 100 in the standby system device 220 in the second embodiment. The state management unit 221 monitors the operation of the services provided by the host OS 2, guest OS 4, and application 25 of the active system device 200 from the standby system device 220 via the network 1000 as monitoring targets. As a technique for the state management unit 221 to perform monitoring, a well-known general technique can be adopted as in the second embodiment.

状態管理部221は、監視対象に異常が発生したことを検出したとき、稼働系装置200に対して、切替指示30を送信することができる。また、状態管理部221は、ホストOS2の異常を検出したときなど、稼働系装置200における切替指示30に対する処理が行われない可能性がある場合、稼働系装置200の再起動を実行(指示)してもよい。状態管理部221が、ネットワーク1000を介して接続する稼働系装置200の再起動を行う技法については、よく知られた一般的な技術を採用することが可能であるので、ここでは詳細な説明は省略する。   When the state management unit 221 detects that an abnormality has occurred in the monitoring target, the state management unit 221 can transmit the switching instruction 30 to the active device 200. In addition, the state management unit 221 executes restart of the active device 200 when there is a possibility that the processing for the switching instruction 30 in the active device 200 is not performed, such as when an abnormality of the host OS 2 is detected (instruction). May be. Since the state management unit 221 can employ a well-known general technique for restarting the active device 200 connected via the network 1000, a detailed description thereof will be given here. Omitted.

次に、上述した構成を備える本実施形態の動作について詳細に説明する。本実施形態に係る情報処理システムの動作は、第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 boot processing unit 201 does not need to operate particularly in the preliminary preparation stage. After the preparation is completed, the replication target memory information 12 is stored in the nonvolatile storage device 210. Further, in the standby system apparatus 220, the state management unit 221 is monitoring the active system apparatus 200.

次に、事前準備が終了した後、状態管理部221による監視中に、稼働系装置200において異常が発生した場合の、本実施形態に係る情報処理システムが行う動作を説明する。なお、以下では、本実施形態の効果が明確に表れる具体例の一つとして、稼働系装置200におけるホストOS2に、処理の継続が不能となるような異常が発生した場合の動作を説明する。   Next, an operation performed by the information processing system according to the present embodiment when an abnormality occurs in the active apparatus 200 during the monitoring by the state management unit 221 after the preparation is completed will be described. In the following, as one specific example in which the effect of the present embodiment is clearly expressed, an operation in the case where an abnormality that makes it impossible to continue processing occurs in the host OS 2 in the active system apparatus 200 will be described.

まず、状態管理部221が監視を実行中に、稼働系装置200において、ホストOS2に異常が発生する。そして、状態管理部221が、ホストOS2の異常を検出し、稼働系装置200の再起動を実行する。このとき、本実施形態では、稼働系装置200において再起動が発生した場合、まずブート処理部201が行うブート処理の動作が、レプリケーション動作の前に、実行される。以下に、図7を参照して、ブート処理におけるブート処理部201の動作を説明する。図7は、第3の実施形態において、ブート処理部201が行う動作を示すフローチャートである。   First, an abnormality occurs in the host OS 2 in the active device 200 while the state management unit 221 is executing monitoring. Then, the state management unit 221 detects an abnormality in the host OS 2 and restarts the active system device 200. At this time, in this embodiment, when the active device 200 is restarted, the boot processing operation performed by the boot processing unit 201 is first executed before the replication operation. The operation of the boot processing unit 201 in the boot process will be described below with reference to FIG. FIG. 7 is a flowchart illustrating an operation performed by the boot processing unit 201 in the third embodiment.

ホストOS2に異常が発生した状態において稼働系装置200の再起動が実行されたとき、稼働系装置200は、終了処理を正常に行わずに終了し、その後、再び起動したこととする。再起動の際、稼働系装置200において、まずブート処理部201が動作する。ブート処理部201は、前回の終了処理の結果を確認する(ステップD300)。例えば、ブート処理部201は、終了処理によって更新されるべきファイルやレジストリの状態を確認することなどにより、前回の終了処理の正常性を判定することができる。   When the active system device 200 is restarted in a state where an abnormality has occurred in the host OS 2, the active system device 200 ends without performing the termination process normally, and then restarts again. At the time of restart, first, the boot processing unit 201 operates in the active system device 200. The boot processing unit 201 confirms the result of the previous end process (step D300). For example, the boot processing unit 201 can determine the normality of the previous end process by checking the state of the file or registry to be updated by the end process.

前回の終了処理が異常だった場合、ブート処理部201は、「レプリケーションモード」で起動処理を行う。例えば、ブート処理部201は、ホストOS2以外が使用するメモリ空間を除外して、主記憶装置6に対するメモリ初期化を実施する(ステップD301)。すなわち、ブート処理部201は、ゲストOS4およびアプリケーション5が再起動前に使用したメモリ空間(図4の504乃至506)を初期化から除外する。   When the previous termination process is abnormal, the boot processing unit 201 performs the startup process in the “replication mode”. For example, the boot processing unit 201 excludes the memory space used by other than the host OS 2 and performs memory initialization for the main storage device 6 (step D301). That is, the boot processing unit 201 excludes the memory spaces (504 to 506 in FIG. 4) used by the guest OS 4 and the application 5 before restarting from initialization.

次に、ブート処理部201は、不揮発性記憶装置210から、複製対象メモリ情報12を取得する(ステップD302)。   Next, the boot processing unit 201 acquires the replication target memory information 12 from the nonvolatile storage device 210 (step D302).

次に、ブート処理部201は、取得した複製対象メモリ情報12に基づいて、主記憶装置6における複製対象データ9を保護する(ステップD303)。例えば、ブート処理部201は、ホストOS2が提供するメモリ管理機能により、複製対象データ9が格納されたメモリ空間に対する上書きを禁止してもよい。   Next, the boot processing unit 201 protects the replication target data 9 in the main storage device 6 based on the acquired replication target memory information 12 (step D303). For example, the boot processing unit 201 may prohibit overwriting the memory space in which the replication target data 9 is stored, using a memory management function provided by the host OS 2.

次に、ブート処理部201は、レプリケーション処理部8を起動する(ステップD304)。   Next, the boot processing unit 201 activates the replication processing unit 8 (step D304).

最後に、ブート処理部201は、起動したレプリケーション処理部8に対して、切替指示30を送信する(ステップD305)。   Finally, the boot processing unit 201 transmits a switching instruction 30 to the activated replication processing unit 8 (step D305).

これ以降の動作は、第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 application 25 resumes the service in the standby apparatus 21 (step C212 in FIG. 3).

なお、ステップD301以降のいずれかの時点において、ブート処理部201は、レプリケーションモードで起動したことをホストOS2に通知することにより、ホストOS2がゲストOS4およびアプリケーション5を起動しないように制御してもよい。   Note that at any point after step D301, the boot processing unit 201 notifies the host OS 2 that it has started in the replication mode so that the host OS 2 does not start the guest OS 4 and the application 5. Good.

以上、説明したように、本実施形態には、上述した第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 replication processing unit 8 cannot process the switching instruction 30 due to an abnormality of the host OS 2 or the like. Also in this case, there is an effect that it is possible to take over the service to the standby system device 21 after the active system device 200 is restarted.

その理由は、ブート処理部201が、起動処理において、前回の終了処理が正常でなかった場合に、再起動前に格納された複製対象データ9を保護するからである。また、不揮発性記憶装置210が、稼働系装置200が再起動されても、複製対象メモリ情報12を保持できるからである。その結果、稼働系装置200の再起動後に動作するレプリケーション処理部8が、保護された再起動前の複製対象データ9を用いて、予備系装置21へのメモリレプリケーションを実行することが可能となる。   The reason is that the boot processing unit 201 protects the replication target data 9 stored before the restart when the previous end process is not normal in the start process. In addition, the nonvolatile storage device 210 can retain the replication target memory information 12 even when the active system device 200 is restarted. As a result, the replication processing unit 8 that operates after the active device 200 is restarted can execute memory replication to the standby device 21 using the protected replication target data 9 before the restart. .

なお、ステップD300において、前回の終了処理が正常だった場合、ブート処理部201は、通常のメモリ初期化を実施する(ステップD310)。すなわち、ブート処理部201は、主記憶装置6に残された複製対象データ9の保護は行わずに、主記憶装置6に対するメモリ初期化を実施する。さらに、ブート処理部201は、その他の起動処理を行ってもよい。   In step D300, when the previous end process is normal, the boot processing unit 201 performs normal memory initialization (step D310). That is, the boot processing unit 201 performs memory initialization for the main storage device 6 without protecting the replication target data 9 remaining in the main storage device 6. Further, the boot processing unit 201 may perform other startup processing.

また、上述したブート処理部201が行う処理の一部は、ブート処理部201以外のホストOS2の機能によって実現されてもよい。例えば、レプリケーション処理部8の起動、および、その後の切替指示30の送信は、ホストOS2を介して実行されてもよい。   A part of the processing performed by the boot processing unit 201 described above may be realized by a function of the host OS 2 other than the boot processing unit 201. For example, activation of the replication processing unit 8 and subsequent transmission of the switching instruction 30 may be executed via the host OS 2.

また、ブート処理部201が実行するメモリ初期化の範囲、および複製対象データ9の保護方法などは、ステップD301乃至D303において例示した以外の方法によっても実現可能である。   Further, the range of memory initialization executed by the boot processing unit 201 and the method for protecting the replication target data 9 can be realized by methods other than those exemplified in steps D301 to D303.

<第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 storage device 311, and a second information processing apparatus (standby system apparatus) 320. In the present embodiment, when the switching instruction 30 is received, a service (processing) provided by the first information processing apparatus 300 (hereinafter referred to as “active system apparatus 300”) is transferred to the second information processing apparatus 320 (hereinafter referred to as “processing apparatus 300”). , An information processing system that enables the “standby system device 320” to take over.

切替指示30は、稼働系装置1が提供するサービスを、他の予備系装置において実施させる(切り替える)ことを指示する情報である。   The switching instruction 30 is information for instructing to perform (switch) the service provided by the active system apparatus 1 in another standby system apparatus.

稼働系装置300、および、予備系装置320は、それぞれインターネットや構内LAN等のネットワーク1000を介して通信可能である。稼働系装置300、および予備系装置320は、CPU(Central Processing Unit:図示せず)を用いて実行されるコンピュータ・プログラム(ソフトウェア・プログラム)の制御により動作する一般的な情報処理装置(コンピュータ)によって構成されても良い。または、稼働系装置300、および予備系装置320の各部が、専用のハードウェアデバイス、または論理回路によって構成されても良い。なお、この稼働系装置300、および予備系装置320をコンピュータによって実現したハードウェア構成例については、図8を参照して後述する。   The active system apparatus 300 and the standby system apparatus 320 can communicate with each other via a network 1000 such as the Internet or a local area LAN. The active system apparatus 300 and the standby system apparatus 320 are general information processing apparatuses (computers) that operate under the control of a computer program (software program) that is executed using a CPU (Central Processing Unit: not shown). It may be constituted by. Alternatively, each unit of the active system device 300 and the standby system device 320 may be configured by a dedicated hardware device or a logic circuit. A hardware configuration example in which the active system device 300 and the standby system device 320 are realized by a computer will be described later with reference to FIG.

記憶装置311は、稼働系装置300から利用可能な記憶装置である。本実施形態において、記憶装置311は、稼働系装置300に接続される。なお、記憶装置311は、稼働系装置300に内蔵されてもよい。記憶装置311は、HDD(ハードディスクドライブ)などの不揮発性の記憶装置であってもよい。また、記憶装置311は、必ずしも記憶装置306と別個の記憶装置ではなくてもよい。記憶装置311は、第1および第2の実施形態における記憶装置11、並びに、第3の実施形態における不揮発性記憶装置210に対応する。   The storage device 311 is a storage device that can be used by the active system device 300. In the present embodiment, the storage device 311 is connected to the active system device 300. Note that the storage device 311 may be built in the active system device 300. The storage device 311 may be a non-volatile storage device such as an HDD (hard disk drive). Further, the storage device 311 is not necessarily a separate storage device from the storage device 306. The storage device 311 corresponds to the storage device 11 in the first and second embodiments and the nonvolatile storage device 210 in the third embodiment.

稼働系装置300は、アプリケーション305、記憶装置306、およびレプリケーション処理部308を有する。アプリケーション305は、第1乃至第3の実施形態におけるアプリケーション5に対応する。記憶装置306は、第1乃至第3の実施形態における主記憶装置6に対応する。レプリケーション処理部308は、第1乃至第3の実施形態におけるレプリケーション処理部8に対応する。   The active device 300 includes an application 305, a storage device 306, and a replication processing unit 308. The application 305 corresponds to the application 5 in the first to third embodiments. The storage device 306 corresponds to the main storage device 6 in the first to third embodiments. The replication processing unit 308 corresponds to the replication processing unit 8 in the first to third embodiments.

アプリケーション305は、稼働系装置300においてサービスを提供する主体である。上述した予備系装置320が引き継ぐサービスとは、このアプリケーション305が提供するサービスである。また、アプリケーション305は、複製対象通知部307を含む。   The application 305 is a main body that provides a service in the active device 300. The service taken over by the standby system 320 described above is a service provided by the application 305. The application 305 includes a copy target notification unit 307.

複製対象通知部307は、複製対象データ309が格納されるメモリ空間を示すメモリ情報を、後述するレプリケーション処理部308に対して通知する。なお、複製対象データ309は、アプリケーション305が実行する処理(サービス)を引き継ぐアプリケーション325が、当該サービスを復旧するために必要な情報である。複製対象通知部307は、第1乃至第3の実施形態における複製対象通知部7に対応する。複製対象データ309は、第1乃至第3の実施形態における複製対象データ9に対応する。   The replication target notification unit 307 notifies the replication processing unit 308 described later of memory information indicating a memory space in which the replication target data 309 is stored. The replication target data 309 is information necessary for the application 325 taking over the processing (service) executed by the application 305 to restore the service. The replication target notification unit 307 corresponds to the replication target notification unit 7 in the first to third embodiments. The replication target data 309 corresponds to the replication target data 9 in the first to third embodiments.

記憶装置306は、アプリケーション305の動作に応じて生成される複製対象データ309を格納することができる。記憶装置306は、例えば、半導体メモリ装置やディスク装置により実現される。   The storage device 306 can store replication target data 309 generated according to the operation of the application 305. The storage device 306 is realized by, for example, a semiconductor memory device or a disk device.

レプリケーション処理部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 target notification unit 307 as an operation in advance preparation, the replication processing unit 308 stores the notified memory information as replication target memory information 312 in the storage device 311. Thereafter, the replication processing unit 308 waits for reception of the switching instruction 30. The switching instruction 30 is transmitted to the replication processing unit 308 when the service provider is to be switched from the active device 300 to the standby device 320. The replication target memory information 312 corresponds to the replication target memory information 12 in the first to third embodiments.

レプリケーション処理部308は、切替指示30を受信した場合に、メモリレプリケーション動作における転送処理として、保存しておいた複製対象メモリ情報312に基づいて、複製対象データ309を読み出す。そして、レプリケーション処理部308は、予備系装置320に対して、読み出した複製対象データ309を転送する。   When receiving the switching instruction 30, the replication processing unit 308 reads the replication target data 309 based on the stored replication target memory information 312 as a transfer process in the memory replication operation. Then, the replication processing unit 308 transfers the read replication target data 309 to the standby system device 320.

予備系装置320は、アプリケーション325、および復旧処理部327を有する。アプリケーション325は、第1乃至第3の実施形態におけるアプリケーション25に対応する。復旧処理部327は、第1乃至第3の実施形態における復旧処理部27に対応する。   The standby system device 320 includes an application 325 and a recovery processing unit 327. The application 325 corresponds to the application 25 in the first to third embodiments. The recovery processing unit 327 corresponds to the recovery processing unit 27 in the first to third embodiments.

復旧処理部327は、稼働系装置300におけるレプリケーション処理部308から転送された複製対象データ309を受信した場合、アプリケーション325に対して、複製対象データ309に基づいてサービスを復旧することを指示する。   When receiving the replication target data 309 transferred from the replication processing unit 308 in the active apparatus 300, the recovery processing unit 327 instructs the application 325 to recover the service based on the replication target data 309.

アプリケーション325は、稼働系装置300におけるアプリケーション305と同様のサービスを提供することができる。アプリケーション325は、復旧処理部327の指示を受けて、複製対象データ309に基づいて、アプリケーション305が提供していたサービスを復旧する。   The application 325 can provide the same service as the application 305 in the active apparatus 300. In response to the instruction from the recovery processing unit 327, the application 325 recovers the service provided by the application 305 based on the replication target data 309.

このように、レプリケーション処理部308によるメモリレプリケーションの動作の結果として、アプリケーション325が、レプリケーション処理部308から送られた複製対象データ309に基づいて、予備系装置320においてサービスを引き継ぐことができる
以上説明したように、上述した各実施形態に共通する概念を表す本実施形態には、稼働系装置300から予備系装置305への処理の引き継ぎ(切り替え)が発生するまでの待機中において、メモリ同期に要する予備のリソース量が少ないという効果がある。
As described above, as a result of the memory replication operation by the replication processing unit 308, the application 325 can take over the service in the standby device 320 based on the replication target data 309 sent from the replication processing unit 308. As described above, in the present embodiment, which represents a concept common to the above-described embodiments, the memory synchronization is performed in the standby state until the handover of the processing from the active device 300 to the standby device 305 occurs. There is an effect that the amount of spare resources required is small.

その理由は、稼働系装置300において、レプリケーション処理部308が、切替指示30を受信した場合、複製対象データ309を予備系装置320へ転送することによりメモリ同期を行うからである。そして、予備系装置320において、復旧処理部327が、転送された複製対象データ309に基づいて、アプリケーション25にサービスを引き継がせるからである。すなわち、本実施形態は、切替指示30によって切替が発生することを待つ待機中において、稼働系装置300から予備系装置320へのメモリ同期を行わない。したがって、本実施形態は、メモリ同期に要する予備系装置320における記憶装置や通信帯域などのリソース量が少なく済むという効果がある。   The reason is that in the active device 300, when the replication processing unit 308 receives the switching instruction 30, memory synchronization is performed by transferring the replication target data 309 to the standby device 320. In the standby system 320, the recovery processing unit 327 allows the application 25 to take over the service based on the transferred replication target data 309. That is, according to the present embodiment, the memory synchronization from the active system device 300 to the standby system device 320 is not performed while waiting for the switching to occur according to the switching instruction 30. Therefore, the present embodiment has an effect that the amount of resources such as a storage device and a communication band in the standby apparatus 320 required for memory synchronization can be reduced.

[変形例]
また、上述した各実施形態の変形例として、各実施形態に係る情報処理システムを、複数台の稼働系装置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 standby system device 21, 220, a plurality of active system devices 1, 100, 200, or 300. Alternatively, 320 may be included. For example, the recovery processing unit 27 selects the application 25 that takes over the service in accordance with the transmission source (the active device 1) of the received replication target data. In this case, the recovery processing unit 27 holds in advance information that associates, for example, an address indicating a transmission source and the application 25 corresponding to the service provided by each active device. Thereby, one standby system apparatus can cope with service takeover in a plurality of active system apparatuses. Therefore, such a modification has the effect of further reducing the amount of spare resources required for memory synchronization.

また、上述した各実施形態において、稼働系装置および予備系装置におけるゲスト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 display 905, and a hard disk device (HDD). ) 906, and these are connected via a bus 907. When the computer shown in FIG. 9 functions as the information processing devices (active devices) 1, 100, 200, and 300 and the information processing devices (standby devices) 21, 220, and 320, the display 905 is always provided. There is no need to be done. The communication interface 904 is a general communication unit that realizes communication between the computers in each of the above-described embodiments. The hard disk device 906 stores a program group 906A and various storage information 906B. The program group 906A is, for example, a computer program for realizing a function corresponding to each block (each unit) shown in FIG. 1, FIG. 5, FIG. 6, and FIG. The various storage information 906B is, for example, the replication target data 9 and 309 shown in FIGS. 1, 5, 6, and 8, and the replication target memory information 12 and 312. In such a hardware configuration, the CPU 901 governs the overall operation of the computer 900.

そして、上述した各実施形態を例に説明した本発明は、各実施形態の説明において参照したブロック構成図(図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 CPU 901 of the hardware and executing it. The computer program supplied to the computer may be stored in a non-volatile storage device (storage medium) such as a readable / writable temporary storage memory 903 or a hard disk device 906.

また、前記の場合において、当該各装置内へのコンピュータ・プログラムの供給方法は、フロッピーディスク(登録商標)や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 communication network 1000. In such a case, the present invention can be understood to be configured by a computer-readable storage medium in which the code constituting the computer program or the code is recorded.

なお、上述した実施形態の一部または全部は、以下の付記のようにも記載されうるが、以下の付記に限定されるものではない。   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 appendix 1, and that can provide the service, A second information processing apparatus including a restoration processing unit that restores the service based on the replication target data.

(付記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 appendix 1, further comprising a state management unit for transmission.

(付記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 appendix 1 The second information processing apparatus according to supplementary note 2, further comprising: a state management unit that transmits a switching instruction instructing the other information processing apparatus to execute the service.

(付記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 supplementary note 1 or supplementary note 3, which protects replication target data and transmits the switching instruction to a replication processing unit that is newly activated after the activation of the apparatus.

(付記6)
付記1、付記3、または付記5の何れかに記載の第1の情報処理装置と、
前記第1の情報処理装置から前記複製対象データを受信する付記2、または付記4記載の第2の情報処理装置と
を含む情報処理システム。
(Appendix 6)
The first information processing apparatus according to any one of Supplementary Note 1, Supplementary Note 3, or Supplementary Note 5,
An information processing system comprising: the second information processing device according to supplementary note 2 or supplementary note 4 that receives the replication target data from the first information processing device.

(付記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 claim 7, further comprising a process of transmitting the switching instruction to the first information processing apparatus when it is detected that an abnormality has occurred in the monitoring target.

(付記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 appendix 7 or appendix 8, wherein the transfer process is executed after the first information processing apparatus is activated.

(付記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 Virtual machine 4, 24 Guest OS
5, 25, 305, 325 Application 6, 26 Main storage device 7, 307 Replication target notification unit 8, 308 Replication processing unit 9, 309 Replication target data 11, 311 Storage device 12, 312 Replication target memory information 21, 220, 320 Second information processing apparatus (standby system apparatus)
27, 327 Recovery processing unit 30 Switching instruction 101, 221 State management unit 201 Boot processing unit 210 Non-volatile storage device 306 Storage device 501 Memory space of main storage device 502 Memory space used by host OS 503 Used by functional units related to replication Memory space 504 Memory space used by guest OS 900 Information processing device (computer)
901 CPU
902 ROM
903 RAM
904 Communication interface (I / F)
905 Display 906 Hard disk device (HDD)
906A Program group 906B Various stored information 907 Bus 1000 Network (communication network)

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.
前記予備系装置が、前記アプリケーションが使用する部分で複製の対象の部分を受け取り、前記予備系装置上で動作する前記アプリケーションに対して、前記アプリケーションが使用する部分で複製の対象の部分に基づいて、前記予備系装置上で前記サービスを復旧させる復旧処理部を含むことを特徴とする請求項1記載の情報処理装置。 The standby device receives a portion to be replicated in a portion used by the application, and is based on a portion to be replicated in a portion used by the application with respect to the application operating on the standby device. 2. The information processing apparatus according to claim 1, further comprising a restoration processing unit that restores the service on the standby system apparatus. 前記仮想マシンを監視し、前記仮想マシンに異常が発生したことを検知したとき、前記切り替え指示を前記レプリケーション処理部に対して送信する状態管理部をさらに備える請求項1または2記載の情報処理装置。   The information processing apparatus according to claim 1, further comprising: a state management unit that monitors the virtual machine and transmits the switching instruction to the replication processing unit when it detects that an abnormality has occurred in the virtual machine. . 前記予備系装置は、前記稼動系装置の前記ホストOS、前記ゲストOS,前記アプリケーションが提供するサービスを監視し、異常が発生したことを検知したとき、前記稼動系装置の再起動を指示する第二の状態管理部を備え、
前記稼動系装置は、ブート処理部を備え、
前記ブート処理部は、稼動系装置の再起動時に、稼動系装置での前回の終了処理の結果を確認し、前回正常終了していなかった場合には、前記主記憶装置の前記ホスト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.
前記予備系装置が、前記アプリケーションが使用する部分で複製の対象の部分を受け取り、前記予備系装置上で動作する前記アプリケーションに対して、前記アプリケーションが使用する部分で複製の対象の部分に基づいて、前記予備系装置上で前記サービスを復旧させることを特徴とする請求項5記載の情報処理方法。 The standby device receives a portion to be replicated in a portion used by the application, and is based on a portion to be replicated in a portion used by the application with respect to the application operating on the standby device. 6. The information processing method according to claim 5 , wherein the service is restored on the standby apparatus. 前記仮想マシンを監視し、前記仮想マシンに異常が発生したことを検知したとき、前記切り替え指示を前記レプリケーション処理に対して送信する請求項5または6記載の情報処理方法。   The information processing method according to claim 5 or 6, wherein the virtual machine is monitored, and when the abnormality is detected in the virtual machine, the switching instruction is transmitted to the replication process. 前記予備系装置は、前記稼動系装置の前記ホストOS、前記ゲストOS,前記アプリケーションが提供するサービスを監視し、異常が発生したことを検知したとき、前記稼動系装置の再起動を指示し、
前記稼動系装置が、
稼動系装置の再起動時に、稼動系装置での前回の終了処理の結果を確認し、前回正常終了していなかった場合には、前記主記憶装置の前記ホスト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.
前記仮想マシンを監視し、前記仮想マシンに異常が発生したことを検知したとき、前記切り替え指示を前記レプリケーション処理に対して送信する機能をさらに備える請求項9記載のプログラム。   The program according to claim 9, further comprising a function of monitoring the virtual machine and transmitting the switching instruction to the replication process when it is detected that an abnormality has occurred in the virtual machine.
JP2014002231A 2014-01-09 2014-01-09 Information processing apparatus, information processing system, memory replication method, and computer program Active JP6364773B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

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