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 PDFInfo
- 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
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
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,
フェイルオーバーが行なわれるときに、特許文献1によって開示された技術などを用いることにより、待機系装置が動作環境情報について運用系装置と同期を取る処理を高速化することができる。すなわち、待機系装置は、自装置の動作環境情報を運用系装置の動作環境情報に更新する場合に、動作環境情報に関する自装置と運用系装置との差分を示す差分情報を用いることにより、動作環境情報全体を更新する必要がなくなるので、その更新を高速化することができる。
When the failover is performed, by using the technique disclosed in
しかしながら、差分情報を用いた更新を行うことにより、動作環境情報全体を更新するときよりも、かえって更新時間が長くなる場合があるという問題がある。すなわち、差分情報を用いた同期処理では、動作環境情報における差分箇所を確認しながら更新を行なう必要があるので、差分箇所が多い(差分情報の情報量が大きい)場合では、差分箇所を確認することによって生じるオーバーヘッドが大きくなる。したがって、このような場合は、動作環境情報全体を更新したほうが、差分情報を用いた更新を行うときよりも、更新時間が短くなる。特許文献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
本願発明の一態様に係る動作環境同期装置は、運用系装置から待機系装置へのフェイルオーバーが行われる冗長化されたシステムにおいて、前記運用系装置の動作環境を表す第一の動作環境情報と、前記フェイルオーバーが行われるときに前記待機系装置によって読み込まれる第二の動作環境情報との差分を表す差分情報を抽出する抽出手段と、前記差分情報に含まれる情報量が所定の条件を満たすか否かを判定する判定手段と、前記フェイルオーバーによって、前記第二の動作環境情報を前記第一の動作環境情報に更新する際に、前記判定手段が前記所定の条件を満たすと判定した場合は、前記差分情報を用いて更新し、前記判定手段が前記所定の条件を満たさないと判定した場合は、前記差分情報を用いずに更新する更新手段と、を備える。 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.
以下、本願発明の実施の形態について図面を参照して詳細に説明する。 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
運用系装置2は、管理サーバ200と運用サーバ210とを有する。管理サーバ200及び運用サーバ210は、互いに独立した物理サーバであってもよいし、仮想サーバであってもよい。運用サーバ210は、BIOS212を実行し、その動作環境は、動作環境情報211によって規定される。BIOS212及び動作環境情報211は、運用サーバ210が備える記憶デバイス(図示せず)に記憶されている。当該記憶デバイスは、例えば、揮発性のメモリや不揮発性のメモリなどである。運用サーバ210は、様々なアプリケーションを実行することによって、様々なサービスをユーザに提供する。
The
図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
動作環境情報211は、動作環境同期システム3においてフェイルオーバーが行なわれる際に、運用系装置2と待機系装置1との間で、同期をとる対象となる情報である。図1に示す動作環境情報201、動作環境情報101、及び、動作環境情報111の構成も、動作環境情報211と同様である。なお、動作環境情報211の構成は、図2に例示する構成に限定されない。
The
図1に示す管理サーバ200は、運用サーバ210の状態等を管理するサーバであり、待機系装置1と通信可能に接続されている。管理サーバ200は、動作環境情報211の写しを動作環境情報201として、内蔵する記憶デバイス(図示せず)に記憶している。当該記憶デバイスは、例えば、揮発性のメモリや不揮発性のメモリなどである。管理サーバ200は、最新の動作環境情報201を、待機系装置1へ送信する。
The
待機系装置1は、管理サーバ100と待機サーバ110とを有する。管理サーバ100及び待機サーバ110は、互いに独立した物理サーバであってもよいし、仮想サーバであってもよい。待機サーバ110は、BIOS112を実行し、その動作環境は、動作環境情報111によって規定される。BIOS112及び動作環境情報111は、待機サーバ110が備える記憶デバイス(図示せず)に記憶されている。待機サーバ110は、運用サーバ210が正常に稼動しているときは、コールドスタンバイ状態にある。但し、コールドスタンバイとは、冗長化されたシステムにおいて、運用系装置が稼動している間は、待機系装置を稼動させずに待機状態にしておく形態である。そして、動作環境情報111は、待機サーバ110がコールドスタンバイ状態にあるときは、更新不能な情報であることとする。待機サーバ110は、運用サーバ210に障害が発生した場合に、フェイルオーバーによって起動し、運用サーバ210の機能を引き継ぐ。
The
管理サーバ100は、待機サーバ110の状態等を管理するサーバであり、運用系装置2と通信可能に接続されている。管理サーバ100は、動作環境同期装置10を内包し、フェイルオーバーにおいて、運用サーバ210と待機サーバ110との間で、動作環境情報を同期させる処理を制御する。動作環境同期装置10の詳細動作については後述する。
The
次に図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
運用サーバ210は、ユーザによって入力されたセットアップ変更内容に従って、動作環境情報211を更新する(ステップS105)。運用サーバ210は、セットアップ処理の完了を、管理サーバ200に報告する(ステップS106)。管理サーバ200は、運用サーバ210をリブートする(ステップS107)。
The
運用サーバ210は、更新された動作環境情報211を、管理サーバ200へ送信する(ステップS108)。管理サーバ200は、動作環境情報201を運用サーバ210から受信した動作環境情報211に更新する(ステップS109)。管理サーバ200は、動作環境情報211の受信完了を、運用サーバ210へ報告する(ステップS110)。
The
管理サーバ200は、動作環境情報201を管理サーバ100へ送信する(ステップS111)。管理サーバ100は、動作環境情報の同期に関する事前準備処理(その詳細は後述する)を行なう(ステップS300)。管理サーバ100は、動作環境情報201の受信完了を、管理サーバ200へ報告する(ステップS112)。運用サーバ210は、OS(Operating System)を起動し、運用を開始する(ステップS113)。
The
図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
管理サーバ100は、動作環境情報の同期に関する事前準備処理を行う(ステップS300)。管理サーバ100は、動作環境情報201の受信完了を、管理サーバ200へ報告する(ステップS204)。管理サーバ100は、フェイルオーバーの準備完了を、管理サーバ200へ報告する(ステップS205)。
The
管理サーバ100は、待機サーバ110の電源をオンする(ステップS206)。管理サーバ100及び待機サーバ110は、動作環境情報の同期処理(その詳細は後述する)を行なう(ステップS400)。待機サーバ110は、OS(Operating System)を起動し、フェイルオーバー後の運用を開始する(ステップS207)。
The
次に、図1に示す動作環境同期装置10の詳細動作について説明する。動作環境同期装置10は、待機サーバ110における動作環境情報111と、運用サーバ210における動作環境情報211とが同期するように制御する装置である。すなわち、動作環境同期装置10は、フェイルオーバーが行なわれる場合に、待機サーバ110が、運用サーバ21の動作環境を引き継いで動作できるように制御する。動作環境同期装置10は、図1に示す通り、抽出部11、判定部12、及び、更新部13を備えている。
Next, detailed operation of the operating
抽出部11は、動作環境同期装置10に動作環境情報101が記憶されている場合、動作環境情報101と管理サーバ200から受信した動作環境情報201との差分を、差分情報103として抽出する。なお、例えば、動作環境同期システム3において冗長化されたシステムを構築するために、待機系装置1が新たに設置されたときなどでは、動作環境同期装置10に、動作環境情報101が記憶されていない場合がある。
When the
抽出部11は、動作環境情報101と動作環境情報201とに含まれるレビジョン(図2に例示するレビジョン2113に相当)が等しい場合、動作環境情報101と動作環境情報201とが同一であるとみなして、差分情報103を抽出する処理を行わない。抽出部11は、動作環境情報101と動作環境情報201とに含まれるレビジョンが異なる場合、図2に例示する設定情報2111及び構成情報2112などの項目ごとに、例えばビット単位で動作環境情報101と動作環境情報201との排他的論理和を算出することによって、差分情報103を抽出する処理を行う。抽出部11は、抽出した差分情報103を、動作環境同期装置10が内蔵する記憶デバイス(図示せず)に記憶する。当該記憶デバイスは、例えば、揮発性のメモリや不揮発性のメモリなどである。
The
図5は、本実施形態に係る差分情報103の構成を概念的に例示する図である。差分情報103は、ヘッダエリア1030、及び、データエリア1031を含んでいる。
FIG. 5 is a diagram conceptually illustrating the configuration of the
ヘッダエリア1030には、Signatureが格納されている。Signatureは、差分情報103が動作環境同期装置10に最初に格納されるときに書き込まれ、差分情報103が削除されるときに消去される。すなわち、ヘッダエリア1030にSignatureが格納されていることは、差分情報103が動作環境同期装置10に存在することを示している。
Signature is stored in the header area 1030. The signature is written when the
データエリア1031は、差分情報103の本体を構成し、フラグ1032、オフセット1033、サイズ1034、及び、データ1035という4つの項目を含む、1以上のエントリを含んでいる。このうちデータ1035には、例えばエントリごとに、差分情報103における最大8バイト分の本体のデータ(差分データ)が格納されていることとする。
The data area 1031 constitutes the main body of the
フラグ1032には、「Data」、「Area」、「Cont」、「Invalid」のうちのいずれかが設定されている。「Data」は、そのエントリのデータ1035として格納されている差分データのサイズが8バイト以下であることを示す。「Area」は、8バイトより大きい差分データが連続する複数のエントリに亘って格納されている場合に、そのエントリが当該差分データを格納する最初のエントリであることを示す。「Cont」は、8バイトより大きい差分データが連続する複数のエントリに亘って格納されている場合に、そのエントリが当該差分データを格納する2番目以降のエントリであることを示す。「Invalid」は、そのエントリに差分データが格納されていない(すなわち、当該エントリが無効である)ことを示す。
In the
オフセット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
サイズ1034には、そのエントリに格納する差分データのサイズが格納されている。ただし、フラグ1032が「Area」であるエントリにおけるオフセット1033には、当該エントリを先頭に複数のエントリに亘って格納された8バイトより大きい差分データ全体のサイズが格納されている。
The
例えば、図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
図5に例示する差分情報103の構成は一例であり、差分情報103の構成は、図5に例示する構成とは異なってもよい。
The configuration of the
図1に示す判定部12は、フェイルオーバーによって、動作環境同期装置10が、動作環境情報111を動作環境情報101に更新する際に、抽出部11によって抽出された差分情報103に含まれる情報量(データ量)が、所定の条件を満たすか否か(例えば、所定の閾値以下であるか否か)を判定する。
1 determines the amount of information included in the
判定部12は、例えば、動作環境情報101に含まれる情報量の半分を、当該閾値として使用してもよい。判定部12は、あるいは、後述する更新部13が、差分情報103を用いて動作環境情報111を動作環境情報101に更新するのに要する時間と、差分情報103を用いずに動作環境情報111を動作環境情報101に更新するのに要する時間とが等しくなるときの情報量を、当該閾値として使用してもよい。ただし、差分情報103に含まれる情報量に応じて、動作環境情報111を動作環境情報101に更新するのに要する時間は、事前に測定された値として得られていることとする。差分情報103を用いて動作環境情報111を動作環境情報101に更新するのに要する時間は、差分箇所を確認することによって生じるオーバーヘッドの増加に伴い、差分情報103に含まれる情報量が大きくなるにつれて長くなる。
For example, the
更新部13は、フェイルオーバーが行われるときに、動作環境情報111を動作環境情報101に更新する。更新部13は、この際、判定部12による判定結果が、差分情報103に含まれる情報量が閾値以下であることを示す場合は、差分情報103を用いて動作環境情報111を更新する。この場合更新部13は、動作環境情報111における差分情報103により示されるオフセットアドレスを確認し、動作環境情報111における当該オフセットアドレスのデータを、差分情報103の内容に基づいて更新する。
The
更新部13は、判定部12による判定結果が、差分情報103に含まれる情報量が閾値より大きいことを示す場合は、差分情報103を用いずに、動作環境情報101全体を待機サーバ110に複写することによって、動作環境情報111を動作環境情報101に更新する(置き換える)。
If the determination result by the
次に図6及び図7のフローチャートを参照して、本実施形態に係る動作環境同期装置10の動作(処理)について詳細に説明する。
Next, the operation (processing) of the operating
図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
動作環境同期装置10は、ステップS300の処理を開始するのにあたり、管理サーバ200から、動作環境情報201を受信する(ステップS301)。更新部13は、動作環境同期装置10に、動作環境情報101が記憶されているか否かを確認する(ステップS302)。
The operating
動作環境情報101が動作環境同期装置10に記憶されている場合(ステップS303でYes)、更新部13は、動作環境情報201と動作環境情報101とのレビジョンが等しいか否かを確認する(ステップS304)。レビジョンが等しい場合(ステップS305でYes)、処理はステップS307へ進む。
When the operating
レビジョンが異なる場合(ステップS305でNo)、更新部13は、管理サーバ200から受信した動作環境情報201を、動作環境情報101として、動作環境同期装置10に格納し(ステップS306)、処理はステップS307へ進む。
When the revisions are different (No in step S305), the updating
抽出部11は、動作環境情報101と動作環境情報111とのレビジョンが等しいか否かを確認する(ステップS307)。レビジョンが等しい場合(ステップS308でYes)、ステップS300の処理は終了する。レビジョンが異なる場合(ステップS308でNo)、抽出部11は、動作環境情報101と、動作環境情報111との差分を差分情報103として抽出し、抽出した差分情報103を、動作環境同期装置10に格納し(ステップS309)、ステップS300の処理は終了する。
The
図7は、動作環境同期装置10が行なう、動作環境情報の同期処理を示すフローチャートである。図7のフローチャートに示す同期処理は、図4のシーケンス図に示すステップS400に相当する。
FIG. 7 is a flowchart showing a synchronization process of the operating environment information performed by the operating
更新部13は、動作環境情報101と動作環境情報111とのレビジョンが等しいか否かを確認する(ステップS401)。レビジョンが等しい場合(ステップS402でYes)、ステップS400の処理は終了する。
The
レビジョンが異なる場合(ステップ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
本実施形態に係る動作環境同期装置10は、冗長化されたシステムにおいてフェイルオーバーが行われるときに、待機系装置が、動作環境情報について運用系装置と高速かつ柔軟に同期を取るようにすることができる。その理由は、動作環境同期装置10は、動作環境情報について、運用系装置と待機系装置との差分を抽出した差分情報に含まれる情報量が所定の条件を満たすか否かに応じて、動作環境情報の更新において、差分情報を使用するか否かを決めるからである。
The operation
以下に、本実施形態に係る動作環境同期装置10によって実現される効果について、詳細に説明する。
Below, the effect implement | achieved by the operating
フェイルオーバーにおいて、待機系装置は、自装置の動作環境情報を運用系装置の動作環境情報に更新する(同期をとる)際に、動作環境情報に関する自装置と運用系装置との差分を示す差分情報を用いることにより、その更新を高速化することができる。しかしながら、差分情報を用いた更新した場合、差分箇所を確認することによって生じるオーバーヘッドが大きくなることによって、動作環境情報全体を更新したときよりも、動作環境情報の更新時間がかえって長くなる(悪化する)といった問題がある。 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
また、本実施形態に係る判定部12は、更新部13が差分情報103を用いて動作環境情報111を動作環境情報101に更新するのに要する時間と、前記更新部13が差分情報103を用いずに動作環境情報111を動作環境情報101に更新するのに要する時間とが等しくなるときの差分情報103に含まれる情報量を、閾値として用いて判定する。すなわち、本実施形態に係る動作環境同期装置10は、差分情報103に含まれる情報量に応じて、動作環境情報111を動作環境情報101に更新するのに要する時間が最短になるように制御する。これにより、本実施形態に係る動作環境同期装置10は、待機系装置が、動作環境情報について運用系装置と高速かつ柔軟に同期を取るようにすることを、高い精度で行なうことができる。
In addition, the
また、上述した本実施形態では、動作環境同期装置10は、管理サーバ100に内包されているが、動作環境同期装置10が実装される構成は、図1に示す構成に限定されない。動作環境同期装置10は、管理サーバ100と通信可能に接続された、管理サーバ100とは異なる装置であってもよい。あるいは、動作環境同期装置10が備える機能の少なくとも一部を、例えばBIOS112が備えるようにしてもよい。
Moreover, in this embodiment mentioned above, although the operation
<第2の実施形態>
図8は、本願発明の第2の実施形態に係る動作環境同期装置40の構成を概念的に示すブロック図である。
<Second Embodiment>
FIG. 8 is a block diagram conceptually showing the configuration of the operating
本実施形態に係る動作環境同期装置40は、抽出部41、判定部42、及び、更新部43を備えている。
The operating
抽出部41は、運用系装置5から待機系装置4へのフェイルオーバーが行われる冗長化されたシステムにおいて、運用系装置5の動作環境を表す第1の動作環境情報511と、フェイルオーバーが行われるときに待機系装置4によって読み込まれる第2の動作環境情報411との差分を表す差分情報403を抽出する。
In a redundant system in which failover from the
判定部42は、差分情報403に含まれる情報量が所定の条件を満たすか否かを判定する。
The
更新部43は、フェイルオーバーによって、第2の動作環境情報411を第1の動作環境情報511に更新する際に、判定部42が当該所定の条件を満たすと判定した場合は、差分情報403を用いて更新する。更新部43は、判定部42が当該所定の条件を満たさないと判定した場合は、差分情報403を用いずに、第2の動作環境情報411を第1の動作環境情報511に更新する。
When the updating
本実施形態に係る動作環境同期装置40は、冗長化されたシステムにおいてフェイルオーバーが行われるときに、待機系装置が、動作環境情報について運用系装置と高速かつ柔軟に同期を取るようにすることができる。その理由は、動作環境同期装置40は、動作環境情報について、運用系装置5と待機系装置と4の差分を抽出した差分情報403に含まれる情報量が所定の条件を満たすか否かに応じて、動作環境情報の更新において、差分情報403を使用するか否かを決めるからである。
The operating
<ハードウェア構成例>
上述した各実施形態において図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
-
-
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
CPU (Central_Processing_Unit) 901,
ROM (Read_Only_Memory) 902,
RAM (Random_Access_Memory) 903,
-Hard disk (storage device) 904,
A
・ Bus 906 (communication line),
A reader /
An input /
即ち、上記構成要素を備える情報処理装置900は、これらの構成がバス906を介して接続された一般的なコンピュータである。情報処理装置900は、CPU901を複数備える場合もあれば、マルチコアにより構成されたCPU901を備える場合もある。
In other words, the
そして、上述した実施形態を例に説明した本願発明は、図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
また、前記の場合において、当該ハードウェア内へのコンピュータプログラムの供給方法は、現在では一般的な手順を採用することができる。その手順としては、例えば、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
以上、上述した実施形態を模範的な例として本願発明を説明した。しかしながら、本願発明は、上述した実施形態には限定されない。即ち、本願発明は、本願発明のスコープ内において、当業者が理解し得る様々な態様を適用することができる。 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
2
DESCRIPTION OF SYMBOLS 3 Operating environment synchronization system 4
902 ROM
903 RAM
904 Hard disk (storage device)
905
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.
請求項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.
前記運用系装置は、前記第一の動作環境情報が更新されたとき、及び、前記運用系装置から前記待機系装置への前記フェイルオーバーが行われるときに、前記第一の動作環境情報を前記動作環境同期装置へ送信する、
動作環境同期システム。 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.
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)
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 |
-
2016
- 2016-11-22 JP JP2016226990A patent/JP6773533B2/en active Active
Patent Citations (2)
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 |