JP2011216059A - Computer system, management method of computer system, gateway device, and program - Google Patents

Computer system, management method of computer system, gateway device, and program Download PDF

Info

Publication number
JP2011216059A
JP2011216059A JP2010086146A JP2010086146A JP2011216059A JP 2011216059 A JP2011216059 A JP 2011216059A JP 2010086146 A JP2010086146 A JP 2010086146A JP 2010086146 A JP2010086146 A JP 2010086146A JP 2011216059 A JP2011216059 A JP 2011216059A
Authority
JP
Japan
Prior art keywords
request
mscp
exclusive control
environment
development environment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2010086146A
Other languages
Japanese (ja)
Other versions
JP5477122B2 (en
Inventor
Kiyoko Matsumura
聖子 松村
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 JP2010086146A priority Critical patent/JP5477122B2/en
Publication of JP2011216059A publication Critical patent/JP2011216059A/en
Application granted granted Critical
Publication of JP5477122B2 publication Critical patent/JP5477122B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent a problem having occurred in a development environment from causing trouble in an active environment without preparing an MSCP device separately for the active environment and the development environment, when the active environment and the development environment are executed in a loosely-coupled computer system having a host computer and an exclusive controller.SOLUTION: An MSCPGW part 5 receives requests from the active environment 100 and the development environment 101 to determine whether the received requests are from the active environment 100 or the development environment 101. When the received request is determined to be from the development environment 101, the MSCPGW part 5 transmits the request to an available standby system MSCP device 50-m of a plurality of MSCP devices 50-1, 50-2, ..., 50-m. As a result, the standby system MSCP device 50-m is utilized from the development environment 101, and the MSCP device need not be prepared separately for the active environment and the development environment.

Description

本発明は、ホストコンピュータと排他制御装置とからなるコンピュータシステム、コンピュータシステムの管理方法、ゲートウェイ装置、及びプログラムに関する。   The present invention relates to a computer system including a host computer and an exclusive control device, a computer system management method, a gateway device, and a program.

ホストコンピュータと排他制御装置とを有する疎結合のコンピュータシステムでは、例えば特許文献1及び特許文献2で示すように、障害時のリスクを回避するため、待機系のMSCP装置(Multi-System Control Processor:排他制御装置)が用意されている。待機系のMSCP装置は、通常、運用系のMSCP装置のように資源管理のための排他制御処理は行わずに、運用系のMSCP装置に障害が発生した際に備えてバックアップの装置として待機している。   In a loosely coupled computer system having a host computer and an exclusive control device, as shown in Patent Document 1 and Patent Document 2, for example, a standby MSCP device (Multi-System Control Processor: Exclusive control device) is prepared. The standby MSCP device normally does not perform exclusive control processing for resource management like the active MSCP device, and waits as a backup device in case a failure occurs in the active MSCP device. ing.

また、例えば、特許文献3に示されているように、ホストコンピュータと排他制御装置とを有する疎結合のコンピュータシステムでは、運用系のMSCP(Multi-System Control Processor:排他制御装置)の内部は、通常業務処理を実行するための本番系と、当該本番系を実行するためのソフトウエアの開発やメンテナンスをするための開発系とで共用されている。   Further, for example, as shown in Patent Document 3, in a loosely coupled computer system having a host computer and an exclusive control device, the inside of an active MSCP (Multi-System Control Processor) is: It is shared by the production system for executing normal business processing and the development system for developing and maintaining software for executing the production system.

しかしながら、このような方式では、開発系の処理の問題によりMSCP装置の動作に異常が発生した場合、本番系の処理にも支障を来し、システム全体の運用に影響する場合がある。このため、開発環境と本番環境とで、MSCP装置を別々に設ける必要がある。   However, in such a system, if an operation of the MSCP apparatus is abnormal due to a problem in the development system processing, the actual system processing may be hindered and the operation of the entire system may be affected. For this reason, it is necessary to provide MSCP devices separately in the development environment and the production environment.

開発環境と本番環境とでMSCP装置を分けるような構成としては、例えば、本番環境専用のMSCPサブシステムと開発環境専用のMSCPサブシステムを別々に用意する構成と、MSCP装置の排他制御装置内の管理動作資源を本番環境用と開発環境用とで分割する構成とが考えられる。   As a configuration in which the MSCP device is divided between the development environment and the production environment, for example, a configuration in which an MSCP subsystem dedicated to the production environment and an MSCP subsystem dedicated to the development environment are separately prepared, and an exclusive control device of the MSCP device A configuration in which the management operation resource is divided for the production environment and the development environment can be considered.

図11は、本番環境専用のMSCPサブシステムと開発環境専用のMSCPサブシステムを別々に用意する構成を示している。図11において、ホストコンピュータ201a及び201bは、それぞれ、本番環境202a、202b、開発環境203a、203bに分かれている。また、MSCPサブシステムとして、本番系の専用のMSCPサブシステム210aと、開発系の専用のMSCPサブシステム210bとが用意される。ホストコンピュータ201a及び201bの本番環境202a、202bでは、本番系の専用のMSCPサブシステム210aにある運用系のMSCP装置211a−1、211a−2、…が用いられる。また、本番環境202a、202bでは、障害発生時の回避用として、待機系のMSCP装置211a−mが用いられる。また、ホストコンピュータ201a及び201bの開発環境203a、203bでは、開発系の専用のMSCPサブシステム210bにある運用系のMSCP装置211b−1、211b−2、…が用いられる。また、開発環境203a、203bでは、障害発生時の回避用として、待機系のMSCP装置211b−mが用いられる。   FIG. 11 shows a configuration in which an MSCP subsystem dedicated to the production environment and an MSCP subsystem dedicated to the development environment are separately prepared. In FIG. 11, the host computers 201a and 201b are divided into production environments 202a and 202b and development environments 203a and 203b, respectively. Also, as the MSCP subsystem, a production dedicated MSCP subsystem 210a and a development dedicated MSCP subsystem 210b are prepared. In the production environments 202a and 202b of the host computers 201a and 201b, operational MSCP devices 211a-1, 211a-2,... In the dedicated MSCP subsystem 210a for production are used. In the production environments 202a and 202b, standby MSCP devices 211a-m are used for avoiding a failure. In addition, in the development environments 203a and 203b of the host computers 201a and 201b, operational MSCP devices 211b-1, 211b-2,... In the dedicated MSCP subsystem 210b for development are used. In the development environments 203a and 203b, standby MSCP devices 211b-m are used for avoiding a failure.

図12は、MSCP装置の排他制御装置内の管理動作資源を本番環境用と開発環境用とで分割する構成を示している。図12において、運用系のMSCP装置211−1、211−2、…及び待機系のMSCP装置211−mは、それぞれ、本番系の管理動作資源221と開発系の管理動作資源222とに分割されている。ホストコンピュータ201a及び201bの本番環境202a、202bでは、運用系のMSCP装置211−1、211−2、…にある本番系の管理動作資源221が用いられる。また、本番環境202a、202bでは、障害発生時の回避用として、待機系のMSCP装置211−mにある本番系の管理動作資源221が用いられる。また、ホストコンピュータ201a及び201bの開発環境203a、203bでは、運用系のMSCP装置211−1、211−2、…にある開発系の管理動作資源222が用いられる。また、開発環境203a、203bでは、障害発生時の回避用として、待機系のMSCP装置211−mにある開発系の管理動作資源222が用いられる。   FIG. 12 shows a configuration in which the management operation resources in the exclusive control device of the MSCP device are divided for the production environment and the development environment. In FIG. 12, the active MSCP devices 211-1, 211-2,... And the standby MSCP device 211-m are divided into a production management operation resource 221 and a development management operation resource 222, respectively. ing. In the production environments 202a and 202b of the host computers 201a and 201b, production management operation resources 221 in the active MSCP devices 211-1, 211-2,... Are used. In the production environments 202a and 202b, the production management operation resource 221 in the standby MSCP device 211-m is used for avoiding a failure. Further, in the development environments 203a and 203b of the host computers 201a and 201b, development management operation resources 222 in the active MSCP devices 211-1, 211-2,... Are used. Further, in the development environments 203a and 203b, a development management operation resource 222 in the standby MSCP device 211-m is used for avoiding a failure.

特開2009−058998号公報JP 2009-058998 A 特許第3134864号公報Japanese Patent No. 3134864 特開平10−171696号公報JP-A-10-171696

上述のように、図12に示したように、本番環境と開発環境とでMSCP装置を共有すると、開発環境で生じた問題により本番系の処理にも支障を来し、システム全体の運用に影響する場合がある。一方、図11に示したように、開発環境と本番環境とで別々にMSCP装置を用意すると、必要とされる資源が多くなるという問題が生じる。   As described above, as shown in FIG. 12, if the MSCP device is shared between the production environment and the development environment, the problems in the development environment cause problems in the production system and affect the operation of the entire system. There is a case. On the other hand, as shown in FIG. 11, if MSCP devices are prepared separately for the development environment and the production environment, there arises a problem that the required resources increase.

上述の課題を鑑み、本発明は、本番環境と開発環境とを実行する際に、本番環境用と開発環境用のMSCP装置を別々に用意せずとも、開発環境で生じた問題により本番環境に支障が生じないようにするコンピュータシステム、コンピュータシステムの管理方法、ゲートウェイ装置、及びプログラムを提供することを目的とする。   In view of the above-described problems, the present invention is not limited to preparing a production environment and a development environment MSCP device separately when executing a production environment and a development environment. It is an object of the present invention to provide a computer system, a computer system management method, a gateway device, and a program that prevent troubles.

上述の課題を解決するために、本発明に係るコンピュータシステムは、ホストコンピュータと該ホストコンピュータが使用する資源を管理する複数の排他制御装置とを具備するコンピュータシステムであって、前記ホストコンピュータは、本番環境及び開発環境を実行するホストオペレーションシステム部と、前記複数の排他制御装置に対する入出力を制御するゲートウェイ部とを備え、前記複数の排他制御装置は、運用系の排他制御装置と、待機系の排他制御装置とを含み、前記ゲートウェイ部は、前記本番環境又は前記開発環境から要求が入力され、前記入力された要求が前記本番環境からの要求か前記開発環境からの要求かを判定し、前記入力された要求が前記開発環境からの要求である場合、前記排他制御装置のうち前記待機系の排他制御装置に前記入力された要求を送信することを特徴とする。   In order to solve the above-described problem, a computer system according to the present invention is a computer system including a host computer and a plurality of exclusive control devices that manage resources used by the host computer. A host operation system unit that executes a production environment and a development environment; and a gateway unit that controls input and output to the plurality of exclusive control devices. The plurality of exclusive control devices include an active exclusive control device and a standby system. The gateway unit receives a request from the production environment or the development environment, determines whether the input request is a request from the production environment or a request from the development environment, If the input request is a request from the development environment, the standby control of the exclusive control device is excluded. And transmits the input to the control device request.

本発明に係るゲートウェイ装置は、本番環境及び開発環境を実行するホストコンピュータと、運用系の排他制御装置及び待機系の排他制御装置を含む複数の排他制御装置との間の入出力を制御するゲートウェイ装置であって、前記本番環境又は前記開発環境から要求を入力され、前記入力された要求が本番環境からの要求か開発環境からの要求かを判定し、前記入力された要求が開発環境からの要求である場合、前記排他制御装置のうち待機系の排他制御装置に前記入力された要求を送信することを特徴とする。   A gateway device according to the present invention controls an input / output between a host computer that executes a production environment and a development environment, and a plurality of exclusive control devices including an active exclusive control device and a standby exclusive control device. A device that receives a request from the production environment or the development environment, determines whether the input request is a request from the production environment or a request from the development environment, and the input request is received from the development environment If the request is a request, the input request is transmitted to a standby exclusive control device of the exclusive control device.

本発明に係るコンピュータの管理方法は、本番環境及び開発環境を実行するホストコンピュータと、運用系の排他制御装置及び待機系の排他制御装置を含む複数の排他制御装置とを有するコンピュータシステムの管理方法において、本番環境又は開発環境から要求を入力される工程と、前記入力された要求が本番環境からの要求か開発環境からの要求かを判定する工程と、前記入力された要求が開発環境からの要求である場合に、前記複数の排他制御装置のうち待機系の排他制御装置に前記入力された要求を送信する工程とを含むことを特徴とする。   A computer management method according to the present invention is a computer system management method including a host computer that executes a production environment and a development environment, and a plurality of exclusive control devices including an active exclusive control device and a standby exclusive control device. , A step in which a request is input from the production environment or the development environment, a step of determining whether the input request is a request from the production environment or a request from the development environment, and the input request is from the development environment. And a step of transmitting the input request to a standby exclusive control device among the plurality of exclusive control devices when the request is a request.

本発明に係るプログラムは、本番環境及び開発環境を実行するホストコンピュータと、運用系の排他制御装置及び待機系の排他制御装置を含む複数の排他制御装置とを有するコンピュータシステムにおけるホストコンピュータを、本番環境及び開発環境から要求を入力される手段、前記入力された要求が本番環境からの要求か開発環境からの要求かを判定する手段、前記入力された要求が開発環境からの要求である場合、前記排他制御装置のうち待機系の排他制御装置に前記入力された要求を送信する手段として機能させることを特徴とする。   A program according to the present invention includes a host computer in a computer system having a host computer that executes a production environment and a development environment, and a plurality of exclusive control devices including an active exclusive control device and a standby exclusive control device. A means for inputting a request from the environment and the development environment; a means for determining whether the input request is a request from the production environment or a request from the development environment; and the input request is a request from the development environment, The exclusive control device functions as a means for transmitting the input request to a standby exclusive control device.

本発明によれば、本番環境用と開発環境用とのMSCP装置を別々に用意せずとも、ホストコンピュータにおいて、本番環境と開発環境とを動作させ、開発環境で生じた問題により本番系の処理にも支障が生じないようにすることができる。   According to the present invention, the production environment and the development environment are operated on the host computer without separately preparing the MSCP devices for the production environment and the development environment, and the production system processing is performed due to a problem occurring in the development environment. Can also be prevented.

本発明の第1の実施形態のコンピュータシステムを示すブロック図である。1 is a block diagram illustrating a computer system according to a first embodiment of this invention. ホストコンピュータの構成を示すブロック図である。It is a block diagram which shows the structure of a host computer. MSCP管理テーブルの説明図である。It is explanatory drawing of a MSCP management table. MSCP装置の構成を示すブロック図である。It is a block diagram which shows the structure of a MSCP apparatus. ホストコンピュータとMSCP装置との間のデータのフォーマットの説明図である。It is explanatory drawing of the format of the data between a host computer and an MSCP apparatus. コマンド振り分け部での処理を示すフローチャートである。It is a flowchart which shows the process in a command distribution part. チャネル管理部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a channel management part. チャネル管理部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a channel management part. 障害が発生した場合の処理の説明図である。It is explanatory drawing of a process when a failure generate | occur | produces. 障害が発生した場合の処理の説明図である。It is explanatory drawing of a process when a failure generate | occur | produces. 本番環境専用のMSCPサブシステムと開発環境専用のMSCPサブシステムを別々に用意した構成の説明図である。It is explanatory drawing of the structure which prepared the MSCP subsystem only for production environments, and the MSCP subsystem only for development environments separately. MSCP装置の排他制御装置内の管理動作資源を本番環境用と開発環境用とで分割した構成の説明図である。It is explanatory drawing of the structure which divided | segmented the management operation | movement resource in the exclusive control apparatus of a MSCP apparatus for production environments and for development environments.

以下、本発明の実施の形態について図面を参照しながら説明する。図1は、本発明の第1の実施形態のコンピュータシステムを示すブロック図である。図1を参照すると、本発明の第1の実施形態のコンピュータシステムは、プログラム制御により動作する複数のホストコンピュータ1−1、1−2、…、1−nと、複数のMSCP装置50−1、50−2、…、50−mで構成される。ここでは、MSCP装置50−1、50−2、…が運用系であり、MSCP装置50−mが待機系である。ここで、MSCP装置50−1、50−2、…、50−mのいずれか1つ、又は全てを示す場合、MSCP装置50という。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a computer system according to the first embodiment of this invention. Referring to FIG. 1, the computer system according to the first embodiment of the present invention includes a plurality of host computers 1-1, 1-2,..., 1-n that operate under program control, and a plurality of MSCP devices 50-1. , 50-2, ..., 50-m. Here, the MSCP devices 50-1, 50-2,... Are active systems, and the MSCP device 50-m is a standby system. Here, when any one or all of the MSCP devices 50-1, 50-2,...

図2は、ホストコンピュータ1−1、1−2、…、1−nの構成を示すブロック図である。図2に示すように、ホストコンピュータ1−1、1−2、…、1−nは、ホストOS(オペレーティング・システム)部5とMSCPGW(Multi-System Control Processor Gate-Way:排他制御装置ゲートウェイ)部6との2つの部を有している。   FIG. 2 is a block diagram showing the configuration of the host computers 1-1, 1-2,..., 1-n. As shown in FIG. 2, the host computers 1-1, 1-2,..., 1-n are a host OS (operating system) unit 5 and an MSCPGW (Multi-System Control Processor Gate-Way). It has two parts, part 6.

ホストOS部5は、通常教務処理を実行するための本番環境100と、当該本番系を実行するためのソフトウエアの開発やメンテナンスをするための開発環境101の複数のOS環境を有している。本番環境100は、コンピュータシステムの主となるOS環境である。また、本番環境100は、MSCP装置50の構成管理等も担っている。開発環境101は、開発や本番移行前の評価等が実行される環境である。ホストOS部5では、本番環境100と開発環境101は、ホストOSの下で同時に実行可能である。   The host OS unit 5 has a plurality of OS environments, that is, a production environment 100 for executing normal teaching processing and a development environment 101 for developing and maintaining software for executing the production system. . The production environment 100 is the main OS environment of the computer system. The production environment 100 is also responsible for configuration management of the MSCP device 50 and the like. The development environment 101 is an environment in which development, evaluation before migration, and the like are executed. In the host OS unit 5, the production environment 100 and the development environment 101 can be executed simultaneously under the host OS.

MSCPGW部6は、ホストコンピュータ1−1、1−2、…、1−nと、MSCP装置50−1、50−2、…、50−mとの間の接続を制御するゲートウェイ機能を提供する。MSCPGW部6は、チャネル管理部2と、コマンド振り分け部3と、IO実行状態テーブル12と、m個の発行待ちキュー21と、m個のチャネル20を有している。   The MSCPGW unit 6 provides a gateway function for controlling the connection between the host computers 1-1, 1-2,..., 1-n and the MSCP devices 50-1, 50-2,. . The MSCPGW unit 6 includes a channel management unit 2, a command distribution unit 3, an IO execution state table 12, m issue waiting queues 21, and m channels 20.

チャネル管理部2は、各チャネル20において受信されたデータを入力されるか、又は、各発行待ちキュー21にデータがキューイングされていた場合に動作して、チャネル20から受信したデータ、及び発行待ちキュー21にキューイングされたデータの管理を行う。   The channel management unit 2 is operated when data received in each channel 20 is input or when data is queued in each issue queue 21, and data received from the channel 20 and issued The data queued in the waiting queue 21 is managed.

コマンド振り分け部3は、要求キュー13を監視し、要求キュー13にキューイングされている要求データに応じて、各発行待ちキュー21にデータを振り分ける。ここで、要求データは、コンピュータシステムにおける入出力デバイスや、記憶デバイスなどの資源の利用を要求するデータである。本実施形態では、コマンド振り分け部3は、要求データに設定された動作種別から本番環境100の要求か開発環境101の要求かを判別し、本番環境100からの要求であれば、対応する発行待ちキュー21にキューイングし、開発環境101からの要求であれば、利用可能な待機系のMSCP装置50の有無を確認し、利用可能な待機系のMSCP装置50が存在すれば、利用可能な待機系のMSCP装置50の対応する発行待ちキュー21にキューイングする。ここで、利用可能な待機系のMSCP装置50とは、本番環境100に利用されておらず、運用系のMSCP装置50に障害が発生した際に備えて設けられているMSCP装置50である。   The command distribution unit 3 monitors the request queue 13 and distributes the data to each issue queue 21 in accordance with the request data queued in the request queue 13. Here, the request data is data requesting the use of resources such as input / output devices and storage devices in the computer system. In the present embodiment, the command distribution unit 3 determines whether the request is for the production environment 100 or the development environment 101 based on the operation type set in the request data. If it is a request from the development environment 101, it is checked whether there is an available standby MSCP device 50. If there is an available standby MSCP device 50, an available standby is available. It is queued in the corresponding issue waiting queue 21 of the system MSCP device 50. Here, the available standby MSCP device 50 is an MSCP device 50 that is not used in the production environment 100 and is provided in case a failure occurs in the active MSCP device 50.

また、ホストコンピュータ1−1、1−2、…、1−nは、MSCP管理テーブル11と、要求キュー13と、応答キュー14とを有している。これらMSCP管理テーブル11、要求キュー13、応答キュー14は、ホストOS部5とMSCPGW部6とで共有される。   The host computers 1-1, 1-2,..., 1 -n have an MSCP management table 11, a request queue 13, and a response queue 14. The MSCP management table 11, the request queue 13, and the response queue 14 are shared by the host OS unit 5 and the MSCPGW unit 6.

図3は、MSCP管理テーブル11及びIO実行状態テーブル12それぞれに記憶されている情報を示す図である。
MSCP管理テーブル11は、MSCP装置50を使用するのに必要な基本情報であり、ホストOSの主たるOSである本番OSが作成及び管理する。図3(A)に示すように、MSCP管理テーブル11は、各MSCP装置50を識別するMSCP番号と、そのMSCP装置50の動作状態を”運用”・”待機”・”障害”により識別する情報と、そのMSCP装置50と接続されているチャネル20のチャネル番号を示す情報とを対応付けて記憶するテーブルである。また、MSCP管理テーブル11は、各MSCP装置50に対応するm個のエントリからなる。
FIG. 3 is a diagram showing information stored in each of the MSCP management table 11 and the IO execution state table 12.
The MSCP management table 11 is basic information necessary for using the MSCP device 50, and is created and managed by the production OS, which is the main OS of the host OS. As shown in FIG. 3A, the MSCP management table 11 includes an MSCP number for identifying each MSCP device 50 and information for identifying the operation state of the MSCP device 50 by “operation”, “standby”, and “failure”. And the information indicating the channel number of the channel 20 connected to the MSCP device 50 in association with each other. The MSCP management table 11 includes m entries corresponding to the respective MSCP devices 50.

IO実行状態テーブル12は、図3(B)に示すように、ホストコンピュータ1−1、1−2、…、1−n内に存在する各チャネル20に対応するm個のエントリからなる。各エントリは、チャネル番号と、チャネル状態と、データとが対応付けられて記憶されている。チャネル番号はチャネル20を識別するための情報であり、チャネル状態はそのチャネル20の使用状況(”空き”か”使用中”か)を示している。データはMSCP装置50への要求を示す情報、又は、要求に応じてMSCP装置50により処理結果を示す情報である。   As shown in FIG. 3B, the IO execution state table 12 includes m entries corresponding to the respective channels 20 existing in the host computers 1-1, 1-2,. Each entry stores a channel number, a channel state, and data in association with each other. The channel number is information for identifying the channel 20, and the channel state indicates the usage status of the channel 20 (whether it is “free” or “in use”). The data is information indicating a request to the MSCP device 50 or information indicating a processing result by the MSCP device 50 in response to the request.

要求キュー13は、ホストOS上の本番環境100及び開発環境101がMSCP装置50に処理を要求する場合、要求データをMSCPGWへ受け渡すための要求データの待ち行列である。   The request queue 13 is a queue of request data for delivering request data to the MSCPGW when the production environment 100 and the development environment 101 on the host OS request the MSCP device 50 to perform processing.

応答キュー14は、MSCPGW部6からの要求データの処理結果をホストOS上の本番環境100及び開発環境101へ引き渡すための応答データの待ち行列である。   The response queue 14 is a queue of response data for delivering the processing result of the request data from the MSCPGW unit 6 to the production environment 100 and the development environment 101 on the host OS.

発行待ちキュー21は、ホストコンピュータ1−1、1−2、…、1−n内に存在するチャネル20の数(m)だけ存在し、チャネル20からデータを送信するための待ち行列である。   The issuance queue 21 is a queue for transmitting data from the channel 20 by the number (m) of the channels 20 existing in the host computers 1-1, 1-2,.

チャネル20は、ホストコンピュータ1−1、1−2、…、1−n内にm個存在し、それぞれが異なるMSCP装置50−1、51−2、…、50−nに1対1で接続されている。チャネル20は、チャネル管理部2から指示された通信をMSCP装置50−1、51−2、…、50−mに送信し、MSCP装置50−1、51−2、…、50−mから届いたら通信をチャネル管理部2に引き渡す機能する。   There are m channels 20 in the host computers 1-1, 1-2,..., 1-n, each connected to different MSCP devices 50-1, 51-2,. Has been. The channel 20 transmits the communication instructed by the channel management unit 2 to the MSCP devices 50-1, 51-2, ..., 50-m, and arrives from the MSCP devices 50-1, 51-2, ..., 50-m. Then, it functions to deliver the communication to the channel management unit 2.

図4は、MSCP装置50−1、50−2、…、50−mの構成を示すブロック図である。図4に示すように、MSCP装置50−1、50−2、…、50−mは、排他制御処理部52と、n個のポート70からなる。   FIG. 4 is a block diagram showing the configuration of the MSCP devices 50-1, 50-2,..., 50-m. As shown in FIG. 4, the MSCP devices 50-1, 50-2,..., 50-m include an exclusive control processing unit 52 and n ports 70.

ポート70は、MSCP装置50−1、50−2、…、50−m内にn個存在し、それぞれが異なるホストコンピュータ1−1、1−2、…、1−nと1対1で接続されている。ポート70は、ホストコンピュータ1−1、1−2、…、1−nからの受信したデータを排他制御処理部52に引き渡す機能と、排他制御処理部52から受け取ったデータをホストコンピュータ1−1、1−2、…、1−nに送信する機能を実現する。   There are n ports 70 in the MSCP devices 50-1, 50-2,..., 50-m, each connected to different host computers 1-1, 1-2,. Has been. The port 70 has a function of passing data received from the host computers 1-1, 1-2,..., 1-n to the exclusive control processing unit 52, and data received from the exclusive control processing unit 52 as the host computer 1-1. The function of transmitting to 1-2,..., 1-n is realized.

排他制御処理部52は、排他制御を行う処理部で、ホストコンピュータ1−1、1−2、…、1−nがどの資源をどのように使用中かを管理する排他制御テーブルを備え、ポート70経由でホストコンピュータ1−1、1−2、…、1−nから受け取ったMSCP装置50−1、50−2、…、50−mへの要求を処理する。排他制御処理部52は、主に、要求データで指定された資源について排他制御テーブルを更新しつつ、排他制御テーブルに管理されている情報と照合し使用の可否を決定し、応答データ作成し、ポート70経由でホストコンピュータ1−1、1−2、…、1−nに返す処理部である。   The exclusive control processing unit 52 is a processing unit that performs exclusive control, and includes an exclusive control table that manages which resources are used by the host computers 1-1, 1-2,. 70, the requests to the MSCP devices 50-1, 50-2,..., 50-m received from the host computers 1-1, 1-2,. The exclusive control processing unit 52 mainly checks the information managed in the exclusive control table while updating the exclusive control table for the resource specified by the request data, determines whether or not to use, creates response data, A processing unit that returns to the host computers 1-1, 1-2,.

図5は、ホストコンピュータ1−1、1−2、…、1−nとMSCP装置50−1、50−2、…、50−mとの間において送受信されるデータのフォーマットである。要求データは、ホストコンピュータ1−1、1−2、…、1−nからMSCP装置50−1、50−2、…、50−mに送信され、MSCP装置50−1、50−2、…、50−mへ処理を要求するときのデータである。要求データのフォーマットは、図5(A)に示すように、動作種別と、要求元ホストID(Identifier:識別子)と、要求先MSCP番号と、データとからなる。動作種別は、本番環境100と開発環境101とを識別するデータである。要求元ホストIDは、要求データを作成したホストを識別するためのIDである。要求先MSCP番号は、要求データを送るMSCPを識別するための番号である。データはホストOSとMSCP装置50−1、50−2、…、50−m間で規定された排他制御コマンド要求である。   FIG. 5 shows a format of data transmitted / received between the host computers 1-1, 1-2,..., 1-n and the MSCP devices 50-1, 50-2,. The request data is transmitted from the host computers 1-1, 1-2, ..., 1-n to the MSCP devices 50-1, 50-2, ..., 50-m, and the MSCP devices 50-1, 50-2, ... , 50-m when requesting processing. As shown in FIG. 5A, the format of the request data includes an operation type, a request source host ID (Identifier), a request destination MSCP number, and data. The operation type is data for identifying the production environment 100 and the development environment 101. The request source host ID is an ID for identifying the host that created the request data. The request destination MSCP number is a number for identifying the MSCP that sends the request data. The data is an exclusive control command request defined between the host OS and the MSCP devices 50-1, 50-2, ..., 50-m.

応答データは、MSCP装置50−1、50−2、…、50−mからホストコンピュータ1−1、1−2、…、1−nに送信され、ホストコンピュータ1−1、1−2、…、1−nから要求の処理結果を通知するデータである。応答データのフォーマットは、図5(B)に示すように、動作種別と、要求元ホストIDと、要求先MSCP番号と、データとからなる。動作種別は、本番環境100と開発環境101とを識別するデータである。要求元ホストIDは、要求データに設定されていた要求元ホストを識別するためのIDである。要求先MSCP番号は、要求データに設定されていた要求先MSCP番号である。データはホストOSとMSCP装置50−1、50−2、…、50−m間で規定された排他制御コマンドの結果のデータである。応答データは、通常は排他制御処理部52が要求を処理した後に作成するが、チャネル管理部2又はコマンド振り分け部3が処理を中断するためにエラーの応答として作成する場合がある。   The response data is transmitted from the MSCP devices 50-1, 50-2, ..., 50-m to the host computers 1-1, 1-2, ..., 1-n, and the host computers 1-1, 1-2, ... , 1-n are data for notifying the processing result of the request. As shown in FIG. 5B, the response data format includes an operation type, a request source host ID, a request destination MSCP number, and data. The operation type is data for identifying the production environment 100 and the development environment 101. The request source host ID is an ID for identifying the request source host set in the request data. The request destination MSCP number is the request destination MSCP number set in the request data. The data is the result data of the exclusive control command defined between the host OS and the MSCP devices 50-1, 50-2,..., 50-m. The response data is normally created after the exclusive control processing unit 52 processes the request, but the channel management unit 2 or the command distribution unit 3 may create the response data as an error response in order to interrupt the processing.

図6は、コマンド振り分け部3の処理を示すフローチャートである。図6に示すように、コマンド振り分け部3は、要求キュー13を監視し、要求データがキューイングされたら取り出す(ステップA1)。そして、コマンド振り分け部3は、要求データ(図5(A))から動作種別を読み取り判別する(ステップA2)。   FIG. 6 is a flowchart showing processing of the command distribution unit 3. As shown in FIG. 6, the command distribution unit 3 monitors the request queue 13 and retrieves the request data when it is queued (step A1). Then, the command distribution unit 3 reads and determines the operation type from the request data (FIG. 5A) (step A2).

ステップA2で、要求データに含まれる動作種別100が本番環境であると判定された場合には、コマンド振り分け部3は、要求データから、要求先MSCP番号を読み取り(ステップA3)、MSCP管理テーブル11(図3(A))から、MSCP番号に対応するチャネル番号を調べる(ステップA4)。そして、コマンド振り分け部3は、要求データに指定されたMSCP装置50−1、50−2、…、50−mに対応するチャネル20の発行待ちキュー21に、要求データをキューイングする(ステップA5)。   If it is determined in step A2 that the operation type 100 included in the request data is the production environment, the command distribution unit 3 reads the request destination MSCP number from the request data (step A3), and the MSCP management table 11 The channel number corresponding to the MSCP number is checked from (FIG. 3A) (step A4). Then, the command distribution unit 3 queues the request data in the issue waiting queue 21 of the channel 20 corresponding to the MSCP devices 50-1, 50-2,..., 50-m specified in the request data (Step A5). ).

ステップA2において、要求データに含まれる動作種別が開発環境101であると判定された場合、コマンド振り分け部3は、MSCP管理テーブル11の全エントリを調べ、待機系のMSCP装置50の有無を確認する(ステップA6)。ステップA6で、利用可能な待機系のMSCP装置50が無い場合には、コマンド振り分け部3は、エラーの応答データを作成し、応答キュー14にキューイングする(ステップA8)。
ステップA6において、利用可能な待機系のMSCPが有る場合には、コマンド振り分け部3は、MSCP管理テーブル11から、待機系のMSCP装置50に対応するチャネル番号を調べ(ステップA7)、このチャネル番号のチャネル20に対応する発行待ちキュー21に要求データキューイングする(ステップA5)。
When it is determined in step A2 that the operation type included in the request data is the development environment 101, the command distribution unit 3 checks all entries in the MSCP management table 11 and confirms the presence or absence of the standby MSCP device 50. (Step A6). If no standby MSCP device 50 is available in step A6, the command distribution unit 3 creates error response data and queues it in the response queue 14 (step A8).
If there is an available standby MSCP in step A6, the command distribution unit 3 checks the channel number corresponding to the standby MSCP device 50 from the MSCP management table 11 (step A7), and this channel number. Request data is queued in the issuance waiting queue 21 corresponding to the channel 20 (step A5).

以上のように、コマンド振り分け部3は、常に要求キュー13を監視し、要求データがキューイングされたら取り出す。コマンド振り分け部3は、取り出した要求データに設定された動作種別から本番環境100からの要求データか開発環境101からの要求データかを判別し、本番環境100からのものであれば、要求データに設定された要求先のMSCP番号を取り出し、MSCP番号からMSCP管理テーブル11のエントリを検索し対応するチャネル番号を調べ、対応するチャネル20の発行待ちキュー21にキューイングする。開発環境101からの要求データであれば、コマンド振り分け部3は、MSCP管理テーブル11にて待機系のMSCP装置50の有無を確認し、待機系のMSCP装置50が存在すれば、MSCP管理テーブル11から待機系のMSCP装置50のエントリを検索し、待機系のMSCP装置50に対応するチャネル番号を調べ、対応するチャネル20の発行待ちキュー21にキューイングする。   As described above, the command distribution unit 3 always monitors the request queue 13 and retrieves the request data when it is queued. The command distribution unit 3 determines whether the request data is from the production environment 100 or the request data from the development environment 101 based on the operation type set in the extracted request data. The set MSCP number of the request destination is taken out, the entry in the MSCP management table 11 is searched from the MSCP number, the corresponding channel number is checked, and the queue is queued in the issue waiting queue 21 of the corresponding channel 20. If it is request data from the development environment 101, the command distribution unit 3 confirms whether or not there is a standby MSCP device 50 in the MSCP management table 11. If there is a standby MSCP device 50, the MSCP management table 11. Are searched for the entry of the standby MSCP device 50, the channel number corresponding to the standby MSCP device 50 is checked, and the queue is queued in the issue queue 21 of the corresponding channel 20.

図7及び図8は、チャネル管理部2の動作を示すフローチャートである。図7において、チャネル管理部2は、チャネル20がMSCP装置50から受信したデータの有無を確認し(ステップB1)、チャネル20にMSCP装置50から受信しているデータが有る場合、チャネル20からのデータを応答キュー14にキューイングする(ステップB3)。そして、チャネル管理部2は、受信したチャネル20のチャネル番号に対応するIO実行状態テーブル12(図3(B))のエントリのチャネル20の実行状態を”空き”に設定する(ステップB4)。   7 and 8 are flowcharts showing the operation of the channel management unit 2. In FIG. 7, the channel management unit 2 confirms whether or not the channel 20 has received data from the MSCP device 50 (step B <b> 1). If the channel 20 has data received from the MSCP device 50, Data is queued in the response queue 14 (step B3). Then, the channel management unit 2 sets the execution state of the channel 20 in the entry of the IO execution state table 12 (FIG. 3B) corresponding to the channel number of the received channel 20 to “free” (step B4).

次に、チャネル管理部2は、該当チャネル20の発行待ちキュー21内にデータがキューイングされているかどうかを判定し(ステップB10)、該当チャネル20の発行待ちキュー21内にデータがキューイングされている場合、ホストコンピュータ1−1、1−2、…、1−nからの要求処理を実施する(ステップB5)。そして、チャネル管理部2は、全てのチャネル20について、チャネル20のデータが届いているか、発行待ちキュー21にデータがキューイングされたかのチェックが行われたかを判定し、全てのチャネル20のチェックが終了していなければ、ステップB1にリターンし、全てのチャネル20に対して行う(ステップB6)。   Next, the channel management unit 2 determines whether data is queued in the issuance waiting queue 21 of the corresponding channel 20 (step B10), and the data is queued in the issuance waiting queue 21 of the corresponding channel 20. If so, request processing from the host computers 1-1, 1-2,..., 1-n is executed (step B5). Then, the channel management unit 2 determines whether or not the data of the channel 20 has arrived for all the channels 20 and whether or not the data has been queued in the issuance waiting queue 21 is checked. If not completed, the process returns to step B1 and is performed for all channels 20 (step B6).

チャネル管理部2は、全てのチャネル20のチェックが終了すると、発行待ちキュー21にデータがキューイングされているかどうか確認し(ステップB7)、発行待ちキュー21にデータがキューイングされていたら、ホストコンピュータ1−1、1−2、…、1−nからの要求処理を実施する(ステップB8)。チャネル管理部2は、ステップB7〜B8を全ての発行待ちキュー21に対して行い(ステップB9)、全ての発行待ちキュー21に対してステップB7〜B8を実施するとステップB1にリターンし、上述のステップB1〜B10の動作を繰り返して行う。   When all the channels 20 have been checked, the channel management unit 2 checks whether data is queued in the issuance waiting queue 21 (step B7). Request processing from the computers 1-1, 1-2,..., 1-n is executed (step B8). The channel management unit 2 performs steps B7 to B8 on all the issuance waiting queues 21 (step B9). When steps B7 to B8 are performed on all the issuance waiting queues 21, the process returns to step B1. Steps B1 to B10 are repeated.

図8は、上述のチャネル管理部2の動作におけるステップB5とステップB8のホストコンピュータ1−1、1−2、…、1−nからの要求処理の詳細を示すフローチャートである。   FIG. 8 is a flowchart showing details of the request processing from the host computers 1-1, 1-2,..., 1-n in Step B5 and Step B8 in the operation of the channel management unit 2 described above.

図8において、チャネル管理部2は、IO実行状態テーブル12のチャネル状態から、該当チャネル20が使用中かどうかを判定し(ステップC1)、該当チャネル20が”使用中”の状態の場合、何もしないで、リターンする。すなわち、当該チャネル20が”空き”になるまで待機する。
ステップC1において、該当チャネル20が”空き”状態の場合、チャネル管理部2は、要求データを発行待ちキュー21から要求を取り出す(ステップC2)。そして、チャネル管理部2は、チャネル20に対応するMSCP装置50の状態が障害かどうかを判定する(ステップC3)。ステップC3において、チャネル20に対応するMSCP装置50の状態が障害状態の場合、エラー応答を作成し応答キュー14にキューイングする(ステップC6)。ステップC3において、MSCP装置50が障害状態でない場合、チャネル管理部2は、チャネル20へ要求データを送信し(ステップC4)、IO実行状態テーブル12の当該チャネル20のチャネル状態を”使用中”の状態にして(ステップC5)、リターンする。
In FIG. 8, the channel management unit 2 determines whether or not the corresponding channel 20 is in use from the channel state of the IO execution state table 12 (step C1). If the corresponding channel 20 is in the “in use” state, what If not, return. That is, it waits until the channel 20 becomes “free”.
In step C1, when the corresponding channel 20 is in an “empty” state, the channel management unit 2 takes out the request data from the issue queue 21 (step C2). Then, the channel management unit 2 determines whether the state of the MSCP device 50 corresponding to the channel 20 is a failure (step C3). In step C3, when the state of the MSCP device 50 corresponding to the channel 20 is a failure state, an error response is created and queued in the response queue 14 (step C6). In step C3, when the MSCP device 50 is not in a failure state, the channel management unit 2 transmits request data to the channel 20 (step C4), and the channel state of the channel 20 in the IO execution state table 12 is “in use”. Return to the state (step C5) and return.

以上のように、チャネル管理部2は、チャネル20にから受信したデータを渡されるか、発行待ちキュー21にキューイングされていた場合に動作する。そして、チャネル管理部2が発行待ちキュー21にキューイングされていることを検出すると、IO実行状態テーブル12を確認し、該当チャネル20が空いていたら、発行待ちキュー21から要求データを取り出し、MSCP管理テーブル11からそのMSCP装置50の状態を確認する。そして、チャネル管理部2は、そのMSCP装置50が障害状態以外(=運用又は待機)ならば、要求データをMSCP装置50に送信し、IO実行状態テーブル12に該当チャネル20が使用中であることを記憶する。そのMSCP装置50が障害状態ならば、チャネル管理部2は、エラー応答を作成し応答キュー14にキューイングする。   As described above, the channel management unit 2 operates when data received from the channel 20 is passed or is queued in the issue waiting queue 21. When the channel management unit 2 detects that the channel is queued in the issuance waiting queue 21, the IO execution state table 12 is checked. If the corresponding channel 20 is free, the request data is taken out from the issuance waiting queue 21, and the MSCP is obtained. The status of the MSCP device 50 is confirmed from the management table 11. Then, if the MSCP device 50 is not in a failure state (= operation or standby), the channel management unit 2 transmits the request data to the MSCP device 50, and the corresponding channel 20 is being used in the IO execution state table 12. Remember. If the MSCP device 50 is in a failure state, the channel management unit 2 creates an error response and queues it in the response queue 14.

また、チャネル管理部2は、チャネル20から受信データを受け取ったら、応答データを応答キュー14にキューイングし、IO実行状態テーブル12に登録されている該当チャネル20の状態を”使用中”から”空き”に変更する。続けて、チャネル管理部2は発行待ちキュー21に要求データがあれば、MSCP装置50へ送信する。   Further, when receiving the received data from the channel 20, the channel management unit 2 queues the response data in the response queue 14, and changes the state of the corresponding channel 20 registered in the IO execution state table 12 from “in use”. Change to “Free”. Subsequently, if there is request data in the issue waiting queue 21, the channel management unit 2 transmits it to the MSCP device 50.

いずれかのMSCP装置50に障害が発生し、待機系のMSCP装置50が運用系のMSCP装置50に切り替えられた場合、ホストOS(本番環境)がMSCP管理テーブル11を更新することで、MSCP管理テーブル11から待機系のMSCP装置50がなくなる場合がある。このような場合には、以後、開発環境101からの要求は、コマンド振り分け部3にて待機系のMSCP装置50が存在しないと判定され、当該要求を送信する先がないので、エラー応答を作成され応答キュー14にキューイングされることになる。   When a failure occurs in one of the MSCP devices 50 and the standby MSCP device 50 is switched to the active MSCP device 50, the host OS (production environment) updates the MSCP management table 11 to perform MSCP management. In some cases, the standby MSCP device 50 may disappear from the table 11. In such a case, a request from the development environment 101 is subsequently determined by the command distribution unit 3 that the standby MSCP device 50 does not exist, and an error response is generated because there is no destination to send the request. And is queued in the response queue 14.

図9及び図10は、本実施形態におけるコンピュータシステムに障害が発生した場合の一例を示す図である。図9に示すように、ホストコンピュータ1−1、1−2における本番環境100では、運用系のMSCP装置50−1、50−2が使用され、開発環境101では、待機系のMSCP装置50−mが使用されている場合を例にして説明する。この場合において、運用系のMSCP装置50−2に障害が発生して利用できなくなると、図10に示すように、待機系のMSCP装置50−mが、運用系のMSCP装置50−2の代わりに運用系のMSCP装置50として利用される。このような場合、開発環境101が利用することのできる待機系のMSCP装置50はなくなるので、開発環境101の要求データに対する応答はエラーとなる。具体的には、コマンド振り分け部3が、開発環境101から入力された要求データに対してエラーの応答データを作成して応答キュー14にキューイングする。   9 and 10 are diagrams illustrating an example when a failure occurs in the computer system according to the present embodiment. As shown in FIG. 9, in the production environment 100 in the host computers 1-1 and 1-2, the active MSCP devices 50-1 and 50-2 are used. In the development environment 101, the standby MSCP device 50- A case where m is used will be described as an example. In this case, if a failure occurs in the active MSCP device 50-2 and it cannot be used, the standby MSCP device 50-m replaces the active MSCP device 50-2 as shown in FIG. It is used as an active MSCP device 50. In such a case, since there is no standby MSCP device 50 that can be used by the development environment 101, an error occurs in the response to the request data of the development environment 101. Specifically, the command distribution unit 3 creates error response data for the request data input from the development environment 101 and queues it in the response queue 14.

なお、修理された待機系のMSCP装置50が新たにMSCPサブシステムに組み込まれると、ホストOSがMSCP管理テーブル11に待機系のMSCP装置50を登録することにより、開発環境101がMSCP装置50の使用を再開できるようになる。   When the repaired standby MSCP device 50 is newly incorporated into the MSCP subsystem, the host OS registers the standby MSCP device 50 in the MSCP management table 11, so that the development environment 101 is the MSCP device 50. You can resume using it.

以上説明したように、本発明の実施形態におけるコンピュータシステムでは、運用系のMSCSP装置の障害に備えるために設けられている待機系のMSCP装置50を、開発環境101から利用できるようにしている。これにより、開発環境101は、開発環境用にMSCP装置50を設けずとも本番環境100に影響を与えることなくMSCP装置50を利用することができる。すなわち、本番環境用と開発環境用とのMSCP装置50を別々に用意せずに、ホストコンピュータ1−1、1−2、…、1−nにおいて、本番環境100と開発環境101とを動作させ、開発環境101で生じた問題により本番環境100に支障が生じることを防ぐことができる。
また、MSCPGWにて要求の発行先を待機系のMSCP装置50に切り替えるようにしたので、開発環境用とMSCP装置50を接続するチャネル20等を本番環境と別に用意する必要がない。
As described above, in the computer system according to the embodiment of the present invention, the standby MSCP device 50 provided for the failure of the active MSCSP device can be used from the development environment 101. Accordingly, the development environment 101 can use the MSCP device 50 without affecting the production environment 100 without providing the MSCP device 50 for the development environment. That is, the production environment 100 and the development environment 101 are operated on the host computers 1-1, 1-2,..., 1-n without separately preparing the MSCP devices 50 for the production environment and the development environment. Therefore, it is possible to prevent the production environment 100 from being hindered by a problem occurring in the development environment 101.
Further, since the request issue destination is switched to the standby MSCP device 50 in the MSCPGW, there is no need to prepare a channel 20 or the like for connecting the development environment and the MSCP device 50 separately from the production environment.

また、開発環境101が待機系のMSCP装置50を使用するようにしたので、本番運用とほぼ同じ状況で待機系のMSCP装置50が使用される。これにより、待機系のMSCP装置50に障害があれば事前に検出され、待機系のMSCP装置50に切り替えて利用する際の信頼性を高めることができ、コンピュータシステム全体の信頼性を向上させることができる。   Further, since the development environment 101 uses the standby MSCP device 50, the standby MSCP device 50 is used in almost the same situation as the actual operation. As a result, if there is a failure in the standby MSCP device 50, it can be detected in advance, and the reliability when switching to the standby MSCP device 50 can be improved, and the reliability of the entire computer system can be improved. Can do.

なお、実施形態において、ホストコンピュータ1−1、1−2、…、1−nは、MSCPGW部6を含む構成を示したが、MSCPGW部6を独立の装置として設けるようにしてもよい。この場合、独立した装置としてのMSCPGW部6は、ホストコンピュータ1−1、1−2、…、1−nに備えられているMSCP管理テーブル11、要求キュー13、及び応答キュー14に対してI/Oアクセスによる読み出し及び書き込みをするようにしてもよい。
もしくは、MSCPGW部6に、ホストコンピュータ1−1、1−2、…、1−nそれぞれに備えられているMSCP管理テーブル11、要求キュー13、及び応答キュー14に対応するテーブル及びキューを設けるようにしてもよい。このとき、ホストコンピュータ1−1、1−2、…、1−nにおけるMSCP管理テーブル11、要求キュー13、及び応答キュー14の変更が、MSCPGW部6に設けられるテーブル及びキューに反映され、データが一致するようにする。また、新たに設けられるテーブル及びキューに対するMSCPGW部6による変更が、ホストコンピュータに備えられているMSCP管理テーブル11、要求キュー13、及び応答キュー14に反映されるようにする。
In the embodiment, the host computers 1-1, 1-2,..., 1-n are configured to include the MSCPGW unit 6, but the MSCPGW unit 6 may be provided as an independent device. In this case, the MSCPGW unit 6 as an independent device is connected to the MSCP management table 11, the request queue 13, and the response queue 14 provided in the host computers 1-1, 1-2,. You may make it read and write by / O access.
Alternatively, the MSCPGW unit 6 is provided with tables and queues corresponding to the MSCP management table 11, the request queue 13, and the response queue 14 provided in each of the host computers 1-1, 1-2,. It may be. At this time, changes in the MSCP management table 11, the request queue 13, and the response queue 14 in the host computers 1-1, 1-2,..., 1-n are reflected in the table and queue provided in the MSCPGW unit 6, and data To match. In addition, changes by the MSCPGW unit 6 to the newly provided table and queue are reflected in the MSCP management table 11, the request queue 13, and the response queue 14 provided in the host computer.

上述したチャネル管理部2、及びコマンド振り分け部3による処理過程は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶され、このプログラムをコンピュータが読み出して実行することによって、上記処理が行われるようにしてもよい。ここでコンピュータ読み取り可能な記録媒体とは、磁気ディスク、光磁気ディスク、CD−ROM、DVD−ROM、半導体メモリ等をいう。また、このコンピュータプログラムを通信回線によってコンピュータに配信し、この配信を受けたコンピュータが当該プログラムを実行するようにしても良い。
また、本発明は、上述した実施形態に限定されるものではなく、この発明の要旨を逸脱しない範囲内で様々な変形や応用が可能である。
The processing steps by the channel management unit 2 and the command distribution unit 3 described above are stored in a computer-readable recording medium in the form of a program, and the above processing is performed by the computer reading and executing the program. May be. Here, the computer-readable recording medium means a magnetic disk, a magneto-optical disk, a CD-ROM, a DVD-ROM, a semiconductor memory, or the like. Alternatively, the computer program may be distributed to the computer via a communication line, and the computer that has received the distribution may execute the program.
The present invention is not limited to the above-described embodiments, and various modifications and applications can be made without departing from the gist of the present invention.

1−1、1−2、1−n ホストコンピュータ
2 チャネル管理部
3 コマンド振り分け部
5 ホストOS部
6 MSCPGW部
11 MSCP管理テーブル
12 IO実行状態テーブル
13 要求キュー
14 応答キュー
20 チャネル
21 発行待ちキュー
50、50−1、50−2、50−m MSCP装置
52 排他制御処理部
70 ポート
100 本番環境
101 開発環境
1-1, 1-2, 1-n Host computer 2 Channel management unit 3 Command distribution unit 5 Host OS unit 6 MSCPGW unit 11 MSCP management table 12 IO execution state table 13 Request queue 14 Response queue 20 Channel 21 Issuing queue 50 50-1, 50-2, 50-m MSCP device 52 Exclusive control processing unit 70 Port 100 Production environment 101 Development environment

Claims (5)

ホストコンピュータと該ホストコンピュータが使用する資源を管理する複数の排他制御装置とを具備するコンピュータシステムであって、
前記ホストコンピュータは、本番環境及び開発環境を実行するホストオペレーションシステム部と、前記複数の排他制御装置に対する入出力を制御するゲートウェイ部とを備え、
前記複数の排他制御装置は、運用系の排他制御装置と、待機系の排他制御装置とを含み、
前記ゲートウェイ部は、前記本番環境又は前記開発環境から要求が入力され、前記入力された要求が前記本番環境からの要求か前記開発環境からの要求かを判定し、前記入力された要求が前記開発環境からの要求である場合、前記排他制御装置のうち前記待機系の排他制御装置に前記入力された要求を送信する
ことを特徴とするコンピュータシステム。
A computer system comprising a host computer and a plurality of exclusive control devices that manage resources used by the host computer,
The host computer includes a host operation system unit that executes a production environment and a development environment, and a gateway unit that controls input and output to the plurality of exclusive control devices,
The plurality of exclusive control devices include an active exclusive control device and a standby exclusive control device,
The gateway unit receives a request from the production environment or the development environment, determines whether the input request is a request from the production environment or a request from the development environment, and the input request is the development If the request is from the environment, the computer system transmits the input request to the standby exclusive control device of the exclusive control device.
前記ホストコンピュータは、さらに、前記運用系の排他制御装置及び前記待機系の排他制御装置の動作状態を管理する管理テーブルを備え、
前記ゲートウェイ部は、前記入力された要求を前記開発環境からの要求である場合、前記管理テーブルから待機系の排他制御装置の有無を判定し、待機系の排他制御装置が有るとき、前記入力された要求を前記待機系の排他制御装置に送信する
ことを特徴とする請求項1に記載のコンピュータシステム。
The host computer further includes a management table for managing operating states of the active exclusive control device and the standby exclusive control device,
The gateway unit determines whether or not there is a standby exclusive control device from the management table when the input request is a request from the development environment. The computer system according to claim 1, wherein the request is transmitted to the exclusive control device of the standby system.
本番環境及び開発環境を実行するホストコンピュータと、運用系の排他制御装置及び待機系の排他制御装置を含む複数の排他制御装置との間の入出力を制御するゲートウェイ装置であって、
前記本番環境又は前記開発環境から要求を入力され、前記入力された要求が本番環境からの要求か開発環境からの要求かを判定し、前記入力された要求が開発環境からの要求である場合、前記排他制御装置のうち待機系の排他制御装置に前記入力された要求を送信する
ことを特徴とするゲートウェイ装置。
A gateway device that controls input / output between a host computer that executes a production environment and a development environment, and a plurality of exclusive control devices including an active exclusive control device and a standby exclusive control device,
When a request is input from the production environment or the development environment, it is determined whether the input request is a request from the production environment or a development environment, and the input request is a request from the development environment, The gateway device, wherein the input request is transmitted to a standby exclusive control device of the exclusive control device.
本番環境及び開発環境を実行するホストコンピュータと、運用系の排他制御装置及び待機系の排他制御装置を含む複数の排他制御装置とを有するコンピュータシステムの管理方法において、
本番環境又は開発環境から要求を入力される工程と、
前記入力された要求が本番環境からの要求か開発環境からの要求かを判定する工程と、
前記入力された要求が開発環境からの要求である場合に、前記複数の排他制御装置のうち待機系の排他制御装置に前記入力された要求を送信する工程と
を含むことを特徴とするコンピュータシステムの管理方法。
In a management method of a computer system having a host computer that executes a production environment and a development environment, and a plurality of exclusive control devices including an active exclusive control device and a standby exclusive control device,
A process in which a request is input from a production environment or a development environment;
Determining whether the input request is a request from a production environment or a development environment;
And a step of transmitting the input request to a standby exclusive control device among the plurality of exclusive control devices when the input request is a request from a development environment. Management method.
本番環境及び開発環境を実行するホストコンピュータと、運用系の排他制御装置及び待機系の排他制御装置を含む複数の排他制御装置とを有するコンピュータシステムにおけるホストコンピュータを、
本番環境及び開発環境から要求を入力される手段、
前記入力された要求が本番環境からの要求か開発環境からの要求かを判定する手段、
前記入力された要求が開発環境からの要求である場合、前記排他制御装置のうち待機系の排他制御装置に前記入力された要求を送信する手段
として機能させることを特徴とするプログラム。
A host computer in a computer system having a host computer that executes a production environment and a development environment, and a plurality of exclusive control devices including an active exclusive control device and a standby exclusive control device;
Means for inputting requirements from the production environment and development environment;
Means for determining whether the input request is a request from a production environment or a development environment;
When the input request is a request from a development environment, the program functions as means for transmitting the input request to a standby exclusive control device of the exclusive control device.
JP2010086146A 2010-04-02 2010-04-02 Computer system, computer system management method, gateway device, and program Expired - Fee Related JP5477122B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010086146A JP5477122B2 (en) 2010-04-02 2010-04-02 Computer system, computer system management method, gateway device, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010086146A JP5477122B2 (en) 2010-04-02 2010-04-02 Computer system, computer system management method, gateway device, and program

Publications (2)

Publication Number Publication Date
JP2011216059A true JP2011216059A (en) 2011-10-27
JP5477122B2 JP5477122B2 (en) 2014-04-23

Family

ID=44945682

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010086146A Expired - Fee Related JP5477122B2 (en) 2010-04-02 2010-04-02 Computer system, computer system management method, gateway device, and program

Country Status (1)

Country Link
JP (1) JP5477122B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015114952A (en) * 2013-12-13 2015-06-22 株式会社日立製作所 Network system, monitoring control unit, and software verification method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09293011A (en) * 1996-04-26 1997-11-11 Nec Corp File exclusive control processor and its fault restoring system
JPH10171696A (en) * 1996-12-06 1998-06-26 Nec Corp File exclusive control unit
JP3134864B2 (en) * 1997-12-09 2001-02-13 日本電気株式会社 Recording medium recording recovery system and recovery program for system combination device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09293011A (en) * 1996-04-26 1997-11-11 Nec Corp File exclusive control processor and its fault restoring system
JPH10171696A (en) * 1996-12-06 1998-06-26 Nec Corp File exclusive control unit
JP3134864B2 (en) * 1997-12-09 2001-02-13 日本電気株式会社 Recording medium recording recovery system and recovery program for system combination device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015114952A (en) * 2013-12-13 2015-06-22 株式会社日立製作所 Network system, monitoring control unit, and software verification method

Also Published As

Publication number Publication date
JP5477122B2 (en) 2014-04-23

Similar Documents

Publication Publication Date Title
US7650446B2 (en) Storage system for back-end communications with other storage system
JP4744171B2 (en) Computer system and storage control method
US8713352B2 (en) Method, system and program for securing redundancy in parallel computing system
US11184745B2 (en) Actor system and method for transmitting a message from a first actor to a second actor
JP4529767B2 (en) Cluster configuration computer system and system reset method thereof
US20200019543A1 (en) Method, apparatus and device for updating data, and medium
JP5959733B2 (en) Storage system and storage system failure management method
JP2004021556A (en) Memory control device and control process thereof
JP2007072538A (en) Device control succeeding method for storage virtualization device
US11372552B2 (en) Storage device
US8255649B2 (en) Remote copy control method and system in storage cluster environment
JP4818843B2 (en) Storage system for remote copy
JP2015520425A (en) Computer system and control method thereof
JP2009026091A (en) Connection management program, connection management method, and information processing device
US20100235549A1 (en) Computer and input/output control method
JP5477122B2 (en) Computer system, computer system management method, gateway device, and program
JP2005010997A (en) Data access system and method
US20200110632A1 (en) Method and system for routing and executing transactions
JP2005128781A (en) System changeover method and information processing system
US11755438B2 (en) Automatic failover of a software-defined storage controller to handle input-output operations to and from an assigned namespace on a non-volatile memory device
US10996986B2 (en) Method and system for scheduling i/o operations for execution
US20100030988A1 (en) Virtualizing switch and computer system
JP2017010102A (en) Duplex system
JP4375121B2 (en) Processing agent method in database management system
JP2020119325A (en) Storage system, and storage controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130307

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131225

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140127

R150 Certificate of patent or registration of utility model

Ref document number: 5477122

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees