JP5277227B2 - Cluster system recovery method, server and software - Google Patents
Cluster system recovery method, server and software Download PDFInfo
- Publication number
- JP5277227B2 JP5277227B2 JP2010252887A JP2010252887A JP5277227B2 JP 5277227 B2 JP5277227 B2 JP 5277227B2 JP 2010252887 A JP2010252887 A JP 2010252887A JP 2010252887 A JP2010252887 A JP 2010252887A JP 5277227 B2 JP5277227 B2 JP 5277227B2
- Authority
- JP
- Japan
- Prior art keywords
- state
- status
- machine
- cluster
- failure
- 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
Links
Images
Landscapes
- Hardware Redundancy (AREA)
Abstract
Description
本発明は、クラスタシステム復旧方法、サーバ及びソフトウェアに関する。 The present invention relates to a cluster system recovery method, a server, and software.
サービスの重要性が増すにつれ、ダウンタイムの少ないシステムの要求が高まっている。このため、複数のサーバで冗長構成されたクラスタシステムを構築し、何らかの故障が発生したときに自動的にサーバを切り替えることにより、サービスの継続を可能とするHeartbeatおよびPacemakerなどの高可用性クラスタソフトが開発されている(非特許文献1参照)。 As the importance of services increases, so does the demand for systems with low downtime. For this reason, a highly available cluster software such as Heartbeat and Pacemaker that enables continuation of services by building a redundant cluster system with multiple servers and automatically switching servers when some failure occurs. It has been developed (see Non-Patent Document 1).
高可用性クラスタソフトでは、サーバ上のリソース、ネットワーク、共有ディスク等を監視しており、サービス稼働中のサーバで故障を検知すると、予め待機しているサーバに切り替え、サービスを継続させる。 High-availability cluster software monitors resources, networks, shared disks, etc. on the server. If a failure is detected on a server that is in service, the server is switched to a standby server in advance and the service is continued.
図1に、高可用性クラスタソフトを用いたクラスタシステムの概略図を示す。クラスタシステムは、ネットワークに接続されている複数のサーバ(現用機及び予備機)と、これらの複数のサーバで共有して用いられる共有ディスクとを有する。 FIG. 1 shows a schematic diagram of a cluster system using high-availability cluster software. The cluster system includes a plurality of servers (active machine and spare machine) connected to a network and a shared disk that is shared and used by the plurality of servers.
現用機及び予備機は、オペレーティングシステム(OS)と、高可用性クラスタソフトと、サービスを提供するために必要な構成要素であるリソースとをそれぞれ有する。高可用性クラスタソフトは、現用機での故障の発生を検知し、故障が発生したときに自動的に予備機に切り替える。サーバにおけるサービスの稼働状態、リソースの稼働状態及び故障状態は、内蔵ディスクの状態記憶部に格納され、故障箇所等の詳細な情報は、内蔵ディスクのログ記憶部に格納される。 The active machine and the spare machine each have an operating system (OS), high-availability cluster software, and resources that are components necessary for providing a service. The high-availability cluster software detects the occurrence of a failure in the active machine and automatically switches to a spare machine when a failure occurs. The service operating status, resource operating status and failure status in the server are stored in the status storage unit of the internal disk, and detailed information such as the failure location is stored in the log storage unit of the internal disk.
現用機及び予備機は、サービスLANと呼ばれるネットワークに接続されており、リソースによるサービスをクライアントに提供する。また、現用機及び予備機は、インターコネクトLANと呼ばれるネットワークに接続されており、サーバにおけるサービスの稼働状態、リソースの稼働状態、故障状態等の情報を交換する。更に、現用機及び予備機は、管理LANと呼ばれるネットワークに接続されており、保守端末からのコマンドを受け付けることができる。 The active machine and the spare machine are connected to a network called a service LAN and provide a service based on resources to the client. The active machine and the spare machine are connected to a network called an interconnect LAN, and exchange information such as service operating status, resource operating status, and fault status in the server. Furthermore, the current machine and the spare machine are connected to a network called a management LAN, and can receive commands from the maintenance terminal.
また、現用機及び予備機には、故障時に他サーバの電源を強制的に切断する強制電源断機能を設定することができる。強制電源断機能は、管理LANを経由して他サーバのハードウェア制御ボードに対して電源を切断する指示を送信することにより、他サーバの電源を切断する。 The active machine and the spare machine can be set with a forced power-off function for forcibly turning off the power of other servers when a failure occurs. The forced power cut-off function cuts off the power of the other server by transmitting an instruction to turn off the power to the hardware control board of the other server via the management LAN.
共有ディスクは、サービスの一貫性を保つために、サービス提供に用いられるデータを保存する記憶装置である。共有ディスクにより、現用機から予備機に切り替わった後も、同じデータを用いてサービスを継続できる。 The shared disk is a storage device that stores data used for service provision in order to maintain service consistency. With the shared disk, the service can be continued using the same data even after switching from the current machine to the spare machine.
このように、高可用性クラスタソフトでリソースの故障を監視しているため、リソース故障が発生した場合に、予備機でサービスを継続させることができる。予備機に系切り替えを行った後は、予備機でサービスが継続される(特許文献1参照)。 As described above, the failure of the resource is monitored by the high availability cluster software. Therefore, when a resource failure occurs, the service can be continued with the spare machine. After the system is switched to the spare machine, the service is continued on the spare machine (see Patent Document 1).
上記のように、予備機に系切り替えを行った後は予備機でサービスが提供されるが、どちらのサーバでサービスが提供されているのかの判別が一目瞭然ではない。 As described above, after the system is switched to the spare machine, the service is provided by the spare machine, but it is not clear at which server the service is provided by which server.
更に、クラスタシステムにおいて予備機の性能が現用機の性能より劣る場合には、予備機でのサービス提供中は、処理速度が低下する。このような処理速度の低下は、予備機の性能が現用機の性能より劣っている場合だけでなく、2つ以上の現用機と1つの予備機とでクラスタシステムが構成されている場合にも生じる可能性がある。 Furthermore, when the performance of the spare machine is inferior to that of the active machine in the cluster system, the processing speed decreases while the service is provided by the spare machine. Such a decrease in processing speed is not only when the performance of the spare machine is inferior to that of the active machine, but also when a cluster system is composed of two or more active machines and one spare machine. It can happen.
本発明は、クラスタシステムの現用機にリソース故障が発生して予備機でサービス稼働中である場合に、現用機でサービスを再開させることを目的とする。 An object of the present invention is to restart a service on an active machine when a resource failure occurs in the active machine of a cluster system and the service is operating on a spare machine.
本発明の上記の課題を解決するため、本発明のクラスタシステム復旧方法は、
故障状態を監視する故障監視手段と、故障状態に基づく現用機及び予備機のサービス稼働状態として、サービス稼働中の状態と、サービス稼働中へ遷移できる状態と、サービス稼働中への遷移が抑止されている状態と、リソース故障中の状態とを含むクラスタ状態を管理する状態管理手段と、クラスタ状態及び故障状態を格納する状態記憶手段とをそれぞれ含む現用機と予備機とで構成されるクラスタシステムで、該現用機にリソース故障が発生して該予備機でサービス稼働中である場合に、現用機のクラスタ状態をサービス稼働中へ遷移させるクラスタシステム復旧方法であって、
前記現用機の故障クリア手段が、前記状態記憶手段に格納された現用機のクラスタ状態がリソース故障中の状態であり、前記状態記憶手段に格納された予備機のクラスタ状態がサービス稼働中の状態である場合、前記現用機の前記状態記憶手段に格納された故障状態をクリアする故障クリアステップと、
前記現用機の遷移抑止手段が、前記状態記憶手段に格納された現用機の故障状態がクリアされ、前記状態記憶手段に格納された現用機のクラスタ状態がサービス稼働中へ遷移できる状態である場合、予備機のクラスタ状態をサービス稼働中への遷移が抑止されている状態へ遷移させる遷移抑止ステップと、
前記現用機の遷移抑止解除手段が、前記状態記憶手段に格納された現用機のクラスタ状態がサービス稼働中の状態であり、前記状態記憶手段に格納された予備機のクラスタ状態がサービス稼働中への遷移が抑止されている状態である場合、予備機のクラスタ状態をサービス稼働中へ遷移できる状態へ遷移させる遷移抑止解除ステップと、
を有することを特徴とする。
In order to solve the above-described problems of the present invention, the cluster system recovery method of the present invention includes:
The failure monitoring means for monitoring the failure status, and the service operation status of the active machine and the spare machine based on the failure status, the status of service operation, the status of transition to service operation, and the transition to service operation are suppressed. A cluster system comprising: a status management means for managing a cluster status including a status of a fault and a resource failure status; and a current machine and a spare machine each including a status storage means for storing the cluster status and the fault status A cluster system recovery method for transitioning the cluster state of the active machine to service operation when a resource failure occurs in the active machine and the spare machine is operating.
The active device failure clearing means is in a state in which the cluster state of the working machine stored in the state storage means is in a resource failure state, and the cluster state of the spare machine stored in the state storage means is in service operation state If it is, a failure clear step for clearing the failure state stored in the state storage means of the working machine,
When the active device transition suppression means is in a state in which the failure state of the active machine stored in the state storage means is cleared and the cluster state of the active machine stored in the state storage means can transition to service operation , a transition suppression step of transition to the state transition of the cluster state of the spare unit into the service operation is suppressed,
The active device transition inhibition canceling means that the cluster status of the active machine stored in the status storage means is in service operation status, and the standby machine cluster status stored in the status storage means is in service operation status. A transition deactivation step for transitioning the cluster state of the spare machine to a state where it can transition to service operation,
It is characterized by having.
また、本発明のサーバは、
故障状態を監視する故障監視手段と、故障状態に基づく現用機及び予備機のサービス稼働状態として、サービス稼働中の状態と、サービス稼働中へ遷移できる状態と、サービス稼働中への遷移が抑止されている状態と、リソース故障中の状態とを含むクラスタ状態を管理する状態管理手段と、クラスタ状態及び故障状態を格納する状態記憶手段とをそれぞれ含む現用機と予備機とで構成されるクラスタシステムで、該現用機として動作するサーバであって、
前記現用機にリソース故障が発生して前記予備機でサービス稼働中である場合に、
前記状態記憶手段に格納された現用機のクラスタ状態がリソース故障中の状態であり、前記状態記憶手段に格納された予備機のクラスタ状態がサービス稼働中の状態である場合、前記現用機の前記状態記憶手段に格納された故障状態をクリアする故障クリア手段と、
前記状態記憶手段に格納された現用機の故障状態がクリアされ、前記状態記憶手段に格納された現用機のクラスタ状態がサービス稼働中へ遷移できる状態である場合、予備機のクラスタ状態をサービス稼働中への遷移が抑止されている状態へ遷移させる遷移抑止手段と、
前記状態記憶手段に格納された現用機のクラスタ状態がサービス稼働中の状態であり、前記状態記憶手段に格納された予備機のクラスタ状態がサービス稼働中への遷移が抑止されている状態である場合、予備機のクラスタ状態をサービス稼働中へ遷移できる状態へ遷移させる遷移抑止解除手段と、
を有することを特徴とする。
The server of the present invention
The failure monitoring means for monitoring the failure status, and the service operation status of the active machine and the spare machine based on the failure status, the status of service operation, the status of transition to service operation, and the transition to service operation are suppressed. A cluster system comprising: a status management means for managing a cluster status including a status of a fault and a resource failure status; and a current machine and a spare machine each including a status storage means for storing the cluster status and the fault status And a server operating as the working machine,
When a resource failure occurs in the working machine and the spare machine is in service,
When the cluster status of the active machine stored in the status storage means is a resource failure status, and the cluster status of the spare machine stored in the status storage means is a service operating status, Fault clearing means for clearing the fault state stored in the state storage means;
When the failure state of the working machine stored in the state storage means is cleared and the cluster state of the working machine stored in the state storage means is in a state where it can be shifted to service operation, the cluster state of the spare machine is serviced. A transition inhibiting means for transitioning to a state in which the transition to the inside is inhibited;
The cluster state of the active machine stored in the state storage means is a service operating state, and the standby machine cluster state stored in the state storage means is a state in which the transition to the service operating state is suppressed. If a transition inhibit release means for transitioning to a state that can transition the cluster state of the spare unit into the service operation,
It is characterized by having.
また、本発明のプログラムは、
故障状態を監視する故障監視手段と、故障状態に基づく現用機及び予備機のサービス稼働状態として、サービス稼働中の状態と、サービス稼働中へ遷移できる状態と、サービス稼働中への遷移が抑止されている状態と、リソース故障中の状態とを含むクラスタ状態を管理する状態管理手段と、クラスタ状態及び故障状態を格納する状態記憶手段とをそれぞれ含む現用機と予備機とで構成されるクラスタシステムで、該現用機として動作するサーバを、
前記現用機にリソース故障が発生して前記予備機でサービス稼働中である場合に、
前記状態記憶手段に格納された現用機のクラスタ状態がリソース故障中の状態であり、前記状態記憶手段に格納された予備機のクラスタ状態がサービス稼働中の状態である場合、前記現用機の前記状態記憶手段に格納された故障状態をクリアする故障クリア手段、
前記状態記憶手段に格納された現用機の故障状態がクリアされ、前記状態記憶手段に格納された現用機のクラスタ状態がサービス稼働中へ遷移できる状態である場合、予備機のクラスタ状態をサービス稼働中への遷移が抑止されている状態へ遷移させる遷移抑止手段、及び
前記状態記憶手段に格納された現用機のクラスタ状態がサービス稼働中の状態であり、前記状態記憶手段に格納された予備機のクラスタ状態がサービス稼働中への遷移が抑止されている状態である場合、予備機のクラスタ状態をサービス稼働中へ遷移できる状態へ遷移させる遷移抑止解除手段、
として機能させるためのプログラムであることを特徴とする。
The program of the present invention is
The failure monitoring means for monitoring the failure status, and the service operation status of the active machine and the spare machine based on the failure status, the status of service operation, the status of transition to service operation, and the transition to service operation are suppressed. A cluster system comprising: a status management means for managing a cluster status including a status of a fault and a resource failure status; and a current machine and a spare machine each including a status storage means for storing the cluster status and the fault status Then, the server operating as the working machine is
When a resource failure occurs in the working machine and the spare machine is in service,
When the cluster status of the active machine stored in the status storage means is a resource failure status, and the cluster status of the spare machine stored in the status storage means is a service operating status, Failure clearing means for clearing the failure state stored in the state storage means;
When the failure state of the working machine stored in the state storage means is cleared and the cluster state of the working machine stored in the state storage means is in a state where it can be shifted to service operation, the cluster state of the spare machine is serviced. A transition deterring means for transitioning to a state in which the transition to the inside is deterred, and
The cluster state of the active machine stored in the state storage means is a service operating state, and the standby machine cluster state stored in the state storage means is a state in which the transition to the service operating state is suppressed. If the transition inhibit release means for transitioning to a state that can transition the cluster state of the spare unit into the service operation,
It is a program for making it function as.
本発明によれば、現用機にリソース故障が発生して予備機でサービス稼働中である場合に、現用機でサービスを再開させることが可能になる。 According to the present invention, when a resource failure occurs in the active machine and the service is in operation on the spare machine, the service can be restarted on the active machine.
以下、図面を参照して本発明の実施例について説明する。 Embodiments of the present invention will be described below with reference to the drawings.
本発明の実施例では、現用機と予備機とで構成されるクラスタシステムが用いられる。現用機及び予備機は、それぞれ、故障状態を監視する故障監視手段と、故障状態に基づいて現用機及び予備機のサービス稼働状態を示すクラスタ状態を管理する状態管理手段と、クラスタ状態及び故障状態を格納する状態記憶手段とを有する。 In the embodiment of the present invention, a cluster system including an active machine and a spare machine is used. The active machine and the spare machine are respectively a failure monitoring means for monitoring a failure state, a state management means for managing a cluster state indicating a service operating state of the active machine and the spare machine based on the failure state, and a cluster state and a failure state. And state storage means for storing.
現用機にリソース故障が発生して予備機でサービス稼働中である場合に、現用機の故障クリア手段は、現用機の状態記憶手段に格納された故障状態をクリアする。次に、現用機の遷移抑止手段は、予備機のクラスタ状態をサービス稼働中への遷移が抑止されている状態へ遷移させる。この遷移抑止により、現用機のクラスタ状態はサービス稼働中へ遷移する。次に、現用機の遷移抑止解除手段は、予備機のクラスタ状態をサービス稼働中へ遷移できる状態へ遷移させる。このようにして、現用機のクラスタ状態をサービス稼働中へ遷移させることができる。 When a resource failure occurs in the active machine and the service is in operation on the spare machine, the fault clearing means of the active machine clears the fault state stored in the status storage means of the active machine. Next, the transition suppression means of the active machine shifts the cluster state of the spare machine to a state where the transition to service operation is suppressed. Due to this transition inhibition, the cluster status of the active machine transits to service operation. Next, the transition suppression canceling means of the active machine shifts the cluster state of the spare machine to a state where it can transition to service operation. In this way, the cluster state of the active machine can be shifted to service operation.
本発明の実施例に係るクラスタシステム及び方法を詳細に説明する前に、まず、本発明の実施例で用いられる用語について説明する。 Before describing the cluster system and method according to the embodiment of the present invention in detail, first, terms used in the embodiment of the present invention will be described.
「クラスタ構成」とは、複数のサーバを相互に接続し、サービスを提供するユーザ又は他サーバに対して全体で1つのサーバであるかのように振舞わせる技術のことを言う。クラスタ構成により、1つのサーバが故障しても、システム全体でサービスを継続させることができ、また、サービス継続中に故障修理や交換を行うことができる。 “Cluster configuration” refers to a technology in which a plurality of servers are connected to each other so that users or other servers providing services behave as if they are one server as a whole. With a cluster configuration, even if one server fails, the service can be continued throughout the system, and failure repair or replacement can be performed while the service is continuing.
「現用機」とは、クラスタシステムにおいて、サービス提供を開始して故障が発生していないときに、サービス稼働中であるサーバのことを言う。 An “active machine” refers to a server that is in service when a service is started and no failure has occurred in a cluster system.
「予備機」とは、クラスタシステムにおいて、現用機の故障発生時にサービスを引き継ぐサーバのことを言う。予備機は、1つの現用機のサービスを引き継いでもよく、複数の現用機のサービスを引き継いでもよい。すなわち、現用機と予備機との関係は、1対1の関係でもよく、N対1の関係でもよい。 “Spare machine” refers to a server that takes over services when a failure occurs in a working machine in a cluster system. The spare machine may take over the service of one working machine or may take over the services of a plurality of working machines. That is, the relationship between the active machine and the spare machine may be a one-to-one relationship or an N-to-one relationship.
「高可用性クラスタソフト」とは、クラスタ構成を提供するためのソフトウェアのことを言う。高可用性クラスタソフトは、サーバの故障を監視し、故障時に系切り替えを実施する。 “High availability cluster software” refers to software for providing a cluster configuration. High-availability cluster software monitors server failures and performs system switching when a failure occurs.
「リソース」とは、サービスを提供するために必要な構成要素のことを言う。クラスタ構成におけるリソースとは、高可用性クラスタソフトが起動、停止、監視等の制御対象とするアプリケーションを示す。リソースには、データベース等が含まれる。 “Resource” means a component necessary for providing a service. A resource in a cluster configuration refers to an application that is subject to control by the highly available cluster software such as starting, stopping, and monitoring. Resources include databases and the like.
「クラスタ状態」とは、サーバにおけるサービスの稼働状態を言う。クラスタ状態には、ACTと、SBY[online]と、SBY[standby]と、SBY[遷移中]と、OUSと、NONEとが含まれる。 “Cluster state” refers to the operating state of a service in a server. The cluster state includes ACT, SBY [online], SBY [standby], SBY [during transition], OUS, and NONE.
「リソース状態」とは、サーバにおけるリソースの稼働状態を言う。リソース状態には、他サーバでリソース稼働中である状態と、自サーバでリソースが稼働中である状態と、リソースが停止中である状態と、リソースの管理を行わない状態とが含まれる。 “Resource status” refers to the operating status of resources in the server. The resource state includes a state where the resource is operating on another server, a state where the resource is operating on the local server, a state where the resource is stopped, and a state where the resource is not managed.
「ACT」とは、サーバでサービス稼働中の状態を言う。クラスタ構成において、データベース等のサービスを提供するリソースが稼働しているサーバの状態を「ACT」と言う。 “ACT” refers to a state in which a service is running on the server. In a cluster configuration, the state of a server on which a resource providing a service such as a database is operating is referred to as “ACT”.
「SBY[online]」とは、ACTへ遷移できる状態を言う。クラスタ構成において、故障等による系切り替えが発生した場合、ACTからリソースを切り替えることが可能なサーバの状態を「SBY[online]」と言う。 “SBY [online]” refers to a state in which transition to ACT is possible. In a cluster configuration, when system switching occurs due to a failure or the like, the state of a server that can switch resources from ACT is referred to as “SBY [online]”.
「SBY[standby]」とは、ACTへの遷移が抑止されている状態を言う。クラスタ構成において、故障等による系切り替えが発生した場合でも、ACTに遷移しないように抑止されているサーバの状態を「SBY[standby]」と言う。 “SBY [standby]” refers to a state where transition to ACT is suppressed. In a cluster configuration, even when a system switchover occurs due to a failure or the like, the state of a server that is prevented from transitioning to ACT is referred to as “SBY [standby]”.
「SBY[遷移中]」とは、系切り替え中の状態を言う。クラスタ構成において、故障等による系切り替えが発生したが、リソース停止に失敗して系切り替えが終了していないサーバの状態を「SBY[遷移中]」と言う。 “SBY [in transition]” refers to a state during system switching. In a cluster configuration, a system state in which a system switchover due to a failure or the like has occurred but a resource stop has failed and the system switchover has not ended is referred to as “SBY [in transit]”.
「OUS」とは、サーバでリソース故障中の状態を言う。クラスタ構成において、リソース故障が発生している状態を「OUS」と言う。 “OUS” refers to a state in which a server is experiencing a resource failure. In the cluster configuration, a state in which a resource failure has occurred is referred to as “OUS”.
「NONE」とは、サーバがクラスタ構成に組み込まれていない状態を言う。高可用性クラスタソフトが停止している状態のように、クラスタ構成に組み込まれていないサーバの状態を「NONE」と言う。 “NONE” means a state in which the server is not incorporated in the cluster configuration. A state of a server that is not incorporated in the cluster configuration, such as a state where the high availability cluster software is stopped, is referred to as “NONE”.
<クラスタシステムの構成>
図2に、本発明の実施例に係るクラスタシステムの機能ブロック図を示す。クラスタシステムは、相互に接続されている複数のサーバ(現用機10及び予備機20)と、これらの複数のサーバで共有して用いられる共有ディスク30とを有する。現用機10及び予備機20は、ルータ40を介してクライアントにサービスを提供する。なお、現用機10の性能は、予備機20の性能より優れていてもよい。また、クラスタシステムは、2つ以上の現用機と1つの予備機とで構成されてもよい。
<Configuration of cluster system>
FIG. 2 is a functional block diagram of the cluster system according to the embodiment of the present invention. The cluster system includes a plurality of servers (
現用機10は、リソース101と、故障監視部111と、リソース起動・停止部113と、状態管理部115と、状態記憶部117と、故障ログ記憶部119と、故障クリア部121と、系切り替え指示部123と、ACT化抑止解除部125と、状態確認部127と、オペレーティングシステム(OS)151と、電源制御部153と、電源155とを有する。
The
予備機20は、リソース201と、故障監視部211と、リソース起動・停止部213と、状態管理部215と、状態記憶部217と、故障ログ記憶部219と、オペレーティングシステム(OS)251と、電源制御部253と、電源255とを有する。
The
リソース101及び201は、クライアントにサービスを提供するアプリケーションである。リソース101及び201は、クラスタ状態がサービス稼働中(ACT)のサーバで起動している。
故障監視部111及び211、リソース起動・停止部113及び213、状態管理部115及び215が高可用性クラスタソフトに相当する。
The
故障監視部111及び211は、サーバの故障状態を監視する。例えば、リソース、ネットワーク、共有ディスク等を監視する。リソースはサービス稼働中(ACT)のサーバのみで監視されるが、ネットワーク、共有ディスク及び内蔵ディスクは、現用機と予備機との双方で監視される。現用機で故障が検知された場合、故障状態は、状態管理部115を介して状態記憶部117に格納される。例えば、故障状態として、故障回数や、故障発生タイミング(リソース開始失敗、リソース監視時の故障、リソース停止失敗)を示すエラーステータスが状態記憶部117に格納される。以下に説明するように、現用機の故障状態は、状態管理部215を介して予備機の状態記憶部217にも格納される。予備機で故障が検知された場合も同様に、予備機の故障状態は、状態管理部215を介して状態記憶部217に格納され、更に、状態管理部115を介して状態記憶部117に格納される。また、現用機及び予備機の故障箇所を示す詳細な故障ログ(エラーメッセージ)は、それぞれ故障ログ記憶部119及び219に格納される。
The
リソース起動・停止部113及び213は、クラスタ状態及び故障状態に基づいてリソースを起動及び停止させる。サーバのクラスタ状態がACTへ遷移できる状態(SBY[online])のときに他サーバのリソースが停止した場合、リソース起動・停止部113及び213は、リソースを起動させる。サーバのクラスタ状態がサービス稼働中(ACT)のときに故障が発生した場合、リソース起動・停止部113及び213は、リソースを停止させる。
The resource start /
状態管理部115及び215は、故障状態に基づいてクラスタ状態を管理する。現用機10の状態管理部115と予備機20の状態管理部215は、互いに状態記憶部に格納された故障状態(故障回数、エラーステータス)、クラスタ状態等の情報を交換し、各サーバの情報を状態記憶部117及び217に格納する。
The
図3に、状態管理部115及び215で管理されるクラスタ状態の状態遷移図を示す。クラスタ状態には、ACTと、SBY[online]と、SBY[standby]と、SBY[遷移中]と、OUSと、NONEとが含まれる。ACTのサーバにリソース故障が発生した場合、クラスタ状態はACTからOUSになる(T1)。ACTのサーバにリソース以外の故障(ネットワーク、共有ディスク等の故障)が発生した場合、クラスタ状態はACTからSBY[遷移中]になる(T2)。OUSのサーバの故障状態がクリアされた場合、クラスタ状態はOUSからSBY[online]になる(T3)。故障等により系切り替えが発生して、SBY[online]のサーバがサービスを引き継ぐ場合、クラスタ状態はSBY[online]からSBY[遷移中]になり(T4)、更に、ACTになる(T5)。ACTのサーバから他サーバにサービスを引き継ぐためにACTのサーバでサービスの稼働が抑止された場合、クラスタ状態はACTからSBY[standy]になる(T6)。SBY[standy]のサーバでACTへの遷移抑止が解除された場合、クラスタ状態はSBY[standy]からSBY[online]になる(T7)。SBY[online]のサーバでACTへの遷移が抑止された場合、クラスタ状態はSBY[online]からSBY[standy]になる(T8)。また、電源の停止、オペレーティングシステムの停止又は高可用性クラスタソフト自体の停止により、高可用性クラスタソフトが停止した場合、クラスタ状態はNONEになる(T9〜T13)。高可用性クラスタソフトが起動した場合、クラスタ状態はNONEからSBY[online]になる(T14)。また、現用機及び予備機の双方のクラスタ状態がNONEのときに高可用性クラスタソフト起動した場合、クラスタ状態はNONEからACTになる(T15)。
FIG. 3 shows a state transition diagram of the cluster state managed by the
状態記憶部117及び217は、各サーバのクラスタ状態及び故障状態を格納する。具体的には、状態記憶部117及び217は、現用機10の情報と予備機20の情報との双方をそれぞれ格納し、状態管理部115と状態管理部215との情報交換によって、状態記憶部117に格納される情報と状態記憶部217に格納される情報とは同一に保持される。
The
図4に、状態記憶部117及び217に格納される情報の例を示す。状態記憶部117及び217は、サーバ毎にクラスタ状態、故障回数、エラーステータス及びリソース状態を格納する。状態記憶部117及び217は、クラスタ状態として、ACTと、SBY[online]と、SBY[standby]と、SBY[遷移中]と、OUSと、NONEとのうちいずれかを記憶する。故障回数として、故障が発生した回数(0〜Nの値)を記憶する。故障発生タイミングを示すエラーステータスとして、エラー無しの状態と、リソース開始に失敗した状態と、リソース監視時に故障を検知した状態と、リソース停止に失敗した状態とのうちいずれかを記憶する。リソース状態として、他サーバでリソース稼働中である状態と、自サーバでリソースが稼働中である状態と、リソースが停止中である状態と、リソースの管理を行わない状態とのうちいずれを記憶する。
FIG. 4 shows an example of information stored in the
また、状態記憶部117及び217は、他サーバの電源を強制的に切断する機能が設定されているか否かを示す強制電源断設定状態を格納してもよい。強制電源断設定状態は、システム全体として設定されてもよく、サーバ毎に設定されてもよい。なお、現用機10及び予備機20は、ネットワークや共有ディスク及び内蔵ディスク等に故障が発生した場合等に、他サーバの電源制御部253又は153に対して強制的に電源を切断する指示を送信する強制電源断機能部を有してもよい。
Further, the
故障ログ記憶部119及び219は、それぞれ現用機10及び予備機20の故障ログ(エラーメッセージ)を格納する。故障ログには、故障箇所を示す詳細な情報が含まれる。
The failure
故障クリア部121は、状態管理部115を介して、状態記憶部117に格納された故障状態をクリアする。具体的には、故障クリア部121は、状態記憶部117に格納された現用機の故障回数を0に設定し、現用機のエラーステータスをエラー無しの状態に設定する。故障のクリアにより、状態管理部215を介して、状態記憶部217に格納された現用機の故障回数も0に設定され、現用機のエラーステータスもエラー無しの状態に設定される。
The failure
系切り替え指示部123は、状態管理部115を介して、予備機20から現用機10への系切り替えを指示する。具体的には、状態記憶部117に格納された予備機20のクラスタ状態をサービス稼働中への遷移が抑止されている状態へ遷移させる。この遷移抑止により、現用機10のクラスタ状態はサービス稼働中へ遷移する。この結果、状態管理部215を介して、状態記憶部217に格納された予備機20及び現用機10のクラスタ状態も遷移し、予備機20のクラスタ状態はSBY[standby]になり、現用機10のクラスタ状態はACTになる。そして、予備機20のリソース201が停止し、現用機10のリソース101が起動する。
The system switching
ACT化抑止解除部125は、状態管理部115を介して、状態記憶部117に格納された予備機20のクラスタ状態をサービス稼働中へ遷移できる状態へ遷移させる。この遷移抑止の解除により、状態管理部215を介して、状態記憶部217に格納された予備機20のクラスタ状態も遷移し、予備機20のクラスタ状態は、SBY[online]になる。
The ACT
状態確認部127は、状態管理部115を介して、状態記憶部117に格納された情報を確認する。例えば、現用機10及び予備機20の双方のクラスタ状態、故障回数、エラーステータス及びリソース状態を確認する。
The
オペレーティングシステム151は、サーバ上で高可用性クラスタソフトやアプリケーション等を動作させるための基本ソフトウェアである。
The
電源制御部153は、他サーバから強制的に電源を切断する指示を受信し、サーバに電力を供給する電源155をオン及びオフにする。
The
図5に、本発明の実施例に係るクラスタ状態の遷移を示す。本発明の実施例では、クラスタシステムの現用機でリソース故障が発生して予備機でサービス稼働中である状態を前提とする。この状態から、現用機への復旧処理を実施し、現用機でサービスを再開させる。 FIG. 5 shows the transition of the cluster state according to the embodiment of the present invention. In the embodiment of the present invention, it is assumed that a resource failure has occurred in the active machine of the cluster system and the service is being operated in the spare machine. From this state, the restoration processing to the working machine is performed, and the service is resumed on the working machine.
具体的には、図5に示すように、サービスを開始して故障が発生していない場合、現用機のクラスタ状態は、ACTであり、予備機のクラスタ状態は、SBY[online]である(S1)。故障監視部111が現用機のリソース故障を検知すると、状態管理部115及び215は、現用機のクラスタ状態をOUSへ遷移させる(S2)。この場合、現用機から予備機への系切り替えが実行され、現用機のリソース起動・停止部113はリソースを停止させる。また、予備機のリソース起動・停止部213は、現用機のリソースの停止が終了すると、リソースを起動させる。現用機のリソース停止及び予備機のリソース起動が成功した場合、現用機のクラスタ状態は、OUSになり、予備機のクラスタ状態は、ACTになる(S3)。
Specifically, as shown in FIG. 5, when a service is started and no failure has occurred, the cluster status of the active machine is ACT and the cluster status of the spare machine is SBY [online] ( S1). When the
この状態から現用機でサービスを再開させるために、状態確認部127は、現用機のクラスタ状態がOUSであり、予備機のクラスタ状態がACTであると確認してもよい。故障クリア部121は、現用機において故障状態(故障回数及びエラーステータス)をクリアし、現用機のクラスタ状態をSBY[online]にする(S4)。処理の正常終了を確認するため、状態確認部127は、現用機のクラスタ状態がSBY[online]であり、故障状態がクリアされていると確認してもよい。次に、系切り替え指示部123は、予備機から現用機への系切り替えを指示する。具体的には、予備機のクラスタ状態をSBY[standby]へ遷移させることで、現用機のクラスタ状態をACTへ遷移させる(S5)。処理の正常終了を確認するため、状態確認部127は、現用機のクラスタ状態がACTであり、予備機のクラスタ状態がSBY[standby]であると確認してもよい。その後、ACT化抑止解除部125は、予備機のクラスタ状態をSBY[online]へ遷移させる(S6)。処理の正常終了を確認するため、状態確認部127は、現用機のクラスタ状態がACTであり、予備機のクラスタ状態がSBY[online]であると確認してもよい。このようにして、現用機及び予備機のクラスタ状態を、サービスを開始して故障が発生していない状態に戻すことができる。
In order to restart the service on the active machine from this state, the
<高可用性クラスタソフトへの適用>
図6に本発明を高可用性クラスタソフトに適用したときの機能ブロック図を示す。
<Application to high availability cluster software>
FIG. 6 shows a functional block diagram when the present invention is applied to high availability cluster software.
高可用性クラスタソフトには、サーバの故障状態を監視する故障監視機能と、クラスタ状態及び故障状態に基づいてリソースを起動及び停止させるリソース起動・停止機能と、故障状態に基づいてクラスタ状態を管理する状態管理機能とが含まれる。故障ログは、内蔵ディスクの故障ログ記憶部に格納され、サーバ毎のクラスタ状態、故障回数、エラーステータス及びリソース状態は、内蔵ディスクの状態記憶部に格納される。 High-availability cluster software includes a failure monitoring function that monitors the failure status of servers, a resource start / stop function that starts and stops resources based on the cluster status and failure status, and manages the cluster status based on the failure status State management function. The failure log is stored in the failure log storage unit of the internal disk, and the cluster status, the number of failures, the error status, and the resource status for each server are stored in the status storage unit of the internal disk.
このような高可用性クラスタソフトシステムの現用機に、上記の故障クリア部121と、系切り替え指示部123と、ACT化抑止解除部125と、状態確認部127とを設けることで、以下に説明するように、現用機及び予備機のクラスタ状態を、サービスを開始して故障が発生していない状態に戻すことができる。
The above-described failure
図7に、本発明を高可用性クラスタソフトに適用したときのクラスタシステムの復旧方法のフローチャートを示す。 FIG. 7 shows a flowchart of a cluster system recovery method when the present invention is applied to high-availability cluster software.
この復旧方法は、クラスタシステムの現用機でリソース故障が発生して予備機でサービス稼働中である状態から始まる。この場合、現用機及び予備機は以下の状態である。 This recovery method starts from a state in which a resource failure occurs in the active machine of the cluster system and the service is operating on the spare machine. In this case, the current machine and the spare machine are in the following state.
(現用機の状態)
クラスタ状態:OUS
故障回数:1以上
エラーステータス:2
リソース状態:0
(予備機の状態)
クラスタ状態:ACT
故障回数:0
エラーステータス:0
リソース状態:1
復旧方法の実行に先立ち、状態確認部127は、状態確認コマンドを実行して、現用機の状態記憶部に格納されたクラスタ状態を読み取り、現用機のクラスタ状態がOUSであり、予備機のクラスタ状態がACTであることを確認してもよい。ここで、高可用性クラスタソフトでは予備機と現用機との間で状態記憶部の情報交換が行われているため、状態確認コマンドにより現用機及び予備機の双方の状態を読み取ることができる。なお、現用機のクラスタ状態がOUSの場合には、現用機の故障回数は1以上であり、現用機のエラーステータスは2である。
(Current machine status)
Cluster state: OUS
Number of failures: 1 or more Error status: 2
Resource status: 0
(Status of spare machine)
Cluster state: ACT
Number of failures: 0
Error status: 0
Resource status: 1
Prior to execution of the recovery method, the
この状態において、故障クリア部121は、故障クリアコマンドを実行して、現用機の状態記憶部に格納された現用機の故障回数及びエラーステータスをクリアする(S101)。故障のクリアにより、現用機のクラスタ状態は、OUSからSBY[online]へ遷移する。現用機の高可用性クラスタソフトは、故障のクリア及びクラスタ状態の遷移を予備機の高可用性クラスタソフトに通知し、予備機の高可用性クラスタソフトは、この通知を受け、予備機の状態記憶部に格納された現用機の故障回数及びエラーステータスをクリアし、現用機のクラスタ状態をSBY[online]にする。
In this state, the failure
次に、状態確認部127は、状態確認コマンドを実行して、現用機の状態記憶部に格納された現用機のクラスタ状態、故障回数及びエラーステータスを読み取り(S103)、現用機のクラスタ状態がSBY[online]であり、故障回数及びエラーステータスがクリアされているか確認する(S105)。このときの現用機及び予備機の状態は以下の状態である。
Next, the
(現用機の状態)
クラスタ状態:SBY[online]
故障回数:0
エラーステータス:0
リソース状態:0
(予備機の状態)
クラスタ状態:ACT
故障回数:0
エラーステータス:0
リソース状態:1
故障のクリアが失敗し、現用機が上記の状態になっていない場合(S105:NO)、エラーが出力される(S107)。例えば、エラーは、管理LANに接続された保守端末に表示される。
(Current machine status)
Cluster state: SBY [online]
Number of failures: 0
Error status: 0
Resource status: 0
(Status of spare machine)
Cluster state: ACT
Number of failures: 0
Error status: 0
Resource status: 1
If clearing of the failure fails and the active machine is not in the above state (S105: NO), an error is output (S107). For example, the error is displayed on a maintenance terminal connected to the management LAN.
故障のクリアが成功し、現用機が上記の状態になっている場合(S105:YES)、系切り替え指示部123は、状態遷移コマンド(系切り替えコマンド)を実行して、現用機の状態記憶部に格納された予備機のクラスタ状態をSBY[standby]へ遷移させることで、現用機のクラスタ状態をACTへ遷移させる(S109)。現用機の高可用性クラスタソフトは、クラスタ状態の遷移を予備機の高可用性クラスタソフトに通知し、予備機の高可用性クラスタソフトは、この通知を受け、予備機の状態記憶部に格納された予備機のクラスタ状態をSBY[standby]にし、現用機のクラスタ状態をACTにする。
When the failure is successfully cleared and the active machine is in the above state (S105: YES), the system switching
次に、状態確認部127は、状態確認コマンドを実行して、現用機の状態記憶部に格納された現用機及び予備機のクラスタ状態を読み取り(S111)、現用機のクラスタ状態がACTであり、予備機のクラスタ状態がSBY[standby]であるか確認する(S113)。このときの現用機及び予備機の状態は以下の状態である。なお、現用機のクラスタ状態がACTの場合には、現用機のリソース状態は1であり、予備機のリソース状態は0である。
Next, the
(現用機の状態)
クラスタ状態:ACT
故障回数:0
エラーステータス:0
リソース状態:1
(予備機の状態)
クラスタ状態:SBY[standby]
故障回数:0
エラーステータス:0
リソース状態:0
系切り替えが失敗し、現用機及び予備機が上記の状態になっていない場合(S113:NO)、エラーが出力される(S115)。
(Current machine status)
Cluster state: ACT
Number of failures: 0
Error status: 0
Resource status: 1
(Status of spare machine)
Cluster state: SBY [standby]
Number of failures: 0
Error status: 0
Resource status: 0
If the system switching fails and the active machine and the spare machine are not in the above state (S113: NO), an error is output (S115).
系切り替えが成功し、現用機及び予備機が上記の状態になっている場合(S113:YES)、ACT化抑止解除部125は、状態遷移コマンド(系切り替えコマンド)を実行して、現用機の状態記憶部に格納された予備機のクラスタ状態をSBY[online]へ遷移させる(S117)。現用機の高可用性クラスタソフトは、クラスタ状態の遷移を予備機の高可用性クラスタソフトに通知し、予備機の高可用性クラスタソフトは、この通知を受け、予備機の状態記憶部に格納された予備機のクラスタ状態をSBY[online]にする。
When the system switch is successful and the active machine and the spare machine are in the above state (S113: YES), the ACT
次に、状態確認部127は、状態確認コマンドを実行して、現用機の状態記憶部に格納された予備機のクラスタ状態を読み取り(S119)、予備機のクラスタ状態がSBY[online]であるか確認する(S121)。このときの現用機及び予備機の状態は以下の状態である。
Next, the
(現用機の状態)
クラスタ状態:ACT
故障回数:0
エラーステータス:0
リソース状態:1
(予備機の状態)
クラスタ状態:SBY[online]
故障回数:0
エラーステータス:0
リソース状態:0
状態遷移が失敗し、予備機が上記の状態になっていない場合(S121:NO)、エラーが出力される(S123)。
(Current machine status)
Cluster state: ACT
Number of failures: 0
Error status: 0
Resource status: 1
(Status of spare machine)
Cluster state: SBY [online]
Number of failures: 0
Error status: 0
Resource status: 0
If the state transition fails and the spare machine is not in the above state (S121: NO), an error is output (S123).
状態遷移が成功し、予備機が上記の状態になっている場合(S121:YES)、処理が終了する。 If the state transition is successful and the spare machine is in the above state (S121: YES), the process ends.
なお、上記の処理フローは、管理LANに接続された保守端末から現用機の各機能部を実行させることにより、実施されてもよい。 Note that the above processing flow may be implemented by causing each functional unit of the active machine to be executed from a maintenance terminal connected to the management LAN.
<実施例の効果>
上記のように、本発明の実施例によれば、クラスタシステムの現用機でリソース故障が発生して予備機でサービス稼働中である場合に、現用機でサービスを再開させることが可能になる。従って、予備機でサービスが提供されている場合にはリソースの再起動では回復できない故障が発生していると判断することが可能になる。
<Effect of Example>
As described above, according to the embodiment of the present invention, when a resource failure occurs in the active device of the cluster system and the service is operating in the spare device, the service can be restarted in the active device. Therefore, when a service is provided by a spare machine, it can be determined that a failure that cannot be recovered by restarting the resource has occurred.
また、予備機の性能が現用機の性能より劣る場合、又は、2つ以上の現用機と1つの予備機とでクラスタシステムが構成されている場合に、予備機でのサービス提供による処理速度の低下を回避することができる。 In addition, when the performance of the spare machine is inferior to that of the active machine, or when a cluster system is composed of two or more active machines and one spare machine, the processing speed of the spare machine providing the service speed A decrease can be avoided.
説明の便宜上、本発明の実施例に係るシステムは機能的なブロック図を用いて説明しているが、本発明のシステムは、ハードウェア、ソフトウェア又はそれらの組み合わせで実現されてもよい。例えば、サーバ(現用機及び予備機)の各機能部がソフトウェアで実現され、オペレーションシステム上にインストールされてもよい。また、各機能部が必要に応じて組み合わせて使用されてもよい。 For convenience of explanation, the system according to the embodiment of the present invention is described using a functional block diagram. However, the system of the present invention may be realized by hardware, software, or a combination thereof. For example, each functional unit of the server (active machine and spare machine) may be realized by software and installed on the operation system. In addition, the functional units may be used in combination as necessary.
以上、本発明の実施例について説明したが、本発明は、上記の実施例に限定されることなく、特許請求の範囲内において、種々の変更・応用が可能である。 As mentioned above, although the Example of this invention was described, this invention is not limited to said Example, A various change and application are possible within a claim.
10 サーバ(現用機)
20 サーバ(予備機)
30 共有ディスク
40 ルータ
101 リソース
111 故障監視部
113 リソース起動・停止部
115 状態管理部
117 状態記憶部
119 故障ログ記憶部
121 故障クリア部
123 系切り替え指示部
125 ACT化抑止解除部
127 状態確認部
151 オペレーティングシステム
153 電源制御部
155 電源
201 リソース
211 故障監視部
213 リソース起動・停止部
215 状態管理部
217 状態記憶部
219 故障ログ記憶部
251 オペレーティングシステム
253 電源制御部
255 電源
10 servers (current machine)
20 servers (spare machine)
DESCRIPTION OF
Claims (3)
前記現用機の故障クリア手段が、前記状態記憶手段に格納された現用機のクラスタ状態がリソース故障中の状態であり、前記状態記憶手段に格納された予備機のクラスタ状態がサービス稼働中の状態である場合、前記現用機の前記状態記憶手段に格納された故障状態をクリアする故障クリアステップと、
前記現用機の遷移抑止手段が、前記状態記憶手段に格納された現用機の故障状態がクリアされ、前記状態記憶手段に格納された現用機のクラスタ状態がサービス稼働中へ遷移できる状態である場合、予備機のクラスタ状態をサービス稼働中への遷移が抑止されている状態へ遷移させる遷移抑止ステップと、
前記現用機の遷移抑止解除手段が、前記状態記憶手段に格納された現用機のクラスタ状態がサービス稼働中の状態であり、前記状態記憶手段に格納された予備機のクラスタ状態がサービス稼働中への遷移が抑止されている状態である場合、予備機のクラスタ状態をサービス稼働中へ遷移できる状態へ遷移させる遷移抑止解除ステップと、
を有するクラスタシステム復旧方法。 The failure monitoring means for monitoring the failure status, and the service operation status of the active machine and the spare machine based on the failure status, the status of service operation, the status of transition to service operation, and the transition to service operation are suppressed. A cluster system comprising: a status management means for managing a cluster status including a status of a fault and a resource failure status; and a current machine and a spare machine each including a status storage means for storing the cluster status and the fault status A cluster system recovery method for transitioning the cluster state of the active machine to service operation when a resource failure occurs in the active machine and the spare machine is operating.
The active device failure clearing means is in a state in which the cluster state of the working machine stored in the state storage means is in a resource failure state, and the cluster state of the spare machine stored in the state storage means is in service operation state If it is, a failure clear step for clearing the failure state stored in the state storage means of the working machine,
When the active device transition suppression means is in a state in which the failure state of the active machine stored in the state storage means is cleared and the cluster state of the active machine stored in the state storage means can transition to service operation , a transition suppression step of transition to the state transition of the cluster state of the spare unit into the service operation is suppressed,
The active device transition inhibition canceling means that the cluster status of the active machine stored in the status storage means is in service operation status, and the standby machine cluster status stored in the status storage means is in service operation status. A transition deactivation step for transitioning the cluster state of the spare machine to a state where it can transition to service operation,
A cluster system recovery method comprising:
前記現用機にリソース故障が発生して前記予備機でサービス稼働中である場合に、
前記状態記憶手段に格納された現用機のクラスタ状態がリソース故障中の状態であり、前記状態記憶手段に格納された予備機のクラスタ状態がサービス稼働中の状態である場合、前記現用機の前記状態記憶手段に格納された故障状態をクリアする故障クリア手段と、
前記状態記憶手段に格納された現用機の故障状態がクリアされ、前記状態記憶手段に格納された現用機のクラスタ状態がサービス稼働中へ遷移できる状態である場合、予備機のクラスタ状態をサービス稼働中への遷移が抑止されている状態へ遷移させる遷移抑止手段と、
前記状態記憶手段に格納された現用機のクラスタ状態がサービス稼働中の状態であり、前記状態記憶手段に格納された予備機のクラスタ状態がサービス稼働中への遷移が抑止されている状態である場合、予備機のクラスタ状態をサービス稼働中へ遷移できる状態へ遷移させる遷移抑止解除手段と、
を有するサーバ。 The failure monitoring means for monitoring the failure status, and the service operation status of the active machine and the spare machine based on the failure status, the status of service operation, the status of transition to service operation, and the transition to service operation are suppressed. A cluster system comprising: a status management means for managing a cluster status including a status of a fault and a resource failure status; and a current machine and a spare machine each including a status storage means for storing the cluster status and the fault status And a server operating as the working machine,
When a resource failure occurs in the working machine and the spare machine is in service,
When the cluster status of the active machine stored in the status storage means is a resource failure status, and the cluster status of the spare machine stored in the status storage means is a service operating status, Fault clearing means for clearing the fault state stored in the state storage means;
When the failure state of the working machine stored in the state storage means is cleared and the cluster state of the working machine stored in the state storage means is in a state where it can be shifted to service operation, the cluster state of the spare machine is serviced. A transition inhibiting means for transitioning to a state in which the transition to the inside is inhibited;
The cluster state of the active machine stored in the state storage means is a service operating state, and the standby machine cluster state stored in the state storage means is a state in which the transition to the service operating state is suppressed. If a transition inhibit release means for transitioning to a state that can transition the cluster state of the spare unit into the service operation,
Server with.
前記現用機にリソース故障が発生して前記予備機でサービス稼働中である場合に、
前記状態記憶手段に格納された現用機のクラスタ状態がリソース故障中の状態であり、前記状態記憶手段に格納された予備機のクラスタ状態がサービス稼働中の状態である場合、前記現用機の前記状態記憶手段に格納された故障状態をクリアする故障クリア手段、
前記状態記憶手段に格納された現用機の故障状態がクリアされ、前記状態記憶手段に格納された現用機のクラスタ状態がサービス稼働中へ遷移できる状態である場合、予備機のクラスタ状態をサービス稼働中への遷移が抑止されている状態へ遷移させる遷移抑止手段、及び
前記状態記憶手段に格納された現用機のクラスタ状態がサービス稼働中の状態であり、前記状態記憶手段に格納された予備機のクラスタ状態がサービス稼働中への遷移が抑止されている状態である場合、予備機のクラスタ状態をサービス稼働中へ遷移できる状態へ遷移させる遷移抑止解除手段、
として機能させるためのプログラム。 The failure monitoring means for monitoring the failure status, and the service operation status of the active machine and the spare machine based on the failure status, the status of service operation, the status of transition to service operation, and the transition to service operation are suppressed. A cluster system comprising: a status management means for managing a cluster status including a status of a fault and a resource failure status; and a current machine and a spare machine each including a status storage means for storing the cluster status and the fault status Then, the server operating as the working machine is
When a resource failure occurs in the working machine and the spare machine is in service,
When the cluster status of the active machine stored in the status storage means is a resource failure status, and the cluster status of the spare machine stored in the status storage means is a service operating status, Failure clearing means for clearing the failure state stored in the state storage means;
When the failure state of the working machine stored in the state storage means is cleared and the cluster state of the working machine stored in the state storage means is in a state where it can be shifted to service operation, the cluster state of the spare machine is serviced. A transition deterring means for transitioning to a state in which the transition to the inside is deterred, and
The cluster state of the active machine stored in the state storage means is a service operating state, and the standby machine cluster state stored in the state storage means is a state in which the transition to the service operating state is suppressed. If the transition inhibit release means for transitioning to a state that can transition the cluster state of the spare unit into the service operation,
Program to function as.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010252887A JP5277227B2 (en) | 2010-06-04 | 2010-11-11 | Cluster system recovery method, server and software |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010128888 | 2010-06-04 | ||
| JP2010128888 | 2010-06-04 | ||
| JP2010252887A JP5277227B2 (en) | 2010-06-04 | 2010-11-11 | Cluster system recovery method, server and software |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2012014670A JP2012014670A (en) | 2012-01-19 |
| JP5277227B2 true JP5277227B2 (en) | 2013-08-28 |
Family
ID=45600972
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2010252887A Active JP5277227B2 (en) | 2010-06-04 | 2010-11-11 | Cluster system recovery method, server and software |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5277227B2 (en) |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000293391A (en) * | 1999-04-07 | 2000-10-20 | Mitsubishi Electric Corp | Large-scale memory system management method and apparatus |
| JP4353005B2 (en) * | 2004-06-29 | 2009-10-28 | 株式会社日立製作所 | System switching method for clustered computer systems |
-
2010
- 2010-11-11 JP JP2010252887A patent/JP5277227B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2012014670A (en) | 2012-01-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111290834B (en) | A method, device and equipment for realizing high service availability based on cloud management platform | |
| CA2611457C (en) | Method and apparatus for facilitating device redundancy in a fault-tolerant system | |
| JP2005535241A (en) | Method of moving application software in multicomputer architecture, multicomputer method and apparatus for realizing continuity of operation using the moving method | |
| CN111460039A (en) | Relational database processing system, client, server and method | |
| KR20070026327A (en) | Active routing component failure handling method and apparatus | |
| JP5948933B2 (en) | Job continuation management apparatus, job continuation management method, and job continuation management program | |
| WO2021136422A1 (en) | State management method, master and backup application server switching method, and electronic device | |
| CN1366242A (en) | Method for implementing dual-system standby | |
| CN115208743B (en) | Deployment method and device of cross-site cluster based on ETCD | |
| CN108173971A (en) | A kind of MooseFS high availability methods and system based on active-standby switch | |
| CN101237413A (en) | Method for Realizing High Availability of Control Components under the Architecture of Separating Forwarding and Control Components | |
| JP5285045B2 (en) | Failure recovery method, server and program in virtual environment | |
| CN102388569B (en) | Method and system for shifting between main and standby management software | |
| JP5285044B2 (en) | Cluster system recovery method, server, and program | |
| CN117421158A (en) | Database fault processing method, system and storage medium | |
| JP5277228B2 (en) | Cluster system recovery method, server and software | |
| CN112000745A (en) | Database high-availability method and device | |
| CN101686261A (en) | RAC-based redundant server system | |
| JP5277227B2 (en) | Cluster system recovery method, server and software | |
| CN100395962C (en) | Switching method and system for equipment in communication system | |
| CN116185697B (en) | Container cluster management method, device and system, electronic equipment and storage medium | |
| JP5277229B2 (en) | Cluster system recovery method, server and software | |
| CN107181608B (en) | A method and operation and maintenance management system for restoring service and improving performance | |
| JP4485560B2 (en) | Computer system and system management program | |
| JP2010231257A (en) | High availability system and method for handling failure of high availability system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130215 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130226 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130423 |
|
| 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: 20130514 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130520 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 5277227 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| 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 |
|
| S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |