JP3429559B2 - System version switching method and system version switching method - Google Patents
System version switching method and system version switching methodInfo
- Publication number
- JP3429559B2 JP3429559B2 JP13479094A JP13479094A JP3429559B2 JP 3429559 B2 JP3429559 B2 JP 3429559B2 JP 13479094 A JP13479094 A JP 13479094A JP 13479094 A JP13479094 A JP 13479094A JP 3429559 B2 JP3429559 B2 JP 3429559B2
- Authority
- JP
- Japan
- Prior art keywords
- server
- switching
- version
- processor module
- order
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Multi Processors (AREA)
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明はマルチサーバシステム版
数切替え方式及びマルチサーバシステム版数切替え方法
に関し、特に複数のプロセッサモジュールで分散処理を
行うマルチサーバシステムのシステム版数切替え方式及
びシステム版数切替え方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multi-server system version switching method and a multi-server system version switching method, and more particularly to a system version switching method and system version number of a multi-server system in which distributed processing is performed by a plurality of processor modules. Regarding the switching method.
【0002】[0002]
【従来の技術】マルチプロセッサ型の計算機におけるシ
ステムは、CPUとメモリからなる複数のプロセッサモ
ジュール(以下PMと呼ぶ)が高速バスで接続されてお
り、機能を提供するための複数のサーバがこのPM上で
動作する。このように、ユーザに提供する機能が複数の
サーバに分割され、それぞれのサーバの機能が複数のP
Mで分散して提供されているシステムがマルチサーバシ
ステムである。2. Description of the Related Art In a system of a multiprocessor type computer, a plurality of processor modules (hereinafter referred to as PM) composed of a CPU and a memory are connected by a high-speed bus, and a plurality of servers for providing functions are connected to the PM server. Works on. In this way, the function provided to the user is divided into a plurality of servers, and the function of each server is
The system distributed and provided by M is a multi-server system.
【0003】この様なシステムは、各種チケットの販売
システムのようなオンラインシステムに使用されること
が多いため、なるべく停止させずに保守作業を行う必要
がある。そのため、システムの版数を切り替える際に
も、システム全体の機能を停止させずに、追加機能や障
害修正を吸収したソフトウェア(ロードモジュール)を
システムに反映させるような制御が行われている。Since such a system is often used for an online system such as a system for selling various tickets, it is necessary to perform maintenance work without stopping as much as possible. Therefore, even when the version number of the system is switched, control is performed so as to reflect the software (load module) absorbing the additional function and the failure correction in the system without stopping the function of the entire system.
【0004】このシステム版数の切り替えは、PM1つ
ずつ行う。そのため、PMの版数の切り替えを行う際
に、そのPMに存在しサービスを提供しているサーバを
他のPMに移動し、サービスを停止させないようにした
後、PMのシステムの版数を切り替える。その操作を全
てのPMに対して実行する。The switching of the system version number is performed for each PM. Therefore, when switching the version number of a PM, the server that exists in the PM and provides the service is moved to another PM so that the service is not stopped, and then the version number of the PM system is switched. . The operation is executed for all PMs.
【0005】図6は従来の方式によるシステム版数の切
り替えの際のサーバの遷移状況を示す図である。この例
では、分かりやすくするために、5個のPMを有するマ
ルチサーバシステムでサービスを提供しており、このマ
ルチサーバシステムで動作している1つのアプリケーシ
ョンと1つのサーバの遷移状況について説明する。な
お、実際には数十から数百の図示されていないサーバが
あり、各PMに分散して処理されている。FIG. 6 is a diagram showing the transition status of the server when the system version number is switched by the conventional method. In this example, for the sake of simplicity, a multi-server system having five PMs provides services, and the transition status of one application and one server operating in this multi-server system will be described. Actually, there are tens to hundreds of servers (not shown), which are distributed to and processed by each PM.
【0006】ステップ21は、システム版数の切り替え
処理開始前の状態を示している。各PMは、現用、待
機、予備のいずれかの動作環境が設定されている。PM
1は現用β、PM2は現用αであり、アプリケーション
のサービスを提供している。アプリケーション30は、
PM1で動作している。PM3は待機PMであり、現用
PMが停止した際に直ぐにサービスの提供を開始できる
ように準備している。サーバ23はPM3で動作してい
る。PM4、PM5は予備PMである。予備PMは、必
要に応じて、現用、あるいは待機に変更される。まだ、
全てのPMは旧版のシステムで動作している。Step 21 shows a state before the system version switching process is started. Each PM has an operating environment set to either active, standby, or standby. PM
1 is a working β, and PM2 is a working α, which provides application services. Application 30
It is operating on PM1. PM3 is a standby PM, and is ready to start providing services immediately when the active PM stops. The server 23 operates on PM3. PM4 and PM5 are spare PMs. The spare PM is changed to a working PM or a standby PM as needed. yet,
All PMs are running on older systems.
【0007】ここで、アプリケーションとサーバは次の
ような条件に制約されている。まず、アプリケーション
は常に現用PMのシステム上で動作しており、その現用
PMが停止する際には待機PMを現用PMに変更した
後、アプリケーションはその新たに現用PMになったP
M上で動作するように切り替えられる。サーバは任意の
PMに移動できるが、PMの版数切り替え後は、性能の
バランスをとるため、もとのPMに設定されていた環境
に戻される。つまり、待機のPMで動作していたサーバ
は、PMの版数切り替え後は、待機のPMに戻される。Here, the application and the server are restricted by the following conditions. First, the application is always operating on the system of the active PM, and when the active PM stops, the standby PM is changed to the active PM, and then the application becomes the newly active PM.
Switched to work on M. The server can be moved to any PM, but after switching the version number of the PM, it is returned to the environment set for the original PM in order to balance the performance. That is, the server operating in the standby PM is returned to the standby PM after switching the version number of the PM.
【0008】このような条件で、PM1のシステムを新
版に切り替える場合、PM1を停止させなければならな
い。そのため、PM1上で動作しているアプリケーショ
ン30は、他のPMに移動される。Under such conditions, when switching the PM1 system to the new version, the PM1 must be stopped. Therefore, the application 30 operating on the PM1 is moved to another PM.
【0009】ステップ22は、PM1のシステム切り替
え後の状態を示している。ここで、PM1は新版に切り
替えられており、他のPM2、PM3、PM4、及びP
M5は旧版のシステムである。PM1は一端停止したた
め予備になり、その代わりにPM3が現用βになってお
り、このPM3上でアプリケーション30が動作してい
る。さらに、PM3が現用になったため、PM4が待機
PMとなっており、このPM4上にサーバ23が移動さ
れている。このとき、サーバ23は、旧版のシステムで
動作している。Step 22 shows the state of the PM1 after system switching. Here, PM1 has been switched to the new version, and other PM2, PM3, PM4, and P
M5 is an old version system. Since PM1 is once stopped, it becomes a backup, and instead, PM3 is currently in use β, and the application 30 is operating on this PM3. Further, since the PM 3 is currently in use, the PM 4 is in the standby PM, and the server 23 is moved onto this PM 4. At this time, the server 23 is operating in the old version system.
【0010】次に、PM4のシステムの切り替えを行う
場合、サーバ23は他のPMに移動する必要がある。な
お、システムの切り替えを行う順序は任意であり、どの
ような順番で切り替えても良い。Next, when the PM4 system is switched, the server 23 needs to move to another PM. The order of switching the system is arbitrary, and the order may be switched in any order.
【0011】ステップ23は、PM4のシステムの切り
替えのための、サーバ23aの移動後の状況を示してい
る。サーバ23aはPM1に移動され、新版のシステム
で動作している。なお、このときPM1は予備PM、P
M2は現用PM、PM3は現用PM、PM4は待機P
M、PM5は予備PMである。Step 23 shows the situation after the server 23a has been moved for switching the PM4 system. The server 23a has been moved to PM1 and is running on the new version of the system. At this time, PM1 is a spare PM, P
M2 is active PM, PM3 is active PM, PM4 is standby P
M and PM5 are spare PMs.
【0012】そして、PM4のシステムの切り替えが実
行された後は、サーバ23は移動前に動作していた環境
である待機PMに戻らなければならない。ステップ24
は、PM4のシステムの切り替え後の、サーバ23の状
況を示している。PM4のシステムは新版に切り替えら
れており、サーバ23はPM5に移動し、旧版のシステ
ム上で動作している。なお、このときPM1は予備P
M、PM2は現用PM、PM3は現用PM、PM4は予
備PM、PM5は待機PMである。After the PM4 system is switched, the server 23 must return to the standby PM, which is the environment in which it was operating before the movement. Step 24
Shows the status of the server 23 after switching the PM4 system. The system of PM4 has been switched to the new version, the server 23 has moved to PM5, and is running on the system of the old version. At this time, PM1 is a spare P
M and PM2 are active PM, PM3 is active PM, PM4 is standby PM, and PM5 is standby PM.
【0013】このようにサーバを移動しながら、全てに
PMのシステムを切り替えることによって、マルチサー
バシステム全体としての版数が切り替えられる。このよ
うな例として、本出願人は特開平4−24732を出願
している。By switching all PM systems while moving the server in this way, the version number of the entire multi-server system can be switched. As such an example, the present applicant has filed Japanese Patent Application Laid-Open No. 4-24732.
【0014】[0014]
【発明が解決しようとする課題】しかし、PMの版数を
切り替える際の、そのPM上で動作していたサーバの移
動先は任意であったため、旧版のシステムで動作してい
たサーバが一端新版のシステムに移動した後、旧版のシ
ステムに戻される可能性がある。上記の例では、ステッ
プ22で旧版のシステム上で動作していたサーバは、ス
テップ23で新版のシステム上に移動し、ステップ24
で旧版のシステムに戻されている。However, when switching the version number of a PM, the destination server of the server operating on the PM is arbitrary, so that the server operating on the old version of the system is a new version. After moving to another system, it may be reverted to an older system. In the above example, the server that was running on the old version system in step 22 is moved to the new version system in step 23, and the server is moved to step 24.
Has been reverted to the old version of the system.
【0015】サーバが新版で動作したり旧版で動作した
りすると、サーバが新版で動作することによって一端サ
ービスが開始された新機能が、サーバが旧版で動作した
際に停止してしまう。また、新版のシステムで修正され
る障害が再度発生したりする。When the server operates in the new version or the old version, the new function whose service has been started once the server operates in the new version stops when the server operates in the old version. In addition, the problem that is fixed in the new version of the system may occur again.
【0016】また、1つのPMの版数を切り替えるとき
に、サーバが移動する回数は1回であるとは限らず、複
数回の移動が行われる場合がある。上記の例でも、PM
4の版数を切り替えるために、サーバは2回の移動を行
っている。Further, when the version number of one PM is switched, the number of times the server moves is not limited to one, and there are cases where the server moves a plurality of times. Even in the above example, PM
The server has moved twice in order to switch the version number of 4.
【0017】サーバが移動する際には、サービスは一時
的に遅延する。そのため、サーバの移動回数が多いと、
サービスが中断する時間が長くなり、システム全体の処
理速度が低下してしまう。As the server moves, the service is temporarily delayed. Therefore, if you move the server a lot,
The service is interrupted for a long time, and the processing speed of the entire system is reduced.
【0018】このように、従来の方法ではシステムの版
数を切り替えを行うべきPMの順序や、サーバの移動先
が決められていなかったため、サーバが動作するシステ
ムの版数が無秩序に変動しプログラムの動作が不安定に
なるとともに、サーバの切り替え回数が多くなり、シス
テム全体の処理速度を低下させているという問題点があ
った。As described above, in the conventional method, since the order of PMs for which the system version number should be switched and the destination of moving the server are not determined, the version number of the system on which the server operates is chaotically fluctuated. There is a problem that the operation of is unstable and the number of times of switching the server is increased, so that the processing speed of the entire system is reduced.
【0019】本発明はこのような点に鑑みてなされたも
のであり、サーバが動作するシステムの版数が新版から
旧版に戻ることがなく、かつサーバの移動を必要最低限
の回数に抑えるシステム版数切替え方式を提供すること
を目的とする。The present invention has been made in view of the above points, and is a system in which the version number of a system in which a server operates does not return from a new version to an old version, and the number of server movements is kept to a necessary minimum number. The purpose is to provide a version number switching method.
【0020】また、本発明の別の目的は、サーバが動作
するシステムの版数が新版から旧版に戻ることがなく、
かつサーバの移動を必要最低限の回数に抑えるシステム
版数切替え方法を提供することである。Another object of the present invention is to prevent the version number of the system on which the server operates from returning from the new version to the old version,
Another object of the present invention is to provide a system version number switching method that keeps the number of server movements to the minimum necessary number.
【0021】[0021]
【課題を解決するための手段】図1は上記目的を達成す
る本発明のシステム版数切替え方式の原理図である。本
発明では、各プロセッサモジュールPM1、PM2、P
M3に対し重み付けを行い、システムの版数の切り替え
を、重要度の低いプロセッサモジュールから行うように
順序を決定する順序決定手段1と、プロセッサモジュー
ルに存在しているサーバ21、22、23の移動先を、
重要度が1段階低いプロセッサモジュールに移動するよ
うに決定する移動先決定手段2と、システムの版数を切
り替える際に、システムの版数を切り替えるべきプロセ
ッサモジュールに存在しているサーバを、移動先決定手
段で決められた移動先に移動するサーバ移動手段3と、
順序決定手段で決められた順序でプロセッサモジュール
のシステムの版数の切り替えを実行する版数切替え手段
4と、が設けられる。FIG. 1 is a principle diagram of a system version switching system of the present invention for achieving the above object. In the present invention, each processor module PM1, PM2, P
M3 is weighted, and the order determination means 1 for determining the order so that the system version is switched from the less important processor module, and the movement of the servers 21, 22, 23 existing in the processor module. Ahead
The migration destination determining means 2 for deciding to move to a processor module whose importance is one step lower, and the server existing in the processor module whose system version number should be switched when switching the system version number A server moving means 3 that moves to a destination determined by the determining means,
Version number switching means 4 for switching the version numbers of the system of the processor modules in the order determined by the order determining means.
【0022】また、各プロセッサモジュールに対し重み
付けを行い、全てのプロセッサモジュールに対し、重要
度の低いプロセッサモジュールから順に、プロセッサモ
ジュールに存在しているサーバを重要度が1段階低いプ
ロセッサモジュールに移動した後、プロセッサモジュー
ルのシステムの版数を切り替えることを特徴とするシス
テム版数切替え方法が提供される。In addition, weighting is applied to each processor module, and for all processor modules, the servers existing in the processor modules are moved in order from the processor module having a lower importance to the processor module having a lower importance one level. Then, a system version switching method is provided, which is characterized by switching the system version of the processor module.
【0023】[0023]
【作用】順序決定手段1は、各プロセッサモジュールP
M1、PM2、PM3に対し重み付けを行い、システム
の版数の切り替えを、重要度の低いプロセッサモジュー
ルから行うように順序を決定する。移動先決定手段2は
プロセッサモジュールに存在しているサーバ21、2
2、23の移動先を、重要度が1段階低いプロセッサモ
ジュールに移動するように決定する。これらの決定に基
づきサーバ移動手段3は、システムの版数を切り替える
際に、システムの版数を切り替えるべきプロセッサモジ
ュールに存在しているサーバを、移動先決定手段2で決
められた移動先に移動する。版数切替え手段4は、順序
決定手段1で決められた順序でプロセッサモジュールの
システムの版数の切り替えを実行する。Operation: The order determining means 1 includes the processor modules P.
Weighting is applied to M1, PM2, and PM3, and the order is determined so that the system version is switched from the processor module having a low importance. The destination determining means 2 is the server 21 or 2 existing in the processor module.
The destinations of 2 and 23 are determined to be moved to the processor module whose importance is one step lower. Based on these determinations, the server moving unit 3 moves the server existing in the processor module whose system version should be switched to the destination determined by the destination determining unit 2 when switching the system version. To do. The version number switching means 4 switches the version number of the system of processor modules in the order determined by the order determining means 1.
【0024】また、各プロセッサモジュールに対し重み
付けを行い、全てのプロセッサモジュールに対し、重要
度の低いプロセッサモジュールから順に、プロセッサモ
ジュールに存在しているサーバを重要度が1段階低いプ
ロセッサモジュールにに移動した後、プロセッサモジュ
ールのシステムの版数を切り替える。In addition, weighting is applied to each processor module, and for all processor modules, the servers existing in the processor modules are moved in order from the processor module having a lower importance to the processor module having a lower importance one level. After that, switch the system version of the processor module.
【0025】これにより、サーバが新版のシステムから
旧版のシステムに移動することなく、しかもサーバの移
動の回数を最低限に抑えて実施することができる。As a result, the server can be implemented without moving from the new version system to the old version system, and the number of server moves can be minimized.
【0026】[0026]
【実施例】以下、本発明の一実施例を図面に基づいて説
明する。図1は本発明のシステム版数切替え方式の原理
図である。順序決定手段1は、各プロセッサモジュール
PM1、PM2、PM3に対し重み付けを行い、システ
ムの版数の切り替えを、重要度の低いプロセッサモジュ
ールから行うように順序を決定する。移動先決定手段2
はプロセッサモジュールに存在しているサーバ21、2
2、23の移動先を、重要度が1段階低いプロセッサモ
ジュールに移動するように決定する。これらの決定に基
づきサーバ移動手段3は、システムの版数を切り替える
際に、システムの版数を切り替えるべきプロセッサモジ
ュールに存在しているサーバを、移動先決定手段2で決
められた移動先に移動する。版数切替え手段4は、順序
決定手段1で決められた順序でプロセッサモジュールの
システムの版数の切り替えを実行する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a principle diagram of the system version switching method of the present invention. The order determining means 1 weights the processor modules PM1, PM2, and PM3, and determines the order such that the system version is switched from a processor module having a low importance. Destination determination means 2
Are servers 21, 2 existing in the processor module
The destinations of 2 and 23 are determined to be moved to the processor module whose importance is one step lower. Based on these determinations, the server moving means 3 moves the server existing in the processor module whose system version number should be switched to the destination determined by the destination determining means 2 when switching the system version number. To do. The version number switching means 4 switches the version number of the system of processor modules in the order determined by the order determining means 1.
【0027】図2は本発明のマルチサーバシステムの概
略構成を示すブロック図である。複数のPM1、PM
2、PM3はそれぞれCPU111、121、131と
メモリ112、122、132を有しており、お互いに
高速バス40で接続されている。PM管理機構5は、こ
れらのPMに名前を設定し、その名前と属性との対応関
係をしめすPM対応管理テーブルを作成する。属性は、
現用、待機、予備の3種類である。順序決定機構1a
は、PMに与えられている属性に、現用、待機、予備の
順で重み付けをし、重要度の低いPMからシステム版数
の切り替えが行われるように、切り替え順序を決定し、
切り替え順序決定テーブルを作成する。サーバ移動先決
定機構2aは、現用PMに存在するサーバは待機PMに
移動し、待機PMに存在するサーバは予備PMに移動
し、予備PMに存在するサーバは他の予備PMに移動す
るように、サーバの移動先を決定し、サーバ移動先決定
テーブルを作成する。FIG. 2 is a block diagram showing a schematic configuration of the multi-server system of the present invention. Multiple PM1, PM
2 and PM3 have CPUs 111, 121 and 131 and memories 112, 122 and 132, respectively, and are connected to each other by a high-speed bus 40. The PM management mechanism 5 sets names to these PMs and creates a PM correspondence management table indicating the correspondence between the names and attributes. The attributes are
There are three types: active, standby, and standby. Order determination mechanism 1a
Determines the order of switching so that the attributes assigned to PMs are weighted in the order of active, standby, and standby, and the system version is switched from the PM with the lowest importance,
Create a switching order determination table. The server migration destination determining mechanism 2a moves the server existing in the active PM to the standby PM, the server existing in the standby PM to the standby PM, and the server existing in the standby PM to another standby PM. , The server move destination is determined, and the server move destination determination table is created.
【0028】システム版数切替え機構4aは、サーバ移
動先決定機構2aからシステム版数を切り替えるべきP
Mを確認し、サーバ移動機構3aにサーバ移動依頼を出
力する。サーバ移動機構3aは、PM上に存在するサー
バを、サーバ移動先決定機構2aで決められた移動先に
移動する。PM再始動機構4bは、切り替えを行うべき
PMが停止されシステム版数切替え機構4aによりシス
テムの版数の切り替えが行われた後、そのPMを再始動
する。The system version switching mechanism 4a should switch the system version from the server migration destination determining mechanism 2a.
After confirming M, a server move request is output to the server move mechanism 3a. The server moving mechanism 3a moves the server existing on the PM to the moving destination determined by the server moving destination determining mechanism 2a. The PM restart mechanism 4b restarts the PM after the PM to be switched is stopped and the system version switching mechanism 4a switches the system version number.
【0029】これで、システム版数の切り替えの最中
に、新版数のシステムで動作していたサーバが、旧版数
に戻ることがなくなる。また、サーバの移動は最小限度
の回数(可能な限り、1つのサーバの切り替えは1回の
み)ですむようになる。As a result, the server operating in the new version system will not return to the old version during the system version switching. In addition, the server can be moved a minimum number of times (when possible, one server can be switched only once).
【0030】ジョブ実行制御機構6は、システム版数を
切り替える際に、各種ジョブ(会話セッション、バッチ
ジョブ、アプリケーションサーバ等)を停止、および入
り閉塞させる。異常検出機構7は、PMやサーバの異常
停止を検出する。システム版数の切り替え中に異常が検
出された場合は、異常通知をシステム版数切替え機構4
aに通知する。システム版数切替え機構4aは、システ
ム版数の切替え作業を中止し、ジョブ実行制御機構6に
対し、ジョブ閉塞回収指令を出力する。ジョブ閉塞回収
指令を受け取ったジョブ実行制御機構6は、ジョブの閉
塞と、アプリケーションサーバの停止を解除する。The job execution control mechanism 6 stops, enters, and blocks various jobs (conversation session, batch job, application server, etc.) when the system version number is switched. The abnormality detection mechanism 7 detects an abnormal stop of the PM or the server. If an error is detected during system version switching, an error notification is sent to the system version switching mechanism 4
Notify a. The system version switching mechanism 4a cancels the system version switching work and outputs a job blockage recovery command to the job execution control mechanism 6. The job execution control mechanism 6 that has received the job block collection command releases the job block and the stop of the application server.
【0031】これによって、システムの版数切り替え時
に何らかの異常が発生した場合、閉塞の回収処理が可能
となり、端末装置の操作や遠隔操作により、異常の回復
作業を行うことができる。異常が発生する原因として、
新版のシステムのバグがあった場合等が考えられる。Thus, if any abnormality occurs when the version number of the system is switched, the blockage can be collected, and the abnormality can be recovered by operating the terminal device or by remote operation. As a cause of abnormality,
It is possible that there is a bug in the new version of the system.
【0032】図3は切替え順序決定テーブルの例を示す
図である。このテーブルには、PM名、用途、実装のP
M、および順番の4つの項目がある。順番は、予備、待
機、現用の順になるように決定されている。なお、PM
名、用途、および実装のPMは、PM管理機構5が管理
しており、順序決定機構1aがそれらのPMに対するシ
ステム版数の切り替えの順番を管理している。FIG. 3 is a diagram showing an example of the switching order determination table. In this table, PM name, purpose, P of implementation
There are four items, M, and order. The order is determined to be the order of standby, standby, and working. In addition, PM
The PM management mechanism 5 manages the name, the purpose, and the installed PM, and the order determination mechanism 1a manages the order of switching the system version numbers for these PMs.
【0033】図4はサーバ移動先決定テーブルの例を示
す図である。このテーブルには、PM名(A,B,C,
D,E)、用途、実装のPM、および移動先PMの4つ
の項目がある。移動先PMは、現用のPMは待機、待機
のPMは予備、予備のは他の予備になるように決定され
ている。各PMのサーバの移動先PMはサーバ移動先決
定機構2aが管理している。FIG. 4 is a diagram showing an example of the server move destination determination table. In this table, PM names (A, B, C,
D, E), application, mounting PM, and destination PM. The destination PM is determined such that the active PM is on standby, the standby PM is on standby, and the standby PM is on another standby. The server migration destination PM of each PM is managed by the server migration destination determining mechanism 2a.
【0034】ここで、図3に示す切替え順序決定テーブ
ルと図4に示すサーバ移動先決定テーブルによって、サ
ーバがどの様に遷移するかを説明する。図5はシステム
版数の切り替えの際のサーバの遷移状況を示す図であ
る。この例では、分かりやすくするために、5個のPM
を有するマルチサーバシステムでサービスを提供してい
る2つのサーバの遷移状況について説明する。なお、実
際には数十から数百の図示されていないサーバがあり、
各PMに分散して処理されている。Here, how the server transits will be described with reference to the switching order determination table shown in FIG. 3 and the server move destination determination table shown in FIG. FIG. 5 is a diagram showing the transition status of the server when the system version number is switched. In this example, for the sake of clarity, 5 PM
The transition status of two servers providing a service in a multi-server system having the above will be described. Actually, there are tens to hundreds of servers (not shown),
It is distributed to each PM and processed.
【0035】ステップ11は、システム版数の切り替え
処理開始前の状態を示している。各PMは、現用、待
機、予備のいずれかの動作環境が設定されている。PM
1は現用β、PM2は予備、PM3は現用α、PM4は
待機、PM5は予備である。サーバ21はPM1で動作
しており、サーバ22はPM4で動作している。Step 11 shows the state before the system version switching process is started. Each PM has an operating environment set to either active, standby, or standby. PM
1 is a working β, PM2 is a spare, PM3 is a working α, PM4 is a standby, and PM5 is a spare. The server 21 is operating on PM1 and the server 22 is operating on PM4.
【0036】まず、図3に示す切替え順序決定テーブル
に示す順序どうりに、予備PMであるPM2とPM5が
新版のシステムに切り替えられる。ステップ12は、P
M2とPM5のシステム切り替え後の状態を示してい
る。ここで、PM2とPM5は新版に切り替えられてお
り、他のPM1、PM3、およびPM4は旧版のシステ
ムのままである。サーバ21はPM1で動作しており、
サーバ22はPM4で動作している。First, the spare PMs PM2 and PM5 are switched to the new version system in the order shown in the switching order determination table shown in FIG. Step 12 is P
The state after system switching of M2 and PM5 is shown. Here, PM2 and PM5 have been switched to the new version, and the other PM1, PM3, and PM4 remain in the old version of the system. Server 21 is running on PM1,
The server 22 is operating on PM4.
【0037】次に、待機PMであるPM4のシステムを
切り替える。ステップ13は、PM4のシステムの切り
替え後の状態を示している。PM4のシステムは新版に
切り替えられ、サーバ22aはPM2に移動され、新版
のシステムで動作している。なお、このときPM2は待
機になり、PM1、PM3、およびPM15に変更はな
い。サーバ21はPM1で動作している。Next, the system of PM4, which is the standby PM, is switched. Step 13 shows the state after switching the system of PM4. The system of PM4 has been switched to the new version, the server 22a has been moved to PM2, and is running on the new system. At this time, PM2 is on standby, and PM1, PM3, and PM15 are not changed. The server 21 is operating on PM1.
【0038】次に、現用PMであるPM1のシステムを
切り替える。ステップ14は、PM1のシステムの切り
替え後の状態を示している。PM1のシステムは新版に
切り替えられており、PM4は現用βとなり、サーバ2
1aはPM4に移動する。なお、このときPM2、PM
3、およびPM5には変更なく、サーバ22aはPM2
で動作している。Next, the system of PM1 which is the active PM is switched. Step 14 shows a state after switching the PM1 system. The system of PM1 has been switched to the new version, PM4 becomes active β, server 2
1a moves to PM4. At this time, PM2, PM
3 and PM5 are unchanged, the server 22a is PM2.
Is working on.
【0039】このように、サーバの動作するシステムは
新版から旧版に戻ることがない。そのため、システム版
数切り替え時にも、安定して処理が実行できる。また、
1つのサーバの移動回数は1回ですむため、サーバの移
動に伴う処理の遅延時間を短縮することができる。As described above, the system in which the server operates does not return from the new version to the old version. Therefore, the processing can be stably executed even when the system version number is switched. Also,
Since one server needs to be moved only once, it is possible to reduce the processing delay time associated with the server movement.
【0040】さらに、システム版数の切り替え時に何ら
かのトラブルが発生した際には、システム版数の切り替
え作業を停止し、各種ジョブの閉塞と、アプリケーショ
ンサーバの停止を解除できるため、システム版数の切り
替え中に発生した障害であっても、システムの復旧作業
が可能になる。Further, when a trouble occurs during the system version switching, the system version switching work can be stopped, various jobs can be blocked and the application server can be released from the stop, so that the system version switching can be performed. Even if a failure occurs inside, the system can be restored.
【0041】[0041]
【発明の効果】以上説明したように本発明では、各プロ
セッサモジュールに対し重み付けを行い、重要度の低い
プロセッサモジュールから順にシステムの切り替えを行
うようにし、その際のサーバの移動先を重要度が1段階
低いプロセッサモジュールに移動するようにすることに
より、サーバが動作するシステムの版数が新版から旧版
に戻ることがなく、サーバの移動を必要最低限の回数に
抑えることができるため、システム版数の切り替え時の
動作の安定が確保できるとともに、サーバの移動に伴う
処理の遅延時間を短縮することができる。As described above, according to the present invention, each processor module is weighted, and the system is switched in order from the processor module with the lowest importance. By moving to a processor module that is one step lower, the version of the system on which the server operates does not return from the new version to the old version, and the number of server moves can be suppressed to the minimum necessary number. It is possible to secure the stability of the operation when switching the number and reduce the delay time of the processing due to the movement of the server.
【図1】本発明のシステム版数切替え方式の原理図であ
る。FIG. 1 is a principle diagram of a system version switching system of the present invention.
【図2】本発明のマルチサーバシステムの概略構成を示
すブロック図である。FIG. 2 is a block diagram showing a schematic configuration of a multi-server system of the present invention.
【図3】切替え順序決定テーブルの例を示す図である。FIG. 3 is a diagram showing an example of a switching order determination table.
【図4】サーバ移動先決定テーブルの例を示す図であ
る。FIG. 4 is a diagram showing an example of a server move destination determination table.
【図5】システム版数の切り替えの際のサーバの遷移状
況を示す図である。FIG. 5 is a diagram showing a transition status of a server when a system version number is switched.
【図6】従来の方式によるシステム版数の切り替えの際
のサーバの遷移状況を示す図である。FIG. 6 is a diagram showing a transition state of servers when a system version is switched by a conventional method.
1 順序決定手段 2 移動先決定手段 3 サーバ移動手段 4 版数切替え手段 21、22、23 サーバ PM1、PM2、PM3 プロセッサモジュール 1 Order determination means 2 Destination decision means 3 server transportation 4 Version switching means 21, 22, 23 servers PM1, PM2, PM3 Processor Module
フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 15/177 G06F 11/00 G06F 9/455 G06F 13/00 Front page continuation (58) Fields surveyed (Int.Cl. 7 , DB name) G06F 15/177 G06F 11/00 G06F 9/455 G06F 13/00
Claims (4)
を行うマルチサーバシステムのシステム版数切替え方式
において、 各プロセッサモジュールに対し重要度を決定する重み付
けを行い、システムの版数の切り替えを、前記重要度の
低いプロセッサモジュールから行うように順序を決定す
る順序決定手段と、 プロセッサモジュールで提供しているサーバの機能を移
動する際の移動先を、前記重要度が1段階低いプロセッ
サモジュールに移動するように決定する移動先決定手段
と、 システムの版数を切り替える際に、システムの版数を切
り替えるべきプロセッサモジュールで提供しているサー
バの機能を、前記移動先決定手段で決められた移動先に
移動するサーバ移動手段と、 前記順序決定手段で決められた順序でプロセッサモジュ
ールのシステムの版数の切り替えを実行する版数切替え
手段と、 を有することを特徴とするシステム版数切替え方式。1. A system version number switching mode multiserver system for performing distributed processing by a plurality of processor modules, <br/> only performs weighting to determine the importance For each processor module, the version number of the system switch between, and order determining means to determine the order to be performed from the lower processor modules of the importance, the destination when moving the functions of the server that provides the processor module, the importance 1 stage moving destination determination means to decide to move to a lower processor module
And the server provided by the processor module that should switch the system version when switching the system version .
Server of the function, said the server moving means to move the moving destination determined by the destination determining unit, switching the version number to perform the version number of the switching system of the processor module in the given order in the order determination means system version number switching method characterized by having <br/> hand stage, the.
ュールの重み付けを、重要度の高い順に、現用、待機、
予備の3段階で行うことを特徴とする請求項1記載のシ
ステム版数切替え方式。Wherein said order determining hands stage, the weighting of each processor module, the order of importance, the active, standby,
The system version switching method according to claim 1, wherein the system version switching method is performed in three preliminary steps.
ジョブを停止させ、異常が発生した際には、停止してい
たジョブを再起動するジョブ実行制御手段をさらに有す
ることを特徴とする請求項1記載のシステム版数切替え
方式。3. While switching the version number of the system,
2. The system version switching method according to claim 1, further comprising job execution control means for stopping the job and restarting the stopped job when an abnormality occurs.
を行うマルチサーバシステムのシステム版数切替え方法
において、 各プロセッサモジュールに対し重要度を決定する重み付
けを行い、全てのプロセッサモジュールに対し、該プロ
セッサモジュールでサーバの機能が動作している場合に
は、システムの版数を切り替える前に該サーバの機能を
前記重要度が1段階低いプロセッサモジュールに移動
し、 前記 重要度の低いプロセッサモジュールから順に、該プ
ロセッサモジュールのシステムの版数を切り替えること
を特徴とするシステム版数切替え方法。4. In a system version switching method of a multi-server system in which a plurality of processor modules perform distributed processing, each processor module is weighted to determine its degree of importance , and all processor modules are weighted. In contrast, the professional
When the server function is operating in the sessor module
Checks the function of the server before switching the system version.
Moved to the processor module whose importance is one step lower
And, wherein in order from less important processor module, the flop <br/> ii processor module system version number switching method characterized by switching the version number of the system.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP13479094A JP3429559B2 (en) | 1994-06-17 | 1994-06-17 | System version switching method and system version switching method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP13479094A JP3429559B2 (en) | 1994-06-17 | 1994-06-17 | System version switching method and system version switching method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH086903A JPH086903A (en) | 1996-01-12 |
| JP3429559B2 true JP3429559B2 (en) | 2003-07-22 |
Family
ID=15136612
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP13479094A Expired - Fee Related JP3429559B2 (en) | 1994-06-17 | 1994-06-17 | System version switching method and system version switching method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3429559B2 (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2580061B2 (en) | 1990-05-15 | 1997-02-12 | 富士通株式会社 | Active maintenance processing method for server-type programs |
-
1994
- 1994-06-17 JP JP13479094A patent/JP3429559B2/en not_active Expired - Fee Related
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2580061B2 (en) | 1990-05-15 | 1997-02-12 | 富士通株式会社 | Active maintenance processing method for server-type programs |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH086903A (en) | 1996-01-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5121486A (en) | Network control system for dynamically switching a logical connection between an identified terminal device and an indicated processing unit | |
| US5155729A (en) | Fault recovery in systems utilizing redundant processor arrangements | |
| JPH10187638A (en) | Cluster control system | |
| US20080288812A1 (en) | Cluster system and an error recovery method thereof | |
| US8713352B2 (en) | Method, system and program for securing redundancy in parallel computing system | |
| RU2134446C1 (en) | Method for controlling primitive program overflow by messages in multiprocessor control system (versions) | |
| KR100293797B1 (en) | Methods and systems for unchaining linked processors in distributed operating systems | |
| JPS6375963A (en) | System recovery method | |
| US7434085B2 (en) | Architecture for high availability using system management mode driven monitoring and communications | |
| US20050068888A1 (en) | Seamless balde failover in platform firmware | |
| Wang et al. | Progressive retry for software failure recovery in message-passing applications | |
| JP3429559B2 (en) | System version switching method and system version switching method | |
| KR0133337B1 (en) | Target system redundancy operation management device and method | |
| KR100305491B1 (en) | Scheme to perform event rollup | |
| JP3447347B2 (en) | Failure detection method | |
| US5758161A (en) | Testing method for checking the completion of asynchronous distributed collective operations | |
| JP2016224490A (en) | Redundant system | |
| JPH0879246A (en) | Distributed communication system and failure recovery method thereof | |
| JP2004062470A (en) | Switching system of multiprocessor | |
| WO2024174306A1 (en) | Transaction hosting method and apparatus based on shared storage database cluster | |
| JPH05314075A (en) | On-line computer system | |
| JP2001134301A (en) | Supervisory control system, data equivalent method, and storage medium | |
| JP3483931B2 (en) | Program execution control method and computer | |
| KR0168947B1 (en) | Method for booting node without disk in real-time distributing system | |
| CN1322705C (en) | A method of datum plane reset for forwarding equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20030415 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080516 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090516 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090516 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100516 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100516 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110516 Year of fee payment: 8 |
|
| LAPS | Cancellation because of no payment of annual fees |