JP5808006B2 - Server start / stop control device and server start / stop control method - Google Patents

Server start / stop control device and server start / stop control method Download PDF

Info

Publication number
JP5808006B2
JP5808006B2 JP2011193321A JP2011193321A JP5808006B2 JP 5808006 B2 JP5808006 B2 JP 5808006B2 JP 2011193321 A JP2011193321 A JP 2011193321A JP 2011193321 A JP2011193321 A JP 2011193321A JP 5808006 B2 JP5808006 B2 JP 5808006B2
Authority
JP
Japan
Prior art keywords
server
stop
communication network
network device
log
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.)
Expired - Fee Related
Application number
JP2011193321A
Other languages
Japanese (ja)
Other versions
JP2013054605A5 (en
JP2013054605A (en
Inventor
芳彦 大森
芳彦 大森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2011193321A priority Critical patent/JP5808006B2/en
Publication of JP2013054605A publication Critical patent/JP2013054605A/en
Publication of JP2013054605A5 publication Critical patent/JP2013054605A5/ja
Application granted granted Critical
Publication of JP5808006B2 publication Critical patent/JP5808006B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)

Description

この発明は、サーバ起動停止制御装置及びサーバ起動停止制御方法に関する。   The present invention relates to a server start / stop control device and a server start / stop control method.

従来、通信ネットワークにおいては、当該通信ネットワーク上に設置された複数の通信ネットワーク装置間で処理要求信号の送信と、それに対する処理結果の応答が行われている。例えば、1つの問題を複数の通信ネットワーク装置によって処理する並列分散処理などにおいては、通信ネットワーク装置は、他の通信ネットワーク装置から受信した処理要求信号に含まれるユーザ情報や、ネットワーク情報、及び、自装置が保持する情報にしたがって処理を実行する。そして、処理を実行した通信ネットワーク装置は、処理要求信号を送信した通信ネットワーク装置に対して処理結果を応答するとともに、処理内容を装置内に記憶する。   2. Description of the Related Art Conventionally, in a communication network, a processing request signal is transmitted between a plurality of communication network devices installed on the communication network, and a processing result is responded thereto. For example, in parallel distributed processing in which a single problem is processed by a plurality of communication network devices, the communication network device has user information, network information, and own information included in a processing request signal received from another communication network device. Processing is executed according to information held by the apparatus. Then, the communication network device that has executed the processing returns a processing result to the communication network device that has transmitted the processing request signal, and stores the processing content in the device.

上述した処理を実行するために、例えば、通信ネットワーク装置は、他の通信ネットワーク装置からの処理要求信号を受信して必要な処理を実行した後に、処理結果を応答するフロントサーバと、フロントサーバが処理を実行するために必要な情報(例えば、ユーザ情報や、ネットワーク情報など)を保持するDB(Data Base)サーバと、装置の処理内容を記録して保持するログサーバとから構成される。   In order to execute the above-described processing, for example, a communication network device receives a processing request signal from another communication network device and executes necessary processing, and then a front server that responds to the processing result and a front server It is composed of a DB (Data Base) server that holds information (for example, user information and network information) necessary for executing processing, and a log server that records and holds the processing contents of the apparatus.

これらのサーバは、全てのサーバ種別において、少なくても1つ以上のサーバが、1つ以上のハードウェアに実装され、通信ネットワーク上に配置される。通信ネットワーク上に配置される各サーバの数は、通信ネットワークの規模や、要求される信頼度に応じて変化し、例えば、通信ネットワークの規模が大きい程、或いは、要求される信頼度が高い程、配置されるサーバ数が多くなる。   In all types of servers, at least one or more servers are mounted on one or more pieces of hardware, and these servers are arranged on a communication network. The number of servers arranged on the communication network varies depending on the size of the communication network and the required reliability. For example, the larger the size of the communication network or the higher the required reliability. The number of servers to be arranged increases.

ここで、通信ネットワーク上に配置されたサーバ群における各サーバの起動及び停止を制御するサーバ起動停止制御装置が知られている。例えば、サーバ起動停止制御装置は、通信ネットワーク上に配置された複数のサーバそれぞれの起動及び停止を制御する。   Here, a server activation / deactivation control device that controls activation and deactivation of each server in a server group arranged on a communication network is known. For example, the server activation / deactivation control device controls activation and deactivation of each of a plurality of servers arranged on the communication network.

特許第3394337号公報Japanese Patent No. 3394337

しかしながら、上述した従来技術では、異なるサーバ種別間で、サーバを起動又は停止させる際の制約がある場合に、サーバの起動及び停止を迅速に制御することができないという問題があった。例えば、上述した従来技術では、サーバ種別間で、サーバを起動又は停止させる順番に制約があったり、サーバの起動又は停止に失敗した後の他のサーバに対する制御に制約があったりした場合に、それを守った上でサーバの起動や停止を制御することができなかった。   However, the above-described prior art has a problem that it is not possible to quickly control server start and stop when there are restrictions when starting or stopping the server between different server types. For example, in the above-described prior art, when there is a restriction on the order in which servers are started or stopped among server types, or when there is a restriction on control of other servers after failure to start or stop the server, It was impossible to control the start and stop of the server while protecting it.

かかる場合には、サーバ群を管理する保守者が、サーバの起動又は停止に係る制約を確認しながらサーバの起動又は停止を行うため、作業時間が長くかかってしまい、サーバの起動及び停止を迅速に制御することができない。さらに、保守者の作業ミスを誘発する場合もあった。   In such a case, the maintenance person who manages the server group starts or stops the server while confirming the restrictions on starting or stopping the server, so that it takes a long time to start and stop the server quickly. Can not be controlled. In addition, there were cases where maintenance mistakes were induced.

そこで、本願は、上述した従来技術の問題に鑑みてなされたものであって、異なるサーバ種別間で、サーバを起動又は停止させる際の制約がある場合であっても、サーバの起動及び停止を迅速に制御することを可能にするサーバ起動停止制御装置及びサーバ起動停止制御方法を提供することを目的とする。   Therefore, the present application has been made in view of the above-described problems of the prior art, and even when there are restrictions when starting or stopping the server between different server types, the server can be started and stopped. It is an object of the present invention to provide a server start / stop control device and a server start / stop control method that enable quick control.

上述した課題を解決し、目的を達成するため、本願の装置は、役割分担された各サーバが役割毎に複数台ずつネットワークに接続され、役割分担されたサーバ間で協働処理を行うシステムにおいて、各サーバの起動又は停止を制御するサーバ起動停止制御装置であって、各サーバの起動又は停止に適用される制約条件であって、サーバ毎に、該サーバの起動又は停止に際して所定の条件を満たすべき他のサーバ及び該条件の内容を示す制約条件を記憶する記憶手段と、前記ネットワークに接続されたサーバのうち、起動又は停止を実行する対象サーバの起動又は停止に適用される前記制約条件を前記記憶手段から取得し、該制約条件に規定された他のサーバ及び条件の内容を特定する特定手段と、前記特定手段によって特定された他のサーバに関して、前記特定手段によって特定された条件の内容を満たしたうえで、前記対象サーバの起動又は停止を実行する実行手段とを備えたことを特徴とする。   In order to solve the above-described problems and achieve the object, the device of the present application is a system in which a plurality of servers each assigned a role are connected to a network for each role, and a cooperative process is performed between the servers assigned a role. A server activation / deactivation control device that controls activation or deactivation of each server, which is a restriction condition applied to activation or deactivation of each server, and for each server, a predetermined condition is set for activation or deactivation of the server. Storage means for storing another server to be satisfied and a constraint condition indicating the content of the condition, and the constraint condition applied to start or stop of a target server that is to be started or stopped among servers connected to the network Is obtained from the storage means, and the other server specified by the restriction condition and the content of the condition are specified, and the other server specified by the specification means Regarding, after filled with the contents of the specified conditions by the specifying unit, characterized by comprising an execution means for executing the start or stop of the target server.

本願の装置は、異なるサーバ種別間で、サーバを起動又は停止させる際の制約がある場合であっても、サーバの起動及び停止を迅速に制御することを可能にする。   The apparatus according to the present application makes it possible to quickly control start and stop of a server even when there are restrictions when starting or stopping the server between different server types.

図1は、従来技術に係る通信ネットワークの一例を示す図である。FIG. 1 is a diagram illustrating an example of a communication network according to the related art. 図2は、従来技術に係るサーバ起動停止制御装置の処理の一例を説明するための図である。FIG. 2 is a diagram for explaining an example of processing of the server activation / deactivation control device according to the related art. 図3は、従来技術に係るサーバ起動停止制御装置の構成の一例を示す図である。FIG. 3 is a diagram illustrating an example of the configuration of the server activation / deactivation control device according to the related art. 図4は、従来技術に係るサーバ起動停止制御装置による処理の一例を示すシーケンス図である。FIG. 4 is a sequence diagram illustrating an example of processing performed by the server activation / deactivation control device according to the related art. 図5は、実施例1に係る通信ネットワークの一例を説明するための図である。FIG. 5 is a schematic diagram illustrating an example of a communication network according to the first embodiment. 図6は、実施例1に係るサーバ起動停止制御装置の構成の一例を示す図である。FIG. 6 is a diagram illustrating an example of the configuration of the server start / stop control apparatus according to the first embodiment. 図7は、実施例1に係る通信ネットワーク装置起動停止ファイルによって記憶される情報の一例を示す図である。FIG. 7 is a diagram illustrating an example of information stored by the communication network device activation / deactivation file according to the first embodiment. 図8は、実施例1に係るサーバ起動停止条件ファイルによって記憶される情報の一例を示す図である。FIG. 8 is a diagram illustrating an example of information stored by the server start / stop condition file according to the first embodiment. 図9Aは、実施例1に係るサーバ起動停止制御装置による処理の手順を示すシーケンス図である。FIG. 9A is a sequence diagram illustrating a processing procedure performed by the server start / stop control apparatus according to the first embodiment. 図9Bは、実施例1に係るサーバ起動停止制御装置による処理の手順を示すシーケンス図である。FIG. 9B is a sequence diagram illustrating a processing procedure performed by the server start / stop control apparatus according to the first embodiment. 図9Cは、実施例1に係るサーバ起動停止制御装置による処理の手順を示すシーケンス図である。FIG. 9C is a sequence diagram illustrating a processing procedure performed by the server start / stop control apparatus according to the first embodiment. 図10は、実施例2に係る通信ネットワークの一例を示す模式図である。FIG. 10 is a schematic diagram illustrating an example of a communication network according to the second embodiment. 図11は、実施例2に係るサーバ起動停止制御装置の構成の一例を示す図である。FIG. 11 is a diagram illustrating an example of the configuration of the server start / stop control apparatus according to the second embodiment. 図12は、実施例2に係る通信ネットワーク装置優先度データファイルによって記憶される情報の一例を示す図である。FIG. 12 is a diagram illustrating an example of information stored in the communication network device priority data file according to the second embodiment. 図13は、実施例2に係る通信ネットワーク装置運用データファイルによって記憶される情報の一例を示す図である。FIG. 13 is a diagram illustrating an example of information stored by the communication network device operation data file according to the second embodiment. 図14Aは、実施例2に係るサーバ起動停止制御装置による処理の手順を示すシーケンス図である。FIG. 14A is a sequence diagram illustrating a processing procedure performed by the server start / stop control apparatus according to the second embodiment. 図14Bは、実施例2に係るサーバ起動停止制御装置による処理の手順を示すシーケンス図である。FIG. 14B is a sequence diagram illustrating a processing procedure performed by the server start / stop control apparatus according to the second embodiment. 図14Cは、実施例2に係るサーバ起動停止制御装置による処理の手順を示すシーケンス図である。FIG. 14C is a sequence diagram illustrating a processing procedure performed by the server start / stop control apparatus according to the second embodiment. 図14Dは、実施例2に係るサーバ起動停止制御装置による処理の手順を示すシーケンス図である。FIG. 14D is a sequence diagram illustrating a processing procedure performed by the server start / stop control apparatus according to the second embodiment. 図14Eは、実施例2に係るサーバ起動停止制御装置による処理の手順を示すシーケンス図である。FIG. 14E is a sequence diagram illustrating a processing procedure performed by the server start / stop control apparatus according to the second embodiment. 図14Fは、実施例2に係るサーバ起動停止制御装置による処理の手順を示すシーケンス図である。FIG. 14F is a sequence diagram illustrating a processing procedure performed by the server start / stop control apparatus according to the second embodiment. 図15は、実施例3に係る通信ネットワークの一例を示す模式図である。FIG. 15 is a schematic diagram illustrating an example of a communication network according to the third embodiment. 図16は、実施例3に係るサーバ起動停止制御装置の構成の一例を示す図である。FIG. 16 is a diagram illustrating an example of the configuration of the server start / stop control apparatus according to the third embodiment. 図17は、実施例3に係る通信ネットワーク装置起動停止ファイルによって記憶される情報の一例を示す図である。FIG. 17 is a diagram illustrating an example of information stored in the communication network device activation / deactivation file according to the third embodiment. 図18は、実施例3に係るサーバ起動停止条件ファイルによって記憶される情報の一例を示す図である。FIG. 18 is a diagram illustrating an example of information stored by the server start / stop condition file according to the third embodiment. 図19Aは、実施例3に係るサーバ起動停止制御装置による処理の手順を示すシーケンス図である。FIG. 19A is a sequence diagram illustrating a processing procedure performed by the server start / stop control apparatus according to the third embodiment. 図19Bは、実施例3に係るサーバ起動停止制御装置による処理の手順を示すシーケンス図である。FIG. 19B is a sequence diagram illustrating a processing procedure performed by the server start / stop control apparatus according to the third embodiment. 図19Cは、実施例3に係るサーバ起動停止制御装置による処理の手順を示すシーケンス図である。FIG. 19C is a sequence diagram illustrating a processing procedure performed by the server start / stop control apparatus according to the third embodiment.

以下に添付図面を参照して、本願のサーバ起動停止制御装置及びサーバ起動停止制御方法の実施例を詳細に説明する。なお、本願のサーバ起動停止制御装置及びサーバ起動停止制御方法は、以下の実施例により限定されるものではない。 Exemplary embodiments of a server start / stop control device and a server start / stop control method of the present application will be described below in detail with reference to the accompanying drawings. The server start / stop control device and the server start / stop control method of the present application are not limited to the following embodiments.

実施例1においては、まず、従来技術の一例を挙げて課題について説明した後、本願のサーバ起動停止制御装置について説明する。また、実施例1においては、通信ネットワークに接続された通信ネットワーク装置を停止させる際に、通信ネットワーク装置を構成する複数のサーバを停止する場合について説明する。   In the first embodiment, first, the problem is described with an example of the prior art, and then the server start / stop control device of the present application is described. In the first embodiment, a case will be described in which a plurality of servers constituting the communication network device are stopped when the communication network device connected to the communication network is stopped.

ここで、まず、通信ネットワークについて説明する。図1は、従来技術に係る通信ネットワークの一例を示す模式図である。例えば、通信ネットワークには、図1に示すように、複数の通信ネットワーク装置が接続される。なお、図1においては、2台の通信ネットワーク装置が示されているが、実際には、さらに多くの通信ネットワーク装置が通信ネットワークに接続されている。例えば、通信ネットワークは、LAN(Local Area Network)やWAN(Wide Area Network)などである。   First, the communication network will be described. FIG. 1 is a schematic diagram illustrating an example of a communication network according to the related art. For example, as shown in FIG. 1, a plurality of communication network devices are connected to the communication network. In FIG. 1, two communication network devices are shown, but actually more communication network devices are connected to the communication network. For example, the communication network is a local area network (LAN) or a wide area network (WAN).

通信ネットワーク装置は、図1に示すように、フロントサーバと、DBサーバと、ログサーバとを有し、クライアント装置からの要求に応じて処理を実行する。例えば、通信ネットワーク装置は、他の通信ネットワーク装置、或いは、クライアント装置と通信を行い、並列分散処理を行う。なお、図1においては、フロントサーバ、DBサーバ及びログサーバが1台ずつ示されているが、通信ネットワーク装置が各サーバを複数台有する場合であってもよい。   As shown in FIG. 1, the communication network device includes a front server, a DB server, and a log server, and executes processing in response to a request from a client device. For example, the communication network device communicates with other communication network devices or client devices to perform parallel distributed processing. In FIG. 1, one front server, one DB server, and one log server are shown. However, the communication network device may include a plurality of servers.

フロントサーバは、他の通信ネットワーク装置から受信した処理要求信号に基づいて処理を実行する。具体的には、フロントサーバは、図1に示すように、他の通信ネットワーク装置から処理要求信号を受信すると、受信した処理要求信号に応じた処理に必要な情報(例えば、ユーザ情報、ネットワーク情報など)をDBサーバから取得して、処理を実行する。その後、フロントサーバは、処理要求信号送信した通信ネットワーク装置に対して処理結果を応答するとともに、処理内容を示す処理ログをログサーバに送付する。   The front server executes processing based on a processing request signal received from another communication network device. Specifically, as shown in FIG. 1, when the front server receives a processing request signal from another communication network device, the front server receives information (for example, user information, network information) necessary for processing according to the received processing request signal. Etc.) from the DB server and execute the process. Thereafter, the front server returns a processing result to the communication network device that has transmitted the processing request signal, and sends a processing log indicating the processing content to the log server.

DBサーバは、フロントサーバの処理に用いられる各種データを記憶する。例えば、DBサーバは、ユーザ情報やネットワーク情報を記憶し、図1に示すように、フロントサーバによる情報の取得要求に応答するとともに、応答内容を示す処理ログをログサーバに送付する。   The DB server stores various data used for processing of the front server. For example, the DB server stores user information and network information, and responds to an information acquisition request from the front server as shown in FIG. 1 and sends a processing log indicating the response content to the log server.

ログサーバは、通信ネットワーク装置の処理内容を記憶する。具体的には、ログサーバは、図1に示すように、フロントサーバ及びDBサーバからそれぞれ受信した処理ログを記憶する。   The log server stores the processing contents of the communication network device. Specifically, as shown in FIG. 1, the log server stores processing logs received from the front server and the DB server, respectively.

上述した通信ネットワーク装置は、各サーバをそれぞれ1つのハードウェアに実装し、それらを複数搭載可能なサーバコンピュータ(例えば、ブレードサーバなど)で実現される場合であってもよいし、或いは、1台のサーバコンピュータを複数台の仮想的なコンピュータに分割し、分割した複数台の仮想的なコンピュータをそれぞれフロントサーバ、DBサーバ及びログサーバとして機能させることで実現される場合であってもよい。   The above-described communication network device may be realized by a server computer (for example, a blade server) in which each server is mounted on a piece of hardware and a plurality of them can be mounted, or one The server computer may be divided into a plurality of virtual computers, and the divided virtual computers may function as a front server, a DB server, and a log server, respectively.

サーバ起動停止制御装置は、図1に示す通信ネットワーク上の各サーバの起動及び停止を制御する。図2は、従来技術に係るサーバ起動停止制御装置の処理の一例を説明するための模式図である。図2においては、通信ネットワーク装置が、1台のフロントサーバと、1台のDBサーバと、1台のログサーバとを有する。また、図2においては、通信ネットワーク装置が1台のみ示されているが、実際には、複数の通信ネットワーク装置が通信ネットワークに接続されており、サーバ起動停止制御装置は、各通信ネットワーク装置を構成するサーバの起動及び停止を制御する。   The server activation / deactivation control device controls activation and deactivation of each server on the communication network illustrated in FIG. FIG. 2 is a schematic diagram for explaining an example of processing of the server activation / deactivation control device according to the related art. In FIG. 2, the communication network device has one front server, one DB server, and one log server. In FIG. 2, only one communication network device is shown, but actually, a plurality of communication network devices are connected to the communication network, and the server start / stop control device Controls starting and stopping of the server to be configured.

例えば、図2に示すように、フロントサーバ、DBサーバ及びログサーバを停止させる際に、停止させる順序や、動作の依存関係、制御に失敗した後の処理などに制約がある場合、サーバ起動停止制御装置は、通信ネットワークの保守者から受付けたサーバの停止コマンドに応じて、フロントサーバ、DBサーバ及びログサーバに対して停止要求を送信し、各サーバを停止させる。以下、この処理の詳細について、図3及び図4を用いて説明する。   For example, as shown in FIG. 2, when the front server, DB server, and log server are stopped, if there is a restriction on the order of stopping, dependency of operations, processing after control failure, etc., server start / stop The control device transmits a stop request to the front server, DB server, and log server in response to a server stop command received from a maintenance person of the communication network, and stops each server. The details of this process will be described below with reference to FIGS.

図3は、従来技術に係るサーバ起動停止制御装置200の構成の一例を示す図である。図3に示すように、従来技術に係るサーバ起動停止制御装置200は、グラフィックユーザインタフェース210と、主処理部220と、通信ネットワーク装置データファイル231と、サーバ構成ファイル232と、通信アドレスデータファイル233と、ログファイル234と、通信ネットワーク装置/サーバ識別部241と、通信アドレスデータ取得部242と、サーバ起動/停止要求部243と、ログ管理部244とを有する。   FIG. 3 is a diagram illustrating an example of the configuration of the server activation / deactivation control apparatus 200 according to the related art. As shown in FIG. 3, the server activation / deactivation control apparatus 200 according to the prior art includes a graphic user interface 210, a main processing unit 220, a communication network apparatus data file 231, a server configuration file 232, and a communication address data file 233. A log file 234, a communication network device / server identification unit 241, a communication address data acquisition unit 242, a server start / stop request unit 243, and a log management unit 244.

グラフィックユーザインタフェース210は、サーバ起動停止制御装置200の保守者に対して、画面上にアイコンやメニューで操作対象や選択項目を表示し、それをマウスなどのポインティングデバイスにより操作させるインタフェースである。例えば、グラフィックユーザインタフェース210は、フロントサーバ、DBサーバ及びログサーバの停止コマンドの入力を受付ける。   The graphic user interface 210 is an interface that allows a maintenance person of the server start / stop control apparatus 200 to display an operation target or selection item with an icon or menu on the screen and operate it with a pointing device such as a mouse. For example, the graphic user interface 210 accepts input of stop commands for the front server, DB server, and log server.

主処理部220は、サーバ起動停止制御装置200による処理の全体制御を行う。通信ネットワーク装置データファイル231は、通信ネットワーク上に配置された複数の通信ネットワーク装置をそれぞれ一意に特定するための識別子を記憶する。サーバ構成ファイル232は、通信ネットワーク上に配置された複数の通信ネットワーク装置を構成するサーバを一意に特定するための識別子を記憶する。例えば、サーバ構成ファイル232は、フロントサーバ、DBサーバ及びログサーバをそれぞれ一意に特定するための識別子を記憶する。通信アドレスデータファイル233は、通信ネットワーク装置を構成するサーバごとの通信アドレスを記憶する。   The main processing unit 220 performs overall control of processing by the server start / stop control device 200. The communication network device data file 231 stores an identifier for uniquely specifying a plurality of communication network devices arranged on the communication network. The server configuration file 232 stores an identifier for uniquely specifying a server constituting a plurality of communication network devices arranged on the communication network. For example, the server configuration file 232 stores identifiers for uniquely specifying the front server, DB server, and log server. The communication address data file 233 stores a communication address for each server constituting the communication network device.

ログファイル234は、サーバ起動停止制御装置200によって実行された処理内容を記憶する。具体的には、ログファイル234は、後述するログ管理部244によって格納されるサーバ起動停止制御装置200の処理内容を記憶する。   The log file 234 stores the processing content executed by the server start / stop control device 200. Specifically, the log file 234 stores the processing content of the server start / stop control device 200 stored by the log management unit 244 described later.

なお、通信ネットワーク装置データファイル231、サーバ構成ファイル232、通信アドレスデータファイル233によって記憶される各種情報は、予め保守者によって登録される。   Various information stored by the communication network device data file 231, the server configuration file 232, and the communication address data file 233 are registered in advance by a maintenance person.

通信ネットワーク装置/サーバ識別部241は、通信ネットワーク装置データファイル231によって記憶された識別子に基づいて、通信ネットワークに接続された通信ネットワーク装置を識別する。また、通信ネットワーク装置/サーバ識別部241は、サーバ構成ファイル232によって記憶された識別子に基づいて、通信ネットワーク装置を構成するサーバを識別する。例えば、通信ネットワーク装置/サーバ識別部241は、保守者から入力された停止コマンドの対象となるフロントサーバ、DBサーバ及びログサーバを識別する。   The communication network device / server identification unit 241 identifies a communication network device connected to the communication network based on the identifier stored by the communication network device data file 231. In addition, the communication network device / server identification unit 241 identifies the servers configuring the communication network device based on the identifier stored by the server configuration file 232. For example, the communication network device / server identification unit 241 identifies a front server, a DB server, and a log server that are targets of a stop command input by a maintenance person.

通信アドレスデータ取得部242は、通信ネットワーク装置/サーバ識別部241によって識別されたサーバの通信アドレスを、通信アドレスデータファイル233から取得する。   The communication address data acquisition unit 242 acquires the communication address of the server identified by the communication network device / server identification unit 241 from the communication address data file 233.

サーバ起動/停止要求部243は、通信アドレスデータ取得部242によって取得された通信アドレスのサーバに対して起動要求或いは停止要求を送信する。ログ管理部244は、サーバ起動停止制御装置による処理内容をログファイル234に格納する。   The server start / stop request unit 243 transmits a start request or a stop request to the server having the communication address acquired by the communication address data acquisition unit 242. The log management unit 244 stores the processing content by the server start / stop control device in the log file 234.

かかる構成の下、サーバ起動停止制御装置200は、以下に示すように、サーバの稼動を制御する。図4は、従来技術に係るサーバ起動停止制御装置200による処理の一例を示すシーケンス図である。なお、図4においては、グラフィックユーザインタフェース210を介して保守者がサーバの停止コマンドを入力する場合について説明する。また、図4においては、通信ネットワーク装置を起動、或いは、停止させるための起動要求コマンド、或いは、停止要求コマンドがサーバ起動停止制御装置200に登録された後の処理について示す。   Under such a configuration, the server start / stop control device 200 controls the operation of the server as described below. FIG. 4 is a sequence diagram illustrating an example of processing performed by the server activation / deactivation control apparatus 200 according to the related art. In FIG. 4, a case where a maintenance person inputs a server stop command via the graphic user interface 210 will be described. FIG. 4 shows processing after a start request command for starting or stopping a communication network device or a stop request command is registered in the server start / stop control device 200.

従来技術においては、まず、図4に示すように、保守者がフロントサーバ、DBサーバ及びログサーバの停止に係る制約を確認して、最初に停止させるサーバをフロントサーバと特定し(ステップS101)、特定したフロントサーバの停止コマンドを入力することで、サーバ起動停止制御装置200にフロントサーバの停止を実行させる(ステップS102)。   In the prior art, first, as shown in FIG. 4, the maintenance person confirms the restrictions on the stop of the front server, DB server, and log server, and identifies the server to be stopped first as the front server (step S101). Then, by inputting the specified front server stop command, the server start / stop control device 200 is caused to stop the front server (step S102).

保守者によってフロントサーバの停止コマンドが入力されると、従来技術に係るサーバ起動停止制御装置200においては、サーバ起動/停止要求部243が、フロントサーバに対してサーバを停止させる旨の要求であるプロセス/OS停止要求を送信する(ステップS103)。フロントサーバは、サーバ起動停止制御装置200からプロセス/OS停止要求を受信すると、プロセス及びOSの停止を実行する旨の応答であるプロセス/OS停止応答をサーバ起動停止制御装置200に送信するとともに(ステップS104)、サーバを停止させる(ステップS105)。   When the front server stop command is input by the maintenance person, in the server start / stop control device 200 according to the prior art, the server start / stop request unit 243 is a request for the front server to stop the server. A process / OS stop request is transmitted (step S103). When the front server receives the process / OS stop request from the server start / stop control device 200, the front server transmits a process / OS stop response, which is a response to execute the process and OS stop, to the server start / stop control device 200 ( In step S104, the server is stopped (step S105).

サーバ起動停止制御装置200は、フロントサーバからプロセス/OS停止応答を受信すると、フロントサーバの停止が完了した旨の停止実行応答を、グラフィックユーザインタフェース210を介して保守者に通知する(ステップS106)。保守者は、フロントサーバの停止が完了したことを確認すると、次に停止するサーバをDBサーバと特定し(ステップS107)、特定したDBサーバの停止コマンドを入力することで、サーバ起動停止制御装置200にDBサーバの停止を実行させる(ステップS108)。   Upon receiving the process / OS stop response from the front server, the server start / stop control device 200 notifies the maintenance person through the graphic user interface 210 of a stop execution response indicating that the front server stop has been completed (step S106). . When the maintenance person confirms that the stop of the front server has been completed, the server to be stopped next is identified as the DB server (step S107), and the server start / stop control device is input by inputting the specified DB server stop command. 200 causes the DB server to stop (step S108).

保守者によってDBサーバの停止コマンドが入力されると、サーバ起動/停止要求部243が、DBサーバに対してプロセス/OS停止要求を送信する(ステップS109)。ここで、例えば、図4に示すように、DBサーバに故障が発生していると、DBサーバは、プロセス及びOSの停止が失敗した旨の応答であるプロセス/OS停止失敗応答をサーバ起動停止制御装置200に送信する(ステップS110)。   When a DB server stop command is input by the maintenance person, the server start / stop request unit 243 transmits a process / OS stop request to the DB server (step S109). Here, for example, as shown in FIG. 4, when a failure occurs in the DB server, the DB server stops the process / OS stop failure response, which is a response indicating that the stop of the process and the OS has failed. It transmits to the control apparatus 200 (step S110).

サーバ起動停止制御装置200は、DBサーバからプロセス/OS停止失敗応答を受信すると、DBサーバの停止が失敗した旨の停止実行応答(失敗)を、グラフィックユーザインタフェース210を介して保守者に通知する(ステップS111)。保守者は、DBサーバの停止が失敗したことを確認すると、原因調査を行うとともに(ステップS112)、次に停止するサーバをログサーバと特定し(ステップS113)、制約に基づいて停止可能か否かを判断する。ここで、停止可能と判断すると(ステップS114)、保守者は、特定したログサーバの停止コマンドを入力することで、サーバ起動停止制御装置200にログサーバの停止を実行させる(ステップS115)。   Upon receiving the process / OS stop failure response from the DB server, the server start / stop control device 200 notifies the maintenance person of a stop execution response (failure) indicating that the DB server stop has failed via the graphic user interface 210. (Step S111). When the maintenance person confirms that the stop of the DB server has failed, the cause is investigated (step S112), the server to be stopped next is specified as the log server (step S113), and whether or not the server can be stopped based on the restriction. Determine whether. When it is determined that the server can be stopped (step S114), the maintenance person inputs the specified log server stop command to cause the server start / stop control device 200 to stop the log server (step S115).

保守者によってログサーバの停止コマンドが入力されると、サーバ起動/停止要求部243が、ログサーバに対してプロセス/OS停止要求を送信する(ステップS116)。ログサーバは、サーバ起動停止制御装置200からプロセス/OS停止要求を受信すると、プロセス及びOSの停止を実行する旨の応答であるプロセス/OS停止応答をサーバ起動停止制御装置200に送信するとともに(ステップS117)、サーバを停止させる(ステップS118)。   When the log server stop command is input by the maintenance person, the server start / stop request unit 243 transmits a process / OS stop request to the log server (step S116). When the log server receives the process / OS stop request from the server start / stop control device 200, the log server transmits a process / OS stop response, which is a response to execute the process and OS stop, to the server start / stop control device 200 ( In step S117, the server is stopped (step S118).

サーバ起動停止制御装置200は、ログサーバからプロセス/OS停止応答を受信すると、ログサーバの停止が完了した旨の停止実行応答を、グラフィックユーザインタフェース210を介して保守者に通知する(ステップS119)。   Upon receiving the process / OS stop response from the log server, the server start / stop control device 200 notifies the maintenance person of a stop execution response indicating that the stop of the log server is completed via the graphic user interface 210 (step S119). .

上述したように、従来技術におけるサーバ起動停止制御装置200においては、異なるサーバ種別間で、起動又は停止に係る制約がある場合に、保守者が制約を確認しながらサーバの起動又は停止を実行する。これは、従来のサーバ起動停止制御装置が、異なるサーバ種別間で稼動に関する制約がある場合に、それを考慮してサーバを起動させたり、停止させたりすることができないためである。   As described above, in the server activation / deactivation control device 200 according to the related art, when there is a restriction related to activation or deactivation between different server types, the maintenance person executes activation or deactivation of the server while checking the restriction. . This is because the conventional server start / stop control device cannot start or stop the server in consideration of restrictions on operation between different server types.

例えば、ログサーバをフロントサーバより先に停止させると、フロントサーバで処理中の内容をログサーバに記録することができなくなる。したがって、ログサーバよりフロントサーバを先に停止させる必要があるが、従来のサーバ起動停止制御装置では、これに対応することができない。このように、サーバ種別間で停止順序の制約がある場合には、従来のサーバ起動停止制御装置ではこれらのサーバを停止させることはできなかった。   For example, if the log server is stopped before the front server, the contents being processed by the front server cannot be recorded in the log server. Therefore, it is necessary to stop the front server before the log server, but the conventional server start / stop control device cannot cope with this. As described above, when there is a restriction on the stop order among the server types, the conventional server start / stop control apparatus cannot stop these servers.

また、例えば、フロントサーバの停止に失敗すると、ログサーバの停止は実施不可になるという制約がある場合、フロントサーバの停止の実行結果に応じて後続サーバの停止実施可否の判断が必要になるため、従来のサーバ起動停止制御装置ではこれらのサーバを停止させることはできなかった。すなわち、従来のサーバ起動停止制御装置では、あるサーバが故障のために起動或いは停止に失敗すると、他の全てのサーバの起動或いは停止が一律に実施不可能になってしまう。   Also, for example, if there is a restriction that the log server cannot be stopped if the front server fails, it is necessary to determine whether the subsequent server can be stopped according to the execution result of the front server stop. In the conventional server start / stop control device, these servers cannot be stopped. That is, in a conventional server start / stop control device, if a server fails to start or stop due to a failure, all other servers cannot be started or stopped uniformly.

また、例えば、1台のログサーバが2台のフロントサーバの稼働状況及び処理状況を記録したファイルを保持するような動作の依存関係がある場合にログサーバを停止させるためには、2台のフロントサーバを予め停止させている必要があるが、従来のサーバ起動停止制御装置では、このような処理を行うことができず、ログサーバを停止させることができない。   Also, for example, in order to stop the log server when there is an operation dependency such that one log server holds a file that records the operating status and processing status of the two front servers, Although it is necessary to stop the front server in advance, the conventional server start / stop control device cannot perform such processing and cannot stop the log server.

上述したように、従来のサーバ起動停止制御装置では、異なるサーバ種別間で起動又は停止の順序があったり、制御の失敗の後の処理が限定されていたり、サーバの動作に依存関係があったりするような制約がある場合に、サーバの起動及び停止を制御することができない。そのため、従来、このような制約がある場合には、保守者が制約を確認しながらサーバの稼動を制御することとなり、サーバの起動及び停止を迅速に行うことができなかった。特に、通信ネットワークに接続されたサーバ数が多い場合には、サーバの起動又は停止に係る時間が長くなるとともに、作業ミスを誘発する場合もある。   As described above, in the conventional server start / stop control device, there is a start or stop order between different server types, processing after a control failure is limited, or there is a dependency on server operation. When there is such a restriction, it is impossible to control the start and stop of the server. Therefore, conventionally, when there is such a restriction, the maintenance person controls the operation of the server while checking the restriction, and the server cannot be started and stopped quickly. In particular, when the number of servers connected to the communication network is large, the time required to start or stop the server becomes long and a work mistake may be induced.

そこで、本願のサーバ起動停止制御装置は、異なるサーバ種別間で、起動又は停止させる際の制約がある場合であっても、サーバの起動及び停止を迅速に制御することを可能にすることを目的とする。実施例1においては、上述したように、通信ネットワークに接続された通信ネットワーク装置を停止させる際に、通信ネットワーク装置を構成する複数のサーバを停止する場合について説明する。   Therefore, the server activation / deactivation control device of the present application is intended to enable quick control of activation and deactivation of servers even when there are restrictions on activation or deactivation between different server types. And In the first embodiment, as described above, a case where a plurality of servers constituting a communication network device are stopped when the communication network device connected to the communication network is stopped will be described.

図5は、実施例1に係る通信ネットワークの一例を示す模式図である。例えば、実施例1に係る通信ネットワークには、図5に示すように、通信ネットワーク装置Aと、サーバ起動停止制御装置100が接続される。なお、図5においては、1台の通信ネットワーク装置が示されているが、実際には、さらに多くの通信ネットワーク装置が通信ネットワークに接続されている場合もある。例えば、通信ネットワークは、LANやWANなどである。   FIG. 5 is a schematic diagram illustrating an example of a communication network according to the first embodiment. For example, as illustrated in FIG. 5, the communication network apparatus A and the server activation / deactivation control apparatus 100 are connected to the communication network according to the first embodiment. In FIG. 5, one communication network device is shown, but in reality, more communication network devices may be connected to the communication network. For example, the communication network is a LAN or a WAN.

通信ネットワーク装置Aは、図5に示すように、フロントサーバ1と、フロントサーバ2と、DBサーバ1と、DBサーバ2と、ログサーバ1とを有する。フロントサーバ1は、例えば、DBサーバ1からネットワーク情報及びユーザ情報を取得して、処理要求に応じた処理を実行し、処理内容を示すログをログサーバ1に送付する。また、フロントサーバ2は、例えば、DBサーバ2からネットワーク情報及びユーザ情報を取得して、処理要求に応じた処理を実行し、ログをログサーバ1に送付する。   As illustrated in FIG. 5, the communication network apparatus A includes a front server 1, a front server 2, a DB server 1, a DB server 2, and a log server 1. For example, the front server 1 acquires network information and user information from the DB server 1, executes processing according to the processing request, and sends a log indicating the processing content to the log server 1. Further, the front server 2 acquires network information and user information from the DB server 2, for example, executes processing according to the processing request, and sends a log to the log server 1.

DBサーバ1は、フロントサーバ1の処理に用いられる各種データを記憶する。例えば、DBサーバ1は、ユーザ情報やネットワーク情報を記憶し、フロントサーバ1による情報の取得要求に応答するとともに、応答内容を示すログをログサーバ1に送付する。また、DBサーバ2は、フロントサーバ2の処理に用いられる各種データを記憶する。例えば、DBサーバ2は、ユーザ情報やネットワーク情報を記憶し、フロントサーバ2による情報の取得要求に応答するとともに、ログをログサーバ1に送付する。   The DB server 1 stores various data used for processing of the front server 1. For example, the DB server 1 stores user information and network information, responds to an information acquisition request from the front server 1, and sends a log indicating the response content to the log server 1. The DB server 2 stores various data used for processing of the front server 2. For example, the DB server 2 stores user information and network information, responds to an information acquisition request from the front server 2, and sends a log to the log server 1.

ログサーバ1は、通信ネットワーク装置Aの処理内容を記憶する。例えば、ログサーバ1は、フロントサーバ1、フロントサーバ2、DBサーバ1及びDBサーバ2からそれぞれ受信したログを記憶する。   The log server 1 stores the processing contents of the communication network device A. For example, the log server 1 stores logs received from the front server 1, the front server 2, the DB server 1, and the DB server 2, respectively.

上述した通信ネットワーク装置は、各サーバをそれぞれ1つのハードウェアに実装し、それらを複数搭載可能なサーバコンピュータ(例えば、ブレードサーバなど)で実現される場合であってもよいし、或いは、1台のサーバコンピュータを複数台の仮想的なコンピュータに分割し、分割した複数台の仮想的なコンピュータをそれぞれフロントサーバ、DBサーバ及びログサーバとして機能させることで実現される場合であってもよい。   The above-described communication network device may be realized by a server computer (for example, a blade server) in which each server is mounted on a piece of hardware and a plurality of them can be mounted, or one The server computer may be divided into a plurality of virtual computers, and the divided virtual computers may function as a front server, a DB server, and a log server, respectively.

サーバ起動停止制御装置100は、異なるサーバ種別間で、起動又は停止させる際の制約がある場合であっても、サーバの起動及び停止を迅速に制御する。図6は、実施例1に係るサーバ起動停止制御装置100の構成の一例を示す図である。   The server activation / deactivation control device 100 quickly controls activation and deactivation of servers even when there are restrictions on activation or deactivation between different server types. FIG. 6 is a diagram illustrating an example of the configuration of the server start / stop control apparatus 100 according to the first embodiment.

図6に示すように、実施例1に係るサーバ起動停止制御装置100は、グラフィックユーザインタフェース110と、主処理部120と、通信ネットワーク装置データファイル131と、サーバ構成ファイル132と、通信アドレスデータファイル133と、通信ネットワーク装置起動停止ファイル134と、サーバ起動停止条件ファイル135と、ログファイル136と、通信ネットワーク装置/サーバ識別部141と、通信アドレスデータ取得部142と、サーバ稼動状況取得部143と、サーバ起動/停止決定部144と、サーバ起動/停止要求部145と、ログ管理部146とを有する。   As shown in FIG. 6, the server activation / deactivation control apparatus 100 according to the first embodiment includes a graphic user interface 110, a main processing unit 120, a communication network apparatus data file 131, a server configuration file 132, and a communication address data file. 133, a communication network device start / stop file 134, a server start / stop condition file 135, a log file 136, a communication network device / server identification unit 141, a communication address data acquisition unit 142, and a server operation status acquisition unit 143. A server start / stop determination unit 144, a server start / stop request unit 145, and a log management unit 146.

グラフィックユーザインタフェース110は、サーバ起動停止制御装置100の保守者に対して、画面上にアイコンやメニューで操作対象や選択項目を表示し、それをマウスなどのポインティングデバイスにより操作させるインタフェースである。   The graphic user interface 110 is an interface that allows an operator of the server activation / deactivation control apparatus 100 to display an operation target or selection item with an icon or a menu on a screen and operate it with a pointing device such as a mouse.

主処理部120は、サーバ起動停止制御装置100による処理の全体制御を行う。通信ネットワーク装置データファイル131は、通信ネットワーク上に配置された通信ネットワーク装置を一意に特定するための識別子を記憶する。例えば、通信ネットワーク装置データファイル131は、通信ネットワーク装置Aを一意に特定するための識別子「A」を記憶する。   The main processing unit 120 performs overall control of processing by the server start / stop control device 100. The communication network device data file 131 stores an identifier for uniquely specifying a communication network device arranged on the communication network. For example, the communication network device data file 131 stores an identifier “A” for uniquely identifying the communication network device A.

サーバ構成ファイル132は、通信ネットワーク上に配置された通信ネットワーク装置を構成するサーバを一意に特定するための識別子を記憶する。例えば、サーバ構成ファイル132は、フロントサーバ1〜2、DBサーバ1〜2及びログサーバ1をそれぞれ一意に特定するための識別子を記憶する。   The server configuration file 132 stores an identifier for uniquely identifying a server that configures a communication network device arranged on the communication network. For example, the server configuration file 132 stores identifiers for uniquely identifying the front servers 1 and 2, the DB servers 1 and 2, and the log server 1.

通信アドレスデータファイル133は、通信ネットワーク装置Aを構成するサーバごとの通信アドレスを記憶する。通信ネットワーク装置起動停止ファイル134は、通信ネットワークに接続された通信ネットワーク装置ごとに、サーバの起動順序及び停止順序を記憶する。図7は、実施例1に係る通信ネットワーク装置起動停止ファイル134によって記憶される情報の一例を示す図である。   The communication address data file 133 stores a communication address for each server constituting the communication network device A. The communication network device start / stop file 134 stores the server start order and stop order for each communication network device connected to the communication network. FIG. 7 is a diagram illustrating an example of information stored by the communication network device activation / deactivation file 134 according to the first embodiment.

例えば、通信ネットワーク装置起動停止ファイル134は、図7に示すように、通信ネットワーク装置ごとに、サーバの停止順序を記憶する。一例を挙げると、通信ネットワーク装置起動停止ファイル134は、「通信ネットワーク:A」に対応付けて、「1:フロントサーバ1、2:フロントサーバ2、3:DBサーバ1、4:DBサーバ2、5:ログサーバ1」を記憶する。ここで、上記した情報は、ネットワーク装置Aにおいては、フロントサーバ1、フロントサーバ2、DBサーバ1、DBサーバ2、ログサーバ1の順序で停止することを意味する。   For example, the communication network device start / stop file 134 stores the stop order of servers for each communication network device, as shown in FIG. As an example, the communication network device activation / deactivation file 134 is associated with “communication network: A”, “1: front server 1, 2: front server 2, 3: DB server 1, 4: DB server 2, 5: Log server 1 ”is stored. Here, the above-described information means that the network device A stops in the order of the front server 1, the front server 2, the DB server 1, the DB server 2, and the log server 1.

図6に戻って、サーバ起動停止条件ファイル135は、各サーバの起動又は停止に適用される制約条件であって、サーバ毎に、該サーバの起動又は停止に際して所定の条件を満たすべき他のサーバ及び該条件の内容を示す制約条件を記憶する。具体的には、サーバ起動停止条件ファイル135は、制約条件の内容として、起動及び停止の順序、サーバ間の依存関係及び制御に失敗した場合の処理について記憶する。   Returning to FIG. 6, the server start / stop condition file 135 is a restriction condition applied to start or stop of each server, and for each server, another server that satisfies a predetermined condition when starting or stopping the server. And a constraint condition indicating the contents of the condition is stored. Specifically, the server activation / deactivation condition file 135 stores, as the contents of the constraint conditions, the sequence of activation and deactivation, dependency between servers, and processing when control fails.

より具体的には、サーバ起動停止条件ファイル135は、各サーバを起動又は停止させる場合に、予め起動又は停止している必要のある他のサーバの識別子や、優先度が低いサーバを停止させる場合の他のサーバにおける処理量の閾値、停止させるサーバの数と閾値との関係、各サーバが起動又は停止可能であるための、他のサーバのネットワーク接続状態やOSの稼動状態などの条件を記憶する。   More specifically, when starting or stopping each server, the server start / stop condition file 135 stops other low-priority servers or identifiers of other servers that need to be started or stopped in advance. Stores the thresholds of the processing amount in other servers, the relationship between the number of servers to be stopped and the thresholds, conditions such as the network connection status of other servers and the operating status of the OS so that each server can be started or stopped To do.

図8は、実施例1に係るサーバ起動停止条件ファイル135によって記憶される情報の一例を示す図である。例えば、実施例1に係るサーバ起動停止条件ファイル135は、図8に示すように、サーバごとに、当該サーバを停止させるための制約を記憶する。一例を挙げると、実施例1に係るサーバ起動停止条件ファイル135は、「DBサーバ1」に対応付けて、「フロントサーバ1、フロントサーバ2を停止した後に停止」を記憶する。ここで、上記した情報は、DBサーバ1を停止させるためには、フロントサーバ1、フロントサーバ2が停止していることが必要であることを意味する。なお、図8に示す情報は、あくまでも一例である。   FIG. 8 is a diagram illustrating an example of information stored by the server start / stop condition file 135 according to the first embodiment. For example, as illustrated in FIG. 8, the server start / stop condition file 135 according to the first embodiment stores a constraint for stopping the server for each server. For example, the server start / stop condition file 135 according to the first embodiment stores “stop after stopping the front server 1 and the front server 2” in association with “DB server 1”. Here, the above-mentioned information means that the front server 1 and the front server 2 need to be stopped in order to stop the DB server 1. Note that the information shown in FIG. 8 is merely an example.

図6に戻って、ログファイル136は、サーバ起動停止制御装置100によって実行された処理内容を記憶する。具体的には、ログファイル136は、後述するログ管理部146によって格納されるサーバ起動停止制御装置100の処理内容を記憶する。   Returning to FIG. 6, the log file 136 stores the processing content executed by the server start / stop control device 100. Specifically, the log file 136 stores the processing contents of the server start / stop control device 100 stored by the log management unit 146 described later.

なお、通信ネットワーク装置データファイル131、サーバ構成ファイル132、通信アドレスデータファイル133、通信ネットワーク装置起動停止ファイル134及びサーバ起動停止条件ファイル135によって記憶される各種情報は、予め保守者によって登録される。   Various information stored by the communication network device data file 131, the server configuration file 132, the communication address data file 133, the communication network device start / stop file 134, and the server start / stop condition file 135 are registered in advance by a maintenance person.

通信ネットワーク装置/サーバ識別部141は、通信ネットワーク装置データファイル131によって記憶された情報に基づいて、通信ネットワークに接続された通信ネットワーク装置を識別する。また、通信ネットワーク装置/サーバ識別部141は、サーバ構成ファイル132によって記憶された情報に基づいて、通信ネットワーク装置を構成するサーバを識別する。例えば、通信ネットワーク装置/サーバ識別部141は、通信ネットワーク上の通信ネットワーク装置Aを構成するフロントサーバ1、フロントサーバ2、DBサーバ1、DBサーバ2及びログサーバ1をそれぞれ識別する。   The communication network device / server identification unit 141 identifies a communication network device connected to the communication network based on the information stored in the communication network device data file 131. In addition, the communication network device / server identification unit 141 identifies the servers configuring the communication network device based on the information stored in the server configuration file 132. For example, the communication network device / server identification unit 141 identifies the front server 1, the front server 2, the DB server 1, the DB server 2, and the log server 1 that constitute the communication network device A on the communication network.

通信アドレスデータ取得部142は、通信ネットワーク装置/サーバ識別部141によって識別されたサーバの通信アドレスを、通信アドレスデータファイルから取得する。サーバ稼動状況取得部143は、ネットワークに接続された各サーバとの間で通信を行い、サーバそれぞれが正常に稼動しているか否かを判定する。具体的には、サーバ稼動状況取得部143は、通信アドレスデータ取得部142によって取得された通信アドレスに対応するサーバから稼動状態を取得する。   The communication address data acquisition unit 142 acquires the communication address of the server identified by the communication network device / server identification unit 141 from the communication address data file. The server operation status acquisition unit 143 communicates with each server connected to the network, and determines whether each server is operating normally. Specifically, the server operation status acquisition unit 143 acquires the operation state from the server corresponding to the communication address acquired by the communication address data acquisition unit 142.

例えば、サーバ稼動状況取得部143は、フロントサーバ1のネットワークへの接続状態や、OSの稼動状態、CPU使用率及びメモリ使用量などを取得する。そして、サーバ稼動状況取得部143は、取得したネットワークへの接続状態や、OSの稼動状態、CPU使用率及びメモリ使用量に基づいて、サーバそれぞれが正常に稼動しているか否かを判定する。   For example, the server operating status acquisition unit 143 acquires the connection status of the front server 1 to the network, the operating status of the OS, the CPU usage rate, the memory usage, and the like. Then, the server operation status acquisition unit 143 determines whether or not each server is operating normally based on the acquired network connection status, OS operating status, CPU usage rate, and memory usage.

サーバ起動/停止決定部144は、ネットワークに接続されたサーバのうち、起動又は停止を実行する対象サーバの起動又は停止に適用される制約条件をサーバ起動停止条件ファイル135から取得し、該制約条件に規定された他のサーバ及び条件の内容を特定する。具体的には、サーバ起動/停止決定部144は、制約条件の内容に含まれる起動及び停止の順序、或いは、サーバ間の依存関係に基づいて、前記対象サーバ及び前記他のサーバを起動又は停止させる順序を決定する。また、サーバ起動/停止決定部144は、決定した順序で起動又は停止させる際に、サーバ稼動状況取得部143によって稼動状態が異常であると判定されたサーバの後に起動又は停止させるサーバに関して、制約条件の内容に含まれる制御に失敗した場合の処理を参照して、起動又は停止が可能であるか否かを判定する。   The server activation / determination determining unit 144 obtains, from the server activation / deactivation condition file 135, a constraint condition applied to activation or termination of a target server that performs activation or termination among servers connected to the network. Specify the contents of other servers and conditions specified in. Specifically, the server activation / deactivation determination unit 144 activates or deactivates the target server and the other server based on the activation and deactivation order included in the content of the constraint condition or the dependency relationship between the servers. Decide the order of Further, the server activation / determination determining unit 144 restricts the server to be activated or deactivated after the server whose operational state is determined to be abnormal by the server operational status acquisition unit 143 when it is activated or deactivated in the determined order. It is determined whether the activation or the stop is possible with reference to the process when the control included in the content of the condition fails.

例えば、サーバ起動停止制御装置100が保守者から通信ネットワーク装置Aを停止させる旨のコマンドを受付けると、サーバ起動/停止決定部144は、通信ネットワーク装置Aを構成するフロントサーバ1、フロントサーバ2、DBサーバ1、DBサーバ2及びログサーバ1それぞれに係る制約条件を読み出し、サーバの停止順序などを決定する。そして、サーバ起動/停止決定部144は、決定した順序でサーバの起動又は停止を実行する際に、いずれかのサーバにおいて起動又は停止が失敗した場合には、その後のサーバが起動又は停止が可能であるか否かを判定する。   For example, when the server start / stop control device 100 receives a command to stop the communication network device A from the maintenance person, the server start / stop determination unit 144 causes the front server 1, the front server 2, The constraint conditions relating to each of the DB server 1, the DB server 2, and the log server 1 are read, and the server stop order and the like are determined. Then, when starting or stopping servers in the determined order, the server start / stop determination unit 144 can start or stop subsequent servers if the start or stop fails in any server It is determined whether or not.

なお、サーバの起動及び停止を実行させるためのトリガーは、上記した保守者による指定に限られず、例えば、サーバの稼動状態を監視して、その稼動状態に基づいてサーバの起動及び停止を実行する場合であってもよい。また、保守者による指定は、予め起動又は停止の時間を登録することで行われる場合であってもよい。   The trigger for starting and stopping the server is not limited to the designation by the maintenance person described above. For example, the operating state of the server is monitored and the starting and stopping of the server are executed based on the operating state. It may be the case. The designation by the maintenance person may be performed by registering the start or stop time in advance.

サーバ起動/停止要求部145は、サーバ起動/停止決定部144によって特定された条件を満たしたうえで、サーバの起動又は停止を実行する。具体的には、サーバ起動/停止要求部145は、サーバ起動/停止決定部144によって決定された順序でサーバの起動及び停止を実行する。また、サーバ起動/停止要求部145は、サーバ起動/停止決定部144による起動又は停止が可能であるか否かの判定結果に基づいて、サーバの起動及び停止を実行する。例えば、サーバ起動/停止要求部145は、通信ネットワーク上のサーバに対して起動要求コマンド或いは停止要求コマンドを送信することで、サーバを起動又は停止させる。ログ管理部146は、サーバ起動停止制御装置100による処理内容をログファイル136に格納する。   The server activation / deactivation request unit 145 executes activation or deactivation of the server after satisfying the conditions specified by the server activation / deactivation determination unit 144. Specifically, the server start / stop request unit 145 executes server start and stop in the order determined by the server start / stop determination unit 144. Further, the server start / stop request unit 145 executes start and stop of the server based on the determination result of whether or not the server start / stop determining unit 144 can start or stop. For example, the server start / stop request unit 145 starts or stops the server by transmitting a start request command or a stop request command to the server on the communication network. The log management unit 146 stores the processing content by the server start / stop control device 100 in the log file 136.

次に、実施例1に係るサーバ起動停止制御装置100の処理の手順について、図9A〜図9Cを用いて説明する。図9A〜図9Cは、実施例1に係るサーバ起動停止制御装置による処理の手順を示すシーケンス図である。なお、図9A〜図9Cにおいては、図9A、図9B、図9Cの順にサーバ起動停止制御装置100による処理の手順を示す。また、図9A〜図9Cにおいては、通信ネットワーク装置Aを停止させる際に、フロントサーバ2に故障が発生した場合を例とする。また、以下では、サーバ起動停止制御装置100による処理について、サーバ起動停止制御装置100が有する各部を用いて説明する。   Next, a processing procedure of the server start / stop control apparatus 100 according to the first embodiment will be described with reference to FIGS. 9A to 9C. FIG. 9A to FIG. 9C are sequence diagrams illustrating a processing procedure performed by the server start / stop control apparatus according to the first embodiment. 9A to 9C show processing procedures by the server activation / deactivation control device 100 in the order of FIGS. 9A, 9B, and 9C. 9A to 9C exemplify a case where a failure occurs in the front server 2 when the communication network apparatus A is stopped. Moreover, below, the process by the server start / stop control apparatus 100 will be described using each unit included in the server start / stop control apparatus 100.

図9Aに示すように、実施例1に係るサーバ起動停止制御装置100においては、グラフィックユーザインタフェース110を介して、保守者から通信ネットワーク装置Aの停止実行のコマンドが入力されると、サーバ起動/停止決定部144は、制約条件を参照して、最初に停止させるサーバをフロントサーバ1と決定する(ステップS201)。なお、サーバ起動停止制御装置100においては、サーバ起動/停止決定部144によって最初に停止させるサーバが決定される前に、停止実行の要求を受付けたことをログファイル136に記録するとともに、通信ネットワーク装置データファイル131から通信ネットワーク装置Aの識別子が特定される。そして、サーバ起動停止制御装置100においては、サーバ構成ファイル132から各サーバの識別子が抽出される。   As shown in FIG. 9A, in the server start / stop control apparatus 100 according to the first embodiment, when a stop execution command of the communication network apparatus A is input from the maintenance person via the graphic user interface 110, the server start / stop The stop determination unit 144 refers to the constraint condition and determines the server to be stopped first as the front server 1 (step S201). The server start / stop control device 100 records in the log file 136 that the request for stop execution has been received before the server start / stop determination unit 144 determines a server to be stopped first, The identifier of the communication network device A is specified from the device data file 131. In the server activation / deactivation control device 100, the identifier of each server is extracted from the server configuration file 132.

最初に停止させるサーバがフロントサーバ1であると決定すると、サーバ稼動状況取得部143は、フロントサーバ1への接続状態およびフロントサーバ1のOSの稼動状態などを確認するために、フロントサーバ1の通信アドレスを通信アドレスデータファイルから取得した後に、まず、フロントサーバ1に対してネットワーク接続状況確認を行う(ステップS202)。   When it is determined that the server to be stopped first is the front server 1, the server operating status acquisition unit 143 checks the connection status to the front server 1 and the operating status of the OS of the front server 1. After obtaining the communication address from the communication address data file, first, the network connection status is confirmed with respect to the front server 1 (step S202).

フロントサーバ1は、ネットワーク接続状況確認を受付けると、ネットワーク接続状況を応答する(ステップS203)。サーバ稼動状況取得部143は、フロントサーバ1からネットワーク接続状況の応答を受付けると、プロセス/OS稼動状況確認を行い(ステップS204)、プロセス/OS稼動状況応答を受付ける(ステップS205)。そして、サーバ稼動状況取得部143は、取得したフロントサーバ1の状態から、フロントサーバ1が停止可能であるか否かを判定する。ここで、サーバ稼動状況取得部143が停止可能と判定すると(ステップS206)、サーバ起動/停止要求部145は、フロントサーバ1に対してプロセス/OS停止要求を送信する(ステップS207)。   When the front server 1 accepts the network connection status confirmation, the front server 1 responds with the network connection status (step S203). When receiving the response of the network connection status from the front server 1, the server operating status acquisition unit 143 checks the process / OS operating status (step S204) and receives the process / OS operating status response (step S205). Then, the server operation status acquisition unit 143 determines whether the front server 1 can be stopped from the acquired state of the front server 1. If the server operation status acquisition unit 143 determines that the server can be stopped (step S206), the server start / stop request unit 145 transmits a process / OS stop request to the front server 1 (step S207).

フロントサーバ1は、サーバ起動/停止要求部145からプロセス/OS停止要求を受付けると、プロセス及びOSを停止する旨のプロセス/OS停止応答を返すとともに(ステップS208)、サーバを停止する(ステップS209)。サーバ起動/停止決定部144は、フロントサーバ1からプロセス/OS停止応答を受付けると、制約条件を参照して、次に停止させるサーバをフロントサーバ2と決定する(ステップS210)。なお、フロントサーバ1の停止が正常に実施されたことが、ログ管理部146によってログファイル136に記録される。   When the front server 1 receives the process / OS stop request from the server start / stop request unit 145, the front server 1 returns a process / OS stop response to stop the process and the OS (step S208) and stops the server (step S209). ). When the server start / stop determination unit 144 receives a process / OS stop response from the front server 1, the server start / stop determination unit 144 refers to the constraint condition and determines the server to be stopped next as the front server 2 (step S210). Note that the log management unit 146 records that the front server 1 is normally stopped in the log file 136.

次に停止させるサーバがフロントサーバ2であると決定すると、サーバ稼動状況取得部143は、フロントサーバ2への接続状態およびフロントサーバ2のOSの稼動状態などを確認するために、フロントサーバ2の通信アドレスを通信アドレスデータファイルから取得した後に、フロントサーバ2に対してネットワーク接続状況確認を行う(ステップS211)。   When it is determined that the server to be stopped next is the front server 2, the server operating status acquisition unit 143 checks the connection status to the front server 2 and the operating status of the OS of the front server 2. After obtaining the communication address from the communication address data file, the network connection status is confirmed with respect to the front server 2 (step S211).

ここで、フロントサーバ2においては、図9Aに示すように、故障が発生していることから、ネットワーク接続状況確認を受付けると、ネットワーク接続状況(エラー応答)を応答する(ステップS212)。サーバ稼動状況取得部143は、フロントサーバ2からネットワーク接続状況(エラー応答)の応答を受付けると、フロントサーバ2が停止不可であると判定する(ステップS213)。そして、ログ管理部146は、ログファイル136にフロントサーバ2の停止が正常に実施されなかったこと、およびフロントサーバ2の稼動状態を記録する。   Here, in the front server 2, as shown in FIG. 9A, since a failure has occurred, when the network connection status confirmation is accepted, a network connection status (error response) is returned (step S212). When receiving the response of the network connection status (error response) from the front server 2, the server operating status acquisition unit 143 determines that the front server 2 cannot be stopped (step S213). Then, the log management unit 146 records in the log file 136 that the front server 2 has not been stopped normally and the operating state of the front server 2.

その後、サーバ起動/停止決定部144は、制約条件を参照して、次に停止させるサーバをDBサーバ1と決定する(ステップS214)。ここで、サーバ起動/停止決定部144は、フロントサーバ2が停止不可の場合のDBサーバ1の停止可否を、制約条件を参照して判定する(ステップS215)。DBサーバ1が停止可能である判定されると(ステップS216)、サーバ稼動状況取得部143は、DBサーバ1への接続状態およびDBサーバ1のOSの稼動状態などを確認するために、DBサーバ1の通信アドレスを通信アドレスデータファイルから取得した後に、DBサーバ1に対してネットワーク接続状況確認を行う(ステップS217)。   Thereafter, the server start / stop determination unit 144 refers to the constraint condition and determines the next server to be stopped as the DB server 1 (step S214). Here, the server start / stop determination unit 144 determines whether or not the DB server 1 can be stopped when the front server 2 cannot be stopped with reference to the constraint condition (step S215). If it is determined that the DB server 1 can be stopped (step S216), the server operating status acquisition unit 143 checks the connection status to the DB server 1 and the operating status of the OS of the DB server 1 to check the DB server 1 After the communication address 1 is acquired from the communication address data file, the network connection status is confirmed with respect to the DB server 1 (step S217).

DBサーバ1は、ネットワーク接続状況確認を受付けると、ネットワーク接続状況を応答する(ステップS218)。サーバ稼動状況取得部143は、DBサーバ1からネットワーク接続状況の応答を受付けると、プロセス/OS稼動状況確認を行い(ステップS219)、プロセス/OS稼動状況応答を受付ける(ステップS220)。そして、サーバ稼動状況取得部143は、取得したDBサーバ1の状態から、DBサーバ1が停止可能であるか否かを判定する。ここで、サーバ稼動状況取得部143が停止可能と判定すると(ステップS221)、サーバ起動/停止要求部145は、DBサーバ1に対してプロセス/OS停止要求を送信する(ステップS222)。   Upon receiving the network connection status confirmation, the DB server 1 responds with the network connection status (step S218). When receiving the response of the network connection status from the DB server 1, the server operating status acquisition unit 143 checks the process / OS operating status (step S219) and receives the process / OS operating status response (step S220). Then, the server operation status acquisition unit 143 determines whether the DB server 1 can be stopped from the acquired state of the DB server 1. Here, if the server operation status acquisition unit 143 determines that the server can be stopped (step S221), the server start / stop request unit 145 transmits a process / OS stop request to the DB server 1 (step S222).

DBサーバ1は、サーバ起動/停止要求部145からプロセス/OS停止要求を受付けると、プロセス及びOSを停止する旨のプロセス/OS停止応答を返すとともに(ステップS223)、サーバを停止する(ステップS224)。サーバ起動/停止決定部144は、DBサーバ1からプロセス/OS停止応答を受付けると、制約条件を参照して、次に停止させるサーバをDBサーバ2と決定する。なお、DBサーバ1の停止が正常に実施されたことが、ログ管理部146によってログファイル136に記録される。   Upon receiving the process / OS stop request from the server start / stop request unit 145, the DB server 1 returns a process / OS stop response indicating that the process and the OS are to be stopped (step S223) and stops the server (step S224). ). When the server start / stop determination unit 144 receives a process / OS stop response from the DB server 1, the server start / stop determination unit 144 refers to the constraint condition and determines the server to be stopped next as the DB server 2. Note that the log management unit 146 records in the log file 136 that the DB server 1 has been normally stopped.

次に停止させるサーバがDBサーバ2であると決定すると、サーバ起動/停止決定部144は、フロントサーバ2が停止不可の場合のDBサーバ2の停止可否を、制約条件を参照して判定する(ステップS225)。DBサーバ2が停止可能であると判定されると(ステップS226)、サーバ稼動状況取得部143は、DBサーバ2への接続状態およびDBサーバ2のOSの稼動状態などを確認するために、DBサーバ2の通信アドレスを通信アドレスデータファイルから取得した後に、DBサーバ2に対してネットワーク接続状況確認を行う(ステップS227)。   When it is determined that the server to be stopped next is the DB server 2, the server start / stop determination unit 144 determines whether or not the DB server 2 can be stopped when the front server 2 cannot be stopped with reference to the constraint condition ( Step S225). If it is determined that the DB server 2 can be stopped (step S226), the server operating status acquisition unit 143 checks the connection status to the DB server 2 and the operating status of the OS of the DB server 2 to check the DB status. After obtaining the communication address of the server 2 from the communication address data file, the network connection status is confirmed with respect to the DB server 2 (step S227).

DBサーバ2は、ネットワーク接続状況確認を受付けると、ネットワーク接続状況を応答する(ステップS228)。サーバ稼動状況取得部143は、DBサーバ2からネットワーク接続状況の応答を受付けると、プロセス/OS稼動状況確認を行い(ステップS229)、プロセス/OS稼動状況応答を受付ける(ステップS230)。そして、サーバ稼動状況取得部143は、取得したDBサーバ2の状態から、DBサーバ2が停止可能であるか否かを判定する。ここで、サーバ稼動状況取得部143が停止可能と判定すると(ステップS231)、サーバ起動/停止要求部145は、DBサーバ2に対してプロセス/OS停止要求を送信する(ステップS232)。   Upon receiving the network connection status confirmation, the DB server 2 responds with the network connection status (step S228). When receiving the response of the network connection status from the DB server 2, the server operating status acquisition unit 143 checks the process / OS operating status (step S229) and receives the process / OS operating status response (step S230). Then, the server operation status acquisition unit 143 determines whether the DB server 2 can be stopped from the acquired state of the DB server 2. If the server operation status acquisition unit 143 determines that the server can be stopped (step S231), the server start / stop request unit 145 transmits a process / OS stop request to the DB server 2 (step S232).

DBサーバ2は、サーバ起動/停止要求部145からプロセス/OS停止要求を受付けると、プロセス及びOSを停止する旨のプロセス/OS停止応答を返すとともに(ステップS233)、サーバを停止する(ステップS234)。サーバ起動/停止決定部144は、DBサーバ1からプロセス/OS停止応答を受付けると、制約条件を参照して、次に停止させるサーバをログサーバ1と決定する。なお、DBサーバ2の停止が正常に実施されたことが、ログ管理部146によってログファイル136に記録される。   When the DB server 2 receives the process / OS stop request from the server start / stop request unit 145, the DB server 2 returns a process / OS stop response to stop the process and the OS (step S233) and stops the server (step S234). ). When the server start / stop determination unit 144 receives a process / OS stop response from the DB server 1, the server start / stop determination unit 144 refers to the constraint condition and determines that the server to be stopped next is the log server 1. Note that the log management unit 146 records in the log file 136 that the DB server 2 has been normally stopped.

次に停止させるサーバがログサーバ1であると決定すると、サーバ起動/停止決定部144は、フロントサーバ2が停止不可の場合のログサーバ1の停止可否を、制約条件を参照して判定する(ステップS235)。ログサーバ1が停止可能であると判定されると(ステップS236)、サーバ稼動状況取得部143は、ログサーバ1への接続状態およびログサーバ1のOSの稼動状態などを確認するために、ログサーバ1の通信アドレスを通信アドレスデータファイルから取得した後に、ログサーバ1に対してネットワーク接続状況確認を行う(ステップS237)。   When it is determined that the server to be stopped next is the log server 1, the server start / stop determination unit 144 determines whether or not the log server 1 can be stopped when the front server 2 cannot be stopped with reference to the constraint condition ( Step S235). When it is determined that the log server 1 can be stopped (step S236), the server operation status acquisition unit 143 checks the connection status to the log server 1 and the OS operation status of the log server 1 in order to confirm the log server 1 status. After obtaining the communication address of the server 1 from the communication address data file, the network connection status is confirmed with respect to the log server 1 (step S237).

ログサーバ1は、ネットワーク接続状況確認を受付けると、ネットワーク接続状況を応答する(ステップS238)。サーバ稼動状況取得部143は、ログサーバ1からネットワーク接続状況の応答を受付けると、プロセス/OS稼動状況確認を行い(ステップS239)、プロセス/OS稼動状況応答を受付ける(ステップS240)。そして、サーバ稼動状況取得部143は、取得したログサーバ1の状態から、ログサーバ1が停止可能であるか否かを判定する。ここで、サーバ稼動状況取得部143が停止可能と判定すると(ステップS241)、サーバ起動/停止要求部145は、ログサーバ1に対してプロセス/OS停止要求を送信する(ステップS242)。   When the log server 1 receives the network connection status confirmation, the log server 1 responds with the network connection status (step S238). When receiving the response of the network connection status from the log server 1, the server operating status acquisition unit 143 checks the process / OS operating status (step S239) and receives the process / OS operating status response (step S240). Then, the server operation status acquisition unit 143 determines whether the log server 1 can be stopped from the acquired state of the log server 1. If the server operation status acquisition unit 143 determines that the server can be stopped (step S241), the server start / stop request unit 145 transmits a process / OS stop request to the log server 1 (step S242).

ログサーバ1は、サーバ起動/停止要求部145からプロセス/OS停止要求を受付けると、プロセス及びOSを停止する旨のプロセス/OS停止応答を返すとともに(ステップS243)、サーバを停止する(ステップS244)。サーバ起動/停止決定部144は、ログサーバ1からプロセス/OS停止応答を受付けると、制約条件を参照して、次に停止させるサーバがないことを確認する。なお、ログサーバ1の停止が正常に実施されたことが、ログ管理部146によってログファイル136に記録される。   When the log server 1 receives the process / OS stop request from the server start / stop request unit 145, the log server 1 returns a process / OS stop response to stop the process and the OS (step S243) and stops the server (step S244). ). When the server start / stop determination unit 144 receives a process / OS stop response from the log server 1, the server start / stop determination unit 144 refers to the constraint condition and confirms that there is no server to be stopped next. The log management unit 146 records that the log server 1 is normally stopped in the log file 136.

そして、ログ管理部146が、実行結果をログファイルに格納し(ステップS245)、サーバ起動停止制御装置100は、通信ネットワーク装置Aの停止が実行された応答を、グラフィックユーザインタフェース110を介して保守者に通知して(ステップS246)、処理を終了する。   Then, the log management unit 146 stores the execution result in the log file (step S245), and the server start / stop control device 100 maintains a response that the stop of the communication network device A is executed via the graphic user interface 110. The user is notified (step S246), and the process is terminated.

なお、上述した処理の手順は、あくまでも一例であり、実施例1に係るサーバ起動停止制御装置100は、所定のサーバのみの停止処理においても同様の処理を実行することが可能である。   Note that the processing procedure described above is merely an example, and the server start / stop control apparatus 100 according to the first embodiment can execute the same processing even in the stop processing of only a predetermined server.

[実施例1の効果]
上述したように、実施例1によれば、役割分担された各サーバが役割毎に複数台ずつネットワークに接続され、役割分担されたサーバ間で協働処理を行うシステムにおける各サーバの起動又は停止を制御するサーバ起動停止制御装置において、サーバ起動停止条件ファイル135が、各サーバの起動又は停止に適用される制約条件であって、サーバ毎に、該サーバの起動又は停止に際して所定の条件を満たすべき他のサーバ及び該条件の内容を示す制約条件を記憶する。そして、サーバ起動/停止決定部144が、ネットワークに接続されたサーバのうち、起動又は停止を実行する対象サーバの起動又は停止に適用される制約条件をサーバ起動停止条件ファイル135から取得し、該制約条件に規定された他のサーバ及び条件の内容を特定する。そして、サーバ起動/停止要求部145が、サーバ起動/停止決定部144によって特定された他のサーバに関して、サーバ起動/停止決定部144によって特定された条件を満たしたうえで、対象サーバの起動又は停止を実行する。従って、実施例1に係るサーバ起動停止制御装置100は、通信ネットワークを構成する各サーバの種別間に動作の依存関係があったり、複雑な停止手順が必要であっても、当通信ネットワークの保守者が各サーバの停止可否や停止手順を判断することなく、各サーバの起動及び停止を迅速に制御することが可能である。また、実施例1に係るサーバ起動停止制御装置100は、保守者による判断が不要になることから、作業ミスを回避することも可能にする。
[Effect of Example 1]
As described above, according to the first embodiment, each server in which roles are assigned is connected to a network for each role, and each server is started or stopped in a system that performs cooperative processing among the servers that are assigned roles. In the server activation / deactivation control apparatus that controls the server, the server activation / deactivation condition file 135 is a restriction condition applied to activation or deactivation of each server, and for each server, a predetermined condition is satisfied when the server is activated or deactivated. Another server to be stored and a constraint condition indicating the contents of the condition are stored. Then, the server activation / determination determining unit 144 acquires, from the server activation / deactivation condition file 135, the restriction condition applied to activation or deactivation of the target server that performs activation or deactivation among the servers connected to the network, Identify the contents of other servers and conditions specified in the constraints. Then, the server start / stop request unit 145 satisfies the conditions specified by the server start / stop determination unit 144 for the other servers specified by the server start / stop determination unit 144, Perform a stop. Therefore, the server activation / deactivation control apparatus 100 according to the first embodiment maintains the communication network even if there is an operation dependency between the types of servers constituting the communication network or a complicated deactivation procedure is required. It is possible for a person to quickly control the start and stop of each server without determining whether or not to stop each server. Further, the server activation / deactivation control apparatus 100 according to the first embodiment can avoid work mistakes because determination by a maintenance person is unnecessary.

また、実施例1によれば、サーバ起動停止条件ファイル135は、制約条件の内容として、起動及び停止の順序、サーバ間の依存関係及び制御に失敗した場合の処理について記憶する。従って、実施例1に係るサーバ起動停止制御装置100は、通信ネットワークを構成する各サーバの稼動状態により複雑な停止手順が必要であっても、当通信ネットワークの保守者が各サーバの停止可否や停止手順を判断することなく、各サーバの起動及び停止を迅速に制御することが可能である。   Further, according to the first embodiment, the server activation / deactivation condition file 135 stores, as the contents of the constraint conditions, the sequence of activation and deactivation, the dependency between servers, and the processing when the control fails. Therefore, the server activation / deactivation control apparatus 100 according to the first embodiment is configured so that the maintenance person of the communication network can determine whether or not each server can be stopped even if a complicated stop procedure is required depending on the operation state of each server configuring the communication network. It is possible to quickly control the start and stop of each server without determining the stop procedure.

また、実施例1によれば、サーバ起動/停止決定部144が、制約条件の内容に含まれる起動及び停止の順序、或いは、サーバ間の依存関係に基づいて、サーバを起動又は停止させる順序を決定する。そして、サーバ起動/停止要求部145が、サーバ起動/停止決定部144によって決定された順序でサーバの起動又は停止を実行する。従って、実施例1に係るサーバ起動停止制御装置100は、異なるサーバ種別間で起動又は停止に係る制約がある場合であっても、該制約を考慮して正しい順序でサーバの起動及び停止を実行することが可能である。   Further, according to the first embodiment, the server start / stop determination unit 144 determines the order in which the servers are started or stopped based on the start and stop order included in the contents of the constraint condition or the dependency relationship between the servers. decide. Then, the server start / stop request unit 145 executes server start or stop in the order determined by the server start / stop determination unit 144. Accordingly, the server start / stop control apparatus 100 according to the first embodiment executes server start and stop in the correct order in consideration of the restrictions even when there are restrictions on start or stop between different server types. Is possible.

また、実施例1によれば、サーバ稼動状況取得部143が、ネットワークに接続された各サーバとの間で通信を行い、サーバそれぞれが正常に稼動しているか否かを判定する。そして、サーバ起動/停止要求部145が、サーバを決定した順序で起動又は停止させる際に、サーバ稼動状況取得部143によって稼動状態が異常であると判定されたサーバの後に起動又は停止させるサーバに関して、制約条件の内容に含まれる制御に失敗した場合の処理を満たすように制御する。従って、実施例1に係るサーバ起動停止制御装置100は、サーバの稼動状態がサーバの故障等により通常状態とは異なる状態になったとしても、対応することが可能である。   Further, according to the first embodiment, the server operation status acquisition unit 143 communicates with each server connected to the network, and determines whether each server is operating normally. Then, when the server start / stop request unit 145 starts or stops the servers in the determined order, the server to be started or stopped after the server whose operating state is determined to be abnormal by the server operating status acquisition unit 143 Control is performed so as to satisfy the processing when the control included in the content of the constraint condition fails. Therefore, the server activation / deactivation control device 100 according to the first embodiment can cope with even if the server operating state is different from the normal state due to a server failure or the like.

上述した実施例1では、通信ネットワーク装置Aを停止させる際のサーバの停止について説明した。実施例2においては、通信ネットワークに複数の通信ネットワーク装置が接続され、ディザスタリカバリソリューションが採用された場合について説明する。   In the first embodiment described above, the stop of the server when the communication network device A is stopped has been described. In the second embodiment, a case where a plurality of communication network devices are connected to a communication network and a disaster recovery solution is employed will be described.

ここで、ディザスタリカバリソリューションについて説明する。一般に、通信ネットワーク装置は1か所以上のデータセンタに収容して稼動させるが、データセンタの所在地に災害が発生して、収容されている通信ネットワーク装置に故障が発生した際にも通信ネットワークを継続して稼動させるために、ディザスタリカバリソリューションが採用される。ディザスタリカバリソリューションでは、プライマリとなるデータセンタの他に、遠隔地のデータセンタにも通信ネットワーク装置を収容して、災害などでプライマリのデータセンタが機能しなくなった場合にも、遠隔地のデータセンタに通信経路を迂回、集約させることにより、通信ネットワークを継続運用させる。   Here, the disaster recovery solution will be described. Generally, a communication network device is accommodated and operated in one or more data centers. However, when a disaster occurs in the location of the data center and a failure occurs in the accommodated communication network device, the communication network device is also operated. A disaster recovery solution is employed to keep it running. In disaster recovery solutions, communication network devices are accommodated in remote data centers in addition to the primary data center, and even if the primary data center fails due to a disaster, the remote data center The communication network is continuously operated by detouring and consolidating communication paths.

この場合、通信ネットワーク装置を定期点検などで停止、起動させる際には、通信ネットワークを継続して稼動させるために、プライマリのデータセンタあるいは遠隔地のデータセンタのいずれかに収容されている通信ネットワーク装置が起動している必要がある。そのため、たとえば、プライマリのデータセンタに収容されている通信ネットワーク装置を停止させる場合には、遠隔地のデータセンタに収容されている通信ネットワーク装置が故障などで稼動していないか否かを事前に確認する必要がある。   In this case, when the communication network device is stopped and started in a periodic inspection or the like, the communication network accommodated in either the primary data center or the remote data center in order to keep the communication network operating. The device needs to be up. Therefore, for example, when stopping the communication network device accommodated in the primary data center, it is determined in advance whether the communication network device accommodated in the remote data center is not operating due to a failure or the like. It is necessary to confirm.

そこで、従来技術においては、通信ネットワーク装置をサーバ起動停止制御装置から停止させる際には、以下の手順を実施する。まず、通信ネットワーク装置の保守者が、停止させる通信ネットワーク装置の稼動状態を確認する。次に、該保守者が、通信ネットワーク装置を停止させた場合に、該通信ネットワーク装置を経由する通信経路を迂回、集約させる他の通信ネットワーク装置の稼動状態を確認する。次に、該他の通信ネットワーク装置が正常に稼動している場合には、該保守者は、停止させるサーバごとに、サーバ停止制御装置からサーバの起動あるいは停止を実行する。   Therefore, in the prior art, when the communication network device is stopped from the server start / stop control device, the following procedure is performed. First, the maintenance person of the communication network device confirms the operating state of the communication network device to be stopped. Next, when the maintenance person stops the communication network device, the operating state of another communication network device that bypasses and aggregates the communication route passing through the communication network device is confirmed. Next, when the other communication network device is operating normally, the maintenance person starts or stops the server from the server stop control device for each server to be stopped.

上述したように、従来技術においては、ディザスタリカバリソリューションが採用された通信ネットワーク上の通信ネットワークを停止させる場合に、段階ごとに保守者の確認が必要になる。そのため、起動及び停止を迅速に制御することができず、かつ、作業ミスも生じる場合がある。そこで、実施例2では、ディザスタリカバリソリューションが採用された通信ネットワーク上の通信ネットワークを停止させる場合であっても、起動及び停止を迅速に制御することが可能なサーバ起動停止制御装置について説明する。   As described above, in the related art, when the communication network on the communication network in which the disaster recovery solution is adopted is stopped, it is necessary to confirm the maintenance person at each stage. Therefore, start and stop cannot be controlled quickly, and an operation error may occur. Therefore, in the second embodiment, a server activation / deactivation control device capable of quickly controlling activation and deactivation even when the communication network on the communication network in which the disaster recovery solution is adopted is deactivated will be described.

図10は、実施例2に係る通信ネットワークの一例を示す模式図である。例えば、実施例2に係る通信ネットワークには、図10に示すように、通信ネットワーク装置Aと、通信ネットワーク装置Bと、通信ネットワーク装置Cと、サーバ起動停止制御装置100aが接続される。通信ネットワーク装置A〜Cは、図10に示すように、それぞれ2台のフロントサーバと、2台のDBサーバと、1台のログサーバとから構成される。そして、図10に示す通信ネットワークにおいては、通信ネットワーク装置Aの第1の迂回路として通信ネットワーク装置Cが設定され、第2の迂回路として通信ネットワーク装置Bが設定される。   FIG. 10 is a schematic diagram illustrating an example of a communication network according to the second embodiment. For example, as shown in FIG. 10, a communication network apparatus A, a communication network apparatus B, a communication network apparatus C, and a server activation / deactivation control apparatus 100a are connected to the communication network according to the second embodiment. As shown in FIG. 10, each of the communication network devices A to C includes two front servers, two DB servers, and one log server. In the communication network shown in FIG. 10, the communication network device C is set as the first detour of the communication network device A, and the communication network device B is set as the second detour.

ここで、まず、実施例2に係るサーバ起動停止制御装置100aの構成について説明する。図11は、実施例2に係るサーバ起動停止制御装置100aの構成の一例を示す図である。なお、実施例2に係るサーバ起動停止制御装置100aは、実施例1に係るサーバ起動停止制御装置100と比較して、通信ネットワーク装置運用データファイル137、通信ネットワーク装置優先度データファイル138及び通信ネットワーク装置優先度識別部147を新たに有する点と、サーバ稼働状況取得部143a及びサーバ起動/停止決定部144aの処理内容とが異なる。以下、これらを中心に説明する。   First, the configuration of the server start / stop control device 100a according to the second embodiment will be described. FIG. 11 is a diagram illustrating an example of the configuration of the server start / stop control apparatus 100a according to the second embodiment. The server start / stop control device 100a according to the second embodiment is different from the server start / stop control device 100 according to the first embodiment in that it includes a communication network device operation data file 137, a communication network device priority data file 138, and a communication network. The point which newly has the apparatus priority identification part 147, and the processing content of the server operating condition acquisition part 143a and the server start / stop determination part 144a differ. Hereinafter, these will be mainly described.

通信ネットワーク装置優先度データファイル138は、通信ネットワーク装置を稼動させる優先度を記憶する。図12は、実施例2に係る通信ネットワーク装置優先度データファイル138によって記憶される情報の一例を示す図である。例えば、通信ネットワーク装置優先度データファイル138は、図12に示すように、「優先度:通信ネットワーク装置A>通信ネットワーク装置B>通信ネットワーク装置C」を記憶する。ここで、上記した情報は、通信ネットワーク装置Aを稼動させる優先度は、通信ネットワーク装置Bおよび通信ネットワーク装置Cよりも高く、通信ネットワーク装置Bを稼動させる優先度は、通信ネットワーク装置Cよりも高いことを示す。   The communication network device priority data file 138 stores the priority for operating the communication network device. FIG. 12 is a diagram illustrating an example of information stored in the communication network device priority data file 138 according to the second embodiment. For example, the communication network device priority data file 138 stores “priority: communication network device A> communication network device B> communication network device C” as shown in FIG. Here, in the above information, the priority for operating the communication network device A is higher than that of the communication network device B and the communication network device C, and the priority for operating the communication network device B is higher than that of the communication network device C. It shows that.

通信ネットワーク装置運用データファイル137は、通信ネットワークの通信経路に関する情報を記憶する。具体的には、通信ネットワーク装置運用データファイル137は、通信ネットワーク上の通信ネットワーク装置を停止した場合に迂回・集約させる通信経路に関する情報を記憶する。図13は、実施例2に係る通信ネットワーク装置運用データファイル137によって記憶される情報の一例を示す図である。例えば、通信ネットワーク装置運用データファイル137は、図13に示すように、「停止:通信ネットワーク装置A」に「迂回・集約通信経路:通信ネットワーク装置C」を対応付けた情報を記憶する。ここで、上記した情報は、「通信ネットワーク装置A」を停止させた場合の迂回・集約経路が「通信ネットワーク装置C」であることを示す。   The communication network device operation data file 137 stores information related to the communication path of the communication network. Specifically, the communication network device operation data file 137 stores information on communication paths that are detoured and aggregated when the communication network device on the communication network is stopped. FIG. 13 is a diagram illustrating an example of information stored in the communication network device operation data file 137 according to the second embodiment. For example, as shown in FIG. 13, the communication network device operation data file 137 stores information in which “stop: communication network device A” is associated with “detour / aggregate communication route: communication network device C”. Here, the above-described information indicates that the detour / aggregation route when “communication network device A” is stopped is “communication network device C”.

なお、通信ネットワーク装置データファイル131は、通信ネットワーク装置A、通信ネットワーク装置B及び通信ネットワーク装置Cを一意に特定するための識別子を記憶する。また、サーバ構成ファイル132は、通信ネットワーク装置A、通信ネットワーク装置B及び通信ネットワーク装置Cそれぞれを構成するサーバを一意に特定するための識別子を記憶する。また、通信アドレスデータファイル133は、サーバ構成ファイル132は、通信ネットワーク装置A、通信ネットワーク装置B及び通信ネットワーク装置Cそれぞれを構成するサーバの通信アドレスを記憶する。また、通信ネットワーク装置起動停止ファイル134は、通信ネットワーク装置Aを構成するサーバについて、フロントサーバ11、フロントサーバ12、DBサーバ11、DBサーバ12、ログサーバ11の順に停止することを示す情報を記憶する。   The communication network device data file 131 stores an identifier for uniquely specifying the communication network device A, the communication network device B, and the communication network device C. In addition, the server configuration file 132 stores an identifier for uniquely identifying a server that configures each of the communication network device A, the communication network device B, and the communication network device C. Further, the communication address data file 133 stores the communication address of the server that configures each of the communication network device A, the communication network device B, and the communication network device C. The communication network device start / stop file 134 stores information indicating that the servers constituting the communication network device A are stopped in the order of the front server 11, the front server 12, the DB server 11, the DB server 12, and the log server 11. To do.

サーバ稼動状況取得部143aは、通信ネットワークに接続された通信ネットワーク装置ごとに、通信ネットワーク装置を構成するサーバの稼動状態を取得し、取得したサーバの稼動状態から該通信ネットワーク装置の稼動状態を判定する。   The server operating status acquisition unit 143a acquires, for each communication network device connected to the communication network, the operating status of the server constituting the communication network device, and determines the operating status of the communication network device from the acquired operating status of the server. To do.

サーバ起動/停止決定部144aは、通信ネットワーク装置運用データファイル137によって記憶された迂回・集約通信経路の情報に基づいて、所定の通信ネットワーク装置を停止させる場合の迂回・集約通信経路を特定する。また、サーバ起動/停止決定部144aは、通信ネットワーク装置起動停止ファイルに記憶された停止順序に基づいて、所定の通信ネットワーク装置を停止させる場合の停止順序を決定する。   The server activation / determination determining unit 144a specifies a detour / aggregate communication path for stopping a predetermined communication network apparatus based on the detour / aggregate communication path information stored in the communication network apparatus operation data file 137. Further, the server start / stop determination unit 144a determines a stop order when stopping a predetermined communication network device based on the stop order stored in the communication network device start / stop file.

通信ネットワーク装置優先度識別部147は、通信ネットワーク装置優先度データファイル138によって記憶された優先度の情報に基づいて、通信ネットワーク上で稼動させる通信ネットワーク装置の優先度を識別する。   The communication network device priority identifying unit 147 identifies the priority of the communication network device operated on the communication network based on the priority information stored by the communication network device priority data file 138.

次に、実施例2に係るサーバ起動停止制御装置100aの処理の手順について、図14A〜図14Fを用いて説明する。図14A〜図14Fは、実施例2に係るサーバ起動停止制御装置100aによる処理の手順を示すシーケンス図である。なお、図14A〜図14Fにおいては、図14A、図14B、図14C、図14D、図14E、図14Fの順にサーバ起動停止制御装置100aによる処理の手順を示す。また、図14A〜図14Fにおいては、通信ネットワーク装置A及びBを停止させる要求を保守者から受付けた際に、通信ネットワーク装置Cのフロントサーバ31に故障が発生していて、通信ネットワーク装置Cへの通信経路の迂回・集約が不可である場合を例とする。また、以下では、サーバ起動停止制御装置100aによる処理について、サーバ起動停止制御装置100aが有する各部を用いて説明する。   Next, a processing procedure of the server start / stop control apparatus 100a according to the second embodiment will be described with reference to FIGS. 14A to 14F. FIG. 14A to FIG. 14F are sequence diagrams illustrating a processing procedure performed by the server start / stop control device 100a according to the second embodiment. 14A to 14F show processing procedures by the server activation / deactivation control device 100a in the order of FIGS. 14A, 14B, 14C, 14D, 14E, and 14F. 14A to 14F, when a request to stop the communication network devices A and B is received from the maintenance person, a failure has occurred in the front server 31 of the communication network device C, and the communication network device C As an example, it is impossible to bypass or aggregate the communication paths. In the following, processing by the server start / stop control device 100a will be described using each unit of the server start / stop control device 100a.

図14Aに示すように、実施例2に係るサーバ起動停止制御装置100aにおいては、保守者が稼働中の通信ネットワーク装置A及び通信ネットワーク装置Bを停止させるために、グラフィックユーザインタフェース110から、通信ネットワーク装置A及び通信ネットワーク装置Bの停止実行を要求すると、ログ管理部146が、ログファイルに停止実行の要求を受け付けたことを記録する。   As shown in FIG. 14A, in the server start / stop control device 100a according to the second embodiment, the communication network device A and the communication network device B are stopped by the maintenance person from the graphic user interface 110 in order to stop the operation. When requesting stop execution of the device A and the communication network device B, the log management unit 146 records in the log file that the stop execution request has been received.

そして、サーバ起動/停止決定部144は、制約条件を参照して、通信ネットワーク装置Aにおいて最初に停止させるサーバをフロントサーバ11と決定する(ステップS301)。なお、サーバ起動停止制御装置100aにおいては、サーバ起動/停止決定部144aによって最初に停止させるサーバが決定される前に、通信ネットワーク装置データファイル131から通信ネットワーク装置Aの識別子が特定される。そして、サーバ起動停止制御装置100aにおいては、サーバ構成ファイル132から各サーバの識別子が抽出される。   Then, the server start / stop determination unit 144 refers to the constraint condition and determines the server to be stopped first in the communication network device A as the front server 11 (step S301). In the server start / stop control device 100a, the identifier of the communication network device A is specified from the communication network device data file 131 before the server start / stop determination unit 144a determines the server to be stopped first. In the server activation / deactivation control device 100a, the identifier of each server is extracted from the server configuration file 132.

最初に停止させるサーバがフロントサーバ11であると決定すると、サーバ稼動状況取得部143aは、フロントサーバ11への接続状態およびフロントサーバ11のOSの稼動状態などを確認するために、フロントサーバ11の通信アドレスを通信アドレスデータファイル133から取得した後に、まず、フロントサーバ11に対してネットワーク接続状況確認を行う(ステップS302)。   When it is determined that the server to be stopped first is the front server 11, the server operating status acquisition unit 143 a checks the connection status to the front server 11 and the operating status of the OS of the front server 11. After acquiring the communication address from the communication address data file 133, first, the network connection status is confirmed with respect to the front server 11 (step S302).

フロントサーバ11は、ネットワーク接続状況確認を受付けると、ネットワーク接続状況を応答する(ステップS303)。サーバ稼動状況取得部143aは、フロントサーバ11からネットワーク接続状況の応答を受付けると、プロセス/OS稼動状況確認を行い(ステップS304)、プロセス/OS稼動状況応答を受付ける(ステップS305)。そして、サーバ稼動状況取得部143aは、取得したフロントサーバ11の状態から、フロントサーバ11が正常に稼動しているか否かを判定する。   When the front server 11 accepts the network connection status confirmation, the front server 11 responds with the network connection status (step S303). When receiving the response of the network connection status from the front server 11, the server operating status acquisition unit 143a checks the process / OS operating status (step S304) and receives the process / OS operating status response (step S305). Then, the server operation status acquisition unit 143a determines whether or not the front server 11 is operating normally from the acquired state of the front server 11.

ここで、フロントサーバ11が正常に稼働中と判定されると(ステップS306)、サーバ起動/停止決定部144aは、制約条件を参照して、次に停止させるサーバをフロントサーバ12と決定する(ステップS307)。なお、フロントサーバ11の停止が正常に実施されたことが、ログ管理部146によってログファイル136に記録される。   Here, if it is determined that the front server 11 is operating normally (step S306), the server start / stop determination unit 144a refers to the constraint condition and determines the server to be stopped next as the front server 12 ( Step S307). Note that the log management unit 146 records that the front server 11 is normally stopped in the log file 136.

次に停止させるサーバがフロントサーバ12であると決定すると、サーバ稼動状況取得部143aは、フロントサーバ12への接続状態およびフロントサーバ12のOSの稼動状態などを確認するために、フロントサーバ12の通信アドレスを通信アドレスデータファイル133から取得した後に、まず、フロントサーバ12に対してネットワーク接続状況確認を行う(ステップS308)。   When it is determined that the server to be stopped next is the front server 12, the server operating status acquisition unit 143 a checks the connection status to the front server 12 and the operating status of the OS of the front server 12. After acquiring the communication address from the communication address data file 133, first, the network connection status is confirmed with respect to the front server 12 (step S308).

フロントサーバ12は、ネットワーク接続状況確認を受付けると、ネットワーク接続状況を応答する(ステップS309)。サーバ稼動状況取得部143aは、フロントサーバ12からネットワーク接続状況の応答を受付けると、プロセス/OS稼動状況確認を行い(ステップS310)、プロセス/OS稼動状況応答を受付ける(ステップS311)。そして、サーバ稼動状況取得部143aは、取得したフロントサーバ12の状態から、フロントサーバ12が正常に稼動しているか否かを判定する。   When the front server 12 receives the network connection status confirmation, the front server 12 responds with the network connection status (step S309). When receiving the response of the network connection status from the front server 12, the server operating status acquisition unit 143a checks the process / OS operating status (step S310) and receives the process / OS operating status response (step S311). Then, the server operation status acquisition unit 143a determines whether or not the front server 12 is operating normally from the acquired state of the front server 12.

ここで、フロントサーバ12が正常に稼働中と判定されると(ステップS312)、サーバ起動/停止決定部144aは、制約条件を参照して、次に停止させるサーバをDBサーバ11と決定する(ステップS313)。なお、フロントサーバ12の停止が正常に実施されたことが、ログ管理部146によってログファイル136に記録される。   Here, if it is determined that the front server 12 is operating normally (step S312), the server activation / determination determining unit 144a refers to the constraint condition and determines the next server to be stopped as the DB server 11 ( Step S313). The log management unit 146 records that the front server 12 has been normally stopped in the log file 136.

次に停止させるサーバがDBサーバ11であると決定すると、サーバ稼動状況取得部143aは、DBサーバ11への接続状態およびDBサーバ11のOSの稼動状態などを確認するために、DBサーバ11の通信アドレスを通信アドレスデータファイル133から取得した後に、まず、DBサーバ11に対してネットワーク接続状況確認を行う(ステップS314)。   When it is determined that the server to be stopped next is the DB server 11, the server operation status acquisition unit 143 a checks the connection status to the DB server 11, the OS operation status of the DB server 11, and the like. After acquiring the communication address from the communication address data file 133, first, the network connection status is confirmed with respect to the DB server 11 (step S314).

DBサーバ11は、ネットワーク接続状況確認を受付けると、ネットワーク接続状況を応答する(ステップS315)。サーバ稼動状況取得部143aは、DBサーバ11からネットワーク接続状況の応答を受付けると、プロセス/OS稼動状況確認を行い(ステップS316)、プロセス/OS稼動状況応答を受付ける(ステップS317)。そして、サーバ稼動状況取得部143aは、取得したDBサーバ11の状態から、DBサーバ11が正常に稼動しているか否かを判定する。   Upon receiving the network connection status confirmation, the DB server 11 responds with the network connection status (step S315). When receiving the response of the network connection status from the DB server 11, the server operating status acquisition unit 143a checks the process / OS operating status (step S316) and receives the process / OS operating status response (step S317). Then, the server operation status acquisition unit 143a determines whether the DB server 11 is operating normally from the acquired state of the DB server 11.

ここで、DBサーバ11が正常に稼働中と判定されると(ステップS318)、サーバ起動/停止決定部144aは、制約条件を参照して、次に停止させるサーバをDBサーバ12と決定する(ステップS319)。なお、DBサーバ11の停止が正常に実施されたことが、ログ管理部146によってログファイル136に記録される。   If it is determined that the DB server 11 is operating normally (step S318), the server start / stop determination unit 144a refers to the constraint condition and determines the server to be stopped next as the DB server 12 ( Step S319). The log management unit 146 records that the DB server 11 has been normally stopped in the log file 136.

次に停止させるサーバがDBサーバ12であると決定すると、サーバ稼動状況取得部143aは、DBサーバ12への接続状態およびDBサーバ12のOSの稼動状態などを確認するために、DBサーバ12の通信アドレスを通信アドレスデータファイル133から取得した後に、まず、DBサーバ12に対してネットワーク接続状況確認を行う(ステップS320)。   When it is determined that the server to be stopped next is the DB server 12, the server operation status acquisition unit 143 a determines the connection status to the DB server 12 and the OS operation status of the DB server 12. After obtaining the communication address from the communication address data file 133, first, the network connection status is confirmed with respect to the DB server 12 (step S320).

DBサーバ12は、ネットワーク接続状況確認を受付けると、ネットワーク接続状況を応答する(ステップS321)。サーバ稼動状況取得部143aは、DBサーバ12からネットワーク接続状況の応答を受付けると、プロセス/OS稼動状況確認を行い(ステップS322)、プロセス/OS稼動状況応答を受付ける(ステップS323)。そして、サーバ稼動状況取得部143aは、取得したDBサーバ12の状態から、DBサーバ12が正常に稼動しているか否かを判定する。   When receiving the network connection status confirmation, the DB server 12 responds with the network connection status (step S321). When receiving the response of the network connection status from the DB server 12, the server operating status acquisition unit 143a checks the process / OS operating status (step S322) and receives the process / OS operating status response (step S323). Then, the server operation status acquisition unit 143a determines whether the DB server 12 is operating normally from the acquired state of the DB server 12.

ここで、DBサーバ12が正常に稼働中と判定されると(ステップS324)、サーバ起動/停止決定部144aは、制約条件を参照して、次に停止させるサーバをログサーバ11と決定する(ステップS325)。なお、DBサーバ12の停止が正常に実施されたことが、ログ管理部146によってログファイル136に記録される。   Here, if it is determined that the DB server 12 is operating normally (step S324), the server start / stop determination unit 144a refers to the constraint condition and determines the server to be stopped next as the log server 11 ( Step S325). The log management unit 146 records that the DB server 12 has been normally stopped in the log file 136.

次に停止させるサーバがログサーバ11であると決定すると、サーバ稼動状況取得部143aは、ログサーバ11への接続状態およびログサーバ11のOSの稼動状態などを確認するために、ログサーバ11の通信アドレスを通信アドレスデータファイル133から取得した後に、まず、ログサーバ11に対してネットワーク接続状況確認を行う(ステップS326)。   When it is determined that the server to be stopped next is the log server 11, the server operation status acquisition unit 143 a checks the connection status to the log server 11 and the OS operation status of the log server 11. After acquiring the communication address from the communication address data file 133, first, the network connection status is confirmed with respect to the log server 11 (step S326).

ログサーバ11は、ネットワーク接続状況確認を受付けると、ネットワーク接続状況を応答する(ステップS327)。サーバ稼動状況取得部143aは、ログサーバ11からネットワーク接続状況の応答を受付けると、プロセス/OS稼動状況確認を行い(ステップS328)、プロセス/OS稼動状況応答を受付ける(ステップS329)。そして、サーバ稼動状況取得部143aは、取得したログサーバ11の状態から、ログサーバ11が正常に稼動しているか否かを判定する。   When the log server 11 receives the network connection status confirmation, the log server 11 responds with the network connection status (step S327). When receiving the response of the network connection status from the log server 11, the server operating status acquisition unit 143a checks the process / OS operating status (step S328) and receives the process / OS operating status response (step S329). Then, the server operation status acquisition unit 143a determines whether the log server 11 is operating normally from the acquired state of the log server 11.

ここで、ログサーバ11が正常に稼働中と判定されると(ステップS330)、サーバ起動/停止決定部144aは、通信ネットワーク装置Aを構成するすべてのサーバが正常に稼動していることから通信ネットワーク装置Aが正常に稼動中であると判定する(ステップS331)。   Here, if it is determined that the log server 11 is operating normally (step S330), the server start / stop determination unit 144a communicates because all the servers constituting the communication network device A are operating normally. It is determined that the network device A is operating normally (step S331).

続いて、サーバ起動/停止決定部144は、制約条件を参照して、通信ネットワーク装置Bにおいて最初に停止させるサーバをフロントサーバ21と決定する(ステップS332)。なお、サーバ起動停止制御装置100aにおいては、サーバ起動/停止決定部144aによって最初に停止させるサーバが決定される前に、通信ネットワーク装置データファイル131から通信ネットワーク装置Bの識別子が特定される。そして、サーバ起動停止制御装置100aにおいては、サーバ構成ファイル132から各サーバの識別子が抽出される。   Subsequently, the server start / stop determination unit 144 refers to the constraint condition and determines the server to be stopped first in the communication network device B as the front server 21 (step S332). In the server start / stop control device 100a, the identifier of the communication network device B is specified from the communication network device data file 131 before the server to be stopped first is determined by the server start / stop determination unit 144a. In the server activation / deactivation control device 100a, the identifier of each server is extracted from the server configuration file 132.

実施例2に係るサーバ起動停止制御装置100aは、通信ネットワーク装置Bにおいて最初に停止させるサーバをフロントサーバ21と決定すると、フロントサーバ21への接続状態およびフロントサーバ21のOSの稼動状態などを確認し、フロントサーバ22、DBサーバ21、DBサーバ22、ログサーバ21の順に接続状態及びOSの稼動状態などを確認する(ステップS333〜ステップS361)。なお、ステップS333〜ステップS361については、上述したステップS302〜330と同様であることから詳細な説明を省略する。   When the server start / stop control device 100a according to the second embodiment determines that the server to be stopped first in the communication network device B is the front server 21, the server start / stop control device 100a checks the connection state to the front server 21 and the operating state of the OS of the front server 21. Then, the connection state and the operating state of the OS are confirmed in the order of the front server 22, the DB server 21, the DB server 22, and the log server 21 (steps S333 to S361). Since Steps S333 to S361 are the same as Steps S302 to 330 described above, detailed description thereof is omitted.

そして、サーバ起動/停止決定部144aは、通信ネットワーク装置Bを構成するすべてのサーバが正常に稼動していることから通信ネットワーク装置が正常に稼動中であると判定する(ステップS362)。 Then, the server start / stop determination unit 144a determines that the communication network device B is operating normally because all the servers constituting the communication network device B are operating normally (step S362).

続いて、サーバ起動/停止決定部144aは、制約条件を参照して、通信ネットワーク装置Cにおいて最初に停止させるサーバをフロントサーバ31と決定する(ステップS363)。なお、サーバ起動停止制御装置100aにおいては、サーバ起動/停止決定部144aによって最初に停止させるサーバが決定される前に、通信ネットワーク装置データファイル131から通信ネットワーク装置Cの識別子が特定される。そして、サーバ起動停止制御装置100aにおいては、サーバ構成ファイル132から各サーバの識別子が抽出される。   Subsequently, the server activation / determination determining unit 144a refers to the constraint condition and determines that the server to be first stopped in the communication network device C is the front server 31 (step S363). In the server start / stop control device 100a, the identifier of the communication network device C is specified from the communication network device data file 131 before the server start / stop determination unit 144a determines the server to be stopped first. In the server activation / deactivation control device 100a, the identifier of each server is extracted from the server configuration file 132.

フロントサーバ31は、ネットワーク接続状況確認を受付けると(ステップS364)、ネットワーク接続状況を応答する(ステップS365)。サーバ稼動状況取得部143aは、フロントサーバ31からネットワーク接続状況の応答を受付けると、プロセス/OS稼動状況確認を行い(ステップS366)、プロセス/OS稼動状況応答を受付ける(ステップS367)。ここで、フロントサーバ31は、故障が発生している旨の応答をサーバ起動停止制御装置100aに対して発信する。   When the front server 31 receives the network connection status confirmation (step S364), the front server 31 responds with the network connection status (step S365). When receiving the response of the network connection status from the front server 31, the server operating status acquisition unit 143a checks the process / OS operating status (step S366) and receives the process / OS operating status response (step S367). Here, the front server 31 transmits a response indicating that a failure has occurred to the server activation / deactivation control device 100a.

サーバ稼動状況取得部143aは、取得したフロントサーバ31の状態から、OSの稼動状態が通常と異なると判定し、通信ネットワーク装置Cが異常状態であると判定する(ステップS368)。なお、フロントサーバ31の稼動が異常状態であることが、ログ管理部146によってログファイル136に記録される。   The server operating status acquisition unit 143a determines from the acquired state of the front server 31 that the operating state of the OS is different from the normal state, and determines that the communication network device C is in an abnormal state (step S368). The log management unit 146 records that the operation of the front server 31 is abnormal in the log file 136.

そして、サーバ起動/停止決定部144aは、通信ネットワーク装置Cを構成するフロントサーバ31が通常とは異なる状態のため、通信ネットワーク装置Cへの通信経路の迂回、集約は不可能であると判定する。そして、サーバ起動/停止決定部144aは、通信ネットワーク装置A及び通信ネットワーク装置Bを停止させると、通信ネットワーク装置A及び通信ネットワーク装置Bへの通信経路を迂回、集約する通信ネットワーク装置が存在しないことから、通信ネットワーク装置A及び通信ネットワーク装置Bの両方を停止させることは不可能であると判定する。   Then, the server start / stop determination unit 144a determines that detouring and aggregation of the communication path to the communication network device C is impossible because the front server 31 configuring the communication network device C is in a state different from normal. . When the server start / stop determination unit 144a stops the communication network device A and the communication network device B, there is no communication network device that bypasses and aggregates the communication paths to the communication network device A and the communication network device B. Therefore, it is determined that it is impossible to stop both the communication network device A and the communication network device B.

上記した判定結果に応じて、通信ネットワーク装置優先度識別部147は、通信ネットワーク装置優先度データファイル138によって記憶された優先度データを参照して、通信ネットワーク装置Aの方が通信ネットワーク装置Bよりも稼動させる優先度が高いと判定し、通信ネットワーク装置Aが停止不可であり、通信ネットワーク装置Bが停止可能であると判定する(ステップS369)。   In response to the determination result described above, the communication network device priority identifying unit 147 refers to the priority data stored in the communication network device priority data file 138 and the communication network device A is more than the communication network device B. It is determined that the priority for operation is high, and it is determined that the communication network device A cannot be stopped and the communication network device B can be stopped (step S369).

そして、サーバ起動/停止決定部144aは、通信ネットワーク装置起動停止ファイル134と、取得している通信ネットワーク装置Bの各サーバの状態とから、最初に停止させるサーバがフロントサーバ21であると特定する(ステップS370)。最初に停止させるサーバがフロントサーバ21であると特定されると、サーバ起動/停止要求部145は、フロントサーバ21に対してプロセス/OS停止要求を送信する(ステップS371)。   Then, the server start / stop determination unit 144a specifies that the server to be stopped first is the front server 21 from the communication network device start / stop file 134 and the acquired state of each server of the communication network device B. (Step S370). When it is specified that the server to be stopped first is the front server 21, the server start / stop request unit 145 transmits a process / OS stop request to the front server 21 (step S371).

フロントサーバ21は、サーバ起動/停止要求部145からプロセス/OS停止要求を受付けると、プロセス及びOSを停止する旨のプロセス/OS停止応答を返すとともに(ステップS372)、サーバを停止する(ステップS373)。サーバ起動/停止決定部144aは、フロントサーバ21からプロセス/OS停止応答を受付けると、制約条件を参照して、次に停止させるサーバをフロントサーバ22と決定する(ステップS374)。なお、フロントサーバ21の停止が正常に実施されたことが、ログ管理部146によってログファイル136に記録される。   When the front server 21 receives the process / OS stop request from the server start / stop request unit 145, the front server 21 returns a process / OS stop response to stop the process and the OS (step S372) and stops the server (step S373). ). Upon receiving a process / OS stop response from the front server 21, the server start / stop determination unit 144a refers to the constraint condition and determines the next server to be stopped as the front server 22 (step S374). Note that the log management unit 146 records that the front server 21 is normally stopped in the log file 136.

次に停止させるサーバがフロントサーバ22であると決定されると、サーバ起動/停止要求部145は、フロントサーバ22に対してプロセス/OS停止要求を送信する(ステップS375)。   When it is determined that the next server to be stopped is the front server 22, the server start / stop request unit 145 transmits a process / OS stop request to the front server 22 (step S375).

フロントサーバ22は、サーバ起動/停止要求部145からプロセス/OS停止要求を受付けると、プロセス及びOSを停止する旨のプロセス/OS停止応答を返すとともに(ステップS376)、サーバを停止する(ステップS377)。サーバ起動/停止決定部144aは、フロントサーバ22からプロセス/OS停止応答を受付けると、制約条件を参照して、次に停止させるサーバをDBサーバ21と決定する(ステップS378)。なお、フロントサーバ22の停止が正常に実施されたことが、ログ管理部146によってログファイル136に記録される。   When the front server 22 receives the process / OS stop request from the server start / stop request unit 145, the front server 22 returns a process / OS stop response to stop the process and the OS (step S376) and stops the server (step S377). ). When receiving the process / OS stop response from the front server 22, the server start / stop determination unit 144a refers to the constraint condition and determines the server to be stopped next as the DB server 21 (step S378). Note that the log management unit 146 records that the front server 22 is normally stopped in the log file 136.

次に停止させるサーバがDBサーバ21であると決定されると、サーバ起動/停止要求部145は、DBサーバ21に対してプロセス/OS停止要求を送信する(ステップS379)。   When it is determined that the server to be stopped next is the DB server 21, the server start / stop request unit 145 transmits a process / OS stop request to the DB server 21 (step S379).

DBサーバ21は、サーバ起動/停止要求部145からプロセス/OS停止要求を受付けると、プロセス及びOSを停止する旨のプロセス/OS停止応答を返すとともに(ステップS380)、サーバを停止する(ステップS381)。サーバ起動/停止決定部144aは、DBサーバ21からプロセス/OS停止応答を受付けると、制約条件を参照して、次に停止させるサーバをDBサーバ22と決定する(ステップS382)。なお、DBサーバ21の停止が正常に実施されたことが、ログ管理部146によってログファイル136に記録される。   Upon receiving the process / OS stop request from the server start / stop request unit 145, the DB server 21 returns a process / OS stop response indicating that the process and the OS are to be stopped (step S380) and stops the server (step S381). ). Upon receiving a process / OS stop response from the DB server 21, the server start / stop determination unit 144a refers to the constraint condition and determines the server to be stopped next as the DB server 22 (step S382). Note that the log management unit 146 records in the log file 136 that the DB server 21 has been normally stopped.

次に停止させるサーバがDBサーバ22であると決定されると、サーバ起動/停止要求部145は、DBサーバ22に対してプロセス/OS停止要求を送信する(ステップS383)。   When it is determined that the server to be stopped next is the DB server 22, the server start / stop request unit 145 transmits a process / OS stop request to the DB server 22 (step S383).

DBサーバ22は、サーバ起動/停止要求部145からプロセス/OS停止要求を受付けると、プロセス及びOSを停止する旨のプロセス/OS停止応答を返すとともに(ステップS384)、サーバを停止する(ステップS385)。サーバ起動/停止決定部144aは、DBサーバ22からプロセス/OS停止応答を受付けると、制約条件を参照して、次に停止させるサーバをログサーバ21と決定する(ステップS386)。なお、DBサーバ21の停止が正常に実施されたことが、ログ管理部146によってログファイル136に記録される。   When the DB server 22 receives the process / OS stop request from the server start / stop request unit 145, the DB server 22 returns a process / OS stop response to stop the process and the OS (step S384) and stops the server (step S385). ). When receiving the process / OS stop response from the DB server 22, the server start / stop determination unit 144a refers to the constraint condition and determines the server to be stopped next as the log server 21 (step S386). Note that the log management unit 146 records in the log file 136 that the DB server 21 has been normally stopped.

次に停止させるサーバがログサーバ21であると決定されると、サーバ起動/停止要求部145は、ログサーバ21に対してプロセス/OS停止要求を送信する(ステップS387)。   When it is determined that the server to be stopped next is the log server 21, the server start / stop request unit 145 transmits a process / OS stop request to the log server 21 (step S387).

ログサーバ21は、サーバ起動/停止要求部145からプロセス/OS停止要求を受付けると、プロセス及びOSを停止する旨のプロセス/OS停止応答を返すとともに(ステップS388)、サーバを停止する(ステップS389)。サーバ起動/停止決定部144aは、ログサーバ21からプロセス/OS停止応答を受付けると、制約条件を参照して、次に停止させるサーバがないことを確認する。なお、ログサーバ21の停止が正常に実施されたことが、ログ管理部146によってログファイル136に記録される。   When the log server 21 receives the process / OS stop request from the server start / stop request unit 145, the log server 21 returns a process / OS stop response to stop the process and the OS (step S388) and stops the server (step S389). ). When receiving the process / OS stop response from the log server 21, the server start / stop determination unit 144a refers to the constraint condition and confirms that there is no server to be stopped next. The log management unit 146 records in the log file 136 that the log server 21 has been normally stopped.

そして、ログ管理部146が、実行結果をログファイルに格納し(ステップS390)、サーバ起動停止制御装置100aは、通信ネットワーク装置Bの停止が実行されたこと、及び、通信ネットワーク装置Aの停止が未実行であることを示す応答を、グラフィックユーザインタフェース110を介して保守者に通知して(ステップS391)、処理を終了する。 Then, the log management unit 146 stores the execution result in the log file (step S390), and the server start / stop control device 100a executes the stop of the communication network device B and the stop of the communication network device A. A response indicating that it has not been executed is notified to the maintenance person via the graphic user interface 110 (step S391) , and the process is terminated.

なお、上述した処理の手順は、あくまでも一例であり、実施例2に係るサーバ起動停止制御装置100aは、通信ネットワーク装置の起動処理においても同様の処理を実行することが可能である。   Note that the above-described processing procedure is merely an example, and the server activation / deactivation control apparatus 100a according to the second embodiment can perform the same process in the activation process of the communication network apparatus.

[実施例2の効果]
上述したように、実施例2によれば、複数のサーバによって複数の通信ネットワーク装置が構成され、通信ネットワーク装置の起動又は停止を制御する場合に、サーバ起動/停止決定部144aは、通信ネットワーク装置ごとに予め設定された稼動させる優先度に基づいて、起動又は停止させる通信ネットワーク装置を特定し、特定した通信ネットワーク装置を構成するサーバの起動又は停止に適用される制約条件をサーバ起動停止条件ファイル135から取得し、該制約条件に規定された他のサーバ及び条件の内容を特定する。
[Effect of Example 2]
As described above, according to the second embodiment, when a plurality of communication network devices are configured by a plurality of servers and the activation or the stop of the communication network device is controlled, the server activation / deactivation determination unit 144a A server start / stop condition file that specifies a communication network device to be started or stopped based on a preset priority for operation for each server, and a restriction condition applied to start or stop of a server constituting the specified communication network device 135, and the contents of other servers and conditions specified in the constraint conditions are specified.

例えば、上述したように、サーバ起動停止制御装置110aは、通信ネットワーク装置Aおよび通信ネットワーク装置Bを停止する際に、通信ネットワーク装置A、通信ネットワーク装置B及び通信ネットワーク装置Cの稼動状況を取得して、通信ネットワーク装置Cを構成するフロントサーバ31が通常とは異なる状態であると判断して、通信ネットワーク装置優先度データファイルに記録されている優先度から、通信ネットワーク装置Aの停止は実行不可を判断して、通信ネットワーク装置Bを構成するサーバの停止のみを実行する。従って、実施例2に係るサーバ起動停止制御装置110aは、保守者が通信ネットワーク装置の稼動状況や停止可能な通信ネットワーク装置を確認する作業が不要になることから、通信ネットワーク装置を停止させる時間を削減し、かつ通信ネットワーク装置の保守者の作業ミスを回避することが可能である。   For example, as described above, the server start / stop control device 110a acquires the operating status of the communication network device A, the communication network device B, and the communication network device C when stopping the communication network device A and the communication network device B. Therefore, it is determined that the front server 31 configuring the communication network device C is in a state different from the normal state, and the stop of the communication network device A cannot be executed based on the priority recorded in the communication network device priority data file. And the server constituting the communication network apparatus B is only stopped. Therefore, the server activation / deactivation control device 110a according to the second embodiment does not require the maintenance person to check the operation status of the communication network device and the communication network device that can be stopped, and therefore, the time for stopping the communication network device is reduced. It is possible to reduce and avoid an operation error of a maintenance person of the communication network device.

上述した実施例1及び実施例2では、サーバを停止させる場合について説明した。実施例3においては、サーバを起動させる場合について説明する。図15は、実施例3に係る通信ネットワークの一例を示す模式図である。例えば、実施例3に係る通信ネットワークには、図15に示すように、通信ネットワーク装置Aと、サーバ起動停止制御装置100bが接続される。なお、図15に示す通信ネットワーク装置Aは、図5に示す通信ネットワーク装置Aと同様である。実施例3に係るサーバ起動停止制御装置100bは、図15に示すように、停止中のサーバ群を、起動に係る制約を満たしたうえで順次起動させる。   In the above-described first and second embodiments, the case where the server is stopped has been described. In the third embodiment, a case where a server is started will be described. FIG. 15 is a schematic diagram illustrating an example of a communication network according to the third embodiment. For example, as shown in FIG. 15, the communication network apparatus A and the server activation / deactivation control apparatus 100b are connected to the communication network according to the third embodiment. Note that the communication network apparatus A shown in FIG. 15 is the same as the communication network apparatus A shown in FIG. As illustrated in FIG. 15, the server activation / deactivation control device 100b according to the third embodiment sequentially activates the stopped server group after satisfying the restrictions on activation.

まず、実施例3に係るサーバ起動停止制御装置100bの構成について説明する。図16は、実施例3に係るサーバ起動停止制御装置100bの構成の一例を示す図である。なお、実施例3に係るサーバ起動停止制御装置100bは、実施例1に係るサーバ起動停止制御装置100と比較して、通信ネットワーク装置起動停止ファイル134a及びサーバ起動停止条件ファイル135aによって記憶される内容と、サーバ起動/停止決定部144bによる処理内容とが異なる。以下、これらを中心に説明する。   First, the configuration of the server start / stop control device 100b according to the third embodiment will be described. FIG. 16 is a diagram illustrating an example of the configuration of the server start / stop control apparatus 100b according to the third embodiment. The server activation / deactivation control device 100b according to the third embodiment stores information stored in the communication network device activation / deactivation file 134a and the server activation / deactivation condition file 135a as compared to the server activation / deactivation control device 100 according to the first embodiment. And the processing contents by the server start / stop determination unit 144b are different. Hereinafter, these will be mainly described.

通信ネットワーク装置起動停止ファイル134aは、通信ネットワークに接続された通信ネットワーク装置ごとに、サーバの起動順序及び停止順序を記憶する。図17は、実施例3に係る通信ネットワーク装置起動停止ファイル134aによって記憶される情報の一例を示す図である。   The communication network device start / stop file 134a stores the server start order and stop order for each communication network device connected to the communication network. FIG. 17 is a diagram illustrating an example of information stored in the communication network device activation / deactivation file 134a according to the third embodiment.

例えば、通信ネットワーク装置起動停止ファイル134aは、図17に示すように、通信ネットワーク装置ごとに、サーバの起動順序を記憶する。一例を挙げると、通信ネットワーク装置起動停止ファイル134は、「通信ネットワーク:A」に対応付けて、「1:ログサーバ1、2:DBサーバ2、3:DBサーバ1、4:フロントサーバ2、5:フロントサーバ1」を記憶する。ここで、上記した情報は、ネットワーク装置Aにおいては、ログサーバ1、DBサーバ2、DBサーバ1、フロントサーバ2、フロントサーバ1の順序で起動することを意味する。   For example, the communication network device activation stop file 134a stores the activation sequence of servers for each communication network device, as shown in FIG. As an example, the communication network device activation / deactivation file 134 is associated with “communication network: A”, “1: log server 1, 2: DB server 2, 3: DB server 1, 4: front server 2,” 5: “Front server 1” is stored. Here, the above-described information means that, in the network apparatus A, the log server 1, the DB server 2, the DB server 1, the front server 2, and the front server 1 are started in this order.

図16に戻って、サーバ起動停止条件ファイル135aは、各サーバの起動又は停止に適用される制約条件であって、サーバ毎に、該サーバの起動又は停止に際して所定の条件を満たすべき他のサーバ及び該条件の内容を示す制約条件を記憶する。図18は、実施例3に係るサーバ起動停止条件ファイル135aによって記憶される情報の一例を示す図である。   Returning to FIG. 16, the server start / stop condition file 135a is a restriction condition applied to starting or stopping each server, and for each server, another server that satisfies a predetermined condition when starting or stopping the server. And a constraint condition indicating the contents of the condition is stored. FIG. 18 is a diagram illustrating an example of information stored in the server start / stop condition file 135a according to the third embodiment.

例えば、サーバ起動停止条件ファイル135aは、図18に示すように、サーバごとに、当該サーバを起動させるための制約を記憶する。一例を挙げると、実施例3に係るサーバ起動停止条件ファイル135aは、「フロントサーバ1」に対応付けて、「DBサーバ1又はDBサーバ2の起動が失敗した後の起動不可」を記憶する。ここで、上記した情報は、DBサーバ1又は、DBサーバ2の起動が失敗した場合には、フロントサーバ1を起動できないことを意味する。なお、図18に示す情報は、あくまでも一例である。 For example, the server start / stop condition file 135a stores, for each server, restrictions for starting the server, as shown in FIG. For example, the server start / stop condition file 135a according to the third embodiment stores “unstartable after failing to start the DB server 1 or DB server 2” in association with “front server 1”. Here, the above-mentioned information means that the front server 1 cannot be started when the DB server 1 or the DB server 2 fails to start. Note that the information shown in FIG. 18 is merely an example.

サーバ起動/停止決定部144bは、ネットワークに接続されたサーバのうち、起動又は停止を実行する対象サーバの起動又は停止に適用される制約条件をサーバ起動停止条件ファイル135aから取得し、該制約条件に規定された他のサーバ及び条件の内容を特定する。   The server activation / deactivation determination unit 144b acquires, from the server activation / deactivation condition file 135a, restriction conditions that apply to activation or deactivation of the target server that performs activation or deactivation among the servers connected to the network. Specify the contents of other servers and conditions specified in.

例えば、サーバ起動停止制御装置100bが保守者から通信ネットワーク装置Aを起動させる旨のコマンドを受付けると、サーバ起動/停止決定部144bは、通信ネットワーク装置Aを構成するフロントサーバ1、フロントサーバ2、DBサーバ1、DBサーバ2及びログサーバ1それぞれに係る制約条件を読み出し、サーバの起動順序などを決定する。そして、サーバ起動/停止決定部144bは、決定した順序でサーバの起動を実行する際に、いずれかのサーバにおいて起動が失敗した場合には、その後のサーバが起動可能であるか否かを判定する。   For example, when the server start / stop control device 100b receives a command to start the communication network device A from the maintenance person, the server start / stop determination unit 144b causes the front server 1, the front server 2, and the like constituting the communication network device A, The constraint conditions related to the DB server 1, the DB server 2, and the log server 1 are read, and the server startup order and the like are determined. Then, the server activation / determination determining unit 144b determines whether the subsequent servers can be activated if the activation fails in any of the servers when performing the activation of the servers in the determined order. To do.

次に、実施例3に係るサーバ起動停止制御装置100bの処理の手順について、図19A〜図19Cを用いて説明する。図19A〜図19Cは、実施例3に係るサーバ起動停止制御装置100bによる処理の手順を示すシーケンス図である。なお、図19A〜図19Cにおいては、図19A、図19B、図19Cの順にサーバ起動停止制御装置100bによる処理の手順を示す。また、図19A〜図19Cにおいては、通信ネットワーク装置Aを起動させる際に、フロントサーバ2に故障が発生したために、フロントサーバ2のプロセスの起動に失敗して、通常の手順では起動できない状態の場合を例とする。また、以下では、サーバ起動停止制御装置100bによる処理について、サーバ起動停止制御装置100bが有する各部を用いて説明する。   Next, a processing procedure of the server start / stop control apparatus 100b according to the third embodiment will be described with reference to FIGS. 19A to 19C. FIG. 19A to FIG. 19C are sequence diagrams illustrating a processing procedure performed by the server start / stop control device 100b according to the third embodiment. 19A to 19C show processing procedures by the server activation / deactivation control device 100b in the order of FIGS. 19A, 19B, and 19C. In FIG. 19A to FIG. 19C, when the communication network device A is activated, a failure occurs in the front server 2, so that the process of the front server 2 fails to be activated and cannot be activated in a normal procedure. Take the case as an example. Moreover, below, the process by the server start / stop control device 100b will be described using each unit of the server start / stop control device 100b.

図19Aに示すように、実施例3に係るサーバ起動停止制御装置100bにおいては、グラフィックユーザインタフェース110を介して、保守者から通信ネットワーク装置Aの起動実行のコマンドが入力されると、サーバ起動/停止決定部144bは、制約条件を参照して、最初に起動させるサーバをログサーバ1と決定する(ステップS401)。なお、サーバ起動停止制御装置100bにおいては、サーバ起動/停止決定部144bによって最初に起動させるサーバが決定される前に、起動実行の要求を受付けたことをログファイル136に記録するとともに、通信ネットワーク装置データファイル131から通信ネットワーク装置Aの識別子が特定される。そして、サーバ起動停止制御装置100bにおいては、サーバ構成ファイル132から各サーバの識別子が抽出される。   As shown in FIG. 19A, in the server start / stop control device 100b according to the third embodiment, when a start command for starting the communication network device A is input from the maintenance person via the graphic user interface 110, the server start / stop The stop determination unit 144b refers to the constraint condition and determines that the server to be started first is the log server 1 (step S401). In the server activation / deactivation control device 100b, the server activation / determination determining unit 144b records in the log file 136 that the request to execute activation is received before the server to be activated first is determined, and the communication network The identifier of the communication network device A is specified from the device data file 131. In the server activation / deactivation control device 100b, the identifier of each server is extracted from the server configuration file 132.

最初に起動させるサーバがログサーバ1であると決定すると、サーバ稼動状況取得部143は、ログサーバ1の接続状態を確認するために、ログサーバ1の通信アドレスを通信アドレスデータファイルから取得した後に、ログサーバ1に対してネットワーク接続状況確認を行う(ステップS402)。   When it is determined that the server to be activated first is the log server 1, the server operation status acquisition unit 143 acquires the communication address of the log server 1 from the communication address data file in order to check the connection state of the log server 1. The network connection status is confirmed with respect to the log server 1 (step S402).

ログサーバ1は、ネットワーク接続状況確認を受付けると、ネットワーク接続状況を応答する(ステップS403)。サーバ稼動状況取得部143は、ログサーバ1からネットワーク接続状況の応答を受付けると、その応答内容からログサーバ1が起動可能であるか否かを判定する。そして、サーバ稼動状況取得部143が起動可能であると判定すると(ステップS404)、サーバ起動/停止要求部145は、プロセスやOSの起動を実行させる旨の要求であるプロセス/OS起動要求をログサーバ1に送信する(ステップS405)。   Upon receiving the network connection status confirmation, the log server 1 responds with the network connection status (step S403). When the server operating status acquisition unit 143 receives a response of the network connection status from the log server 1, the server operating status acquisition unit 143 determines whether or not the log server 1 can be activated from the response content. When it is determined that the server operation status acquisition unit 143 can be started (step S404), the server start / stop request unit 145 logs a process / OS start request that is a request to start a process or OS. It transmits to the server 1 (step S405).

ログサーバ1は、サーバ起動/停止要求部145からプロセス/OS起動要求を受付けると、プロセス及びOSを起動する旨のプロセス/OS起動応答を返すとともに(ステップS406)、サーバを起動する(ステップS407)。サーバ起動/停止決定部144bは、ログサーバ1からプロセス/OS起動応答を受付けると、制約条件を参照して、次に停止させるサーバをDBサーバ2と決定する(ステップS408)。なお、ログサーバ1の起動が正常に実施されたことが、ログ管理部146によってログファイル136に記録される。   When the log server 1 receives the process / OS activation request from the server activation / deactivation request unit 145, the log server 1 returns a process / OS activation response to activate the process and the OS (step S406), and activates the server (step S407). ). When the server start / stop determination unit 144b receives the process / OS start response from the log server 1, the server start / stop determination unit 144b refers to the constraint condition and determines the server to be stopped next as the DB server 2 (step S408). The log management unit 146 records in the log file 136 that the log server 1 has been normally activated.

次に起動させるサーバがDBサーバ2であると決定すると、サーバ稼動状況取得部143は、DBサーバ2の接続状態を確認するために、DBサーバ2の通信アドレスを通信アドレスデータファイルから取得した後に、DBサーバ2に対してネットワーク接続状況確認を行う(ステップS409)。   When it is determined that the server to be started next is the DB server 2, the server operation status acquisition unit 143 acquires the communication address of the DB server 2 from the communication address data file in order to check the connection state of the DB server 2. Then, the network connection status is confirmed with respect to the DB server 2 (step S409).

DBサーバ2は、ネットワーク接続状況確認を受付けると、ネットワーク接続状況を応答する(ステップS410)。サーバ稼動状況取得部143は、DBサーバ2からネットワーク接続状況の応答を受付けると、その応答内容からDBサーバ2が起動可能であるか否かを判定する。そして、サーバ稼動状況取得部143が起動可能であると判定すると(ステップS411)、サーバ起動/停止要求部145は、プロセスやOSの起動を実行させる旨の要求であるプロセス/OS起動要求をDBサーバ2に送信する(ステップS412)。   When receiving the network connection status confirmation, the DB server 2 responds with the network connection status (step S410). When the server operation status acquisition unit 143 receives a response of the network connection status from the DB server 2, the server operation status acquisition unit 143 determines whether the DB server 2 can be activated from the response content. If it is determined that the server operation status acquisition unit 143 can be started (step S411), the server start / stop request unit 145 sends a process / OS start request, which is a request to execute the process or OS start, to the DB. It transmits to the server 2 (step S412).

DBサーバ2は、サーバ起動/停止要求部145からプロセス/OS起動要求を受付けると、プロセス及びOSを起動する旨のプロセス/OS起動応答を返すとともに(ステップS413)、サーバを起動する(ステップS414)。サーバ起動/停止決定部144bは、DBサーバ2からプロセス/OS起動応答を受付けると、制約条件を参照して、次に停止させるサーバをDBサーバ1と決定する(ステップS415)。なお、DBサーバ2の起動が正常に実施されたことが、ログ管理部146によってログファイル136に記録される。   Upon receiving the process / OS start request from the server start / stop request unit 145, the DB server 2 returns a process / OS start response indicating that the process and the OS are to be started (step S413), and starts the server (step S414). ). When the server start / stop determination unit 144b receives the process / OS start response from the DB server 2, the server start / stop determination unit 144b refers to the constraint condition and determines the server to be stopped next as the DB server 1 (step S415). The log management unit 146 records that the DB server 2 has been normally activated in the log file 136.

次に起動させるサーバがDBサーバ1であると決定すると、サーバ稼動状況取得部143は、DBサーバ1の接続状態を確認するために、DBサーバ1の通信アドレスを通信アドレスデータファイルから取得した後に、DBサーバ1に対してネットワーク接続状況確認を行う(ステップS416)。   When it is determined that the server to be activated next is the DB server 1, the server operation status acquisition unit 143 acquires the communication address of the DB server 1 from the communication address data file in order to check the connection state of the DB server 1. Then, the network connection status is confirmed with respect to the DB server 1 (step S416).

DBサーバ1は、ネットワーク接続状況確認を受付けると、ネットワーク接続状況を応答する(ステップS417)。サーバ稼動状況取得部143は、DBサーバ1からネットワーク接続状況の応答を受付けると、その応答内容からDBサーバ1が起動可能であるか否かを判定する。そして、サーバ稼動状況取得部143が起動可能であると判定すると(ステップS418)、サーバ起動/停止要求部145は、プロセスやOSの起動を実行させる旨の要求であるプロセス/OS起動要求をDBサーバ1に送信する(ステップS419)。   Upon receiving the network connection status confirmation, the DB server 1 responds with the network connection status (step S417). When receiving the response of the network connection status from the DB server 1, the server operating status acquisition unit 143 determines whether the DB server 1 can be activated from the response content. If it is determined that the server operation status acquisition unit 143 can be started (step S418), the server start / stop request unit 145 sends a process / OS start request, which is a request for executing a process or OS start, to the DB. It transmits to the server 1 (step S419).

DBサーバ1は、サーバ起動/停止要求部145からプロセス/OS起動要求を受付けると、プロセス及びOSを起動する旨のプロセス/OS起動応答を返すとともに(ステップS420)、サーバを起動する(ステップS421)。サーバ起動/停止決定部144bは、DBサーバ1からプロセス/OS起動応答を受付けると、制約条件を参照して、次に停止させるサーバをフロントサーバ2と決定する(ステップS422)。なお、DBサーバ1の起動が正常に実施されたことが、ログ管理部146によってログファイル136に記録される。   Upon receiving the process / OS activation request from the server activation / deactivation request unit 145, the DB server 1 returns a process / OS activation response to activate the process and OS (step S420) and activates the server (step S421). ). When the server start / stop determination unit 144b receives the process / OS start response from the DB server 1, the server start / stop determination unit 144b refers to the constraint condition and determines the server to be stopped next as the front server 2 (step S422). The log management unit 146 records that the DB server 1 has been normally activated in the log file 136.

次に起動させるサーバがフロントサーバ2であると決定すると、サーバ稼動状況取得部143は、フロントサーバ2の接続状態を確認するために、フロントサーバ2の通信アドレスを通信アドレスデータファイルから取得した後に、フロントサーバ2に対してネットワーク接続状況確認を行う(ステップS423)。   When it is determined that the next server to be activated is the front server 2, the server operation status acquisition unit 143 acquires the communication address of the front server 2 from the communication address data file in order to check the connection state of the front server 2. Then, the network connection status is confirmed with respect to the front server 2 (step S423).

フロントサーバ2は、ネットワーク接続状況確認を受付けると、ネットワーク接続状況を応答する(ステップS424)。サーバ稼動状況取得部143は、フロントサーバ2からネットワーク接続状況の応答を受付けると、その応答内容からフロントサーバ2が起動可能であるか否かを判定する。そして、サーバ稼動状況取得部143が起動可能であると判定すると(ステップS425)、サーバ起動/停止要求部145は、プロセスやOSの起動を実行させる旨の要求であるプロセス/OS起動要求をフロントサーバ2に送信する(ステップS426)。   When the front server 2 accepts the network connection status confirmation, the front server 2 responds with the network connection status (step S424). When the server operating status acquisition unit 143 receives a response of the network connection status from the front server 2, the server operating status acquisition unit 143 determines whether or not the front server 2 can be activated from the response content. When it is determined that the server operation status acquisition unit 143 can be started (step S425), the server start / stop request unit 145 receives a process / OS start request, which is a request for starting the process or the OS. It transmits to the server 2 (step S426).

ここで、フロントサーバ2は、故障が発生したために正常にプロセス及びOSを起動できなかった旨のエラー応答をサーバ起動停止制御装置100bに返す(ステップS427)。サーバ起動/停止決定部144bは、フロントサーバ2からプロセス/OS起動応答(エラー応答)を受付けると、起動が失敗したため保守者の復旧作業が必要であると判定する(ステップS428)。そして、サーバ起動/停止決定部144bは、制約条件を参照して、次に停止させるサーバをフロントサーバ1と決定する(ステップS429)。なお、フロントサーバ2の起動が失敗したことが、ログ管理部146によってログファイル136に記録される。 Here, the front server 2 returns an error response indicating that the process and the OS could not be started normally due to a failure to the server start / stop control device 100b (step S427). It determines that the server start / stop determination unit 144b, when the front server 2 receives the process / OS start response (error response), it is necessary restoration work maintenance person for launch fails (step S428). Then, the server start / stop determination unit 144b refers to the constraint conditions and determines the next server to be stopped as the front server 1 (step S429). Note that the failure of starting the front server 2 is recorded in the log file 136 by the log management unit 146.

次に起動させるサーバがフロントサーバ1であると決定すると、サーバ起動停止決定部144bは、サーバ起動停止条件ファイル135aによって記憶された制約を参照して、フロントサーバ2が起動失敗の場合のフロントサーバ1の起動可否を判定する(ステップS430)。ここで、フロントサーバ1が起動可能であると判定されると(ステップS431)、サーバ稼動状況取得部143は、フロントサーバ1の接続状態を確認するために、フロントサーバ1の通信アドレスを通信アドレスデータファイルから取得した後に、フロントサーバ1に対してネットワーク接続状況確認を行う(ステップS432)。   When it is determined that the next server to be started is the front server 1, the server start / stop determination unit 144b refers to the constraints stored in the server start / stop condition file 135a, and the front server when the front server 2 fails to start 1 is determined whether to be activated (step S430). Here, if it is determined that the front server 1 can be started (step S431), the server operation status acquisition unit 143 uses the communication address of the front server 1 as the communication address in order to confirm the connection state of the front server 1. After obtaining from the data file, the network connection status is confirmed with respect to the front server 1 (step S432).

フロントサーバ1は、ネットワーク接続状況確認を受付けると、ネットワーク接続状況を応答する(ステップS433)。サーバ稼動状況取得部143は、フロントサーバ1からネットワーク接続状況の応答を受付けると、その応答内容からフロントサーバ1が起動可能であるか否かを判定する。そして、サーバ稼動状況取得部143が起動可能であると判定すると(ステップS434)、サーバ起動/停止要求部145は、プロセスやOSの起動を実行させる旨の要求であるプロセス/OS起動要求をフロントサーバ1に送信する(ステップS435)。   When the front server 1 accepts the network connection status confirmation, the front server 1 responds with the network connection status (step S433). When the server operating status acquisition unit 143 receives a response of the network connection status from the front server 1, the server operating status acquisition unit 143 determines whether or not the front server 1 can be activated from the response content. When it is determined that the server operation status acquisition unit 143 can be started (step S434), the server start / stop request unit 145 receives a process / OS start request, which is a request for starting the process or the OS. It transmits to the server 1 (step S435).

フロントサーバ1は、サーバ起動/停止要求部145からプロセス/OS起動要求を受付けると、プロセス及びOSを起動する旨のプロセス/OS起動応答を返すとともに(ステップS436)、サーバを起動する(ステップS437)。サーバ起動/停止決定部144bは、フロントサーバ1からプロセス/OS起動応答を受付けると、制約条件を参照して、次に起動させるサーバがないことを確認する。なお、フロントサーバ1の起動が正常に実施されたことが、ログ管理部146によってログファイル136に記録される。   When the front server 1 receives the process / OS start request from the server start / stop request unit 145, the front server 1 returns a process / OS start response to start the process and the OS (step S436) and starts the server (step S437). ). When the server start / stop determination unit 144b receives the process / OS start response from the front server 1, the server start / stop determination unit 144b refers to the constraint condition and confirms that there is no server to be started next. The log management unit 146 records that the front server 1 has been normally activated in the log file 136.

そして、ログ管理部146が、実行結果をログファイルに格納し(ステップS438)、サーバ起動停止制御装置100bは、通信ネットワーク装置Aの起動が実行された応答を、グラフィックユーザインタフェース110を介して保守者に通知して(ステップS439)、処理を終了する。   Then, the log management unit 146 stores the execution result in the log file (step S438), and the server start / stop control device 100b maintains the response that the start of the communication network device A is executed via the graphic user interface 110. The user is notified (step S439), and the process is terminated.

なお、上述した処理の手順は、あくまでも一例であり、実施例3に係るサーバ起動停止制御装置100bは、所定のサーバのみの起動処理においても同様の処理を実行することが可能である。   Note that the processing procedure described above is merely an example, and the server start / stop control apparatus 100b according to the third embodiment can execute the same processing even in the start processing of only a predetermined server.

[実施例3の効果]
上述したように、実施例3によれば、サーバ起動停止制御装置100bは、例えば、通信ネットワーク装置Aを構成するフロントサーバ1、フロントサーバ2、DBサーバ1、DBサーバ2、ログサーバ1の通信ネットワークへの接続状態などを確認して、通信ネットワーク装置起動ファイルに記録されている順番でこれらのサーバの起動を実行する。従って、実施例3に係るサーバ起動停止制御装置100bは、通信ネットワーク装置の保守者がこれらのサーバの稼動状況を確認したり、起動させる順番を確認したりする作業が不要とすることができ、通信ネットワーク装置を起動させる時間を削減し、かつ通信ネットワーク装置の保守者の作業ミスを回避することが可能である。
[Effect of Example 3]
As described above, according to the third embodiment, the server start / stop control device 100b communicates with, for example, the front server 1, the front server 2, the DB server 1, the DB server 2, and the log server 1 included in the communication network device A. After confirming the connection status to the network, the servers are started in the order recorded in the communication network device startup file. Therefore, the server activation / deactivation control apparatus 100b according to the third embodiment can eliminate the need for a maintenance person of the communication network apparatus to confirm the operation status of these servers or confirm the order of activation, It is possible to reduce the time for starting up the communication network device and to avoid an operation error of the maintenance person of the communication network device.

また、実施例3によれば、サーバ起動停止制御装置100bは、例えば、フロントサーバ2の起動に失敗して当サーバの起動が不可能になり、当サーバが通常とは異なる稼動状況になった際に、通信ネットワーク装置起動停止ファイル134aとサーバ起動停止条件ファイル135aを用いて、フロントサーバ2の次に起動させるフロントサーバ1の起動が可能であると判断して、フロントサーバ1を起動させる。従って、実施例3に係るサーバ起動停止制御装置100bは、通信ネットワーク装置の保守者がサーバの起動可否を判断する作業が不要になることから、通信ネットワーク装置を起動させる時間を削減し、かつ通信ネットワーク装置の保守者の作業ミスを回避することが可能である。   Further, according to the third embodiment, the server start / stop control device 100b has failed to start the front server 2 and cannot start the server, for example, and the server is in an operation state different from the normal state. At this time, using the communication network device start / stop file 134a and the server start / stop condition file 135a, it is determined that the front server 1 to be started next to the front server 2 can be started, and the front server 1 is started. Therefore, the server activation / deactivation control apparatus 100b according to the third embodiment eliminates the need for a maintenance person of the communication network apparatus to determine whether the server can be activated, thereby reducing the time for activating the communication network apparatus and performing communication. It is possible to avoid a work mistake of a network device maintenance person.

これまで実施例1、2及び3について説明したが、本願の技術は実施例1、2及び3に限定されるものではない。すなわち、実施例1、2及び3は、その他の様々な形態で実施されることが可能であり、種々の省略、置き換え、変更を行うことができる。   Although Example 1, 2, and 3 were demonstrated until now, the technique of this application is not limited to Example 1, 2, and 3. FIG. That is, the first, second, and third embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made.

例えば、各装置の分散・統合の具体的形態(例えば、図6の形態)は図示のものに限られず、その全部又は一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的又は物理的に分散・統合することができる。一例を挙げると、通信ネットワーク装置データファイル131と、サーバ構成ファイルとを識別情報ファイルとして統合してよい。   For example, the specific form of distribution / integration of each device (for example, the form shown in FIG. 6) is not limited to the one shown in the figure, and all or a part thereof can be changed in arbitrary units according to various loads and usage conditions. Functionally or physically distributed and integrated. As an example, the communication network device data file 131 and the server configuration file may be integrated as an identification information file.

また、サーバ稼動状況取得部143をサーバ起動停止制御装置100の外部装置としてネットワーク経由で接続するようにしてもよく、或いは、サーバ稼動状況取得部143とサーバ起動/停止決定部144とを別々の装置が有し、ネットワークに接続されて協働することで、上述したサーバ起動停止制御装置100の機能を実現するようにしてもよい。   Further, the server operation status acquisition unit 143 may be connected as an external device of the server start / stop control device 100 via a network, or the server operation status acquisition unit 143 and the server start / stop determination unit 144 may be connected separately. The function of the server activation / deactivation control apparatus 100 described above may be realized by having the apparatus connected to and cooperating with the network.

これらの実施例やその変形は、本願が開示する技術に含まれると同様に、特許請求の範囲に記載された発明とその均等の範囲に含まれるものである。   These embodiments and modifications thereof are included in the invention disclosed in the claims and equivalents thereof as well as included in the technology disclosed in the present application.

100、100a、100b サーバ起動停止制御装置
134 通信ネットワーク装置起動停止ファイル
135 サーバ起動停止条件ファイル
137 通信ネットワーク装置運用データファイル
138 通信ネットワーク装置優先度データファイル
143、143a サーバ稼動状況取得部
144、144a サーバ起動/停止決定部
145 サーバ起動/停止要求部
147 通信ネットワーク装置優先度識別部
100, 100a, 100b Server start / stop control device 134 Communication network device start / stop file 135 Server start / stop condition file 137 Communication network device operation data file 138 Communication network device priority data file 143, 143a Server operation status acquisition unit 144, 144a Server Start / stop determination unit 145 Server start / stop request unit 147 Communication network device priority identification unit

Claims (3)

役割分担された各サーバが役割毎に複数台ずつネットワークに接続され、役割分担されたサーバ間で協働処理を行うシステムにおいて、各サーバの起動又は停止を制御するサーバ起動停止制御装置であって、
各サーバの起動又は停止に適用される制約条件であって、サーバ毎に、該サーバの起動又は停止に際して所定の条件を満たすべき他のサーバ及び該条件の内容を示す制約条件を記憶する記憶手段と、
前記ネットワークに接続されたサーバのうち、起動又は停止を実行する対象サーバの起動又は停止に適用される前記制約条件を前記記憶手段から取得し、該制約条件に規定された他のサーバ及び条件の内容を特定する特定手段と、
前記ネットワークに接続された各サーバとの間で通信を行い、サーバそれぞれが正常に稼動しているか否かを判定する稼動状態判定手段と、
前記特定手段で特定された順序で前記対象サーバ及び前記他のサーバを起動又は停止させる際に、前記稼動状態判定手段によって稼動状態が異常であると判定されたサーバの後に起動又は停止させるサーバに関して、前記制約条件の前記条件の内容に含まれる制御に失敗した場合の処理を満たすように制御する実行手段と、
を備えたことを特徴とするサーバ起動停止制御装置。
A server activation / deactivation control device for controlling activation or deactivation of each server in a system in which a plurality of each role-divided server is connected to a network for each role and performs cooperative processing among the roles-divided servers. ,
Storage means for storing, for each server, other servers that should satisfy a predetermined condition when starting or stopping the server, and constraint conditions indicating the contents of the conditions, which are constraints applied to starting or stopping each server When,
Among the servers connected to the network, the restriction condition applied to start or stop of the target server that executes start or stop is acquired from the storage unit, and other servers and conditions specified in the restriction condition are acquired. A specific means of identifying the content;
An operation state determination unit that performs communication with each server connected to the network and determines whether or not each server is operating normally;
When starting or stopping the target server and the other server in the order specified by the specifying unit, the server to be started or stopped after the server whose operating state is determined to be abnormal by the operating state determining unit Execution means for controlling so as to satisfy the processing when the control included in the content of the constraint condition fails.
A server start / stop control device comprising:
前記各サーバによって複数の通信ネットワーク装置が構成され、前記通信ネットワーク装置の起動又は停止を制御する場合に、
前記特定手段は、前記通信ネットワーク装置ごとに予め設定された稼動させる優先度に基づいて、起動又は停止させる通信ネットワーク装置を特定し、特定した通信ネットワーク装置を構成するサーバの起動又は停止に適用される前記制約条件を前記記憶手段から取得し、該制約条件に規定された他のサーバ及び条件の内容を特定することを特徴とする請求項1に記載のサーバ起動停止制御装置。
In the case where a plurality of communication network devices are configured by each of the servers, and the start or stop of the communication network device is controlled,
The specifying means specifies a communication network device to be started or stopped based on a priority for operation set in advance for each communication network device, and is applied to start or stop of a server constituting the specified communication network device. The server start / stop control apparatus according to claim 1, wherein the constraint condition is acquired from the storage unit, and another server specified in the constraint condition and the content of the condition are specified.
役割分担された各サーバが役割毎に複数台ずつネットワークに接続され、役割分担されたサーバ間で協働処理を行うシステムにおいて、各サーバの起動又は停止を制御するサーバ起動停止制御装置によって実行されるサーバ起動停止制御方法であって、
各サーバの起動又は停止に適用される制約条件として、サーバ毎に、該サーバの起動又は停止に際して所定の条件を満たすべき他のサーバ及び該条件の内容を記憶する記憶部を参照し、前記ネットワークに接続されたサーバのうち、起動又は停止を実行する対象サーバの起動又は停止に適用される前記制約条件を前記記憶部から取得し、該制約条件に規定された他のサーバ及び条件の内容を特定する特定工程と、
前記ネットワークに接続された各サーバとの間で通信を行い、サーバそれぞれが正常に稼動しているか否かを判定する稼動状態判定工程と、
前記特定工程で特定された順序で前記対象サーバ及び前記他のサーバを起動又は停止させる際に、前記稼動状態判定工程によって稼動状態が異常であると判定されたサーバの後に起動又は停止させるサーバに関して、前記制約条件の前記条件の内容に含まれる制御に失敗した場合の処理を満たすように制御する実行工程と、
を含んだことを特徴とするサーバ起動停止制御方法。

In a system in which a plurality of servers each assigned a role are connected to the network for each role, and a server performs a cooperative process between the servers assigned a role, it is executed by a server start / stop control device that controls the start or stop of each server. Server start / stop control method,
As a constraint applied to starting or stopping each server, for each server, refer to another server that should satisfy a predetermined condition when starting or stopping the server, and a storage unit that stores the contents of the condition, and the network Among the servers connected to the server, the restriction condition applied to start or stop of the target server that executes the start or stop is acquired from the storage unit, and the contents of other servers and conditions specified in the restriction condition are obtained. A specific process to identify;
An operation state determination step for performing communication with each server connected to the network and determining whether or not each server is operating normally;
When starting or stopping the target server and the other server in the order specified in the specifying step, the server to be started or stopped after the server determined to be abnormal in the operating state by the operating state determining step , An execution step of controlling so as to satisfy the process when the control included in the content of the constraint condition fails,
A server start / stop control method comprising:

JP2011193321A 2011-09-05 2011-09-05 Server start / stop control device and server start / stop control method Expired - Fee Related JP5808006B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011193321A JP5808006B2 (en) 2011-09-05 2011-09-05 Server start / stop control device and server start / stop control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011193321A JP5808006B2 (en) 2011-09-05 2011-09-05 Server start / stop control device and server start / stop control method

Publications (3)

Publication Number Publication Date
JP2013054605A JP2013054605A (en) 2013-03-21
JP2013054605A5 JP2013054605A5 (en) 2014-06-19
JP5808006B2 true JP5808006B2 (en) 2015-11-10

Family

ID=48131519

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011193321A Expired - Fee Related JP5808006B2 (en) 2011-09-05 2011-09-05 Server start / stop control device and server start / stop control method

Country Status (1)

Country Link
JP (1) JP5808006B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6795782B1 (en) * 2020-05-27 2020-12-02 富士通クライアントコンピューティング株式会社 Information processing system, information processing device and program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2687860B2 (en) * 1993-12-28 1997-12-08 日本電気株式会社 System start / stop control system for distributed processing system
WO2006043321A1 (en) * 2004-10-20 2006-04-27 Fujitsu Limited Application management program, application management method, and application management device
JP2007179252A (en) * 2005-12-27 2007-07-12 Nomura Research Institute Ltd Server system and method for controlling the same

Also Published As

Publication number Publication date
JP2013054605A (en) 2013-03-21

Similar Documents

Publication Publication Date Title
US9740546B2 (en) Coordinating fault recovery in a distributed system
JP5427574B2 (en) Virtual computer migration management method, computer using the migration management method, virtualization mechanism using the migration management method, and computer system using the migration management method
US10635473B2 (en) Setting support program, setting support method, and setting support device
US20100228960A1 (en) Virtual memory over baseboard management controller
CN103842968B (en) A kind of moving method of internal storage data, computing machine and device
US9780836B2 (en) Server information handling system NFC management sideband feedback
CN108206847A (en) CDN management system, method and device
JP2010282387A (en) Computer system, switching method, and pci switch
CN103221921A (en) Direct migration of software images with streaming technique
TW201428508A (en) Remote backup system and remote backup method thereof
JP2011248419A (en) Business computer allotting method and device
CN101202764A (en) Method and system for defining link state of virtual Ethernet adapter
CN106293846B (en) The upgrade method and device of analog processor
US11799839B2 (en) Cross-regional replication of keys
JP2012108651A (en) Cluster system
WO2020143324A1 (en) Service program releasing method and apparatus, and computer device and storage medium
JP5808006B2 (en) Server start / stop control device and server start / stop control method
CN102959499B (en) Computer system, storage volume management method
JP2000035947A (en) Remote setting method for system state information and computer system
US10140143B2 (en) Collection of guest status
US20080141262A1 (en) System, apparatus, and method for managing a service
CN104125097A (en) Management control communication method and equipment
WO2003003244A1 (en) Method of rapidly eliminating different information in databases
JP5718769B2 (en) Server configuration control apparatus and server configuration control method
JP6467298B2 (en) Server operation work history management device, system, method, and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140501

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140501

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150210

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150212

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150413

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20150519

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150728

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20150804

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150904

R150 Certificate of patent or registration of utility model

Ref document number: 5808006

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees