JP2018084914A - Operation environment synchronization device, operation environment synchronization system, operation environment synchronization method, and operation environment synchronization program - Google Patents

Operation environment synchronization device, operation environment synchronization system, operation environment synchronization method, and operation environment synchronization program Download PDF

Info

Publication number
JP2018084914A
JP2018084914A JP2016226990A JP2016226990A JP2018084914A JP 2018084914 A JP2018084914 A JP 2018084914A JP 2016226990 A JP2016226990 A JP 2016226990A JP 2016226990 A JP2016226990 A JP 2016226990A JP 2018084914 A JP2018084914 A JP 2018084914A
Authority
JP
Japan
Prior art keywords
operating environment
information
environment information
difference
standby
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.)
Granted
Application number
JP2016226990A
Other languages
Japanese (ja)
Other versions
JP6773533B2 (en
Inventor
裕子 若木
Yuko Wakagi
裕子 若木
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 Platforms Ltd
Original Assignee
NEC Platforms Ltd
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 Platforms Ltd filed Critical NEC Platforms Ltd
Priority to JP2016226990A priority Critical patent/JP6773533B2/en
Publication of JP2018084914A publication Critical patent/JP2018084914A/en
Application granted granted Critical
Publication of JP6773533B2 publication Critical patent/JP6773533B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To allow a standby system device to be synchronized with an active system device at high speed in a flexible manner in relation to operation environment information when failover is performed in a redundant system.SOLUTION: An operation environment synchronization device 40 comprises: an extraction part 41 that extracts difference information 403 representing a difference between first operation environment information 511 of an active system device 5 and second operation environment information 411 read by a standby system device when failover from the active system device 5 to the standby system device 4 is performed in a redundant system in which the failover is performed; a determination part 42 that determines whether or not an information amount included in the difference information 403 satisfies a predetermined condition; and an updating part 43 that updates the second operation environment information 411 to the first operation environment information 511 due to the failover using the difference information 403 if the predetermined condition is satisfied or without using the difference information 403 if the predetermined condition is not satisfied.SELECTED DRAWING: Figure 8

Description

本願発明は、冗長化されたシステムにおいてフェイルオーバーが行われるときに、待機系装置の動作環境情報を運用系装置の動作環境情報に同期させる技術に関する。   The present invention relates to a technique for synchronizing the operating environment information of a standby system device with the operating environment information of an operating system device when a failover is performed in a redundant system.

高度に情報化された現代社会においては、社会基盤を構築するコンピュータシステムに対して高い可用性が要求される。そして、高い可用性を実現するために、多くのコンピュータシステムは、運用系装置と待機系装置とによって冗長化されたシステムを構成している。   In today's highly informationized society, high availability is required for computer systems that build social infrastructure. And in order to implement | achieve high availability, many computer systems comprise the system made redundant by the active system apparatus and the standby system apparatus.

このような冗長化されたシステムでは、運用系装置に障害が発生した場合に、運用系装置の機能を待機系装置が引き継ぐフェイルオーバーが行われる。このフェイルオーバーでは、待機系装置は、運用系装置の動作環境を表す動作環境情報を引き継ぐ(動作環境情報について同期を取る)必要がある。そして、システムの可用性を高めるためには、フェイルオーバーに要する時間をできるだけ短縮することが求められるので、待機系装置が動作環境情報について運用系装置と高速に同期を取ることができるようにする技術に対する期待が高まってきている。   In such a redundant system, when a failure occurs in the active device, a failover is performed in which the standby device takes over the function of the active device. In this failover, the standby device needs to take over the operating environment information representing the operating environment of the active device (synchronize the operating environment information). And in order to increase the availability of the system, it is required to reduce the time required for failover as much as possible. Therefore, the technology that enables the standby system device to synchronize the operating environment information with the operation system device at high speed. Expectations are increasing.

このような技術に関連する技術として、特許文献1には、障害が発生した現用系サーバから予備系サーバへの高速な切り替え処理を行うシステムが開示されている。このシステムでは、現用系サーバのBIOS(Basic Input/Output System)情報を取得して、そのBIOS情報を、切り替え先の予備系サーバへリストアする。このシステムは、現用系サーバのフルバックアップイメージを取得したのちに、現用系サーバの記憶デバイスに格納されるデータのうち、更新されたデータを表す差分情報を取得する。そして、このシステムは、予備系サーバが現用系サーバの業務を引き継ぐために必要なバックアップイメージ、及び、当該差分情報を、予備系サーバにリストアする。   As a technique related to such a technique, Patent Document 1 discloses a system that performs a high-speed switching process from a failed active server to a standby server. In this system, the basic input / output system (BIOS) information of the active server is acquired, and the BIOS information is restored to the standby server at the switching destination. After acquiring a full backup image of the active server, this system acquires differential information representing updated data among the data stored in the storage device of the active server. In this system, the backup server necessary for the standby server to take over the work of the active server and the difference information are restored to the standby server.

国際公開第2014-080492号International Publication No. 2014-080492

フェイルオーバーが行なわれるときに、特許文献1によって開示された技術などを用いることにより、待機系装置が動作環境情報について運用系装置と同期を取る処理を高速化することができる。すなわち、待機系装置は、自装置の動作環境情報を運用系装置の動作環境情報に更新する場合に、動作環境情報に関する自装置と運用系装置との差分を示す差分情報を用いることにより、動作環境情報全体を更新する必要がなくなるので、その更新を高速化することができる。   When the failover is performed, by using the technique disclosed in Patent Document 1, it is possible to speed up the process in which the standby apparatus synchronizes the operating environment information with the operational apparatus. In other words, when updating the operating environment information of the own device to the operating environment information of the active device, the standby device uses the difference information indicating the difference between the own device and the active device regarding the operating environment information to Since it is not necessary to update the entire environment information, the update can be speeded up.

しかしながら、差分情報を用いた更新を行うことにより、動作環境情報全体を更新するときよりも、かえって更新時間が長くなる場合があるという問題がある。すなわち、差分情報を用いた同期処理では、動作環境情報における差分箇所を確認しながら更新を行なう必要があるので、差分箇所が多い(差分情報の情報量が大きい)場合では、差分箇所を確認することによって生じるオーバーヘッドが大きくなる。したがって、このような場合は、動作環境情報全体を更新したほうが、差分情報を用いた更新を行うときよりも、更新時間が短くなる。特許文献1によって開示された技術では、このような問題に対して柔軟に対応することはできない。本願発明の主たる目的は、このような問題を解決する動作環境同期装置等を提供することである。   However, the update using the difference information has a problem that the update time may be longer than when the entire operating environment information is updated. That is, in the synchronous process using the difference information, it is necessary to update while confirming the difference part in the operating environment information. Therefore, when there are many difference parts (the information amount of the difference information is large), the difference part is confirmed. The overhead caused by this increases. Accordingly, in such a case, the update time is shorter when the entire operating environment information is updated than when the update using the difference information is performed. The technique disclosed in Patent Document 1 cannot flexibly cope with such a problem. The main object of the present invention is to provide an operating environment synchronization apparatus and the like that solve such problems.

本願発明の一態様に係る動作環境同期装置は、運用系装置から待機系装置へのフェイルオーバーが行われる冗長化されたシステムにおいて、前記運用系装置の動作環境を表す第一の動作環境情報と、前記フェイルオーバーが行われるときに前記待機系装置によって読み込まれる第二の動作環境情報との差分を表す差分情報を抽出する抽出手段と、前記差分情報に含まれる情報量が所定の条件を満たすか否かを判定する判定手段と、前記フェイルオーバーによって、前記第二の動作環境情報を前記第一の動作環境情報に更新する際に、前記判定手段が前記所定の条件を満たすと判定した場合は、前記差分情報を用いて更新し、前記判定手段が前記所定の条件を満たさないと判定した場合は、前記差分情報を用いずに更新する更新手段と、を備える。   The operating environment synchronization apparatus according to an aspect of the present invention includes: first operating environment information representing an operating environment of the active system apparatus in a redundant system in which failover from the active system apparatus to the standby system apparatus is performed; Extracting means for extracting difference information representing a difference from the second operating environment information read by the standby device when the failover is performed, and an amount of information included in the difference information satisfies a predetermined condition Determining means for determining whether or not when the second operating environment information is updated to the first operating environment information by the failover, the determining means determines that the predetermined condition is satisfied. Is updated using the difference information, and when the determination unit determines that the predetermined condition is not satisfied, the update unit updates without using the difference information. .

上記目的を達成する他の見地において、本願発明の一態様に係る動作環境同期方法は、情報処理装置によって、運用系装置から待機系装置へのフェイルオーバーが行われる冗長化されたシステムにおいて、前記運用系装置の動作環境を表す第一の動作環境情報と、前記フェイルオーバーが行われるときに前記待機系装置によって読み込まれる第二の動作環境情報との差分を表す差分情報を抽出し、前記差分情報に含まれる情報量が所定の条件を満たすか否かを判定し、前記フェイルオーバーによって、前記第二の動作環境情報を前記第一の動作環境情報に更新する際に、前記所定の条件を満たすと判定した場合は、前記差分情報を用いて更新し、前記所定の条件を満たさないと判定した場合は、前記差分情報を用いずに更新する。   In another aspect of achieving the above object, the operating environment synchronization method according to an aspect of the present invention is a redundant system in which failover from an active device to a standby device is performed by an information processing device. Extracting difference information representing the difference between the first operating environment information representing the operating environment of the active device and the second operating environment information read by the standby device when the failover is performed, and the difference It is determined whether the amount of information included in the information satisfies a predetermined condition, and when the second operating environment information is updated to the first operating environment information by the failover, the predetermined condition is If it is determined that the difference is satisfied, the difference information is used for updating. If it is determined that the predetermined condition is not satisfied, the difference information is not used for updating.

また、上記目的を達成する更なる見地において、本願発明の一態様に係る動作環境同期プログラムは、運用系装置から待機系装置へのフェイルオーバーが行われる冗長化されたシステムにおいて、前記運用系装置の動作環境を表す第一の動作環境情報と、前記フェイルオーバーが行われるときに前記待機系装置によって読み込まれる第二の動作環境情報との差分を表す差分情報を抽出する抽出処理と、前記差分情報に含まれる情報量が所定の条件を満たすか否かを判定する判定処理と、前記フェイルオーバーによって、前記第二の動作環境情報を前記第一の動作環境情報に更新する際に、前記判定処理が前記所定の条件を満たすと判定した場合は、前記差分情報を用いて更新し、前記判定処理が前記所定の条件を満たさないと判定した場合は、前記差分情報を用いずに更新する更新処理と、をコンピュータに実行させるためのプログラムである。   Further, in a further aspect to achieve the above object, the operating environment synchronization program according to one aspect of the present invention is a system in which a failover from an active device to a standby device is performed in the redundant system. An extraction process for extracting difference information representing a difference between the first operating environment information representing the operating environment of the second operating environment information read by the standby device when the failover is performed, and the difference The determination process for determining whether the amount of information included in the information satisfies a predetermined condition, and the determination when updating the second operating environment information to the first operating environment information by the failover When it is determined that the process satisfies the predetermined condition, it is updated using the difference information, and when it is determined that the determination process does not satisfy the predetermined condition. Is a program for executing an update process of updating without using the difference information, to the computer.

更に、本願発明は、係る動作環境同期プログラム(コンピュータプログラム)が格納された、コンピュータ読み取り可能な、不揮発性の記録媒体によっても実現可能である。   Furthermore, the present invention can also be realized by a computer-readable non-volatile recording medium storing such an operating environment synchronization program (computer program).

本願発明は、冗長化されたシステムにおいてフェイルオーバーが行われるときに、待機系装置が、動作環境情報について運用系装置と高速かつ柔軟に同期を取ることを可能とする。   The present invention makes it possible for the standby system apparatus to synchronize the operating environment information with the operational system apparatus at high speed and flexibly when failover is performed in a redundant system.

本願発明の第1の実施形態に係る動作環境同期システム3の構成を示すブロック図である。1 is a block diagram showing a configuration of an operating environment synchronization system 3 according to a first embodiment of the present invention. 本願発明の第1の実施形態に係る動作環境情報の構成を例示する図である。It is a figure which illustrates the structure of the operating environment information which concerns on 1st Embodiment of this invention. 本願発明の第1の実施形態に係る動作環境同期システム3の通常時の動作を示すシーケンス図である。It is a sequence diagram which shows the operation | movement at the normal time of the operating environment synchronization system 3 which concerns on 1st Embodiment of this invention. 本願発明の第1の実施形態に係る動作環境同期システム3のフェイルオーバー時の動作を示すシーケンス図である。It is a sequence diagram which shows the operation | movement at the time of the failover of the operating environment synchronization system 3 which concerns on 1st Embodiment of this invention. 本願発明の第1の実施形態に係る差分情報103の構成を例示する図である。It is a figure which illustrates the structure of the difference information 103 which concerns on the 1st Embodiment of this invention. 本願発明の第1の実施形態に係る動作環境同期装置10が行なう、動作環境情報の同期に関する事前準備処理を示すフローチャートである。It is a flowchart which shows the advance preparation process regarding the synchronization of operation environment information which the operation environment synchronization apparatus 10 which concerns on 1st Embodiment of this invention performs. 本願発明の第1の実施形態に係る動作環境同期装置10が行なう、動作環境情報の同期処理を示すフローチャートである。It is a flowchart which shows the synchronization process of the operation environment information which the operation environment synchronization apparatus 10 which concerns on 1st Embodiment of this invention performs. 本願発明の第2の実施形態に係る動作環境同期装置40の構成を示すブロック図である。It is a block diagram which shows the structure of the operating environment synchronization apparatus 40 which concerns on the 2nd Embodiment of this invention. 本願発明の各実施形態に係る動作環境同期装置を実行可能な情報処理装置900の構成を示すブロック図である。It is a block diagram which shows the structure of the information processing apparatus 900 which can perform the operating environment synchronization apparatus which concerns on each embodiment of this invention.

以下、本願発明の実施の形態について図面を参照して詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

<第1の実施形態>
図1は、本願発明の第1の実施の形態に係る動作環境同期システム3の構成を概念的に示すブロック図である。動作環境同期システム3は、運用系装置2及び待機系装置1を有する、冗長化されたシステムである。動作環境同期システム3では、運用系装置2において障害が発生した場合、待機系装置1が運用系装置2の機能を引き継ぐフェイルオーバーが行なわれる。
<First Embodiment>
FIG. 1 is a block diagram conceptually showing the configuration of the operating environment synchronization system 3 according to the first embodiment of the present invention. The operating environment synchronization system 3 is a redundant system having an active system device 2 and a standby system device 1. In the operating environment synchronization system 3, when a failure occurs in the active device 2, failover is performed in which the standby device 1 takes over the function of the active device 2.

運用系装置2は、管理サーバ200と運用サーバ210とを有する。管理サーバ200及び運用サーバ210は、互いに独立した物理サーバであってもよいし、仮想サーバであってもよい。運用サーバ210は、BIOS212を実行し、その動作環境は、動作環境情報211によって規定される。BIOS212及び動作環境情報211は、運用サーバ210が備える記憶デバイス(図示せず)に記憶されている。当該記憶デバイスは、例えば、揮発性のメモリや不揮発性のメモリなどである。運用サーバ210は、様々なアプリケーションを実行することによって、様々なサービスをユーザに提供する。   The active device 2 includes a management server 200 and an operation server 210. The management server 200 and the operation server 210 may be physical servers independent of each other, or may be virtual servers. The operation server 210 executes the BIOS 212 and its operating environment is defined by the operating environment information 211. The BIOS 212 and the operating environment information 211 are stored in a storage device (not shown) included in the operation server 210. The storage device is, for example, a volatile memory or a nonvolatile memory. The operation server 210 provides various services to the user by executing various applications.

図2は、本実施形態に係る動作環境情報211の構成を概念的に例示する図である。動作環境情報211は、設定情報2111、構成情報2112、及び、レビジョン(レビジョン管理情報)2113などを含んでいる。設定情報2111は、動作環境同期システム3の運用環境等を規定する情報である。構成情報2112は、動作環境同期システム3の構成等を表す情報である。レビジョン2113は、動作環境情報211の世代を識別可能な情報であり、動作環境情報211が更新されるたびに、その値が更新されることとする。動作環境情報211は、BIOS212によって更新される。   FIG. 2 is a diagram conceptually illustrating the configuration of the operating environment information 211 according to the present embodiment. The operating environment information 211 includes setting information 2111, configuration information 2112, revision (revision management information) 2113, and the like. The setting information 2111 is information that defines the operating environment and the like of the operating environment synchronization system 3. The configuration information 2112 is information representing the configuration and the like of the operating environment synchronization system 3. The revision 2113 is information that can identify the generation of the operating environment information 211, and its value is updated each time the operating environment information 211 is updated. The operating environment information 211 is updated by the BIOS 212.

動作環境情報211は、動作環境同期システム3においてフェイルオーバーが行なわれる際に、運用系装置2と待機系装置1との間で、同期をとる対象となる情報である。図1に示す動作環境情報201、動作環境情報101、及び、動作環境情報111の構成も、動作環境情報211と同様である。なお、動作環境情報211の構成は、図2に例示する構成に限定されない。   The operating environment information 211 is information to be synchronized between the active device 2 and the standby device 1 when failover is performed in the operating environment synchronization system 3. The configurations of the operating environment information 201, the operating environment information 101, and the operating environment information 111 shown in FIG. The configuration of the operating environment information 211 is not limited to the configuration illustrated in FIG.

図1に示す管理サーバ200は、運用サーバ210の状態等を管理するサーバであり、待機系装置1と通信可能に接続されている。管理サーバ200は、動作環境情報211の写しを動作環境情報201として、内蔵する記憶デバイス(図示せず)に記憶している。当該記憶デバイスは、例えば、揮発性のメモリや不揮発性のメモリなどである。管理サーバ200は、最新の動作環境情報201を、待機系装置1へ送信する。   The management server 200 shown in FIG. 1 is a server that manages the status of the operation server 210 and is connected to the standby system device 1 so as to be communicable. The management server 200 stores a copy of the operating environment information 211 as operating environment information 201 in a built-in storage device (not shown). The storage device is, for example, a volatile memory or a nonvolatile memory. The management server 200 transmits the latest operating environment information 201 to the standby system device 1.

待機系装置1は、管理サーバ100と待機サーバ110とを有する。管理サーバ100及び待機サーバ110は、互いに独立した物理サーバであってもよいし、仮想サーバであってもよい。待機サーバ110は、BIOS112を実行し、その動作環境は、動作環境情報111によって規定される。BIOS112及び動作環境情報111は、待機サーバ110が備える記憶デバイス(図示せず)に記憶されている。待機サーバ110は、運用サーバ210が正常に稼動しているときは、コールドスタンバイ状態にある。但し、コールドスタンバイとは、冗長化されたシステムにおいて、運用系装置が稼動している間は、待機系装置を稼動させずに待機状態にしておく形態である。そして、動作環境情報111は、待機サーバ110がコールドスタンバイ状態にあるときは、更新不能な情報であることとする。待機サーバ110は、運用サーバ210に障害が発生した場合に、フェイルオーバーによって起動し、運用サーバ210の機能を引き継ぐ。   The standby apparatus 1 includes a management server 100 and a standby server 110. The management server 100 and the standby server 110 may be physical servers independent of each other, or may be virtual servers. The standby server 110 executes the BIOS 112, and its operating environment is defined by the operating environment information 111. The BIOS 112 and the operating environment information 111 are stored in a storage device (not shown) included in the standby server 110. The standby server 110 is in a cold standby state when the operation server 210 is operating normally. However, the cold standby is a form in which a standby system device is kept in a standby state while an active device is operating in a redundant system. The operating environment information 111 is information that cannot be updated when the standby server 110 is in a cold standby state. When a failure occurs in the operation server 210, the standby server 110 is activated by failover and takes over the function of the operation server 210.

管理サーバ100は、待機サーバ110の状態等を管理するサーバであり、運用系装置2と通信可能に接続されている。管理サーバ100は、動作環境同期装置10を内包し、フェイルオーバーにおいて、運用サーバ210と待機サーバ110との間で、動作環境情報を同期させる処理を制御する。動作環境同期装置10の詳細動作については後述する。   The management server 100 is a server that manages the status and the like of the standby server 110 and is connected to the active system device 2 so as to be communicable. The management server 100 includes the operating environment synchronization apparatus 10 and controls processing for synchronizing the operating environment information between the operation server 210 and the standby server 110 during failover. Detailed operation of the operating environment synchronization apparatus 10 will be described later.

次に図3及び図4のシーケンス図を参照して、本実施形態に係る動作環境同期システム3の動作の概要を説明する。   Next, an outline of the operation of the operating environment synchronization system 3 according to the present embodiment will be described with reference to the sequence diagrams of FIGS. 3 and 4.

図3は、本実施形態に係る動作環境同期システム3の通常時の動作を示すシーケンス図である。   FIG. 3 is a sequence diagram showing the normal operation of the operating environment synchronization system 3 according to the present embodiment.

ユーザ操作により、管理サーバ200の電源スイッチがオンされる(ステップS101)。管理サーバ200は、運用サーバ210の電源をオンする(ステップS102)。運用サーバ210は、BIOS212のセットアップメニューを、表示画面(図1において不図示)に表示する(ステップS103)。ユーザは、そのセットアップメニューにおいて、セットアップ変更内容(動作環境情報211に対する変更内容)を入力する(ステップS104)。   The power switch of the management server 200 is turned on by a user operation (step S101). The management server 200 turns on the power of the operation server 210 (step S102). The operation server 210 displays the setup menu of the BIOS 212 on a display screen (not shown in FIG. 1) (step S103). In the setup menu, the user inputs setup change contents (change contents for the operating environment information 211) (step S104).

運用サーバ210は、ユーザによって入力されたセットアップ変更内容に従って、動作環境情報211を更新する(ステップS105)。運用サーバ210は、セットアップ処理の完了を、管理サーバ200に報告する(ステップS106)。管理サーバ200は、運用サーバ210をリブートする(ステップS107)。   The operation server 210 updates the operating environment information 211 in accordance with the contents of the setup change input by the user (step S105). The operation server 210 reports the completion of the setup process to the management server 200 (step S106). The management server 200 reboots the operation server 210 (step S107).

運用サーバ210は、更新された動作環境情報211を、管理サーバ200へ送信する(ステップS108)。管理サーバ200は、動作環境情報201を運用サーバ210から受信した動作環境情報211に更新する(ステップS109)。管理サーバ200は、動作環境情報211の受信完了を、運用サーバ210へ報告する(ステップS110)。   The operation server 210 transmits the updated operating environment information 211 to the management server 200 (step S108). The management server 200 updates the operating environment information 201 to the operating environment information 211 received from the operation server 210 (step S109). The management server 200 reports the completion of reception of the operating environment information 211 to the operation server 210 (step S110).

管理サーバ200は、動作環境情報201を管理サーバ100へ送信する(ステップS111)。管理サーバ100は、動作環境情報の同期に関する事前準備処理(その詳細は後述する)を行なう(ステップS300)。管理サーバ100は、動作環境情報201の受信完了を、管理サーバ200へ報告する(ステップS112)。運用サーバ210は、OS(Operating System)を起動し、運用を開始する(ステップS113)。   The management server 200 transmits the operating environment information 201 to the management server 100 (step S111). The management server 100 performs pre-preparation processing (details will be described later) related to synchronization of operating environment information (step S300). The management server 100 reports the completion of reception of the operating environment information 201 to the management server 200 (step S112). The operation server 210 starts an OS (Operating System) and starts operation (step S113).

図4は、本実施形態に係る動作環境同期システム3のフェイルオーバー時の動作を示すシーケンス図である。   FIG. 4 is a sequence diagram showing an operation at the time of failover of the operating environment synchronization system 3 according to the present embodiment.

運用サーバ210は、自装置の障害発生を管理サーバ200へ報告する(ステップS201)。管理サーバ200は、管理サーバ100にフェイルオーバーを指示する(ステップS202)。管理サーバ200は、動作環境情報201を管理サーバ100へ送信する(ステップS203)。   The operation server 210 reports the failure occurrence of the own device to the management server 200 (step S201). The management server 200 instructs the management server 100 to perform a failover (step S202). The management server 200 transmits the operating environment information 201 to the management server 100 (step S203).

管理サーバ100は、動作環境情報の同期に関する事前準備処理を行う(ステップS300)。管理サーバ100は、動作環境情報201の受信完了を、管理サーバ200へ報告する(ステップS204)。管理サーバ100は、フェイルオーバーの準備完了を、管理サーバ200へ報告する(ステップS205)。   The management server 100 performs pre-preparation processing related to synchronization of operating environment information (step S300). The management server 100 reports the completion of reception of the operating environment information 201 to the management server 200 (step S204). The management server 100 reports the completion of failover preparation to the management server 200 (step S205).

管理サーバ100は、待機サーバ110の電源をオンする(ステップS206)。管理サーバ100及び待機サーバ110は、動作環境情報の同期処理(その詳細は後述する)を行なう(ステップS400)。待機サーバ110は、OS(Operating System)を起動し、フェイルオーバー後の運用を開始する(ステップS207)。   The management server 100 turns on the standby server 110 (step S206). The management server 100 and the standby server 110 perform a synchronization process (details of which will be described later) of the operating environment information (step S400). The standby server 110 starts an OS (Operating System) and starts operation after failover (step S207).

次に、図1に示す動作環境同期装置10の詳細動作について説明する。動作環境同期装置10は、待機サーバ110における動作環境情報111と、運用サーバ210における動作環境情報211とが同期するように制御する装置である。すなわち、動作環境同期装置10は、フェイルオーバーが行なわれる場合に、待機サーバ110が、運用サーバ21の動作環境を引き継いで動作できるように制御する。動作環境同期装置10は、図1に示す通り、抽出部11、判定部12、及び、更新部13を備えている。   Next, detailed operation of the operating environment synchronization apparatus 10 shown in FIG. 1 will be described. The operating environment synchronization device 10 is a device that controls the operating environment information 111 in the standby server 110 and the operating environment information 211 in the operation server 210 to be synchronized. That is, the operating environment synchronization apparatus 10 controls the standby server 110 so that it can operate by taking over the operating environment of the operation server 21 when a failover is performed. As shown in FIG. 1, the operating environment synchronization apparatus 10 includes an extraction unit 11, a determination unit 12, and an update unit 13.

抽出部11は、動作環境同期装置10に動作環境情報101が記憶されている場合、動作環境情報101と管理サーバ200から受信した動作環境情報201との差分を、差分情報103として抽出する。なお、例えば、動作環境同期システム3において冗長化されたシステムを構築するために、待機系装置1が新たに設置されたときなどでは、動作環境同期装置10に、動作環境情報101が記憶されていない場合がある。   When the operation environment information 101 is stored in the operation environment synchronization apparatus 10, the extraction unit 11 extracts the difference between the operation environment information 101 and the operation environment information 201 received from the management server 200 as difference information 103. For example, when the standby device 1 is newly installed to construct a redundant system in the operating environment synchronization system 3, the operating environment information 101 is stored in the operating environment synchronization device 10. There may not be.

抽出部11は、動作環境情報101と動作環境情報201とに含まれるレビジョン(図2に例示するレビジョン2113に相当)が等しい場合、動作環境情報101と動作環境情報201とが同一であるとみなして、差分情報103を抽出する処理を行わない。抽出部11は、動作環境情報101と動作環境情報201とに含まれるレビジョンが異なる場合、図2に例示する設定情報2111及び構成情報2112などの項目ごとに、例えばビット単位で動作環境情報101と動作環境情報201との排他的論理和を算出することによって、差分情報103を抽出する処理を行う。抽出部11は、抽出した差分情報103を、動作環境同期装置10が内蔵する記憶デバイス(図示せず)に記憶する。当該記憶デバイスは、例えば、揮発性のメモリや不揮発性のメモリなどである。   The extraction unit 11 regards the operating environment information 101 and the operating environment information 201 as the same when the revisions (corresponding to the revision 2113 illustrated in FIG. 2) included in the operating environment information 101 and the operating environment information 201 are equal. Thus, the process of extracting the difference information 103 is not performed. When the revisions included in the operating environment information 101 and the operating environment information 201 are different, the extraction unit 11 may, for example, set the operating environment information 101 in units of bits for each item such as the setting information 2111 and the configuration information 2112 illustrated in FIG. A process of extracting the difference information 103 is performed by calculating an exclusive OR with the operating environment information 201. The extraction unit 11 stores the extracted difference information 103 in a storage device (not shown) built in the operating environment synchronization apparatus 10. The storage device is, for example, a volatile memory or a nonvolatile memory.

図5は、本実施形態に係る差分情報103の構成を概念的に例示する図である。差分情報103は、ヘッダエリア1030、及び、データエリア1031を含んでいる。   FIG. 5 is a diagram conceptually illustrating the configuration of the difference information 103 according to the present embodiment. The difference information 103 includes a header area 1030 and a data area 1031.

ヘッダエリア1030には、Signatureが格納されている。Signatureは、差分情報103が動作環境同期装置10に最初に格納されるときに書き込まれ、差分情報103が削除されるときに消去される。すなわち、ヘッダエリア1030にSignatureが格納されていることは、差分情報103が動作環境同期装置10に存在することを示している。   Signature is stored in the header area 1030. The signature is written when the difference information 103 is first stored in the operating environment synchronization apparatus 10, and is deleted when the difference information 103 is deleted. That is, the fact that Signature is stored in the header area 1030 indicates that the difference information 103 exists in the operating environment synchronization apparatus 10.

データエリア1031は、差分情報103の本体を構成し、フラグ1032、オフセット1033、サイズ1034、及び、データ1035という4つの項目を含む、1以上のエントリを含んでいる。このうちデータ1035には、例えばエントリごとに、差分情報103における最大8バイト分の本体のデータ(差分データ)が格納されていることとする。   The data area 1031 constitutes the main body of the difference information 103 and includes one or more entries including four items of a flag 1032, an offset 1033, a size 1034, and data 1035. Of these, the data 1035 stores, for example, main body data (difference data) for a maximum of 8 bytes in the difference information 103 for each entry.

フラグ1032には、「Data」、「Area」、「Cont」、「Invalid」のうちのいずれかが設定されている。「Data」は、そのエントリのデータ1035として格納されている差分データのサイズが8バイト以下であることを示す。「Area」は、8バイトより大きい差分データが連続する複数のエントリに亘って格納されている場合に、そのエントリが当該差分データを格納する最初のエントリであることを示す。「Cont」は、8バイトより大きい差分データが連続する複数のエントリに亘って格納されている場合に、そのエントリが当該差分データを格納する2番目以降のエントリであることを示す。「Invalid」は、そのエントリに差分データが格納されていない(すなわち、当該エントリが無効である)ことを示す。   In the flag 1032, any one of “Data”, “Area”, “Cont”, and “Invalid” is set. “Data” indicates that the size of the difference data stored as the data 1035 of the entry is 8 bytes or less. “Area” indicates that, when difference data larger than 8 bytes is stored over a plurality of consecutive entries, the entry is the first entry storing the difference data. “Cont” indicates that, when differential data larger than 8 bytes is stored over a plurality of consecutive entries, the entry is the second and subsequent entries that store the differential data. “Invalid” indicates that difference data is not stored in the entry (that is, the entry is invalid).

オフセット1033には、動作環境情報101及び動作環境情報201が格納されたアドレス空間における、各エントリが示す差分箇所の位置(ポインタ)を表すオフセットアドレスが格納されている。ただし、フラグ1032が「Cont」であるエントリにおけるオフセット1033には、8バイトより大きい差分データを格納する最初のエントリ(すなわちフラグ1032として「Area」が設定されたエントリ)のオフセットアドレスに対する相対アドレスが格納されている。   The offset 1033 stores an offset address indicating the position (pointer) of the difference portion indicated by each entry in the address space in which the operating environment information 101 and the operating environment information 201 are stored. However, the offset 1033 in the entry whose flag 1032 is “Cont” has a relative address with respect to the offset address of the first entry storing difference data larger than 8 bytes (that is, an entry in which “Area” is set as the flag 1032). Stored.

サイズ1034には、そのエントリに格納する差分データのサイズが格納されている。ただし、フラグ1032が「Area」であるエントリにおけるオフセット1033には、当該エントリを先頭に複数のエントリに亘って格納された8バイトより大きい差分データ全体のサイズが格納されている。   The size 1034 stores the size of the difference data stored in the entry. However, the offset 1033 in the entry whose flag 1032 is “Area” stores the size of the entire difference data larger than 8 bytes stored over a plurality of entries starting from the entry.

例えば、図5に例示するデータエリア1031における上から1番目のエントリには、オフセットアドレス「Offset xx」に1バイトの差分データ「01」が格納されている。ただし、図5におけるデータ1035には、16進数により表されるデータが格納されていることとする。また、データ1035における「x」は、データが無いことを示す記号である。例えば、図5に例示するデータエリア1031における上から4乃至7番目のエントリには、オフセットアドレス「Offset ss」に32バイトの差分データが格納されている。   For example, in the first entry from the top in the data area 1031 illustrated in FIG. 5, 1-byte difference data “01” is stored in the offset address “Offset xx”. However, it is assumed that data 1035 in FIG. 5 stores data represented by hexadecimal numbers. Further, “x” in the data 1035 is a symbol indicating that there is no data. For example, in the fourth to seventh entries from the top in the data area 1031 illustrated in FIG. 5, 32-byte difference data is stored in the offset address “Offset ss”.

図5に例示する差分情報103の構成は一例であり、差分情報103の構成は、図5に例示する構成とは異なってもよい。   The configuration of the difference information 103 illustrated in FIG. 5 is an example, and the configuration of the difference information 103 may be different from the configuration illustrated in FIG.

図1に示す判定部12は、フェイルオーバーによって、動作環境同期装置10が、動作環境情報111を動作環境情報101に更新する際に、抽出部11によって抽出された差分情報103に含まれる情報量(データ量)が、所定の条件を満たすか否か(例えば、所定の閾値以下であるか否か)を判定する。   1 determines the amount of information included in the difference information 103 extracted by the extraction unit 11 when the operating environment synchronization apparatus 10 updates the operating environment information 111 to the operating environment information 101 by failover. It is determined whether (data amount) satisfies a predetermined condition (for example, whether it is equal to or less than a predetermined threshold).

判定部12は、例えば、動作環境情報101に含まれる情報量の半分を、当該閾値として使用してもよい。判定部12は、あるいは、後述する更新部13が、差分情報103を用いて動作環境情報111を動作環境情報101に更新するのに要する時間と、差分情報103を用いずに動作環境情報111を動作環境情報101に更新するのに要する時間とが等しくなるときの情報量を、当該閾値として使用してもよい。ただし、差分情報103に含まれる情報量に応じて、動作環境情報111を動作環境情報101に更新するのに要する時間は、事前に測定された値として得られていることとする。差分情報103を用いて動作環境情報111を動作環境情報101に更新するのに要する時間は、差分箇所を確認することによって生じるオーバーヘッドの増加に伴い、差分情報103に含まれる情報量が大きくなるにつれて長くなる。   For example, the determination unit 12 may use half of the information amount included in the operating environment information 101 as the threshold value. The determination unit 12 or the update unit 13 to be described later uses the difference information 103 to update the operation environment information 111 to the operation environment information 101, and the operation environment information 111 without using the difference information 103. The amount of information when the time required for updating to the operating environment information 101 becomes equal may be used as the threshold value. However, the time required to update the operating environment information 111 to the operating environment information 101 according to the amount of information included in the difference information 103 is assumed to be obtained as a value measured in advance. The time required to update the operating environment information 111 to the operating environment information 101 using the difference information 103 is increased as the amount of information included in the difference information 103 increases as the overhead caused by checking the difference portion increases. become longer.

更新部13は、フェイルオーバーが行われるときに、動作環境情報111を動作環境情報101に更新する。更新部13は、この際、判定部12による判定結果が、差分情報103に含まれる情報量が閾値以下であることを示す場合は、差分情報103を用いて動作環境情報111を更新する。この場合更新部13は、動作環境情報111における差分情報103により示されるオフセットアドレスを確認し、動作環境情報111における当該オフセットアドレスのデータを、差分情報103の内容に基づいて更新する。   The update unit 13 updates the operating environment information 111 to the operating environment information 101 when a failover is performed. At this time, when the determination result by the determination unit 12 indicates that the amount of information included in the difference information 103 is equal to or less than the threshold, the update unit 13 updates the operating environment information 111 using the difference information 103. In this case, the update unit 13 confirms the offset address indicated by the difference information 103 in the operating environment information 111 and updates the data of the offset address in the operating environment information 111 based on the content of the difference information 103.

更新部13は、判定部12による判定結果が、差分情報103に含まれる情報量が閾値より大きいことを示す場合は、差分情報103を用いずに、動作環境情報101全体を待機サーバ110に複写することによって、動作環境情報111を動作環境情報101に更新する(置き換える)。   If the determination result by the determination unit 12 indicates that the amount of information included in the difference information 103 is greater than the threshold, the update unit 13 copies the entire operating environment information 101 to the standby server 110 without using the difference information 103. As a result, the operating environment information 111 is updated (replaced) with the operating environment information 101.

次に図6及び図7のフローチャートを参照して、本実施形態に係る動作環境同期装置10の動作(処理)について詳細に説明する。   Next, the operation (processing) of the operating environment synchronization apparatus 10 according to the present embodiment will be described in detail with reference to the flowcharts of FIGS.

図6は、動作環境同期装置10が行なう、動作環境情報の同期に関する事前準備処理を示すフローチャートである。図6のフローチャートに示す事前準備処理は、図3及び図4のシーケンス図に示すステップS300に相当する。   FIG. 6 is a flowchart showing a preliminary preparation process related to the synchronization of the operation environment information performed by the operation environment synchronization apparatus 10. The advance preparation process shown in the flowchart of FIG. 6 corresponds to step S300 shown in the sequence diagrams of FIGS.

動作環境同期装置10は、ステップS300の処理を開始するのにあたり、管理サーバ200から、動作環境情報201を受信する(ステップS301)。更新部13は、動作環境同期装置10に、動作環境情報101が記憶されているか否かを確認する(ステップS302)。   The operating environment synchronization apparatus 10 receives the operating environment information 201 from the management server 200 when starting the process of step S300 (step S301). The update unit 13 checks whether or not the operating environment information 101 is stored in the operating environment synchronization apparatus 10 (step S302).

動作環境情報101が動作環境同期装置10に記憶されている場合(ステップS303でYes)、更新部13は、動作環境情報201と動作環境情報101とのレビジョンが等しいか否かを確認する(ステップS304)。レビジョンが等しい場合(ステップS305でYes)、処理はステップS307へ進む。   When the operating environment information 101 is stored in the operating environment synchronization apparatus 10 (Yes in step S303), the update unit 13 confirms whether the revisions of the operating environment information 201 and the operating environment information 101 are equal (step). S304). If the revisions are equal (Yes in step S305), the process proceeds to step S307.

レビジョンが異なる場合(ステップS305でNo)、更新部13は、管理サーバ200から受信した動作環境情報201を、動作環境情報101として、動作環境同期装置10に格納し(ステップS306)、処理はステップS307へ進む。   When the revisions are different (No in step S305), the updating unit 13 stores the operating environment information 201 received from the management server 200 in the operating environment synchronization apparatus 10 as the operating environment information 101 (step S306), and the processing is performed in steps. The process proceeds to S307.

抽出部11は、動作環境情報101と動作環境情報111とのレビジョンが等しいか否かを確認する(ステップS307)。レビジョンが等しい場合(ステップS308でYes)、ステップS300の処理は終了する。レビジョンが異なる場合(ステップS308でNo)、抽出部11は、動作環境情報101と、動作環境情報111との差分を差分情報103として抽出し、抽出した差分情報103を、動作環境同期装置10に格納し(ステップS309)、ステップS300の処理は終了する。   The extraction unit 11 checks whether the revisions of the operating environment information 101 and the operating environment information 111 are equal (step S307). If the revisions are equal (Yes in step S308), the process in step S300 ends. If the revisions are different (No in step S308), the extraction unit 11 extracts the difference between the operating environment information 101 and the operating environment information 111 as the difference information 103, and the extracted difference information 103 is stored in the operating environment synchronization apparatus 10. Store (step S309), and the process of step S300 ends.

図7は、動作環境同期装置10が行なう、動作環境情報の同期処理を示すフローチャートである。図7のフローチャートに示す同期処理は、図4のシーケンス図に示すステップS400に相当する。   FIG. 7 is a flowchart showing a synchronization process of the operating environment information performed by the operating environment synchronization apparatus 10. The synchronization process shown in the flowchart of FIG. 7 corresponds to step S400 shown in the sequence diagram of FIG.

更新部13は、動作環境情報101と動作環境情報111とのレビジョンが等しいか否かを確認する(ステップS401)。レビジョンが等しい場合(ステップS402でYes)、ステップS400の処理は終了する。   The update unit 13 checks whether the revisions of the operating environment information 101 and the operating environment information 111 are equal (step S401). If the revisions are equal (Yes in step S402), the process in step S400 ends.

レビジョンが異なる場合(ステップS402でNo)、判定部12は、差分情報103に含まれる情報量が閾値以下であるか否かを確認する(ステップS403)。その情報量が閾値以下である場合(ステップS404でYes)、更新部13は、差分情報103を用いて、動作環境情報111を動作環境情報101に更新し(ステップS405)、ステップS400の処理は終了する。その情報量が閾値よりも大きい場合(ステップS404でNo)、更新部13は、差分情報103を用いずに、動作環境情報111を動作環境情報101に更新し(ステップS406)、ステップS400の処理は終了する。   When the revisions are different (No in step S402), the determination unit 12 confirms whether or not the amount of information included in the difference information 103 is equal to or less than a threshold (step S403). When the amount of information is equal to or less than the threshold (Yes in step S404), the update unit 13 updates the operating environment information 111 to the operating environment information 101 using the difference information 103 (step S405), and the process of step S400 is performed. finish. If the amount of information is larger than the threshold (No in step S404), the update unit 13 updates the operating environment information 111 to the operating environment information 101 without using the difference information 103 (step S406), and the process of step S400 Ends.

本実施形態に係る動作環境同期装置10は、冗長化されたシステムにおいてフェイルオーバーが行われるときに、待機系装置が、動作環境情報について運用系装置と高速かつ柔軟に同期を取るようにすることができる。その理由は、動作環境同期装置10は、動作環境情報について、運用系装置と待機系装置との差分を抽出した差分情報に含まれる情報量が所定の条件を満たすか否かに応じて、動作環境情報の更新において、差分情報を使用するか否かを決めるからである。   The operation environment synchronization apparatus 10 according to the present embodiment enables the standby system apparatus to synchronize the operation environment information with the operation system apparatus at high speed and flexibly when failover is performed in a redundant system. Can do. The reason is that the operating environment synchronization apparatus 10 operates according to whether or not the amount of information included in the difference information obtained by extracting the difference between the active system apparatus and the standby system apparatus satisfies a predetermined condition. This is because it is determined whether or not the difference information is used in updating the environment information.

以下に、本実施形態に係る動作環境同期装置10によって実現される効果について、詳細に説明する。   Below, the effect implement | achieved by the operating environment synchronization apparatus 10 which concerns on this embodiment is demonstrated in detail.

フェイルオーバーにおいて、待機系装置は、自装置の動作環境情報を運用系装置の動作環境情報に更新する(同期をとる)際に、動作環境情報に関する自装置と運用系装置との差分を示す差分情報を用いることにより、その更新を高速化することができる。しかしながら、差分情報を用いた更新した場合、差分箇所を確認することによって生じるオーバーヘッドが大きくなることによって、動作環境情報全体を更新したときよりも、動作環境情報の更新時間がかえって長くなる(悪化する)といった問題がある。   In failover, when the standby device updates (synchronizes) the operating environment information of its own device with the operating environment information of the active device, the difference indicating the difference between the own device and the active device regarding the operating environment information By using information, the update can be accelerated. However, when the difference information is used for updating, the overhead caused by checking the difference portion is increased, so that the update time of the operating environment information becomes longer (deteriorates) than when the entire operating environment information is updated. ).

このような問題に対して、本実施形態に係る動作環境同期装置10は、抽出部11、判定部12、及び、更新部13を備える。即ち、抽出部11は、運用サーバ210(運用系装置2)から待機サーバ110(待機系装置1)へのフェイルオーバーが行われる動作環境同期システム3において、差分情報103を抽出する。差分情報103は、運用サーバ210の動作環境を表す動作環境情報211と、フェイルオーバーが行われるときに待機サーバ110によって読み込まれる動作環境情報111との差分を表す情報である。判定部12は、差分情報103に含まれる情報量が所定の条件を満たすか否か(例えば、閾値以下であるか否か)を判定する。更新部13は、フェイルオーバーによって、動作環境情報111を動作環境情報101に更新する際に、判定部12が当該所定の条件を満たすと判定した場合は、差分情報103を用いて更新する。更新部13は、判定部12が当該所定の条件を満たさないと判定した場合は、差分情報103を用いずに更新する。これにより、本実施形態に係る動作環境同期装置10は、冗長化されたシステムにおいてフェイルオーバーが行われるときに、待機系装置が、動作環境情報について運用系装置と高速かつ柔軟に同期を取るようにすることができる。   For such a problem, the operating environment synchronization apparatus 10 according to the present embodiment includes an extraction unit 11, a determination unit 12, and an update unit 13. That is, the extraction unit 11 extracts the difference information 103 in the operating environment synchronization system 3 in which failover from the active server 210 (active device 2) to the standby server 110 (standby device 1) is performed. The difference information 103 is information indicating a difference between the operating environment information 211 representing the operating environment of the operation server 210 and the operating environment information 111 read by the standby server 110 when a failover is performed. The determination unit 12 determines whether or not the amount of information included in the difference information 103 satisfies a predetermined condition (for example, whether or not it is equal to or less than a threshold value). When the determination unit 12 determines that the predetermined condition is satisfied when the operation environment information 111 is updated to the operation environment information 101 by failover, the update unit 13 updates using the difference information 103. If the determination unit 12 determines that the predetermined condition is not satisfied, the update unit 13 updates without using the difference information 103. As a result, the operating environment synchronization apparatus 10 according to the present embodiment allows the standby system apparatus to synchronize the operating environment information with the operation system apparatus at high speed and flexibly when failover is performed in a redundant system. Can be.

また、本実施形態に係る判定部12は、更新部13が差分情報103を用いて動作環境情報111を動作環境情報101に更新するのに要する時間と、前記更新部13が差分情報103を用いずに動作環境情報111を動作環境情報101に更新するのに要する時間とが等しくなるときの差分情報103に含まれる情報量を、閾値として用いて判定する。すなわち、本実施形態に係る動作環境同期装置10は、差分情報103に含まれる情報量に応じて、動作環境情報111を動作環境情報101に更新するのに要する時間が最短になるように制御する。これにより、本実施形態に係る動作環境同期装置10は、待機系装置が、動作環境情報について運用系装置と高速かつ柔軟に同期を取るようにすることを、高い精度で行なうことができる。   In addition, the determination unit 12 according to the present embodiment uses the time required for the update unit 13 to update the operation environment information 111 to the operation environment information 101 using the difference information 103, and the update unit 13 uses the difference information 103. The amount of information included in the difference information 103 when the time required to update the operating environment information 111 to the operating environment information 101 is equal is determined as a threshold value. That is, the operating environment synchronization apparatus 10 according to the present embodiment controls the time required to update the operating environment information 111 to the operating environment information 101 in accordance with the amount of information included in the difference information 103. . Thereby, the operation environment synchronization apparatus 10 according to the present embodiment can perform the synchronization of the operation system information with the operation system apparatus at high speed and flexibly with high accuracy.

また、上述した本実施形態では、動作環境同期装置10は、管理サーバ100に内包されているが、動作環境同期装置10が実装される構成は、図1に示す構成に限定されない。動作環境同期装置10は、管理サーバ100と通信可能に接続された、管理サーバ100とは異なる装置であってもよい。あるいは、動作環境同期装置10が備える機能の少なくとも一部を、例えばBIOS112が備えるようにしてもよい。   Moreover, in this embodiment mentioned above, although the operation environment synchronization apparatus 10 is included in the management server 100, the structure by which the operation environment synchronization apparatus 10 is mounted is not limited to the structure shown in FIG. The operating environment synchronization apparatus 10 may be an apparatus different from the management server 100 connected to the management server 100 so as to be communicable. Alternatively, for example, the BIOS 112 may include at least a part of the functions included in the operating environment synchronization apparatus 10.

<第2の実施形態>
図8は、本願発明の第2の実施形態に係る動作環境同期装置40の構成を概念的に示すブロック図である。
<Second Embodiment>
FIG. 8 is a block diagram conceptually showing the configuration of the operating environment synchronization apparatus 40 according to the second embodiment of the present invention.

本実施形態に係る動作環境同期装置40は、抽出部41、判定部42、及び、更新部43を備えている。   The operating environment synchronization device 40 according to the present embodiment includes an extraction unit 41, a determination unit 42, and an update unit 43.

抽出部41は、運用系装置5から待機系装置4へのフェイルオーバーが行われる冗長化されたシステムにおいて、運用系装置5の動作環境を表す第1の動作環境情報511と、フェイルオーバーが行われるときに待機系装置4によって読み込まれる第2の動作環境情報411との差分を表す差分情報403を抽出する。   In a redundant system in which failover from the active system device 5 to the standby system device 4 is performed, the extraction unit 41 performs first failover on the first operating environment information 511 that represents the operating environment of the active system device 5. Difference information 403 representing a difference from the second operating environment information 411 read by the standby system device 4 is extracted.

判定部42は、差分情報403に含まれる情報量が所定の条件を満たすか否かを判定する。   The determination unit 42 determines whether or not the amount of information included in the difference information 403 satisfies a predetermined condition.

更新部43は、フェイルオーバーによって、第2の動作環境情報411を第1の動作環境情報511に更新する際に、判定部42が当該所定の条件を満たすと判定した場合は、差分情報403を用いて更新する。更新部43は、判定部42が当該所定の条件を満たさないと判定した場合は、差分情報403を用いずに、第2の動作環境情報411を第1の動作環境情報511に更新する。   When the updating unit 43 updates the second operating environment information 411 to the first operating environment information 511 by failover, if the determining unit 42 determines that the predetermined condition is satisfied, the updating unit 43 sets the difference information 403. Use to update. When the determination unit 42 determines that the predetermined condition is not satisfied, the update unit 43 updates the second operating environment information 411 to the first operating environment information 511 without using the difference information 403.

本実施形態に係る動作環境同期装置40は、冗長化されたシステムにおいてフェイルオーバーが行われるときに、待機系装置が、動作環境情報について運用系装置と高速かつ柔軟に同期を取るようにすることができる。その理由は、動作環境同期装置40は、動作環境情報について、運用系装置5と待機系装置と4の差分を抽出した差分情報403に含まれる情報量が所定の条件を満たすか否かに応じて、動作環境情報の更新において、差分情報403を使用するか否かを決めるからである。   The operating environment synchronization device 40 according to the present embodiment allows the standby device to synchronize the operating environment information with the operation device at high speed and flexibly when failover is performed in a redundant system. Can do. The reason is that the operating environment synchronization device 40 determines whether or not the amount of information included in the difference information 403 obtained by extracting the difference between the active device 5 and the standby device 4 satisfies a predetermined condition for the operating environment information. This is because it is determined whether or not to use the difference information 403 in updating the operating environment information.

<ハードウェア構成例>
上述した各実施形態において図1、及び、図8に示した動作環境同期装置10及び40における各部は、専用のHW(HardWare)(電子回路)によって実現することができる。また、図1、及び、図8において、少なくとも、下記構成は、ソフトウェアプログラムの機能(処理)単位(ソフトウェアモジュール)と捉えることができる。
・抽出部11及び41
・判定部12及び42、
・更新部13及び43、
但し、これらの図面に示した各部の区分けは、説明の便宜上の構成であり、実装に際しては、様々な構成が想定され得る。この場合のハードウェア環境の一例を、図9を参照して説明する。
<Hardware configuration example>
In each embodiment described above, each unit in the operating environment synchronization apparatuses 10 and 40 shown in FIGS. 1 and 8 can be realized by a dedicated HW (HardWare) (electronic circuit). 1 and 8, at least the following configuration can be regarded as a function (processing) unit (software module) of the software program.
Extraction units 11 and 41
-Determination units 12 and 42,
-Update units 13 and 43,
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. An example of the hardware environment in this case will be described with reference to FIG.

図9は、本願発明の各実施形態に係る動作環境同期装置を実行可能な情報処理装置900(コンピュータ)の構成を例示的に説明する図である。即ち、図9は、図1、及び、図8に示した動作環境同期装置或いはその一部を実現可能なコンピュータ(情報処理装置)の構成であって、上述した実施形態における各機能を実現可能なハードウェア環境を表す。図9に示した情報処理装置900は、構成要素として下記を備えている。
・CPU(Central_Processing_Unit)901、
・ROM(Read_Only_Memory)902、
・RAM(Random_Access_Memory)903、
・ハードディスク(記憶装置)904、
・無線送受信部等の外部装置との通信インタフェース905、
・バス906(通信線)、
・CD−ROM(Compact_Disc_Read_Only_Memory)等の記録媒体907に格納されたデータを読み書き可能なリーダライタ908、
・入出力インタフェース909。
FIG. 9 is a diagram exemplarily illustrating the configuration of an information processing apparatus 900 (computer) that can execute the operating environment synchronization apparatus according to each embodiment of the present invention. That is, FIG. 9 shows the configuration of the computer (information processing apparatus) capable of realizing the operating environment synchronization apparatus shown in FIGS. 1 and 8 or a part thereof, and can realize each function in the above-described embodiment. Represents a hardware environment. The information processing apparatus 900 illustrated in FIG. 9 includes the following constituent elements.
CPU (Central_Processing_Unit) 901,
ROM (Read_Only_Memory) 902,
RAM (Random_Access_Memory) 903,
-Hard disk (storage device) 904,
A communication interface 905 with an external device such as a wireless transmission / reception unit,
・ Bus 906 (communication line),
A reader / writer 908 capable of reading and writing data stored in a recording medium 907 such as a CD-ROM (Compact_Disc_Read_Only_Memory)
An input / output interface 909;

即ち、上記構成要素を備える情報処理装置900は、これらの構成がバス906を介して接続された一般的なコンピュータである。情報処理装置900は、CPU901を複数備える場合もあれば、マルチコアにより構成されたCPU901を備える場合もある。   In other words, the information processing apparatus 900 including the above-described components is a general computer in which these configurations are connected via the bus 906. The information processing apparatus 900 may include a plurality of CPUs 901 or may include a CPU 901 configured by a multi-core.

そして、上述した実施形態を例に説明した本願発明は、図9に示した情報処理装置900に対して、次の機能を実現可能なコンピュータプログラムを供給する。その機能とは、その実施形態の説明において参照したブロック構成図(図1及び図8)における上述した構成、或いはフローチャート(図6及び図7)の機能である。本願発明は、その後、そのコンピュータプログラムを、当該ハードウェアのCPU901に読み出して解釈し実行することによって達成される。また、当該装置内に供給されたコンピュータプログラムは、読み書き可能な揮発性のメモリ(RAM903)、または、ROM902やハードディスク904等の不揮発性の記憶デバイスに格納すれば良い。   The present invention described by taking the above embodiment as an example supplies a computer program capable of realizing the following functions to the information processing apparatus 900 shown in FIG. The function is the above-described configuration in the block configuration diagram (FIGS. 1 and 8) referred to in the description of the embodiment, or the function of the flowcharts (FIGS. 6 and 7). The present invention is then achieved by reading the computer program to the CPU 901 of the hardware, interpreting it and executing it. The computer program supplied to the apparatus may be stored in a readable / writable volatile memory (RAM 903) or a nonvolatile storage device such as the ROM 902 or the hard disk 904.

また、前記の場合において、当該ハードウェア内へのコンピュータプログラムの供給方法は、現在では一般的な手順を採用することができる。その手順としては、例えば、CD−ROM等の各種記録媒体907を介して当該装置内にインストールする方法や、インターネット等の通信回線を介して外部よりダウンロードする方法等がある。そして、このような場合において、本願発明は、係るコンピュータプログラムを構成するコード或いは、そのコードが格納された記録媒体907によって構成されると捉えることができる。   In the above case, a general procedure can be adopted as a method for supplying the computer program into the hardware. The procedure includes, for example, a method of installing in the apparatus via various recording media 907 such as a CD-ROM, a method of downloading from the outside via a communication line such as the Internet, and the like. In such a case, it can be understood that the present invention is configured by a code constituting the computer program or a recording medium 907 in which the code is stored.

以上、上述した実施形態を模範的な例として本願発明を説明した。しかしながら、本願発明は、上述した実施形態には限定されない。即ち、本願発明は、本願発明のスコープ内において、当業者が理解し得る様々な態様を適用することができる。   The present invention has been described above using the above-described embodiment as an exemplary example. However, the present invention is not limited to the embodiment described above. That is, the present invention can apply various modes that can be understood by those skilled in the art within the scope of the present invention.

1 待機系装置
10 動作環境同期装置
11 抽出部
12 判定部
13 更新部
101 動作環境情報
103 差分情報
1030 ヘッダエリア
1031 データエリア
1032 フラグ
1033 オフセット
1034 サイズ
1035 データ
110 待機サーバ
111 動作環境情報
112 BIOS
2 運用系装置
200 管理サーバ
201 動作環境情報
210 運用サーバ
211 動作環境情報
2111 設定情報
2112 構成情報
2113 レビジョン
212 BIOS
3 動作環境同期システム
4 待機系装置
40 動作環境同期装置
41 抽出部
42 判定部
43 更新部
403 差分情報
411 第2の動作環境情報
5 運用系装置
511 第1の動作環境情報
900 情報処理装置
901 CPU
902 ROM
903 RAM
904 ハードディスク(記憶装置)
905 通信インタフェース
906 バス
907 記録媒体
908 リーダライタ
909 入出力インタフェース
DESCRIPTION OF SYMBOLS 1 Standby system apparatus 10 Operation environment synchronization apparatus 11 Extraction part 12 Determination part 13 Update part 101 Operation environment information 103 Difference information 1030 Header area 1031 Data area 1032 Flag 1033 Offset 1034 Size 1035 Data 110 Standby server 111 Operation environment information 112 BIOS
2 Operational Device 200 Management Server 201 Operating Environment Information 210 Operation Server 211 Operating Environment Information 2111 Setting Information 2112 Configuration Information 2113 Revision 212 BIOS
DESCRIPTION OF SYMBOLS 3 Operating environment synchronization system 4 Standby system apparatus 40 Operating environment synchronization apparatus 41 Extraction part 42 Judgment part 43 Update part 403 Difference information 411 2nd operating environment information 5 Operation system apparatus 511 1st operating environment information 900 Information processing apparatus 901 CPU
902 ROM
903 RAM
904 Hard disk (storage device)
905 Communication interface 906 Bus 907 Recording medium 908 Reader / writer 909 Input / output interface

Claims (10)

運用系装置から待機系装置へのフェイルオーバーが行われる冗長化されたシステムにおいて、前記運用系装置の動作環境を表す第一の動作環境情報と、前記フェイルオーバーが行われるときに前記待機系装置によって読み込まれる第二の動作環境情報との差分を表す差分情報を抽出する抽出手段と、
前記差分情報に含まれる情報量が所定の条件を満たすか否かを判定する判定手段と、
前記フェイルオーバーによって、前記第二の動作環境情報を前記第一の動作環境情報に更新する際に、前記判定手段が前記所定の条件を満たすと判定した場合は、前記差分情報を用いて更新し、前記判定手段が前記所定の条件を満たさないと判定した場合は、前記差分情報を用いずに更新する更新手段と、
を備える動作環境同期装置。
In a redundant system in which failover from an active device to a standby device is performed, first standby environment information representing an operating environment of the active device and the standby device when the failover is performed Extracting means for extracting difference information representing a difference from the second operating environment information read by
Determination means for determining whether or not the amount of information included in the difference information satisfies a predetermined condition;
When the determination unit determines that the predetermined condition is satisfied when the second operating environment information is updated to the first operating environment information by the failover, the second operating environment information is updated using the difference information. If the determination means determines that the predetermined condition is not satisfied, an update means for updating without using the difference information;
An operating environment synchronization apparatus comprising:
前記判定手段は、前記情報量が閾値以下であるか否かを判定する、
請求項1に記載の動作環境同期装置。
The determination means determines whether the information amount is equal to or less than a threshold;
The operating environment synchronization apparatus according to claim 1.
前記判定手段は、前記更新手段が前記差分情報を用いて前記第二の動作環境情報を前記第一の動作環境情報に更新するのに要する時間と、前記更新手段が前記差分情報を用いずに前記第二の動作環境情報を前記第一の動作環境情報に更新するのに要する時間とが等しくなるときの前記情報量を、前記閾値として用いて判定する、
請求項2に記載の動作環境同期装置。
The determination means includes a time required for the update means to update the second operating environment information to the first operating environment information using the difference information, and the update means does not use the difference information. The amount of information when the time required to update the second operating environment information to the first operating environment information is equal is determined using the threshold value,
The operating environment synchronization apparatus according to claim 2.
前記第一及び第二の動作環境情報は、その世代を表すレビジョン管理情報を含み、
前記抽出手段は、前記第一及び第二の動作環境情報に含まれる前記レビジョン管理情報が示す値が互いに異なる場合に、前記差分情報を抽出し、
前記更新手段は、前記第一及び第二の動作環境情報に含まれる前記レビジョン管理情報が示す値が互いに異なる場合に、前記第二の動作環境情報を前記第一の動作環境情報に更新する、
請求項1乃至3のいずれか一項に記載の動作環境同期装置。
The first and second operating environment information includes revision management information representing the generation,
The extraction means extracts the difference information when the values indicated by the revision management information included in the first and second operating environment information are different from each other,
The update means updates the second operating environment information to the first operating environment information when the values indicated by the revision management information included in the first and second operating environment information are different from each other.
The operating environment synchronization device according to claim 1.
前記第一及び第二の動作環境情報は、複数の項目を含み、
前記抽出手段は、前記項目ごとに前記差分情報を抽出する、
請求項1乃至4のいずれか一項に記載の動作環境同期装置。
The first and second operating environment information includes a plurality of items,
The extraction means extracts the difference information for each item;
The operating environment synchronization device according to claim 1.
前記第一及び第二の動作環境情報は、前記項目として、前記冗長化されたシステムの運用環境を規定する設定情報、及び、当該システムの構成を表す構成情報を含む、
請求項5に記載の動作環境同期装置。
The first and second operating environment information includes, as the items, setting information that defines the operating environment of the redundant system, and configuration information that represents the configuration of the system,
The operating environment synchronization apparatus according to claim 5.
前記第二の動作環境情報は、前記待機系装置が起動する際に前記待機系装置によって実行されるBIOSによって読み込まれる、
請求項1乃至6のいずれか一項に記載の動作環境同期装置。
The second operating environment information is read by a BIOS executed by the standby system device when the standby system device is activated.
The operation environment synchronization apparatus according to claim 1.
請求項1乃至7のいずれか一項に記載の動作環境同期装置を含む前記待機系装置と、前記運用系装置と、を有し、
前記運用系装置は、前記第一の動作環境情報が更新されたとき、及び、前記運用系装置から前記待機系装置への前記フェイルオーバーが行われるときに、前記第一の動作環境情報を前記動作環境同期装置へ送信する、
動作環境同期システム。
The standby system apparatus including the operation environment synchronization apparatus according to any one of claims 1 to 7, and the active system apparatus,
When the first operating environment information is updated and when the failover from the active device to the standby device is performed, the active device is configured to store the first operating environment information. Send to the operating environment synchronization device,
Operating environment synchronization system.
情報処理装置によって、
運用系装置から待機系装置へのフェイルオーバーが行われる冗長化されたシステムにおいて、前記運用系装置の動作環境を表す第一の動作環境情報と、前記フェイルオーバーが行われるときに前記待機系装置によって読み込まれる第二の動作環境情報との差分を表す差分情報を抽出し、
前記差分情報に含まれる情報量が所定の条件を満たすか否かを判定し、
前記フェイルオーバーによって、前記第二の動作環境情報を前記第一の動作環境情報に更新する際に、前記所定の条件を満たすと判定した場合は、前記差分情報を用いて更新し、前記所定の条件を満たさないと判定した場合は、前記差分情報を用いずに更新する、
動作環境同期方法。
Depending on the information processing device,
In a redundant system in which failover from an active device to a standby device is performed, first standby environment information representing an operating environment of the active device and the standby device when the failover is performed Extract the difference information representing the difference with the second operating environment information read by
Determining whether the amount of information included in the difference information satisfies a predetermined condition;
When it is determined that the predetermined condition is satisfied when the second operating environment information is updated to the first operating environment information by the failover, the second operating environment information is updated using the difference information. If it is determined that the condition is not satisfied, update without using the difference information.
Operating environment synchronization method.
運用系装置から待機系装置へのフェイルオーバーが行われる冗長化されたシステムにおいて、前記運用系装置の動作環境を表す第一の動作環境情報と、前記フェイルオーバーが行われるときに前記待機系装置によって読み込まれる第二の動作環境情報との差分を表す差分情報を抽出する抽出処理と、
前記差分情報に含まれる情報量が所定の条件を満たすか否かを判定する判定処理と、
前記フェイルオーバーによって、前記第二の動作環境情報を前記第一の動作環境情報に更新する際に、前記判定処理が前記所定の条件を満たすと判定した場合は、前記差分情報を用いて更新し、前記判定処理が前記所定の条件を満たさないと判定した場合は、前記差分情報を用いずに更新する更新処理と、
をコンピュータに実行させるための動作環境同期プログラム。
In a redundant system in which failover from an active device to a standby device is performed, first standby environment information representing an operating environment of the active device and the standby device when the failover is performed An extraction process for extracting difference information representing a difference from the second operating environment information read by
A determination process for determining whether or not an amount of information included in the difference information satisfies a predetermined condition;
When the determination process determines that the predetermined condition is satisfied when the second operation environment information is updated to the first operation environment information by the failover, the second operation environment information is updated using the difference information. When the determination process determines that the predetermined condition is not satisfied, an update process for updating without using the difference information;
An operating environment synchronization program that causes a computer to execute.
JP2016226990A 2016-11-22 2016-11-22 Operating environment synchronization device, operating environment synchronization system, operating environment synchronization method, and operating environment synchronization program Active JP6773533B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016226990A JP6773533B2 (en) 2016-11-22 2016-11-22 Operating environment synchronization device, operating environment synchronization system, operating environment synchronization method, and operating environment synchronization program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016226990A JP6773533B2 (en) 2016-11-22 2016-11-22 Operating environment synchronization device, operating environment synchronization system, operating environment synchronization method, and operating environment synchronization program

Publications (2)

Publication Number Publication Date
JP2018084914A true JP2018084914A (en) 2018-05-31
JP6773533B2 JP6773533B2 (en) 2020-10-21

Family

ID=62237175

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016226990A Active JP6773533B2 (en) 2016-11-22 2016-11-22 Operating environment synchronization device, operating environment synchronization system, operating environment synchronization method, and operating environment synchronization program

Country Status (1)

Country Link
JP (1) JP6773533B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012221321A (en) * 2011-04-11 2012-11-12 Nec Corp Fault tolerant computer system, control method for fault tolerant computer system and control program for fault tolerant computer system
WO2014080492A1 (en) * 2012-11-22 2014-05-30 株式会社日立製作所 Computer system, cluster management method, and management computer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012221321A (en) * 2011-04-11 2012-11-12 Nec Corp Fault tolerant computer system, control method for fault tolerant computer system and control program for fault tolerant computer system
WO2014080492A1 (en) * 2012-11-22 2014-05-30 株式会社日立製作所 Computer system, cluster management method, and management computer

Also Published As

Publication number Publication date
JP6773533B2 (en) 2020-10-21

Similar Documents

Publication Publication Date Title
US8904055B2 (en) Switching control device and switching control method
CN110780890A (en) System upgrading method and device, electronic equipment and medium
CN110597910A (en) Remote data synchronization method, device and system
CN110413200B (en) Method, apparatus and computer program product for data synchronization
CN110019498B (en) Log synchronization method and device, storage medium and electronic equipment
CN108733311B (en) Method and apparatus for managing storage system
EP3147797B1 (en) Data management method, node and system for database cluster
US8495012B2 (en) System and method for managing root file system
EP4270299A1 (en) Operating system upgrade method, electronic device, and storage medium
JP6773533B2 (en) Operating environment synchronization device, operating environment synchronization system, operating environment synchronization method, and operating environment synchronization program
JP5671327B2 (en) Communication processing apparatus and communication processing method
US11334444B2 (en) Method, device and computer program product for managing a storage system
CN108762988B (en) Data processing method and related equipment
EP4002811A1 (en) Data synchronization method and apparatus
CN113704177B (en) Storage method, system and related components of server firmware upgrade file
JP4978109B2 (en) Network system and information processing method
CN114721583A (en) Method, apparatus and computer program product for managing a storage system
JP5870999B2 (en) Data processing method and data processing system
JP6928148B1 (en) Fault tolerant system, fault tolerant control method, and fault tolerant control program
JP7095296B2 (en) Distributed configuration management device, distributed configuration management method, and distributed configuration management program
JP7242744B2 (en) Migration support method and system
US20240103984A1 (en) Leveraging backup process metadata for data recovery optimization
CN114610526B (en) Data disaster tolerance method, system, device and equipment
US20240220299A1 (en) VM Disk Conversion (Resistible to Power Off)
JP2011186857A (en) Host device and device control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191015

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200826

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: 20200908

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201001

R150 Certificate of patent or registration of utility model

Ref document number: 6773533

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150