JP2010198204A - Clustering server system and data transfer method - Google Patents
Clustering server system and data transfer method Download PDFInfo
- Publication number
- JP2010198204A JP2010198204A JP2009041077A JP2009041077A JP2010198204A JP 2010198204 A JP2010198204 A JP 2010198204A JP 2009041077 A JP2009041077 A JP 2009041077A JP 2009041077 A JP2009041077 A JP 2009041077A JP 2010198204 A JP2010198204 A JP 2010198204A
- Authority
- JP
- Japan
- Prior art keywords
- data
- update
- server
- transfer
- transfer method
- 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
- Hardware Redundancy (AREA)
Abstract
Description
本発明は、運用系サーバと待機系サーバとを用いて冗長化されたHA(High Availability)クラスタリングサーバシステムに関する。 The present invention relates to an HA (High Availability) clustering server system that is made redundant using an active server and a standby server.
HA(High Availability)クラスタにおける系間のデータ転送については、データ・レプリケーション(Date Replication)として知られている。このデータ・レプリケーションについては、非特許文献1に体系的な説明が記載されている。
Data transfer between systems in an HA (High Availability) cluster is known as data replication. Non-Patent
また、HAクラスタのミドルウェアとアプリケーションの使用を策定するフォーラムとして、SAF(Service Availability Forum)があり、AIS(Application Interface Specification)と呼ばれるインタフェースが既定されている。AISのおけるデータ・レプリケーションのインタフェースとしては、非特許文献2に記載されているCKPT(Check Point Service)が存在する。
As a forum for formulating the use of HA cluster middleware and applications, there is SAF (Service Availability Forum), and an interface called AIS (Application Interface Specification) is defined. As a data replication interface in AIS, CKPT (Check Point Service) described in
高可用性を実現するHAクラスタにおけるフェイルオーバクラスタリングサーバシステムでは、運用系サーバと待機系サーバとを備え、運用系サーバで障害が発生した場合に、即座に待機系サーバで処理を継続させるために、運用系サーバと待機系サーバとはデータを同期・一致させておく必要がある。このため、運用系サーバのデータが更新されると、当該更新データを待機系サーバに転送し、待機系サーバのデータも運用系サーバと同様に更新される。 The failover clustering server system in the HA cluster that realizes high availability is equipped with an active server and a standby server, so that if a failure occurs in the active server, the standby server immediately continues processing. It is necessary to synchronize and match data between the active server and the standby server. For this reason, when the data of the active server is updated, the update data is transferred to the standby server, and the data of the standby server is also updated in the same manner as the active server.
ここで、運用系サーバから待機系サーバに更新データを転送する方式には、系切替え時(フェイルオーバ時)に更新データを一括で待機系サーバに転送する系切替え時転送方式と、各データの更新毎にその都度更新データを待機系サーバに転送する運用中転送方式との2つの方式がある。 Here, the method of transferring update data from the active server to the standby server includes the transfer method at the time of system switchover in which update data is transferred to the standby server at the time of system switchover (failover), and the update of each data. There are two methods: an in-operation transfer method in which update data is transferred to the standby server each time.
運用系サーバにおいて更新頻度の異なる複数の更新データを待機系サーバへ転送する際に、処理負荷を軽減するために、更新頻度の高い更新データについては系切替え時転送方式で、更新頻度の低い更新データについては運用中転送方式で転送する必要がある。これは、頻繁に更新される更新頻度の高い更新データを、運用中転送方式でその都度転送した場合、運用系サーバおよび待機系サーバの負荷が増大し、システム全体の機能低下が発生してしまうおそれがあるからである。 In order to reduce the processing load when transferring multiple update data with different update frequencies to the standby server on the active server, update data with a low update frequency is used for the update data with a high update frequency by the transfer method during system switchover. Data must be transferred using the in-service transfer method. This is because, when frequently updated data that is frequently updated is transferred using the in-operation transfer method, the load on the active server and standby server increases, resulting in a decrease in the functionality of the entire system. Because there is a fear.
一方、系切替え時転送方式では、運用系サーバと待機系サーバとの間の系間ネットワーク帯域の制限、系切替えによるサービス中断時間の制約などにより、系切替え時に一括して転送可能なデータ量には制限がある。 On the other hand, with the transfer method during system switchover, the amount of data that can be transferred at the time of system switchover is limited due to the limitation of the network bandwidth between the active server and the standby server and the service interruption time due to system switchover. There are limitations.
しかしながら、複数のユーザ端末からの要求などにより、様々なタイミングでそれぞれ更新される各データの更新頻度を正確に予測することは困難であり、したがって各データの更新頻度に適した転送方式を事前に割り当てることも困難である。例えば、過去のトラフィックパターンを用いて各データの更新頻度を予測し、更新頻度が低く予測されたデータを運用中転送方式に割り付けた場合、その後トラフィックパターンが変化してデータの更新頻度が高くなると、データ更新の都度、待機系サーバへの転送が実施されてしまい、処理負荷が上昇し、他のサービス提供に影響を及ぼす可能性が高まる。 However, it is difficult to accurately predict the update frequency of each data updated at various timings due to requests from a plurality of user terminals, and therefore a transfer method suitable for the update frequency of each data is determined in advance. It is also difficult to assign. For example, if the update frequency of each data is predicted using the past traffic pattern, and the data that is predicted to have a low update frequency is assigned to the in-operation transfer method, then the traffic pattern changes and the data update frequency increases. Each time data is updated, the data is transferred to the standby server, which increases the processing load and increases the possibility of affecting other service provisions.
本発明は上記事情に鑑みてなされたものであり、本発明の目的は、運用中転送方式で転送されるデータ量を抑制し、クラスタリングサーバシステムの処理負荷をより低減させることにある。 The present invention has been made in view of the above circumstances, and an object of the present invention is to suppress the amount of data transferred by the operating transfer method and to further reduce the processing load of the clustering server system.
上記目的を達成するため、本発明は、運用系サーバと待機系サーバとを有するクラスタリングサーバシステムであって、前記運用系サーバと前記待機系サーバとの間でのデータ転送方式として、系切替え時に更新データを一括で切替え先サーバに転送する系切替え時転送方式と、各データの更新毎に更新データを切替え先サーバに転送する運用中転送方式とを併用し、前記運用系サーバは、複数のデータを記憶するデータ記憶手段と、前記データ記憶手段に記憶された複数のデータの中で、更新された更新データの更新頻度を記憶する転送リスト記憶手段と、前記運用系サーバと待機系サーバ間で更新データを転送する系間転送管理手段と、を備え、前記系間転送管理手段は、前記転送リスト記憶手段に記憶された更新データのデータ総量を算出し、当該データ総量が前記系切替え時転送方式で転送可能な所定の閾値を超えるか否かを判別し、前記データ総量が前記閾値を超える場合は、前記データ総量が前記閾値以下になるまで、前記転送リスト記憶手段に記憶された更新頻度が最も低い更新データを前記運用中転送方式で前記待機系サーバに転送する。 In order to achieve the above object, the present invention provides a clustering server system having an active server and a standby server, wherein a data transfer method between the active server and the standby server is used during system switching. The system for transfer during system switchover that transfers update data to the switch destination server in batch and the operation transfer method that transfers update data to the switch destination server for each data update are used together. Data storage means for storing data, transfer list storage means for storing the update frequency of updated data among a plurality of data stored in the data storage means, and between the active server and the standby server Inter-system transfer management means for transferring update data in the inter-system transfer management means, wherein the inter-system transfer management means calculates the total amount of update data stored in the transfer list storage means. Determining whether the total amount of data exceeds a predetermined threshold that can be transferred by the transfer method at the time of system switching, and if the total amount of data exceeds the threshold, until the total amount of data falls below the threshold, Update data with the lowest update frequency stored in the transfer list storage means is transferred to the standby server by the in-operation transfer method.
また、本発明は、運用系サーバと待機系サーバとを有するクラスタリングサーバシステム用のデータ転送方法であって、クラスタリングサーバシステムは、前記運用系サーバと前記待機系サーバとの間でのデータ転送方式として、系切替え時に更新データを一括で切替え先サーバに転送する系切替え時転送方式と、各データの更新毎に更新データを切替え先サーバに転送する運用中転送方式とを併用し、前記運用系サーバは、複数のデータを記憶するデータ記憶部と、前記データ記憶部に記憶された複数のデータの中で、更新された更新データの更新頻度を記憶する転送リスト記憶部と、を備え、前記転送リスト記憶部を更新するステップと、前記転送リスト記憶部に記憶された更新データのデータ総量を算出する算出ステップと、前記算出されたデータ総量が前記系切替え時転送方式で転送可能な所定の閾値を超えるか否かを判別する判別ステップと、前記データ総量が前記閾値を超える場合に、前記データ総量が前記閾値以下になるまで、前記転送リスト記憶部に記憶された更新頻度が最も低い更新データを前記運用中転送方式で前記待機系サーバに転送する転送ステップと、を行う。 The present invention is also a data transfer method for a clustering server system having an active server and a standby server, and the clustering server system is a data transfer method between the active server and the standby server. As described above, a combination of a transfer method during system switchover that transfers update data to the switch destination server at the time of system switchover and an in-operation transfer method that transfers update data to the switch destination server for each data update, The server includes a data storage unit that stores a plurality of data, and a transfer list storage unit that stores an update frequency of updated data among the plurality of data stored in the data storage unit, A step of updating the transfer list storage unit, a calculation step of calculating the total amount of update data stored in the transfer list storage unit, and the calculation A determination step for determining whether or not the total data amount exceeds a predetermined threshold that can be transferred by the transfer method at the time of system switching, and when the total data amount exceeds the threshold value, the total data amount becomes equal to or less than the threshold value Until the update data stored in the transfer list storage unit with the lowest update frequency is transferred to the standby server using the operating transfer method.
本発明によれば、各データの更新頻度を動的に算出し、算出した更新頻度に基づいて運用中転送方式で転送するデータを特定するため、運用中転送方式で転送されるデータ量を抑制し、クラスタリングサーバシステムの処理負荷をより低減させることができる。 According to the present invention, the update frequency of each data is dynamically calculated, and the data transferred by the operating transfer method is specified based on the calculated update frequency, so that the amount of data transferred by the operating transfer method is suppressed. Thus, the processing load of the clustering server system can be further reduced.
以下、本発明の実施形態について説明する。 Hereinafter, embodiments of the present invention will be described.
図1は、本発明の実施形態に係るクラスタリングサーバシステムを示す全体構成図である。本実施形態のクラスタリングサーバシステム1は、平常時に稼動する運用系サーバ(現用系サーバ)10と、運用系サーバ10が障害時に稼動する待機系サーバ11とを有する。また、本実施形態では、クラスタリングサーバシステム1は、ネットワーク2を介して複数のユーザ端末3と接続されているものとする。
FIG. 1 is an overall configuration diagram showing a clustering server system according to an embodiment of the present invention. The
本実施形態のクラスタリングサーバシステム1は、運用系サーバと待機系サーバとの間で更新データを転送する方式として、系切替え時(フェイルオーバ時)に更新データを一括で切替え先のサーバに転送する系切替え時転送方式と、各データの更新毎にその都度更新データを切替え先のサーバに転送する運用中転送方式の2つの方式を併用するものとする。
The
なお、運用系サーバ10および待機系サーバ11は、少なくともCPUと、メモリと、HDD等の外部記憶装置とを備えた汎用的なコンピュータシステムを用いることができる。このコンピュータシステムにおいて、CPUがメモリ上にロードされた所定のプログラムを実行することにより、各装置の各機能が実現される。例えば、運用系サーバ10および待機系サーバ11の各機能は、運用系サーバ10用のプログラムの場合は運用系サーバ10のCPUが、そして待機系サーバ11用のプログラムの場合は待機系サーバ11のCPUが、それぞれ実行することにより実現される。
The
図2は、クラスタリングサーバシステム1の構成を示すブロック図である。運用系サーバ10は、メモリ100と、系間転送管理部101と、アプリケーション部102と、転送リスト記憶部103とを有する。待機系サーバ11も、運用系サーバ10と同様に、メモリ110と、系間転送管理部111と、アプリケーション部112と、転送リスト記憶部113とを有する。運用系サーバ10と待機系サーバ11とは、系間ネットワーク12により接続されている。
FIG. 2 is a block diagram showing a configuration of the
運用系サーバ10のメモリ100(データ記憶手段)には、複数のデータが記憶されている。
A plurality of data is stored in the memory 100 (data storage means) of the
図3は、メモリ100に記憶されている各データを説明するための説明図である。メモリ100上に記憶されている各データ(X、Y、Z)301には、当該データ301の管理情報として、更新回数302と、最終更新時刻303と、更新頻度としての平均更新頻度304と、データ量305と、更新フラグ306とが、それぞれ付加されているものとする。
FIG. 3 is an explanatory diagram for explaining each data stored in the memory 100. Each data (X, Y, Z) 301 stored on the memory 100 includes, as management information of the
運用系サーバ10のアプリケーション部102は、複数のユーザ端末3から送信される各種の要求に応じて、または、運用系サーバ10の内部処理により、メモリ100に記憶された所望のデータ301自体を更新するとともに、当該データ301の管理情報302、303、304、306を更新する。
The
すなわち、アプリケーション部102は、例えば、メモリ100上のデータXを更新した場合、データXの更新回数302に「1」を加算し、最終更新時刻303をデータXが更新された時刻に更新する。そして、アプリケーション部102は、更新後の更新回数Nと、更新後の最終更新時刻tNと、更新前(前回)の最終更新時刻tN−1と、更新前(前回)の平均更新頻度αN−1を用いて、例えば以下の式1により更新後の平均更新頻度αNを算出し、算出した値αNを平均更新頻度304に設定する。
That is, for example, when the data X on the memory 100 is updated, the
平均更新頻度αN=N/{(tN-tN−1)+(N−1)/αN−1} 式1
また、アプリケーション部102は、メモリ100上のデータXを更新した場合、更新フラグ306に更新が発生したことを示すフラグ(例えば、「1」)を設定する。なお、既にフラグが設定されている場合は、そのままの状態とする。
Average update frequency α N = N / {(t N −t N−1 ) + (N−1) / α N−1 }
Further, when the data X on the memory 100 is updated, the
データ量305については、メモリ100にデータXを割り当てたタイミングで設定され、データの更新を契機としては変化しない(更新されない)ものとする。
The
メモリ上の他のデータ(データY、データZ)が更新された場合についても、アプリケーション部102は、データの更新を契機として、当該データの管理情報302、303、304、306を更新する。
Even when other data (data Y, data Z) on the memory is updated, the
なお、平均更新頻度304の替わりに、加重平均更新頻度を更新頻度として用いることとしてもよい。
Instead of the
図4は、メモリ100に記憶されている各データを説明するための説明図であって、更新頻度としての加重平均更新頻度404を用いている点において図3と異なり、その他については図3と同様である。すなわち、図4では、メモリ100上に記憶されている各データ(X、Y、Z)401には、当該データ401の管理情報として、更新回数402と、最終更新時刻403と、更新頻度としての加重平均更新頻度404と、データ量405と、更新フラグ406が、それぞれ付加されているものとする。
FIG. 4 is an explanatory diagram for explaining each data stored in the memory 100, and is different from FIG. 3 in that a weighted
アプリケーション部102は、図3で説明したように、メモリ100に記憶された所望のデータ401自体を更新するとともに、当該データ401の管理情報402、403、404、406を更新する。更新回数402、最終更新時刻403および更新フラグ406の更新については、図3と同様であるためここでは説明を省略する。
As described with reference to FIG. 3, the
加重平均更新頻度404は、直近の更新間隔時間に重みωを付加した更新頻度の加重平均である。すなわち、加重平均更新頻度404は、前回までの加重平均更新頻度と、所定の重み付けした今回の更新間隔時間とに基づいて算出される。アプリケーション部102は、重みωと、更新後の最終更新時刻tNと、更新前(前回)の最終更新時刻tN−1と、更新前(前回)の加重平均更新頻度αN−1を用いて、例えば以下の式2により更新後の加重平均更新頻度αNを算出し、算出した値αNを加重平均更新頻度404に設定する。重みωには、あらかじめ定められた所定の値を用いるものとする。
The weighted
加重平均更新頻度αN=1/{(tN-tN−1)ω+(1−ω)/αN−1} 式2
なお、待機系サーバ11のメモリ110についても、運用系サーバ10のメモリ100と同様である。
Weighted average update frequency α N = 1 / {(t N −t N−1 ) ω + (1−ω) / α N−1 }
The
図5は、運用系サーバ10の系間転送管理部101により管理される、転送リスト記憶部103の一例を示すものである。転送リスト記憶部103は、メモリ100上に保持されている場合であっても、あるいは、HDD等の外部記憶装置上に保持されている場合であってもよい。転送リスト記憶部103には、メモリ100上に記憶されたデータの中で更新が発生し、待機系サーバ11への転送が必要な更新データの転送リスト501と、閾値Mth503と、データ総量M504とが記憶される。
FIG. 5 shows an example of the transfer
図示する転送リスト501は、更新データ毎に、当該更新データにポインタするためのメモリID(メモリ上のアドレス等)と、当該メモリIDに記憶されているデータの更新頻度とを有する。更新頻度には、図3で説明した平均更新頻度304、または図4で説明した加重平均更新頻度404を用いるものとする。
The
また、閾値Mth503には、系切替え時転送方式で一括して転送可能な最大データ量(閾値)が設定されている。この閾値Mth503については、系間ネットワーク12の帯域の制限、系切替えによるサービス中断時間の制約などにより、あらかじめ所定の値を設定しておくものとする。また、データ総量M504には、転送リスト501に登録された更新データの総量が設定される。
The threshold M th 503 is set with a maximum data amount (threshold) that can be transferred in a batch by the transfer method during system switching. The threshold value M th 503 is set to a predetermined value in advance due to the limitation of the bandwidth of the
なお、運用系サーバ10の障害などにより待機系サーバ11に処理が切替わった場合、待機系サーバ11の転送リスト記憶部113には、図5と同様の情報が生成され、記憶される。
When the processing is switched to the
次に、運用系サーバ10のメモリ100に記憶されたデータに更新が発生した際の処理について説明する。
Next, a process when the data stored in the memory 100 of the
図6は、メモリ100に記憶されたデータに更新が発生したタイミングで、転送リスト記憶部103の情報を更新し、閾値を超える分の更新データを運用時転送方式で転送する場合のフローチャートである。
FIG. 6 is a flowchart in the case where the information in the transfer
まず、運用系サーバ10のアプリケーション部102は、複数のユーザ端末3から送信される各種の要求に応じて、または、運用系サーバ10の内部処理により、メモリ100に記憶された所定のデータ自体を更新するとともに、当該データの管理情報(更新回数、最終更新時刻、更新頻度、更新フラグ)を更新する(S1)。なお、更新頻度は、図3の場合は平均更新頻度であり、図4の場合は加重平均更新頻度である。
First, the
そして、運用系サーバ10の系間転送管理部101は、S1のデータ更新を契機として、ステップ1で更新された更新データを、転送リスト記憶部103の転送リスト501に登録(追加)する(S2)。具体的には、系間転送管理部101は、メモリ100上の更新データをポインタするメモリID、および、S1で更新された当該更新データの更新頻度を、メモリ100から取得し、転送リスト501に登録する。
Then, the intersystem
そして、系間転送管理部101は、転送リスト501に登録されている更新データのデータ総量M504を算出し、転送リスト記憶部103に設定する(S3)。具体的には、系間転送管理部101は、転送リスト501に登録されている各更新データのデータ量を、各々のメモリIDに基づいてメモリ100から取得し、取得した各データ量の合計を算出する。
Then, the inter-system
そして、系間転送管理部101は、算出したデータ総量M504と、閾値Mth503とを比較し、データ総量Mが閾値Mthを超える(M>Mth)か否かを判別する(S4)。
Then, the inter-system
データ総量Mが閾値Mthを超えない、すなわち下回る(M≦Mth)場合(S4:NO)、系間転送管理部101は、S1のデータ更新を契機とする処理を終了する。この場合、転送リスト501に登録されている全ての更新データは、この時点において、系切替え時に一括して転送される系切替え時転送方式ととして管理される。
When the total data amount M does not exceed the threshold value M th , that is, falls below (M ≦ M th ) (S4: NO), the inter-system
データ総量Mが閾値Mthを超える場合(S4:YES)、系間転送管理部101は、転送リスト501に登録されている更新データの中で最も更新頻度の低い更新データを特定し、当該更新データを運用中転送方式で待機系サーバ11のメモリ110に系間ネットワーク12を介して転送する(S5)。これにより、系間転送管理部101は、転送リスト501から転送した更新データの情報(レコード)を削除する。また、系間転送管理部101は、メモリ100にアクセスし、転送した更新データの更新フラグ306、407(図3、図4参照)を削除する。
If the data amount M exceeds a threshold value M th (S4: YES), the inter-system
そして、系間転送管理部101は、S3に戻り、転送した更新データの情報を削除した後の転送リスト501に登録された各更新データのデータ総量を再び算出し、データ総量Mが閾値Mthを超えるか否かを判別し(S4)、超える場合はS5の処理を行う。このように、系間転送管理部101は、転送リスト501に登録された各更新データのデータ総量Mが閾値Mthを下回るまでS3からS5の処理を繰り返し、閾値Mthを超えた分の更新データについては、更新頻度の低い更新データから順に運用中転送方式で待機系サーバ11に転送する。
Then, the inter-system
図6に示す上記処理では、メモリ100上のデータに更新が発生したタイミングで、S2からS5の処理を行うこととしたが、本発明はこれに限定されず、様々なタイミングでS2からS5の処理を行うことができる。 In the processing shown in FIG. 6, the processing from S2 to S5 is performed at the timing when the data on the memory 100 is updated. However, the present invention is not limited to this, and the processing from S2 to S5 is performed at various timings. Processing can be performed.
例えば、系間転送管理部101は、あらかじめ定められた所定の周期(時間間隔)で、S2からS5の処理を行って、転送リスト記憶部103の情報を更新し、閾値を超える分の更新データを運用時転送方式で転送することとしてもよい。この場合、アプリケーション部102は、ユーザ端末3からの要求または運用系サーバ10の内部処理により、随時、メモリ100上のデータおよび管理情報を更新し、一方、系間転送管理部101は、所定の周期でS2からS5の処理を行う。
For example, the inter-system
具体的には、系間転送管理部101は、S2において、前回の周期でS2からS5の処理を行った後に更新されたデータを検索する。例えば、系間転送管理部101は、メモリ上に保持されている各データの管理情報(図3、図4)を参照し、更新フラグ(例えば「1」)が設定されているデータを検索する。そして、検索した各更新データを転送リスト記憶部103の転送リスト501に登録(追加)する(S2)。この際に、系間転送管理部101は、検索した更新データが既に転送リスト501に登録されている場合、当該更新データの更新頻度を、メモリ100から取得した最新の値に更新する。S3からS5の処理については、図6で説明したS3からS5と同様であるため、ここでは説明を省略する。所定の周期でS2からS5の処理を行うことにより、メモリ100の各データが高頻度で更新される場合であっても、処理負荷の増大を回避することができる。
Specifically, the intersystem
以上説明した本実施形態では、各データの更新頻度を動的に算出し、算出した更新頻度に基づいて運用中転送方式で転送するデータを選択するため、運用中転送方式で転送されるデータ量を抑制し、クラスタリングサーバシステムの処理負荷をより低減させることができる。 In the present embodiment described above, the amount of data transferred by the in-operation transfer method is selected because the update frequency of each data is dynamically calculated and data to be transferred by the in-operation transfer method is selected based on the calculated update frequency. And the processing load on the clustering server system can be further reduced.
すなわち、本実施形態では、運用系サーバ10で更新されたデータを待機系サーバ11に転送する際に、更新頻度の低い更新データを運用中転送方式で更新の度にその都度転送することで、系切替え時(フェイルオーバ時)に一括転送する系切替え時転送方式で転送するデータ量が常に閾値を下回るように動的に制御することができる。
In other words, in the present embodiment, when data updated in the
また、本実施形態では、各更新データの総量が系切替え時に転送可能なデータ量(閾値)に満たない場合は、全ての更新データを転送方式を系切替え時転送方式とし、各更新データの総量が系切替え時に転送可能なデータ量(閾値)を超過する場合は、更新頻度の低い更新データを運転中転送方式として転送し、更新頻度の高い更新データについては系切替え時転送方式として転送するように、更新頻度に応じて転送方式の最適化を実現する。これにより、本実施形態では、トラフィックの予想ができない環境であっても、クラスタリングサーバシステムの処理負荷を抑制し、ユーザ端末に対するサービス提供の低下を極力防止することができる。 Also, in this embodiment, when the total amount of each update data is less than the data amount (threshold value) that can be transferred at the time of system switching, the transfer method is the transfer method at the time of system switching for all update data, and the total amount of each update data If the amount of data that can be transferred during system switchover (threshold) is exceeded, update data with low update frequency is transferred as the operating transfer method, and update data with high update frequency is transferred as the transfer method at system switchover. In addition, the transfer method is optimized according to the update frequency. Thereby, in this embodiment, even in an environment where traffic cannot be predicted, the processing load of the clustering server system can be suppressed, and a decrease in service provision to the user terminal can be prevented as much as possible.
なお、本発明は上記実施形態に限定されるものではなく、その要旨の範囲内で数々の変形が可能である。 In addition, this invention is not limited to the said embodiment, Many deformation | transformation are possible within the range of the summary.
1 クラスタリングサーバシステム
2 ネットワーク
3 ユーザ端末
10 運用系サーバ
11 待機系サーバ
12 系間ネットワーク
100、110 メモリ
101、111 系間転送管理部
102、112 アプリケーション部
103、113 転送リスト記憶部
DESCRIPTION OF
Claims (8)
前記運用系サーバは、
複数のデータを記憶するデータ記憶手段と、
前記データ記憶手段に記憶された複数のデータの中で、更新された更新データの更新頻度を記憶する転送リスト記憶手段と、
前記運用系サーバと待機系サーバ間で更新データを転送する系間転送管理手段と、を備え、
前記系間転送管理手段は、前記転送リスト記憶手段に記憶された更新データのデータ総量を算出し、当該データ総量が前記系切替え時転送方式で転送可能な所定の閾値を超えるか否かを判別し、前記データ総量が前記閾値を超える場合は、前記データ総量が前記閾値以下になるまで、前記転送リスト記憶手段に記憶された更新頻度が最も低い更新データを前記運用中転送方式で前記待機系サーバに転送すること
を特徴とするクラスタリングサーバシステム。 A clustering server system having an active server and a standby server, and as a data transfer method between the active server and the standby server, the update data is transferred to the switch destination server at the time of system switchover. Use both the transfer method during system switchover and the in-operation transfer method that transfers update data to the switch destination server for each data update.
The active server is
Data storage means for storing a plurality of data;
Among a plurality of data stored in the data storage means, transfer list storage means for storing the update frequency of updated update data;
An intersystem transfer management means for transferring update data between the active server and the standby server,
The inter-system transfer management unit calculates the total data amount of the update data stored in the transfer list storage unit, and determines whether or not the total data amount exceeds a predetermined threshold that can be transferred by the system switching transfer method If the total amount of data exceeds the threshold value, the standby data is transferred to the standby system using the in-operation transfer method with the update data having the lowest update frequency stored in the transfer list storage means until the total data amount becomes equal to or less than the threshold value A clustering server system characterized by transferring to a server.
前記系間管理転送手段は、所定の周期毎に、または前記データ記憶手段のデータが更新された場合に、前記更新データのデータ総量を算出し、当該データ総量が前記閾値を超えるか否かを判別し、前記データ総量が前記閾値を超える場合は、前記データ総量が前記閾値以下になるまで、前記転送リスト記憶手段に記憶された更新頻度が最も低い更新データを前記運用中転送方式で前記待機系サーバに転送すること
を特徴とするクラスタリングサーバシステム。 The clustering server system according to claim 1,
The inter-system management transfer means calculates the total data amount of the update data every predetermined cycle or when data in the data storage means is updated, and determines whether the total data amount exceeds the threshold value. If the total amount of data exceeds the threshold value, the update data stored in the transfer list storage unit with the lowest update frequency is stored in the standby transfer method in the active transfer method until the total data amount becomes equal to or less than the threshold value. A clustering server system characterized by being transferred to a system server.
前記更新頻度は、前記更新データの更新回数、今回の更新間隔時間と、前回の平均更新頻度とに基づいて算出される平均更新頻度であること
を特徴とするクラスタリングサーバシステム。 The clustering server system according to claim 1 or 2,
The clustering server system, wherein the update frequency is an average update frequency calculated based on the number of updates of the update data, a current update interval time, and a previous average update frequency.
前記更新頻度は、前回までの加重平均更新頻度と、所定の重み付けした今回の更新間隔時間とに基づいて算出される加重平均更新頻度であること
を特徴とするクラスタリングサーバシステム。 The clustering server system according to claim 1 or 2,
The clustering server system characterized in that the update frequency is a weighted average update frequency calculated based on a weighted average update frequency up to the previous time and a predetermined weighted current update interval time.
クラスタリングサーバシステムは、前記運用系サーバと前記待機系サーバとの間でのデータ転送方式として、系切替え時に更新データを一括で切替え先サーバに転送する系切替え時転送方式と、各データの更新毎に更新データを切替え先サーバに転送する運用中転送方式とを併用し、
前記運用系サーバは、
複数のデータを記憶するデータ記憶部と、
前記データ記憶部に記憶された複数のデータの中で、更新された更新データの更新頻度を記憶する転送リスト記憶部とを備え、
前記転送リスト記憶部を更新する更新ステップと、前記転送リスト記憶部に記憶された更新データのデータ総量を算出する算出ステップと、
前記算出されたデータ総量が前記系切替え時転送方式で転送可能な所定の閾値を超えるか否かを判別する判別ステップと、
前記データ総量が前記閾値を超える場合に、前記データ総量が前記閾値以下になるまで、前記転送リスト記憶部に記憶された更新頻度が最も低い更新データを前記運用中転送方式で前記待機系サーバに転送する転送ステップと、を行うこと
を特徴とするデータ転送方法。 A data transfer method for a clustering server system having an active server and a standby server,
The clustering server system is a data transfer method between the active server and the standby server, and a transfer method at the time of system switchover that transfers update data to the switch destination server at the time of system switchover. In conjunction with the in-operation transfer method of transferring update data to the switch destination server,
The active server is
A data storage unit for storing a plurality of data;
Among a plurality of data stored in the data storage unit, comprising a transfer list storage unit that stores the update frequency of updated update data,
An update step of updating the transfer list storage unit; a calculation step of calculating a total data amount of update data stored in the transfer list storage unit;
A determination step of determining whether or not the calculated total amount of data exceeds a predetermined threshold that can be transferred by the transfer method at the time of system switching;
When the total data amount exceeds the threshold value, the update data with the lowest update frequency stored in the transfer list storage unit is transferred to the standby server by the in-operation transfer method until the total data amount becomes the threshold value or less. A data transfer method comprising: performing a transfer step.
前記運用系サーバは、
前記更新ステップ、算出ステップ、判別ステップおよび転送ステップを、所定の周期毎に、または前記データ記憶部のデータが更新された場合に行うこと
を特徴とするデータ転送方法。 The data transfer method according to claim 5, wherein
The active server is
The data transfer method, wherein the update step, the calculation step, the determination step, and the transfer step are performed at predetermined intervals or when data in the data storage unit is updated.
前記運用系サーバは、
前記更新頻度として、前記更新データの更新回数と、今回の更新間隔時間と、前回の平均更新頻度とに基づいて平均更新頻度を算出する算出ステップを、さらに行うこと
を特徴とするデータ転送方法。 The data transfer method according to claim 5 or 6, wherein
The active server is
A data transfer method further comprising a calculation step of calculating an average update frequency as the update frequency based on the number of updates of the update data, the current update interval time, and the previous average update frequency.
前記運用系サーバは、
前記更新頻度として、前回までの加重平均更新頻度と、所定の重み付けした今回の更新間隔時間とに基づいて加重平均更新頻度を算出する算出ステップを、さらに行うこと
を特徴とするデータ転送方法。 The data transfer method according to claim 5 or 6, wherein
The active server is
A data transfer method further comprising a calculation step of calculating a weighted average update frequency based on a weighted average update frequency up to the previous time and a predetermined weighted update interval time as the update frequency.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009041077A JP4812848B2 (en) | 2009-02-24 | 2009-02-24 | Clustering server system and data transfer method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009041077A JP4812848B2 (en) | 2009-02-24 | 2009-02-24 | Clustering server system and data transfer method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010198204A true JP2010198204A (en) | 2010-09-09 |
JP4812848B2 JP4812848B2 (en) | 2011-11-09 |
Family
ID=42822884
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009041077A Active JP4812848B2 (en) | 2009-02-24 | 2009-02-24 | Clustering server system and data transfer method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4812848B2 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012178707A (en) * | 2011-02-25 | 2012-09-13 | Nippon Telegr & Teleph Corp <Ntt> | Call control system and method of making information for use in call control redundant |
JP2012181798A (en) * | 2011-03-03 | 2012-09-20 | Nec Corp | Data transfer device, ft server, data transfer method, and program |
JP2013038582A (en) * | 2011-08-08 | 2013-02-21 | Nippon Telegr & Teleph Corp <Ntt> | Call control system and information redundancy method used in call control |
US9542468B2 (en) | 2014-03-24 | 2017-01-10 | Hitachi, Ltd. | Database management system and method for controlling synchronization between databases |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005258847A (en) * | 2004-03-12 | 2005-09-22 | Hitachi Ltd | Failover cluster system, and failover method |
JP2007286952A (en) * | 2006-04-18 | 2007-11-01 | Nec Corp | Server system and server load reduction method |
-
2009
- 2009-02-24 JP JP2009041077A patent/JP4812848B2/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005258847A (en) * | 2004-03-12 | 2005-09-22 | Hitachi Ltd | Failover cluster system, and failover method |
JP2007286952A (en) * | 2006-04-18 | 2007-11-01 | Nec Corp | Server system and server load reduction method |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012178707A (en) * | 2011-02-25 | 2012-09-13 | Nippon Telegr & Teleph Corp <Ntt> | Call control system and method of making information for use in call control redundant |
JP2012181798A (en) * | 2011-03-03 | 2012-09-20 | Nec Corp | Data transfer device, ft server, data transfer method, and program |
JP2013038582A (en) * | 2011-08-08 | 2013-02-21 | Nippon Telegr & Teleph Corp <Ntt> | Call control system and information redundancy method used in call control |
US9542468B2 (en) | 2014-03-24 | 2017-01-10 | Hitachi, Ltd. | Database management system and method for controlling synchronization between databases |
Also Published As
Publication number | Publication date |
---|---|
JP4812848B2 (en) | 2011-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3467652A1 (en) | Data balancing method and device | |
CN110597910A (en) | Remote data synchronization method, device and system | |
WO2015196686A1 (en) | Data storage method and data storage management server | |
JP2014075027A (en) | Virtual machine arrangement device and virtual machine arrangement method | |
JP4812848B2 (en) | Clustering server system and data transfer method | |
CN108768749B (en) | Node isolation self-recovery method and device based on block chain | |
CN112039710B (en) | Service fault processing method, terminal equipment and readable storage medium | |
CN110263093B (en) | Data synchronization method, device, node, cluster and storage medium | |
US10216593B2 (en) | Distributed processing system for use in application migration | |
CN105069152A (en) | Data processing method and apparatus | |
JP2007304845A (en) | Virtual computer system and software update method | |
JPWO2013094047A1 (en) | Management device, management program, and management method | |
CN110943925B (en) | Method and related device for synchronizing routing information | |
CN111338902B (en) | Data processing method, device and system | |
JP6225606B2 (en) | Database monitoring apparatus, database monitoring method, and computer program | |
US20170161508A1 (en) | Management device, method executed by the management device, and non-transitory computer-readable storage medium | |
US20240176762A1 (en) | Geographically dispersed hybrid cloud cluster | |
WO2012056835A1 (en) | Data storage control system, data storage control method, and data storage control program | |
CN114143196A (en) | Instance configuration update method, device, apparatus, storage medium, and program product | |
CN103685359A (en) | Data processing method and device | |
JP4089506B2 (en) | File sharing system, server and program | |
JP5473016B2 (en) | Data sharing system, terminal device, data sharing method, and program | |
JP6473425B2 (en) | Node and data placement method | |
KR101104999B1 (en) | Load balancing method and system for metadata service | |
US10860568B2 (en) | External data source linking to queries in memory |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110519 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110531 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110720 |
|
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: 20110816 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110823 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4812848 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140902 Year of fee payment: 3 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |