JP5718769B2 - Server configuration control apparatus and server configuration control method - Google Patents

Server configuration control apparatus and server configuration control method Download PDF

Info

Publication number
JP5718769B2
JP5718769B2 JP2011193320A JP2011193320A JP5718769B2 JP 5718769 B2 JP5718769 B2 JP 5718769B2 JP 2011193320 A JP2011193320 A JP 2011193320A JP 2011193320 A JP2011193320 A JP 2011193320A JP 5718769 B2 JP5718769 B2 JP 5718769B2
Authority
JP
Japan
Prior art keywords
server
stop
configuration control
servers
communication network
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
JP2011193320A
Other languages
Japanese (ja)
Other versions
JP2013054604A (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 JP2011193320A priority Critical patent/JP5718769B2/en
Publication of JP2013054604A publication Critical patent/JP2013054604A/en
Application granted granted Critical
Publication of JP5718769B2 publication Critical patent/JP5718769B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Power Sources (AREA)

Description

この発明は、サーバ構成制御装置及びサーバ構成制御方法に関する。   The present invention relates to a server configuration control device and a server configuration 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 configuration control apparatus that controls the operation of each server in a server group arranged on a communication network is known. For example, the server configuration control apparatus monitors the processing load amount for each of a plurality of servers arranged on the communication network, selects a server from the same type of servers according to the processing load amount, and selects Start or stop the server. The server configuration control apparatus monitors the amount of power supplied to the server room in which the server is installed, and starts or stops the server according to the amount of power.

特開2010−33292号公報JP 2010-33292 A

しかしながら、上述した従来技術では、異なるサーバ種別間で、サーバを起動又は停止させる際の制約がある場合に、処理負荷量や、消費電力量を迅速に最適化することができないという問題があった。例えば、上述した従来技術では、サーバ種別間で、サーバを起動又は停止させる順番に制約があったり、サーバの起動又は停止に失敗した後の他のサーバに対する制御に制約があったりした場合に、それに沿ったサーバの制御を行うことができず、処理負荷量や、消費電力量を迅速に最適化することができない。   However, in the above-described conventional technology, there is a problem that the processing load amount and the power consumption amount cannot be quickly optimized 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, The server cannot be controlled accordingly, and the processing load and power consumption cannot be optimized quickly.

かかる場合には、サーバ群を管理する保守者が、サーバの起動又は停止に係る制約を確認しながらサーバの起動又は停止を行うため、作業時間が長くかかってしまい、処理負荷量や、消費電力量を迅速に最適化することができない。さらに、保守者の作業ミスを誘発する場合もあった。   In such a case, the maintenance person who manages the server group starts or stops the server while checking the restrictions on starting or stopping the server, so that it takes a long work time, and the processing load amount and power consumption are increased. The amount cannot be optimized quickly. 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 a server between different server types, the processing load amount and consumption It is an object of the present invention to provide a server configuration control device and a server configuration control method capable of quickly optimizing the amount of power.

上述した課題を解決し、目的を達成するため、本願の装置は、役割分担された各サーバが役割毎に複数台ずつネットワークに接続され、役割分担されたサーバ間で協働処理を行うシステムにおいて、各サーバの起動又は停止を制御するサーバ構成制御装置であって、各サーバの起動又は停止に適用される制約条件であって、サーバ毎に、該サーバの起動又は停止に際して所定の条件を満たすべき他のサーバ及び該条件の内容を示す制約条件を記憶する記憶手段と、各サーバにおける処理負荷量及び各サーバの稼動に用いられる電力量のうち少なくとも一方を取得する取得手段と、前記取得手段によって取得された処理負荷量及び電力量のうち少なくとも一方に基づいて、起動又は停止の対象となる対象サーバを決定する決定手段と、前記決定手段によって決定された対象サーバの起動又は停止に適用される制約条件を前記記憶手段から取得し、該制約条件に規定された他のサーバ及び条件の内容を特定する特定手段と、前記特定手段によって特定された他のサーバが前記特定手段によって特定された条件を満たすように制御した後に、前記決定手段によって決定された対象サーバの起動又は停止を実行する実行手段とを備えたことを特徴とする。   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 configuration control apparatus that controls the start or stop of each server, which is a restriction condition applied to the start or stop of each server, and that satisfies a predetermined condition for starting or stopping the server for each server Storage means for storing the other server to be used and the constraint condition indicating the content of the condition, acquisition means for acquiring at least one of the processing load amount in each server and the amount of power used to operate each server, and the acquisition means Determining means for determining a target server to be activated or deactivated based on at least one of the processing load amount and the electric energy obtained by Obtaining from the storage means a constraint condition applied to the start or stop of the target server determined by the stage, identifying means for specifying other servers and conditions defined in the constraint condition, and by the identifying means And executing means for starting or stopping the target server determined by the determining means after the other specified servers are controlled so as to satisfy the conditions specified by the specifying means. .

本願の装置は、異なるサーバ種別間で、サーバを起動又は停止させる際の制約がある場合であっても、処理負荷量や、消費電力量を迅速に最適化することを可能にする。   The apparatus of the present application makes it possible to quickly optimize the processing load amount and the power consumption amount even when there are restrictions when starting or stopping servers 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 performed by the server configuration control apparatus according to the related art. 図3は、従来技術に係るサーバ構成制御装置の構成の一例を示す図である。FIG. 3 is a diagram illustrating an example of a configuration of a server configuration control apparatus according to the related art. 図4は、従来技術に係るサーバ構成制御装置による処理の一例を示すシーケンス図である。FIG. 4 is a sequence diagram illustrating an example of processing by the server configuration 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 configuration 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 start / stop file according to the first embodiment. 図8は、実施例1に係る優先度データファイルによって記憶される情報の一例を示す図である。FIG. 8 is a diagram illustrating an example of information stored by the priority data file according to the first embodiment. 図9Aは、実施例1に係る起動/停止条件管理ファイルによって記憶される情報の第1の例を示す図である。FIG. 9A is a diagram illustrating a first example of information stored by the start / stop condition management file according to the first embodiment. 図9Bは、実施例1に係る起動/停止条件管理ファイルによって記憶される情報の第2の例を示す図である。FIG. 9B is a diagram illustrating a second example of information stored by the start / stop condition management file according to the first embodiment. 図10Aは、実施例1に係るサーバ構成制御装置による処理の手順を示すシーケンス図である。FIG. 10A is a sequence diagram illustrating a processing procedure performed by the server configuration control apparatus according to the first embodiment. 図10Bは、実施例1に係るサーバ構成制御装置による処理の手順を示すシーケンス図である。FIG. 10B is a sequence diagram illustrating a processing procedure performed by the server configuration control apparatus according to the first embodiment. 図10Cは、実施例1に係るサーバ構成制御装置による処理の手順を示すシーケンス図である。FIG. 10C is a sequence diagram illustrating a processing procedure performed by the server configuration control apparatus according to the first embodiment. 図11は、実施例2に係る通信ネットワークの一例を示す模式図である。FIG. 11 is a schematic diagram illustrating an example of a communication network according to the second embodiment. 図12は、実施例2に係るサーバ構成制御装置の構成の一例を示す図である。FIG. 12 is a diagram illustrating an example of the configuration of the server configuration control apparatus according to the second embodiment. 図13は、実施例2に係るサーバ停止時刻管理ファイルによって記憶される情報の一例を示す図である。FIG. 13 is a diagram illustrating an example of information stored by the server stop time management file according to the second embodiment. 図14Aは、実施例2に係るサーバ構成制御装置による処理の手順を示すシーケンス図である。FIG. 14A is a sequence diagram illustrating a processing procedure performed by the server configuration control apparatus according to the second embodiment. 図14Bは、実施例2に係るサーバ構成制御装置による処理の手順を示すシーケンス図である。FIG. 14B is a sequence diagram illustrating a processing procedure performed by the server configuration control apparatus according to the second embodiment. 図14Cは、実施例2に係るサーバ構成制御装置による処理の手順を示すシーケンス図である。FIG. 14C is a sequence diagram illustrating a processing procedure performed by the server configuration control apparatus according to the second embodiment. 図15は、従来技術に係る通信ネットワークの一例を示す模式図である。FIG. 15 is a schematic diagram illustrating an example of a communication network according to the related art. 図16は、従来技術に係るサーバ構成制御装置の構成の一例を示す図である。FIG. 16 is a diagram illustrating an example of a configuration of a server configuration control apparatus according to the related art. 図17は、従来技術に係るサーバ構成制御装置による処理の一例を示すシーケンス図である。FIG. 17 is a sequence diagram illustrating an example of processing performed by the server configuration control device according to the related art. 図18は、実施例3に係る通信ネットワークの一例を示す模式図である。FIG. 18 is a schematic diagram illustrating an example of a communication network according to the third embodiment. 図19は、実施例3に係るサーバ構成制御装置の構成の一例を示す図である。FIG. 19 is a diagram illustrating an example of the configuration of the server configuration control apparatus according to the third embodiment. 図20Aは、実施例3に係るサーバ構成制御装置による処理の手順を示すシーケンス図である。FIG. 20A is a sequence diagram illustrating a processing procedure performed by the server configuration control apparatus according to the third embodiment. 図20Bは、実施例3に係るサーバ構成制御装置による処理の手順を示すシーケンス図である。FIG. 20B is a sequence diagram illustrating a processing procedure performed by the server configuration control apparatus according to the third embodiment. 図20Cは、実施例3に係るサーバ構成制御装置による処理の手順を示すシーケンス図である。FIG. 20C is a sequence diagram illustrating a processing procedure performed by the server configuration control apparatus according to the third embodiment. 図20Dは、実施例3に係るサーバ構成制御装置による処理の手順を示すシーケンス図である。FIG. 20D is a sequence diagram illustrating a processing procedure performed by the server configuration control apparatus according to the third embodiment.

以下に添付図面を参照して、本願のサーバ構成制御装置及びサーバ構成制御方法の実施例を詳細に説明する。なお、本願のサーバ構成制御装置及びサーバ構成制御方法は、以下の実施例により限定されるものではない。   Exemplary embodiments of a server configuration control device and a server configuration control method of the present application will be described below in detail with reference to the accompanying drawings. The server configuration control device and the server configuration 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 configuration control device of the present application is described. In the first embodiment, a case will be described in which the operation of a server is controlled according to the processing load amounts of a plurality of servers arranged on a communication network.

図1は、従来技術に係る通信ネットワークの一例を示す模式図である。例えば、通信ネットワークには、図1に示すように、複数の通信ネットワーク装置が接続される。なお、図1においては、2台の通信ネットワーク装置が示されているが、実際には、さらに多くの通信ネットワーク装置が通信ネットワークに接続されている。例えば、通信ネットワークは、LAN(Local Area Network)やWAN(Wide Area Network)などである。   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においては、通信ネットワーク装置が、2台のフロントサーバと、1台のDBサーバと、1台のログサーバとを有し、2台のフロントサーバが同一の処理を行なう場合について示す。また、図2においては、通信ネットワーク装置が1台のみ示されているが、実際には、複数の通信ネットワーク装置が通信ネットワークに接続されている。   The server configuration control device controls the configuration of servers that are operated on the communication network by controlling the operation of each server on the communication network shown in FIG. FIG. 2 is a schematic diagram for explaining an example of processing of the server configuration control device according to the related art. FIG. 2 shows a case where the communication network device has two front servers, one DB server, and one log server, and the two front servers perform the same processing. In FIG. 2, only one communication network device is shown, but actually, a plurality of communication network devices are connected to the communication network.

サーバ構成制御装置は、各サーバの処理負荷量を監視して、各サーバの稼動を制御する。例えば、図2に示すように、サーバ構成制御装置は、フロントサーバ1、DBサーバ及びログサーバが起動中にフロントサーバ1の処理負荷量が高負荷であると、停止中のフロントサーバ2を起動させて負荷の分散を行う。以下、この処理の詳細について、図3及び図4を用いて説明する。   The server configuration control device monitors the processing load amount of each server and controls the operation of each server. For example, as shown in FIG. 2, the server configuration control device starts the stopped front server 2 when the front server 1, the DB server, and the log server are started and the processing load on the front server 1 is high. To distribute the load. The details of this process will be described below with reference to FIGS.

図3は、従来技術に係るサーバ構成制御装置200の構成の一例を示す図である。図3に示すように、従来技術に係るサーバ構成制御装置200は、グラフィックユーザインタフェース210と、主処理部220と、通信ネットワーク装置データファイル231と、サーバ構成ファイル232と、通信アドレスデータファイル233と、稼動状態管理ファイル234と、サーバリソース閾値管理ファイル235と、ログファイル236と、通信ネットワーク装置/サーバ識別部241と、通信アドレスデータ取得部242と、サーバ稼動状況取得部243と、サーバリソース計算/再配置部244と、サーバ起動/停止要求部245と、ログ管理部246とを有する。   FIG. 3 is a diagram illustrating an example of the configuration of the server configuration control apparatus 200 according to the related art. As shown in FIG. 3, the server configuration 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. , Operation state management file 234, server resource threshold management file 235, log file 236, communication network device / server identification unit 241, communication address data acquisition unit 242, server operation status acquisition unit 243, server resource calculation / Relocation unit 244, server start / stop request unit 245, and log management unit 246.

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

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

稼動状態管理ファイル234は、通信ネットワーク装置を構成するサーバごとに、サーバを起動させるための起動要求コマンド、及び、サーバを停止させるための停止要求コマンドを記憶する。サーバリソース閾値管理ファイル235は、処理負荷量の閾値を記憶する。具体的には、サーバリソース閾値管理ファイル235は、サーバが高負荷状態にあるか否か、或いは、サーバが低負荷状態にあるか否かを判定するための閾値を記憶する。   The operating state management file 234 stores a start request command for starting the server and a stop request command for stopping the server for each server constituting the communication network device. The server resource threshold management file 235 stores a processing load amount threshold. Specifically, the server resource threshold management file 235 stores a threshold for determining whether the server is in a high load state or whether the server is in a low load state.

ログファイル236は、サーバ構成制御装置200によって実行された処理内容を記憶する。具体的には、ログファイル236は、後述するログ管理部246によって格納されるサーバ構成制御装置200の処理内容を記憶する。   The log file 236 stores the processing content executed by the server configuration control apparatus 200. Specifically, the log file 236 stores the processing contents of the server configuration control apparatus 200 stored by the log management unit 246 described later.

なお、通信ネットワーク装置データファイル231、サーバ構成ファイル232、通信アドレスデータファイル233、稼動状態管理ファイル234及びサーバリソース閾値管理ファイル235によって記憶される各種情報は、予め保守者によって登録される。   Various information stored by the communication network device data file 231, the server configuration file 232, the communication address data file 233, the operation state management file 234, and the server resource threshold management file 235 are registered in advance by a maintenance person.

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

通信アドレスデータ取得部242は、通信ネットワーク装置/サーバ識別部241によって識別されたサーバの通信アドレスを、通信アドレスデータファイルから取得する。サーバ稼動状況取得部243は、通信アドレスデータ取得部242によって取得された通信アドレスに対応するサーバから稼動状態を取得する。例えば、サーバ稼動状況取得部243は、フロントサーバ1の処理負荷量を取得する。   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. The server operation status acquisition unit 243 acquires the operation state from the server corresponding to the communication address acquired by the communication address data acquisition unit 242. For example, the server operation status acquisition unit 243 acquires the processing load amount of the front server 1.

サーバリソース計算/再配置部244は、サーバリソース閾値管理ファイル235によって記憶された閾値を参照して、サーバ稼動状況取得部243によって取得されたサーバの現時点の稼動状態を判定する。例えば、サーバリソース計算/再配置部244は、サーバリソース閾値管理ファイル235によって記憶された閾値を参照して、サーバ稼動状況取得部243によって取得されたフロントサーバ1の処理負荷量が高負荷状態であるか否か、及び、低負荷状態であるか否かを判定する。そして、サーバリソース計算/再配置部244は、起動又は停止させるサーバの数を算出する。   The server resource calculation / relocation unit 244 refers to the threshold stored by the server resource threshold management file 235 and determines the current operating state of the server acquired by the server operating status acquisition unit 243. For example, the server resource calculation / relocation unit 244 refers to the threshold stored by the server resource threshold management file 235 and the processing load amount of the front server 1 acquired by the server operation status acquisition unit 243 is high. It is determined whether or not there is a low load state. Then, the server resource calculation / relocation unit 244 calculates the number of servers to be started or stopped.

サーバ起動/停止要求部245は、サーバリソース計算/再配置部244による判定結果に基づいて、通信ネットワーク上のサーバに対して起動要求コマンド或いは停止要求コマンドを送信する。ログ管理部246は、サーバ構成制御装置による処理内容をログファイル236に格納する。   The server start / stop request unit 245 transmits a start request command or a stop request command to the server on the communication network based on the determination result by the server resource calculation / relocation unit 244. The log management unit 246 stores the processing content by the server configuration control device in the log file 236.

かかる構成の下、サーバ構成制御装置200は、以下に示すように、サーバの稼動を制御する。図4は、従来技術に係るサーバ構成制御装置200による処理の一例を示すシーケンス図である。なお、図4においては、通信ネットワーク装置を構成するサーバの処理負荷量を取得する時期に達した後の処理について示す。なお、サーバの処理負荷量を取得する時期については、保守者によって任意に設定することができる。また、保守者がグラフィックユーザインタフェース210からサーバの処理負荷量を取得するように要求を入力してもよい。   Under this configuration, the server configuration control apparatus 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 configuration control apparatus 200 according to the related art. FIG. 4 shows the processing after reaching the time to acquire the processing load of the server constituting the communication network device. Note that the time for acquiring the processing load amount of the server can be arbitrarily set by the maintenance person. In addition, the maintenance person may input a request to acquire the processing load amount of the server from the graphic user interface 210.

図4に示すように、従来技術に係るサーバ構成制御装置200においては、サーバの処理負荷量を取得する時期に達すると、サーバ稼動状況取得部243が、現時点で稼動しているフロントサーバ1、DBサーバ及びログサーバの処理負荷量の取得要求を送信する(ステップS101)。フロントサーバ1、DBサーバ及びログサーバは、サーバ構成制御装置から取得要求を受信すると、それぞれ処理負荷量を応答する(ステップS102、ステップS103、ステップS104)。   As shown in FIG. 4, in the server configuration control apparatus 200 according to the prior art, when the time to acquire the processing load amount of the server is reached, the server operation status acquisition unit 243 displays the front server 1 that is currently operating, A processing load acquisition request for the DB server and log server is transmitted (step S101). When the front server 1, the DB server, and the log server receive the acquisition request from the server configuration control device, they respectively respond to the processing load amount (Step S102, Step S103, Step S104).

続いて、サーバ構成制御装置200においては、各サーバから処理負荷量の応答を受けると、サーバリソース計算/再配置部244が、予め登録された閾値と受付けた応答とを比較して、フロントサーバ1が高負荷状態であると判定し(ステップS105)、新たに起動させる同一種別のサーバの台数を算出する(ステップS106)。そして、サーバ起動/停止要求部245が、フロントサーバ2に起動要求コマンドを送信する(ステップS107)。   Subsequently, in the server configuration control apparatus 200, when a response of the processing load amount is received from each server, the server resource calculation / relocation unit 244 compares the threshold value registered in advance with the received response, and the front server 1 is determined to be in a high load state (step S105), and the number of servers of the same type to be newly activated is calculated (step S106). Then, the server start / stop request unit 245 transmits a start request command to the front server 2 (step S107).

フロントサーバ2は、サーバ構成制御装置200から起動要求コマンドを受信すると、受信した旨の応答である起動要求応答をサーバ構成制御装置200に送信し(ステップS108)、サーバを起動させる(ステップS109)。その後、サーバ構成制御装置200は、処理負荷量の取得時期に達したか否かを判定する(ステップS110)。   When the front server 2 receives the activation request command from the server configuration control apparatus 200, the front server 2 transmits an activation request response, which is a response to the reception, to the server configuration control apparatus 200 (step S108), and activates the server (step S109). . Thereafter, the server configuration control apparatus 200 determines whether or not the processing load amount acquisition timing has been reached (step S110).

ここで、処理負荷量の取得時期に達している場合には(ステップS110肯定)、サーバ稼動状況取得部243が、現時点で稼動しているフロントサーバ1、フロントサーバ2、DBサーバ及びログサーバの処理負荷量の取得要求を送信する(ステップS111)。フロントサーバ1、フロントサーバ2、DBサーバ及びログサーバは、サーバ構成制御装置から取得要求を受信すると、それぞれ処理負荷量を応答する(ステップS112、ステップS113、ステップS114、ステップS115)。   Here, when the acquisition time of the processing load amount has been reached (Yes in step S110), the server operation status acquisition unit 243 determines that the front server 1, the front server 2, the DB server, and the log server that are currently operating. A processing load amount acquisition request is transmitted (step S111). When the front server 1, the front server 2, the DB server, and the log server receive the acquisition request from the server configuration control device, they respectively respond to the processing load amount (step S112, step S113, step S114, step S115).

続いて、サーバ構成制御装置200においては、各サーバから処理負荷量の応答を受けると、サーバリソース計算/再配置部244が、予め登録された閾値と受付けた応答とを比較して、フロントサーバ1及びフロントサーバ2が低負荷状態であると判定し(ステップS116)、停止させる同一種別のサーバの台数を算出する(ステップS117)。そして、サーバ起動/停止要求部245が、フロントサーバ2に停止要求コマンドを送信する(ステップS118)。   Subsequently, in the server configuration control apparatus 200, when a response of the processing load amount is received from each server, the server resource calculation / relocation unit 244 compares the threshold value registered in advance with the received response, and the front server 1 and the front server 2 are determined to be in a low load state (step S116), and the number of servers of the same type to be stopped is calculated (step S117). Then, the server start / stop request unit 245 transmits a stop request command to the front server 2 (step S118).

フロントサーバ2は、サーバ構成制御装置200から停止要求コマンドを受信すると、受信した旨の応答である停止要求応答をサーバ構成制御装置200に送信し(ステップS119)、サーバを停止させる(ステップS120)。なお、従来技術においては、ステップS109及びステップS120におけるサーバの起動及び停止が行われた後、保守者が確認作業を実施して、正常に動作していない場合には、原因調査を実施するとともに、保守者があらためてサーバの起動又は停止を実施する。   When the front server 2 receives the stop request command from the server configuration control device 200, the front server 2 transmits a stop request response, which is a response indicating that it has been received, to the server configuration control device 200 (step S119), and stops the server (step S120). . In the prior art, after the server is started and stopped in step S109 and step S120, the maintenance engineer performs confirmation work, and when the server is not operating normally, the cause is investigated. The maintenance person restarts or stops the server.

上述したように、従来技術におけるサーバ構成制御装置においては、複数のサーバの処理負荷量を監視して、処理負荷量が閾値を越えた場合に、同一種別のサーバを起動させたり、停止させたりすることで、処理負荷量を最適にするように制御する。ここで、上述した従来技術においては、異なるサーバ種別間で稼動に関する制約がある場合に、サーバを起動させたり、停止させたりすることができなかった。   As described above, in the server configuration control device in the prior art, the processing load amount of a plurality of servers is monitored, and when the processing load amount exceeds a threshold, the same type of server is started or stopped. By doing so, the processing load is controlled to be optimized. Here, in the above-described conventional technology, when there is a restriction on operation between different server types, the server cannot be started or stopped.

すなわち、従来のサーバ構成制御装置は、サーバの処理負荷量に基づいて、同一種別のサーバを起動させたり、停止させたりするだけであるため、異なるサーバ種別間で稼動に関する制約がある場合に、それを考慮してサーバを起動させたり、停止させたりすることができない。例えば、ログサーバをフロントサーバより先に停止させると、フロントサーバで処理中の内容をログサーバに記録することができなくなる。したがって、ログサーバよりフロントサーバを先に停止させる必要があるが、従来のサーバ構成制御装置では、これに対応することができない。このように、サーバ種別間で停止順序の制約がある場合には、従来のサーバ構成制御装置ではこれらのサーバを停止させることはできなかった。   In other words, since the conventional server configuration control device only starts or stops the same type of server based on the processing load amount of the server, when there is a restriction on operation between different server types, Considering this, the server cannot be started or stopped. 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 configuration 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 configuration 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 configuration control apparatus, these servers cannot be stopped. That is, in a conventional server configuration control device, when 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 configuration control device cannot perform such processing and cannot stop the log server.

上述したように、従来のサーバ構成制御装置では、異なるサーバ種別間で起動又は停止の順序があったり、制御の失敗の後の処理が限定されていたり、サーバの動作に依存関係があったりするような制約がある場合に、サーバの起動及び停止を制御することができない。そのため、従来、このような制約がある場合には、保守者が制約を確認しながらサーバの稼動を制御することとなり、処理負荷量の最適化を迅速に行うことができなかった。   As described above, in the conventional server configuration control apparatus, there is a start or stop order between different server types, processing after a control failure is limited, or there is a dependency relationship between server operations. When there are such restrictions, it is not possible 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 processing load amount cannot be quickly optimized.

そこで、本願のサーバ構成制御装置は、異なるサーバ種別間で、起動又は停止させる際の制約がある場合であっても、処理負荷量や、消費電力量を迅速に制御することを可能にすることを目的とする。実施例1においては、上述したように、処理負荷量を制御する場合について説明する。   Therefore, the server configuration control device of the present application enables to quickly control the processing load amount and the power consumption amount even when there are restrictions when starting or stopping between different server types. With the goal. In the first embodiment, as described above, a case where the processing load amount is controlled 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 shown in FIG. 5, the communication network apparatus A and the server configuration control apparatus 100 are connected to the communication network according to the first embodiment. In FIG. 5, one communication network device is shown, but actually, more communication network devices are connected to the communication network. For example, the communication network is a LAN or a WAN.

通信ネットワーク装置Aは、図5に示すように、サブセットA1と、サブセットA2とを有し、図示しないクライアント装置などからの要求に応じた処理を実行する。具体的には、通信ネットワーク装置Aは、任意の処理を実行する際に、サブセットA1とサブセットA2とが並列して処理を行う。すなわち、通信ネットワーク装置Aは、並列分散処理を実行して、処理に係る負荷を分散する。   As shown in FIG. 5, the communication network apparatus A has a subset A1 and a subset A2, and executes processing in response to a request from a client apparatus (not shown). Specifically, when the communication network apparatus A executes arbitrary processing, the subset A1 and the subset A2 perform processing in parallel. That is, the communication network device A executes parallel distributed processing to distribute the load related to the processing.

サブセットA1は、図5に示すように、フロントサーバ1と、フロントサーバ2と、ログサーバ1とを有する。サブセットA2は、図5に示すように、フロントサーバ3と、ログサーバ2とを有する。   As shown in FIG. 5, the subset A <b> 1 includes a front server 1, a front server 2, and a log server 1. The subset A2 includes a front server 3 and a log server 2 as shown in FIG.

サブセットA1において、フロントサーバ1は、例えば、図5に示すように、DBサーバ1からネットワーク情報及びユーザ情報を取得して、処理要求に応じた処理を実行し、処理内容を示すログをログサーバ1に送付する。また、フロントサーバ2は、図5に示すように、DBサーバ2からネットワーク情報及びユーザ情報を取得して、処理要求に応じた処理を実行し、ログをログサーバ1に送付する。   In the subset A1, for example, as shown in FIG. 5, the front server 1 acquires network information and user information from the DB server 1, executes processing according to the processing request, and logs a log indicating the processing content to the log server Send to 1. Further, as shown in FIG. 5, the front server 2 acquires network information and user information from the DB server 2, 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及びフロントサーバ3の処理に用いられる各種データを記憶する。例えば、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 and the front server 3. 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は、図5に示すように、フロントサーバ1、フロントサーバ2、DBサーバ1及びDBサーバ2からそれぞれ受信したログを記憶する。   The log server 1 stores the processing contents of the communication network device A. Specifically, 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 as shown in FIG.

サブセットA2において、フロントサーバ3は、例えば、図5に示すように、DBサーバ2からネットワーク情報及びユーザ情報を取得して、処理要求に応じた処理を実行し、ログをログサーバ2に送付する。ログサーバ2は、通信ネットワーク装置Aの処理内容を記憶する。具体的には、ログサーバ2は、図5に示すように、フロントサーバ3から受信したログを記憶する。   In the subset A2, for example, as shown in FIG. 5, the front server 3 acquires network information and user information from the DB server 2, executes processing according to the processing request, and sends a log to the log server 2. . The log server 2 stores the processing contents of the communication network device A. Specifically, the log server 2 stores the log received from the front server 3 as shown in FIG.

上述した通信ネットワーク装置は、各サーバをそれぞれ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.

サーバ構成制御装置は、各サーバの処理負荷量を監視して、異なるサーバ種別間で、起動又は停止させる際の制約がある場合であっても、処理負荷量や、消費電力量を迅速に制御する。図6は、実施例1に係るサーバ構成制御装置100の構成の一例を示す図である。   The server configuration control device monitors the processing load amount of each server and quickly controls the processing load amount and power consumption even when there are restrictions when starting or stopping between different server types. To do. FIG. 6 is a diagram illustrating an example of the configuration of the server configuration control apparatus 100 according to the first embodiment.

図6に示すように、実施例1に係るサーバ構成制御装置100は、グラフィックユーザインタフェース110と、主処理部120と、通信ネットワーク装置データファイル131と、サーバ構成ファイル132と、通信アドレスデータファイル133と、稼動状態管理ファイル134と、通信ネットワーク装置起動/停止ファイル135と、優先度データファイル136と、起動/停止条件管理ファイル137と、ログファイル138と、通信ネットワーク装置/サーバ識別部141と、通信アドレスデータ取得部142と、サーバ稼動状況取得部143と、サーバ起動/停止決定部144と、サーバ起動/停止要求部145と、ログ管理部146とを有する。   As illustrated in FIG. 6, the server configuration 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. An operation state management file 134, a communication network device start / stop file 135, a priority data file 136, a start / stop condition management file 137, a log file 138, a communication network device / server identification unit 141, The communication address data acquisition unit 142, the server operation status acquisition unit 143, the server activation / deactivation determination unit 144, the server activation / deactivation request unit 145, and the log management unit 146 are included.

グラフィックユーザインタフェース110は、サーバ構成制御装置100の保守者に対して、画面上にアイコンやメニューで操作対象や選択項目を表示し、それをマウスなどのポインティングデバイスにより操作させるインタフェースである。   The graphic user interface 110 is an interface that allows a maintenance person of the server configuration control apparatus 100 to display an operation target and selection items with icons and menus on a screen and operate them 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 configuration control apparatus 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〜3、DBサーバ1〜2及びログサーバ1をそれぞれ一意に特定するための識別子を記憶する。   The server configuration file 132 stores information for uniquely specifying a server that configures a communication network device arranged on the communication network. For example, the server configuration file 132 stores identifiers for uniquely specifying the front servers 1 to 3, the DB servers 1 to 2, and the log server 1.

通信アドレスデータファイル133は、通信ネットワーク装置Aを構成するサーバごとの通信アドレスを記憶する。稼動状態管理ファイル133は、後述するサーバ稼動状況取得部143によって取得された各サーバのネットワークへの接続状態や、OS(Operation System)などの稼動状態、各サーバのCPU使用率及びメモリ使用量などを記憶する。   The communication address data file 133 stores a communication address for each server constituting the communication network device A. The operation state management file 133 is a connection state of each server acquired by a server operation state acquisition unit 143 to be described later, an operating state of an OS (Operation System), a CPU usage rate and a memory usage amount of each server, and the like. Remember.

通信ネットワーク装置起動/停止ファイル135は、通信ネットワークに接続された通信ネットワーク装置ごとに、サーバの起動順序及び停止順序を記憶する。図7は、実施例1に係る通信ネットワーク装置起動/停止ファイル135によって記憶される情報の一例を示す図である。   The communication network device start / stop file 135 stores a server start order and a 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 start / stop file 135 according to the first embodiment.

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

図6に戻って、優先度データファイル136は、サーバ種別ごとに、サーバを稼動させる優先度を記憶する。図8は、実施例1に係る優先度データファイル136によって記憶される情報の一例を示す図である。例えば、優先度データファイル136は、図8に示すように、通信ネットワーク装置ごとに、サーバ種別ごとの優先度を記憶する。一例を挙げると、優先度データファイル136は、「通信ネットワーク:A」に対応付けて、「フロントサーバ1=フロントサーバ2>フロントサーバ3」を記憶する。ここで、上記した情報は、フロントサーバ3を稼動させる優先度がフロントサーバ1及びフロントサーバ2よりも低いことを意味している。   Returning to FIG. 6, the priority data file 136 stores the priority for operating the server for each server type. FIG. 8 is a diagram illustrating an example of information stored by the priority data file 136 according to the first embodiment. For example, the priority data file 136 stores the priority for each server type for each communication network device, as shown in FIG. For example, the priority data file 136 stores “front server 1 = front server 2> front server 3” in association with “communication network: A”. Here, the above-described information means that the priority of operating the front server 3 is lower than that of the front server 1 and the front server 2.

図6に戻って、起動/停止条件管理ファイル137は、各サーバを起動或いは停止させるための種々の条件を記憶する。具体的には、起動/停止条件管理ファイル137は、各サーバを起動又は停止させる場合に、予め起動又は停止している必要のある他のサーバの識別子や、優先度が低いサーバを停止させる場合の他のサーバにおける処理量の閾値、停止させるサーバの数と閾値との関係、各サーバが起動又は停止可能であるための、他のサーバのネットワーク接続状態やOSの稼動状態などの条件を記憶する。   Returning to FIG. 6, the start / stop condition management file 137 stores various conditions for starting or stopping each server. Specifically, when starting or stopping each server, the start / stop condition management file 137 stops an identifier of another server that needs to be started or stopped in advance or a server with a low priority. 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.

図9Aは、実施例1に係る起動/停止条件管理ファイル137によって記憶される情報の第1の例を示す図である。例えば、実施例1に係る起動/停止条件管理ファイル137は、図9Aに示すように、サーバごとに、処理負荷が低負荷であるか否かを判定するためのCPU使用率の閾値と、高負荷であるか否かを判定するためのCPU使用率の閾値とを記憶する。   FIG. 9A is a diagram illustrating a first example of information stored by the start / stop condition management file 137 according to the first embodiment. For example, as illustrated in FIG. 9A, the start / stop condition management file 137 according to the first embodiment includes a CPU usage rate threshold value for determining whether the processing load is low for each server, and a high value. The CPU usage rate threshold value for determining whether or not it is a load is stored.

図9Bは、実施例1に係る起動/停止条件管理ファイル137によって記憶される情報の第2の例を示す図である。例えば、実施例1に係る起動/停止条件管理ファイル137は、図9Bに示すように、サーバごとに、当該サーバを停止させるための制約を記憶する。一例を挙げると、実施例1に係る起動/停止条件管理ファイル137は、「フロントサーバ3」に対応付けて、「フロントサーバ1、フロントサーバ2が正常に稼動」を記憶する。ここで、上記した情報は、フロントサーバ3を停止させるためには、フロントサーバ1、フロントサーバ2が正常に稼動していることが必要であることを意味する。なお、図9A及び図9Bに示す情報は、あくまでも一例であり、例えば、サーバの負荷状況を判定するための閾値としてメモリ使用量を用いる場合であってもよい。   FIG. 9B is a diagram illustrating a second example of information stored by the start / stop condition management file 137 according to the first embodiment. For example, the start / stop condition management file 137 according to the first embodiment stores a constraint for stopping the server for each server, as illustrated in FIG. 9B. For example, the start / stop condition management file 137 according to the first embodiment stores “front server 1 and front server 2 operate normally” in association with “front server 3”. Here, the above information means that the front server 1 and the front server 2 need to be operating normally in order to stop the front server 3. The information illustrated in FIGS. 9A and 9B is merely an example, and for example, the memory usage may be used as a threshold value for determining the load status of the server.

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

なお、通信ネットワーク装置データファイル131、サーバ構成ファイル132、通信アドレスデータファイル133、通信ネットワーク装置起動/停止ファイル135、優先度データファイル136及び起動/停止条件管理ファイル137によって記憶される各種情報は、予め保守者によって登録される。   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 135, the priority data file 136, and the start / stop condition management file 137 are: It is registered in advance by a maintenance person.

通信ネットワーク装置/サーバ識別部141は、通信ネットワーク装置データファイル131によって記憶された情報に基づいて、通信ネットワークに接続された通信ネットワーク装置を識別する。また、通信ネットワーク装置/サーバ識別部141は、サーバ構成ファイル132によって記憶された情報に基づいて、通信ネットワーク装置を構成するサーバを識別する。例えば、通信ネットワーク装置/サーバ識別部141は、通信ネットワーク上の通信ネットワーク装置Aを構成するフロントサーバ1、フロントサーバ2、フロントサーバ3、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 identifying unit 141 identifies the front server 1, the front server 2, the front server 3, 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は、通信アドレスデータ取得部142によって取得された通信アドレスに対応するサーバから稼動状態を取得し、稼動状態管理ファイル134に格納する。例えば、サーバ稼動状況取得部143は、フロントサーバ1のネットワークへの接続状態や、OSの稼動状態、CPU使用率及びメモリ使用量などを取得し、稼動状態管理ファイル134に格納する。   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 acquires the operation status from the server corresponding to the communication address acquired by the communication address data acquisition unit 142 and stores it in the operation status management file 134. 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, and stores them in the operating status management file 134.

サーバ起動/停止決定部144は、サーバ稼動状況取得部143によって取得された処理負荷量に基づいて、起動又は停止の対象となるサーバを決定する。具体的には、サーバ起動/停止決定部144は、まず、停止条件管理ファイル137によって記憶された閾値を参照して、サーバ稼動状況取得部143によって取得されたサーバの現時点の負荷状態を判定する。例えば、サーバ起動/停止決定部144は、停止条件管理ファイル137によって記憶された閾値を参照して、サーバ稼動状況取得部143によって取得されたフロントサーバ1〜3、DBサーバ1〜2及びログサーバ1の処理負荷量が高負荷状態であるか否か、及び、低負荷状態であるか否かを判定する。   The server start / stop determination unit 144 determines a server to be started or stopped based on the processing load acquired by the server operation status acquisition unit 143. Specifically, the server start / stop determination unit 144 first refers to the threshold stored in the stop condition management file 137 to determine the current load state of the server acquired by the server operation status acquisition unit 143. . For example, the server start / stop determination unit 144 refers to the threshold stored in the stop condition management file 137, and the front servers 1 to 3, the DB servers 1 and 2, and the log server acquired by the server operation status acquisition unit 143. It is determined whether the processing load amount of 1 is in a high load state and whether it is in a low load state.

そして、サーバ起動/停止決定部144は、起動又は停止させるサーバの数を決定する。具体的には、サーバ起動/停止決定部144は、起動/停止条件管理ファイル137によって記憶された起動又は停止させるサーバの数と閾値との対応関係に基づいて、起動又は停止させるサーバの数を決定する。ここで、起動又は停止させるサーバの数と閾値との対応関係としては、例えば、任意の閾値にサーバの数を対応付けた情報や、サーバの現時点の処理負荷量が閾値を超えた際の超えた程度ごとにサーバの数を対応付けた情報などである。   Then, the server start / stop determination unit 144 determines the number of servers to be started or stopped. Specifically, the server start / stop determination unit 144 determines the number of servers to be started or stopped based on the correspondence between the number of servers to be started or stopped and the threshold stored in the start / stop condition management file 137. decide. Here, as a correspondence relationship between the number of servers to be started or stopped and the threshold, for example, information in which the number of servers is associated with an arbitrary threshold, or an excess when the current processing load of the server exceeds the threshold For example, information in which the number of servers is associated with each other.

そして、サーバ起動/停止決定部144は、決定した数のサーバを起動又は停止の対象として決定する。具体的には、サーバ起動/停止決定部144は、優先度データファイル136によって記憶されたサーバの優先度に基づいて、起動又は停止の対象となるサーバを決定する。例えば、サーバ起動/停止決定部144は、優先度の高い順、或いは、優先度の低い順に起動又は停止の対象となるサーバを決定する。   Then, the server start / stop determination unit 144 determines the determined number of servers as targets to be started or stopped. Specifically, the server start / stop determination unit 144 determines a server to be started or stopped based on the server priority stored by the priority data file 136. For example, the server activation / determination determining unit 144 determines a server to be activated or deactivated in order of high priority or low priority.

そして、サーバ起動/停止決定部144は、起動又は停止の対象として決定したサーバの起動又は停止に適用される制約条件を起動/停止条件管理ファイル137から取得し、該制約条件に規定された他のサーバ及び条件の内容を特定する。例えば、サーバ起動/停止決定部144は、図9Bに示す情報を参照して、起動又は停止の対象として決定したサーバを起動又は停止させるための制約条件を特定する。   Then, the server start / stop determination unit 144 obtains the constraint condition applied to the server start / stop determined as the target of start / stop from the start / stop condition management file 137, and the others specified in the constraint condition Specify the server and the contents of the condition. For example, the server activation / determination determining unit 144 refers to the information illustrated in FIG. 9B and specifies a constraint condition for starting or stopping the server determined as the activation or deactivation target.

サーバ起動/停止要求部145は、サーバ起動/停止決定部144によって決定された制約条件を満たすように他のサーバを制御した後、起動又は停止の対象として決定されたサーバの起動又は停止を制御する。通信ネットワーク上のサーバに対して起動要求コマンド或いは停止要求コマンドを送信する。ログ管理部146は、サーバ構成制御装置100による処理内容をログファイル138に格納する。   The server activation / deactivation request unit 145 controls the activation or deactivation of the server determined as the activation or deactivation target after controlling other servers to satisfy the constraint conditions determined by the server activation / deactivation determination unit 144 To do. A start request command or a stop request command is transmitted to a server on the communication network. The log management unit 146 stores the processing content by the server configuration control apparatus 100 in the log file 138.

次に、実施例1に係るサーバ構成制御装置100の処理の手順について、図10A〜図10Cを用いて説明する。図10A〜図10Cは、実施例1に係るサーバ構成制御装置による処理の手順を示すシーケンス図である。なお、図10A〜図10Cにおいては、図10A、図10B、図10Cの順にサーバ構成制御装置100による処理の手順を示す。また、図10A〜図10Cにおいては、各フロントサーバのCPU使用率が、稼動させる優先度の最も低いフロントサーバを停止させる閾値よりも低い場合を例とする。また、図10A〜図10Cにおいては、フロントサーバ3を停止する際に、フロントサーバ3のプロセス停止中に異常状態になり、フロントサーバ3の停止に失敗した場合を例とする。また、以下では、サーバ構成制御装置100による処理について、サーバ構成制御装置100が有する各部を用いて説明する。   Next, a processing procedure of the server configuration control apparatus 100 according to the first embodiment will be described with reference to FIGS. 10A to 10C. 10A to 10C are sequence diagrams illustrating a processing procedure performed by the server configuration control apparatus according to the first embodiment. 10A to 10C show the processing procedure by the server configuration control apparatus 100 in the order of FIGS. 10A, 10B, and 10C. 10A to 10C exemplify a case where the CPU usage rate of each front server is lower than the threshold value for stopping the front server with the lowest priority for operation. Further, in FIGS. 10A to 10C, when the front server 3 is stopped, an abnormal state occurs while the process of the front server 3 is stopped, and the stop of the front server 3 fails. In the following, processing by the server configuration control apparatus 100 will be described using each unit of the server configuration control apparatus 100.

図10Aに示すように、実施例1に係るサーバ構成制御装置100においては、サーバ稼動状況取得部143が、フロントサーバ1、フロントサーバ2、フロントサーバ3、DBサーバ1、DBサーバ2、ログサーバ1、ログサーバ2それぞれに対して、各サーバの処理負荷量の取得要求を送信する(ステップS201)。フロントサーバ1、フロントサーバ2、フロントサーバ3、DBサーバ1、DBサーバ2、ログサーバ1及びログサーバ2は、サーバ稼動状況取得部143から処理負荷量の取得要求を受信すると、自身がクライアント装置などから要求されている処理を実行するために使用しているCPU使用率などを処理負荷量として応答する(ステップS202〜ステップS208)。なお、サーバ構成制御装置100においては、サーバ稼動状況取得部143による処理負荷量の取得要求が送信される前に、通信ネットワーク装置データファイル131、サーバ構成ファイル132及び通信アドレスデータファイル133を参照して各サーバの通信アドレスが取得されている。   As illustrated in FIG. 10A, in the server configuration control apparatus 100 according to the first embodiment, the server operation status acquisition unit 143 includes the front server 1, the front server 2, the front server 3, the DB server 1, the DB server 2, and the log server. 1. An acquisition request for the processing load of each server is transmitted to each of the log servers 2 (step S201). When the front server 1, the front server 2, the front server 3, the DB server 1, the DB server 2, the log server 1, and the log server 2 receive a processing load amount acquisition request from the server operation status acquisition unit 143, The CPU usage rate used to execute the processing requested by the CPU etc. is returned as the processing load amount (steps S202 to S208). The server configuration control apparatus 100 refers to the communication network apparatus data file 131, the server configuration file 132, and the communication address data file 133 before the processing load amount acquisition request by the server operation status acquisition unit 143 is transmitted. The communication address of each server is acquired.

各サーバから処理負荷量を受信すると、サーバ起動/停止決定部144は、各サーバから受信したCPU使用率などを、起動/停止条件管理ファイル137に記録してある、サーバを停止させる場合のCPU使用率などの閾値と比較する。そして、サーバ起動/停止決定部144は、フロントサーバ1、フロントサーバ2及びフロントサーバ3のCPU使用率が閾値よりも低いことを検出すると、フロントサーバの処理負荷量が停止条件に該当すると判定し(ステップS209)、比較結果をログファイル138に記録する。   When the processing load amount is received from each server, the server start / stop determination unit 144 records the CPU usage rate received from each server in the start / stop condition management file 137, and the CPU for stopping the server Compare with thresholds such as usage rate. Then, when detecting that the CPU usage rate of the front server 1, the front server 2, and the front server 3 is lower than the threshold, the server start / stop determination unit 144 determines that the processing load amount of the front server satisfies the stop condition. (Step S209), the comparison result is recorded in the log file 138.

そして、サーバ起動/停止決定部144は、起動/停止条件管理ファイルに記憶された停止させるサーバ数と閾値との対応関係を参照して、停止させるサーバ数を1台と決定するとともに、優先度データファイルに記憶されたフロントサーバの優先度に基づいて、フロントサーバ3を停止させると決定する。さらに、サーバ起動/停止決定部144は、通信ネットワーク装置起動/停止ファイル135に記憶された停止順序を参照して、フロントサーバ3を停止する場合には、ログサーバ2も停止させることを決定する(ステップS210)。   Then, the server start / stop determination unit 144 refers to the correspondence between the number of servers to be stopped and the threshold stored in the start / stop condition management file, determines the number of servers to be stopped as one, and priorities Based on the priority of the front server stored in the data file, it is determined that the front server 3 is to be stopped. Further, the server start / stop determination unit 144 refers to the stop order stored in the communication network device start / stop file 135 and determines to stop the log server 2 when the front server 3 is stopped. (Step S210).

その後、サーバ起動/停止決定部144は、フロントサーバ3及びログサーバ2それぞれの停止順序などの制約を参照する(ステップS211)。ここで、サーバ起動/停止決定部144は、まず、フロントサーバ3を停止する場合には、フロントサーバ1及びフロントサーバ2が起動していて正常に稼動していることが必要であることを確認する。   Thereafter, the server start / stop determination unit 144 refers to constraints such as the stop order of the front server 3 and the log server 2 (step S211). Here, the server activation / deactivation determination unit 144 first confirms that the front server 1 and the front server 2 must be activated and operating normally when stopping the front server 3. To do.

サーバ起動/停止決定部144は、通信ネットワーク装置起動/停止ファイル135から、最初に停止させるサーバはフロントサーバ3であることを特定すると、フロントサーバ1への接続状態及びフロントサーバ1のOSの稼動状態などを確認するために、フロントサーバ1の通信アドレスを通信アドレスデータファイルから取得した後に、フロントサーバ1に対してネットワーク接続状況確認を行う(ステップS212)。フロントサーバ1からネットワーク接続状況応答を受付けると(ステップS213)、サーバ起動/停止決定部144は、プロセス/OS稼働状況確認を行う(ステップS214)。サーバ起動/停止決定部144は、フロントサーバ1からプロセス/OS稼働状況応答を受付けると(ステップS215)、フロントサーバ1が正常に稼動していると判定する。   When the server start / stop determination unit 144 specifies from the communication network device start / stop file 135 that the server to be stopped first is the front server 3, the connection state to the front server 1 and the operation of the OS of the front server 1 In order to check the status and the like, after acquiring the communication address of the front server 1 from the communication address data file, the network connection status is checked with respect to the front server 1 (step S212). When a network connection status response is received from the front server 1 (step S213), the server start / stop determination unit 144 checks the process / OS operating status (step S214). When the server start / stop determination unit 144 receives a process / OS operation status response from the front server 1 (step S215), the server start / stop determination unit 144 determines that the front server 1 is operating normally.

次に、サーバ起動/停止決定部144は、フロントサーバ2の通信アドレスを通信アドレスデータファイルから取得した後に、フロントサーバ2に対してネットワーク接続状況確認を行い(ステップS216)、フロントサーバ2からネットワーク接続状況応答を受付けると(ステップS217)、プロセス/OS稼働状況確認を行う(ステップS218)。サーバ起動/停止決定部144は、フロントサーバ2からプロセス/OS稼働状況応答を受付けると(ステップS219)、フロントサーバ2が正常に稼動していると判定する。   Next, the server start / stop determination unit 144 obtains the communication address of the front server 2 from the communication address data file, and then checks the network connection status with the front server 2 (step S216). When the connection status response is received (step S217), the process / OS operating status is confirmed (step S218). When the server start / stop determination unit 144 receives a process / OS operation status response from the front server 2 (step S219), the server start / stop determination unit 144 determines that the front server 2 is operating normally.

そして、サーバ起動/停止決定部144は、フロントサーバ3の通信アドレスを通信アドレスデータファイルから取得した後に、フロントサーバ3に対してネットワーク接続状況確認を行い(ステップS220)、フロントサーバ3からネットワーク接続状況応答を受付けると(ステップS221)、プロセス/OS稼働状況確認を行う(ステップS222)。サーバ起動/停止決定部144は、フロントサーバ3からプロセス/OS稼働状況応答を受付けると(ステップS223)、フロントサーバ3が停止可能であると判定する(ステップS224)。   Then, the server start / stop determination unit 144 obtains the communication address of the front server 3 from the communication address data file, and then checks the network connection status with the front server 3 (step S220). When the status response is received (step S221), the process / OS operating status is confirmed (step S222). Upon receiving a process / OS operating status response from the front server 3 (step S223), the server start / stop determination unit 144 determines that the front server 3 can be stopped (step S224).

そして、サーバ起動/停止要求部145は、プロセス/OS/電源停止要求をフロントサーバ3に送信する(ステップS225)。ここで、フロントサーバ故障が発生してプロセス/OS/電源停止(エラー応答)が返されると(ステップS226)、サーバ起動/停止決定部144は、プロセスの停止に失敗したことを検出するとともに、ログファイル138にフロントサーバ3の停止が正常に実施されなかったこと、及びフロントサーバ3のプロセスの稼動状態を記録する。そして、サーバ起動/停止決定部144は、次に停止させるサーバを確認して(ステップS227)、該サーバがログサーバ2であると特定する。   Then, the server start / stop request unit 145 transmits a process / OS / power stop request to the front server 3 (step S225). Here, when a front server failure occurs and a process / OS / power stop (error response) is returned (step S226), the server start / stop determination unit 144 detects that the process stop has failed, The log file 138 records that the front server 3 was not stopped normally and the operating state of the process of the front server 3. Then, the server start / stop determination unit 144 confirms the server to be stopped next (step S227), and specifies that the server is the log server 2.

その後、サーバ起動/停止決定部144は、起動停止条件管理ファイルに記憶された制約を参照して、フロントサーバ3が停止不可の場合のログサーバ2の停止可否を確認して(ステップS228)、ログサーバ2が停止可能であると判定する(ステップS229)。   Thereafter, the server activation / determination determining unit 144 refers to the restrictions stored in the activation / deactivation condition management file, and confirms whether or not the log server 2 can be deactivated when the front server 3 cannot be deactivated (step S228). It is determined that the log server 2 can be stopped (step S229).

次に停止させるサーバはログサーバ2あることを特定して停止可能と判定すると、サーバ起動/停止決定部144は、ログサーバ2の接続状態およびログサーバ2のOSの稼動状態などを確認するために、ログサーバ2の通信アドレスを通信アドレスデータファイルから取得した後に、ログサーバ2に対してネットワーク接続状況確認を行う(ステップS230)。ログサーバ2からネットワーク接続状況応答を受付けると(ステップS231)、サーバ起動/停止決定部144は、プロセス/OS稼働状況確認を行う(ステップS232)。サーバ起動/停止決定部144は、ログサーバ2からプロセス/OS稼働状況応答を受付けると(ステップS233)、ログサーバ2が停止可能であると判定する(ステップS234)。   When it is determined that the server to be stopped next is the log server 2 and it is determined that the server can be stopped, the server start / stop determination unit 144 checks the connection state of the log server 2 and the operating state of the OS of the log server 2. In addition, after obtaining the communication address of the log server 2 from the communication address data file, the network connection status is confirmed with respect to the log server 2 (step S230). When a network connection status response is received from the log server 2 (step S231), the server start / stop determination unit 144 checks the process / OS operating status (step S232). Upon receiving a process / OS operating status response from the log server 2 (step S233), the server start / stop determination unit 144 determines that the log server 2 can be stopped (step S234).

そして、サーバ起動/停止要求部145は、プロセス/OS/電源停止要求をログサーバ2に送信する(ステップS235)。プロセス/OS/電源停止要求を受信すると、ログサーバ2は、プロセス/OS/電源停止を応答した後(ステップS236)、サーバを停止させる(ステップS237)。そして、サーバ起動/停止要求部145は、プロセス/OS/電源停止を受付けると、ログファイル138にログサーバ2の停止が正常に実施されたことを記録するとともに、ログサーバ2の次に停止させるサーバがないことを確認する。そして、サーバ構成制御装置100は、次のサーバの処理負荷量の確認の時間まで待機する(ステップS238)。   Then, the server start / stop request unit 145 transmits a process / OS / power stop request to the log server 2 (step S235). Upon receiving the process / OS / power stop request, the log server 2 responds to the process / OS / power stop (step S236) and then stops the server (step S237). Then, when the server start / stop request unit 145 receives the process / OS / power stop, the server start / stop request unit 145 records in the log file 138 that the log server 2 has been normally stopped, and then stops the log server 2 next. Make sure there is no server. Then, the server configuration control apparatus 100 stands by until the time for confirming the processing load amount of the next server (step S238).

なお、上述した処理の手順は、あくまでも一例であり、実施例1に係るサーバ構成制御装置100は、その他のサーバの停止処理及びサーバの起動処理においても同様の処理を実行することが可能である。   The above-described processing procedure is merely an example, and the server configuration control apparatus 100 according to the first embodiment can execute the same processing in other server stop processing and server startup processing. .

[実施例1の効果]
上述したように、実施例1によれば、役割分担された各サーバが役割毎に複数台ずつネットワークに接続され、役割分担されたサーバ間で協働処理を行うシステムにおける各サーバの起動又は停止を制御するサーバ構成制御装置において、起動/停止条件管理ファイル137が、各サーバの起動又は停止に適用される制約条件であって、サーバ毎に、該サーバの起動又は停止に際して所定の条件を満たすべき他のサーバ及び該条件の内容を示す制約条件を記憶する。そして、サーバ稼動状況取得部143が、各サーバにおける処理負荷量及び各サーバの稼動に用いられる電力量のうち少なくとも一方を取得する。そして、サーバ起動/停止決定部144が、サーバ稼動状況取得部143によって取得された処理負荷量及び電力量のうち少なくとも一方に基づいて、起動又は停止の対象となる対象サーバを決定する。また、サーバ起動/停止決定部144が、決定した対象サーバの起動又は停止に適用される制約条件を起動/停止条件管理ファイル137から取得し、該制約条件に規定された他のサーバ及び条件の内容を特定する。そして、サーバ起動/停止要求部145が、サーバ起動/停止決定部144によって特定された他のサーバがサーバ起動/停止決定部144によって特定された条件を満たすように制御した後に、サーバ起動/停止決定部144によって決定された対象サーバの起動又は停止を実行する。従って、実施例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 configuration control apparatus that controls the server, the start / stop condition management file 137 is a restriction condition applied to starting or stopping each server, and for each server, a predetermined condition is satisfied when starting or stopping the server. Another server to be stored and a constraint condition indicating the contents of the condition are stored. Then, the server operation status acquisition unit 143 acquires at least one of the processing load amount in each server and the power amount used for the operation of each server. Then, the server start / stop determination unit 144 determines a target server to be started or stopped based on at least one of the processing load amount and the power amount acquired by the server operation status acquisition unit 143. In addition, the server start / stop determination unit 144 acquires the restriction conditions applied to the start or stop of the determined target server from the start / stop condition management file 137, and sets other servers and conditions specified in the restriction conditions. Identify content. Then, the server start / stop request unit 145 performs control so that the other server specified by the server start / stop determination unit 144 satisfies the condition specified by the server start / stop determination unit 144, and then the server start / stop The target server determined by the determination unit 144 is started or stopped. Therefore, the server configuration 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 stop procedure is required. However, it is possible to quickly optimize the processing load of each server without determining whether or not to stop each server.

また、実施例1によれば、サーバ起動/停止決定部144は、サーバ稼動状況取得部143によって取得された前記処理負荷量又は前記電力量が任意の閾値を越えた場合に、サーバごとに予め設定された当該サーバを稼動させる優先度の順に前記対象サーバと決定する。従って、実施例1に係るサーバ構成制御装置100は、サーバごとの性能を考慮して、柔軟な構成制御を行うことが可能である。   Further, according to the first embodiment, the server start / stop determination unit 144 pre-configures for each server when the processing load amount or the power amount acquired by the server operation status acquisition unit 143 exceeds an arbitrary threshold. The target server is determined in the order of priority for operating the set server. Therefore, the server configuration control apparatus 100 according to the first embodiment can perform flexible configuration control in consideration of the performance of each server.

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

上述した実施例1では、サーバの処理負荷量を定期的に取得し、現時点の処理負荷量に基づいてサーバの起動又は停止を制御する場合について説明した。実施例2においては、予め設定された時間帯にサーバの起動又は停止を制御する場合について説明する。   In the first embodiment described above, a case has been described in which the processing load amount of the server is periodically acquired and the start or stop of the server is controlled based on the current processing load amount. In the second embodiment, a case will be described in which the server start or stop is controlled during a preset time period.

図11は、実施例2に係る通信ネットワークの一例を示す模式図である。例えば、実施例2に係る通信ネットワークには、図11に示すように、通信ネットワーク装置Aと、サーバ構成制御装置100aが接続される。なお、図11に示す通信ネットワーク装置Aは、図5に示す通信ネットワーク装置Aと同様である。実施例2に係るサーバ構成制御装置100aは、図11に示すように、フロントサーバ3及びログサーバ2を「22:00〜7:00」の間停止させるように制御する。以下、実施例2に係るサーバ構成制御装置100aの詳細について説明する。   FIG. 11 is a schematic diagram illustrating an example of a communication network according to the second embodiment. For example, as shown in FIG. 11, the communication network apparatus A and the server configuration control apparatus 100a are connected to the communication network according to the second embodiment. 11 is the same as the communication network apparatus A shown in FIG. As illustrated in FIG. 11, the server configuration control apparatus 100 a according to the second embodiment controls the front server 3 and the log server 2 to stop during “22:00:00 to 7:00”. Details of the server configuration control apparatus 100a according to the second embodiment will be described below.

まず、実施例2に係るサーバ構成制御装置100aの構成について説明する。図12は、実施例2に係るサーバ構成制御装置100aの構成の一例を示す図である。なお、実施例2に係るサーバ構成制御装置100aは、実施例1に係るサーバ構成制御装置100と比較して、サーバ停止時刻管理ファイル139を新たに有する点と、サーバ起動/停止決定部144による処理内容とが異なる。以下、これらを中心に説明する。   First, the configuration of the server configuration control apparatus 100a according to the second embodiment will be described. FIG. 12 is a diagram illustrating an example of the configuration of the server configuration control apparatus 100a according to the second embodiment. The server configuration control apparatus 100a according to the second embodiment has a new server stop time management file 139 as compared to the server configuration control apparatus 100 according to the first embodiment and the server start / stop determination unit 144. Processing contents are different. Hereinafter, these will be mainly described.

サーバ停止時刻管理ファイル139は、各サーバを停止させる時刻及び各サーバを起動させる時刻を記憶する。図13は、実施例2に係るサーバ停止時刻管理ファイル139によって記憶される情報の一例を示す図である。例えば、サーバ停止時刻管理ファイル139は、図13に示すように、サーバに停止時刻を対応付けた情報を記憶する。一例を挙げると、サーバ停止時刻管理ファイル139は、「フロントサーバ3」に対応付けて「22:00〜7:00」を記憶する。上記した情報は、フロントサーバ3を22:00〜7:00の間停止させることを意味する。なお、サーバ停止時刻管理ファイル139によって記憶される情報は、サーバ構成制御装置100aの保守者によって予め登録される。例えば、処理負荷量が少ないと見込まれる時間帯を停止時刻として登録したり、処理負荷量が多いと見込まれる時間帯を起動時刻として登録したりする。   The server stop time management file 139 stores the time to stop each server and the time to start each server. FIG. 13 is a diagram illustrating an example of information stored by the server stop time management file 139 according to the second embodiment. For example, the server stop time management file 139 stores information in which stop times are associated with servers as shown in FIG. For example, the server stop time management file 139 stores “22:00 to 7:00” in association with “front server 3”. The above-described information means that the front server 3 is stopped between 22:00 and 7:00. Information stored by the server stop time management file 139 is registered in advance by a maintenance person of the server configuration control apparatus 100a. For example, a time zone that is expected to have a small processing load is registered as a stop time, or a time zone that is expected to have a large processing load is registered as a start time.

サーバ起動/停止決定部144は、サーバ停止時刻管理ファイル139によって記憶されたサーバの停止時刻又は起動時刻に基づいて、通信ネットワークに接続されたサーバ群から起動又は停止させるサーバを決定する。   The server start / stop determination unit 144 determines a server to be started or stopped from a server group connected to the communication network based on the server stop time or start time stored by the server stop time management file 139.

次に、実施例2に係るサーバ構成制御装置100aの処理の手順について、図14A〜図14Cを用いて説明する。図14A〜図14Cは、実施例2に係るサーバ構成制御装置100aによる処理の手順を示すシーケンス図である。なお、図14A〜図14Cにおいては、図14A、図14B、図14Cの順にサーバ構成制御装置100aによる処理の手順を示す。また、図14A〜図14Cにおいては、フロントサーバの処理要求量が少ないと見込まれる毎日22:00〜翌日7:00の期間は、フロントサーバ3およびログサーバ2を停止させるように、サーバ構成制御装置100aにあらかじめ登録させている場合を例とする。また、以下では、サーバ構成制御装置100aによる処理について、サーバ構成制御装置100aが有する各部を用いて説明する。   Next, a processing procedure of the server configuration control apparatus 100a according to the second embodiment will be described with reference to FIGS. 14A to 14C. 14A to 14C are sequence diagrams illustrating a processing procedure performed by the server configuration control apparatus 100a according to the second embodiment. 14A to 14C show the procedure of processing by the server configuration control apparatus 100a in the order of FIGS. 14A, 14B, and 14C. 14A to 14C, the server configuration control is performed so that the front server 3 and the log server 2 are stopped during the period from 22:00 to 7:00 every day, which is expected to have a small amount of processing request from the front server. The case where it is registered in advance in the apparatus 100a is taken as an example. Hereinafter, processing by the server configuration control apparatus 100a will be described using each unit included in the server configuration control apparatus 100a.

図14Aに示すように、実施例2に係るサーバ構成制御装置100aにおいては、保守者によって、サーバ構成制御装置100aが保持するサーバ停止時刻管理ファイル139に、フロントサーバ3およびログサーバ2を毎日22:00に停止させるようにあらかじめ記録される。そして、当保守者が、サーバ停止時刻管理ファイル139の記録内容をサーバ構成制御装置100aの動作に反映させるために、サーバ構成制御装置100aにサーバ停止時刻管理ファイル139の読み込み要求コマンドを実行する。   As shown in FIG. 14A, in the server configuration control apparatus 100a according to the second embodiment, the maintenance server adds the front server 3 and the log server 2 to the server stop time management file 139 held by the server configuration control apparatus 100a every day. It is recorded in advance to stop at 0:00. The maintenance person then executes a read request command for the server stop time management file 139 to the server configuration control apparatus 100a in order to reflect the recorded contents of the server stop time management file 139 in the operation of the server configuration control apparatus 100a.

そして、時刻が22:00に達すると(ステップS301肯定)、サーバ起動/停止決定部144は、フロントサーバ3およびログサーバ2の停止処理を開始する(ステップS302)とともに、ログファイル138に停止処理を開始したことを記録する。   When the time reaches 22:00 (Yes at Step S301), the server start / stop determination unit 144 starts the stop processing of the front server 3 and the log server 2 (Step S302) and stops the log file 138. Record that started.

続いて、サーバ起動/停止決定部144は、フロントサーバ3とログサーバ2を停止させると判定して(ステップS303)、フロントサーバ3及びログサーバ2それぞれの停止順序などの制約を確認する(ステップS304)。ここで、サーバ起動/停止決定部144は、フロントサーバ3を停止する場合には、フロントサーバ1及びフロントサーバ2が起動していて正常に稼動していることが必要であることを確認する。   Subsequently, the server start / stop determination unit 144 determines that the front server 3 and the log server 2 are to be stopped (step S303), and checks restrictions such as the stop order of the front server 3 and the log server 2 (step S303). S304). Here, when the front server 3 is stopped, the server start / stop determination unit 144 confirms that the front server 1 and the front server 2 need to be started and operating normally.

サーバ起動/停止決定部144は、通信ネットワーク装置起動/停止ファイル135から、最初に停止させるサーバはフロントサーバ3であることを特定すると、フロントサーバ1への接続状態及びフロントサーバ1のOSの稼動状態などを確認するために、フロントサーバ1の通信アドレスを通信アドレスデータファイルから取得した後に、フロントサーバ1に対してネットワーク接続状況確認を行う(ステップS305)。フロントサーバ1からネットワーク接続状況応答を受付けると(ステップS306)、サーバ起動/停止決定部144は、プロセス/OS稼働状況確認を行う(ステップS307)。サーバ起動/停止決定部144は、フロントサーバ1からプロセス/OS稼働状況応答を受付けると(ステップS308)、フロントサーバ1が正常に稼動していると判定する。   When the server start / stop determination unit 144 specifies from the communication network device start / stop file 135 that the server to be stopped first is the front server 3, the connection state to the front server 1 and the operation of the OS of the front server 1 In order to check the status and the like, after acquiring the communication address of the front server 1 from the communication address data file, the network connection status is checked with respect to the front server 1 (step S305). When a network connection status response is received from the front server 1 (step S306), the server start / stop determination unit 144 checks the process / OS operating status (step S307). When the server start / stop determination unit 144 receives a process / OS operation status response from the front server 1 (step S308), the server start / stop determination unit 144 determines that the front server 1 is operating normally.

次に、サーバ起動/停止決定部144は、フロントサーバ2の通信アドレスを通信アドレスデータファイルから取得した後に、フロントサーバ2に対してネットワーク接続状況確認を行い(ステップS309)、フロントサーバ2からネットワーク接続状況応答を受付けると(ステップS310)、プロセス/OS稼働状況確認を行う(ステップS311)。サーバ起動/停止決定部144は、フロントサーバ2からプロセス/OS稼働状況応答を受付けると(ステップS312)、フロントサーバ2が正常に稼動していると判定する。   Next, after obtaining the communication address of the front server 2 from the communication address data file, the server start / stop determination unit 144 checks the network connection status with the front server 2 (step S309), and the front server 2 sends the network to the network. When the connection status response is received (step S310), the process / OS operating status is confirmed (step S311). When the server start / stop determination unit 144 receives a process / OS operation status response from the front server 2 (step S312), the server start / stop determination unit 144 determines that the front server 2 is operating normally.

そして、サーバ起動/停止決定部144は、フロントサーバ3の通信アドレスを通信アドレスデータファイルから取得した後に、フロントサーバ3に対してネットワーク接続状況確認を行い(ステップS313)、フロントサーバ3からネットワーク接続状況応答を受付けると(ステップS314)、プロセス/OS稼働状況確認を行う(ステップS315)。サーバ起動/停止決定部144は、フロントサーバ3からプロセス/OS稼働状況応答を受付けると(ステップS316)、フロントサーバ3が停止可能であると判定する(ステップS317)。   Then, the server start / stop determination unit 144 acquires the communication address of the front server 3 from the communication address data file, and then checks the network connection status with the front server 3 (step S313). When the status response is received (step S314), the process / OS operating status is confirmed (step S315). When receiving the process / OS operating status response from the front server 3 (step S316), the server start / stop determination unit 144 determines that the front server 3 can be stopped (step S317).

そして、サーバ起動/停止要求部145は、プロセス/OS/電源停止要求をフロントサーバ3に送信する(ステップS318)。プロセス/OS/電源停止要求を受信すると、フロントサーバ3は、プロセス/OS/電源停止を応答した後(ステップS319)、サーバを停止させる(ステップS320)。そして、サーバ起動/停止要求部145は、プロセス/OS/電源停止を受付けると、ログファイル138にフロントサーバ3の停止が正常に実施されたことを記録する。   Then, the server start / stop request unit 145 transmits a process / OS / power stop request to the front server 3 (step S318). Upon reception of the process / OS / power stop request, the front server 3 responds to the process / OS / power stop (step S319) and then stops the server (step S320). Then, when the server start / stop request unit 145 receives the process / OS / power stop, the server start / stop request unit 145 records in the log file 138 that the front server 3 has been normally stopped.

そして、サーバ起動/停止決定部144は、次に停止させるサーバを確認して(ステップS321)、該サーバがログサーバ2であると特定する。次に停止させるサーバはログサーバ2であることを特定すると、サーバ起動/停止決定部144は、ログサーバ2の接続状態およびログサーバ2のOSの稼動状態などを確認するために、ログサーバ2の通信アドレスを通信アドレスデータファイルから取得した後に、ログサーバ2に対してネットワーク接続状況確認を行う(ステップS322)。ログサーバ2からネットワーク接続状況応答を受付けると(ステップS323)、サーバ起動/停止決定部144は、プロセス/OS稼働状況確認を行う(ステップS324)。サーバ起動/停止決定部144は、ログサーバ2からプロセス/OS稼働状況応答を受付けると(ステップS325)、ログサーバ2が停止可能であると判定する(ステップS326)。   Then, the server start / stop determination unit 144 confirms the server to be stopped next (step S321) and specifies that the server is the log server 2. When it is determined that the server to be stopped next is the log server 2, the server start / stop determination unit 144 checks the connection state of the log server 2 and the operating state of the OS of the log server 2 to check the log server 2. After obtaining the communication address from the communication address data file, the network connection status is confirmed with respect to the log server 2 (step S322). When a network connection status response is received from the log server 2 (step S323), the server start / stop determination unit 144 checks the process / OS operating status (step S324). When receiving the process / OS operating status response from the log server 2 (step S325), the server start / stop determination unit 144 determines that the log server 2 can be stopped (step S326).

そして、サーバ起動/停止要求部145は、プロセス/OS/電源停止要求をログサーバ2に送信する(ステップS327)。プロセス/OS/電源停止要求を受信すると、ログサーバ2は、プロセス/OS/電源停止を応答した後(ステップS328)、サーバを停止させる(ステップS329)。そして、サーバ起動/停止要求部145は、プロセス/OS/電源停止を受付けると、ログファイル138にログサーバ2の停止が正常に実施されたことを記録するとともに、ログサーバ2の次に停止させるサーバがないことを確認する。そして、サーバ構成制御装置100aは、次のサーバの停止処理時刻まで待機する(ステップS330)。   Then, the server start / stop request unit 145 transmits a process / OS / power stop request to the log server 2 (step S327). Upon receiving the process / OS / power stop request, the log server 2 responds to the process / OS / power stop (step S328) and then stops the server (step S329). Then, when the server start / stop request unit 145 receives the process / OS / power stop, the server start / stop request unit 145 records in the log file 138 that the log server 2 has been normally stopped, and then stops the log server 2 next. Make sure there is no server. Then, the server configuration control apparatus 100a waits until the next server stop processing time (step S330).

なお、上述した処理の手順は、あくまでも一例であり、実施例2に係るサーバ構成制御装置100aは、その他のサーバの停止処理及びサーバの起動処理においても同様の処理を実行することが可能である。また、第1の実施例と組み合わせて、通信ネットワーク装置を構成する各サーバを、処理要求負荷量が少ない場合に停止させ、かつあらかじめ登録された時刻に停止させる場合にも応用可能である。   Note that the above-described processing procedure is merely an example, and the server configuration control apparatus 100a according to the second embodiment can execute similar processing in other server stop processing and server start processing. . Further, in combination with the first embodiment, the present invention can also be applied to a case where each server constituting the communication network device is stopped when the required processing load is small and stopped at a pre-registered time.

[実施例2の効果]
上述したように、実施例2によれば、サーバ構成制御装置100aは、フロントサーバの処理要求量が少ないと想定される時刻に計画的にフロントサーバ3およびログサーバ2を停止させる場合に、それぞれのサーバを動作の依存関係にしたがった順番で停止させたり、フロントサーバ3の停止実行結果を確認した後にログサーバ2の停止可否を判断することから、通信ネットワークを構成する各サーバの種別間に動作の依存関係があったり、複雑な停止手順が必要であっても、当通信ネットワークの保守者が各サーバの停止可否や停止手順を判断することなく、サーバ構成制御装置100aが各サーバの処理負荷量を迅速かつ最適な時間帯に最適化することが可能である。
[Effect of Example 2]
As described above, according to the second embodiment, when the server configuration control apparatus 100a systematically stops the front server 3 and the log server 2 at the time when the processing request amount of the front server is assumed to be small, Are stopped in the order in accordance with the dependency of the operation, or the log server 2 is determined whether or not to stop after confirming the stop execution result of the front server 3, so that between the types of servers constituting the communication network Even if there is an operation dependency or a complicated stop procedure is required, the server configuration control apparatus 100a does not determine whether or not each server can be stopped and does not determine the stop procedure. It is possible to optimize the load amount quickly and in an optimum time zone.

上述した実施例1及び実施例2では、処理負荷量に基づいてサーバの起動及び停止を制御する場合について説明した。実施例3においては、サーバ群を稼動させるために使用される電力量に基づいてサーバの起動及び停止を制御する場合について説明する。なお、実施例3においては、まず、電力量に基づいてサーバの起動又は停止を制御する従来技術の一例を挙げて課題について説明した後、本願のサーバ構成制御装置について説明する。   In the first embodiment and the second embodiment described above, the case where the start and stop of the server are controlled based on the processing load amount has been described. In the third embodiment, a case will be described in which starting and stopping of a server are controlled based on the amount of power used to operate a server group. In the third embodiment, first, a problem will be described with an example of a conventional technique for controlling start or stop of a server based on an electric energy, and then a server configuration control device of the present application will be described.

図15は、従来技術に係る通信ネットワークの一例を示す模式図である。例えば、通信ネットワークには、図15に示すように、通信ネットワーク装置とサーバ構成制御装置が接続される。なお、図15においては、2台の通信ネットワーク装置が示されているが、実際には、さらに多くの通信ネットワーク装置が通信ネットワークに接続されている。例えば、通信ネットワークは、LAN(Local Area Network)やWAN(Wide Area Network)などである。   FIG. 15 is a schematic diagram illustrating an example of a communication network according to the related art. For example, as shown in FIG. 15, a communication network device and a server configuration control device are connected to the communication network. In FIG. 15, two communication network devices are shown, but in reality, 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).

通信ネットワーク装置は、図15に示すように、フロントサーバと、DBサーバと、ログサーバとを有する。フロントサーバは電源管理装置Aと接続され、DBサーバは電源管理装置Bと接続され、ログサーバは電源管理装置Cと接続されて外部電源から電力を供給される。   As illustrated in FIG. 15, the communication network device includes a front server, a DB server, and a log server. The front server is connected to the power management apparatus A, the DB server is connected to the power management apparatus B, and the log server is connected to the power management apparatus C to be supplied with power from an external power source.

一般に、サーバルームに設置されている各装置や空調設備への電力供給状態を管理する場合には、図15に示すように、サーバルームに電源管理装置を設置して外部電源と接続する。電源管理装置が通信ネットワーク装置を構成する各サーバと外部電源の間に接続された通信ネットワークシステムにおいて、電源管理装置は、外部電源からの電力供給が停止した場合に、当電源管理装置が保有しているバッテリーを用いて、一時的に各サーバに電力を供給する。   Generally, when managing the power supply state to each device and air conditioning equipment installed in a server room, as shown in FIG. 15, a power management device is installed in the server room and connected to an external power source. In a communication network system in which the power management device is connected between each server that constitutes the communication network device and the external power supply, the power management device possesses the power management device when the power supply from the external power supply stops. Power is temporarily supplied to each server using a battery that is installed.

そして、サーバ構成制御装置は、電源管理装置から各サーバへの電力供給状態を適宜取得して、外部電源からの電力供給が停止したことを検出すると、サーバ構成制御装置は、当外部電源に接続している電源管理装置から電力を供給されている各サーバに対して、停止要求コマンドを実行する。   When the server configuration control apparatus appropriately acquires the power supply state from the power management apparatus to each server and detects that the power supply from the external power supply has stopped, the server configuration control apparatus connects to the external power supply. A stop request command is executed for each server that is supplied with power from the power management apparatus.

図16は、従来技術に係るサーバ構成制御装置200aの構成の一例を示す図である。なお、図16においては、図3に示す従来技術に係るサーバ構成制御装置200が有する各部と同一の部には同一符号を付す。すなわち、サーバ構成制御装置200aにおいては、消費電力量管理部247を新たに有する点が、サーバ構成制御装置200とは異なる。消費電力量管理部247は、通信ネットワーク電源管理装置からサーバルームに供給される電力量の情報を取得する。そして、サーバ起動/停止要求部245は、消費電力量管理部247によって取得された電力量に基づいて、サーバの起動又は停止を制御する。   FIG. 16 is a diagram illustrating an example of a configuration of a server configuration control apparatus 200a according to the related art. In FIG. 16, the same reference numerals are given to the same parts as those of the server configuration control apparatus 200 according to the related art shown in FIG. 3. That is, the server configuration control apparatus 200a is different from the server configuration control apparatus 200 in that the server configuration control apparatus 200a newly includes a power consumption amount management unit 247. The power consumption management unit 247 acquires information on the amount of power supplied from the communication network power management apparatus to the server room. Then, the server activation / deactivation request unit 245 controls activation or deactivation of the server based on the amount of power acquired by the power consumption amount management unit 247.

図17は、従来技術に係るサーバ構成制御装置200aによる処理の一例を示すシーケンス図である。従来技術に係るサーバ構成制御装置200aにおいては、まず、事前に、通信ネットワーク装置を停止させるための停止要求コマンドを、通信ネットワーク装置を構成するサーバ毎にサーバ構成制御装置200aに登録する。さらに、各電源管理装置が接続している外部電源からの電力供給が停止した場合に、サーバ構成制御装置200aに電力供給が停止したことを通知するための登録を電源管理装置に実施する(ステップS401)。   FIG. 17 is a sequence diagram illustrating an example of processing performed by the server configuration control apparatus 200a according to the related art. In the server configuration control apparatus 200a according to the prior art, first, a stop request command for stopping the communication network apparatus is registered in advance in the server configuration control apparatus 200a for each server configuring the communication network apparatus. Further, when the power supply from the external power source connected to each power management apparatus is stopped, registration for notifying the server configuration control apparatus 200a that the power supply is stopped is performed in the power management apparatus (step). S401).

次に、サーバ構成制御装置は、定期的あるいは適宜、各電源管理装置から、当電源管理装置と接続している各サーバへの電源供給状態を取得する。ここで、電力供給停止通知を受付けると(ステップS402)、サーバ構成制御装置200aは、DBサーバの停止処理の実行を開始し(ステップS403)、DBサーバに停止要求を送信する(ステップS404)。   Next, the server configuration control apparatus acquires a power supply state to each server connected to the power management apparatus from each power management apparatus periodically or appropriately. Here, when a power supply stop notification is received (step S402), the server configuration control device 200a starts executing a DB server stop process (step S403), and transmits a stop request to the DB server (step S404).

DBサーバは、停止要求を受信すると、停止要求応答を返すとともに(ステップS405)、サーバを停止させる(ステップS406)。そして、通信ネットワーク装置の保守者は、各サーバの停止が正常に実施されたかを確認する。もし、正常に実施されなかった場合には、当保守者はその原因調査を実施するととともに、当サーバの停止を当保守者があらためて実施する。   Upon receiving the stop request, the DB server returns a stop request response (step S405) and stops the server (step S406). Then, the maintenance person of the communication network device confirms whether or not each server has been normally stopped. If the maintenance is not carried out normally, the maintenance person will investigate the cause, and the maintenance person will again stop the server.

上述したように、従来技術におけるサーバ構成制御装置200aにおいては、電力供給通知停止に応じて、当該通知を送信した電源管理装置から電力が供給されるサーバの停止を制御するのみである。従って、異なるサーバ種別間で稼動に関する制約がある場合に、サーバを起動させたり、停止させたりすることができなかった。   As described above, the server configuration control apparatus 200a according to the related art only controls the stop of the server to which power is supplied from the power management apparatus that has transmitted the notification in response to the stop of the power supply notification. Therefore, when there is a restriction on operation between different server types, the server cannot be started or stopped.

そこで、実施例3に係るサーバ構成制御装置は、異なるサーバ種別間で、起動又は停止させる際の制約がある場合であっても、消費電力量を迅速に最適化することを可能にすることを目的とする。   Therefore, the server configuration control apparatus according to the third embodiment can quickly optimize the power consumption even when there is a restriction when starting or stopping between different server types. Objective.

図18は、実施例3に係る通信ネットワークの一例を示す模式図である。例えば、実施例3に係る通信ネットワークには、図18に示すように、通信ネットワーク装置Aと、サーバ構成制御装置100bが接続される。   FIG. 18 is a schematic diagram illustrating an example of a communication network according to the third embodiment. For example, as shown in FIG. 18, the communication network apparatus A and the server configuration control apparatus 100b are connected to the communication network according to the third embodiment.

通信ネットワーク装置Aは、図18に示すように、サーバルームαに設置され、サブセットA1と、サブセットA2とを有する。サブセットA1及びサブセットA2を構成するサーバは実施例1及び実施例2と同様である。通信ネットワーク装置Aを構成する各サーバは、外部電源との間に、それぞれ電源管理装置A〜Gが接続されている。またサーバルームαには空調機器などの電気機器があり、当電気機器についても、外部電源との間に、電源管理装置Hが接続されている。各電源管理装置は、接続しているサーバや電気機器の消費電力をモニタリングし、外部入力インタフェースから消費電力量の問合せ要求があった際に当サーバや当電気機器の消費電力量を応答する。   As shown in FIG. 18, the communication network apparatus A is installed in a server room α and includes a subset A1 and a subset A2. The servers constituting the subset A1 and the subset A2 are the same as those in the first and second embodiments. Each server constituting the communication network device A is connected to the power management devices A to G between the external power sources. The server room α includes electrical equipment such as air conditioning equipment, and the electrical power management device H is connected between the electrical equipment and an external power source. Each power management device monitors the power consumption of the connected server or electrical equipment, and responds to the power consumption of the server or electrical equipment when an inquiry about the power consumption is received from the external input interface.

実施例3に係るサーバ構成制御装置100bの構成について説明する。図19は、実施例3に係るサーバ構成制御装置100bの構成の一例を示す図である。なお、実施例3に係るサーバ構成制御装置100bは、実施例1に係るサーバ構成制御装置100と比較して、消費電力量管理部147を新たに有する点、稼動状態管理ファイル134及び起動/停止条件管理ファイル137によって記憶される情報及びサーバ起動/停止決定部144による処理内容とが異なる。以下、これらを中心に説明する。   A configuration of the server configuration control apparatus 100b according to the third embodiment will be described. FIG. 19 is a diagram illustrating an example of the configuration of the server configuration control apparatus 100b according to the third embodiment. Note that the server configuration control apparatus 100b according to the third embodiment has a new power consumption management unit 147, an operating state management file 134, and start / stop compared to the server configuration control apparatus 100 according to the first embodiment. The information stored by the condition management file 137 and the processing contents by the server start / stop determination unit 144 are different. Hereinafter, these will be mainly described.

消費電力量管理部147は、通信ネットワーク装置Aを構成する各サーバの消費電力量及びサーバルームαの消費電力量を電源管理装置A〜Hから定期的に取得する。そして、消費電力量管理部147は、取得した消費電力量を稼動状態管理ファイルに格納する。   The power consumption amount management unit 147 periodically acquires the power consumption amount of each server constituting the communication network device A and the power consumption amount of the server room α from the power management devices A to H. Then, the power consumption management unit 147 stores the acquired power consumption in the operating state management file.

稼動状態管理ファイル134は、通信ネットワーク装置Aを構成する各サーバの消費電力量及びサーバルームαの消費電力量を記憶する。具体的には、稼動状態管理ファイル134は、消費電力量管理部147によって取得された各サーバの消費電力量及びサーバルームαの消費電力量を記憶する。   The operating state management file 134 stores the power consumption of each server constituting the communication network apparatus A and the power consumption of the server room α. Specifically, the operating state management file 134 stores the power consumption of each server and the power consumption of the server room α acquired by the power consumption management unit 147.

起動/停止条件管理ファイル137は、各種制約に加え、サーバを起動又は停止させる場合のサーバルームαの消費電力量の閾値、及び、サーバの数と閾値との対応関係について記憶する。   The start / stop condition management file 137 stores, in addition to various restrictions, the threshold value of the power consumption amount of the server room α when the server is started or stopped, and the correspondence relationship between the number of servers and the threshold value.

サーバ起動/停止決定部144は、稼動状態管理ファイル134によって記憶されたサーバルームαの消費電力量に基づいて、起動又は停止を実行するサーバを決定する。具体的には、サーバ起動/停止決定部144は、各電源管理装置からそれぞれ取得された消費電力量の総和を、起動/停止条件管理ファイル137によって記憶された消費電力量の閾値と比較することで、起動又は停止を実行するサーバを決定する。   The server start / stop determination unit 144 determines a server to be started or stopped based on the power consumption amount of the server room α stored by the operation state management file 134. Specifically, the server start / stop determination unit 144 compares the total amount of power consumption acquired from each power management apparatus with the threshold value of power consumption stored by the start / stop condition management file 137. Thus, the server to be started or stopped is determined.

次に、実施例3に係るサーバ構成制御装置100bの処理の手順について、図20A〜図20Dを用いて説明する。図20A〜図20Dは、実施例3に係るサーバ構成制御装置100bによる処理の手順を示すシーケンス図である。なお、図20A〜図20Dにおいては、図20A、図20B、図20C、図20Dの順にサーバ構成制御装置100bによる処理の手順を示す。また、図20A〜図20Dにおいては、サーバルームαの消費電力が、稼動させる優先度の最も低いフロントサーバを停止させる閾値よりも高い場合を例とする。また、図20A〜図20Dにおいては、フロントサーバ3を停止する際に、フロントサーバ3のプロセス停止中に異常状態になり、フロントサーバ3の停止に失敗した場合を例とする。また、以下では、サーバ構成制御装置100bによる処理について、サーバ構成制御装置100bが有する各部を用いて説明する。   Next, a processing procedure of the server configuration control apparatus 100b according to the third embodiment will be described with reference to FIGS. 20A to 20D. 20A to 20D are sequence diagrams illustrating a processing procedure performed by the server configuration control apparatus 100b according to the third embodiment. 20A to 20D show the processing procedure by the server configuration control apparatus 100b in the order of FIGS. 20A, 20B, 20C, and 20D. 20A to 20D exemplify a case where the power consumption of the server room α is higher than the threshold value for stopping the front server with the lowest priority for operation. 20A to 20D, as an example, when the front server 3 is stopped, an abnormal state occurs while the front server 3 is stopped and the front server 3 fails to stop. In the following, processing by the server configuration control apparatus 100b will be described using each unit included in the server configuration control apparatus 100b.

図20Aに示すように、実施例3に係るサーバ構成制御装置100bにおいては、消費電力量管理部147が、電源管理装置A〜Hそれぞれに対して、各電源管理装置の消費電力量の取得要求を送信する(ステップS501)。電源管理装置A〜Hは、消費電力量管理部147から消費電力量の取得要求を受信すると、それぞれ自身がサーバに供給している電力量を消費電力量として応答する(ステップS502〜ステップS509)。なお、サーバ構成制御装置100bにおいては、消費電力量管理部147による消費電力量の取得要求が送信される前に、通信ネットワーク装置データファイル131、サーバ構成ファイル132及び通信アドレスデータファイル133を参照して各サーバの通信アドレスが取得されている。   As illustrated in FIG. 20A, in the server configuration control apparatus 100b according to the third embodiment, the power consumption management unit 147 requests the power management apparatuses A to H to acquire the power consumption of each power management apparatus. Is transmitted (step S501). Upon receiving the power consumption acquisition request from the power consumption management unit 147, each of the power management apparatuses A to H responds with the amount of power supplied to the server as the power consumption (steps S502 to S509). . In the server configuration control apparatus 100b, the communication network apparatus data file 131, the server configuration file 132, and the communication address data file 133 are referred to before the power consumption amount acquisition request from the power consumption management unit 147 is transmitted. The communication address of each server is acquired.

各電源管理装置から消費電力量を受信すると、サーバ起動/停止決定部144は、各電源管理装置から取得した消費電力量の総和を、起動/停止条件管理ファイル137に記録してある、サーバを停止させる場合の消費電力量の閾値と比較する。そして、サーバ起動/停止決定部144は、消費電力量の総和が閾値よりも高いことを検出すると、フロントサーバの処理負荷量が停止条件に該当すると判定し(ステップS510)、比較結果をログファイル138に記録する。   When the power consumption amount is received from each power management apparatus, the server start / stop determination unit 144 stores the server whose total power consumption amount acquired from each power management apparatus is recorded in the start / stop condition management file 137. Compare with the threshold value of power consumption when stopping. Then, when detecting that the total amount of power consumption is higher than the threshold, the server start / stop determination unit 144 determines that the processing load amount of the front server satisfies the stop condition (step S510), and the comparison result is a log file. 138.

そして、図20Bに示すように、サーバ起動/停止決定部144は、起動/停止条件管理ファイルに記憶された停止させるサーバ数と閾値との対応関係を参照して、停止させるサーバ数を1台と決定するとともに、優先度データファイルに記憶されたフロントサーバの優先度に基づいて、フロントサーバ3を停止させると決定する。さらに、サーバ起動/停止決定部144は、通信ネットワーク装置起動/停止ファイル135に記憶された停止順序を参照して、フロントサーバ3を停止する場合には、ログサーバ2も停止させることを決定する(ステップS511)。   Then, as shown in FIG. 20B, the server start / stop determination unit 144 refers to the correspondence between the number of servers to be stopped and the threshold stored in the start / stop condition management file, and sets the number of servers to be stopped to one. And determining to stop the front server 3 based on the priority of the front server stored in the priority data file. Further, the server start / stop determination unit 144 refers to the stop order stored in the communication network device start / stop file 135 and determines to stop the log server 2 when the front server 3 is stopped. (Step S511).

その後、サーバ起動/停止決定部144は、フロントサーバ3及びログサーバ2それぞれの停止順序などの制約を確認する(ステップS512)。ここで、サーバ起動/停止決定部144は、まず、フロントサーバ3を停止する場合には、フロントサーバ1及びフロントサーバ2が起動していて正常に稼動していることが必要であることを確認する。   Thereafter, the server start / stop determination unit 144 confirms restrictions such as the stop order of the front server 3 and the log server 2 (step S512). Here, the server activation / deactivation determination unit 144 first confirms that the front server 1 and the front server 2 must be activated and operating normally when stopping the front server 3. To do.

サーバ起動/停止決定部144は、通信ネットワーク装置起動/停止ファイル135から、最初に停止させるサーバはフロントサーバ3であることを特定すると、フロントサーバ1への接続状態及びフロントサーバ1のOSの稼動状態などを確認するために、フロントサーバ1の通信アドレスを通信アドレスデータファイルから取得した後に、フロントサーバ1に対してネットワーク接続状況確認を行う(ステップS513)。フロントサーバ1からネットワーク接続状況応答を受付けると(ステップS514)、サーバ起動/停止決定部144は、プロセス/OS稼働状況確認を行う(ステップS515)。サーバ起動/停止決定部144は、フロントサーバ1からプロセス/OS稼働状況応答を受付けると(ステップS516)、フロントサーバ1が正常に稼動していると判定する。   When the server start / stop determination unit 144 specifies from the communication network device start / stop file 135 that the server to be stopped first is the front server 3, the connection state to the front server 1 and the operation of the OS of the front server 1 In order to confirm the status and the like, after acquiring the communication address of the front server 1 from the communication address data file, the network connection status is confirmed with respect to the front server 1 (step S513). When a network connection status response is received from the front server 1 (step S514), the server start / stop determination unit 144 checks the process / OS operating status (step S515). When the server start / stop determination unit 144 receives a process / OS operation status response from the front server 1 (step S516), the server start / stop determination unit 144 determines that the front server 1 is operating normally.

次に、サーバ起動/停止決定部144は、フロントサーバ2の通信アドレスを通信アドレスデータファイルから取得した後に、フロントサーバ2に対してネットワーク接続状況確認を行い(ステップS517)、フロントサーバ2からネットワーク接続状況応答を受付けると(ステップS518)、プロセス/OS稼働状況確認を行う(ステップS519)。サーバ起動/停止決定部144は、フロントサーバ2からプロセス/OS稼働状況応答を受付けると(ステップS520)、フロントサーバ2が正常に稼動していると判定する。   Next, the server start / stop determination unit 144 acquires the communication address of the front server 2 from the communication address data file, and then checks the network connection status with the front server 2 (step S517). When the connection status response is received (step S518), the process / OS operating status is confirmed (step S519). When the server start / stop determination unit 144 receives a process / OS operation status response from the front server 2 (step S520), the server start / stop determination unit 144 determines that the front server 2 is operating normally.

そして、サーバ起動/停止決定部144は、フロントサーバ3の通信アドレスを通信アドレスデータファイルから取得した後に、フロントサーバ3に対してネットワーク接続状況確認を行い(ステップS521)、フロントサーバ3からネットワーク接続状況応答を受付けると(ステップS522)、プロセス/OS稼働状況確認を行う(ステップS523)。サーバ起動/停止決定部144は、フロントサーバ3からプロセス/OS稼働状況応答を受付けると(ステップS524)、フロントサーバ3が停止可能であると判定する(ステップS525)。   Then, the server start / stop determination unit 144 acquires the communication address of the front server 3 from the communication address data file, and then checks the network connection status with the front server 3 (step S521). When the status response is received (step S522), the process / OS operating status is confirmed (step S523). Upon receiving a process / OS operating status response from the front server 3 (step S524), the server start / stop determination unit 144 determines that the front server 3 can be stopped (step S525).

そして、サーバ起動/停止要求部145は、プロセス/OS/電源停止要求をフロントサーバ3に送信する(ステップS526)。ここで、フロントサーバ3に故障が発生してプロセス/OS/電源停止(エラー応答)が返されると(ステップS527)、サーバ起動/停止決定部144は、プロセスの停止に失敗したことを検出するとともに、ログファイル138にフロントサーバ3の停止が正常に実施されなかったこと、及びフロントサーバ3のプロセスの稼動状態を記録する。そして、サーバ起動/停止決定部144は、次に停止させるサーバを確認して(ステップS528)、該サーバがログサーバ2であると特定する。   Then, the server start / stop request unit 145 transmits a process / OS / power supply stop request to the front server 3 (step S526). Here, when a failure occurs in the front server 3 and a process / OS / power stop (error response) is returned (step S527), the server start / stop determination unit 144 detects that the process stop has failed. At the same time, the log file 138 records that the front server 3 was not stopped normally and the operating state of the process of the front server 3. Then, the server start / stop determination unit 144 confirms the server to be stopped next (step S528), and specifies that the server is the log server 2.

その後、サーバ起動/停止決定部144は、起動停止条件管理ファイルに記憶された制約を参照して、フロントサーバ3が停止不可の場合のログサーバ2の停止可否を確認して(ステップS529)、ログサーバ2が停止可能であると判定する(ステップS530)。   Thereafter, the server activation / determination determining unit 144 refers to the constraints stored in the activation / deactivation condition management file and confirms whether or not the log server 2 can be deactivated when the front server 3 cannot be deactivated (step S529). It is determined that the log server 2 can be stopped (step S530).

次に停止させるサーバはログサーバ2あることを特定して停止可能と判定すると、サーバ起動/停止決定部144は、ログサーバ2の接続状態およびログサーバ2のOSの稼動状態などを確認するために、ログサーバ2の通信アドレスを通信アドレスデータファイルから取得した後に、ログサーバ2に対してネットワーク接続状況確認を行う(ステップS531)。ログサーバ2からネットワーク接続状況応答を受付けると(ステップS532)、サーバ起動/停止決定部144は、プロセス/OS稼働状況確認を行う(ステップS533)。サーバ起動/停止決定部144は、ログサーバ2からプロセス/OS稼働状況応答を受付けると(ステップS534)、ログサーバ2が停止可能であると判定する(ステップS535)。   When it is determined that the server to be stopped next is the log server 2 and it is determined that the server can be stopped, the server start / stop determination unit 144 checks the connection state of the log server 2 and the operating state of the OS of the log server 2. In addition, after obtaining the communication address of the log server 2 from the communication address data file, the network connection status is confirmed with respect to the log server 2 (step S531). When a network connection status response is received from the log server 2 (step S532), the server start / stop determination unit 144 checks the process / OS operating status (step S533). When the server start / stop determination unit 144 receives a process / OS operation status response from the log server 2 (step S534), the server start / stop determination unit 144 determines that the log server 2 can be stopped (step S535).

そして、サーバ起動/停止要求部145は、プロセス/OS/電源停止要求をログサーバ2に送信する(ステップS536)。プロセス/OS/電源停止要求を受信すると、ログサーバ2は、プロセス/OS/電源停止を応答した後(ステップS537)、サーバを停止させる(ステップS538)。そして、サーバ起動/停止要求部145は、プロセス/OS/電源停止を受付けると、ログファイル138にログサーバ2の停止が正常に実施されたことを記録するとともに、ログサーバ2の次に停止させるサーバがないことを確認する。そして、サーバ構成制御装置100bは、次の消費電力量の確認の時間まで待機する(ステップS539)。   Then, the server start / stop request unit 145 transmits a process / OS / power stop request to the log server 2 (step S536). Upon receiving the process / OS / power stop request, the log server 2 responds to the process / OS / power stop (step S537) and then stops the server (step S538). Then, when the server start / stop request unit 145 receives the process / OS / power stop, the server start / stop request unit 145 records in the log file 138 that the log server 2 has been normally stopped, and then stops the log server 2 next. Make sure there is no server. Then, the server configuration control apparatus 100b waits until the next power consumption confirmation time (step S539).

なお、上述した処理の手順は、あくまでも一例であり、実施例3に係るサーバ構成制御装置100bは、その他のサーバの停止処理及びサーバの起動処理においても同様の処理を実行することが可能である。   Note that the above-described processing procedure is merely an example, and the server configuration control apparatus 100b according to the third embodiment can execute similar processing in other server stop processing and server start processing. .

[実施例3の効果]
上述したように、実施例3によれば、サーバ構成制御装置100bは、サーバルームαの消費電力が多く、フロントサーバ3を停止させる場合に、通信ネットワーク装置起動/停止ファイルからログサーバ2も停止させることを確認して、それぞれのサーバを動作の依存関係にしたがった順番で停止させる。従って、実施例3に係るサーバ構成制御装置100bは、通信ネットワークを構成する各サーバの種別間に動作の依存関係があったり、複雑な停止手順が必要であっても、当通信ネットワークの保守者が各サーバの停止可否や停止手順を判断することなく、サーバルームαの消費電力量を迅速に最適化することが可能である。
[Effect of Example 3]
As described above, according to the third embodiment, the server configuration control device 100b consumes a large amount of power in the server room α, and when the front server 3 is stopped, the log server 2 is also stopped from the communication network device start / stop file. Confirm that you want to stop, and stop each server in the order according to the operational dependency. Therefore, the server configuration control apparatus 100b according to the third embodiment can maintain the communication network even if there is an operation dependency between the types of servers constituting the communication network or a complicated stop procedure is required. However, it is possible to quickly optimize the power consumption of the server room α without determining whether or not to stop each server.

また、実施例3によれば、サーバ構成制御装置100bは、フロントサーバ3の停止に失敗した場合に、起動/停止条件管理ファイルを用いて、フロントサーバ3の次に停止させるログサーバ2の停止可否を確認して、停止可能であると判断した後にログサーバ2を停止させる。従って、サーバ構成制御装置100bは、通信ネットワークを構成する各サーバの稼動状態により複雑な停止手順が必要であっても、当通信ネットワークの保守者が各サーバの停止可否や停止手順を判断することなく、サーバルームαの消費電力量を迅速に最適化することが可能である。   Further, according to the third embodiment, the server configuration control apparatus 100b stops the log server 2 to be stopped next to the front server 3 using the start / stop condition management file when the front server 3 fails to stop. After confirming availability, the log server 2 is stopped after determining that it can be stopped. Therefore, the server configuration control apparatus 100b allows the maintenance person of the communication network to determine whether or not to stop each server even if a complicated stop procedure is required depending on the operating state of each server constituting the communication network. In addition, it is possible to quickly optimize the power consumption of the server room α.

これまで実施例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 configuration control apparatus 100 via a network, or the server operation status acquisition unit 143 and the server start / stop determination unit 144 may be separated from each other. The server configuration control apparatus 100 described above may be realized by cooperating with being connected to a 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 通信ネットワーク装置起動/停止ファイル
136 優先度データファイル
137 起動/停止条件管理ファイル
143 サーバ稼動状況取得部
144 サーバ起動/停止決定部
145 サーバ起動/停止要求部
147 消費電力量管理部
100, 100a, 100b Server configuration control device 134 Operating state management file 135 Communication network device start / stop file 136 Priority data file 137 Start / stop condition management file 143 Server operation status acquisition unit 144 Server start / stop determination unit 145 Server start / Stop request section 147 Power consumption management section

Claims (3)

役割分担された各サーバが役割毎に複数台ずつネットワークに接続され、役割分担されたサーバ間で協働処理を行うシステムにおいて、各サーバの起動又は停止を制御するサーバ構成制御装置であって、
各サーバの起動又は停止に適用される制約条件であって、サーバ毎に、該サーバの起動又は停止に際して所定の条件を満たすべき他のサーバ及び該条件の内容を示す制約条件を記憶すると共に、サーバ毎に、処理負荷が低負荷であるか否かを判定するためのCPU使用率の閾値と、高負荷であるか否かを判定するためのCPU使用率の閾値と、サーバ又はサーバを設置するサーバルームの消費電力量の閾値との内、少なくとも1つの閾値を記憶する記憶手段と、
各サーバにおける処理負荷量及び各サーバの稼動に用いられる電力量のうち少なくとも一方を取得する取得手段と、
前記各サーバの起動状態又は停止状態と、前記取得手段によって取得された処理負荷量及び電力量のうち少なくとも一方従って動的に変化するサーバ間の依存関係に基づいて、起動又は停止の対象となる対象サーバを決定する際、前記閾値を参照して、前記取得手段によって取得されたサーバの処理負荷量が高負荷状態であるか否か、及び、低負荷状態であるか否かを判定する決定手段と、
前記決定手段によって決定された対象サーバの起動又は停止に適用される制約条件を前記記憶手段から取得し、前記判定の結果に基づいて、前記制約条件に規定された他のサーバ及び条件の内容を特定する特定手段と、
前記特定手段によって特定された他のサーバが前記特定手段によって特定された条件を満たすように制御した後に、前記決定手段によって決定された対象サーバの起動又は停止を実行する実行手段とを備え
前記記憶手段は、起動又は停止させるサーバの数と閾値との対応関係を更に記憶し、
前記決定手段は、前記記憶手段に記憶された前記対応関係に基づいて、起動又は停止させるサーバの数を決定することを特徴とするサーバ構成制御装置。
A server configuration control device that controls the start or stop 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 a cooperative process between the roles-divided servers,
A constraint condition applied to starting or stopping each server, for each server, storing other servers that should satisfy a predetermined condition when starting or stopping the server, and a constraint condition indicating contents of the condition , For each server, a CPU usage threshold for determining whether the processing load is low, a CPU usage threshold for determining whether the processing load is high, and a server or server are installed. Storage means for storing at least one threshold value among threshold values of power consumption of the server room
An acquisition means for acquiring at least one of a processing load amount in each server and an amount of power used to operate each server;
Wherein the activation state or stopped state for each server, based on at least one and the thus dynamically changing dependencies between servers among been processing load and power amount acquired by the acquisition unit, start or stop of a subject When determining the target server to be determined , it is determined whether or not the processing load amount of the server acquired by the acquisition unit is a high load state and a low load state with reference to the threshold value A decision means to
The constraint condition applied to starting or stopping the target server determined by the determination unit is acquired from the storage unit, and based on the result of the determination, the contents of other servers and conditions defined in the constraint condition are obtained. Identification means to identify;
And executing means for starting or stopping the target server determined by the determining means after controlling the other server specified by the specifying means to satisfy the condition specified by the specifying means ,
The storage means further stores a correspondence relationship between the number of servers to be started or stopped and a threshold value,
The server configuration control apparatus , wherein the determination unit determines the number of servers to be started or stopped based on the correspondence relationship stored in the storage unit .
前記記憶手段は、前記制約条件の前記条件の内容として、起動及び停止の順序、サーバ間の依存関係及び制御に失敗した場合の処理について記憶することを特徴とする請求項1に記載のサーバ構成制御装置。 2. The server configuration according to claim 1, wherein the storage unit stores, as the contents of the condition of the constraint condition, an order of starting and stopping, a dependency relationship between servers, and a process when control fails. Control device. 役割分担された各サーバが役割毎に複数台ずつネットワークに接続され、役割分担されたサーバ間で協働処理を行うシステムにおいて、各サーバの起動又は停止を制御するサーバ構成制御装置によって実行されるサーバ構成制御方法であって、
各サーバにおける処理負荷量及び各サーバの稼動に用いられる電力量のうち少なくとも一方を取得する取得工程と、
前記各サーバの起動状態又は停止状態と、前記取得工程によって取得された処理負荷量及び電力量のうち少なくとも一方従って動的に変化するサーバ間の依存関係に基づいて、起動又は停止の対象となる対象サーバを決定すると共に、前記取得工程によって取得された前記処理負荷量又は前記電力量が、サーバ毎に記憶部に記憶された、処理負荷が低負荷であるか否かを判定するためのCPU使用率の閾値と、高負荷であるか否かを判定するためのCPU使用率の閾値と、サーバ又はサーバを設置するサーバルームの消費電力量の閾値との内、少なくとも1つの閾値を越えた場合に、サーバ毎に予め設定された当該サーバを稼動させる優先度の順に前記対象サーバを決定する際、前記閾値を参照して、前記取得工程によって取得されたサーバの処理負荷量が高負荷状態であるか否か、及び、低負荷状態であるか否かを判定する決定工程と、
各サーバの起動又は停止に適用される制約条件として、サーバ毎に、該サーバの起動又は停止に際して所定の条件を満たすべき他のサーバ及び該条件の内容を示す制約条件を記憶する前記記憶部を参照し、前記決定工程によって決定された対象サーバの起動又は停止に適用される制約条件を取得し、前記判定の結果に基づいて、前記制約条件に規定された他のサーバ及び条件の内容を特定する特定工程と、
前記特定工程によって特定された他のサーバが前記特定工程によって特定された条件を満たすように制御した後に、前記決定工程によって決定された対象サーバの起動又は停止を実行する実行工程とを含み、
前記決定工程では、起動又は停止させるサーバの数と閾値との対応関係に基づいて、起動又は停止させるサーバの数を決定する
ことを特徴とするサーバ構成制御方法。
In a system in which a plurality of each role-divided server is connected to the network for each role, and the server performs the collaborative processing between the roles-divided servers, the server is executed by a server configuration control device that controls the start or stop of each server A server configuration control method comprising:
An acquisition step of acquiring at least one of the processing load amount in each server and the amount of power used to operate each server;
Wherein the activation state or stopped state for each server, based on at least one and the thus dependencies between servers dynamically changing of the processing load obtained by the obtaining step and the amount of power, start or stop of a subject And determining whether or not the processing load or the amount of power acquired by the acquisition step is stored in the storage unit for each server and the processing load is low. At least one threshold value among the threshold value of the CPU usage rate, the threshold value of the CPU usage rate for determining whether or not the load is high, and the threshold value of the power consumption of the server room where the server or server is installed When the target server is determined in the order of priority for operating the server set in advance for each server when the number is exceeded, the server acquired by the acquiring step is referred to the threshold value. Whether the processing load of server is heavily loaded, and a determining step of determining whether the low load state,
As a constraint condition applied to the start or stop of each server, each server, the storage unit for storing a constraint indicating the contents of the other servers and the conditions to be satisfied the predetermined condition during starting or stopping of the server Refer to and acquire the constraint condition applied to start or stop of the target server determined by the determination step, and specify the content of other servers and conditions defined in the constraint condition based on the result of the determination Specific process to
Wherein after the other server identified by the identifying step was controlled to meet specific conditions by the specifying step, look including an execution step of executing the start or stop of the target server determined by said determining step,
In the determining step, the number of servers to be started or stopped is determined based on a correspondence relationship between the number of servers to be started or stopped and a threshold value .
JP2011193320A 2011-09-05 2011-09-05 Server configuration control apparatus and server configuration control method Expired - Fee Related JP5718769B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011193320A JP5718769B2 (en) 2011-09-05 2011-09-05 Server configuration control apparatus and server configuration control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011193320A JP5718769B2 (en) 2011-09-05 2011-09-05 Server configuration control apparatus and server configuration control method

Publications (2)

Publication Number Publication Date
JP2013054604A JP2013054604A (en) 2013-03-21
JP5718769B2 true JP5718769B2 (en) 2015-05-13

Family

ID=48131518

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011193320A Expired - Fee Related JP5718769B2 (en) 2011-09-05 2011-09-05 Server configuration control apparatus and server configuration control method

Country Status (1)

Country Link
JP (1) JP5718769B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6443123B2 (en) * 2015-02-24 2018-12-26 富士通株式会社 Program, driving method, driving device
JP2017084013A (en) * 2015-10-26 2017-05-18 富士通株式会社 Electric power management program, electric power management method, and electric power management unit

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007179252A (en) * 2005-12-27 2007-07-12 Nomura Research Institute Ltd Server system and method for controlling the same
JP2009037271A (en) * 2007-07-31 2009-02-19 Hitachi Ltd Method for stopping virtual computer system, and computer device
JP5359295B2 (en) * 2009-01-16 2013-12-04 富士通株式会社 Load distribution apparatus, load distribution method, and load distribution program

Also Published As

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

Similar Documents

Publication Publication Date Title
US10429914B2 (en) Multi-level data center using consolidated power control
US9800087B2 (en) Multi-level data center consolidated power control
JP4760491B2 (en) Event processing system, event processing method, event processing apparatus, and event processing program
US20130028091A1 (en) System for controlling switch devices, and device and method for controlling system configuration
US8006112B2 (en) System and method for managing blades after a power supply unit failure
US20090276657A1 (en) Managing cluster split-brain in datacenter service site failover
US20070011331A1 (en) Autonomous control apparatus, autonomous control method, and autonomous control program
WO2011001712A1 (en) Method for managing consumed electric power, system for managing consumed electric power, and program
CN106980529B (en) Computer system for managing resources of baseboard management controller
US20130185717A1 (en) Method and system for managing power consumption due to virtual machines on host servers
US20090248867A1 (en) Network system, device, control method thereof, and storage medium
US20140107855A1 (en) Energy Saving Monitoring Method and Device
US20160328010A1 (en) Shutdown of computing devices
US9727104B2 (en) Various PSUs adaptive server and method
CN110651256A (en) System and method for preventing service interruption during software update
JP5718769B2 (en) Server configuration control apparatus and server configuration control method
US20140129865A1 (en) System controller, power control method, and electronic system
CN117453036A (en) Method, system and device for adjusting power consumption of equipment in server
US8677323B2 (en) Recording medium storing monitoring program, monitoring method, and monitoring system
JP6789685B2 (en) A system or method to improve network reliability
US8074109B1 (en) Third-party voting to select a master processor within a multi-processor computer
US9018797B2 (en) Power distribution management
CN111124095B (en) Power supply running state detection method and related device during upgrading of power supply firmware
JP2010170168A (en) Flow rate control method and system
US10303568B2 (en) Systems and methods for high availability of management controllers

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140402

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141110

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141118

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150108

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150319

R150 Certificate of patent or registration of utility model

Ref document number: 5718769

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees