JP3134864B2 - Recording medium recording recovery system and recovery program for system combination device - Google Patents

Recording medium recording recovery system and recovery program for system combination device

Info

Publication number
JP3134864B2
JP3134864B2 JP10346912A JP34691298A JP3134864B2 JP 3134864 B2 JP3134864 B2 JP 3134864B2 JP 10346912 A JP10346912 A JP 10346912A JP 34691298 A JP34691298 A JP 34691298A JP 3134864 B2 JP3134864 B2 JP 3134864B2
Authority
JP
Japan
Prior art keywords
lock
system coupling
hosts
host
coupling device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP10346912A
Other languages
Japanese (ja)
Other versions
JPH11338843A (en
Inventor
考志 藤生
靖 副島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP10346912A priority Critical patent/JP3134864B2/en
Publication of JPH11338843A publication Critical patent/JPH11338843A/en
Application granted granted Critical
Publication of JP3134864B2 publication Critical patent/JP3134864B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Multi Processors (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、複数のプロセッサ(以
下、ホストと記す)と各ホストから共用されるホスト間
共用資源とを含む計算機システムにおいて、ホスト間共
用資源に対する各ホストからのアクセスを制御するシス
テム結合装置(以下、MSCPと記す)のリカバリシス
テムおよびリカバリプログラムを記録した記録媒体に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer system including a plurality of processors (hereinafter referred to as "hosts") and shared resources between hosts shared by the respective hosts. The present invention relates to a recovery system of a system coupling device to be controlled (hereinafter, referred to as MSCP) and a recording medium recording a recovery program.

【0002】[0002]

【従来の技術】特開昭61−221956号公報には、
複数の情報処理装置(本発明のホストに相当)のそれぞ
れが共用資源に対する排他的アクセス要求を発行した際
に該排他的アクセス要求に係るロック情報を自身内の制
御テーブルに保持し、1台のアクセス制御装置(本発明
のMSCPに相当)が該共用資源のロック情報を保持し
て該共用資源へのアクセスを排他制御する計算機システ
ムにおいて、該アクセス制御装置に故障が発生した場合
には、該アクセス制御装置の復旧後に、各情報処理装置
が制御テーブルに保持するロック情報により該アクセス
制御装置のロック情報を復元するという従来のアクセス
制御装置のリカバリ方式が開示されている。
2. Description of the Related Art Japanese Unexamined Patent Publication No. Sho.
When each of a plurality of information processing devices (corresponding to the host of the present invention) issues an exclusive access request for a shared resource, the lock information related to the exclusive access request is held in its own control table, and one In a computer system in which an access control device (corresponding to the MSCP of the present invention) holds lock information of the shared resource and exclusively controls access to the shared resource, if a failure occurs in the access control device, A recovery method of a conventional access control device in which each information processing device restores lock information of the access control device based on lock information held in a control table after the access control device is restored is disclosed.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、この従
来のアクセス制御装置のリカバリ方式においては、障害
が発生したアクセス制御装置を復旧し、各情報処理装置
に保持させたロック情報により該アクセス制御装置のロ
ック情報を復元するまでシステムの運用を再開できない
という問題点があった。
However, in this conventional access control device recovery method, a failed access control device is recovered, and the lock control information held by each information processing device is used to recover the access control device. There was a problem that the operation of the system could not be resumed until the lock information was restored.

【0004】本発明の目的は、計算機システムを複数の
ホストと複数のMSCPで構成し、該計算機システムの
運用中にいずれかのMSCPに障害が発生した場合に、
障害が発生したMSCPを含むすべてのMSCPが保持
していたロック情報を残りのMSCPで分散して保持す
ることにより、故障したMSCPが復旧するのを待ち合
わせることなく、アプリケーションプログラム(AP)
の処理、すなわち計算機システムの運用を継続すること
にある。
[0004] An object of the present invention is to provide a computer system comprising a plurality of hosts and a plurality of MSCPs, and when one of the MSCPs fails during the operation of the computer system,
By distributing and holding the lock information held by all the MSCPs including the failed MSCP in the remaining MSCPs, the application program (AP) can be used without waiting for the failed MSCP to recover.
, That is, to continue the operation of the computer system.

【0005】本発明の他の目的は、計算機システムに予
備のMSCPを備え、該計算機システムの運用中にいず
れかのMSCPに障害が発生した場合に、障害が発生し
たMSCPを含むすべてのMSCPが保持していたロッ
ク情報を残りのMSCPと予備のMSCPとで分散して
保持することにより、障害発生前のMSCPのロック処
理に係る性能を障害発生後も維持することにある。
Another object of the present invention is to provide a spare MSCP in a computer system, and if any of the MSCPs fails during the operation of the computer system, all the MSCPs including the failed MSCP are transmitted. By maintaining the held lock information in a distributed manner between the remaining MSCP and the spare MSCP, the performance related to the lock processing of the MSCP before the occurrence of the failure is maintained even after the occurrence of the failure.

【0006】さらに本発明の他の目的は、計算機システ
ムに新規にMSCPが1台追加された場合に、追加前に
各MSCPが保持していたロック情報を追加後の全体と
して1台多くなったMSCPで分散して保持しロック処
理を行うことにより、MSCPのロック処理に係る性能
を向上させることにある。
Another object of the present invention is that when one new MSCP is added to the computer system, the lock information held by each MSCP before the addition is increased by one as a whole after the addition. An object of the present invention is to improve the performance of the MSCP locking process by performing the lock process by holding the MSCP in a distributed manner.

【0007】[0007]

【課題を解決するための手段】本発明の第1のシステム
結合装置のリカバリシステムは、複数のホストと、該複
数のホストから共用される複数のホスト間共用資源に対
するロック情報を保持する複数のシステム結合装置とを
備え、前記複数のホストのそれぞれが、いずれかのシス
テム結合装置に対していずれかのホスト間共用資源をロ
ックすることを要求し、該要求に応じて該ホスト間共用
資源をロックしたシステム結合装置から通知されたロッ
ク情報を記憶し、前記複数のシステム結合装置のそれぞ
れが、いずれかのホストから要求されたホスト間共用資
源をロックし、該ホスト間共用資源をロックしたことを
示すロック情報を保持するとともに、該ロック情報を要
求元のホストに通知し、前記複数のホストのいずれか
が、前記複数のシステム結合装置の内のいずれか1台が
故障した場合に、他の正常なシステム結合装置に保持し
ているロック情報を消去させ、前記複数のホストのそれ
ぞれが、前記他の正常なシステム結合装置のいずれかに
対して、自ホストが記憶しているロック情報に基づいて
ホスト間共用資源をロックすることを要求することを特
徴とする。
According to a first aspect of the present invention, there is provided a recovery system for a system coupling device, comprising a plurality of hosts and a plurality of lock information holding lock information for a plurality of inter-host shared resources shared by the plurality of hosts. A system coupling device, wherein each of the plurality of hosts requests any of the system coupling devices to lock any of the inter-host shared resources, and responds to the request to lock the inter-host shared resources. The lock information notified from the locked system coupling device is stored, and each of the plurality of system coupling devices locks the inter-host shared resource requested by any one of the hosts, and locks the inter-host shared resource. And the lock information is notified to the requesting host, and one of the plurality of hosts is When any one of the system coupling devices fails, the lock information held in another normal system coupling device is erased, and each of the plurality of hosts communicates with the other normal system coupling device. Is required to lock the shared resources between hosts based on the lock information stored in the host.

【0008】本発明の第2のシステム結合装置のリカバ
リシステムは、複数のホストと、該複数のホストから共
用される複数のホスト間共用資源に対するロック情報を
保持する複数のシステム結合装置と、予備のシステム結
合装置とを備え、前記複数のホストのそれぞれが、いず
れかのシステム結合装置に対していずれかのホスト間共
用資源をロックすることを要求し、該要求に応じて該ホ
スト間共用資源をロックしたシステム結合装置から通知
されたロック情報を記憶し、前記複数のシステム結合装
置のそれぞれが、いずれかのホストから要求されたホス
ト間共用資源をロックし、該ホスト間共用資源をロック
したことを示すロック情報を保持するとともに、該ロッ
ク情報を要求元のホストに通知し、前記複数のホストの
いずれかが、前記複数のシステム結合装置の内のいずれ
か1台が故障した場合に、他の正常なシステム結合装置
に保持しているロック情報を消去させ、前記複数のホス
トのそれぞれが、前記他の正常なシステム結合装置に前
記予備のシステム結合装置を加えた複数のシステム結合
装置のいずれかに対して、自ホストが記憶しているロッ
ク情報に基づいてホスト間共用資源をロックすることを
要求することを特徴とする。
According to a second aspect of the present invention, there is provided a recovery system for a system coupling device, comprising: a plurality of hosts; a plurality of system coupling devices which hold lock information for a plurality of shared resources between hosts shared by the plurality of hosts; Wherein each of the plurality of hosts requests any of the system coupling devices to lock any of the inter-host shared resources, and in response to the request, The lock information notified from the system coupling device that has locked is stored, and each of the plurality of system coupling devices locks the inter-host shared resource requested by any of the hosts and locks the inter-host shared resource. While holding lock information indicating that the lock information is notified to the requesting host, any of the plurality of hosts, the If any one of the number of system coupling devices fails, the lock information held in the other normal system coupling device is erased, and each of the plurality of hosts communicates with the other normal system. Requesting any one of the plurality of system coupling devices obtained by adding the spare system coupling device to the coupling device to lock the inter-host shared resource based on the lock information stored in the own host. And

【0009】本発明の第3のシステム結合装置のリカバ
リシステムは、複数のホストと、該複数のホストから共
用される複数のホスト間共用資源に対するロック情報を
保持する複数のシステム結合装置とを備え、前記複数の
ホストのそれぞれが、いずれかのシステム結合装置に対
していずれかのホスト間共用資源をロックすることを要
求し、該要求に応じて該ホスト間共用資源をロックした
システム結合装置から通知されたロック情報を記憶し、
前記複数のシステム結合装置のそれぞれが、いずれかの
ホストから要求されたホスト間共用資源をロックし、該
ホスト間共用資源をロックしたことを示すロック情報を
保持するとともに、該ロック情報を要求元のホストに通
知し、前記複数のホストのいずれかが、新規にシステム
結合装置が接続されたことを認識した際に、従前備えて
いたシステム結合装置に保持しているロック情報を消去
させ、前記複数のホストのそれぞれが、前記従前備えて
いたシステム結合装置に前記新規に接続されたシステム
結合装置を加えた複数のシステム結合装置のいずれかに
対して、自ホストが記憶しているロック情報に基づいて
ホスト間共用資源をロックすることを要求することを特
徴とする。
A third system coupling device recovery system according to the present invention comprises a plurality of hosts and a plurality of system coupling devices which hold lock information for a plurality of shared resources between hosts shared by the plurality of hosts. , Each of the plurality of hosts requests any one of the system coupling devices to lock any of the inter-host shared resources, and responds to the request from the system coupling device that has locked the inter-host shared resource. Memorize the notified lock information,
Each of the plurality of system coupling devices locks the inter-host shared resource requested by any of the hosts, holds lock information indicating that the inter-host shared resource is locked, and transmits the lock information to the request source. Notify the host, any of the plurality of hosts, when recognizing that a new system coupling device has been connected, erase the lock information held in the previously provided system coupling device, the For each of the plurality of hosts, for any one of the plurality of system coupling devices obtained by adding the newly connected system coupling device to the previously provided system coupling device, the lock information stored in the own host is stored in the lock information. Requesting to lock the inter-host shared resource based on the request.

【0010】本発明の第4のシステム結合装置のリカバ
リシステムは、複数のホストと、該複数のホストから共
用される複数のホスト間共用資源に対するロック情報を
保持する複数のシステム結合装置とを備え、前記複数の
ホストのそれぞれが、いずれかのシステム結合装置に対
していずれかのホスト間共用資源をロックすることを要
求し、該要求に応じて該ホスト間共用資源をロックした
システム結合装置から通知されたロック情報を記憶し、
前記複数のシステム結合装置のそれぞれが、いずれかの
ホストから要求されたホスト間共用資源をロックし、該
ホスト間共用資源をロックしたことを示すロック情報を
保持するとともに、該ロック情報と自システム結合装置
の識別子とを要求元のホストに通知し、前記複数のホス
トのいずれかが、前記複数のシステム結合装置の内のい
ずれか1台が故障したことを認識した際に、その旨を他
のホストへ通知し、前記複数のホストのそれぞれが、故
障したシステム結合装置の識別子を含むロック情報を保
持している場合に、該ロック情報のみに基づいて、前記
他の正常なシステム結合装置のいずれかにホスト間共用
資源をロックすることを要求することを特徴とする。
A fourth system coupling device recovery system according to the present invention includes a plurality of hosts and a plurality of system coupling devices which hold lock information for a plurality of inter-host shared resources shared by the plurality of hosts. , Each of the plurality of hosts requests any one of the system coupling devices to lock any of the inter-host shared resources, and responds to the request from the system coupling device that has locked the inter-host shared resource. Memorize the notified lock information,
Each of the plurality of system coupling devices locks the inter-host shared resource requested by any of the hosts, holds lock information indicating that the inter-host shared resource is locked, and stores the lock information and its own system. Notifying the requesting host of the coupling device identifier and the requesting host, and when any of the plurality of hosts recognizes that any one of the plurality of system coupling devices has failed, the other is notified. In the case where each of the plurality of hosts holds lock information including the identifier of the failed system coupling device, based on only the lock information, the other normal system coupling device It is characterized by requesting any one to lock the inter-host shared resource.

【0011】本発明の第5のシステム結合装置のリカバ
リシステムは、複数のホストと、該複数のホストから共
用される複数のホスト間共用資源に対するロック情報を
保持する複数のシステム結合装置と、予備のシステム結
合装置とを備え、前記複数のホストのそれぞれが、いず
れかのシステム結合装置に対していずれかのホスト間共
用資源をロックすることを要求し、該要求に応じて該ホ
スト間共用資源をロックしたシステム結合装置から通知
されたロック情報を記憶し、前記複数のシステム結合装
置のそれぞれが、いずれかのホストから要求されたホス
ト間共用資源をロックし、該ホスト間共用資源をロック
したことを示すロック情報を保持するとともに、該ロッ
ク情報と自システム結合装置の識別子とを要求元のホス
トに通知し、前記複数のホストのいずれかが、前記複数
のシステム結合装置の内のいずれか1台が故障したこと
を認識した際に、その旨を他のホストへ通知し、前記複
数のホストのそれぞれが、故障したシステム結合装置の
識別子を含むロック情報を保持している場合に、該ロッ
ク情報のみに基づいて、前記他の正常なシステム結合装
置に前記予備のシステム結合装置を加えた複数のシステ
ム結合装置のいずれかにホスト間共用資源をロックする
ことを要求することを特徴とする。
According to a fifth aspect of the present invention, there is provided a recovery system for a system coupling device, comprising: a plurality of hosts; a plurality of system coupling devices which hold lock information for a plurality of shared resources between hosts shared by the plurality of hosts; Wherein each of the plurality of hosts requests any of the system coupling devices to lock any of the inter-host shared resources, and in response to the request, The lock information notified from the system coupling device that has locked is stored, and each of the plurality of system coupling devices locks the inter-host shared resource requested by any of the hosts and locks the inter-host shared resource. While holding lock information indicating that the lock information and the identifier of the own system coupling device to the requesting host, When any one of the number of hosts recognizes that one of the plurality of system coupling devices has failed, the host notifies the other hosts of the failure, and each of the plurality of hosts fails. In the case where lock information including the identifier of the system coupling device obtained is held, based on only the lock information, a plurality of system coupling devices in which the spare system coupling device is added to the other normal system coupling device. It is characterized by requesting any one to lock the inter-host shared resource.

【0012】本発明の第6のシステム結合装置のリカバ
リシステムは、複数のホストと、該複数のホスト上で実
行されるアプリケーションプログラムからアクセスされ
る複数のホスト間共用資源に対するロック情報を保持す
る複数のシステム結合装置とを備え、前記複数のホスト
のそれぞれが、自ホスト上で実行される前記アプリケー
ションプログラムからいずれかのホスト間共用資源に対
するロック要求を受け、該ホスト間共用資源の識別子に
対してハッシュ関数を実行して該ロック要求に対応する
ロック命令のコマンドを発行する対象のシステム結合装
置を特定し、特定したシステム結合装置へ該ホスト間共
用資源に対するロック命令のコマンドを発行するととも
に、該特定されたシステム結合装置から通知されたロッ
ク情報を記憶し、前記複数のシステム結合装置のそれぞ
れが、いずれかのホストから発行されたロック命令のコ
マンドを受け、該ロック命令のコマンドを実行する対象
のホスト間共用資源がロックされていない場合にはロッ
ク処理を実行し、該ホスト間共用資源をロックしたこと
を示すロック情報を保持するとともに、該ロック情報を
ロック命令のコマンドを発行したホストに通知し、前記
複数のホストのいずれかが、前記複数のシステム結合装
置の内のいずれか1台が故障した場合に、他の正常なシ
ステム結合装置に保持しているロック情報を消去させ、
前記複数のホストのそれぞれが、自ホストが記憶してい
るロック情報に含まれるホスト間共用資源の識別子に対
してハッシュ関数を実行してロック命令のコマンドを発
行する対象のシステム結合装置を前記他の正常なシステ
ム結合装置の中から特定し、特定したシステム結合装置
へ該ロック情報が示すホスト間共用資源に対するロック
命令のコマンドを発行することを特徴とする。
According to a sixth aspect of the present invention, there is provided a recovery system for a system coupling apparatus, comprising: a plurality of hosts and a plurality of lock information for a plurality of shared resources between hosts accessed by an application program executed on the plurality of hosts. Each of the plurality of hosts receives a lock request for any one of the inter-host shared resources from the application program executed on the host, and receives a lock request for the identifier of the inter-host shared resource. Executing a hash function to identify a system coupling device to which a lock instruction command corresponding to the lock request is issued, and issuing a lock instruction command for the inter-host shared resource to the identified system coupling device, The lock information notified from the specified system coupling device is stored, Each of the plurality of system coupling devices receives a lock command command issued from any of the hosts, and performs lock processing if the inter-host shared resource on which the command of the lock command is executed is not locked. Execute, and hold lock information indicating that the inter-host shared resource has been locked, and notify the lock information to the host that has issued the command of the lock instruction. If any one of the coupling devices fails, the lock information held in another normal system coupling device is deleted,
Each of the plurality of hosts executes a hash function on the identifier of the inter-host shared resource included in the lock information stored in its own host and issues a lock instruction command to the system coupling apparatus. , And issues a lock instruction command for the inter-host shared resource indicated by the lock information to the specified system coupling device.

【0013】本発明の第7のシステム結合装置のリカバ
リシステムは、複数のホストと、該複数のホスト上で実
行されるアプリケーションプログラムからアクセスされ
る複数のホスト間共用資源に対するロック情報を保持す
る複数のシステム結合装置と、予備のシステム結合装置
とを備え、前記複数のホストのそれぞれが、自ホスト上
で実行される前記アプリケーションプログラムからいず
れかのホスト間共用資源に対するロック要求を受け、該
ホスト間共用資源の識別子に対してハッシュ関数を実行
して該ロック要求に対応するロック命令のコマンドを発
行する対象のシステム結合装置を特定し、特定したシス
テム結合装置へ該ホスト間共用資源に対するロック命令
のコマンドを発行するとともに、該特定されたシステム
結合装置から通知されたロック情報を記憶し、前記複数
のシステム結合装置のそれぞれが、いずれかのホストか
ら発行されたロック命令のコマンドを受け、該ロック命
令のコマンドを実行する対象のホスト間共用資源がロッ
クされていない場合にはロック処理を実行し、該ホスト
間共用資源をロックしたことを示すロック情報を保持す
るとともに、該ロック情報をロック命令のコマンドを発
行したホストに通知し、前記複数のホストのいずれか
が、前記複数のシステム結合装置の内のいずれか1台が
故障した場合に、他の正常なシステム結合装置に保持し
ているロック情報を消去させ、前記複数のホストのそれ
ぞれが、自ホストが記憶しているロック情報に含まれる
ホスト間共用資源の識別子に対してハッシュ関数を実行
してロック命令のコマンドを発行する対象のシステム結
合装置を前記他の正常なシステム結合装置に前記予備の
システム結合装置を加えた複数のシステム結合装置の中
から特定し、特定したシステム結合装置へ該ロック情報
が示すホスト間共用資源に対するロック命令のコマンド
を発行することを特徴とする。
A seventh aspect of the present invention provides a recovery system for a system combination device, comprising: a plurality of hosts and a plurality of lock information for a plurality of shared resources between hosts accessed by an application program executed on the plurality of hosts. Each of the plurality of hosts receives a lock request for any of the inter-host shared resources from the application program executed on the host, and A hash function is executed on the identifier of the shared resource to specify a system coupling device to which a command of a lock instruction corresponding to the lock request is issued, and the specified system coupling device issues a lock instruction for the inter-host shared resource to the specified system coupling device. Issue a command and notify from the specified system coupling device Lock information, and each of the plurality of system coupling devices receives a command of a lock command issued from any one of the hosts, and locks the inter-host shared resource on which the command of the lock command is executed. If not, a lock process is executed to retain lock information indicating that the inter-host shared resource has been locked, and to notify the lock information to the host that has issued the command of the lock command, If any one of the plurality of system coupling devices fails, the lock information held in the other normal system coupling device is deleted, and each of the plurality of hosts A hash function is executed on the identifier of the inter-host shared resource included in the lock information stored by the host to issue a lock command. The system linking device of the elephant is specified from the plurality of system linking devices obtained by adding the spare system linking device to the other normal system linking device. The lock command is issued for the lock command.

【0014】本発明の第8のシステム結合装置のリカバ
リシステムは、複数のホストと、該複数のホスト上で実
行されるアプリケーションプログラムからアクセスされ
る複数のホスト間共用資源に対するロック情報を保持す
る複数のシステム結合装置とを備え、前記複数のホスト
のそれぞれが、自ホスト上で実行される前記アプリケー
ションプログラムからいずれかのホスト間共用資源に対
するロック要求を受け、該ホスト間共用資源の識別子に
対してハッシュ関数を実行して該ロック要求に対応する
ロック命令のコマンドを発行する対象のシステム結合装
置を特定し、特定したシステム結合装置へ該ホスト間共
用資源に対するロック命令のコマンドを発行するととも
に、該特定されたシステム結合装置から通知されたロッ
ク情報を記憶し、前記複数のシステム結合装置のそれぞ
れが、いずれかのホストから発行されたロック命令のコ
マンドを受け、該ロック命令のコマンドを実行する対象
のホスト間共用資源がロックされていない場合にはロッ
ク処理を実行し、該ホスト間共用資源をロックしたこと
を示すロック情報を保持するとともに、該ロック情報を
ロック命令のコマンドを発行したホストに通知し、前記
複数のホストのいずれかが、新規にシステム結合装置が
接続されたことを認識した際に、従前備えていたシステ
ム結合装置に保持しているロック情報を消去させ、前記
複数のホストのそれぞれが、自ホストが記憶しているロ
ック情報に含まれるホスト間共用資源の識別子に対して
ハッシュ関数を実行してロック命令のコマンドを発行す
る対象のシステム結合装置を前記従前備えていたシステ
ム結合装置に前記新規に接続されたシステム結合装置を
加えた複数のシステム結合装置の中から特定し、特定し
たシステム結合装置へ該ロック情報が示すホスト間共用
資源に対するロック命令のコマンドを発行することを特
徴とする。
According to an eighth aspect of the present invention, there is provided a recovery system for a system coupling apparatus, comprising: a plurality of hosts and a plurality of lock information for a plurality of inter-host shared resources accessed by an application program executed on the plurality of hosts. Each of the plurality of hosts receives a lock request for any one of the inter-host shared resources from the application program executed on the host, and receives a lock request for the identifier of the inter-host shared resource. Executing a hash function to identify a system coupling device to which a lock instruction command corresponding to the lock request is issued, and issuing a lock instruction command for the inter-host shared resource to the identified system coupling device, The lock information notified from the specified system coupling device is stored, Each of the plurality of system coupling devices receives a lock command command issued from any of the hosts, and performs lock processing if the inter-host shared resource on which the command of the lock command is executed is not locked. Executing, and holding lock information indicating that the inter-host shared resource has been locked, and notifying the lock information to the host that has issued the command of the lock instruction, and any one of the plurality of hosts is newly connected to the system. Upon recognizing that the device is connected, the lock information held in the previously provided system coupling device is erased, and each of the plurality of hosts is included in the lock information stored in the own host. The system coupling device that executes the hash function for the identifier of the inter-host shared resource and issues the lock command A command of a lock command for a shared resource between hosts indicated by the lock information specified from a plurality of system coupling devices obtained by adding the newly connected system coupling device to the provided system coupling device. Is issued.

【0015】本発明の第9のシステム結合装置のリカバ
リシステムは、複数のホストと、該複数のホスト上で実
行されるアプリケーションプログラムからアクセスされ
る複数のホスト間共用資源に対するロック情報を保持す
る複数のシステム結合装置とを備え、前記複数のホスト
のそれぞれが、自ホスト上で実行される前記アプリケー
ションプログラムからいずれかのホスト間共用資源に対
するロック要求を受け、該ホスト間共用資源の識別子に
対してハッシュ関数を実行して該ロック要求に対応する
ロック命令のコマンドを発行する対象のシステム結合装
置を特定し、特定したシステム結合装置へ該ホスト間共
用資源に対するロック命令のコマンドを発行するととも
に、該特定されたシステム結合装置から通知されたロッ
ク情報を記憶し、前記複数のシステム結合装置のそれぞ
れが、いずれかのホストから発行されたロック命令のコ
マンドを受け、該ロック命令のコマンドを実行する対象
のホスト間共用資源がロックされていない場合にはロッ
ク処理を実行し、該ホスト間共用資源をロックしたこと
を示すロック情報を保持するとともに、該ロック情報と
自システム結合装置の識別子とを要求元のホストに通知
し、前記複数のホストのいずれかが、前記複数のシステ
ム結合装置の内のいずれか1台が故障したことを認識し
た際に、その旨を他のホストへ通知し、前記複数のホス
トのそれぞれが、故障したシステム結合装置の識別子を
含むロック情報を保持している場合に、該ロック情報に
含まれるホスト間共用資源の識別子に対してハッシュ関
数を実行してロック命令のコマンドの発行先となるシス
テム結合装置を前記他の正常なシステム結合装置の中か
ら特定し、特定したシステム結合装置へ該ロック情報が
示すホスト間共用資源に対するロック命令のコマンドを
発行することを特徴とする。
According to a ninth aspect of the present invention, there is provided a recovery system for a system combination device, comprising: a plurality of hosts and a plurality of lock information for a plurality of inter-host shared resources accessed by an application program executed on the plurality of hosts. Each of the plurality of hosts receives a lock request for any one of the inter-host shared resources from the application program executed on the host, and receives a lock request for the identifier of the inter-host shared resource. Executing a hash function to identify a system coupling device to which a lock instruction command corresponding to the lock request is issued, and issuing a lock instruction command for the inter-host shared resource to the identified system coupling device, The lock information notified from the specified system coupling device is stored, Each of the plurality of system coupling devices receives a lock command command issued from any of the hosts, and performs lock processing if the inter-host shared resource on which the command of the lock command is executed is not locked. Executing and holding lock information indicating that the inter-host shared resource has been locked, and notifying the lock information and the identifier of the own system coupling apparatus to the requesting host, and any one of the plurality of hosts, When recognizing that any one of the plurality of system coupling devices has failed, the fact is notified to another host, and each of the plurality of hosts includes an identifier of the failed system coupling device. When the lock information is held, a hash function is executed on the identifier of the inter-host shared resource included in the lock information, and the command of the lock instruction is executed. A system coupling device to be issued is specified from among the other normal system coupling devices, and a command of a lock command for the inter-host shared resource indicated by the lock information is issued to the specified system coupling device. .

【0016】本発明の第10のシステム結合装置のリカ
バリシステムは、複数のホストと、該複数のホスト上で
実行されるアプリケーションプログラムからアクセスさ
れる複数のホスト間共用資源に対するロック情報を保持
する複数のシステム結合装置と、予備のシステム結合装
置とを備え、前記複数のホストのそれぞれが、自ホスト
上で実行される前記アプリケーションプログラムからい
ずれかのホスト間共用資源に対するロック要求を受け、
該ホスト間共用資源の識別子に対してハッシュ関数を実
行して該ロック要求に対応するロック命令のコマンドを
発行する対象のシステム結合装置を特定し、特定したシ
ステム結合装置へ該ホスト間共用資源に対するロック命
令のコマンドを発行するとともに、該特定されたシステ
ム結合装置から通知されたロック情報を記憶し、前記複
数のシステム結合装置のそれぞれが、いずれかのホスト
から発行されたロック命令のコマンドを受け、該ロック
命令のコマンドを実行する対象のホスト間共用資源がロ
ックされていない場合にはロック処理を実行し、該ホス
ト間共用資源をロックしたことを示すロック情報を保持
するとともに、該ロック情報と自システム結合装置の識
別子とを要求元のホストに通知し、前記複数のホストの
いずれかが、前記複数のシステム結合装置の内のいずれ
か1台が故障したことを認識した際に、その旨を他のホ
ストへ通知し、前記複数のホストのそれぞれが、故障し
たシステム結合装置の識別子を含むロック情報を保持し
ている場合に、該ロック情報に含まれるホスト間共用資
源の識別子に対してハッシュ関数を実行してロック命令
のコマンドの発行先となるシステム結合装置を前記他の
正常なシステム結合装置に前記予備のシステム結合装置
を加えた複数のシステム結合装置の中から特定し、特定
したシステム結合装置へ該ロック情報が示すホスト間共
用資源に対するロック命令のコマンドを発行することを
特徴とする。
According to a tenth aspect of the present invention, there is provided a recovery system for a system coupling apparatus, comprising: a plurality of hosts and a plurality of lock information for a plurality of inter-host shared resources accessed by an application program executed on the plurality of hosts. A system coupling device, comprising a spare system coupling device, each of the plurality of hosts receives a lock request for any of the inter-host shared resources from the application program executed on the host,
A hash function is executed on the identifier of the inter-host shared resource to specify a system coupling device to which a command of a lock instruction corresponding to the lock request is issued, and to the specified system coupling device, A lock command is issued, and the lock information notified from the specified system coupling device is stored, and each of the plurality of system coupling devices receives the lock instruction command issued from any of the hosts. If the inter-host shared resource on which the command of the lock instruction is to be executed is not locked, a lock process is executed to hold lock information indicating that the inter-host shared resource has been locked, and And the identifier of the own system coupling device to the requesting host, and any one of the plurality of hosts When recognizing that any one of the number of system coupling devices has failed, it notifies the other host of the failure, and each of the plurality of hosts locks including the identifier of the failed system coupling device. When the information is held, a hash function is executed on the identifier of the inter-host shared resource included in the lock information, and the system coupling device to which the command of the lock command is issued is connected to the other normal system coupling device. A lock command for a shared resource between hosts indicated by the lock information is specified from a plurality of system connection devices obtained by adding the spare system connection device to the device, and the specified system connection device is issued. .

【0017】本発明の第1の記録媒体は、複数のシステ
ム結合装置のいずれかに対して、複数のホストから共用
される複数のホスト間共用資源のいずれかをロックする
ことを要求する処理を前記複数のホストのそれぞれに行
わせ、いずれかのホストから要求されたホスト間共用資
源をロックし、該ホスト間共用資源をロックしたことを
示すロック情報を保持するとともに、該ロック情報を要
求元のホストに通知する処理を前記複数のシステム結合
装置のそれぞれに行わせ、システム結合装置から通知さ
れたロック情報を記憶する処理を前記複数のホストのそ
れぞれに行わせ、前記複数のシステム結合装置の内のい
ずれか1台が故障した場合に、他の正常なシステム結合
装置に保持しているロック情報を消去させる処理を前記
複数のホストのいずれかに行わせ、前記他の正常なシス
テム結合装置のいずれかに対して、自ホストが記憶して
いるロック情報に基づいてホスト間共用資源をロックす
ることを要求する処理を前記複数のホストのそれぞれに
行わせるプログラムを記録したことを特徴とする。
The first recording medium of the present invention performs a process of requesting one of a plurality of system coupling devices to lock one of a plurality of inter-host shared resources shared by a plurality of hosts. Each of the plurality of hosts locks the inter-host shared resource requested by any of the hosts, holds lock information indicating that the inter-host shared resource has been locked, and transmits the lock information to the request source. The process of notifying the host of each of the plurality of system coupling devices is performed, and the process of storing the lock information notified from the system coupling device is performed by each of the plurality of hosts. If any one of the hosts fails, the processing for erasing the lock information held in another normal system coupling device is performed by the plurality of hosts. And performing a process of requesting one of the other normal system coupling devices to lock the inter-host shared resource based on the lock information stored by the host. Characterized in that a program to be executed by each of the above is recorded.

【0018】本発明の第2の記録媒体は、複数のシステ
ム結合装置のいずれかに対して、複数のホストから共用
される複数のホスト間共用資源のいずれかをロックする
ことを要求する処理を前記複数のホストのそれぞれに行
わせ、いずれかのホストから要求されたホスト間共用資
源をロックし、該ホスト間共用資源をロックしたことを
示すロック情報を保持するとともに、該ロック情報を要
求元のホストに通知する処理を前記複数のシステム結合
装置のそれぞれに行わせ、システム結合装置から通知さ
れたロック情報を記憶する処理を前記複数のホストのそ
れぞれに行わせ、前記複数のシステム結合装置の内のい
ずれか1台が故障した場合に、他の正常なシステム結合
装置に保持しているロック情報を消去させる処理を前記
複数のホストのいずれかに行わせ、前記他の正常なシス
テム結合装置に予備のシステム結合装置を加えた複数の
システム結合装置のいずれかに対して、自ホストが記憶
しているロック情報に基づいてホスト間共用資源をロッ
クすることを要求する処理を前記複数のホストのそれぞ
れに行わせるプログラムを記録したことを特徴とする。
The second recording medium of the present invention performs a process of requesting one of a plurality of system coupling devices to lock one of a plurality of inter-host shared resources shared by a plurality of hosts. Each of the plurality of hosts locks the inter-host shared resource requested by any of the hosts, holds lock information indicating that the inter-host shared resource has been locked, and transmits the lock information to the request source. The process of notifying the host of each of the plurality of system coupling devices is performed, and the process of storing the lock information notified from the system coupling device is performed by each of the plurality of hosts. If any one of the hosts fails, the processing for erasing the lock information held in another normal system coupling device is performed by the plurality of hosts. The host can be shared by any one of the plurality of system coupling devices obtained by adding a spare system coupling device to the other normal system coupling device based on the lock information stored in the own host. A program for causing each of the plurality of hosts to perform a process of requesting to lock a resource is recorded.

【0019】本発明の第3の記録媒体は、複数のシステ
ム結合装置のいずれかに対して、複数のホストから共用
される複数のホスト間共用資源のいずれかをロックする
ことを要求する処理を前記複数のホストのそれぞれに行
わせ、いずれかのホストから要求されたホスト間共用資
源をロックし、該ホスト間共用資源をロックしたことを
示すロック情報を保持するとともに、該ロック情報を要
求元のホストに通知する処理を前記複数のシステム結合
装置のそれぞれに行わせ、システム結合装置から通知さ
れたロック情報を記憶する処理を前記複数のホストのそ
れぞれに行わせ、新規にシステム結合装置が接続された
ことを認識した際に、従前備えていたシステム結合装置
に保持しているロック情報を消去させる処理を前記複数
のホストのいずれかに行わせ、前記従前備えていたシス
テム結合装置に前記新規に接続されたシステム結合装置
を加えた複数のシステム結合装置のいずれかに対して、
自ホストが記憶しているロック情報に基づいてホスト間
共用資源をロックすることを要求する処理を前記複数の
ホストのそれぞれに行わせるプログラムを記録したこと
を特徴とする。
The third recording medium of the present invention performs a process of requesting one of a plurality of system coupling devices to lock one of a plurality of inter-host shared resources shared by a plurality of hosts. Each of the plurality of hosts locks the inter-host shared resource requested by any of the hosts, holds lock information indicating that the inter-host shared resource has been locked, and transmits the lock information to the request source. Of each of the plurality of system coupling devices, causing each of the plurality of hosts to perform a process of storing the lock information notified from the system coupling device, and newly connecting the system coupling device. When recognizing that the lock has been performed, a process for erasing the lock information held in the system coupling device previously provided is performed by any of the plurality of hosts. Against done so, any of a plurality of system coupling device wherein by adding newly connected system coupling device to a system coupling device was equipped the prior to,
A program is recorded which causes each of the plurality of hosts to perform a process of requesting to lock the inter-host shared resource based on the lock information stored in the host.

【0020】本発明の第4の記録媒体は、複数のシステ
ム結合装置のいずれかに対して、複数のホストから共用
される複数のホスト間共用資源のいずれかをロックする
ことを要求する処理を前記複数のホストのそれぞれに行
わせ、いずれかのホストから要求されたホスト間共用資
源をロックし、該ホスト間共用資源をロックしたことを
示すロック情報を保持するとともに、該ロック情報と自
システム結合装置の識別子とを要求元のホストに通知す
る処理を前記複数のシステム結合装置のそれぞれに行わ
せ、システム結合装置から通知されたロック情報を記憶
する処理を前記複数のホストのそれぞれに行わせ、前記
複数のシステム結合装置の内のいずれか1台が故障した
ことを認識した際に、その旨を他のホストへ通知する処
理を前記複数のホストのいずれかに行わせ、故障したシ
ステム結合装置の識別子を含むロック情報を保持してい
る場合に、該ロック情報のみに基づいて、前記他の正常
なシステム結合装置のいずれかにホスト間共用資源をロ
ックすることを要求する処理を前記複数のホストのそれ
ぞれに行わせるプログラムを記録したことを特徴とす
る。
The fourth recording medium of the present invention performs a process of requesting one of a plurality of system coupling devices to lock one of a plurality of inter-host shared resources shared by a plurality of hosts. Each of the plurality of hosts locks the inter-host shared resource requested by any of the hosts, holds lock information indicating that the inter-host shared resource has been locked, and stores the lock information and its own system. The process of notifying the requesting host of the identifier of the coupling device is performed by each of the plurality of system coupling devices, and the process of storing the lock information notified from the system coupling device is performed by each of the plurality of hosts. When recognizing that any one of the plurality of system coupling devices has failed, the process of notifying the other hosts of the failure is performed by the plurality of hosts. If the lock information including the identifier of the failed system coupling device is held, the information is shared by any of the other normal system coupling devices based on only the lock information. A program for causing each of the plurality of hosts to perform a process of requesting to lock a resource is recorded.

【0021】本発明の第5の記録媒体は、複数のシステ
ム結合装置のいずれかに対して、複数のホストから共用
される複数のホスト間共用資源のいずれかをロックする
ことを要求する処理を前記複数のホストのそれぞれに行
わせ、いずれかのホストから要求されたホスト間共用資
源をロックし、該ホスト間共用資源をロックしたことを
示すロック情報を保持するとともに、該ロック情報と自
システム結合装置の識別子とを要求元のホストに通知す
る処理を前記複数のシステム結合装置のそれぞれに行わ
せ、システム結合装置から通知されたロック情報を記憶
する処理を前記複数のホストのそれぞれに行わせ、前記
複数のシステム結合装置の内のいずれか1台が故障した
ことを認識した際に、その旨を他のホストへ通知する処
理を前記複数のホストのいずれかに行わせ、故障したシ
ステム結合装置の識別子を含むロック情報を保持してい
る場合に、該ロック情報のみに基づいて、前記他の正常
なシステム結合装置に予備のシステム結合装置を加えた
複数のシステム結合装置のいずれかにホスト間共用資源
をロックすることを要求する処理を前記複数のホストの
それぞれに行わせるプログラムを記録したことを特徴と
する。
The fifth recording medium of the present invention performs a process of requesting one of a plurality of system coupling devices to lock one of a plurality of inter-host shared resources shared by a plurality of hosts. Each of the plurality of hosts locks the inter-host shared resource requested by any of the hosts, holds lock information indicating that the inter-host shared resource has been locked, and stores the lock information and its own system. The process of notifying the requesting host of the identifier of the coupling device is performed by each of the plurality of system coupling devices, and the process of storing the lock information notified from the system coupling device is performed by each of the plurality of hosts. When recognizing that any one of the plurality of system coupling devices has failed, the process of notifying the other hosts of the failure is performed by the plurality of hosts. In the case where lock information including the identifier of the failed system coupling device is held, a spare system coupling device is assigned to the other normal system coupling device based on only the lock information. A program is recorded which causes each of the plurality of hosts to perform a process of requesting any one of the plurality of system coupling devices to lock the inter-host shared resource.

【0022】本発明の第1の記録媒体群は、第1から第
5のいずれかの記録媒体に記録されている前記プログラ
ムを複数の部分に分割して該複数の部分をそれぞれ複数
の記録媒体に記録することを特徴とする。
A first recording medium group according to the present invention divides the program recorded on any one of the first to fifth recording media into a plurality of portions, and divides the plurality of portions into a plurality of recording media. It is characterized in that it is recorded.

【0023】[0023]

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

【0024】図1を参照すると、本発明の第1の実施の
形態は、プログラム制御により動作するホスト11、1
2、…、1kと、これらのホスト11、12、…、1k
を結合するMSCP21、22、…、2mとから構成さ
れる計算機システムである。なお、MSCPは2台以上
存在するものとする。
Referring to FIG. 1, according to a first embodiment of the present invention, a host 11, 1 operating under program control is provided.
, 1k and their hosts 11, 12, ..., 1k
, And 2m, which are connected to each other. It is assumed that there are two or more MSCPs.

【0025】また、本第1の実施の形態および以下に説
明する第2〜第4の実施の形態の変形例として、ホスト
11、12、…、1kおよびMSCP21、22、…、
2mと磁気ディスク装置や半導体メモリ等の記録媒体3
0とを信号線を介して接続し、該ホスト11、12、
…、1kおよびMSCP21、22、…、2mが該記録
媒体30から信号線を介してロードしたプログラムによ
り、以下に示す処理を実行するようにしてもよい。
As modifications of the first embodiment and the second to fourth embodiments described below, the hosts 11, 12,..., 1k and the MSCPs 21, 22,.
2 m and recording medium 3 such as a magnetic disk device or a semiconductor memory
0 via a signal line, and the hosts 11, 12,.
, 1k and the MSCPs 21, 22,..., 2m may execute the following processing by a program loaded from the recording medium 30 via a signal line.

【0026】各ホスト11、12、…、1kは、ロック
制御手段111、121、…、1k1(以下、まとめて
ロック制御手段1n1と記す)と、ロック情報記憶手段
112、122、…、1k2(以下、まとめてロック情
報記憶手段1n2と記す)と、ロック情報記憶部11
3、123、…、1k3(以下、まとめてロック情報記
憶部1n3と記す)とを含む。
Each host 11, 12,..., 1k includes lock control means 111, 121,..., 1k1 (hereinafter collectively referred to as lock control means 1n1) and lock information storage means 112, 122,. Hereinafter, these are collectively referred to as lock information storage unit 1n2) and lock information storage unit 11
, 1k3 (hereinafter collectively referred to as lock information storage unit 1n3).

【0027】ロック制御手段1n1は、ホスト11、1
2、…、1kにおいて実行される図示しないAPが図示
しないホスト間共用資源を排他制御するために発行した
ロック要求またはアンロック要求に応じて、該ロック要
求またはアンロック要求に対応するロック命令またはア
ンロック命令のコマンドをMSCP21、22、…、2
mに対して発行する。
The lock control means 1n1 is connected to the hosts 11, 1
2. In response to a lock request or an unlock request issued by an AP (not shown) executed in 1k for exclusive control of a shared resource between hosts (not shown), a lock command corresponding to the lock request or the unlock request or The command of the unlock instruction is MSCP21, 22, ..., 2
Issued for m.

【0028】ロック情報記憶手段1n2は、ロック制御
手段1n1がMSCP21、22、…、2mに対して発
行したロック命令またはアンロック命令のコマンドに対
してMSCP21、22、…、2mから返却される該コ
マンドの実行結果に基づいてロック情報記憶部1n3に
記憶されているロック情報を更新する。
The lock information storage means 1n2 returns the lock command or unlock command issued to the MSCP 21, 22,... 2m by the lock control means 1n1 from the MSCP 21, 22,. The lock information stored in the lock information storage unit 1n3 is updated based on the execution result of the command.

【0029】次に、第1の実施の形態の動作について説
明する。
Next, the operation of the first embodiment will be described.

【0030】まず、ロック制御手段1n1がホスト間共
用資源に対するロック命令のコマンドを発行したときの
動作について、図2および図3を用いて説明する。図2
は、ロック制御手段1n1が発行したロック命令のコマ
ンドによってホスト間共用資源がロックされたという状
態を示す図である。図3は、ロック制御手段1n1が発
行したロック命令のコマンドによってロックしようとし
たホスト間共用資源が既に他のロック制御手段1n1が
発行したロック命令のコマンドによってロックされてい
たという状態を示す図である。
First, the operation when the lock control unit 1n1 issues a lock command command for the inter-host shared resource will be described with reference to FIGS. FIG.
FIG. 7 is a diagram showing a state in which the inter-host shared resource is locked by a lock command issued by the lock control unit 1n1. FIG. 3 is a diagram showing a state in which the inter-host shared resource to be locked by the lock command issued by the lock control means 1n1 has already been locked by the lock command issued by the other lock control means 1n1. is there.

【0031】ホスト11において実行されるAPからホ
スト間共用資源aに対するロック要求が発行されると、
ロック制御手段111は、ある1つのMSCPに対しロ
ック命令のコマンドを発行する(図2(1))。このロ
ック命令のコマンドが発行されるMSCPは、ホスト間
共用資源の識別子、例えば識別番号に対してハッシュ関
数を実行することにより、いずれか1つが決定されるよ
うにする。本実施の形態においてはMSCP22にロッ
ク命令のコマンドが発行されたとする。ロック命令のコ
マンドを受けたMSCP22は、ホスト間共用資源aを
ロックしているホストがいないことを確認した上で該ホ
スト間共用資源aをロックし、「ホスト11がホスト間
共用資源aをロックした」旨の情報を記憶し(図2
(2))、ホスト11に対してロック命令が成功したこ
とを通知する(図2(3))。ロック制御手段111
は、ロック命令が成功した旨の通知を受信すると、ロッ
ク情報記憶手段112に「ホスト間共用資源aをロック
した」旨の情報をロック情報記憶部113へ記憶させる
(図2(4))。
When an AP executed on the host 11 issues a lock request for the inter-host shared resource a,
The lock control unit 111 issues a lock command to one MSCP (FIG. 2A). The MSCP to which the command of the lock instruction is issued executes a hash function on the identifier of the inter-host shared resource, for example, the identification number, so that any one is determined. In the present embodiment, it is assumed that a lock command has been issued to the MSCP 22. The MSCP 22 that has received the lock instruction command locks the inter-host shared resource a after confirming that no host has locked the inter-host shared resource a, and “the host 11 locks the inter-host shared resource a. 2 is stored (see FIG. 2).
(2)) and notifies the host 11 that the lock command has succeeded (FIG. 2 (3)). Lock control means 111
Receives the notification indicating that the lock command has succeeded, causes the lock information storage unit 112 to store information indicating that "the shared resource a between hosts has been locked" in the lock information storage unit 113 (FIG. 2 (4)).

【0032】引き続いて、ホスト12において実行され
るAPから同じホスト間共用資源aに対するロック要求
が発行されると、ロック制御手段121は、MSCP2
2に対して(同じホスト間共用資源の識別子に対してハ
ッシュ関数を実行するとMSCPの構成に変化がなけれ
ば同じMSCPが選択される)ロック命令のコマンドを
発行する(図3(1))。ロック命令のコマンドを受け
たMSCP22はホスト間共用資源aが既にホスト11
によりロックされていることを確認して該ロック命令の
コマンドの実行を保留し、「ホスト12がホスト間共用
資源aのロック待ち」という旨の情報を記憶し(図3
(2))、ホスト12に対してロック命令が待ちになっ
たことを通知する(図3(3))。ロック制御手段12
1は、ロック命令が待ちになった旨の通知を受信する
と、ロック情報記憶手段122に「ホスト間共用資源a
のロック待ち」という情報をロック情報記憶部123へ
記憶させる(図3(4))。
Subsequently, when an AP executed on the host 12 issues a lock request for the same inter-host shared resource a, the lock control means 121 sets the MSCP2
2 (if the hash function is executed for the same shared resource identifier between the hosts, the same MSCP is selected if there is no change in the MSCP configuration) (FIG. 3 (1)). The MSCP 22 that has received the lock command receives the inter-host shared resource “a” and
3 and suspends the execution of the command of the lock instruction, and stores information indicating that "host 12 is waiting for lock of shared resource a between hosts a" (FIG. 3).
(2)), the host 12 is notified that the lock command is waiting (FIG. 3 (3)). Lock control means 12
1 receives the notification that the lock command has been waited, and stores the “shared resource a between hosts a” in the lock information storage unit 122.
Lock waiting ”is stored in the lock information storage unit 123 (FIG. 3D).

【0033】次に、ロック制御手段1n1がホスト間共
用資源に対するアンロック命令のコマンドを発行したと
きの動作について、図3および図4を用いて説明する。
Next, an operation when the lock control means 1n1 issues a command of an unlock instruction for the inter-host shared resource will be described with reference to FIGS.

【0034】図3の状態で、ホスト11において実行さ
れるAPからホスト間共用資源aに対するアンロック要
求が発行されると、ロック制御手段111は、MSCP
22に対して(同じホスト間共用資源の識別子に対して
ハッシュ関数を実行するとMSCPの構成に変化がなけ
れば同じMSCPが選択される)アンロック命令のコマ
ンドを発行する(図4(1))。アンロック命令のコマ
ンドを受けたMSCP22はホスト間共用資源aをアン
ロックし、自身が記憶している「ホスト11がホスト間
共用資源aをロックした」の情報を消去し(図4(2
a))、ホスト11に対してアンロック命令が成功した
ことを通知する(図4(3a))。ロック制御手段11
1は、アンロック命令が成功した旨の通知を受信する
と、ロック情報記憶手段112に「ホスト11がホスト
間共用資源aをロックした」旨の情報をロック情報記憶
部113から消去させる(図4(4a))。
In the state shown in FIG. 3, when the AP executed on the host 11 issues an unlock request for the inter-host shared resource a, the lock control unit 111
22 (if the hash function is executed for the same shared resource identifier between the hosts, the same MSCP is selected if there is no change in the MSCP configuration) (FIG. 4 (1)). . Upon receiving the unlock command, the MSCP 22 unlocks the inter-host shared resource a, and erases the information of “the host 11 has locked the inter-host shared resource a” stored therein (see FIG. 4 (2)
a)), and notifies the host 11 that the unlock command has succeeded (FIG. 4 (3a)). Lock control means 11
1 receives the notification that the unlock command has succeeded, and causes the lock information storage unit 112 to delete information indicating that “the host 11 has locked the inter-host shared resource a” from the lock information storage unit 113 (FIG. 4). (4a)).

【0035】一方、MSCP22は「ホスト12がホス
ト間共用資源aのロック待ち」の情報を記憶しているの
で、ホスト11へアンロック命令が成功したことを通知
した後、ホスト12から発行されたホスト間共用資源a
に対するロック命令のコマンドを実行して該ホスト間共
用資源aをロックする。この結果、MSCP22は自身
が記憶している「ホスト12がホスト間共用資源aのロ
ック待ち」の情報を削除し、新たに「ホスト12がホス
ト間共用資源aをロックした」旨の情報を記憶し(図4
(2b))、ホスト12に対してロック命令が成功した
ことを通知する(図4(3b))。ロック制御手段12
1は、ロック命令が成功した旨の通知を受信すると、ロ
ック情報記憶手段122に、ロック情報記憶部123に
記憶されている「ホスト間共用資源aのロック待ち」の
情報を「ホスト間共用資源aをロックした」の情報に更
新させる(図4(4b))。
On the other hand, since the MSCP 22 stores the information that "the host 12 is waiting for the lock of the inter-host shared resource a", it is issued from the host 12 after notifying the host 11 that the unlock command has succeeded. Shared resource a between hosts a
Is executed, and the inter-host shared resource a is locked. As a result, the MSCP 22 deletes the information “the host 12 has waited for the lock of the inter-host shared resource a” stored therein, and newly stores the information “the host 12 has locked the inter-host shared resource a”. (Fig. 4
(2b)), the host 12 is notified that the lock command has succeeded (FIG. 4 (3b)). Lock control means 12
1 receives the notification that the lock command has succeeded, and stores the information of “waiting for lock of the shared resource a between hosts” stored in the lock information storage unit 123 in the lock information storage unit 122 to the “shared resource between hosts”. a is locked "(FIG. 4 (4b)).

【0036】最後に、MSCP故障時の動作について、
図5から図9を参照して説明する。
Finally, regarding the operation at the time of the MSCP failure,
This will be described with reference to FIGS.

【0037】図5を参照すると、ホスト間共用資源aは
ホスト12によりロックされホスト11がロック待ちの
状態、ホスト間共用資源bはホスト11によりロックさ
れホスト1kがロック待ちの状態、ホスト間共用資源c
はホスト1kによりロックされホスト12がロック待ち
の状態にそれぞれなっていると仮定する。この状態で、
あるMSCP(本実施の形態ではMSCP22)が故障
した場合について説明する。
Referring to FIG. 5, the inter-host shared resource a is locked by the host 12 and the host 11 is waiting for lock, the inter-host shared resource b is locked by the host 11 and the host 1k is waiting for lock, Resource c
Is assumed to be locked by the host 1k and the host 12 is in a lock waiting state. In this state,
A case where a certain MSCP (the MSCP 22 in this embodiment) has failed will be described.

【0038】あるホスト(本実施の形態ではホスト1
1)のロック制御手段111は、MSCP22の故障を
検出(図6(2))すると(以下、このホスト11を代
表ホストと記す)、他のすべてのホストに対してその旨
を通知する(図6(3))。該通知を行ったホストのロ
ック制御手段111、および該通知を受けた他のすべて
のホストのロック制御手段1n1は、各ホストで実行さ
れるAPからホスト間共用資源のロック要求またはアン
ロック要求が発行されても、MSCPへロック命令また
はアンロック命令のコマンドを発行せず、ホスト間共用
資源に対するロック処理またはアンロック処理を保留す
る(図6(4))。これにより、システムの運用は一旦
停止の状態となり、MSCPにアクセスするAPの実行
も一旦停止する。代表ホスト11のロック制御手段11
1は、故障していないすべてのMSCPに対しリカバリ
処理の開始を宣言する(図6(5))。この宣言を受け
たMSCPは、自身に記憶しているロック情報を全て消
去する(このことを初期化と称する)(図6(6))。
A host (in this embodiment, host 1
When the lock control unit 111 detects the failure of the MSCP 22 (FIG. 6 (2)) (hereinafter, this host 11 is referred to as a representative host), the lock control unit 111 notifies all the other hosts of the failure (FIG. 6). 6 (3)). The lock control unit 111 of the host that has issued the notification and the lock control unit 1n1 of all other hosts that have received the notification transmit a lock request or an unlock request for the inter-host shared resource from the AP executed by each host. Even if issued, the lock command or the unlock command is not issued to the MSCP, and the lock process or the unlock process for the inter-host shared resource is suspended (FIG. 6 (4)). As a result, the operation of the system is temporarily stopped, and the execution of the AP that accesses the MSCP is also temporarily stopped. Lock control means 11 of representative host 11
1 declares the start of the recovery process to all the MSCPs that have not failed (FIG. 6 (5)). The MSCP having received this declaration erases all the lock information stored therein (this is referred to as initialization) (FIG. 6 (6)).

【0039】代表ホスト11のロック制御手段111
は、故障していないすべてのMSCPの初期化が完了す
ると、MSCP初期化完了の通知を他のすべてのホスト
のロック制御手段1n1に送る(図7(1))。代表ホ
スト11のロック制御手段111およびこの通知を受け
た他のすべてのホストのロック制御手段1n1は、ロッ
ク制御情報記憶部1n3に記憶している情報の内、当該
ホストがホスト間共用資源をロックしている旨の情報に
基づいて、故障していないMSCPのいずれかにロック
命令のコマンドを発行する(図7(2))。このロック
命令のコマンドが発行されるMSCPは、ホスト間共用
資源の識別子、例えば識別番号に対してハッシュ関数を
実行することにより、いずれか1つが決定される。他の
すべてのホストのロック制御手段1n1は、ロック命令
のコマンドを発行し終わると、代表ホスト11のロック
制御手段111へロック情報の再生が完了した旨を通知
する(図7(3))。
Lock control means 111 of representative host 11
Sends the notification of the completion of the MSCP initialization to the lock control means 1n1 of all the other hosts when the initialization of all the non-failed MSCPs is completed (FIG. 7 (1)). The lock control unit 111 of the representative host 11 and the lock control units 1n1 of all the other hosts that have received this notification lock the shared resources among the hosts among the information stored in the lock control information storage unit 1n3. The lock command is issued to one of the non-failed MSCPs based on the information indicating that the lock has been performed (FIG. 7 (2)). One of the MSCP to which the command of the lock instruction is issued is determined by executing a hash function on the identifier of the inter-host shared resource, for example, the identification number. When the lock control means 1n1 of all other hosts has issued the lock command, it notifies the lock control means 111 of the representative host 11 that the reproduction of the lock information has been completed (FIG. 7 (3)).

【0040】代表ホスト11のロック制御手段111
は、他のすべてのホストのロック制御手段1n1からロ
ック情報の再生が完了した旨の通知を受けると、該他の
すべてのホストのロック制御手段1n1にロック待ちの
情報の再生の開始を通知する(図8(1))。代表ホス
ト11のロック制御手段111はこの通知を行ってか
ら、そして代表ホスト以外の他のすべてのホストのロッ
ク制御手段1n1は、ロック待ちの情報の再生開始の通
知を受けてから、ロック情報記憶部1n3にあるロック
待ちの情報に基づいて、MSCPにロック命令のコマン
ドを発行する(図8(2))。この場合も、ロック命令
のコマンドが発行されるMSCPは、ホスト間共用資源
の識別子、例えば識別番号に対してハッシュ関数を実行
することにより、いずれか1つが決定される。他のすべ
てのホストのロック制御手段1n1は、すべてのロック
待ちの情報を再生すると、代表ホスト11のロック制御
手段111へロック待ち情報の再生が完了した旨を通知
する(図8(3))。
Lock control means 111 of representative host 11
When the lock control unit 1n1 of all the other hosts receives the notification that the reproduction of the lock information is completed, the lock control unit 1n1 of all the other hosts notifies the lock control unit 1n1 of the start of the reproduction of the information waiting for the lock. (FIG. 8 (1)). The lock control unit 111 of the representative host 11 sends this notification, and the lock control units 1n1 of all the hosts other than the representative host receive the notification of the start of reproduction of the information waiting for the lock, and then store the lock information. The lock command is issued to the MSCP based on the lock waiting information in the unit 1n3 (FIG. 8 (2)). Also in this case, one of the MSCPs to which the command of the lock instruction is issued is determined by executing a hash function on the identifier of the inter-host shared resource, for example, the identification number. When all the lock waiting information is reproduced, the lock control means 1n1 of all other hosts notifies the lock control means 111 of the representative host 11 that the reproduction of the lock waiting information is completed (FIG. 8 (3)). .

【0041】代表ホスト11のロック制御手段111
は、他のすべてのホストのロック制御手段1n1からロ
ック待ち情報の再生が完了した旨の通知を受けると、該
他のすべてのホストのロック制御手段1n1にロック制
御再開を通知する(図9(1))。代表ホスト11のロ
ック制御手段111およびこの通知を受けた他のすべて
のホストのロック制御手段1n1は、自ホストで実行さ
れるAPからのホスト間共用資源に対するロック要求ま
たはアンロック要求の受け付けを再開する(図9
(2))。これにより、一旦停止していたシステムの運
用が再開される。
Lock control means 111 of representative host 11
Upon receiving notification from the lock control means 1n1 of all the other hosts that the reproduction of the lock waiting information has been completed, the lock control means 1n1 of all the other hosts is notified of the resumption of the lock control (FIG. 9 ( 1)). The lock control unit 111 of the representative host 11 and the lock control units 1n1 of all the other hosts that have received the notification resume the reception of the lock request or the unlock request for the inter-host shared resource from the AP executed on the host. (Fig. 9
(2)). As a result, the operation of the system that has been temporarily stopped is restarted.

【0042】以上により、本発明の第1の実施の形態の
動作が完了する。
With the above, the operation of the first embodiment of the present invention is completed.

【0043】本発明の第1の実施の形態によれば、ある
MSCPが故障した場合に他のMSCPに各ホストが保
持していたロック情報を再送することにより、故障した
MSCPの復旧を待つことなく計算機システムの運用を
継続することができるという効果を有している。
According to the first embodiment of the present invention, when one MSCP fails, the lock information held by each host is retransmitted to another MSCP, thereby waiting for the restoration of the failed MSCP. And the operation of the computer system can be continued.

【0044】次に、本発明の第2の実施の形態について
説明する。第2の実施の形態は、第1の実施の形態の計
算機システムに予備のMSCPが存在する場合である。
この処理について、図10を用いて、第1の実施の形態
と異なる点について説明する。本実施の形態では、予備
を除くMSCPの台数は複数でなく1台でもよい。
Next, a second embodiment of the present invention will be described. The second embodiment is a case where a spare MSCP exists in the computer system of the first embodiment.
This process will be described with reference to FIG. 10 with respect to differences from the first embodiment. In the present embodiment, the number of MSCPs other than the spare may be one instead of a plurality.

【0045】MSCP(本実施の形態ではMSCP2
2)の故障(図10(1))をホスト(本実施の形態で
はホスト11(代表ホストとなる))のロック制御手段
111が認識すると(図10(2))、該ロック制御手
段111は、予備のMSCPが計算機システムに存在す
るかチェックする(図10(3))。本実施の形態で
は、予備のMSCP2pが存在するものとする。第1の
実施の形態と同様に、他のすべてのホストにMSCP2
2の故障を通知(図10(4))し、すべてのホストで
ホスト間共用資源のロック処理およびアンロック処理を
保留する(図10(5))。ホスト11のロック制御手
段111は、故障したMSCP以外のMSCPに対して
リカバリ開始宣言を発行し(図10(6))、第1の実
施の形態と同様に故障したMSCP以外のMSCPに保
持している情報を初期化する(図10(7))。さら
に、故障したMSCP以外のMSCPに予備のMSCP
2pを加え、それらのMSCPにロック情報およびロッ
ク待ち情報の再生を行う。ここで、ロック命令のコマン
ドが発行されるMSCPは、故障したMSCP以外のM
SCPに予備のMSCP2pを加えたものが対象とな
り、ホスト間共用資源の識別子、例えば識別番号に対し
てハッシュ関数を実行することにより、いずれか1つが
決定される。
The MSCP (in this embodiment, MSCP2
When the lock control unit 111 of the host (the host 11 (representative host in the present embodiment)) recognizes the failure (2) in FIG. 10 (1) in FIG. 10 (2) in FIG. It is checked whether a spare MSCP exists in the computer system (FIG. 10 (3)). In the present embodiment, it is assumed that a spare MSCP 2p exists. As in the first embodiment, MSCP2 is sent to all other hosts.
2 is notified (FIG. 10 (4)), and lock processing and unlock processing of the inter-host shared resource are suspended in all hosts (FIG. 10 (5)). The lock control unit 111 of the host 11 issues a recovery start declaration to the MSCP other than the failed MSCP (FIG. 10 (6)), and holds the recovery start declaration in the MSCP other than the failed MSCP as in the first embodiment. Is initialized (FIG. 10 (7)). Further, a spare MSCP is added to an MSCP other than the failed MSCP.
2p is added, and the lock information and the lock waiting information are reproduced in those MSCPs. Here, the MSCP to which the command of the lock command is issued is MSCP other than the failed MSCP.
The target is the one obtained by adding the spare MSCP 2p to the SCP, and one of them is determined by executing a hash function on the identifier of the inter-host shared resource, for example, the identification number.

【0046】以上により、本発明の第2の実施の形態の
動作が完了する。
Thus, the operation of the second embodiment of the present invention is completed.

【0047】本発明の第2の実施の形態によれば、第1
の実施の形態と同様に、あるMSCPに故障が発生した
場合に他のMSCPに各ホストが保持していたロック情
報を再送することにより、故障したMSCPの復旧を待
つことなく計算機システムの運用を継続することができ
るという効果を有しており、さらに第1の実施の形態に
予備のMSCPを加え、MSCPの台数を変化させずに
ロック情報またはロック待ち情報を再生するため、MS
CPのロック処理に係る故障発生前の性能を維持するこ
とができるという効果を有している。
According to the second embodiment of the present invention, the first
In the same manner as in the embodiment, when a failure occurs in a certain MSCP, the lock information held by each host is retransmitted to another MSCP so that the operation of the computer system can be performed without waiting for the recovery of the failed MSCP. It has the effect of being able to continue, and furthermore, a spare MSCP is added to the first embodiment, and lock information or lock waiting information is reproduced without changing the number of MSCPs.
This has the effect that the performance before the occurrence of a failure related to the lock processing of the CP can be maintained.

【0048】次に、本発明の第3の実施の形態について
説明する。第3の実施の形態は、第1の実施の形態の計
算機システムにMSCPを追加する場合である。この処
理について、図11を用いて、第1の実施の形態と異な
る点について説明する。本実施の形態では、追加される
MSCPを除くMSCPの台数は複数でなく1台でもよ
い。
Next, a third embodiment of the present invention will be described. In the third embodiment, an MSCP is added to the computer system according to the first embodiment. This process will be described with reference to FIG. 11 while referring to differences from the first embodiment. In the present embodiment, the number of MSCPs excluding the MSCP to be added may be one instead of a plurality.

【0049】第1の実施の形態ではMSCPの故障発生
を契機として、MSCPのリカバリ処理が開始される
が、本実施の形態ではMSCPの追加を契機として、M
SCPが記憶しているロック情報の再構成の処理を開始
する。計算機システムにMSCP2qを追加接続された
ことをいずれかのホスト(本実施の形態ではホスト11
(代表ホストとなる))のロック制御手段111が認識
すると(図11(1))、第1の実施の形態と同様に、
該ロック制御手段111は、MSCP2qが追加された
ことを他ホストへ通知し(図11(2))、すべてのホ
ストでホスト間共用資源のロック処理およびアンロック
処理を保留する(図11(3))。ホスト11のロック
制御手段111は、すべてのMSCPに対してリカバリ
開始宣言を発行し(図11(4))、該すべてのMSC
Pに保持している情報を初期化する(図11(5))。
さらに、MSCP2qを加えたすべてのMSCPにロッ
ク情報およびロック待ち情報の再生を行う。ここで、ロ
ック命令のコマンドが発行されるMSCPは、MSCP
2qを加えたすべてのMSCPが対象となり、ホスト間
共用資源の識別子、例えば識別番号に対してハッシュ関
数を実行することにより、いずれか1つが決定される。
In the first embodiment, the recovery process of the MSCP is started when an MSCP failure occurs. In the present embodiment, the MSCP is added when the MSCP is added.
The process of reconstructing the lock information stored in the SCP is started. The fact that the MSCP 2q has been additionally connected to the computer system indicates that one of the hosts (the host 11 in the present embodiment)
When the lock control unit 111 (representing the host) recognizes (FIG. 11A), as in the first embodiment,
The lock control unit 111 notifies the other host that the MSCP 2q has been added (FIG. 11 (2)), and suspends the lock processing and unlock processing of the inter-host shared resource in all the hosts (FIG. 11 (3) )). The lock control unit 111 of the host 11 issues a recovery start declaration to all the MSCPs (FIG. 11 (4)), and
The information held in P is initialized (FIG. 11 (5)).
Further, the lock information and the lock waiting information are reproduced for all the MSCPs to which the MSCP 2q is added. Here, the MSCP from which the command of the lock command is issued is MSCP.
All MSCPs to which 2q is added are targeted, and any one is determined by executing a hash function on the identifier of the inter-host shared resource, for example, the identification number.

【0050】以上により、本発明の第3の実施の形態の
動作が完了する。
Thus, the operation of the third embodiment of the present invention is completed.

【0051】本発明の第3の実施の形態によれば、第1
の実施の形態のようなMSCPの故障を契機とするので
はなく、計算機システムに新規にMSCPが追加された
ことを契機として、追加前に各MSCPが保持していた
ロック情報を追加後の全体として1台多くなったMSC
Pで分散して保持してロック処理を行うため、MSCP
のロック処理に係る性能を向上させることができる効果
を有している。
According to the third embodiment of the present invention, the first
Instead of the failure of the MSCP as in the embodiment of the present invention, the lock information held by each MSCP before the addition is added to the whole information after the addition of the MSCP newly to the computer system. MSC increased by one
MSCP to perform lock processing by holding and distributing in P
Has the effect of improving the performance related to the lock processing.

【0052】次に、本発明の第4の実施の形態につい
て、第1および第2の実施の形態と異なる点について説
明する。
Next, a fourth embodiment of the present invention will be described, focusing on differences from the first and second embodiments.

【0053】各MSCPは、ホスト間共用資源をロック
した際に「ホスト1kがホスト間共用資源xをロックし
た」旨の情報を記憶するとともに、ホスト1kに対して
ロック命令が成功したことと自MSCPの識別番号とを
通知する。
Each MSCP stores information indicating that “the host 1k has locked the inter-host shared resource x” when the inter-host shared resource is locked, and also indicates that the lock command to the host 1k is successful. Notify the MSCP identification number.

【0054】あるホスト(本実施の形態ではホスト11
(代表ホスト))のロック制御手段111は、あるMS
CP(本実施の形態ではMSCP22)の故障を検出す
ると、他のすべてのホストに対してその旨を通知する。
A host (host 11 in this embodiment)
(Representative host)) lock control means 111
When a failure of the CP (the MSCP 22 in the present embodiment) is detected, the failure is notified to all other hosts.

【0055】第1および第2の実施の形態では、ここで
すべてのホストのホストのロック制御手段1n1がホス
ト間共用資源に対するロック処理またはアンロック処理
を保留し、すべてのMSCPに対して保持しているロッ
ク情報を消去させるが、本実施の形態においては、正常
なMSCPが保持しているロック情報を消去することな
く、故障したMSCP22に係るロック情報のみを再生
する点に特徴がある。
In the first and second embodiments, the lock control means 1n1 of all the hosts suspends the lock processing or the unlock processing for the inter-host shared resource, and retains the lock processing or unlock processing for all the MSCPs. The present embodiment is characterized in that only the lock information relating to the failed MSCP 22 is reproduced without erasing the lock information held by the normal MSCP.

【0056】すなわち、代表ホスト11のロック制御手
段111および他のすべてのホストのロック制御手段1
n1は、ロック制御情報記憶部1n3に記憶している情
報の中に、故障したMSCP22に係る情報(MSCP
22の識別番号が付されている)が含まれていれば、該
情報に基づいて、故障していないMSCPのいずれかに
ロック命令のコマンドを発行する。このロック命令のコ
マンドが発行されるMSCPは、ホスト間共用資源の識
別子、例えば識別番号に対してハッシュ関数を実行する
ことにより、いずれか1つが決定される。
That is, the lock control means 111 of the representative host 11 and the lock control means 1 of all the other hosts
n1 is information (MSCP) related to the failed MSCP 22 in the information stored in the lock control information storage unit 1n3.
22 (attached with an identification number of 22), a lock command is issued to any non-failed MSCP based on the information. One of the MSCP to which the command of the lock instruction is issued is determined by executing a hash function on the identifier of the inter-host shared resource, for example, the identification number.

【0057】以上により、本発明の第4の実施の形態の
動作が完了する。
Thus, the operation of the fourth embodiment of the present invention is completed.

【0058】本発明の第4の実施の形態によれば、第1
および第2の実施の形態のようにすべてのMSCPが保
持しているロック情報を一旦消去してから他の正常なM
SCPに対してロック情報を再生するのではなく、正常
なMSCPが保持しているロック情報は消去せずに、故
障したMSCPが保持していたロック情報のみを他の正
常なMSCPに再生するようにしたため、第1および第
2の実施の形態に比べてMSCPが保持しているロック
情報の消去処理を行わない分、リカバリ処理を効率良く
実施することができる効果を有している。
According to the fourth embodiment of the present invention, the first
And, as in the second embodiment, the lock information held by all the MSCPs is once erased,
Instead of reproducing the lock information for the SCP, the lock information held by the normal MSCP is not erased, and only the lock information held by the failed MSCP is reproduced to another normal MSCP. As a result, compared to the first and second embodiments, the elimination of the lock information held by the MSCP has an effect that the recovery process can be performed efficiently.

【0059】なお、第1〜第4の実施の形態において、
ロック制御手段1n1がロック命令のコマンドを再発行
するMSCPを特定するために、該ロック命令のコマン
ドを発行する対象のホスト間共用資源の識別子、例えば
識別番号に対してハッシュ関数を実行して、いずれか1
つのMSCPを特定していたが、このMSCPを特定す
る方法はハッシュ関数を実行することのみに限られるも
のではなく、該ロック命令のコマンドを複数のMSCP
に順番に発行したり、その時点でロック処理の負荷の低
い(回数の少ない)MSCPに優先的に発行するように
してもよい。
In the first to fourth embodiments,
In order for the lock control unit 1n1 to specify the MSCP to which the command of the lock command is reissued, a hash function is executed on the identifier of the inter-host shared resource to which the command of the lock command is issued, for example, the identification number, Any one
Although one MSCP has been specified, the method of specifying the MSCP is not limited to executing the hash function, and the command of the lock instruction is
May be issued in order, or may be issued preferentially to the MSCP with a low (low-frequency) lock processing load at that time.

【0060】[0060]

【発明の効果】以上説明したように、本発明のシステム
結合装置のリカバリシステムは、計算機システムの運用
中にMSCPが故障しても、故障したMSCPを含むす
べてのMSCPが保持していたロック情報を残りのMS
CPで分散して保持するようにしたことにより、故障し
たMSCPが復旧するのを待ち合わせることなく、AP
の処理、すなわち計算機システムの運用を継続すること
ができるという効果を有している。
As described above, according to the recovery system of the system coupling device of the present invention, even if the MSCP fails during the operation of the computer system, the lock information held by all the MSCPs including the failed MSCP can be obtained. The rest of the MS
By distributing and holding the data in the CP, the AP can be used without waiting for the failed MSCP to recover.
, Ie, the operation of the computer system can be continued.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施の形態の構成を示すブロッ
ク図である。
FIG. 1 is a block diagram showing a configuration of a first exemplary embodiment of the present invention.

【図2】本発明の第1の実施の形態において、ロック制
御手段1n1が発行したロック命令のコマンドによって
ホスト間共用資源がロックされた状態を示す図である。
FIG. 2 is a diagram showing a state in which a shared resource between hosts is locked by a lock command issued by a lock control unit 1n1 in the first embodiment of the present invention.

【図3】本発明の第1の実施の形態において、ロック制
御手段1n1が発行したロック命令のコマンドによって
ロックしようとしたホスト間共用資源が既に他のロック
制御手段1n1が発行したロック命令のコマンドによっ
てロックされていたという状態を示す図である。
FIG. 3 shows a first embodiment of the present invention in which a shared resource between hosts which is to be locked by a lock instruction command issued by a lock control unit 1n1 has already issued a lock instruction command issued by another lock control unit 1n1. FIG. 6 is a diagram showing a state in which the lock has been performed.

【図4】本発明の第1の実施の形態において、ロック制
御手段1n1がホスト間共用資源に対するアンロック命
令のコマンドを発行したときの動作を示す図である。
FIG. 4 is a diagram showing an operation when the lock control unit 1n1 issues a command of an unlock instruction for a shared resource between hosts in the first embodiment of the present invention.

【図5】本発明の第1の実施の形態における、MSCP
のリカバリ処理の動作を示す図である。
FIG. 5 shows the MSCP according to the first embodiment of the present invention.
It is a figure which shows operation | movement of the recovery process.

【図6】本発明の第1の実施の形態における、MSCP
のリカバリ処理の動作を示す図である。
FIG. 6 shows the MSCP according to the first embodiment of the present invention.
It is a figure which shows operation | movement of the recovery process.

【図7】本発明の第1の実施の形態における、MSCP
のリカバリ処理の動作を示す図である。
FIG. 7 shows the MSCP according to the first embodiment of the present invention.
It is a figure which shows operation | movement of the recovery process.

【図8】本発明の第1の実施の形態における、MSCP
のリカバリ処理の動作を示す図である。
FIG. 8 shows the MSCP according to the first embodiment of the present invention.
It is a figure which shows operation | movement of the recovery process.

【図9】本発明の第1の実施の形態における、MSCP
のリカバリ処理の動作を示す図である。
FIG. 9 shows the MSCP according to the first embodiment of the present invention.
It is a figure which shows operation | movement of the recovery process.

【図10】本発明の第2の実施の形態における、MSC
Pのリカバリ処理の動作を示す図である。
FIG. 10 shows the MSC according to the second embodiment of the present invention.
It is a figure showing operation of recovery processing of P.

【図11】本発明の第3の実施の形態における、MSC
Pのリカバリ処理の動作を示す図である。
FIG. 11 shows an MSC according to the third embodiment of the present invention.
It is a figure showing operation of recovery processing of P.

【符号の説明】 11、12、…、1k ホスト 111、121、…、1k1 ロック制御手段 112、122、…、1k2 ロック情報記憶手段 113、123、…、1k3 ロック情報記憶部 21、22、…、2m、2p、2q MSCP 30 記録媒体, 1k host 111, 121,..., 1k1 lock control means 112, 122,..., 1k2 lock information storage means 113, 123,. , 2m, 2p, 2q MSCP 30 recording medium

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 15/177 678 G06F 11/20 310 ──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int. Cl. 7 , DB name) G06F 15/177 678 G06F 11/20 310

Claims (16)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数のホストと、該複数のホストから共
用される複数のホスト間共用資源に対するロック情報を
保持する複数のシステム結合装置とを備え、 前記複数のホストのそれぞれが、 いずれかのシステム結合装置に対していずれかのホスト
間共用資源をロックすることを要求し、該要求に応じて
該ホスト間共用資源をロックしたシステム結合装置から
通知されたロック情報を記憶し、 前記複数のシステム結合装置のそれぞれが、 いずれかのホストから要求されたホスト間共用資源をロ
ックし、該ホスト間共用資源をロックしたことを示すロ
ック情報を保持するとともに、該ロック情報を要求元の
ホストに通知し、 前記複数のホストのいずれかが、 前記複数のシステム結合装置の内のいずれか1台が故障
した場合に、他の正常なシステム結合装置に保持してい
るロック情報を消去させ、 前記複数のホストのそれぞれが、 前記他の正常なシステム結合装置のいずれかに対して、
自ホストが記憶しているロック情報に基づいてホスト間
共用資源をロックすることを要求することを特徴とする
システム結合装置のリカバリシステム。
1. A system comprising: a plurality of hosts; and a plurality of system coupling devices which hold lock information for a plurality of inter-host shared resources shared by the plurality of hosts, wherein each of the plurality of hosts includes: Requesting the system coupling device to lock any of the inter-host shared resources, storing the lock information notified from the system coupling device that has locked the inter-host shared resource in response to the request; Each of the system coupling devices locks the inter-host shared resource requested by any of the hosts, holds lock information indicating that the inter-host shared resource has been locked, and transmits the lock information to the requesting host. Notify any of the plurality of hosts, and if any one of the plurality of system Erasing the lock information held in the system coupling device, wherein each of the plurality of hosts is
A recovery system for a system coupling device, which requests to lock a shared resource between hosts based on lock information stored in its own host.
【請求項2】 さらに予備のシステム結合装置を備え、 前記複数のホストのそれぞれが、 前記他の正常なシステム結合装置に前記予備のシステム
結合装置を加えた複数のシステム結合装置のいずれかに
対して、自ホストが記憶しているロック情報に基づいて
ホスト間共用資源をロックすることを要求することを特
徴とする請求項1記載のシステム結合装置のリカバリシ
ステム。
2. The system according to claim 1, further comprising a spare system coupling device, wherein each of the plurality of hosts is connected to one of the plurality of system coupling devices obtained by adding the spare system coupling device to the other normal system coupling device. 2. The recovery system according to claim 1, wherein a request is made to lock the inter-host shared resource based on the lock information stored in the own host.
【請求項3】 前記複数のホストのいずれかが、 新規にシステム結合装置が接続されたことを認識した際
に、従前備えていたシステム結合装置に保持しているロ
ック情報を消去させ、 前記複数のホストのそれぞれが、 前記従前備えていたシステム結合装置に前記新規に接続
されたシステム結合装置を加えた複数のシステム結合装
置のいずれかに対して、自ホストが記憶しているロック
情報に基づいてホスト間共用資源をロックすることを要
求することを特徴とする請求項1記載のシステム結合装
置のリカバリシステム。
3. When one of the plurality of hosts recognizes that a new system coupling device has been connected, the host deletes the lock information held in the previously provided system coupling device. Each of the plurality of hosts, for any one of the plurality of system coupling devices obtained by adding the newly connected system coupling device to the previously provided system coupling device, based on the lock information stored in the host. 2. The recovery system according to claim 1, wherein a request is made to lock the shared resources between the hosts.
【請求項4】 複数のホストと、該複数のホストから共
用される複数のホスト間共用資源に対するロック情報を
保持する複数のシステム結合装置とを備え、 前記複数のホストのそれぞれが、 いずれかのシステム結合装置に対していずれかのホスト
間共用資源をロックすることを要求し、該要求に応じて
該ホスト間共用資源をロックしたシステム結合装置から
通知されたロック情報を記憶し、 前記複数のシステム結合装置のそれぞれが、 いずれかのホストから要求されたホスト間共用資源をロ
ックし、該ホスト間共用資源をロックしたことを示すロ
ック情報を保持するとともに、該ロック情報と自システ
ム結合装置の識別子とを要求元のホストに通知し、 前記複数のホストのいずれかが、 前記複数のシステム結合装置の内のいずれか1台が故障
したことを認識した際に、その旨を他のホストへ通知
し、 前記複数のホストのそれぞれが、 故障したシステム結合装置の識別子を含むロック情報を
保持している場合に、該ロック情報のみに基づいて、前
記他の正常なシステム結合装置のいずれかにホスト間共
用資源をロックすることを要求することを特徴とするシ
ステム結合装置のリカバリシステム。
4. A system comprising: a plurality of hosts; and a plurality of system coupling devices that hold lock information for a plurality of inter-host shared resources shared by the plurality of hosts, wherein each of the plurality of hosts includes: Requesting the system coupling device to lock any of the inter-host shared resources, storing the lock information notified from the system coupling device that has locked the inter-host shared resource in response to the request; Each of the system coupling devices locks the inter-host shared resource requested by any of the hosts, holds lock information indicating that the inter-host shared resource has been locked, and stores the lock information and the information of the own system coupling device. An identifier is notified to the requesting host, and one of the plurality of hosts is determined to be one of the plurality of system coupling devices. When recognizing that the failure has occurred, the other hosts are notified of the fact.If each of the plurality of hosts holds lock information including the identifier of the failed system coupling device, only the lock information is stored. A recovery system for the system coupling device, which requests one of the other normal system coupling devices to lock the inter-host shared resource based on the following.
【請求項5】 さらに予備のシステム結合装置を備え、 前記複数のホストのそれぞれが、 故障したシステム結合装置の識別子を含むロック情報を
保持している場合に、該ロック情報のみに基づいて、前
記他の正常なシステム結合装置に前記予備のシステム結
合装置を加えた複数のシステム結合装置のいずれかにホ
スト間共用資源をロックすることを要求することを特徴
とする請求項4記載のシステム結合装置のリカバリシス
テム。
5. A system further comprising a spare system coupling device, wherein each of the plurality of hosts holds lock information including an identifier of a failed system coupling device, based on only the lock information. 5. The system coupling apparatus according to claim 4, wherein one of the plurality of system coupling apparatuses obtained by adding the spare system coupling apparatus to another normal system coupling apparatus is required to lock the inter-host shared resource. Recovery system.
【請求項6】 複数のホストと、該複数のホスト上で実
行されるアプリケーションプログラムからアクセスされ
る複数のホスト間共用資源に対するロック情報を保持す
る複数のシステム結合装置とを備え、 前記複数のホストのそれぞれが、 自ホスト上で実行される前記アプリケーションプログラ
ムからいずれかのホスト間共用資源に対するロック要求
を受け、該ホスト間共用資源の識別子に対してハッシュ
関数を実行して該ロック要求に対応するロック命令のコ
マンドを発行する対象のシステム結合装置を特定し、特
定したシステム結合装置へ該ホスト間共用資源に対する
ロック命令のコマンドを発行するとともに、該特定され
たシステム結合装置から通知されたロック情報を記憶
し、 前記複数のシステム結合装置のそれぞれが、 いずれかのホストから発行されたロック命令のコマンド
を受け、該ロック命令のコマンドを実行する対象のホス
ト間共用資源がロックされていない場合にはロック処理
を実行し、該ホスト間共用資源をロックしたことを示す
ロック情報を保持するとともに、該ロック情報をロック
命令のコマンドを発行したホストに通知し、 前記複数のホストのいずれかが、 前記複数のシステム結合装置の内のいずれか1台が故障
した場合に、他の正常なシステム結合装置に保持してい
るロック情報を消去させ、 前記複数のホストのそれぞれが、 自ホストが記憶しているロック情報に含まれるホスト間
共用資源の識別子に対してハッシュ関数を実行してロッ
ク命令のコマンドを発行する対象のシステム結合装置を
前記他の正常なシステム結合装置の中から特定し、特定
したシステム結合装置へ該ロック情報が示すホスト間共
用資源に対するロック命令のコマンドを発行することを
特徴とするシステム結合装置のリカバリシステム。
6. A plurality of hosts, comprising: a plurality of hosts; and a plurality of system coupling devices which hold lock information on a plurality of shared resources between hosts accessed from an application program executed on the plurality of hosts, Receives a lock request for any of the inter-host shared resources from the application program executed on the host, executes a hash function on the identifier of the inter-host shared resource, and responds to the lock request. A system coupling device to which the command of the lock instruction is to be issued is specified, a command of the lock instruction for the inter-host shared resource is issued to the specified system coupling device, and the lock information notified from the specified system coupling device. Wherein each of the plurality of system coupling devices is: When a command of the lock command issued from the host is received and the shared resource between the hosts to execute the command of the lock command is not locked, a lock process is executed, and it is determined that the shared resource between the hosts has been locked. While notifying the host that has issued the command of the lock instruction, when any one of the plurality of hosts fails in any one of the plurality of system coupling devices. Then, the lock information held in another normal system coupling device is erased, and each of the plurality of hosts hashes with the identifier of the inter-host shared resource included in the lock information stored in its own host. The system coupling device to execute the function and issue the command of the lock instruction is specified from among the other normal system coupling devices, and Recovery system of system coupling device, characterized in that the the system coupling device issues a command of the lock instruction to the inter-host shared resource indicated by the lock information.
【請求項7】 さらに予備のシステム結合装置を備え、 前記複数のホストのそれぞれが、 自ホストが記憶しているロック情報に含まれるホスト間
共用資源の識別子に対してハッシュ関数を実行してロッ
ク命令のコマンドを発行する対象のシステム結合装置を
前記他の正常なシステム結合装置に前記予備のシステム
結合装置を加えた複数のシステム結合装置の中から特定
し、特定したシステム結合装置へ該ロック情報が示すホ
スト間共用資源に対するロック命令のコマンドを発行す
ることを特徴とする請求項6記載のシステム結合装置の
リカバリシステム。
7. The system further comprises a spare system coupling device, wherein each of the plurality of hosts executes a hash function on an identifier of the inter-host shared resource included in the lock information stored in the own host to lock the plurality of hosts. The system coupling device to which the command of the command is issued is specified from among the plurality of system coupling devices obtained by adding the spare system coupling device to the other normal system coupling device, and the lock information is transmitted to the specified system coupling device. 7. The recovery system for a system-coupling device according to claim 6, wherein a command of a lock instruction for the inter-host shared resource indicated by is issued.
【請求項8】 前記複数のホストのいずれかが、 新規にシステム結合装置が接続されたことを認識した際
に、従前備えていたシステム結合装置に保持しているロ
ック情報を消去させ、 前記複数のホストのそれぞれが、 自ホストが記憶しているロック情報に含まれるホスト間
共用資源の識別子に対してハッシュ関数を実行してロッ
ク命令のコマンドを発行する対象のシステム結合装置を
前記従前備えていたシステム結合装置に前記新規に接続
されたシステム結合装置を加えた複数のシステム結合装
置の中から特定し、特定したシステム結合装置へ該ロッ
ク情報が示すホスト間共用資源に対するロック命令のコ
マンドを発行することを特徴とする請求項6記載のシス
テム結合装置のリカバリシステム。
8. When any one of the plurality of hosts recognizes that a new system coupling device has been connected, the host deletes the lock information held in the previously provided system coupling device. Each of the above-mentioned hosts is provided with a system coupling device to which a hash function is executed on the identifier of the inter-host shared resource included in the lock information stored in the own host to issue the command of the lock instruction. From the plurality of system coupling devices obtained by adding the newly connected system coupling device to the system coupling device, and issuing a lock command command for the inter-host shared resource indicated by the lock information to the specified system coupling device. 7. The recovery system for a system combination device according to claim 6, wherein:
【請求項9】 複数のホストと、該複数のホスト上で実
行されるアプリケーションプログラムからアクセスされ
る複数のホスト間共用資源に対するロック情報を保持す
る複数のシステム結合装置とを備え、 前記複数のホストのそれぞれが、 自ホスト上で実行される前記アプリケーションプログラ
ムからいずれかのホスト間共用資源に対するロック要求
を受け、該ホスト間共用資源の識別子に対してハッシュ
関数を実行して該ロック要求に対応するロック命令のコ
マンドを発行する対象のシステム結合装置を特定し、特
定したシステム結合装置へ該ホスト間共用資源に対する
ロック命令のコマンドを発行するとともに、該特定され
たシステム結合装置から通知されたロック情報を記憶
し、 前記複数のシステム結合装置のそれぞれが、 いずれかのホストから発行されたロック命令のコマンド
を受け、該ロック命令のコマンドを実行する対象のホス
ト間共用資源がロックされていない場合にはロック処理
を実行し、該ホスト間共用資源をロックしたことを示す
ロック情報を保持するとともに、該ロック情報と自シス
テム結合装置の識別子とを要求元のホストに通知し、 前記複数のホストのいずれかが、 前記複数のシステム結合装置の内のいずれか1台が故障
したことを認識した際に、その旨を他のホストへ通知
し、 前記複数のホストのそれぞれが、 故障したシステム結合装置の識別子を含むロック情報を
保持している場合に、該ロック情報に含まれるホスト間
共用資源の識別子に対してハッシュ関数を実行してロッ
ク命令のコマンドの発行先となるシステム結合装置を前
記他の正常なシステム結合装置の中から特定し、特定し
たシステム結合装置へ該ロック情報が示すホスト間共用
資源に対するロック命令のコマンドを発行することを特
徴とするシステム結合装置のリカバリシステム。
9. A host system comprising: a plurality of hosts; and a plurality of system coupling devices that hold lock information for a plurality of shared resources between hosts accessed from an application program executed on the plurality of hosts, Receives a lock request for any of the inter-host shared resources from the application program executed on the host, executes a hash function on the identifier of the inter-host shared resource, and responds to the lock request. A system coupling device to which the command of the lock instruction is to be issued is specified, a command of the lock instruction for the inter-host shared resource is issued to the specified system coupling device, and the lock information notified from the specified system coupling device. Wherein each of the plurality of system coupling devices is: When a command of the lock command issued from the host is received and the shared resource between the hosts to execute the command of the lock command is not locked, a lock process is executed, and it is determined that the shared resource between the hosts has been locked. And the lock information and the identifier of the own system coupling device are notified to the requesting host, and one of the plurality of hosts is any one of the plurality of system coupling devices. When the host recognizes that the failure has occurred, the host notifies the other hosts of the failure, and when each of the plurality of hosts holds the lock information including the identifier of the failed system coupling device, A hash function is executed on the identifier of the inter-host shared resource included in the Recovery system of system coupling device characterized by identifying from the stem coupling device issues a command of the lock instruction to the inter-host shared resource indicated by the lock information to the specified system coupling device.
【請求項10】 さらに予備のシステム結合装置を備
え、 前記複数のホストのそれぞれが、 故障したシステム結合装置の識別子を含むロック情報を
保持している場合に、該ロック情報に含まれるホスト間
共用資源の識別子に対してハッシュ関数を実行してロッ
ク命令のコマンドの発行先となるシステム結合装置を前
記他の正常なシステム結合装置に前記予備のシステム結
合装置を加えた複数のシステム結合装置の中から特定
し、特定したシステム結合装置へ該ロック情報が示すホ
スト間共用資源に対するロック命令のコマンドを発行す
ることを特徴とする請求項9記載のシステム結合装置の
リカバリシステム。
10. A backup system coupling device, wherein when each of the plurality of hosts holds lock information including an identifier of a failed system coupling device, the plurality of hosts share the lock information included in the lock information. A hash function is performed on a resource identifier, and a system coupling device to which a command of a lock instruction is issued is included in a plurality of system coupling devices obtained by adding the spare system coupling device to the other normal system coupling device. 10. The recovery system for a system-coupling device according to claim 9, wherein a command of a lock command for the inter-host shared resource indicated by the lock information is issued to the specified system-coupling device.
【請求項11】 複数のシステム結合装置のいずれかに
対して、複数のホストから共用される複数のホスト間共
用資源のいずれかをロックすることを要求する処理を前
記複数のホストのそれぞれに行わせ、 いずれかのホストから要求されたホスト間共用資源をロ
ックし、該ホスト間共用資源をロックしたことを示すロ
ック情報を保持するとともに、該ロック情報を要求元の
ホストに通知する処理を前記複数のシステム結合装置の
それぞれに行わせ、 システム結合装置から通知されたロック情報を記憶する
処理を前記複数のホストのそれぞれに行わせ、 前記複数のシステム結合装置の内のいずれか1台が故障
した場合に、他の正常なシステム結合装置に保持してい
るロック情報を消去させる処理を前記複数のホストのい
ずれかに行わせ、 前記他の正常なシステム結合装置のいずれかに対して、
自ホストが記憶しているロック情報に基づいてホスト間
共用資源をロックすることを要求する処理を前記複数の
ホストのそれぞれに行わせるプログラムを記録したこと
を特徴とする記録媒体。
11. A process for requesting one of a plurality of system coupling devices to lock one of a plurality of inter-host shared resources shared by a plurality of hosts is performed on each of the plurality of hosts. Locking the inter-host shared resource requested by any of the hosts, holding lock information indicating that the inter-host shared resource has been locked, and notifying the requesting host of the lock information. Causing each of the plurality of system coupling devices to perform a process of storing the lock information notified from the system coupling device, and causing one of the plurality of system coupling devices to fail In this case, a process of erasing the lock information held in another normal system coupling device is performed by one of the plurality of hosts, For any normal system coupling device,
A recording medium on which is recorded a program for causing each of the plurality of hosts to perform a process of requesting to lock a shared resource between hosts based on lock information stored in the host.
【請求項12】 前記他の正常なシステム結合装置に予
備のシステム結合装置を加えた複数のシステム結合装置
のいずれかに対して、自ホストが記憶しているロック情
報に基づいてホスト間共用資源をロックすることを要求
する処理を前記複数のホストのそれぞれに行わせるプロ
グラムを記録したことを特徴とする請求項11記載の記
録媒体。
12. An inter-host shared resource for one of a plurality of system coupling devices obtained by adding a spare system coupling device to the other normal system coupling device based on lock information stored in the host. 12. The recording medium according to claim 11, wherein a program for causing each of the plurality of hosts to perform a process of requesting locking of the host is recorded.
【請求項13】 新規にシステム結合装置が接続された
ことを認識した際に、従前備えていたシステム結合装置
に保持しているロック情報を消去させる処理を前記複数
のホストのいずれかに行わせ、 前記従前備えていたシステム結合装置に前記新規に接続
されたシステム結合装置を加えた複数のシステム結合装
置のいずれかに対して、自ホストが記憶しているロック
情報に基づいてホスト間共用資源をロックすることを要
求する処理を前記複数のホストのそれぞれに行わせるプ
ログラムを記録したことを特徴とする請求項11記載の
記録媒体。
13. When one of the plurality of hosts recognizes that a new system coupling device has been connected, the process deletes the lock information held in the previously provided system coupling device. A shared resource between hosts based on lock information stored in its own host for any of a plurality of system coupling devices obtained by adding the newly connected system coupling device to the previously provided system coupling device. 12. The recording medium according to claim 11, wherein a program for causing each of the plurality of hosts to perform a process of requesting locking of the host is recorded.
【請求項14】 複数のシステム結合装置のいずれかに
対して、複数のホストから共用される複数のホスト間共
用資源のいずれかをロックすることを要求する処理を前
記複数のホストのそれぞれに行わせ、 いずれかのホストから要求されたホスト間共用資源をロ
ックし、該ホスト間共用資源をロックしたことを示すロ
ック情報を保持するとともに、該ロック情報と自システ
ム結合装置の識別子とを要求元のホストに通知する処理
を前記複数のシステム結合装置のそれぞれに行わせ、 システム結合装置から通知されたロック情報を記憶する
処理を前記複数のホストのそれぞれに行わせ、 前記複数のシステム結合装置の内のいずれか1台が故障
したことを認識した際に、その旨を他のホストへ通知す
る処理を前記複数のホストのいずれかに行わせ、 故障したシステム結合装置の識別子を含むロック情報を
保持している場合に、該ロック情報のみに基づいて、前
記他の正常なシステム結合装置のいずれかにホスト間共
用資源をロックすることを要求する処理を前記複数のホ
ストのそれぞれに行わせるプログラムを記録したことを
特徴とする記録媒体。
14. A process for requesting one of a plurality of system coupling devices to lock one of a plurality of inter-host shared resources shared by a plurality of hosts is performed on each of the plurality of hosts. Locks the inter-host shared resource requested by any of the hosts, holds lock information indicating that the inter-host shared resource has been locked, and transmits the lock information and the identifier of the own system coupling device to the request source. A process of notifying the plurality of system coupling devices is performed by each of the plurality of system coupling devices, and a process of storing lock information notified from the system coupling device is performed by each of the plurality of hosts. When any one of the hosts is recognized as having failed, a process of notifying the failure to another host is performed by any of the plurality of hosts. Requesting to lock the inter-host shared resource to one of the other normal system coupling devices based on only the lock information when holding the lock information including the identifier of the failed system coupling device. Recording a program that causes each of the plurality of hosts to perform a process to be performed.
【請求項15】 故障したシステム結合装置の識別子を
含むロック情報を保持している場合に、該ロック情報の
みに基づいて、前記他の正常なシステム結合装置に予備
のシステム結合装置を加えた複数のシステム結合装置の
いずれかにホスト間共用資源をロックすることを要求す
る処理を前記複数のホストのそれぞれに行わせるプログ
ラムを記録したことを特徴とする請求項14記載の記録
媒体。
15. When a lock information including an identifier of a failed system coupling device is held, a plurality of normal system coupling devices added with a spare system coupling device based on only the lock information. 15. The recording medium according to claim 14, wherein a program for causing each of the plurality of hosts to perform a process of requesting one of the system coupling devices to lock the inter-host shared resource is recorded.
【請求項16】 請求項11から15のいずれかの記録
媒体に記録されている前記プログラムを複数の部分に分
割して該複数の部分をそれぞれ複数の記録媒体に記録す
ることを特徴とする記録媒体群。
16. The recording method according to claim 11, wherein the program recorded on the recording medium according to claim 11 is divided into a plurality of portions, and the plurality of portions are respectively recorded on a plurality of recording media. Media group.
JP10346912A 1997-12-09 1998-12-07 Recording medium recording recovery system and recovery program for system combination device Expired - Fee Related JP3134864B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10346912A JP3134864B2 (en) 1997-12-09 1998-12-07 Recording medium recording recovery system and recovery program for system combination device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP9-338615 1997-12-09
JP33861597 1997-12-09
JP10346912A JP3134864B2 (en) 1997-12-09 1998-12-07 Recording medium recording recovery system and recovery program for system combination device

Publications (2)

Publication Number Publication Date
JPH11338843A JPH11338843A (en) 1999-12-10
JP3134864B2 true JP3134864B2 (en) 2001-02-13

Family

ID=26576142

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10346912A Expired - Fee Related JP3134864B2 (en) 1997-12-09 1998-12-07 Recording medium recording recovery system and recovery program for system combination device

Country Status (1)

Country Link
JP (1) JP3134864B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011216059A (en) * 2010-04-02 2011-10-27 Nec Corp Computer system, management method of computer system, gateway device, and program

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101042908B1 (en) * 2009-02-12 2011-06-21 엔에이치엔(주) Method, system, and computer-readable recording medium for determining major group under split-brain network problem
JP2013196176A (en) * 2012-03-16 2013-09-30 Nec Corp Exclusive control system, exclusive control method, and exclusive control program
AU2015408848B2 (en) 2015-12-30 2018-10-18 Huawei Technologies Co., Ltd Method for processing acquire lock request and server
JP7028502B2 (en) * 2018-03-19 2022-03-02 Necプラットフォームズ株式会社 Information processing equipment, information processing system, information processing method, program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011216059A (en) * 2010-04-02 2011-10-27 Nec Corp Computer system, management method of computer system, gateway device, and program

Also Published As

Publication number Publication date
JPH11338843A (en) 1999-12-10

Similar Documents

Publication Publication Date Title
EP0405926B1 (en) Method and apparatus for managing a shadow set of storage media
AU622333B2 (en) Data storage device for a digital data processing system
US5239637A (en) Digital data management system for maintaining consistency of data in a shadow set
US7412578B2 (en) Snapshot creating method and apparatus
JP3712922B2 (en) Method for independent data copying in a data processing system
US5615329A (en) Remote data duplexing
US6578120B1 (en) Synchronization and resynchronization of loosely-coupled copy operations between a primary and a remote secondary DASD volume under concurrent updating
US5819109A (en) System for storing pending parity update log entries, calculating new parity, updating the parity block, and removing each entry from the log when update is complete
JP3938475B2 (en) Backup processing method, its execution system, and its processing program
US20020112133A1 (en) Method and apparatus for independent and simultaneous access to a common data set
US5210865A (en) Transferring data between storage media while maintaining host processor access for I/O operations
JPH04149752A (en) Control system for disk cache storage device
US20010004754A1 (en) Remote transfer method between file units
US7099875B2 (en) Method and apparatus for making independent data copies in a data processing system
JP4783076B2 (en) Disk array device and control method thereof
JP2000138692A (en) Mac address management system, mac address management method and storage medium
JP2006012004A (en) Hot standby system
JP2002132554A (en) Access method for database
JP3134864B2 (en) Recording medium recording recovery system and recovery program for system combination device
US6199105B1 (en) Recovery system for system coupling apparatuses, and recording medium recording recovery program
CN112965783A (en) System and method for using storage snapshot backup virtual machine
JP3253473B2 (en) Method and apparatus for resynchronization processing of duplicated shared memory
US20030033440A1 (en) Method of logging message activity
JPH1185594A (en) Information processing system for remote copy
JPS6167153A (en) Partial trouble recovery processing system of direct access storage device

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

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

Free format text: PAYMENT UNTIL: 20071201

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20081201

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20091201

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20091201

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20101201

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20111201

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20121201

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20121201

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20131201

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees