JP5011655B2 - Server system - Google Patents

Server system Download PDF

Info

Publication number
JP5011655B2
JP5011655B2 JP2005143994A JP2005143994A JP5011655B2 JP 5011655 B2 JP5011655 B2 JP 5011655B2 JP 2005143994 A JP2005143994 A JP 2005143994A JP 2005143994 A JP2005143994 A JP 2005143994A JP 5011655 B2 JP5011655 B2 JP 5011655B2
Authority
JP
Japan
Prior art keywords
server
software
update
operating
hdd
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2005143994A
Other languages
Japanese (ja)
Other versions
JP2006323485A (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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2005143994A priority Critical patent/JP5011655B2/en
Publication of JP2006323485A publication Critical patent/JP2006323485A/en
Application granted granted Critical
Publication of JP5011655B2 publication Critical patent/JP5011655B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Hardware Redundancy (AREA)
  • Stored Programmes (AREA)

Description

本発明は、ネットワーク上でソフトウェアによって動作するサーバシステム及びソフトウェア更新方法に関する。   The present invention relates to a server system that operates by software on a network and a software update method.

従来より、複数のサーバを有するサーバシステムにおいて、サーバ上で動作するソフトウェアの更新を行う場合、1つのサーバがマスターとなり、他の複数のサーバがスレーブとなるようなサーバ・クライアント方式のサーバシステムにおいては、マスターとなるサーバからスレーブとなる他の複数のクライアントサーバの各磁気ディスク装置等の記憶手段に新ソフトウェアを転送・格納し、その後、各クライアントサーバ毎にソフトウェア更新を行っている(例えば、特許文献1参照。)。つまり、複数のクライアントサーバについては、サーバ単位でソフトウェアの更新が行われていることとなる。   Conventionally, in a server system having a plurality of servers, when updating software operating on a server, in a server-client system server system in which one server becomes a master and other servers become slaves. Transfers and stores new software from the master server to the storage means such as the magnetic disk units of the plurality of other client servers that are slaves, and then updates the software for each client server (for example, (See Patent Document 1). That is, for a plurality of client servers, software is updated in units of servers.

また、サーバを運用系サーバと予備系サーバとの二重化構成とし、運用系サーバによって新ソフトウェアを予備系サーバへ転送して起動し、新ソフトウェアの動作を確認した後、予備系サーバを運用系サーバへ、また運用系サーバを予備系サーバへ切り替える方法が考えられている(例えば、特許文献2参照。)。
特開平06−309261号公報 特開平08−106399号公報
Also, the server is configured with a redundant configuration of the active server and the standby server, and the active server transfers and starts the new software to the standby server, confirms the operation of the new software, and then sets the standby server to the active server. Also, a method of switching the active server to the standby server has been considered (see, for example, Patent Document 2).
Japanese Patent Laid-Open No. 06-309261 JP-A-08-106399

しかしながら、特許文献1に記載された方法においては、サーバが一重化構成であるため、サーバシステムが負荷分散システムである場合はソフトウェア更新中には処理能力が低下し、サーバシステムの各サーバが異なる機能エンティティを有する場合は各サーバのソフトウェア更新中にサーバシステムの処理が一時的に停止してしまうという問題点がある。また、各サーバのソフトウェア更新がシーケンシャルに行われるため、サーバシステムのソフトウェア更新開始から完了までの間に新ソフトウェアで稼動するサーバと旧ソフトウェアで稼動するサーバとが混在してしまい、そのため新旧のソフトウェアが混在の状態においても正常に動作する複雑なソフトウェアを開発しなければならないという問題点がある。   However, in the method described in Patent Document 1, since the server has a single configuration, when the server system is a load distribution system, the processing capability is reduced during software update, and each server of the server system is different. In the case of having functional entities, there is a problem that the processing of the server system is temporarily stopped during software update of each server. In addition, since the software update of each server is performed sequentially, the server that operates with the new software and the server that operates with the old software coexist from the start to the completion of the software update of the server system. There is a problem that it is necessary to develop complex software that operates normally even in a mixed state.

また、特許文献2に記載された方法においては、複数の二重化構成のサーバが存在した場合、各運用系サーバがそれぞれ独立して各予備系サーバに対して新ソフトウェアを転送して起動するため、サーバシステムにおける新ソフトウェアの転送及び起動を同期して行うことができず、同期化されたソフトウェア更新を行うことができないという問題点がある。   In addition, in the method described in Patent Document 2, when there are a plurality of redundantly configured servers, each active server independently transfers new software to each standby server and starts up. There is a problem in that transfer and activation of new software in the server system cannot be performed in synchronization, and synchronized software update cannot be performed.

上述したような問題が生じることによって、サーバシステムが一時停止してしまったり、同期化されたソフトウェアの更新ができずに新旧のソフトウェア混在での動作になったりしてしまうと、企業において様々な業務の中核を担う情報システムであるミッションクリティカルシステムにおいては、信用の失墜等の経営的に大きなダメージを受けてしまうため、本サーバシステムを適用することができないという問題に発展してしまう。   Due to the problems described above, if the server system is temporarily suspended or the synchronized software cannot be updated and the operation becomes a mixture of old and new software, there are various problems in the enterprise. In a mission critical system, which is an information system that plays a central role in business operations, management damage such as loss of trust is seriously damaged, and this server system cannot be applied.

本発明は、上述したような従来の技術が有する問題点を鑑みてなされたものであって、ミッションクリティカルシステムに適用可能な同期化されたソフトウェア更新ができるサーバシステム及びソフトウェア更新方法を提供することを目的とする。   The present invention has been made in view of the problems of the conventional techniques as described above, and provides a server system and a software update method capable of performing synchronized software update applicable to a mission critical system. With the goal.

上記目的を達成するために本発明は、
互いに排他的な運用系である運用系予備系との二重化構成をとるサーバの組を複数有し、前記サーバ上で動作するソフトウェアを更新するサーバシステムであって、
前記運用系として動作しているサーバのうち、更新用ソフトウェアが格納されたサーバは、当該サーバ以外のサーバへ前記更新用ソフトウェアを送信し、前記予備系として動作している全てのサーバに対して前記更新用ソフトウェアへの更新を指示し、
前記予備系として動作しているサーバは、前記更新が指示された場合、当該サーバ上で動作するソフトウェアを前記更新用ソフトウェアへ更新し、
前記サーバは、前記予備系として動作している全てのサーバにて前記更新が完了した後、前記サーバの組全ての運用系と予備系とを一斉に切り替え、該切り替え後に運用系として動作しているときに、当該サーバに障害が発生した場合、前記サーバの組全ての運用系と予備系とを一斉に切り戻す
In order to achieve the above object, the present invention provides:
A plurality of sets of servers taking redundant configuration with mutually exclusive active system and a standby system is the active system, the a server system for updating the software running on the server,
Of the server operating as the operational system, server update software is stored, transmits the update software to the server other than the server to all the servers operating as the standby system Instructing update to the update software,
The server operating as the standby system, when the update is instructed, updates the software operating on the server to the update software,
Wherein the server, after the update at all servers operating as the standby system is complete, simultaneously switching the set all operational and standby systems of the server, operating as the operational system after the switching When a failure occurs in the server, all active and standby systems of the server set are switched back together .

また、前記サーバのそれぞれは、
当該サーバ上で動作するソフトウェアを格納する格納手段と、
当該サーバ上で動作するソフトウェアを前記更新用ソフトウェアへ更新するソフト更新手段と、
当該サーバの運用系を切り替える系管理手段とを有することを特徴とする。
Each of the servers
Storage means for storing software running on the server;
Software update means for updating the software operating on the server to the update software;
System management means for switching the operational system of the server.

また、前記系管理手段は、当該サーバの運用系を、他の運用系をとるサーバの運用系と排他的な運用系に切り替えることを特徴とする。   Further, the system management means switches the operation system of the server to an operation system exclusive to a server operation system that takes another operation system.

また、互いに排他的な運用系である運用系予備系との二重化構成をとるサーバの組を複数有し、前記サーバ上で動作するソフトウェアを更新するサーバシステムにおけるソフトウェア更新方法であって、
前記運用系として動作しているサーバのうち、更新用ソフトウェアが格納されたサーバが、当該サーバ以外のサーバへ前記更新用ソフトウェアを送信する処理と、
前記運用系として動作しているサーバのうち、前記更新用ソフトウェアが格納されたサーバが、前記予備系として動作している全てのサーバに対して前記更新用ソフトウェアへの更新を指示する処理と、
前記予備系として動作しているサーバが、前記更新が指示された場合、当該サーバ上で動作するソフトウェアを前記更新用ソフトウェアへ更新する処理と、
前記サーバが、前記予備系として動作している全てのサーバにて前記更新が完了した後、前記サーバの組全ての運用系と予備系とを一斉に切り替える処理と
前記サーバが、前記切り替え後に運用系として動作しているときに、当該サーバに障害が発生した場合、前記サーバの組全ての運用系と予備系とを一斉に切り戻す処理とを行う
Also, a software updating method in a server system for updating the software of a plurality of sets of servers taking dual configuration of the active system and a standby system which is exclusive operation system to each other, operating on the server,
Of the server operating as the operational system, server update software is stored, a process of transmitting the update software to the server other than the server,
Among the servers operating as the active system, the server storing the update software is instructed to update all the servers operating as the standby system to the update software;
When the server operating as the standby system is instructed to update, a process of updating the software operating on the server to the update software;
After the server completes the update on all servers operating as the standby system, a process of simultaneously switching all active and standby systems of the server set ;
When the server is operating as the active system after the switching, if a failure occurs in the server, a process of switching back all the active systems and the standby system of the server group at once is performed .

また、当該サーバの運用系を、他の運用系をとるサーバの運用系と排他的な運用系に切り替えることを特徴とする。   In addition, the operation system of the server is switched to an operation system exclusive to a server operation system that takes another operation system.

上記のように構成された本発明においては、運用系サーバのうちいずれか1つのサーバによって、サーバの組が有する全ての予備系サーバへ更新用ソフトウェアが転送され、全ての予備系サーバ上で動作するソフトウェアが更新用ソフトウェアへ更新され、更新用ソフトウェアへ更新された予備系サーバとサーバの組が有する全ての運用系サーバとの運用系が一斉に切り替えられる。   In the present invention configured as described above, any one of the active servers transfers the update software to all the spare servers in the server set and operates on all the spare servers. The software to be updated is updated to the update software, and the operation system of the standby server updated to the update software and all the operation servers in the server pair is switched at once.

このように、1つのサーバによって全ての予備系サーバに対して新しいソフトウェアの転送、更新、運用系切り替えといったソフトウェア更新に必要な一連の手順を行うため、それぞれの予備系サーバにてソフトウェアの更新を行った後に運用系の切り替えを開始するタイミングを計るための処理が不要となり、また、新しいソフトウェアに更新された全ての予備系サーバを運用系サーバへ一斉に切り替えるため、複数のサーバ間にて同期したソフトウェア更新が実現可能となる。   In this way, a single server performs a series of procedures necessary for software update such as transfer, update, and operation switching of new software to all standby servers. After that, there is no need to process the timing to start switching the active system, and all the spare servers updated to the new software are switched to the active server at the same time. Software update can be realized.

以上説明したように本発明においては、運用系サーバのうちいずれか1つのサーバが、サーバの組が有する全ての予備系サーバへ更新用ソフトウェアを転送し、全ての予備系サーバ上で動作するソフトウェアを更新用ソフトウェアへ更新し、更新用ソフトウェアへ更新された予備系サーバとサーバの組が有する全ての運用系サーバとの運用系を一斉に切り替える構成としたため、ミッションクリティカルシステムに適用可能な同期化されたソフトウェア更新ができる。   As described above, in the present invention, any one of the active servers transfers the update software to all the standby servers included in the server set, and operates on all the standby servers. Since it is configured to switch all active servers of the standby server and the server pair that have been updated to the update software at the same time, the synchronization that can be applied to mission critical systems Updated software.

以下に、本発明の実施の形態について図面を参照して説明する。   Embodiments of the present invention will be described below with reference to the drawings.

図1は、本発明のサーバシステムの実施の一形態を示す図である。   FIG. 1 is a diagram showing an embodiment of a server system of the present invention.

図1に示すように、本形態のサーバシステム10には、ネットワーク80に接続され、冗長構成を有する制御組20と、制御組20によってソフトウェア更新の制御が行われる被制御組30とが設けられている。さらに、制御組20は、サーバ40と、サーバ40と二重化構成を取るサーバ50とから構成されている。また、被制御組30は、サーバ60と、サーバ60と二重化構成を取るサーバ70とから構成されている。さらに、サーバ40は、他のサーバとの間においてソフトウェアの更新を制御するための信号及びデータの送受信を行う送受信部42と、ソフトウェア等を格納する格納手段であるHDD41と、HDD41にアクセスする制御を行うHDDアクセス部43と、HDD41に格納されているソフトウェアを更新するソフト更新部44と、サーバ40の系を制御する系管理部45とから構成されている。また、サーバ50は、他のサーバとの間においてソフトウェアの更新を制御するための信号及びデータの送受信を行う送受信部52と、ソフトウェア等を格納する格納手段であるHDD51と、HDD51にアクセスする制御を行うHDDアクセス部53と、HDD51に格納されているソフトウェアを更新するソフト更新部54と、サーバ50の系を制御する系管理部55とから構成されている。なお、系管理部45と、系管理部55とにおいて、一方にて運用系であることが設定されると、排他論理が働いて他方にて予備系であることが設定される。また、一方にて予備系であることが設定されると、排他論理が働いて他方にて運用系であることが設定される。また、サーバ60は、他のサーバとの間においてソフトウェアの更新を制御するための信号及びデータの送受信を行う送受信部62と、ソフトウェア等を格納する格納手段であるHDD61と、HDD61にアクセスする制御を行うHDDアクセス部63と、HDD61に格納されているソフトウェアを更新するソフト更新部64と、サーバ60の系を制御する系管理部65とから構成されている。また、サーバ70は、他のサーバとの間においてソフトウェアの更新を制御するための信号及びデータの送受信を行う送受信部72と、ソフトウェア等を格納する格納手段であるHDD71と、HDD71にアクセスする制御を行うHDDアクセス部73と、HDD71に格納されているソフトウェアを更新するソフト更新部74と、サーバ70の系を制御する系管理部75とから構成されている。なお、系管理部65と、系管理部75とにおいて、一方にて運用系であることが設定されると、排他論理が働いて他方にて予備系であることが設定される。また、一方にて予備系であることが設定されると、排他論理が働いて他方にて運用系であることが設定される。   As shown in FIG. 1, the server system 10 of this embodiment is provided with a control group 20 connected to a network 80 and having a redundant configuration, and a controlled group 30 in which software update is controlled by the control group 20. ing. Further, the control group 20 includes a server 40 and a server 50 having a duplex configuration with the server 40. The controlled set 30 includes a server 60 and a server 70 having a duplex configuration with the server 60. Further, the server 40 transmits / receives signals and data for controlling software update to / from other servers, an HDD 41 which is a storage means for storing software and the like, and a control for accessing the HDD 41. The HDD access unit 43 that performs the above-described process, the software update unit 44 that updates the software stored in the HDD 41, and the system management unit 45 that controls the system of the server 40. The server 50 also transmits / receives a signal and data for controlling software update to / from another server, an HDD 51 which is a storage means for storing software, and a control for accessing the HDD 51. The HDD access unit 53 performs the above-described process, the software update unit 54 updates the software stored in the HDD 51, and the system management unit 55 that controls the system of the server 50. Note that when one of the system management unit 45 and the system management unit 55 is set to be the active system, the exclusive logic is activated and the other is set to be the standby system. Also, when one side is set to be a standby system, exclusive logic is activated and the other side is set to be an active system. The server 60 also transmits / receives a signal and data for controlling software update to / from other servers, an HDD 61 which is a storage means for storing software, etc., and a control for accessing the HDD 61. The HDD access unit 63 that performs the above-described process, the software update unit 64 that updates the software stored in the HDD 61, and the system management unit 65 that controls the system of the server 60. The server 70 also transmits / receives signals and data for controlling software updates to / from other servers, an HDD 71 which is a storage means for storing software, etc., and a control for accessing the HDD 71. The HDD access unit 73 that performs the above-described process, the software update unit 74 that updates the software stored in the HDD 71, and the system management unit 75 that controls the system of the server 70. In the system management unit 65 and the system management unit 75, when one is set as the active system, the exclusive logic is activated and the other is set as the standby system. Also, when one side is set to be a standby system, exclusive logic is activated and the other side is set to be an active system.

以下に、図1に示したサーバシステム10におけるソフトウェア更新方法について説明する。   Below, the software update method in the server system 10 shown in FIG. 1 is demonstrated.

図2は、図1に示したサーバシステム10におけるソフトウェア更新方法を説明するためのシーケンス図である。   FIG. 2 is a sequence diagram for explaining a software update method in server system 10 shown in FIG.

ソフトウェア更新に使用される更新用ソフトウェアである新ソフトウェアがサーバ40のHDD41に予め格納されている。HDD41には、ネットワーク80を介して送信されてきた新ソフトウェアが格納されていても良いし、サーバ40に記憶媒体用のドライブを設け、設けられたドライブによってCD−ROMやMO等の移動可能な記憶媒体に書き込まれた新ソフトウェアが読み出され、読み出された新ソフトウェアがHDD41に格納されるものであっても良い。   New software, which is update software used for software update, is stored in advance in the HDD 41 of the server 40. The HDD 41 may store new software transmitted via the network 80, or the server 40 may be provided with a storage medium drive, and a CD-ROM, MO, or the like can be moved by the provided drive. The new software written in the storage medium may be read, and the read new software may be stored in the HDD 41.

また、現在制御組20においては、サーバ40が運用系サーバとして稼動しており、サーバ50が予備系サーバとして稼動しており、また、被制御組30においては、サーバ60が運用系サーバとして稼動しており、サーバ70が予備系サーバとして稼動しているとする。   In the current control group 20, the server 40 is operating as an active server, the server 50 is operating as a standby server, and in the controlled group 30, the server 60 is operating as an active server. Assume that the server 70 is operating as a standby server.

HDD41に格納されている新ソフトウェアがHDDアクセス部43によって読み出され、読み出された新ソフトウェアが送受信部42によってサーバ50へ送信されると(ステップS1)、サーバ50の送受信部52にて新ソフトウェアが受信され(ステップS2)、受信された新ソフトウェアがHDDアクセス部53によってHDD51に格納される(ステップS3)。   When the new software stored in the HDD 41 is read by the HDD access unit 43 and the read new software is transmitted to the server 50 by the transmission / reception unit 42 (step S1), the new transmission / reception unit 52 of the server 50 The software is received (step S2), and the received new software is stored in the HDD 51 by the HDD access unit 53 (step S3).

新ソフトウェアがHDD51に格納されると、転送完了応答信号がHDDアクセス部53によって生成され、生成された転送完了応答信号が送受信部52によってサーバ40へ送信される(ステップS4)。そして、サーバ40へ送信された転送完了応答信号がサーバ40の送受信部42にて受信されると(ステップS5)、その旨がHDDアクセス部43へ通知され、新ソフトウェアがHDD51に格納されたことがHDDアクセス部43にて認識される。   When the new software is stored in the HDD 51, a transfer completion response signal is generated by the HDD access unit 53, and the generated transfer completion response signal is transmitted to the server 40 by the transmission / reception unit 52 (step S4). Then, when the transfer completion response signal transmitted to the server 40 is received by the transmission / reception unit 42 of the server 40 (step S5), the fact is notified to the HDD access unit 43 and the new software is stored in the HDD 51. Is recognized by the HDD access unit 43.

次に、HDD41に格納されている新ソフトウェアがHDDアクセス部43によって読み出され、読み出された新ソフトウェアが送受信部42によってサーバ60へ送信される(ステップS6)。サーバ60へ送信された新ソフトウェアがサーバ60の送受信部62にて受信され(ステップS7)、受信された新ソフトウェアがHDDアクセス部63によってHDD61に格納される(ステップS8)。   Next, the new software stored in the HDD 41 is read by the HDD access unit 43, and the read new software is transmitted to the server 60 by the transmission / reception unit 42 (step S6). The new software transmitted to the server 60 is received by the transmission / reception unit 62 of the server 60 (step S7), and the received new software is stored in the HDD 61 by the HDD access unit 63 (step S8).

新ソフトウェアがHDD61に格納されると、転送完了応答信号がHDDアクセス部63によって生成され、生成された転送完了応答信号が送受信部62によってサーバ40へ送信される(ステップS9)。そして、サーバ40へ送信された転送完了応答信号がサーバ40の送受信部42にて受信されると(ステップS10)、その旨がHDDアクセス部43へ通知され、新ソフトウェアがHDD61に格納されたことがHDDアクセス部43にて認識される。   When the new software is stored in the HDD 61, a transfer completion response signal is generated by the HDD access unit 63, and the generated transfer completion response signal is transmitted to the server 40 by the transmission / reception unit 62 (step S9). When the transfer completion response signal transmitted to the server 40 is received by the transmission / reception unit 42 of the server 40 (step S10), the fact is notified to the HDD access unit 43, and the new software is stored in the HDD 61. Is recognized by the HDD access unit 43.

次に、HDD41に格納されている新ソフトウェアがHDDアクセス部43によって読み出され、読み出された新ソフトウェアが送受信部42によってサーバ70へ送信される(ステップS11)。サーバ70へ送信された新ソフトウェアがサーバ70の送受信部72にて受信され(ステップS12)、受信された新ソフトウェアがHDDアクセス部73によってHDD71に格納される(ステップS13)。   Next, the new software stored in the HDD 41 is read by the HDD access unit 43, and the read new software is transmitted to the server 70 by the transmission / reception unit 42 (step S11). The new software transmitted to the server 70 is received by the transmission / reception unit 72 of the server 70 (step S12), and the received new software is stored in the HDD 71 by the HDD access unit 73 (step S13).

新ソフトウェアがHDD71に格納されると、転送完了応答信号がHDDアクセス部73によって生成され、生成された転送完了応答信号が送受信部72によってサーバ40へ送信される(ステップS14)。そして、サーバ40へ送信された転送完了応答信号がサーバ40の送受信部42にて受信されると(ステップS15)、その旨がHDDアクセス部43へ通知され、新ソフトウェアがHDD71に格納されたことがHDDアクセス部43にて認識される。   When the new software is stored in the HDD 71, a transfer completion response signal is generated by the HDD access unit 73, and the generated transfer completion response signal is transmitted to the server 40 by the transmission / reception unit 72 (step S14). When the transfer completion response signal transmitted to the server 40 is received by the transmission / reception unit 42 of the server 40 (step S15), the fact is notified to the HDD access unit 43 and the new software is stored in the HDD 71. Is recognized by the HDD access unit 43.

このようにして、制御組20の運用系サーバであるサーバ40から、サーバ40とネットワーク80を介して接続されているサーバ50,60,70への新ソフトウェアの転送が完了する。   In this way, the transfer of new software from the server 40, which is the active server of the control group 20, to the servers 50, 60, 70 connected to the server 40 via the network 80 is completed.

次に、制御組20にて予備系サーバとして稼動しているサーバ50及び被制御組30にて予備系サーバとして稼動しているサーバ70のソフトウェア更新の処理が開始される。   Next, the software update processing of the server 50 operating as a standby server in the control group 20 and the server 70 operating as a standby server in the controlled group 30 is started.

まず最初に、サーバ40のソフト更新部44によってソフトウェア更新命令信号が生成され、生成されたソフトウェア更新命令信号が送受信部42によってサーバ50へ送信される(ステップS16)。サーバ50へ送信されたソフトウェア更新命令信号がサーバ50の送受信部52にて受信され(ステップS17)、受信されたソフトウェア更新命令信号がソフト更新部54によって認識され、HDD51に格納されている新ソフトウェアが起動され、サーバ50を制御するソフトウェアが、今まで動作していた旧ソフトウェアから新ソフトウェアに更新される(ステップS18)。新ソフトウェアへの更新が完了すると、ソフトウェア更新完了応答信号がソフト更新部54によって生成され、生成されたソフトウェア更新完了応答信号が送受信部52によってサーバ40へ送信される(ステップS19)。そして、サーバ40へ送信されたソフトウェア更新完了応答信号がサーバ40の送受信部42にて受信されると(ステップS20)、その旨がソフト更新部44へ通知され、サーバ50においてソフトウェアが更新されたことがソフト更新部44にて認識される。   First, a software update command signal is generated by the software update unit 44 of the server 40, and the generated software update command signal is transmitted to the server 50 by the transmission / reception unit 42 (step S16). The software update command signal transmitted to the server 50 is received by the transmission / reception unit 52 of the server 50 (step S17), and the received software update command signal is recognized by the software update unit 54 and stored in the HDD 51. Is started, and the software that controls the server 50 is updated from the old software that has been operating to the new software (step S18). When the update to the new software is completed, a software update completion response signal is generated by the software update unit 54, and the generated software update completion response signal is transmitted to the server 40 by the transmission / reception unit 52 (step S19). When the software update completion response signal transmitted to the server 40 is received by the transmission / reception unit 42 of the server 40 (step S20), the software update unit 44 is notified to that effect and the software has been updated in the server 50. Is recognized by the software update unit 44.

次に、サーバ40のソフト更新部44によってソフトウェア更新命令信号が生成され、生成されたソフトウェア更新命令信号が送受信部42によってサーバ70へ送信される(ステップS21)。サーバ70へ送信されたソフトウェア更新命令信号がサーバ70の送受信部72にて受信され(ステップS22)、受信されたソフトウェア更新命令信号がソフト更新部74によって認識され、HDD71に格納されている新ソフトウェアが起動され、サーバ70を制御するソフトウェアが、今まで動作していた旧ソフトウェアから新ソフトウェアに更新される(ステップS23)。新ソフトウェアへの更新が完了すると、ソフトウェア更新完了応答信号がソフト更新部74によって生成され、生成されたソフトウェア更新完了応答信号が送受信部72によってサーバ40へ送信される(ステップS24)。そして、サーバ40へ送信されたソフトウェア更新完了応答信号がサーバ40の送受信部42にて受信されると(ステップS25)、その旨がソフト更新部44へ通知され、サーバ70においてソフトウェアが更新されたことがソフト更新部44にて認識される。   Next, a software update command signal is generated by the software update unit 44 of the server 40, and the generated software update command signal is transmitted to the server 70 by the transmission / reception unit 42 (step S21). The software update command signal transmitted to the server 70 is received by the transmission / reception unit 72 of the server 70 (step S22), and the received software update command signal is recognized by the software update unit 74 and stored in the HDD 71. Is started, and the software that controls the server 70 is updated from the old software that has been operating until now to the new software (step S23). When the update to the new software is completed, a software update completion response signal is generated by the software update unit 74, and the generated software update completion response signal is transmitted to the server 40 by the transmission / reception unit 72 (step S24). When the software update completion response signal transmitted to the server 40 is received by the transmission / reception unit 42 of the server 40 (step S25), the software update unit 44 is notified to that effect, and the software is updated in the server 70. Is recognized by the software update unit 44.

このようにして、制御組20にて予備系サーバとして稼動しているサーバ50及び被制御組30にて予備系サーバとして稼動しているサーバ70において、ソフトウェアの更新が完了する。   In this way, the software update is completed on the server 50 operating as the standby server in the control group 20 and the server 70 operating as the standby server in the controlled group 30.

予備系サーバのソフトウェアが更新されると、運用系の切り替えの処理が開始される。運用系の切り替え処理とは、予備系サーバであるサーバを運用系サーバに、また運用系サーバであるサーバを予備系サーバに切り替える処理である。   When the standby server software is updated, the operation switching process is started. The active system switching process is a process of switching a server that is a standby server to an active server and a server that is an active server to a standby server.

まずは、サーバ40内の系管理部45にて、サーバシステム10内の自身の組以外の組についての運用系切り替えのプロセスが生成される(ステップS26)。本形態においては、自身の組が制御組20に該当するため自身の組以外の組である被制御組30についての運用系切り替えプロセスが生成されることとなる。このプロセスとは、後述するステップS27の処理である。   First, the system management unit 45 in the server 40 generates an active system switching process for a group other than its own group in the server system 10 (step S26). In this embodiment, since the own group corresponds to the control group 20, an active system switching process is generated for the controlled group 30 which is a group other than the own group. This process is the process of step S27 described later.

系管理部45にて生成されたプロセスに従って、系管理部45によって被制御組30の運用系切り替えを行うために運用系サーバ切り替え命令信号が生成され、生成された運用系サーバ切り替え命令信号が送受信部42によってサーバ60へ送信される(ステップS27)。送信された運用系サーバ切り替え命令信号がサーバ60の送受信部62にて受信され(ステップS28)、受信された運用系サーバ切り替え命令信号が系管理部65によって認識されると、系管理部65にてサーバ60の系が運用系から予備系に切り替えられ、同時にサーバ70の系が予備系から運用系に切り替えられる(ステップS29)。ここで、系管理部65においては系を切り替えるための信号について排他論理が組まれており、この排他論理によって生成される一方の系と他方の系との間における信号である交絡信号を生成するための論理回路または論理プログラムが設けられており、この交絡信号が一方の系から他方の系へ送信されることにより、一方の系と他方の系とが瞬時に排他的な系状態に切り替わることを実現可能としている。   In accordance with the process generated by the system management unit 45, the system management unit 45 generates an active server switch command signal for switching the operating system of the controlled set 30, and the generated active server switch command signal is transmitted and received. The data is transmitted to the server 60 by the unit 42 (step S27). The transmitted operational server switching command signal is received by the transmission / reception unit 62 of the server 60 (step S28), and when the received operational server switching command signal is recognized by the system management unit 65, the system management unit 65 receives it. Thus, the system of the server 60 is switched from the active system to the standby system, and at the same time, the system of the server 70 is switched from the standby system to the active system (step S29). Here, in the system management unit 65, an exclusive logic is set for the signal for switching the system, and a confounding signal that is a signal between one system and the other system generated by this exclusive logic is generated. A logic circuit or logic program is provided for this purpose, and when this confounding signal is transmitted from one system to the other system, one system and the other system are instantaneously switched to an exclusive system state. Is feasible.

一方、制御組20においても運用系切り替えを行うために、サーバ40の系管理部45にてサーバ40の系が運用系から予備系に切り替えられ、同時にサーバ50の系が予備系から運用系に切り替えられる(ステップS30)。系管理部45においても系管理部65と同様に、系を切り替えるための信号について排他論理が組まれている。なお、ステップS27の処理とステップS30の処理とは、説明上シリアル処理で記述しているが、サーバ40上にて並行して処理される。また、ステップS27及びステップS28の処理に要する時間が非常に短いため、ステップS29の処理とステップS30の処理とは同時に実行されるとみなすことができる。   On the other hand, in order to switch the active system also in the control group 20, the system management unit 45 of the server 40 switches the server 40 system from the active system to the standby system, and at the same time the server 50 system changes from the standby system to the active system. It is switched (step S30). In the system management unit 45, as in the system management unit 65, exclusive logic is set for signals for switching systems. Note that the processing in step S27 and the processing in step S30 are described as serial processing for explanation, but are processed in parallel on the server 40. In addition, since the time required for the processing of step S27 and step S28 is very short, it can be considered that the processing of step S29 and the processing of step S30 are executed simultaneously.

以上の処理により、制御組20についてはサーバ50が運用系サーバとして新ソフトウェアで稼動され、また被制御組30についてはサーバ70が運用系サーバとして新ソフトウェアで稼動されることにより、サーバシステム10にて運用系サーバとして稼動しているサーバにおけるソフトウェア更新が一斉に同期して行われたこととなる。   With the above processing, the server 50 is operated with the new software as the active server for the control group 20, and the server 70 is operated with the new software as the active server for the controlled group 30. This means that software updates on servers that are operating as active servers are performed simultaneously and synchronously.

次に、制御組20にて運用系サーバとなったサーバ50によって、制御組20にて予備系サーバとなったサーバ40及び被制御組30にて予備系サーバとなったサーバ60のソフトウェアを新ソフトウェアに更新する処理が開始される。   Next, the server 50 that has become the active server in the control group 20 updates the software of the server 40 that has become the standby server in the control group 20 and the server 60 that has become the standby server in the controlled group 30. The process of updating to software is started.

サーバ50のソフト更新部54によってソフトウェア更新命令信号が生成され、生成されたソフトウェア更新命令信号が送受信部52によってサーバ40へ送信される(ステップS31)。サーバ40へ送信されたソフトウェア更新命令信号がサーバ40の送受信部42にて受信され(ステップS32)、受信されたソフトウェア更新命令信号がソフト更新部44によって認識され、HDD41に格納されている新ソフトウェアが起動され、サーバ40を制御するソフトウェアが、今まで動作していた旧ソフトウェアから新ソフトウェアに更新される(ステップS33)。新ソフトウェアへの更新が完了すると、ソフトウェア更新完了応答信号がソフト更新部44によって生成され、生成されたソフトウェア更新完了応答信号が送受信部42によってサーバ50へ送信される(ステップS34)。そして、サーバ50へ送信されたソフトウェア更新完了応答信号がサーバ50の送受信部52にて受信されると(ステップS35)、その旨がソフト更新部54へ通知され、サーバ40においてソフトウェアが更新されたことがソフト更新部54にて認識される。   A software update command signal is generated by the software update unit 54 of the server 50, and the generated software update command signal is transmitted to the server 40 by the transmission / reception unit 52 (step S31). The software update command signal transmitted to the server 40 is received by the transmission / reception unit 42 of the server 40 (step S32), and the received software update command signal is recognized by the software update unit 44 and stored in the HDD 41. Is activated, and the software that controls the server 40 is updated from the old software that has been operated to the new software (step S33). When the update to the new software is completed, a software update completion response signal is generated by the software update unit 44, and the generated software update completion response signal is transmitted to the server 50 by the transmission / reception unit 42 (step S34). When the software update completion response signal transmitted to the server 50 is received by the transmission / reception unit 52 of the server 50 (step S35), the software update unit 54 is notified to that effect and the software has been updated in the server 40. Is recognized by the software update unit 54.

次に、サーバ50のソフト更新部54によってソフトウェア更新命令信号が生成され、生成されたソフトウェア更新命令信号が送受信部52によってサーバ60へ送信される(ステップS36)。サーバ60へ送信されたソフトウェア更新命令信号がサーバ60の送受信部62にて受信され(ステップS37)、受信されたソフトウェア更新命令信号がソフト更新部64によって認識され、HDD61に格納されている新ソフトウェアが起動され、サーバ60を制御するソフトウェアが、今まで動作していた旧ソフトウェアから新ソフトウェアに更新される(ステップS38)。新ソフトウェアへの更新が完了すると、ソフトウェア更新完了応答信号がソフト更新部64によって生成され、生成されたソフトウェア更新完了応答信号が送受信部62によってサーバ50へ送信される(ステップS39)。そして、サーバ50へ送信されたソフトウェア更新完了応答信号がサーバ50の送受信部52にて受信されると(ステップS40)、その旨がソフト更新部54へ通知され、サーバ60においてソフトウェアが更新されたことがソフト更新部54にて認識される。   Next, a software update command signal is generated by the software update unit 54 of the server 50, and the generated software update command signal is transmitted to the server 60 by the transmission / reception unit 52 (step S36). The software update command signal transmitted to the server 60 is received by the transmission / reception unit 62 of the server 60 (step S37), and the received software update command signal is recognized by the software update unit 64 and stored in the HDD 61. Is activated, and the software that controls the server 60 is updated from the old software that has been operated to the new software (step S38). When the update to the new software is completed, a software update completion response signal is generated by the software update unit 64, and the generated software update completion response signal is transmitted to the server 50 by the transmission / reception unit 62 (step S39). When the software update completion response signal transmitted to the server 50 is received by the transmission / reception unit 52 of the server 50 (step S40), the software update unit 54 is notified to that effect, and the software is updated in the server 60. Is recognized by the software update unit 54.

このようにして、制御組20にて予備系サーバとして稼動しているサーバ40及び被制御組30にて予備系サーバとして稼動しているサーバ60において、ソフトウェアの更新が完了する。その結果、サーバシステム10内の全てのサーバにおけるソフトウェア更新が完了したこととなる。   In this way, the software update is completed on the server 40 operating as the standby server in the control group 20 and the server 60 operating as the standby server in the controlled group 30. As a result, the software update in all servers in the server system 10 is completed.

以上、冗長構成を持つサーバの組については、制御する制御組20と、制御組20によって制御される被制御組30との間で主従関係を有するサーバシステムについて例を挙げて説明したが、各組の間で主従関係を有しないサーバシステムについても同様の処理が考えられる。以下に、各組の間で主従関係を有しないサーバシステムについて例を挙げて説明する。   As described above, the server set having a redundant configuration has been described by taking an example of the server system having a master-slave relationship between the control set 20 to be controlled and the controlled set 30 controlled by the control set 20. Similar processing can be considered for a server system that does not have a master-slave relationship between pairs. Below, an example is given and demonstrated about the server system which does not have a master-slave relationship between each group.

図3は、各組の間で主従関係を有さないサーバシステムの実施の一形態を示す図である。   FIG. 3 is a diagram illustrating an embodiment of a server system that does not have a master-slave relationship between the groups.

本形態は図3に示すように、サーバシステム110には、ネットワーク180に接続され、冗長構成を有する組120,130が設けられている。さらに、組120は、サーバ140と、サーバ140と二重化構成を取るサーバ150とから構成されている。また、組130は、サーバ160と、サーバ160と二重化構成を取るサーバ170とから構成されている。さらに、サーバ140は、他のサーバとの間においてソフトウェアの更新を制御するための信号及びデータの送受信を行う送受信部142と、ソフトウェア等を格納する格納手段であるHDD141と、HDD141にアクセスする制御を行うHDDアクセス部143と、HDD141に格納されているソフトウェアを更新するソフト更新部144と、サーバ140の系を制御する系管理部145とから構成されている。また、サーバ150は、他のサーバとの間においてソフトウェアの更新を制御するための信号及びデータの送受信を行う送受信部152と、ソフトウェア等を格納する格納手段であるHDD151と、HDD151にアクセスする制御を行うHDDアクセス部153と、HDD151に格納されているソフトウェアを更新するソフト更新部154と、サーバ150の系を制御する系管理部155とから構成されている。なお、系管理部145と、系管理部155とにおいて、一方にて運用系であることが設定されると、排他論理が働いて他方にて予備系であることが設定される。また、一方にて予備系であることが設定されると、排他論理が働いて他方にて運用系であることが設定される。また、サーバ160は、他のサーバとの間においてソフトウェアの更新を制御するための信号及びデータの送受信を行う送受信部162と、ソフトウェア等を格納する格納手段であるHDD161と、HDD161にアクセスする制御を行うHDDアクセス部163と、HDD161に格納されているソフトウェアを更新するソフト更新部164と、サーバ160の系を制御する系管理部165とから構成されている。また、サーバ170は、他のサーバとの間においてソフトウェアの更新を制御するための信号及びデータの送受信を行う送受信部172と、ソフトウェア等を格納する格納手段であるHDD171と、HDD171にアクセスする制御を行うHDDアクセス部173と、HDD171に格納されているソフトウェアを更新するソフト更新部174と、サーバ170の系を制御する系管理部175とから構成されている。なお、系管理部165と、系管理部175とにおいて、一方にて運用系であることが設定されると、排他論理が働いて他方にて予備系であることが設定される。また、一方にて予備系であることが設定されると、排他論理が働いて他方にて運用系であることが設定される。   In this embodiment, as shown in FIG. 3, the server system 110 is provided with sets 120 and 130 connected to a network 180 and having a redundant configuration. Furthermore, the group 120 includes a server 140 and a server 150 that has a redundant configuration with the server 140. The set 130 includes a server 160 and a server 170 having a duplex configuration with the server 160. Further, the server 140 transmits / receives a signal and data for controlling software update to / from other servers, an HDD 141 that is a storage unit for storing software, and a control for accessing the HDD 141. The HDD access unit 143 that performs the above-described process, the software update unit 144 that updates the software stored in the HDD 141, and the system management unit 145 that controls the system of the server 140. The server 150 also transmits / receives signals and data for controlling software updates to / from other servers, the HDD 151 as storage means for storing software, and the control for accessing the HDD 151. The HDD access unit 153 that performs the above-described processing, the software update unit 154 that updates the software stored in the HDD 151, and the system management unit 155 that controls the system of the server 150. In the system management unit 145 and the system management unit 155, when one is set as the active system, the exclusive logic is activated and the other is set as the standby system. Also, when one side is set to be a standby system, exclusive logic is activated and the other side is set to be an active system. The server 160 also transmits / receives signals and data for controlling software updates to / from other servers, an HDD 161 that is a storage means for storing software, etc., and a control for accessing the HDD 161. The HDD access unit 163 performs the above-described processing, the software update unit 164 updates the software stored in the HDD 161, and the system management unit 165 that controls the system of the server 160. The server 170 also transmits / receives signals and data for controlling software updates to / from other servers, an HDD 171 as storage means for storing software and the like, and a control for accessing the HDD 171. The HDD access unit 173 that performs the above-described process, the software update unit 174 that updates the software stored in the HDD 171, and the system management unit 175 that controls the system of the server 170 are configured. In the system management unit 165 and the system management unit 175, when one is set as the active system, the exclusive logic is activated and the other is set as the standby system. Also, when one side is set to be a standby system, exclusive logic is activated and the other side is set to be an active system.

以下に、図3に示したサーバシステム110におけるソフトウェア更新方法について説明する。   Hereinafter, a software update method in the server system 110 illustrated in FIG. 3 will be described.

図4は、図3に示したサーバシステム110におけるソフトウェア更新方法を説明するためのシーケンス図である。なお、主従関係を有さない場合の処理の特徴を明示するために、ソフトウェア更新において、新ソフトウェアの障害が検出され、旧ソフトウェアに切り戻す処理を例に挙げて説明する。   FIG. 4 is a sequence diagram for explaining a software update method in server system 110 shown in FIG. In order to clarify the characteristics of the process when there is no master-slave relationship, a process for detecting a failure of new software and switching back to the old software in software update will be described as an example.

ソフトウェア更新に使用される更新用ソフトウェアである新ソフトウェアがサーバ140のHDD141に予め格納されている。HDD141には、ネットワーク180を介して送信されてきた新ソフトウェアが格納されていても良いし、サーバ140に記憶媒体用のドライブを設け、設けられたドライブによってCD−ROMやMO等の移動可能な記憶媒体に書き込まれた新ソフトウェアが読み出され、読み出された新ソフトウェアがHDD141に格納されるものであっても良い。   New software, which is update software used for software update, is stored in advance in the HDD 141 of the server 140. The HDD 141 may store new software transmitted via the network 180. The server 140 may be provided with a drive for a storage medium, and a CD-ROM, MO, or the like can be moved by the provided drive. The new software written in the storage medium may be read, and the read new software may be stored in the HDD 141.

また、現在組120においては、サーバ140が運用系サーバとして稼動しており、サーバ150が予備系サーバとして稼動しており、また、組130においては、サーバ160が運用系サーバとして稼動しており、サーバ170が予備系サーバとして稼動しているとする。   In the group 120, the server 140 is operating as an active server, the server 150 is operating as a standby server, and in the group 130, the server 160 is operating as an active server. Assume that the server 170 is operating as a standby server.

HDD141に格納されている新ソフトウェアがHDDアクセス部143によって読み出され、読み出された新ソフトウェアが送受信部142によってサーバ150へ送信されると(ステップS101)、サーバ150の送受信部152にて新ソフトウェアが受信され(ステップS102)、受信された新ソフトウェアがHDDアクセス部153によってHDD151に格納される(ステップS103)。   When the new software stored in the HDD 141 is read by the HDD access unit 143 and the read new software is transmitted to the server 150 by the transmission / reception unit 142 (step S101), the new transmission / reception unit 152 of the server 150 The software is received (step S102), and the received new software is stored in the HDD 151 by the HDD access unit 153 (step S103).

新ソフトウェアがHDD151に格納されると、転送完了応答信号がHDDアクセス部153によって生成され、生成された転送完了応答信号が送受信部152によってサーバ140へ送信される(ステップS104)。そして、サーバ140へ送信された転送完了応答信号がサーバ140の送受信部142にて受信されると(ステップS105)、その旨がHDDアクセス部143へ通知され、新ソフトウェアがHDD151に格納されたことがHDDアクセス部143にて認識される。   When the new software is stored in HDD 151, a transfer completion response signal is generated by HDD access unit 153, and the generated transfer completion response signal is transmitted to server 140 by transmission / reception unit 152 (step S104). When the transfer completion response signal transmitted to the server 140 is received by the transmission / reception unit 142 of the server 140 (step S105), the HDD access unit 143 is notified to that effect and the new software is stored in the HDD 151. Is recognized by the HDD access unit 143.

次に、HDD141に格納されている新ソフトウェアがHDDアクセス部143によって読み出され、読み出された新ソフトウェアが送受信部142によってサーバ160へ送信される(ステップS106)。サーバ160へ送信された新ソフトウェアがサーバ160の送受信部162にて受信され(ステップS107)、受信された新ソフトウェアがHDDアクセス部163によってHDD161に格納される(ステップS108)。   Next, the new software stored in the HDD 141 is read by the HDD access unit 143, and the read new software is transmitted to the server 160 by the transmission / reception unit 142 (step S106). The new software transmitted to the server 160 is received by the transmission / reception unit 162 of the server 160 (step S107), and the received new software is stored in the HDD 161 by the HDD access unit 163 (step S108).

新ソフトウェアがHDD161に格納されると、転送完了応答信号がHDDアクセス部163によって生成され、生成された転送完了応答信号が送受信部162によってサーバ140へ送信される(ステップS109)。そして、サーバ140へ送信された転送完了応答信号がサーバ140の送受信部142にて受信されると(ステップS110)、その旨がHDDアクセス部143へ通知され、新ソフトウェアがHDD161に格納されたことがHDDアクセス部143にて認識される。   When the new software is stored in the HDD 161, a transfer completion response signal is generated by the HDD access unit 163, and the generated transfer completion response signal is transmitted to the server 140 by the transmission / reception unit 162 (step S109). When the transfer completion response signal transmitted to the server 140 is received by the transmission / reception unit 142 of the server 140 (step S110), the HDD access unit 143 is notified to that effect and the new software is stored in the HDD 161. Is recognized by the HDD access unit 143.

次に、HDD141に格納されている新ソフトウェアがHDDアクセス部143によって読み出され、読み出された新ソフトウェアが送受信部142によってサーバ170へ送信される(ステップS111)。サーバ170へ送信された新ソフトウェアがサーバ170の送受信部172にて受信され(ステップS112)、受信された新ソフトウェアがHDDアクセス部173によってHDD171に格納される(ステップS113)。   Next, the new software stored in the HDD 141 is read by the HDD access unit 143, and the read new software is transmitted to the server 170 by the transmission / reception unit 142 (step S111). The new software transmitted to the server 170 is received by the transmission / reception unit 172 of the server 170 (step S112), and the received new software is stored in the HDD 171 by the HDD access unit 173 (step S113).

新ソフトウェアがHDD171に格納されると、転送完了応答信号がHDDアクセス部173によって生成され、生成された転送完了応答信号が送受信部172によってサーバ140へ送信される(ステップS114)。そして、サーバ140へ送信された転送完了応答信号がサーバ140の送受信部142にて受信されると(ステップS115)、その旨がHDDアクセス部143へ通知され、新ソフトウェアがHDD171に格納されたことがHDDアクセス部143にて認識される。   When the new software is stored in the HDD 171, a transfer completion response signal is generated by the HDD access unit 173, and the generated transfer completion response signal is transmitted to the server 140 by the transmission / reception unit 172 (step S114). Then, when the transfer completion response signal transmitted to the server 140 is received by the transmission / reception unit 142 of the server 140 (step S115), the HDD access unit 143 is notified to that effect and the new software is stored in the HDD 171. Is recognized by the HDD access unit 143.

このようにして、組120の運用系サーバであるサーバ140から、サーバ140とネットワーク180を介して接続されているサーバ150,160,170への新ソフトウェアの転送が完了する。   In this way, the transfer of the new software from the server 140, which is the active server of the group 120, to the servers 150, 160, 170 connected to the server 140 via the network 180 is completed.

次に、組120にて予備系サーバとして稼動しているサーバ150及び組130にて予備系サーバとして稼動しているサーバ170のソフトウェア更新の処理が開始される。   Next, software update processing is started on the server 150 operating as a standby server in the group 120 and the server 170 operating as a standby server in the group 130.

まず最初に、サーバ140のソフト更新部144によってソフトウェア更新命令信号が生成され、生成されたソフトウェア更新命令信号が送受信部142によってサーバ150へ送信される(ステップS116)。サーバ150へ送信されたソフトウェア更新命令信号がサーバ150の送受信部152にて受信され(ステップS117)、受信されたソフトウェア更新命令信号がソフト更新部154によって認識され、HDD151に格納されている新ソフトウェアが起動され、サーバ150を制御するソフトウェアが、今まで動作していた旧ソフトウェアから新ソフトウェアに更新される(ステップS118)。新ソフトウェアへの更新が完了すると、ソフトウェア更新完了応答信号がソフト更新部154によって生成され、生成されたソフトウェア更新完了応答信号が送受信部152によってサーバ140へ送信される(ステップS119)。そして、サーバ140へ送信されたソフトウェア更新完了応答信号がサーバ140の送受信部142にて受信されると(ステップS120)、その旨がソフト更新部144に通知され、サーバ150においてソフトウェアが更新されたことがソフト更新部144にて認識される。   First, a software update command signal is generated by the software update unit 144 of the server 140, and the generated software update command signal is transmitted to the server 150 by the transmission / reception unit 142 (step S116). The software update command signal transmitted to the server 150 is received by the transmission / reception unit 152 of the server 150 (step S117), and the received software update command signal is recognized by the software update unit 154 and stored in the HDD 151. Is started, and the software that controls the server 150 is updated from the old software that has been operating until now to the new software (step S118). When the update to the new software is completed, a software update completion response signal is generated by the software update unit 154, and the generated software update completion response signal is transmitted to the server 140 by the transmission / reception unit 152 (step S119). When the software update completion response signal transmitted to the server 140 is received by the transmission / reception unit 142 of the server 140 (step S120), the software update unit 144 is notified to that effect and the software has been updated in the server 150. Is recognized by the software update unit 144.

次に、サーバ140のソフト更新部144によってソフトウェア更新命令信号が生成され、生成されたソフトウェア更新命令信号が送受信部142によってサーバ170へ送信される(ステップS121)。サーバ170へ送信されたソフトウェア更新命令信号がサーバ170の送受信部172にて受信され(ステップS122)、受信されたソフトウェア更新命令信号がソフト更新部174によって認識され、HDD171に格納されている新ソフトウェアが起動され、サーバ170を制御するソフトウェアが、今まで動作していた旧ソフトウェアから新ソフトウェアに更新される(ステップS123)。新ソフトウェアへの更新が完了すると、ソフトウェア更新完了応答信号がソフト更新部174によって生成され、生成されたソフトウェア更新完了応答信号が送受信部172によってサーバ140へ送信される(ステップS124)。そして、サーバ140へ送信されたソフトウェア更新完了応答信号がサーバ140の送受信部142にて受信されると(ステップS125)、その旨がソフト更新部144へ通知され、サーバ170においてソフトウェアが更新されたことがソフト更新部144にて認識される。   Next, a software update command signal is generated by the software update unit 144 of the server 140, and the generated software update command signal is transmitted to the server 170 by the transmission / reception unit 142 (step S121). The software update command signal transmitted to the server 170 is received by the transmission / reception unit 172 of the server 170 (step S122), and the received software update command signal is recognized by the software update unit 174 and stored in the HDD 171. Is activated, and the software that controls the server 170 is updated from the old software that has been operated to the new software (step S123). When the update to the new software is completed, a software update completion response signal is generated by the software update unit 174, and the generated software update completion response signal is transmitted to the server 140 by the transmission / reception unit 172 (step S124). When the software update completion response signal transmitted to the server 140 is received by the transmission / reception unit 142 of the server 140 (step S125), the software update unit 144 is notified to that effect, and the software is updated in the server 170. Is recognized by the software update unit 144.

このようにして、組120にて予備系サーバとして稼動しているサーバ150及び組130にて予備系サーバとして稼動しているサーバ170において、ソフトウェアの更新が完了する。   In this way, the software update is completed on the server 150 operating as the standby server in the group 120 and the server 170 operating as the standby server in the group 130.

予備系サーバのソフトウェアが更新されると、運用系の切り替えの処理が開始される。運用系の切り替え処理とは、予備系サーバであるサーバを運用系サーバに、また運用系サーバであるサーバを予備系サーバに切り替える処理である。   When the standby server software is updated, the operation switching process is started. The active system switching process is a process of switching a server that is a standby server to an active server and a server that is an active server to a standby server.

まずは、サーバ140内の系管理部145にて、サーバシステム110内の自身の組以外の組についての運用系切り替えのプロセスが生成される(ステップS126)。本形態においては、自身の組が組120に該当するため自身の組以外の組である組130についての運用系切り替えプロセスが生成されることとなる。このプロセスとは、後述するステップS127の処理である。   First, the system management unit 145 in the server 140 generates an active system switching process for a group other than its own group in the server system 110 (step S126). In this embodiment, since the own group corresponds to the group 120, an active system switching process is generated for the group 130 which is a group other than the own group. This process is the process of step S127 described later.

系管理部145にて生成されたプロセスに従って、系管理部145によって組130の運用系切り替えを行うために運用系サーバ切り替え命令信号が生成され、生成された運用系サーバ切り替え命令信号が送受信部142によってサーバ160へ送信される(ステップS127)。送信された運用系サーバ切り替え命令信号がサーバ160の送受信部162にて受信され(ステップS128)、受信された運用系サーバ切り替え命令信号が系管理部165によって認識されると、系管理部165にてサーバ160の系が運用系から予備系に切り替えられ、同時にサーバ170の系が予備系から運用系に切り替えられる(ステップS129)。ここで、系管理部165においては系を切り替えるための信号について排他論理が組まれており、この排他論理によって生成される一方の系と他方の系との間における信号である交絡信号を生成するための論理回路または論理プログラムが設けられており、この交絡信号が一方の系から他方の系へ送信されることにより、一方の系と他方の系とが瞬時に排他的な系状態に切り替わることを実現可能としている。   In accordance with the process generated by the system management unit 145, the system management unit 145 generates an active server switch command signal for switching the active system of the set 130, and the generated active server switch command signal is transmitted to the transmission / reception unit 142. Is transmitted to the server 160 (step S127). The transmitted active server switching command signal is received by the transmission / reception unit 162 of the server 160 (step S128), and when the received active server switching command signal is recognized by the system management unit 165, the system management unit 165 receives the signal. Thus, the system of the server 160 is switched from the active system to the standby system, and at the same time, the system of the server 170 is switched from the standby system to the active system (step S129). Here, in the system management unit 165, exclusive logic is set for the signal for switching the system, and a confounding signal that is a signal between one system and the other system generated by this exclusive logic is generated. A logic circuit or logic program is provided for this purpose, and when this confounding signal is transmitted from one system to the other system, one system and the other system are instantaneously switched to an exclusive system state. Is feasible.

一方、組120においても運用系切り替えを行うために、サーバ140の系管理部145にてサーバ140の系が運用系から予備系に切り替えられ、同時にサーバ150の系が予備系から運用系に切り替えられる(ステップS130)。系管理部145においても系管理部165と同様に、系を切り替えるための信号について排他論理が組まれている。なお、ステップS127の処理とステップS130の処理とは、説明上シリアル処理で記述しているが、サーバ140上にて並行して処理される。また、ステップS127及びステップS128の処理に要する時間が非常に短いため、ステップS129の処理とステップS130の処理とは同時に実行されるとみなすことができる。   On the other hand, in order to switch the active system also in the group 120, the system management unit 145 of the server 140 switches the server 140 system from the active system to the standby system, and simultaneously switches the server 150 system from the standby system to the active system. (Step S130). Similarly to the system management unit 165, the system management unit 145 also includes exclusive logic for the signal for switching the system. The processing in step S127 and the processing in step S130 are described as serial processing for the sake of explanation, but are processed in parallel on the server 140. In addition, since the time required for the processing of step S127 and step S128 is very short, it can be considered that the processing of step S129 and the processing of step S130 are executed simultaneously.

以上の処理により、組120についてはサーバ150が運用系サーバとして新ソフトウェアで稼動され、また組130についてはサーバ170が運用系サーバとして新ソフトウェアで稼動されることにより、サーバシステム110にて運用系サーバとして稼動しているサーバにおけるソフトウェアの更新が一斉に同期して行われたこととなる。   With the above processing, for the group 120, the server 150 is operated by the new software as an active server, and for the group 130, the server 170 is operated by the new software as the active server, so that the server system 110 operates. This means that the software updates in the server operating as the server are performed simultaneously and synchronously.

その後、新ソフトウェアに更新され、運用系サーバとなったサーバ170にて新ソフトウェアが原因である障害が検出されたとする。この障害検出は、サーバ170内に障害検出手段(不図示)が設けられており、その障害検出手段によって新ソフトウェアが原因である障害が発生したと判断された場合である。なお、サーバ140,150,160についても同様の障害検出手段が設けられていることが望ましい。   Thereafter, it is assumed that a failure caused by the new software is detected in the server 170 that is updated to the new software and becomes the active server. This failure detection is performed when failure detection means (not shown) is provided in the server 170 and it is determined by the failure detection means that a failure caused by the new software has occurred. It is desirable that the same fault detection means is provided for the servers 140, 150, and 160.

サーバ170内の障害検出手段にて新ソフトウェアが原因である障害が検出されると(ステップS131)、サーバ170内の系管理部175にて、サーバシステム110内の自身の組以外の組についての運用系切り替えのプロセスが生成される(ステップS132)。本形態においては、自身の組が組130に該当するため自身の組以外の組である組120についての運用系切り替えプロセスが生成されることとなる。このプロセスとは具体的には、後述するステップS133の処理である。   When a failure caused by the new software is detected by the failure detection means in the server 170 (step S131), the system management unit 175 in the server 170 sets a group other than its own in the server system 110. An active system switching process is generated (step S132). In this embodiment, since the own set corresponds to the set 130, an active system switching process is generated for the set 120 which is a set other than the own set. Specifically, this process is a process of step S133 described later.

系管理部175にて生成されたプロセスに従って、障害を発生させる新ソフトウェアで稼動している組120の運用系切り替えを行うために、系管理部175によって運用系サーバ切り替え命令信号が生成され、生成された運用系サーバ切り替え命令信号が送受信部172によってサーバ150へ送信される(ステップS133)。送信された運用系サーバ切り替え命令信号がサーバ150の送受信部152にて受信され(ステップS134)、受信された運用系サーバ切り替え命令信号が系管理部155によって認識されると、系管理部155にてサーバ150の系が運用系から予備系に切り替えられ、同時にサーバ140の系が予備系から運用系に切り替えられる(ステップS135)。ここで、系管理部155においては系を切り替えるための信号について排他論理が組まれており、この排他論理によって生成される一方の系と他方の系との間における信号である交絡信号を生成するための論理回路または論理プログラムが設けられており、この交絡信号が一方の系から他方の系へ送信されることにより、一方の系と他方の系とが瞬時に排他的な系状態に切り替わることを実現可能としている。   In accordance with the process generated by the system management unit 175, an active server switch command signal is generated and generated by the system management unit 175 in order to switch the operating system of the set 120 operating with the new software causing the failure. The operational server switching command signal thus transmitted is transmitted to the server 150 by the transmission / reception unit 172 (step S133). The transmitted operational server switching command signal is received by the transmission / reception unit 152 of the server 150 (step S134), and when the received operational server switching command signal is recognized by the system management unit 155, the system management unit 155 The server 150 system is switched from the active system to the standby system, and at the same time, the server 140 system is switched from the standby system to the active system (step S135). Here, in the system management unit 155, exclusive logic is set for the signal for switching the system, and a confounding signal that is a signal between one system and the other system generated by this exclusive logic is generated. A logic circuit or logic program is provided for this purpose, and when this confounding signal is transmitted from one system to the other system, one system and the other system are instantaneously switched to an exclusive system state. Is feasible.

一方、組130においても障害を発生させる新ソフトウェアで稼動しているため運用系切り替えを行うために、サーバ170の系管理部175にてサーバ170の系が運用系から予備系に切り替えられ、同時にサーバ160の系が予備系から運用系に切り替えられる(ステップS136)。系管理部175においても系管理部155と同様に、系を切り替えるための信号について排他論理が組まれている。なお、ステップS133の処理とステップS136の処理とは、説明上シリアル処理で記述しているが、サーバ170上にて並行して処理される。また、ステップS133及びステップS134の処理に要する時間が非常に短いため、ステップS135の処理とステップS136の処理とは同時に実行されるとみなすことができる。   On the other hand, since the set 130 is operating with new software that causes a failure, the system management unit 175 of the server 170 switches the system of the server 170 from the active system to the standby system in order to perform switching of the active system. The system of the server 160 is switched from the standby system to the active system (step S136). Similarly to the system management unit 155, the system management unit 175 also includes exclusive logic for the signal for switching the system. Note that the processing in step S133 and the processing in step S136 are described as serial processing for the sake of explanation, but are processed in parallel on the server 170. In addition, since the time required for the processing of step S133 and step S134 is very short, it can be considered that the processing of step S135 and the processing of step S136 are performed simultaneously.

以上の処理により、組120については旧ソフトウェアで稼動しているサーバ140が運用系サーバとされ、また組130については旧ソフトウェアで稼動しているサーバ160が運用系サーバとされることにより、サーバシステム110にて動作するソフトウェアが新ソフトウェアから旧ソフトウェアへ一斉に同期して切り戻されることとなる。   With the above processing, for the group 120, the server 140 operating with the old software is the active server, and for the group 130, the server 160 operating with the old software is the active server. Software operating in the system 110 is switched back from the new software to the old software at the same time.

なお、組については2つの場合について説明したが、3つ以上の複数の組であっても同様の処理が可能であることは言うまでもない。   Note that although two cases have been described for groups, it goes without saying that the same processing is possible even with a plurality of groups of three or more.

本発明のサーバシステムの実施の一形態を示す図である。It is a figure which shows one Embodiment of the server system of this invention. 図1に示したサーバシステムにおけるソフトウェア更新方法を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the software update method in the server system shown in FIG. 各組の間で主従関係を有さないサーバシステムの実施の一形態を示す図である。It is a figure which shows one Embodiment of the server system which does not have a master-slave relationship between each group. 図3に示したサーバシステムにおけるソフトウェア更新方法を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the software update method in the server system shown in FIG.

符号の説明Explanation of symbols

10,110 サーバシステム
20 制御組
30 被制御組
40,50,60,70,140,150,160,170 サーバ
41,51,61,71,141,151,161,171 HDD
42,52,62,72,142,152,162,172 送受信部
43,53,63,73,143,153,163,173 HDDアクセス部
44,54,64,74,144,154,164,174 ソフト更新部
45,55,65,75,145,155,165,175 系管理部
80,180 ネットワーク
120,130 組
10, 110 Server system 20 Control group 30 Controlled group 40, 50, 60, 70, 140, 150, 160, 170 Server 41, 51, 61, 71, 141, 151, 161, 171 HDD
42, 52, 62, 72, 142, 152, 162, 172 Transmission / reception unit 43, 53, 63, 73, 143, 153, 163, 173 HDD access unit 44, 54, 64, 74, 144, 154, 164, 174 Software update unit 45, 55, 65, 75, 145, 155, 165, 175 System management unit 80, 180 Network 120, 130 sets

Claims (2)

互いに排他的な運用系である運用系と予備系との二重化構成をとるサーバの組を複数有し、前記サーバ上で動作するソフトウェアを更新するサーバシステムであって、
前記運用系として動作しているサーバのうち、更新用ソフトウェアが格納されたサーバは、当該サーバ以外のサーバへ前記更新用ソフトウェアを送信し、前記予備系として動作している全てのサーバに対して前記更新用ソフトウェアへの更新を指示し、
前記予備系として動作しているサーバは、前記更新が指示された場合、当該サーバ上で動作するソフトウェアを前記更新用ソフトウェアへ更新し、
前記更新用ソフトウェアが格納されたサーバは、前記予備系として動作している全てのサーバにて前記更新が完了した後、前記サーバの組全ての運用系と予備系とを一斉に切り替え、
該切り替え後に運用系として動作しているサーバは、当該サーバに障害が発生した場合、前記サーバの組全ての運用系と予備系とを一斉に切り戻し、
前記サーバのそれぞれは、
当該サーバ上で動作するソフトウェアを格納する格納手段と、
当該サーバ上で動作するソフトウェアを前記更新用ソフトウェアへ更新するソフト更新手段と、
当該サーバの運用系を切り替える系管理手段とを有するサーバシステム。
A server system having a plurality of server sets having a redundant configuration of an active system and a standby system, which are mutually exclusive operating systems, and updating software operating on the server,
Of the servers operating as the active system, the server storing the update software transmits the update software to a server other than the server, to all servers operating as the standby system Instructing update to the update software,
The server operating as the standby system, when the update is instructed, updates the software operating on the server to the update software,
The server in which the update software is stored , after the update is completed in all servers operating as the standby system, and simultaneously switching all active and standby systems of the server set,
A server operating as an active system after the switchover, when a failure occurs in the server, switches back all the active systems and the standby system of the server set at once,
Each of the servers
Storage means for storing software running on the server;
Software update means for updating the software operating on the server to the update software;
A server system having system management means for switching an operational system of the server.
請求項1に記載のサーバシステムにおいて、
前記系管理手段は、当該サーバの運用系を、他の運用系をとるサーバの運用系と排他的な運用系に切り替えることを特徴とするサーバシステム。
The server system according to claim 1,
The server system characterized in that the system management means switches the operating system of the server to an operating system exclusive to a server operating system that takes another operating system.
JP2005143994A 2005-05-17 2005-05-17 Server system Active JP5011655B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005143994A JP5011655B2 (en) 2005-05-17 2005-05-17 Server system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005143994A JP5011655B2 (en) 2005-05-17 2005-05-17 Server system

Publications (2)

Publication Number Publication Date
JP2006323485A JP2006323485A (en) 2006-11-30
JP5011655B2 true JP5011655B2 (en) 2012-08-29

Family

ID=37543139

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005143994A Active JP5011655B2 (en) 2005-05-17 2005-05-17 Server system

Country Status (1)

Country Link
JP (1) JP5011655B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10628273B2 (en) 2015-01-30 2020-04-21 Nec Corporation Node system, server apparatus, scaling control method, and program

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9590852B2 (en) * 2013-02-15 2017-03-07 Facebook, Inc. Server maintenance system
JP6429813B2 (en) * 2016-02-01 2018-11-28 三菱電機株式会社 Computer system
JP6726120B2 (en) * 2017-02-24 2020-07-22 京セラ株式会社 POWER SYSTEM, POWER SYSTEM CONTROL METHOD, AND POWER SYSTEM

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05257673A (en) * 1992-03-11 1993-10-08 Fujitsu Ltd Old file reserving method at the time of updating file
JP3427363B2 (en) * 1994-10-07 2003-07-14 富士通株式会社 Multiprocessor system
JP3394189B2 (en) * 1998-08-21 2003-04-07 日本電信電話株式会社 Uninterrupted update system for program / data of any processor
JP2001101001A (en) * 1999-09-27 2001-04-13 Matsushita Electric Ind Co Ltd Method for updating data
JP2002342102A (en) * 2001-05-16 2002-11-29 Nec Corp Method and system for updating program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10628273B2 (en) 2015-01-30 2020-04-21 Nec Corporation Node system, server apparatus, scaling control method, and program

Also Published As

Publication number Publication date
JP2006323485A (en) 2006-11-30

Similar Documents

Publication Publication Date Title
US20070174849A1 (en) Non-disruptive multipath device driver update system and method
EP1785869B1 (en) Remote copying system with consistency guaranteed between a pair
US7844852B2 (en) Data mirror cluster system, method and computer program for synchronizing data in data mirror cluster system
JPH0371201A (en) Real time fail-safe processing control system and method for the same
JP2002542636A (en) Method and system for maintaining reservation command relationships in a fiber channel network
US7454533B2 (en) Redundant path control apparatus and redundant path control method
TWI410810B (en) Node system,server switching method,server device, data inheriting method,and program product
JP2007249776A (en) Database replication program, database replicator, and database replication method
JP5011655B2 (en) Server system
US7143092B1 (en) Data synchronization system and method of operation
US20060282831A1 (en) Method and hardware node for customized upgrade control
CN108009239B (en) Database access method and system
US20070297338A1 (en) Verification of path selection protocol in a multi-path storage area network
US8972777B2 (en) Method and system for storage management
JP4806382B2 (en) Redundant system
JP5716460B2 (en) Cluster system and control method thereof
JP2005128781A (en) System changeover method and information processing system
JP2006058960A (en) Synchronization method and system in redundant configuration server system
JP2001154896A (en) Computer and method for updating file
WO1995000906A1 (en) Method for improving disk mirroring error recovery in a computer system including an alternate communication path
JPH09305558A (en) Data base server for duplex system
JP2016173636A (en) Method for updating firmware and dual system
AU2021343889B2 (en) Controller and controller system
JP2001175626A (en) Recording medium with recorded program deciding server computer having performed processing finally and high- availability computer system
JPH11242607A (en) Distributed monitor and control system and database switching method therefor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080414

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110301

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110824

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111018

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111108

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120104

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120124

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120409

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20120416

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120521

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150615

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5011655

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150