JP2012014248A - System, method and program for software distribution corresponding to scale-out configuration - Google Patents

System, method and program for software distribution corresponding to scale-out configuration Download PDF

Info

Publication number
JP2012014248A
JP2012014248A JP2010147589A JP2010147589A JP2012014248A JP 2012014248 A JP2012014248 A JP 2012014248A JP 2010147589 A JP2010147589 A JP 2010147589A JP 2010147589 A JP2010147589 A JP 2010147589A JP 2012014248 A JP2012014248 A JP 2012014248A
Authority
JP
Japan
Prior art keywords
machine
software
distribution
scale
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2010147589A
Other languages
Japanese (ja)
Other versions
JP5319619B2 (en
Inventor
Hirofumi Yamanaka
裕文 山中
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.)
Hitachi Information Systems Ltd
Original Assignee
Hitachi Information Systems Ltd
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 Hitachi Information Systems Ltd filed Critical Hitachi Information Systems Ltd
Priority to JP2010147589A priority Critical patent/JP5319619B2/en
Publication of JP2012014248A publication Critical patent/JP2012014248A/en
Application granted granted Critical
Publication of JP5319619B2 publication Critical patent/JP5319619B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a software distribution system and the like capable of appropriate software distribution (update) and scale-out even if there are standby machines for scale-out and the like.SOLUTION: Distribution object machines 110 include operating machines 111 and standby machines 112. The software distribution system 101 includes: first means for managing configuration information including the states of the machines 110 and software configuration; second means for distributing software 150 to the machines 110; and third means for operating the booting and stopping states of the machines 110. In the distribution, the software distribution system boots the standby machines 112 in a stopped state based on the configuration information, updates the software of the respective machines 110 and stops the standby machines 112 in a booting state. The software of the respective machines 110 is updated at a same time.

Description

本発明は、ソフトウェア配布システム等の技術に関し、特に、コンピュータシステムのソフトウェア構成の変更(更新)において、スケールアウト構成を持つコンピュータシステム等(スケールアウト用のマシン等を含む)に対するソフトウェアの配布(更新)を可能とするシステム等に適用して有効な技術に関する。   The present invention relates to a technology such as a software distribution system, and in particular, distribution (update) of software to a computer system or the like (including a scale-out machine or the like) having a scale-out configuration in changing (updating) the software configuration of a computer system. The present invention relates to a technology that is effective when applied to a system that enables the

複数のマシンからなる分散/並列処理コンピュータシステム等において、コンピュータシステムを構成するマシンの台数を増やすことで、マシン群全体のパフォーマンスを向上させることができる。以下これを「スケールアウト」と呼ぶ。また説明上、スケールアウトを行う状態(スケールアウト実行時)を「ON」、行わない状態(スケールアウト非実行時)を「OFF」とする。スケールアウトを行うために用意されたマシン(「待機系マシン」)は、例えば、コンピュータシステムで処理を行う量が一定基準を超えるとき(高負荷状態)などの条件に基づき、スケールアウトが行われる間(ON)のみ起動し、コンピュータシステムで処理を行う量が一定基準に戻ったとき(低負荷状態)などの条件に基づき、スケールアウトが行われない間(OFF)には停止する。   In a distributed / parallel processing computer system composed of a plurality of machines, the performance of the entire machine group can be improved by increasing the number of machines constituting the computer system. This is hereinafter referred to as “scale-out”. For the sake of explanation, the state where scale-out is performed (when scale-out is executed) is “ON”, and the state where scale-out is not performed (when scale-out is not executed) is “OFF”. Machines prepared for scale-out (“standby machine”) are scaled out based on conditions such as when the amount of processing in the computer system exceeds a certain standard (high load state) It is activated only during the interval (ON), and is stopped while the scale-out is not performed (OFF) based on conditions such as when the amount of processing performed by the computer system returns to a certain standard (low load state).

一方、マシンにインストールされているOSやアプリケーションやその他のソフトウェア(以下「ソフトウェア」と総称する)は、例えばバグフィクスやセキュリティホール修正などが行われた最新バージョンのものがインストールされている必要がある。セキュリティホールが残っているバージョンのソフトウェアを使用したままとする場合、最悪その上で動作しているコンピュータシステムだけでなく、最新バージョンで動作しているコンピュータシステムにも支障をきたす恐れがある。そのため、マシンのソフトウェアについて、迅速に漏れなくバージョンアップ(更新)を行う必要がある。このソフトウェアの更新などの作業・処理をシステム化したものが、ソフトウェア配布システムである。即ち、配布側のシステムから配布対象のマシンに対して最新のソフトウェアなどを配布して自動的に更新させることができる。   On the other hand, the OS, applications, and other software (hereinafter collectively referred to as “software”) installed in the machine need to be installed with the latest version with bug fixes, security hole corrections, etc., for example. . If you keep using a version of software that still has security holes, not only the computer system that runs worst, but also the computer system that runs on the latest version may be disturbed. Therefore, it is necessary to quickly upgrade (update) the machine software without omission. A software distribution system is a system in which operations and processes such as software update are systemized. That is, it is possible to automatically update the distribution target system by distributing the latest software to the distribution target machine.

先行技術例として、特開平4−268643号公報(特許文献1)などがある。特許文献1では、稼動系−待機系マシン間でのデータのバックアップ・同期について記載されている。具体的には、コールドスタンバイ系計算機システム(待機系マシン)を定期的に立ち上げ、オンライン系計算機システム(稼働系マシン)のバックアップ情報(バックアップ用の処理データ)により、コールドスタンバイ系計算機システム(待機系マシン)のデータを更新できるようにすることが記載されている。   As an example of the prior art, there is JP-A-4-268663 (Patent Document 1). Patent Document 1 describes data backup / synchronization between an active system and a standby system machine. Specifically, a cold standby computer system (standby machine) is periodically started up, and the cold standby computer system (standby) is backed up by backup information (backup data) of the online computer system (active machine). It is described that it is possible to update the data of the (system machine).

特開平4−268643号公報JP-A-4-2686633

従来の一般的なソフトウェア配布システムでマシン群のソフトウェアの更新を行った場合、停止状態のマシンに対しては適用されず、更新漏れが発生してしまう。例えば従来のスケールアウト構成のコンピュータシステムにおける停止状態の待機系マシンでは更新漏れが発生してしまう。   When the software of a machine group is updated by a conventional general software distribution system, it is not applied to a stopped machine, and an update omission occurs. For example, in a standby computer in a stopped state in a computer system having a conventional scale-out configuration, update omission occurs.

上記の場合、更新漏れによりマシン群のソフトウェア構成に差異が生じるため、スケールアウト(ON)を行う場合、その前に、上記停止状態の待機系マシンを起動してソフトウェアの更新を行うことで、当該待機系マシンのソフトウェア構成を稼動系マシンと同一にする同期の手順を行う必要がある(ユーザによる操作等を必要とする)。この同期の手順が終わるまでは、次の手順であるスケールアウト(ON)を行うことはできない。   In the above case, because the software configuration of the machine group is different due to omission of update, when performing scale out (ON), before that, by starting the standby machine in the stopped state and updating the software, It is necessary to perform a synchronization procedure to make the software configuration of the standby machine the same as that of the active machine (requires user operation or the like). Until this synchronization procedure is completed, the next procedure, scale-out (ON), cannot be performed.

上記同期を実現する方式として、前記特許文献1のように、定期的に稼働系マシンからデータを取得(コピー)して待機系マシンに更新(反映)を行うことで、待機系マシンのソフトウェア構成を稼動系マシンと同期させる方式が挙げられる。   As a method for realizing the above-mentioned synchronization, the software configuration of the standby machine is obtained by periodically acquiring (copying) data from the active machine and updating (reflecting) it on the standby machine as in Patent Document 1. Can be synchronized with the active machine.

しかし、上記同期の方式を用いて稼動系−待機系マシン間のソフトウェア構成の同期を行った場合、スケールアウト(ON)時に、最新のデータ(即ち稼働系マシンのソフトウェア)と前回(最後)の同期時に取得したデータ(即ち待機系マシンのソフトウェア)とにおいて差異が発生する場合がある。言い換えれば、稼働系マシンのソフトウェアの更新の時点と稼働系マシンから待機系マシンへデータ(ソフトウェア)の同期を行う時点とで差異(ズレ)があり、前述のように停止状態のマシンには更新が適用されないため、上記のように稼働系−待機系マシン間でソフトウェア構成の差異がある時間が生じる(図7(a))。   However, when the software configuration is synchronized between the active and standby machines using the above synchronization method, the latest data (that is, the software of the active machine) and the previous (last) data at the time of scale-out (ON) There may be a difference between the data acquired at the time of synchronization (that is, the software of the standby machine). In other words, there is a difference between the time when the software of the active machine is updated and the time when data (software) is synchronized from the active machine to the standby machine. Is not applied, there occurs a time when there is a difference in software configuration between the active system and the standby system machine as described above (FIG. 7A).

上記の場合、スケールアウトを行う(ON)時に、上記差異が発生している時間と重なる可能性がある。その場合、稼働系−待機系のソフトウェア構成の差異による問題(前述したセキュリティ等の問題)があるため、待機系マシンのソフトウェア構成を最新(稼働系マシンと同一)にする作業が別途必要となる(ユーザによる操作等を必要とする)。このような作業及びその時間により、コンピュータシステムの過負荷状態が長期化してしまう問題がある。また前記特許文献1のような同期の方式によって、単純に稼働系のデータ(ソフトウェア)を待機系へコピーするだけでは、別マシン(待機系マシン)として稼動させるためのソフトウェア設定変更などが必要になる場合がある。   In the above case, when the scale-out is performed (ON), there is a possibility that the time when the above difference occurs is overlapped. In that case, because there is a problem due to the difference in the software configuration between the active system and the standby system (security and other problems described above), it is necessary to separately work to make the software configuration of the standby system the latest (same as the active system machine). (This requires user operation). There is a problem that the overload state of the computer system is prolonged due to such work and its time. Further, by simply copying the active system data (software) to the standby system by the synchronization method as described in Patent Document 1, it is necessary to change software settings for operating as a separate machine (standby system machine). There is a case.

上述したように従来技術では、スケールアウト構成のコンピュータシステム(稼働系マシン及び待機系マシンを含む)に対するソフトウェアの配布(更新)を考えた場合、同期その他などによって各マシンのソフトウェア構成を最新(同一)にし問題無くスケールアウト(ON)を行うために要する時間(リードタイム)、及びユーザ(運用者等)による作業負担などが発生してしまう問題がある。   As described above, in the prior art, when the distribution (update) of software to a scale-out computer system (including active and standby machines) is considered, the software configuration of each machine is the latest (same as the synchronization etc.) ), There is a problem that a time (lead time) required for performing scale-out (ON) without any problem and a work burden on the user (operator, etc.) are generated.

また、上記のスケールアウト(ON)時に、上記リードタイムが発生しないように回避する手段として、ユーザの手動操作によって、ソフトウェア配布前に対象マシンを起動したり、ソフトウェア配布後に対象マシンを停止したりすることが考えられる。しかし、その場合、ソフトウェア配布ごと及び対象マシンごとに個別の作業が必要であるため、ユーザの作業負担が大きくなる問題がある。   In addition, as a means for avoiding the above lead time from occurring during the scale-out (ON), the target machine is started before software distribution by the user's manual operation, or the target machine is stopped after software distribution. It is possible to do. However, in that case, there is a problem that the work burden on the user is increased because separate work is required for each software distribution and each target machine.

以上を鑑み、本発明の目的は、ソフトウェア配布(更新)の対象となるコンピュータシステムにおいてスケールアウト用の待機系マシン等がある場合においても、ユーザによる特別の作業負担などを必要とすることなく、またリードタイム無く又は少なく、適切にソフトウェア配布(更新)及びスケールアウトを行うことができるシステム等を提供することである。   In view of the above, the object of the present invention is to eliminate the need for a special work load by the user even when there is a standby machine for scale-out in a computer system to be distributed (updated), Another object of the present invention is to provide a system that can appropriately distribute (update) and scale out software with little or no lead time.

上記目的を達成するため、本発明は、スケールアウト構成などのコンピュータシステム(マシン群)に対するソフトウェアの配布(更新)を行うソフトウェア配布システム、方法、及びプログラム等の技術であって、以下に示す構成を有することを特徴とする。   In order to achieve the above object, the present invention is a technology such as a software distribution system, method, and program for distributing (updating) software to a computer system (machine group) such as a scale-out configuration. It is characterized by having.

本発明のシステムは、最新のソフトウェアの配布(更新)時に、スケールアウト用の待機系マシン(OFF時には停止状態、ON時には起動状態)等に対しても自動的に配布(更新)を可能とし、即ち稼働系−待機系マシン間でのソフトウェア構成を同一(最新)になるように維持可能とし、適切なスケールアウト(ON/OFF)を可能とする。   The system of the present invention enables automatic distribution (updating) to a standby machine for scale-out (stopped when turned off, activated when turned on), etc. when distributing (updating) the latest software, That is, the software configuration between the active system and the standby system machine can be maintained to be the same (latest), and appropriate scale-out (ON / OFF) is enabled.

本ソフトウェア配布システムは、例えば、対象のコンピュータシステムのマシン群に対してソフトウェアを配布して更新させる処理を行うソフトウェア配布システムである。対象のマシン群は、例えば、起動状態の第1のマシン(例えば稼働系マシン)、及び停止状態の第2のマシン(例えば待機系マシン)を含む。本ソフトウェア配布システムは、マシン群の状態及びソフトウェア構成を含む構成情報を管理する第1の手段と、マシン群に対するソフトウェアの配布を実行する第2の手段と、マシン群の起動や停止の状態を操作(制御)する第3の手段とを有する。本ソフトウェア配布システムは、第2の手段によりソフトウェアの配布を実行する際、構成情報に基づき、第3の手段により停止状態の第2のマシンを起動し、第1及び第2のマシンを含む各マシンに対してソフトウェアのデータ情報を送信して各マシンのソフトウェアを更新させ、更新後、第3の手段により当該起動状態の第2のマシンを停止させ、結果を第1の手段により構成情報に反映する処理を行う。   This software distribution system is, for example, a software distribution system that performs processing for distributing and updating software to a group of machines of a target computer system. The target machine group includes, for example, a first machine that is activated (for example, an active machine) and a second machine that is stopped (for example, a standby machine). The software distribution system includes a first means for managing configuration information including a state of a machine group and a software configuration, a second means for executing software distribution to the machine group, and a start and stop state of the machine group. And third means for operation (control). When executing software distribution by the second means, the software distribution system starts the stopped second machine by the third means based on the configuration information, and includes each of the first and second machines. Software data information is transmitted to the machine to update the software of each machine. After the update, the second machine in the activated state is stopped by the third means, and the result is converted to the configuration information by the first means. Process to reflect.

上記構成により、自動的に対象の各マシンのソフトウェアを同じ時間(概略同じタイミング)に更新することで、各マシンのソフトウェア構成を同一(最新)になるように維持可能であり、ユーザの作業負担及びリードタイムが無い又は少ない、適切なソフトウェア配布(更新)及びスケールアウトが実現される。   With the above configuration, by automatically updating the software of each target machine at the same time (approximately the same timing), the software configuration of each machine can be maintained to be the same (latest), and the user's work load Appropriate software distribution (update) and scale-out can be realized with little or no lead time.

本発明によれば、ソフトウェア配布(更新)の対象となるコンピュータシステムにおいてスケールアウト用の待機系マシン等がある場合においても、ユーザによる特別の作業負担などを必要とすることなく、またリードタイム無く又は少なく、適切にソフトウェア配布(更新)及びスケールアウトを行うことができる。   According to the present invention, even when there is a standby machine for scale-out in a computer system to be distributed (updated), there is no need for a special work load by the user and there is no lead time. Alternatively, software distribution (update) and scale-out can be performed appropriately.

本発明の一実施の形態のソフトウェア配布システムとその配布対象マシン等(管理対象)を含むコンピュータシステム全体の構成例を示す図である。It is a figure which shows the structural example of the whole computer system containing the software distribution system of one embodiment of this invention, its distribution object machine, etc. (management object). 本ソフトウェア配布システムにおける構成情報格納部に格納されるマシン情報の詳細内容例を示す図である。It is a figure which shows the detailed content example of the machine information stored in the structure information storage part in this software distribution system. 本ソフトウェア配布システムにおける構成情報格納部に格納されるソフトウェアインストール情報の詳細内容例を示す図である。It is a figure which shows the example of the detailed content of the software installation information stored in the structure information storage part in this software distribution system. 本ソフトウェア配布システムにおける、(a)配布前、(b)配布後におけるソフトウェアインストール情報の変更箇所の例を示す図である。It is a figure which shows the example of the change location of the software installation information before (a) distribution before (b) distribution in this software distribution system. 本ソフトウェア配布システムにおけるソフトウェア配布処理(配布制御処理)のフローチャートである。It is a flowchart of the software distribution process (distribution control process) in this software distribution system. 本ソフトウェア配布システムにおける、(a)稼働系マシンの遷移表、(b)待機系マシンの遷移表を示す図である。It is a figure which shows the transition table of (a) active machine and (b) standby machine in this software distribution system. (a)従来技術例、(b)本実施の形態のソフトウェア配布システムにおける、コンピュータシステムの各種マシンのソフトウェア配布(更新)及びスケールアウト等に関するタイミングや状態遷移の事例を模式的に示す図である。(A) A prior art example, (b) It is a figure which shows typically the example of the timing and state transition regarding software distribution (update) of various machines of a computer system, scale-out, etc. in the software distribution system of this Embodiment. .

以下、本発明の一実施の形態によるソフトウェア配布システムについて図面を参照して詳細に説明する。なおソフトウェアの「配布」とは、「更新」の意味を含むものとする。   Hereinafter, a software distribution system according to an embodiment of the present invention will be described in detail with reference to the drawings. It should be noted that “distribution” of software includes the meaning of “update”.

[概要]
本実施の形態のソフトウェア配布システム101(図1等)は、ソフトウェア150の配布・更新のために、スケールアウト用の待機系マシン112などを含む各マシン110の起動や停止などの状態を操作(制御)する手段(マシン操作部104、配布エージェント120等)を有する。また、各マシン110のソフトウェアのバージョンを含む構成に関する構成情報を管理し(配布制御部102、構成情報格納部105等)、停止状態の待機系マシン112などを含め、対象のコンピュータシステムの各マシン110のソフトウェア構成を常に把握する機能を有する。これにより、ソフトウェア150のバージョンアップ等に伴う配布の際には、起動が必要な停止状態の待機系マシン112を起動させ、そして、既存の起動している稼動系マシン111と、当該起動させた待機系マシン112とを含む各マシン110において、同じ時間にソフトウェア150(151,152)の更新を行うことができる。これにより、稼動系マシン111と待機系マシン112とでソフトウェア構成を常に差異無く維持可能とする。本システムでは、上記配布・更新に係わる制御を、ユーザ(運用者等)による特別の作業を必要無く自動的に実現する。本システムでは、スケールアウト(ON/OFF)時、上記ソフトウェア構成に差異が無いため、リードタイムを無くす又は減少することができる。
[Overview]
The software distribution system 101 (FIG. 1, etc.) according to the present embodiment manipulates the state of each machine 110 including the standby machine 112 for scale-out, such as starting and stopping, for the distribution / update of the software 150 ( Control means (machine operation unit 104, distribution agent 120, etc.). In addition, the configuration information related to the configuration including the software version of each machine 110 is managed (distribution control unit 102, configuration information storage unit 105, etc.), and each machine of the target computer system including the standby machine 112 in the stopped state 110 has a function of constantly grasping the software configuration. As a result, at the time of distribution accompanying the upgrade of the software 150 or the like, the standby system machine 112 in the stopped state that needs to be activated is activated, and the active machine 111 that is already activated is activated. In each machine 110 including the standby machine 112, the software 150 (151 and 152) can be updated at the same time. As a result, the software configuration of the active machine 111 and the standby machine 112 can always be maintained without any difference. In this system, control related to the above distribution / update is automatically realized without the need for special work by a user (operator, etc.). In this system, since there is no difference in the software configuration at scale-out (ON / OFF), the lead time can be eliminated or reduced.

[システム]
図1は、本発明の一実施の形態であるソフトウェア配布システム101と、その管理対象であるソフトウェア配布対象のマシン110等とを含むコンピュータシステム全体の構成例を示す。本コンピュータシステム全体において、ソフトウェア配布システム101を備えるマシン(ソフトウェア配布マシン)100と、対象(ソフトウェア配布対象)のコンピュータシステムのマシン110(対象マシン(群))とを有し、これらはネットワーク等の手段を通じて接続される。またマシン100(ソフトウェア配布システム101)は、構成情報格納部105を接続(または内蔵)する。対象のコンピュータシステムは、複数のマシン110として、1つ以上の稼働系マシン111、1つ以上の待機系マシン112を含む。また各マシン110(111,112)は、ソフトウェア配布システム101の一部である配布エージェント120(121,122)を備える。また各マシン110(111,112)は、スケールアウト構成に対応した負荷分散装置130と接続される。
[system]
FIG. 1 shows an example of the overall configuration of a computer system including a software distribution system 101 according to an embodiment of the present invention and a software distribution target machine 110 that is the management target. The entire computer system has a machine (software distribution machine) 100 including a software distribution system 101 and a machine 110 (target machine (group)) of a target (software distribution target) computer system, such as a network. Connected through means. The machine 100 (software distribution system 101) connects (or incorporates) the configuration information storage unit 105. The target computer system includes one or more active machines 111 and one or more standby machines 112 as a plurality of machines 110. Each machine 110 (111, 112) includes a distribution agent 120 (121, 122) which is a part of the software distribution system 101. Each machine 110 (111, 112) is connected to a load balancer 130 corresponding to a scale-out configuration.

マシン100は、配布管理する対象のソフトウェア150(更新用のデータ情報など)を有する。対象の各マシン110(111,112)は、ソフトウェア150の配布管理に基づきインストールされるソフトウェア151,152を有する。構成情報格納部105は、データベースやストレージ等により構成され、格納する構成情報として、マシン情報200(図2)、ソフトウェアインストール情報300(図3,図4)などを有する。   The machine 100 includes software 150 (data information for update, etc.) to be distributed and managed. Each target machine 110 (111, 112) has software 151, 152 installed based on distribution management of the software 150. The configuration information storage unit 105 is configured by a database, storage, and the like, and includes machine information 200 (FIG. 2), software installation information 300 (FIGS. 3 and 4), and the like as configuration information to be stored.

ソフトウェア配布システム101は、コンポーネント(プログラムモジュール等)として、(1)配布制御部102、(2)配布実行部103、及び(3)マシン操作部104を有する。本実施の形態のソフトウェア配布システム101は、主にマシン100上でのこれらコンポーネントによるプログラム処理などにより実現される。   The software distribution system 101 includes (1) a distribution control unit 102, (2) a distribution execution unit 103, and (3) a machine operation unit 104 as components (program modules and the like). The software distribution system 101 according to the present embodiment is realized mainly by program processing using these components on the machine 100.

配布制御部102は、スケールアウト構成に対応したマシン110へのソフトウェア配布を統括制御する機能を持ち、他の部位(103,104等)の制御や、構成情報格納部105に対する構成情報の管理(取得・更新など)の処理を行う。配布制御部102は、図5で示す配布制御処理のフローを実行することで上記制御を実現する。配布制御部102により、各マシン110の属性や状態、及びソフトウェア構成などについて常に把握し、構成情報格納部105の構成情報に管理する。   The distribution control unit 102 has a function of comprehensively controlling software distribution to the machine 110 corresponding to the scale-out configuration, controls other parts (103, 104, etc.), and manages configuration information for the configuration information storage unit 105 ( Process). The distribution control unit 102 implements the above control by executing the flow of the distribution control process shown in FIG. The distribution control unit 102 always grasps the attributes and states of each machine 110, the software configuration, and the like, and manages the configuration information in the configuration information storage unit 105.

配布実行部103は、対象のマシン110(111,112)にインストールされている配布エージェント120(121,122)と連携し、ソフトウェア150(151,152)の配布を実行する処理を行う。配布実行部103は、配布制御部102に従い、対象のソフトウェア150(更新用のデータ情報など)を対象のマシン110の配布エージェント120へ送信する機能、及び、配布エージェント120により行った当該マシン110でのソフトウェアのインストールや更新などの実行の結果情報を受信(取得)し、配布制御部102に送信する機能、等を有する。   The distribution execution unit 103 performs processing for executing distribution of the software 150 (151 and 152) in cooperation with the distribution agent 120 (121 and 122) installed in the target machine 110 (111 and 112). In accordance with the distribution control unit 102, the distribution execution unit 103 has a function of transmitting the target software 150 (update data information and the like) to the distribution agent 120 of the target machine 110, and the machine 110 performed by the distribution agent 120. A function of receiving (acquiring) execution result information such as installation and update of software and transmitting the information to the distribution control unit 102.

マシン操作部104は、配布エージェント120と連携して、ソフトウェア配布に係わる各マシン110の起動及び停止などの操作(制御)を、ネットワーク等を介して遠隔で行う機能を有する。これによる各マシン110の起動及び停止などの状態も把握される。   The machine operation unit 104 has a function of performing operations (control) such as starting and stopping of each machine 110 related to software distribution remotely through a network or the like in cooperation with the distribution agent 120. This also grasps the state of each machine 110 such as starting and stopping.

配布エージェント120(121,122)は、対象のマシン110(稼動系マシン111,待機系マシン112)に予めインストールされ、ソフトウェア配布システム101(配布実行部103やマシン操作部104)と連携する。配布エージェント120は、マシン110上でのプログラム処理などにより実現され、以下のような機能を有する。(1)マシン110の起動時、マシン操作部104へ、起動完了(状態)を示す情報を送信する(即ちマシン110の起動や停止の状態を把握する機能)。(2)ソフトウェア150の配布時、配布実行部103から受信したソフトウェア150(更新用のデータ情報など)を、当該マシン110にインストールないし更新する。(3)上記配布の実行の結果(更新完了など)の情報を、配布実行部103へ送信する(即ちマシン110のソフトウェア構成を把握する機能)。   The distribution agent 120 (121, 122) is installed in advance on the target machine 110 (active machine 111, standby machine 112) and cooperates with the software distribution system 101 (distribution execution unit 103 or machine operation unit 104). The distribution agent 120 is realized by program processing on the machine 110 and has the following functions. (1) When the machine 110 is activated, information indicating completion (status) of activation is transmitted to the machine operation unit 104 (that is, a function for grasping the activation or deactivation status of the machine 110). (2) During distribution of the software 150, the software 150 (update data information, etc.) received from the distribution execution unit 103 is installed or updated in the machine 110. (3) Information on the result of execution of the distribution (update completion or the like) is transmitted to the distribution execution unit 103 (that is, a function for grasping the software configuration of the machine 110).

また図1の例は、負荷分散装置130を使用するシステム構成の場合である。マシン110は例えばクライアント端末等に対してサービス処理を提供するサーバ装置などである。負荷分散装置130は、クライアント端末等からのマシン110に対するアクセスを、負荷やスケールアウトの状況などに応じて振り分けることで負荷分散する。   The example of FIG. 1 is a system configuration that uses the load balancer 130. The machine 110 is, for example, a server device that provides service processing to a client terminal or the like. The load distribution device 130 distributes the load by distributing access to the machine 110 from a client terminal or the like according to a load or a scale-out situation.

また図1の例では、簡単のため、マシン110として稼動系マシン111及び待機系マシン112を1台ずつ示している。即ち1台単位でのスケールアウト(ON/OFF)を可能とする場合である。これに限らず、各マシン111,112を複数台として、複数台単位でのスケールアウトを可能としても構わない。   In the example of FIG. 1, for the sake of simplicity, one active machine 111 and one standby machine 112 are shown as the machines 110. That is, it is a case where scale-out (ON / OFF) in units of one unit is possible. However, the present invention is not limited to this, and a plurality of machines 111 and 112 may be used to enable scale-out in units of a plurality of machines.

本ソフトウェア配布システム101は、上述したような機能(スケールアウト構成に対応したソフトウェア配布の機能)を備えることにより、各マシン110について、常時起動の稼働系マシン111か、通常(スケールアウトOFF時)は停止状態の待機系マシン112か等を把握し、またマシン110の起動や停止の自動操作(制御)を可能とする。   The present software distribution system 101 has the above-described functions (software distribution function corresponding to the scale-out configuration), so that each machine 110 can be an active machine 111 that is always started or normal (when scale-out is OFF). Identifies whether the standby machine 112 is in a stopped state, and enables automatic operation (control) of starting and stopping of the machine 110.

[構成管理情報]
ソフトウェア配布システム101が管理する構成情報格納部105に格納される構成情報の例として、図2に示すマシン情報200、図3,図4に示すソフトウェアインストール情報300を有する。
[Configuration management information]
Examples of configuration information stored in the configuration information storage unit 105 managed by the software distribution system 101 include machine information 200 illustrated in FIG. 2 and software installation information 300 illustrated in FIGS. 3 and 4.

図2は、更新対象になるマシン110についてのマシン情報200の詳細内容例を示す。図2のマシン情報200では、(1)マシン識別子(ID)、(2)マシン名(mashine_name)、(3)属性(mashine_attribute)、(4)状態(status)、等を有する。(3)の属性は、(1)「通常」、(2)「待機」、等を有する。「通常」は、稼働系、即ち通常業務などでスケールアウト状態(ON/OFF)に依らずに常時起動することを表す。「待機」は、待機系、即ちスケールアウト(ON)時のみ起動することを表す。(4)の状態は、現在のマシン110の稼働や停止等に関する状態を示し、本実施の形態では、(1)「起動A」、(2)「起動B」、(3)「停止」、等を有する。「起動A」(通常業務起動)は、通常業務などのために起動している状態を表す。「起動B」(メンテナンス起動)は、ソフトウェア配布を含むメンテナンスなどのために起動している状態を表す。「停止」は、停止している状態(例えば電源オフあるいはスリープ等の状態)を表す。   FIG. 2 shows a detailed content example of the machine information 200 for the machine 110 to be updated. The machine information 200 in FIG. 2 includes (1) machine identifier (ID), (2) machine name (mashine_name), (3) attribute (mashine_attribute), (4) status (status), and the like. The attributes of (3) include (1) “normal”, (2) “standby”, and the like. “Normal” indicates that the system is always activated in the active system, that is, in the normal business, regardless of the scale-out state (ON / OFF). “Standby” indicates that the system is activated only in the standby system, that is, in scale-out (ON). The state of (4) indicates a state relating to the current operation or stop of the machine 110. In this embodiment, (1) “Start A”, (2) “Start B”, (3) “Stop”, Etc. “Activation A” (normal business activation) represents a state of activation for normal business or the like. “Activation B” (maintenance activation) represents an activated state for maintenance including software distribution. “Stopped” represents a stopped state (for example, a power-off state or a sleep state).

図3は、ソフトウェアインストール情報300の詳細内容例を示す。図3のソフトウェアインストール情報300では、(1)インストール済みソフトウェア情報(識別子)、(2)マシン識別子(mashine_ID)、(3)ソフトウェア名(software)、(4)バージョン情報(version)、等を有する。(1)は、マシンにインストール済みのソフトウェアに関する情報(識別子)である。(2)のマシン識別子は、マシン情報200の(1)のマシン識別子と関連付けされるものである。   FIG. 3 shows an example of detailed contents of the software installation information 300. 3 includes (1) installed software information (identifier), (2) machine identifier (mashine_ID), (3) software name (software), (4) version information (version), and the like. . (1) is information (identifier) related to software installed in the machine. The machine identifier (2) is associated with the machine identifier (1) of the machine information 200.

即ち、上記図2〜図3のような構成情報の管理により、対象のコンピュータシステムの各マシン110に備えるソフトウェア(151,152)のバージョンを含む構成が随時把握される。   That is, by managing the configuration information as shown in FIGS. 2 to 3, the configuration including the version of the software (151, 152) provided in each machine 110 of the target computer system is grasped as needed.

図4は、図3のソフトウェアインストール情報300における、ソフトウェア配布による内容の変更(更新)の例を示す。(a)は配布前、(b)は配布後である。   FIG. 4 shows an example of content change (update) by software distribution in the software installation information 300 of FIG. (A) is before distribution, (b) is after distribution.

まず(a)で、本例では、図1の稼働系マシン111はマシン識別子が“1”、待機系マシン112はマシン識別子が“2”である。稼働系マシン111及び待機系マシン112の各々は、ソフトウェア(software)として“Webサーバ_1”をインストールしており、そのバージョン(version)は“2.3”であるとする。   First, in (a), in this example, the active machine 111 in FIG. 1 has a machine identifier “1”, and the standby machine 112 has a machine identifier “2”. Each of the active machine 111 and the standby machine 112 has “Web server_1” installed as software, and its version is “2.3”.

そして(b)のように、本例では、ソフトウェアのバージョンアップ及び配布の実行により、上記各マシン110の“Webサーバ_1”のバージョンが“2.3”から“2.4”へ更新される場合を示している。配布実行部103等による配布の動作に伴い、ソフトウェアインストール情報300のバージョンの値が図示の通り“2.3”から“2.4”に更新される。   And as shown in (b), this example shows a case where the version of “Web server_1” of each machine 110 is updated from “2.3” to “2.4” by executing software upgrade and distribution. ing. With the distribution operation by the distribution execution unit 103 or the like, the version value of the software installation information 300 is updated from “2.3” to “2.4” as illustrated.

[処理フロー]
次に図5を用いて、本ソフトウェア配布システム101におけるソフトウェア配布処理(配布制御処理)について各コンポーネントの動作とともに説明する(Sは処理ステップ等を示す)。
[Processing flow]
Next, with reference to FIG. 5, a software distribution process (distribution control process) in the software distribution system 101 will be described along with the operation of each component (S indicates a processing step or the like).

まずS501で、配布制御部102は、構成情報格納部105のソフトウェアインストール情報300から、配布の対象になるマシン110のマシン情報200を取得する。S502以下、S511までのループにおいて、上記取得した対象のマシン110の台数分の処理を同様に繰り返し行う。   First, in step S <b> 501, the distribution control unit 102 acquires the machine information 200 of the machine 110 to be distributed from the software installation information 300 in the configuration information storage unit 105. In the loop from S502 to S511, the processing for the number of the acquired target machines 110 is repeated in the same manner.

S503では、配布制御部102は、マシン情報200をもとに対象のマシン110の属性(attribute)及び状態(status)を調べて判定する。S503の判定では、当該マシン110の属性が「待機」、且つ状態が「停止」である場合(即ち停止状態の待機系マシン112の場合)、S504へ進み、当該マシン情報200をマシン操作部104に渡す。   In S <b> 503, the distribution control unit 102 checks and determines the attribute (attribute) and status (status) of the target machine 110 based on the machine information 200. In the determination in S503, if the attribute of the machine 110 is “standby” and the state is “stopped” (that is, the standby machine 112 in the stopped state), the process proceeds to S504, and the machine information 200 is transferred to the machine operation unit 104. To pass.

S504では、マシン操作部104により、当該マシン110(待機系マシン112)を起動させる。起動後、S505で、当該マシン110の状態を「停止」から「起動B」(メンテナンス起動)へ変更(遷移)させる。即ち配布制御部102は、構成情報格納部105のマシン情報200における当該マシン110の状態を「起動B」に更新する。そして当該マシン情報200を配布実行部103に渡し、S506へ進む。   In S504, the machine operating unit 104 activates the machine 110 (standby machine 112). After startup, in S505, the state of the machine 110 is changed (transitioned) from “stop” to “start B” (maintenance start). That is, the distribution control unit 102 updates the state of the machine 110 in the machine information 200 of the configuration information storage unit 105 to “activation B”. Then, the machine information 200 is transferred to the distribution execution unit 103, and the process proceeds to S506.

上記S504のマシン操作部104によるマシン起動処理の内容例は以下である。まず、マシン操作部104は、配布制御部102から送信されたマシン情報200を受信(取得)する。次に、マシン操作部104は、起動の対象のマシン110を起動(メンテナンス起動)させる。本実施の形態では、マシン100のマシン操作部104から、対象のマシン110の配布エージェント120へ、起動(例えば電源オンあるいはスリープからの復帰など)の指示などを送信する。これに従い当該配布エージェント120により当該マシン110を起動させる。   An example of the contents of the machine activation process by the machine operation unit 104 in S504 is as follows. First, the machine operation unit 104 receives (acquires) the machine information 200 transmitted from the distribution control unit 102. Next, the machine operation unit 104 activates (starts up maintenance) the machine 110 to be activated. In the present embodiment, an instruction for activation (for example, power-on or return from sleep) is transmitted from the machine operation unit 104 of the machine 100 to the distribution agent 120 of the target machine 110. Accordingly, the distribution agent 120 activates the machine 110.

そして、対象マシン110の配布エージェント120は、起動完了などのマシン操作の結果の情報を、マシン操作部104へ送信する。マシン操作部104は、当該マシン110の配布エージェント120から上記結果の情報を待ち受けて受信する。そしてマシン操作部104から配布制御部102へ結果を通知する(S505へつながる)。これにより、対象マシン110の「起動B」状態(即ちソフトウェア配布が可能な状態)等が確認される。   Then, the distribution agent 120 of the target machine 110 transmits information on the result of the machine operation such as the start completion to the machine operation unit 104. The machine operation unit 104 waits for and receives the result information from the distribution agent 120 of the machine 110. Then, the result is notified from the machine operation unit 104 to the distribution control unit 102 (leading to S505). As a result, the “start-up B” state of the target machine 110 (that is, a state where software distribution is possible) or the like is confirmed.

また、仮想環境上に対象マシン110が存在する場合、S504の処理は以下のような例としてもよい。この場合、マシン110の起動に配布エージェント120は必要無く、仮想環境を作成しているソフトウェアが提供するAPI(コマンド)によって(起動の)実現が可能である。   Further, when the target machine 110 exists in the virtual environment, the processing in S504 may be as follows. In this case, the distribution agent 120 is not required to start the machine 110, and can be realized (started) by an API (command) provided by software that creates a virtual environment.

一方、前記S503の判定で、属性及び状態が、その他(「待機」且つ「停止」以外)の場合は、S506へ進み、当該マシン110のマシン情報200を配布実行部103に渡す。   On the other hand, if it is determined in S503 that the attribute and state are other (other than “standby” and “stop”), the process proceeds to S506, and the machine information 200 of the machine 110 is passed to the distribution execution unit 103.

S506では、配布実行部103により対象マシン110に対するソフトウェア配布を実行する。即ち、配布マシン100の配布実行部103から、ネットワーク等を介して、対象マシン110の配布エージェント120へ、対象のソフトウェア150(最新のバージョン)のインストール・更新用のデータ情報などを配布(送信)する。対象マシン110の配布エージェント120は、上記受信したデータ情報を用いて、当該マシン110の対象のソフトウェア(151,152)をインストール・更新する。そしてその更新完了などの配布実行の結果の情報を、配布マシン100の配布実行部103へ送信する。なお上記は1台単位の配布実行処理の場合であるが、複数台ある場合は同様に複数台へ同時並行的に配布実行処理を行ってもよい。   In S <b> 506, the distribution execution unit 103 executes software distribution to the target machine 110. That is, the distribution execution unit 103 of the distribution machine 100 distributes (sends) data information for installation / update of the target software 150 (latest version) to the distribution agent 120 of the target machine 110 via the network or the like. To do. The distribution agent 120 of the target machine 110 installs / updates the target software (151, 152) of the target machine 110 using the received data information. Then, information on the result of distribution execution such as completion of the update is transmitted to the distribution execution unit 103 of the distribution machine 100. Note that the above is the case of the distribution execution process in units of one unit. However, when there are a plurality of units, the distribution execution process may be simultaneously performed on a plurality of units.

上記S506の配布実行後、S507で、配布制御部102は、配布実行部103から受信した上記結果(更新完了など)の情報に従い、構成情報格納部105のソフトウェアインストール情報300の内容を更新する。更新内容の例は前記図4の通りであり、例えば稼動系マシン111(「起動A」状態)及び待機系マシン112(「起動B」状態)の双方のソフトウェアが同じ最新のバージョンに更新されることになる。   After executing the distribution in S506, in S507, the distribution control unit 102 updates the contents of the software installation information 300 in the configuration information storage unit 105 according to the information on the result (update completion, etc.) received from the distribution execution unit 103. An example of the update contents is as shown in FIG. 4. For example, the software of both the active machine 111 (“Startup A” state) and the standby machine 112 (“Startup B” state) is updated to the same latest version. It will be.

次に、S508で、配布制御部102は、マシン情報200における対象のマシン110の状態(status)を判定する。当該マシン110の状態が「起動B」(メンテナンス起動)である場合(即ちS504で起動させた待機系マシン112の場合)、S509へ進み、マシン操作部104に当該マシン情報200を渡す。   In step S <b> 508, the distribution control unit 102 determines the status (status) of the target machine 110 in the machine information 200. When the state of the machine 110 is “start-up B” (maintenance start-up) (that is, in the case of the standby machine 112 started up in S504), the process proceeds to S509, and the machine information 200 is passed to the machine operation unit 104.

S509では、マシン操作部104により、当該マシン110を停止させる。この停止処理は、例えば前記S504と同様に配布エージェント120を用いて、停止の指示などを授受することによる。そして、S509の停止の結果をもとに、S510では、配布制御部102は、構成情報格納部105のマシン情報200における当該マシン110の状態を「起動B」から「停止」へ更新する。   In S509, the machine operation unit 104 stops the machine 110. This stop process is performed by, for example, sending and receiving a stop instruction or the like using the distribution agent 120 as in S504. Then, based on the result of the stop in S509, in S510, the distribution control unit 102 updates the state of the machine 110 in the machine information 200 of the configuration information storage unit 105 from “start B” to “stop”.

[事例]
図7は、(a)従来技術例(前述)、(b)本実施の形態における、コンピュータシステムの各種マシンのソフトウェア配布及びスケールアウト等に関するタイミングや状態遷移の事例を模式的に示している。
[Case]
FIGS. 7A and 7B schematically show examples of timings and state transitions related to software distribution and scale-out of various machines of a computer system in this embodiment.

(a)従来技術例において、最初、稼働系マシン(「起動」状態)及び待機系マシン(「停止」状態)は、同一のバージョン(v1)のソフトウェア構成とし、またスケールアウトは行われていない(OFF)状態とする。次にある時点(t1)で、最新のバージョン(v2)のソフトウェアの配布が各マシンに対して実行されたとする(t1〜t2)。この際、「起動」状態の稼働系マシンに対しては当該配布が適用されるが、「停止」状態の待機系マシンに対しては適用されない。稼働系マシンは、配布の終了の時点(t2)から最新の構成(v2)となるが、待機系マシンは、古い構成(v1)のままである。   (A) In the prior art example, first, the active machine ("started" state) and the standby machine ("stopped" state) have the same version (v1) software configuration and are not scaled out. (OFF) state. Next, it is assumed that distribution of the latest version (v2) software is executed for each machine at a certain time (t1) (t1 to t2). At this time, the distribution is applied to the active machine in the “started” state, but is not applied to the standby machine in the “stopped” state. The active machine has the latest configuration (v2) from the end of distribution (t2), but the standby machine remains in the old configuration (v1).

またその後ある時点(t4)で、特許文献1等の技術により、定期的なタイミングでの同期が行われたとする(t4〜t5)。これにより、稼働系マシン(v2)のデータを、「起動」状態にした待機系マシン(v1)へコピー(反映)することで、待機系マシンのソフトウェア構成(v1)が稼働系マシンと同じもの(v2)に更新(同期)される。   Further, at a certain time (t4), it is assumed that synchronization at a regular timing is performed (t4 to t5) by the technique of Patent Document 1 or the like. As a result, by copying (reflecting) the data of the active machine (v2) to the standby machine (v1) in the “started” state, the software configuration (v1) of the standby machine is the same as that of the active machine Updated (synchronized) to (v2).

上記例では、701のように、稼働系−待機系の両者のソフトウェア構成に差異(ズレ)がある時間(t2〜t4)が生じている。   In the above example, a time (t2 to t4) in which there is a difference (deviation) between the software configurations of the active system and the standby system is generated as in 701.

また、上記時間(t2〜t4)中、ある時点(t3)で、条件(コンピュータシステムの高負荷状態など)に基づきスケールアウト(ON)が行われた場合、上記ソフトウェア構成の差異があるため問題がある。よって、ユーザ手動操作などによって待機系マシンのソフトウェア構成(v1)を最新化する作業が必要となる。   In addition, when scale-out (ON) is performed based on conditions (such as a high load state of a computer system) at a certain time (t3) during the time (t2 to t4), there is a problem because there is a difference in the software configuration. There is. Therefore, it is necessary to update the software configuration (v1) of the standby machine by a user manual operation or the like.

(b)本実施の形態において、最初、稼働系マシン111及び待機系マシン112は、同一のバージョン(v1)のソフトウェア構成とし、またスケールアウトは行われていない(OFF)状態、即ち稼働系マシン111は「起動A」状態、待機系マシン112は「停止」状態、とする。次にある時点(t1)で、最新のバージョン(v2)のソフトウェアの配布が各マシン110に対して実行されたとする。この際、前述の配布制御(図5)に従い、待機系マシン112はメンテナンス起動される(「停止」から「起動B」状態へ遷移)。稼働系マシン111は「起動A」状態のままである。そして、両者(111,112)に対して、当該ソフトウェア(v2)が配布・更新される(t1〜t2)。更新完了後(t2)、稼働系マシン111については「起動A」状態、待機系マシン112については「停止」状態へ戻る。   (B) In this embodiment, first, the active machine 111 and the standby machine 112 have the same version (v1) software configuration and are not scaled out (OFF), that is, the active machine Assume that 111 is in the “startup A” state, and the standby machine 112 is in the “stopped” state. Next, it is assumed that distribution of the latest version (v2) software is executed to each machine 110 at a certain time (t1). At this time, according to the distribution control (FIG. 5) described above, the standby machine 112 is activated for maintenance (transition from “stop” to “start B” state). The active machine 111 remains in the “startup A” state. Then, the software (v2) is distributed / updated for both (111, 112) (t1-t2). After the update is completed (t2), the active machine 111 returns to the “start A” state, and the standby machine 112 returns to the “stop” state.

またその後ある時点(t3)で、条件(コンピュータシステムの高負荷状態など)に基づきスケールアウト(ON)が行われた場合、待機系マシン112は「起動A」状態へ遷移される。   If the scale-out (ON) is performed based on conditions (such as a high load state of the computer system) at a certain time (t3) thereafter, the standby machine 112 is transitioned to the “startup A” state.

上記(b)では、(a)のような稼働系−待機系でソフトウェア構成の差異が生じる時間(701)が無いため、(a)のようなスケールアウト(ON/OFF)に伴う問題が無い。   In (b) above, since there is no time (701) in which a difference in software configuration occurs between the active system and the standby system as in (a), there is no problem associated with scale-out (ON / OFF) as in (a). .

図6は、本実施の形態で、(a)稼働系マシンの遷移表、(b)待機系マシンの遷移表を示す。遷移元の状態(status)と条件の場合に応じて、どの遷移先の状態に遷移するかについて例をまとめて記載している。例えば、(a)で、稼働系マシンについては、通常は常時起動しており、基本的に状態の遷移を行わない。また停止状態の場合も何らかの原因があると考え、ソフトウェア配布のときでも起動状態への遷移は行わない。また、(b)で、待機系マシンについては、ソフトウェア配布中でのスケールアウト(ON/OFF)は行わない。   FIG. 6 shows (a) a transition table of active machines and (b) a transition table of standby machines in the present embodiment. Examples of the transition destination state to be transitioned according to the state (status) and condition of the transition source are collectively described. For example, in (a), the active machine is normally activated at all times and basically does not undergo state transition. Even in the stopped state, it is considered that there is some cause, and the transition to the activated state is not performed even during software distribution. In (b), the standby machine is not scaled out (ON / OFF) during software distribution.

[効果等]
以上説明したように、本実施の形態のソフトウェア配布システム101によれば、スケールアウト構成の待機系マシン112があるコンピュータシステム(マシン110)に対するソフトウェア150の配布においても、ユーザ(運用者等)による特別の作業負担(前述した例えば同期などの手順)及びリードタイムなど必要無く、適切にソフトウェア配布及びスケールアウトを行うことができる。
[Effects]
As described above, according to the software distribution system 101 of the present embodiment, the user (operator or the like) distributes the software 150 to the computer system (machine 110) having the standby machine 112 having the scale-out configuration. Software distribution and scale-out can be performed appropriately without requiring a special work load (for example, the procedure such as synchronization described above) and lead time.

ユーザは、スケールアウト用のマシン等(稼動系か待機系か等)を意識する必要無く、例えば更新対象のソフトウェア150を選択する等の簡単な作業だけで、自動的・一括的に、対象のコンピュータシステムの必要なマシン110のすべて(停止状態の待機系マシン112を含む)に対して、ソフトウェア150の配布・更新を行うことができる。本ソフトウェア配布システム101では、スケールアウト構成のシステムを、他のシステム(非スケールアウト構成など)と同様に扱うことができ、スケールアウト実行時(ON)には、各マシン110のソフトウェア構成が同じに維持されているので、リードタイム無く即座に適切なスケールアウト(ON/OFF)を行うことができる。   The user does not need to be aware of the scale-out machine etc. (whether the system is active or standby), and can automatically and collectively select the target by simple operation such as selecting the software 150 to be updated. The software 150 can be distributed / updated to all the machines 110 that require the computer system (including the standby machine 112 in the stopped state). In this software distribution system 101, a scale-out configuration system can be handled in the same manner as other systems (non-scale-out configuration, etc.), and the software configuration of each machine 110 is the same at the time of scale-out execution (ON). Therefore, appropriate scale-out (ON / OFF) can be performed immediately without lead time.

また本システムでは、「起動A」,「起動B」のように、起動の種類を分けて管理している。これにより、待機系マシン112が稼動しているスケールアウト(ON)中においてソフトウェア配布を行った場合でも、待機系マシン112が配布前の状態に戻ることができる。   Further, in this system, the types of activation are managed separately, such as “activation A” and “activation B”. Thereby, even when software distribution is performed during the scale-out (ON) in which the standby machine 112 is operating, the standby machine 112 can return to the state before distribution.

以上、本発明者によってなされた発明を実施の形態に基づき具体的に説明したが、本発明は前記実施の形態に限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることは言うまでもない。   As mentioned above, the invention made by the present inventor has been specifically described based on the embodiment. However, the present invention is not limited to the embodiment, and various modifications can be made without departing from the scope of the invention. Needless to say.

本発明は、例えば企業の情報処理システム、クラウド環境におけるサーバシステムなど、所定のコンピュータシステムを運用する環境において、特にスケールアウト構成を持つ場合のソフトウェア更新に有効に利用可能である。   INDUSTRIAL APPLICABILITY The present invention can be effectively used for software update particularly in an environment in which a predetermined computer system is operated, such as a corporate information processing system and a server system in a cloud environment, particularly when having a scale-out configuration.

100…マシン(ソフトウェア配布マシン)、101…ソフトウェア配布システム、102…配布制御部、103…配布実行部、104…マシン操作部、105…構成情報格納部、110…マシン(対象マシン(群))、111…稼動系マシン、112…待機系マシン、120(121,122)…配布エージェント、130…負荷分散装置、150,151,152…ソフトウェア、200…マシン情報、300…ソフトウェアインストール情報。   DESCRIPTION OF SYMBOLS 100 ... Machine (software distribution machine) 101 ... Software distribution system 102 ... Distribution control part 103 ... Distribution execution part 104 ... Machine operation part 105 ... Configuration information storage part 110 ... Machine (target machine (group)) , 111 ... active machine, 112 ... standby machine, 120 (121, 122) ... distribution agent, 130 ... load balancer, 150, 151, 152 ... software, 200 ... machine information, 300 ... software installation information.

Claims (5)

対象のコンピュータシステムのマシン群に対してソフトウェアを配布して更新させる処理を行うソフトウェア配布システムであって、
前記マシン群は、スケールアウト構成に対応した第1及び第2のマシンを含み、前記第1のマシンの属性は、スケールアウトの実行/非実行に依らずに起動する状態となる稼動系であり、前記第2のマシンの属性は、スケールアウトの非実行時に停止する状態となりスケールアウトの実行時に起動する状態となる待機系であり、
前記ソフトウェア配布システムは、
前記マシン群に関する構成情報を管理する第1の処理部と、
前記マシン群に対するソフトウェアの配布を実行する第2の処理部と、
前記マシン群の起動や停止の状態を操作する第3の処理部と、を有し、
前記ソフトウェア配布システムは、
前記第1の処理部により、停止状態のマシンを含む前記マシン群について、スケールアウト構成に関する属性、状態、及びソフトウェア構成に関する情報を構成情報として管理し、
前記第2の処理部により前記ソフトウェアの配布を実行する際、前記構成情報に基づき各マシンの属性及び状態を判定し、
前記第2のマシンが停止状態の場合、前記第3の処理部により当該第2のマシンを起動して、前記第1の処理部により前記構成情報で停止状態から起動状態へ遷移させ、
前記第2の処理部により前記第1及び第2のマシンを含む各マシンに対して同じ時間で前記ソフトウェアのデータ情報を送信して各マシンのソフトウェアを更新させ、前記第1の処理部により当該更新の結果を前記構成情報に反映し、
前記構成情報に基づき各マシンの属性及び状態を判定し、前記第2のマシンが起動状態の場合、前記第3の処理部により当該マシンを停止して、前記第1の処理部により前記構成情報で起動状態から停止状態へ遷移させること、を特徴とするソフトウェア配布システム。
A software distribution system that distributes and updates software to a group of machines in a target computer system,
The machine group includes first and second machines corresponding to a scale-out configuration, and the attribute of the first machine is an active system that is activated regardless of whether the scale-out is executed or not. The attribute of the second machine is a standby system that is stopped when scale-out is not executed and is started when scale-out is executed.
The software distribution system includes:
A first processing unit for managing configuration information related to the machine group;
A second processing unit for distributing software to the group of machines;
A third processing unit for operating a start or stop state of the machine group,
The software distribution system includes:
The first processing unit manages, as configuration information, attributes related to the scale-out configuration, status, and information regarding the software configuration for the machine group including machines in a stopped state.
When distributing the software by the second processing unit, determine the attribute and state of each machine based on the configuration information,
When the second machine is in a stopped state, the second processing unit is started by the third processing unit, and the first processing unit is caused to transition from the stopped state to the starting state by the configuration information.
The second processing unit transmits the software data information to each machine including the first and second machines at the same time to update the software of each machine, and the first processing unit Reflect the update result in the configuration information,
Based on the configuration information, attributes and states of each machine are determined. When the second machine is in an activated state, the third processing unit stops the machine, and the first processing unit performs the configuration information. A software distribution system characterized in that a transition is made from a start state to a stop state.
請求項1記載のソフトウェア配布システムにおいて、
前記ソフトウェア配布システムは、
前記第1、第2、及び第3の処理部を備える配布マシンと、
前記構成情報を格納する格納部と、
前記対象のコンピュータシステムの各マシンに備えられ前記第1、第2、及び第3の処理部と連携するエージェント部と、を含んで成り、
前記各マシンのエージェント部は、当該マシンの起動や停止の状態に関する情報を前記配布マシンへ送信する機能と、前記配布マシンからの前記ソフトウェアの配布時に当該マシンへのインストールないし更新を行う機能と、前記配布の結果の情報を前記配布マシンへ送信する機能と、を有すること、を特徴とするソフトウェア配布システム。
The software distribution system according to claim 1, wherein
The software distribution system includes:
A distribution machine comprising the first, second and third processing units;
A storage unit for storing the configuration information;
An agent unit provided in each machine of the target computer system and cooperating with the first, second, and third processing units,
The agent unit of each machine has a function of transmitting information related to the start and stop states of the machine to the distribution machine, a function of performing installation or updating on the machine when distributing the software from the distribution machine, And a function of transmitting information on the result of the distribution to the distribution machine.
請求項1記載のソフトウェア配布システムにおいて、
前記マシンの起動状態として、第1の状態及び第2の状態を有し、
前記第1のマシンを、前記第1の状態になるように制御し、
前記第2のマシンを、スケールアウトの非実行時には停止状態、スケールアウトのON時には前記第1の状態となるように制御し、
前記配布の際、前記第1のマシンを前記第1の状態、前記第2のマシンを前記第2の状態になるように制御すること、を特徴とするソフトウェア配布システム。
The software distribution system according to claim 1, wherein
As a startup state of the machine, it has a first state and a second state,
Controlling the first machine to be in the first state;
Controlling the second machine to stop when scale-out is not executed and to enter the first state when scale-out is ON;
A software distribution system that controls the first machine to be in the first state and the second machine to be in the second state during the distribution.
対象のコンピュータシステムのマシン群に対してソフトウェアを配布して更新させる処理を行うソフトウェア配布システムにおけるソフトウェア配布方法であって、
前記マシン群は、スケールアウト構成に対応した第1及び第2のマシンを含み、前記第1のマシンの属性は、スケールアウトの実行/非実行に依らずに起動する状態となる稼動系であり、前記第2のマシンの属性は、スケールアウトの非実行時に停止する状態となりスケールアウトの実行時に起動する状態となる待機系であり、
前記マシン群に対する前記ソフトウェアの配布を実行する処理の際、
前記マシン群の状態及びソフトウェア構成を含む構成情報の管理に基づいて、
前記停止状態の第2のマシンを起動させる処理ステップと、
前記第1のマシン及び前記起動された第2のマシンを含む各マシンに対して前記ソフトウェアのデータ情報を送信して各マシンのソフトウェアを更新させる処理ステップと、
前記更新後、前記起動された第2のマシンを停止させる処理ステップと、を有すること、を特徴とするソフトウェア配布方法。
A software distribution method in a software distribution system that performs processing for distributing software to a group of machines of a target computer system,
The machine group includes first and second machines corresponding to a scale-out configuration, and the attribute of the first machine is an active system that is activated regardless of whether the scale-out is executed or not. The attribute of the second machine is a standby system that is stopped when scale-out is not executed and is started when scale-out is executed.
During the process of executing distribution of the software to the group of machines,
Based on the management of configuration information including the state of the machine group and the software configuration,
A processing step of starting the stopped second machine;
A processing step of transmitting data information of the software to each machine including the first machine and the activated second machine to update the software of each machine;
And a processing step of stopping the activated second machine after the update.
対象のコンピュータシステムのマシン群に対してソフトウェアを配布して更新させる処理を行うソフトウェア配布システムとしてコンピュータを機能させるプログラムであって、
前記マシン群は、スケールアウト構成に対応した第1及び第2のマシンを含み、前記第1のマシンの属性は、スケールアウトの実行/非実行に依らずに起動する状態となる稼動系であり、前記第2のマシンの属性は、スケールアウトの非実行時に停止する状態となりスケールアウトの実行時に起動する状態となる待機系であり、
前記マシン群に対するソフトウェアの配布を実行する処理の際、
前記マシン群の状態及びソフトウェア構成を含む構成情報の管理に基づいて、
前記停止状態の第2のマシンを起動させる処理ステップと、
前記第1のマシン及び前記起動された第2のマシンを含む各マシンに対して前記ソフトウェアのデータ情報を送信して各マシンのソフトウェアを更新させる処理ステップと、
前記更新後、前記起動された第2のマシンを停止させる処理ステップと、を実行すること、を特徴とするプログラム。
A program that causes a computer to function as a software distribution system that distributes and updates software to a group of machines in a target computer system,
The machine group includes first and second machines corresponding to a scale-out configuration, and the attribute of the first machine is an active system that is activated regardless of whether the scale-out is executed or not. The attribute of the second machine is a standby system that is stopped when scale-out is not executed and is started when scale-out is executed.
During the process of executing software distribution to the group of machines,
Based on the management of configuration information including the state of the machine group and the software configuration,
A processing step of starting the stopped second machine;
A processing step of transmitting data information of the software to each machine including the first machine and the activated second machine to update the software of each machine;
And a processing step of stopping the activated second machine after the update.
JP2010147589A 2010-06-29 2010-06-29 Software distribution system, method, and program corresponding to scale-out configuration Expired - Fee Related JP5319619B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010147589A JP5319619B2 (en) 2010-06-29 2010-06-29 Software distribution system, method, and program corresponding to scale-out configuration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010147589A JP5319619B2 (en) 2010-06-29 2010-06-29 Software distribution system, method, and program corresponding to scale-out configuration

Publications (2)

Publication Number Publication Date
JP2012014248A true JP2012014248A (en) 2012-01-19
JP5319619B2 JP5319619B2 (en) 2013-10-16

Family

ID=45600645

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010147589A Expired - Fee Related JP5319619B2 (en) 2010-06-29 2010-06-29 Software distribution system, method, and program corresponding to scale-out configuration

Country Status (1)

Country Link
JP (1) JP5319619B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013121639A1 (en) * 2012-02-13 2013-08-22 日本電気株式会社 Information processing device, information processing method, and information processing program
JP2013240946A (en) * 2012-05-22 2013-12-05 Seiko Epson Corp Updating apparatus, updating method, and program
JP2017033147A (en) * 2015-07-30 2017-02-09 キヤノン株式会社 Distribution system, distribution method, and program
JP6384847B1 (en) * 2018-04-17 2018-09-05 Advanced Medical InfoTec株式会社 Information processing system, information processing method, and information processing program
JP2019164531A (en) * 2018-03-19 2019-09-26 株式会社リコー Information processing system, information processing method and information processing program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000148563A (en) * 1998-11-09 2000-05-30 Mitsubishi Electric Corp System having plurality of server computers
JP2008217225A (en) * 2007-03-01 2008-09-18 Hitachi Ltd Blade server system
JP2009199394A (en) * 2008-02-22 2009-09-03 Nec Corp Software update management system, device, manager program and agent program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000148563A (en) * 1998-11-09 2000-05-30 Mitsubishi Electric Corp System having plurality of server computers
JP2008217225A (en) * 2007-03-01 2008-09-18 Hitachi Ltd Blade server system
JP2009199394A (en) * 2008-02-22 2009-09-03 Nec Corp Software update management system, device, manager program and agent program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013121639A1 (en) * 2012-02-13 2013-08-22 日本電気株式会社 Information processing device, information processing method, and information processing program
JPWO2013121639A1 (en) * 2012-02-13 2015-05-11 日本電気株式会社 Information processing apparatus, information processing method, and information processing program
JP2013240946A (en) * 2012-05-22 2013-12-05 Seiko Epson Corp Updating apparatus, updating method, and program
JP2017033147A (en) * 2015-07-30 2017-02-09 キヤノン株式会社 Distribution system, distribution method, and program
JP2019164531A (en) * 2018-03-19 2019-09-26 株式会社リコー Information processing system, information processing method and information processing program
JP6384847B1 (en) * 2018-04-17 2018-09-05 Advanced Medical InfoTec株式会社 Information processing system, information processing method, and information processing program
JP2019185632A (en) * 2018-04-17 2019-10-24 Advanced Medical InfoTec株式会社 Information processing system, information processing method, and information processing program

Also Published As

Publication number Publication date
JP5319619B2 (en) 2013-10-16

Similar Documents

Publication Publication Date Title
CN110768833B (en) Application arrangement and deployment method and device based on kubernets
US8607219B2 (en) Information processing device and a firmware updating method of the information processing device
US8756461B1 (en) Dynamic tracing of thread execution within an operating system kernel
JP5319619B2 (en) Software distribution system, method, and program corresponding to scale-out configuration
KR20140101358A (en) Increasing availability of stateful applications
JP5093259B2 (en) Communication path strengthening method between BIOS and BMC, apparatus and program thereof
JP2001034458A (en) Remote loading executing method and system, information processor, managing device and computer readable recording medium
JP2017049712A (en) License management system, client, and computer program
US9541980B2 (en) Operation management device, operation management method, and recording medium
CN102238093A (en) Service interruption prevention method and device
WO2010000142A1 (en) Distributed network management system and maintenance management method thereof
US20100332659A1 (en) System and Method for Implementing a Dead Man Dependency Technique for Cluster Resources
JP2006252437A (en) Method and procedure for applying patch
CN113849264A (en) Method for arranging container-based applications on a terminal
JP5056504B2 (en) Control apparatus, information processing system, control method for information processing system, and control program for information processing system
KR20100108578A (en) System resource influenced staged shutdown
JP2013068987A (en) Gateway device, firmware distribution system, and information distribution method
JP6102441B2 (en) Virtual machine management method and apparatus
JP2010146436A (en) Monitoring system, control method and program
JP2001290637A (en) Dynamic replacing device for component and computer- readable storage medium
JP2009217709A (en) Virtual machine management system and computer, and program
US20150154025A1 (en) Information processing apparatus and method
US20230367632A1 (en) Job management system and control method thereof
JP2016173636A (en) Method for updating firmware and dual system
JP2002297535A (en) Method of system setting change and program thereof in transaction processing system

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20111227

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120926

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130612

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130618

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130711

R150 Certificate of patent or registration of utility model

Ref document number: 5319619

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees