Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6773533B2 - Operating environment synchronization device, operating environment synchronization system, operating environment synchronization method, and operating environment synchronization program - Google Patents
[go: Go Back, main page]

JP6773533B2 - Operating environment synchronization device, operating environment synchronization system, operating environment synchronization method, and operating environment synchronization program - Google Patents

Operating environment synchronization device, operating environment synchronization system, operating environment synchronization method, and operating environment synchronization program Download PDF

Info

Publication number
JP6773533B2
JP6773533B2 JP2016226990A JP2016226990A JP6773533B2 JP 6773533 B2 JP6773533 B2 JP 6773533B2 JP 2016226990 A JP2016226990 A JP 2016226990A JP 2016226990 A JP2016226990 A JP 2016226990A JP 6773533 B2 JP6773533 B2 JP 6773533B2
Authority
JP
Japan
Prior art keywords
operating environment
information
environment information
difference
system device
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
JP2016226990A
Other languages
Japanese (ja)
Other versions
JP2018084914A (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 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)

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 information-oriented society, high availability is required for computer systems that build social infrastructure. And, in order to realize high availability, many computer systems constitute a redundant system by an active system device and a standby system device.

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

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

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

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

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

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

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

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

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

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

本願発明の第1の実施形態に係る動作環境同期システム3の構成を示すブロック図である。It is a block diagram which shows the structure of the operating environment synchronization system 3 which concerns on 1st Embodiment of this 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 normal operation 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 at the time of 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 1st Embodiment of this invention. 本願発明の第1の実施形態に係る動作環境同期装置10が行なう、動作環境情報の同期に関する事前準備処理を示すフローチャートである。It is a flowchart which shows the advance preparation process about the synchronization of the operating environment information performed by the operating environment synchronization apparatus 10 which concerns on 1st Embodiment of this invention. 本願発明の第1の実施形態に係る動作環境同期装置10が行なう、動作環境情報の同期処理を示すフローチャートである。It is a flowchart which shows the synchronization processing of the operating environment information performed by the operating environment synchronization apparatus 10 which concerns on 1st Embodiment of this invention. 本願発明の第2の実施形態に係る動作環境同期装置40の構成を示すブロック図である。It is a block diagram which shows the structure of the operating environment synchronization apparatus 40 which concerns on 2nd Embodiment of this invention. 本願発明の各実施形態に係る動作環境同期装置を実行可能な情報処理装置900の構成を示すブロック図である。It is a block diagram which shows the structure of the information processing apparatus 900 which can execute 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 operating system device 2 and a standby system device 1. In the operating environment synchronization system 3, when a failure occurs in the operating system device 2, failover is performed in which the standby system device 1 takes over the functions of the operating system device 2.

運用系装置2は、管理サーバ200と運用サーバ210とを有する。管理サーバ200及び運用サーバ210は、互いに独立した物理サーバであってもよいし、仮想サーバであってもよい。運用サーバ210は、BIOS212を実行し、その動作環境は、動作環境情報211によって規定される。BIOS212及び動作環境情報211は、運用サーバ210が備える記憶デバイス(図示せず)に記憶されている。当該記憶デバイスは、例えば、揮発性のメモリや不揮発性のメモリなどである。運用サーバ210は、様々なアプリケーションを実行することによって、様々なサービスをユーザに提供する。 The operation system device 2 has a management server 200 and an operation server 210. The management server 200 and the operation server 210 may be physical servers or virtual servers that are independent of each other. 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 non-volatile 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 exemplifying 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 the value is updated every time the operating environment information 211 is updated. The operating environment information 211 is updated by BIOS212.

動作環境情報211は、動作環境同期システム3においてフェイルオーバーが行なわれる際に、運用系装置2と待機系装置1との間で、同期をとる対象となる情報である。図1に示す動作環境情報201、動作環境情報101、及び、動作環境情報111の構成も、動作環境情報211と同様である。なお、動作環境情報211の構成は、図2に例示する構成に限定されない。 The operating environment information 211 is information to be synchronized between the operating system device 2 and the standby system device 1 when a 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. 1 are the same as those of the operating environment information 211. 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 and the like of the operation server 210, and is connected to the standby system device 1 so as to be able to communicate with each other. The management server 200 stores a copy of the operating environment information 211 as the operating environment information 201 in a built-in storage device (not shown). The storage device is, for example, a volatile memory or a non-volatile 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 system device 1 has a management server 100 and a standby server 110. The management server 100 and the standby server 110 may be physical servers or virtual servers that are independent of each other. 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 the cold standby state when the operation server 210 is operating normally. However, the cold standby is a form in which the standby system device is kept in the standby state without being operated while the operation system device is operating in the redundant system. Then, the operating environment information 111 is information that cannot be updated when the standby server 110 is in the cold standby state. When a failure occurs in the operation server 210, the standby server 110 is started by failover and takes over the functions of the operation server 210.

管理サーバ100は、待機サーバ110の状態等を管理するサーバであり、運用系装置2と通信可能に接続されている。管理サーバ100は、動作環境同期装置10を内包し、フェイルオーバーにおいて、運用サーバ210と待機サーバ110との間で、動作環境情報を同期させる処理を制御する。動作環境同期装置10の詳細動作については後述する。 The management server 100 is a server that manages the state and the like of the standby server 110, and is connected to the operation system device 2 so as to be able to communicate with the operation system device 2. The management server 100 includes the operating environment synchronization device 10, and controls the process of synchronizing the operating environment information between the operating server 210 and the standby server 110 in failover. The detailed operation of the operating environment synchronization device 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 the 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). The user inputs the setup change contents (change contents with respect to the operating environment information 211) in the setup menu (step S104).

運用サーバ210は、ユーザによって入力されたセットアップ変更内容に従って、動作環境情報211を更新する(ステップS105)。運用サーバ210は、セットアップ処理の完了を、管理サーバ200に報告する(ステップS106)。管理サーバ200は、運用サーバ210をリブートする(ステップS107)。 The operation server 210 updates the operating environment information 211 according to the setup change contents 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 operating server 210 (step S109). The management server 200 reports the completion of receiving 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 preparatory processing (details will be described later) regarding synchronization of operating environment information (step S300). The management server 100 reports the completion of receiving the operating environment information 201 to the management server 200 (step S112). The operation server 210 starts the OS (Operating System) and starts the 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 occurrence of a failure of its own device to the management server 200 (step S201). The management server 200 instructs the management server 100 to fail over (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 preparatory processing related to synchronization of operating environment information (step S300). The management server 100 reports the completion of receiving 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 power of the standby server 110 (step S206). The management server 100 and the standby server 110 perform synchronous processing of operating environment information (details thereof will be described later) (step S400). The standby server 110 starts the OS (Operating System) and starts the operation after failover (step S207).

次に、図1に示す動作環境同期装置10の詳細動作について説明する。動作環境同期装置10は、待機サーバ110における動作環境情報111と、運用サーバ210における動作環境情報211とが同期するように制御する装置である。すなわち、動作環境同期装置10は、フェイルオーバーが行なわれる場合に、待機サーバ110が、運用サーバ21の動作環境を引き継いで動作できるように制御する。動作環境同期装置10は、図1に示す通り、抽出部11、判定部12、及び、更新部13を備えている。 Next, the detailed operation of the operating environment synchronization device 10 shown in FIG. 1 will be described. The operating environment synchronization device 10 is a device that controls so that the operating environment information 111 in the standby server 110 and the operating environment information 211 in the operating server 210 are synchronized. That is, the operating environment synchronization device 10 controls the standby server 110 so that it can take over the operating environment of the operating server 21 and operate when failover is performed. As shown in FIG. 1, the operating environment synchronization device 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 operating environment information 101 is stored in the operating environment synchronization device 10, the extraction unit 11 extracts the difference between the operating environment information 101 and the operating environment information 201 received from the management server 200 as the difference information 103. For example, when the standby system device 1 is newly installed in order to construct a redundant system in the operating environment synchronization system 3, the operating environment synchronization device 10 stores the operating environment information 101. It may not be.

抽出部11は、動作環境情報101と動作環境情報201とに含まれるレビジョン(図2に例示するレビジョン2113に相当)が等しい場合、動作環境情報101と動作環境情報201とが同一であるとみなして、差分情報103を抽出する処理を行わない。抽出部11は、動作環境情報101と動作環境情報201とに含まれるレビジョンが異なる場合、図2に例示する設定情報2111及び構成情報2112などの項目ごとに、例えばビット単位で動作環境情報101と動作環境情報201との排他的論理和を算出することによって、差分情報103を抽出する処理を行う。抽出部11は、抽出した差分情報103を、動作環境同期装置10が内蔵する記憶デバイス(図示せず)に記憶する。当該記憶デバイスは、例えば、揮発性のメモリや不揮発性のメモリなどである。 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, the extraction unit 11 considers that the operating environment information 101 and the operating environment information 201 are the same. Therefore, 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 sets the operating environment information 101 for each item such as the setting information 2111 and the configuration information 2112 illustrated in FIG. 2, for example, in bit units. The process of extracting the difference information 103 is performed by calculating the 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 device 10. The storage device is, for example, a volatile memory or a non-volatile 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 device 10, and is deleted when the difference information 103 is deleted. That is, the fact that the Signature is stored in the header area 1030 indicates that the difference information 103 exists in the operating environment synchronization device 10.

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

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

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

サイズ1034には、そのエントリに格納する差分データのサイズが格納されている。ただし、フラグ1032が「Area」であるエントリにおけるオフセット1033には、当該エントリを先頭に複数のエントリに亘って格納された8バイトより大きい差分データ全体のサイズが格納されている。 The size 1034 stores the size of the difference data to be stored in the entry. However, the offset 1033 in the entry in which the flag 1032 is "Area" stores the size of the entire difference data larger than 8 bytes stored over the 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 the data 1035 in FIG. 5 stores data represented by a hexadecimal number. 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 bytes of difference data are 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に含まれる情報量(データ量)が、所定の条件を満たすか否か(例えば、所定の閾値以下であるか否か)を判定する。 In the determination unit 12 shown in FIG. 1, the amount of information included in the difference information 103 extracted by the extraction unit 11 when the operating environment synchronization device 10 updates the operating environment information 111 to the operating environment information 101 by failover. It is determined whether or not (data amount) satisfies a predetermined condition (for example, whether or not it is equal to or less than a predetermined threshold value).

判定部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 amount of information included in the operating environment information 101 as the threshold value. The determination unit 12 or the update unit 13, which will be described later, uses the difference information 103 to update the operating environment information 111 to the operating environment information 101, and the operating environment information 111 without using the difference information 103. The amount of information when the time required to update the operating environment information 101 is equal may be used as the threshold value. However, it is assumed that 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 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 increases as the amount of information contained in the difference information 103 increases as the overhead generated by checking the difference points 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 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 value, 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に更新する(置き換える)。 When the determination result by the determination unit 12 indicates that the amount of information included in the difference information 103 is larger than the threshold value, the update unit 13 copies the entire operating environment information 101 to the standby server 110 without using the difference information 103. By doing so, 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 device 10 according to the present embodiment will be described in detail with reference to the flowcharts of FIGS. 6 and 7.

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

動作環境同期装置10は、ステップS300の処理を開始するのにあたり、管理サーバ200から、動作環境情報201を受信する(ステップS301)。更新部13は、動作環境同期装置10に、動作環境情報101が記憶されているか否かを確認する(ステップS302)。 The operating environment synchronization device 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 confirms whether or not the operating environment information 101 is stored in the operating environment synchronization device 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 device 10 (Yes in step S303), the update unit 13 confirms whether or not 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 update unit 13 stores the operating environment information 201 received from the management server 200 as the operating environment information 101 in the operating environment synchronization device 10 (step S306), and the process is stepped. Proceed to S307.

抽出部11は、動作環境情報101と動作環境情報111とのレビジョンが等しいか否かを確認する(ステップS307)。レビジョンが等しい場合(ステップS308でYes)、ステップS300の処理は終了する。レビジョンが異なる場合(ステップS308でNo)、抽出部11は、動作環境情報101と、動作環境情報111との差分を差分情報103として抽出し、抽出した差分情報103を、動作環境同期装置10に格納し(ステップS309)、ステップS300の処理は終了する。 The extraction unit 11 confirms whether or not 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 of step S300 ends. When 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 transfers the extracted difference information 103 to the operating environment synchronization device 10. It is stored (step S309), and the process of step S300 ends.

図7は、動作環境同期装置10が行なう、動作環境情報の同期処理を示すフローチャートである。図7のフローチャートに示す同期処理は、図4のシーケンス図に示すステップS400に相当する。 FIG. 7 is a flowchart showing a synchronization process of operating environment information performed by the operating environment synchronization device 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 confirms whether or not 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 the threshold value (step S403). When the amount of information is equal to or less than the threshold value (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 processing in step S400 is performed. finish. When the amount of information is larger than the threshold value (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 processes in step S400. Is finished.

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

以下に、本実施形態に係る動作環境同期装置10によって実現される効果について、詳細に説明する。 The effects realized by the operating environment synchronization device 10 according to the present embodiment will be described in detail below.

フェイルオーバーにおいて、待機系装置は、自装置の動作環境情報を運用系装置の動作環境情報に更新する(同期をとる)際に、動作環境情報に関する自装置と運用系装置との差分を示す差分情報を用いることにより、その更新を高速化することができる。しかしながら、差分情報を用いた更新した場合、差分箇所を確認することによって生じるオーバーヘッドが大きくなることによって、動作環境情報全体を更新したときよりも、動作環境情報の更新時間がかえって長くなる(悪化する)といった問題がある。 In failover, when the standby system updates (synchronizes) the operating environment information of its own device with the operating environment information of the operating system, it shows the difference between the own device and the operating system device regarding the operating environment information. By using the information, the update can be accelerated. However, when updating using the difference information, the overhead generated by checking the difference location becomes large, so that the update time of the operating environment information becomes longer (worse) 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は、冗長化されたシステムにおいてフェイルオーバーが行われるときに、待機系装置が、動作環境情報について運用系装置と高速かつ柔軟に同期を取るようにすることができる。 To solve such a problem, the operating environment synchronization device 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 operation server 210 (operation system device 2) to the standby server 110 (standby system device 1) is performed. The difference information 103 is information representing the difference between the operating environment information 211 representing the operating environment of the operating server 210 and the operating environment information 111 read by the standby server 110 when 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 updating the operating environment information 111 to the operating environment information 101 by failover, the updating unit 13 updates using the difference information 103 if the determination unit 12 determines that the predetermined condition is satisfied. When 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 device 10 according to the present embodiment enables the standby system device to synchronize the operating environment information with the operation system device at high speed and flexibly when failover is performed in the redundant system. Can be.

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

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

<第2の実施形態>
図8は、本願発明の第2の実施形態に係る動作環境同期装置40の構成を概念的に示すブロック図である。
<Second embodiment>
FIG. 8 is a block diagram conceptually showing the configuration of the operating environment synchronization device 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 operating system device 5 to the standby system device 4 is performed, the extraction unit 41 performs failover with the first operating environment information 511 indicating the operating environment of the operating system device 5. The difference information 403 representing the 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 update unit 43 updates the second operating environment information 411 to the first operating environment information 511 by failover, if the determination unit 42 determines that the predetermined condition is satisfied, the difference information 403 is added. Update using. 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 is such that the standby system device synchronizes the operating environment information with the operation system device at high speed and flexibly when failover is performed in the redundant system. Can be done. The reason is that the operating environment synchronization device 40 depends on whether or not the amount of information contained in the difference information 403 extracted from the difference between the operating system device 5 and the standby system device 4 satisfies a predetermined condition for the operating environment information. This is because it is decided 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 of the above-described embodiments, each part of the operating environment synchronization devices 10 and 40 shown in FIGS. 1 and 8 can be realized by a dedicated HW (HardWare) (electronic circuit). Further, in FIGS. 1 and 8, at least the following configuration can be regarded as a function (processing) unit (software module) of the software program.
-Extractors 11 and 41
Judgment 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 at the time of 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 illustrating an example of a configuration of an information processing device 900 (computer) capable of executing the operating environment synchronization device according to each embodiment of the present invention. That is, FIG. 9 is a configuration of a computer (information processing device) capable of realizing the operating environment synchronization device shown in FIGS. 1 and 8 or a part thereof, and each function in the above-described embodiment can be realized. Represents a hardware environment. The information processing apparatus 900 shown in FIG. 9 includes the following as components.
-CPU (Central_Processing_Unit) 901,
-ROM (Read_Only_Memory) 902,
・ RAM (Random_Access_Memory) 903,
-Hard disk (storage device) 904,
-Communication interface 905 with an external device such as a wireless transmitter / receiver,
・ Bus 906 (communication line),
A reader / writer 908 that can read and write data stored in a recording medium 907 such as a CD-ROM (Compact_Disc_Read_Only_Memory),
-Input / output interface 909.

即ち、上記構成要素を備える情報処理装置900は、これらの構成がバス906を介して接続された一般的なコンピュータである。情報処理装置900は、CPU901を複数備える場合もあれば、マルチコアにより構成されたCPU901を備える場合もある。 That is, the information processing device 900 including the above components is a general computer in which these components 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 processor.

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

また、前記の場合において、当該ハードウェア内へのコンピュータプログラムの供給方法は、現在では一般的な手順を採用することができる。その手順としては、例えば、CD−ROM等の各種記録媒体907を介して当該装置内にインストールする方法や、インターネット等の通信回線を介して外部よりダウンロードする方法等がある。そして、このような場合において、本願発明は、係るコンピュータプログラムを構成するコード或いは、そのコードが格納された記録媒体907によって構成されると捉えることができる。 Further, in the above case, as a method of supplying the computer program into the hardware, a general procedure can be adopted at present. As the procedure, for example, there are a method of installing in the device 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. Then, in such a case, the present invention can be regarded as being composed of a code constituting the computer program or a recording medium 907 in which the code is stored.

以上、上述した実施形態を模範的な例として本願発明を説明した。しかしながら、本願発明は、上述した実施形態には限定されない。即ち、本願発明は、本願発明のスコープ内において、当業者が理解し得る様々な態様を適用することができる。 The invention of the present application has been described above using the above-described embodiment as a model example. However, the present invention is not limited to the above-described embodiments. That is, the present invention can apply various aspects 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 入出力インタフェース
1 Standby system device 10 Operating environment synchronization device 11 Extraction unit 12 Judgment unit 13 Update unit 101 Operating environment information 103 Difference information 1030 Header area 1031 Data area 1032 Flag 1033 Offset 1034 Size 1035 Data 110 Standby server 111 Operating environment information 112 BIOS
2 Operational equipment 200 Management server 201 Operating environment information 210 Operation server 211 Operating environment information 2111 Setting information 2112 Configuration information 2113 Revision 212 BIOS
3 Operating environment synchronization system 4 Standby system equipment 40 Operating environment synchronization device 41 Extraction unit 42 Judgment unit 43 Update unit 403 Difference information 411 Second operating environment information 5 Operation system equipment 511 First operating environment information 900 Information processing device 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 a failover from an active system device to a standby system device is performed, the first operating environment information representing the operating environment of the active system device and the standby system device when the failover is performed. An extraction means that extracts the difference information that represents the difference from the second operating environment information read by
A determination means for determining whether or not the amount of information contained in the difference information satisfies a predetermined condition, and
When updating the second operating environment information to the first operating environment information by the failover, if the determination means determines that the predetermined condition is satisfied, the difference information is used for updating. When it is determined that the determination means does not satisfy the predetermined condition, the update means for updating without using the difference information and the update means.
Operating environment synchronization device.
前記判定手段は、前記情報量が閾値以下であるか否かを判定する、
請求項1に記載の動作環境同期装置。
The determination means determines whether or not the amount of information is equal to or less than a threshold value.
The operating environment synchronization device according to claim 1.
前記判定手段は、前記更新手段が前記差分情報を用いて前記第二の動作環境情報を前記第一の動作環境情報に更新するのに要する時間と、前記更新手段が前記差分情報を用いずに前記第二の動作環境情報を前記第一の動作環境情報に更新するのに要する時間とが等しくなるときの前記情報量を、前記閾値として用いて判定する、
請求項2に記載の動作環境同期装置。
The determination means includes the time required for the updating means to update the second operating environment information to the first operating environment information using the difference information, and the updating means without using the difference information. The amount of information when the time required to update the second operating environment information to the first operating environment information becomes equal is determined by using the threshold value.
The operating environment synchronization device 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 updating 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 any one of claims 1 to 3.
前記第一及び第二の動作環境情報は、複数の項目を含み、
前記抽出手段は、前記項目ごとに前記差分情報を抽出する、
請求項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 any one of claims 1 to 4.
前記第一及び第二の動作環境情報は、前記項目として、前記冗長化されたシステムの運用環境を規定する設定情報、及び、当該システムの構成を表す構成情報を含む、
請求項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 device according to claim 5.
前記第二の動作環境情報は、前記待機系装置が起動する際に前記待機系装置によって実行されるBIOSによって読み込まれる、
請求項1乃至6のいずれか一項に記載の動作環境同期装置。
The second operating environment information is read by the BIOS executed by the standby system device when the standby system device is started.
The operating environment synchronization device according to any one of claims 1 to 6.
請求項1乃至7のいずれか一項に記載の動作環境同期装置を含む前記待機系装置と、前記運用系装置と、を有し、
前記運用系装置は、前記第一の動作環境情報が更新されたとき、及び、前記運用系装置から前記待機系装置への前記フェイルオーバーが行われるときに、前記第一の動作環境情報を前記動作環境同期装置へ送信する、
動作環境同期システム。
The standby system device including the operating environment synchronization device according to any one of claims 1 to 7 and the operation system device.
The operating system device uses the first operating environment information when the first operating environment information is updated and when the failover from the operating system device to the standby system device is performed. Send to the operating environment synchronizer,
Operating environment synchronization system.
情報処理装置によって、
運用系装置から待機系装置へのフェイルオーバーが行われる冗長化されたシステムにおいて、前記運用系装置の動作環境を表す第一の動作環境情報と、前記フェイルオーバーが行われるときに前記待機系装置によって読み込まれる第二の動作環境情報との差分を表す差分情報を抽出し、
前記差分情報に含まれる情報量が所定の条件を満たすか否かを判定し、
前記フェイルオーバーによって、前記第二の動作環境情報を前記第一の動作環境情報に更新する際に、前記所定の条件を満たすと判定した場合は、前記差分情報を用いて更新し、前記所定の条件を満たさないと判定した場合は、前記差分情報を用いずに更新する、
動作環境同期方法。
Depending on the information processing device
In a redundant system in which a failover from an active system device to a standby system device is performed, the first operating environment information representing the operating environment of the active system device and the standby system device when the failover is performed. Extract the difference information that represents the difference from the second operating environment information read by
It is determined whether or not the amount of information included in the difference information satisfies a predetermined condition.
When updating the second operating environment information to the first operating environment information by the failover, if it is determined that the predetermined condition is satisfied, the difference information is used to update and the predetermined operating environment information is used. If it is determined that the conditions are not satisfied, the difference information is not used and the update is performed.
Operating environment synchronization method.
運用系装置から待機系装置へのフェイルオーバーが行われる冗長化されたシステムにおいて、前記運用系装置の動作環境を表す第一の動作環境情報と、前記フェイルオーバーが行われるときに前記待機系装置によって読み込まれる第二の動作環境情報との差分を表す差分情報を抽出する抽出処理と、
前記差分情報に含まれる情報量が所定の条件を満たすか否かを判定する判定処理と、
前記フェイルオーバーによって、前記第二の動作環境情報を前記第一の動作環境情報に更新する際に、前記判定処理が前記所定の条件を満たすと判定した場合は、前記差分情報を用いて更新し、前記判定処理が前記所定の条件を満たさないと判定した場合は、前記差分情報を用いずに更新する更新処理と、
をコンピュータに実行させるための動作環境同期プログラム。
In a redundant system in which a failover from an active system device to a standby system device is performed, the first operating environment information representing the operating environment of the active system device and the standby system device when the failover is performed. Extraction processing that extracts the difference information that represents the difference from the second operating environment information read by
Judgment processing for determining whether or not the amount of information included in the difference information satisfies a predetermined condition, and
When updating the second operating environment information to the first operating environment information by the failover, if it is determined that the determination process satisfies the predetermined condition, the difference information is used for updating. When it is determined that the determination process does not satisfy the predetermined condition, the update process for updating without using the difference information and the update process.
An operating environment synchronization program that allows a computer to run.
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 JP2018084914A (en) 2018-05-31
JP6773533B2 true 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)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5742410B2 (en) * 2011-04-11 2015-07-01 日本電気株式会社 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
JP2018084914A (en) 2018-05-31

Similar Documents

Publication Publication Date Title
EP4095678A1 (en) Method and apparatus of deploying a cluster, device and storage medium
CN103842969B (en) Information processing system
CN104427002B (en) Group system and the method for providing service availability in group system
CN108733311B (en) Method and apparatus for managing storage system
EP3147797B1 (en) Data management method, node and system for database cluster
US12436754B2 (en) Operating system update method, electronic device, and storage medium
US8495012B2 (en) System and method for managing root file system
WO2016107219A1 (en) Data recovery method and apparatus
US20130262913A1 (en) Information processing apparatus, system time synchronization method and computer readable medium
US20170193070A1 (en) System and method for a distributed replication lock for active-active geo-redundant systems
CN115292408A (en) Master-slave synchronization method, device, equipment and medium for MySQL database
CN119902932A (en) A database synchronization method, device, equipment and storage medium
CN112749147A (en) Method and device for merging and migrating data tables in database
CN116610336A (en) Firmware upgrading method, system, device and readable storage medium
JP6773533B2 (en) Operating environment synchronization device, operating environment synchronization system, operating environment synchronization method, and operating environment synchronization program
CN105511808B (en) Data operation method, system and related device
US20240103984A1 (en) Leveraging backup process metadata for data recovery optimization
JP5825655B2 (en) Replication system
CN111142921A (en) Software upgrading method and device
CN111538520B (en) Updating method and device for super-converged cluster, terminal and storage medium
JP7120985B2 (en) Database management system, database management method, and program
CN116048636A (en) DUID synchronization method and device
CN113254051A (en) Multi-terminal point-to-point pushing method
CN112579704A (en) Data reverse synchronization method, device, system, mirror image server and storage medium
JP6928148B1 (en) Fault tolerant system, fault tolerant control method, and fault tolerant control program

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