JPH10301795A - Virtual computer system - Google Patents

Virtual computer system

Info

Publication number
JPH10301795A
JPH10301795A JP11063997A JP11063997A JPH10301795A JP H10301795 A JPH10301795 A JP H10301795A JP 11063997 A JP11063997 A JP 11063997A JP 11063997 A JP11063997 A JP 11063997A JP H10301795 A JPH10301795 A JP H10301795A
Authority
JP
Japan
Prior art keywords
communication
control
sbch
instruction
information
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.)
Pending
Application number
JP11063997A
Other languages
Japanese (ja)
Inventor
Takeyoshi Shigeno
丈至 茂野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP11063997A priority Critical patent/JPH10301795A/en
Publication of JPH10301795A publication Critical patent/JPH10301795A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To secure the scalability of a system by performing communication between virtual computers (LPAR) inside the same information processor and performing the communication with a different information processor as well. SOLUTION: Respective operating systems(OSes) 11-13 and a coupling facility(CF) 10 can be independently operated on the respective LPARs by a hypervisor 14. The communication of the OSes 11-13 and the CF 10 is performed through a micro program(μP) 150 in a basic processing unit(BPU) 15. The OS 11 can communicate with the CF 2 of the different information processor through a Sender CH 161 and a Receiver CH 21 and the CF 10 can communicate with the OS 3 of the different processor through the Receiver CH 162 and the Sender CH 32. Inside the BPU 16, the inter-LPAR communication (communication of the OSes 11-13 and the CF 10) and the communication with the different information processor can be simultaneously and parallelly operated.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、仮想計算機システ
ムの情報処理装置に関し、特に同一情報処理装置の仮想
計算機上のOS間の通信に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus of a virtual computer system, and more particularly, to communication between OSs on a virtual computer of the same information processing apparatus.

【0002】[0002]

【従来の技術】同一情報処理装置内の仮想計算機(以下
LPARと呼ぶ)間の通信として、OS(IBM社のMV
S等)とCoupling facility(以下CF)間のハ゜ラレルシスフ゜レック
スに関する通信がある。
2. Description of the Related Art An OS (IBM MV) is used for communication between virtual machines (hereinafter referred to as LPARs) in the same information processing apparatus.
S) and a coupling facility (hereinafter referred to as a CF) regarding a parallel sysplex.

【0003】GA22-7123-11「Processor Resource/System
Manager Planning Guide(EnterpriseSystem 9000/309
0)」において、同一情報処理装置内のOSとCF間のハ゜ラ
レルシスフ゜レックスの説明が記述されており、そのためにIntegr
ated Coupling Migration Facility(以下ICMFと呼
ぶ)と呼ばれる機構を提供している。ハ゜ラレルシスフ゜レックスは複
数のOSがCFを介して接続され、各OSに分散された
トランサ゛クションを、単一のテ゛ータマネーシ゛メントシステムとして扱うこと
を目的としているが、ICMFでは同一情報処理装置内
のOSとCF間のハ゜ラレルシスフ゜レックスに限定しており、異な
る情報処理装置との間でハ゜ラレルシスフ゜レックスの環境を構築す
ることは出来ない。ICMFに関し、図1で説明する。
[0003] GA22-7123-11 "Processor Resource / System
Manager Planning Guide (EnterpriseSystem 9000/309
0) ”describes a description of a parallel sysplex between the OS and the CF in the same information processing apparatus.
It provides a mechanism called the ated Coupling Migration Facility (hereinafter referred to as ICMF). The Parallel Sysplex aims to treat transactions distributed among each OS as a single data management system in which a plurality of OSs are connected via a CF. However, ICMF uses an OS and a CF in the same information processing device as a single data management system. It is limited to the Parallel Sysplex, and it is not possible to construct a Parallel SysFlex environment between different information processing devices. ICMF will be described with reference to FIG.

【0004】情報処理装置1は、複数のOS11〜1
3、CF10や、制御フ゜ロク゛ラム(以下ハイハ゜ーハ゛イサ゛)14か
らの命令を処理する命令フ゜ロセッサ(以下IPと呼ぶ)がTC
MP(Tightly Coupled Multi-Processor)で構成される
BPU15と、各OS11〜13、CF10の通信動作
等を行う入出力処理装置(以下IOPと呼ぶ)16(I
OP16内にはチャネル装置が含まれる。)から構成さ
れる。また各OS11〜13、CF10はハイハ゜ーハ゛イサ゛1
4により、それぞれのLAPR上で独立して動作するこ
とが保証される。図1では、LAPR1/LAPR3/LPAR4上の
各OS11〜13と、LPAR2上のCF10間の通信は、
ICMFを用いて構成されており、該通信は全てハイハ゜ーハ
゛イサ゛14のエミュレートにより行われる。ICMFではハイハ゜ーハ
゛イサ゛14がOS−CF間の通信をエミュレートしているため、
IOP16内のチャネル装置(以下CHと呼ぶ)を使っ
て通信を行うことはない。またOS-CF間の通信の全
てが一旦ハイハ゜ーハ゛イサ゛14に渡る(シミュレーション)ことになるた
め、ハイハ゜ーハ゛イサ゛14のオーハ゛ヘット゛が生じることになる。
The information processing apparatus 1 includes a plurality of OSs 11 to 1
3. An instruction processor (hereinafter referred to as IP) for processing instructions from the CF 10 and a control program (hereinafter referred to as a high-power controller) 14 is a TC.
A BPU 15 composed of a Tightly Coupled Multi-Processor (MP) and an input / output processing device (hereinafter referred to as an IOP) 16 (IOP) 16 for performing a communication operation of each of the OSs 11 to 13 and the CF 10.
The OP16 includes a channel device. ). In addition, each OS 11 to 13 and CF 10 are high-powered
4 assures independent operation on each LAPR. In FIG. 1, communication between each OS 11 to 13 on LAPR1 / LAPR3 / LPAR4 and CF10 on LPAR2 is as follows.
It is configured using ICMF, and all of the communication is performed by emulation of the high-versus-pulse 14. In the ICMF, the high-validator 14 emulates the communication between the OS and the CF,
Communication is not performed using a channel device (hereinafter referred to as CH) in the IOP 16. In addition, since all the communication between the OS and the CF is once passed to the high-over-hauler 14 (simulation), an over-head of the high-over-hauler 14 occurs.

【0005】またICMFを用いると同一情報処理装置
1内の通信は可能であるが、別情報処理装置との通信は
出来ない。
When the ICMF is used, communication within the same information processing apparatus 1 is possible, but communication with another information processing apparatus is not possible.

【0006】ICMFを用いず、同一情報処理装置内の
通信を行う場合の例が図2である。図2では、IOP1
6内にSender CH163と、Receiver CH164を具備
し、かつSender CH163と、Receiver CH164はインタフ
ェースケーフ゛ル7で接続されている。Sender CH163は、O
S11〜13からアクセス可能であり、またReceiver CH1
64はCF11からのみアクセス可能である。故にLAPR1/L
APR3/LPAR4上の各OS11〜13と、LPAR2上のCF1
0間の通信はSender CH163と、Receiver CH164を
用いて行われる。図2の場合、ハイハ゜ーハ゛イサ゛14のエミュレート
は必要ではないため、ハイハ゜ーハ゛イサ゛14のオーハ゛ヘット゛が生じ
ることは無いが、Sender CH163と、Receiver CH16
4の処理が必要となる。しかし、同一情報処理装置のL
PAR間通信のデータのやりとりは該情報処理装置内の
メモリ内の移動である。故に同一情報処理装置のLPA
R間通信では本来CHを使う必要が無く、IPが行うべ
きであった。
FIG. 2 shows an example in which communication within the same information processing apparatus is performed without using ICMF. In FIG. 2, IOP1
6 includes a Sender CH 163 and a Receiver CH 164, and the Sender CH 163 and the Receiver CH 164 are connected by an interface cable 7. Sender CH163 is O
Accessible from S11 to S13, and also Receiver CH1
64 is accessible only from CF11. Therefore LAPR1 / L
OS11-13 on APR3 / LPAR4 and CF1 on LPAR2
Communication between 0 is performed using the Sender CH 163 and the Receiver CH 164. In the case of FIG. 2, since emulation of the high-power decoder 14 is not necessary, no overhead of the high-power transmitter 14 occurs, but the Sender CH 163 and the Receiver CH 16
4 is required. However, L of the same information processing device
The exchange of data in the PAR communication is movement in a memory in the information processing apparatus. Therefore, LPA of the same information processing device
In the inter-R communication, there is no need to use the CH, and the IP should perform the communication.

【0007】[0007]

【発明が解決しようとする課題】1台の高性能な情報処
理装置に多くのLPARを集約し、情報処理装置の台数を減
らす方がユーサ゛の経費は少なくて良いはずである。今後、
更に高速な情報処理装置が出現してくれば、この傾向は
更に強まってくる。高性能情報処理装置を提供すればす
るほど、1台の情報処理装置上でハ゜ラレルシスフ゜レックス環境を構
築することになり、同一情報処理装置内のLPAR間通
信のケースが多くなりる。但し、同一情報処理装置だけのハ
゜ラレルシスフ゜レックスでは、システムのスケーラビリテイの向上
は出来ない。
The cost of the user should be reduced by consolidating many LPARs into one high-performance information processing device and reducing the number of information processing devices. from now on,
This tendency will be further strengthened as faster information processing devices appear. The more high-performance information processing devices are provided, the more the parallel plex environment is constructed on one information processing device, and the more cases of LPAR communication within the same information processing device. However, the scalability of the system cannot be improved with a parallel sysplex using only the same information processing device.

【0008】本発明の目的は、同一報処理装置上のLA
PR間通信を高速に行い、かつ別情報処理装置との通信
も可能とすることにより、システムのスケーラヒ゛リティを確保す
る。
[0008] An object of the present invention is to provide an LA broadcast processing apparatus for transmitting broadcast data to an LA.
The scalability of the system is ensured by performing high-speed communication between PRs and enabling communication with another information processing device.

【0009】[0009]

【課題を解決するための手段】[Means for Solving the Problems]

1. OS間の通信に要する制御情報が格納され、主記
憶装置内のハードウェア用エリアに備えられる通信制御
ブロックに制御フラグを設け、該制御フラグのON/O
FFを命令プロセッサに通知する手段と、同一情報処理
装置内で通信を行う仮想計算機のそれぞれの通信制御ブ
ロックの対応付けの情報を命令プロセッサに送る手段
と、を制御プログラムに設け、また前記制御プログラム
による通知により、前記制御ブロック中の前記制御フラ
グのON/OFFを行う手段と、前記制御プログラムか
ら送られた情報を前記制御ブロック内に格納する手段
と、OS間の通信を行う時、命令プロセッサは前記通信
制御ブロック中の前記制御フラグがONならば、同一情
報処理装置内と判断し、前記仮想計算機間の通信制御ブ
ロックの対応付けにより通信先の仮想計算機を求め、該
仮想計算機上のOSが指定するエリアに対し、命令プロ
セッサが制御情報、データの転送を行い、該制御情報、
データの到達を該仮想計算機上のOSに通知する手段
と、前記制御フラグがOFFならば、異なる情報処理装
置間の通信と判断し、それぞれの情報処理装置のチャネ
ル装置を介して、通信先の情報処理装置上のOSが指定
するエリアに対し、制御情報、データの転送を行い、該
制御情報、データの到達を該情報処理装置上のOSに通
知させる手段と、を命令プロセッサに設けた。
1. Control information required for communication between OSs is stored. A control flag is provided in a communication control block provided in a hardware area in the main storage device.
Means for notifying the instruction processor of the FFs, and means for transmitting to the instruction processor information on the correspondence between the respective communication control blocks of the virtual machines communicating within the same information processing apparatus, the control program comprising: Means for turning on / off the control flag in the control block, means for storing information sent from the control program in the control block, and an instruction processor for performing communication between OSs. If the control flag in the communication control block is ON, it is determined that the virtual machine is in the same information processing apparatus, the virtual machine of the communication destination is obtained by associating the communication control block between the virtual machines, and the OS on the virtual machine is determined. The instruction processor transfers control information and data to the area specified by
Means for notifying the OS on the virtual machine of the arrival of the data; and, if the control flag is OFF, communication between different information processing apparatuses is determined, and the communication destination of the communication destination is determined via the channel device of each information processing apparatus. The instruction processor is provided with means for transferring control information and data to an area designated by the OS on the information processing device and for notifying the OS on the information processing device of the arrival of the control information and data.

【0010】2.OSや制御プログラムの命令と同期し
て、ハードウェア(命令プロセッサや、チャネル装置、
等)が処理を実行する同期形命令と、OSや制御プログ
ラムの命令と非同期にハードウェアが処理を実行する非
同期形命令とがあり、OSや制御プログラムによって、
同期形、非同期形のいずれかの指定が可能であり、該指
定によってハードウェアが同期形、非同期形のいずれか
で該命令の処理を実行する場合において、前記制御フラ
グがONの時、OS間の通信の起動を行う命令が同期形
ならば、請求項1の制御フラグがONの時の手段を実行
するが、非同期形ならば、請求項1の制御フラグがOF
Fの時の手段を実行する手段と、を命令プロセッサに設
けた。
[0010] 2. Hardware (instruction processor, channel device,
And the like, and there are asynchronous instructions in which hardware executes processing asynchronously with OS and control program instructions.
It is possible to specify either the synchronous type or the asynchronous type. When the hardware executes the instruction processing in either the synchronous type or the asynchronous type according to the specification, when the control flag is ON, the OS If the command for starting the communication is synchronous, the means when the control flag of claim 1 is ON is executed, but if the instruction is asynchronous, the control flag of claim 1 is OF
Means for executing the means at the time of F are provided in the instruction processor.

【0011】[0011]

【発明の実施の形態】図3〜11により本発明の実施例
を説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described with reference to FIGS.

【0012】図3は本発明の概要について示したもので
ある。情報処理装置1は、複数のOS11〜13、CF
10や、制御フ゜ロク゛ラム(以下ハイハ゜ーハ゛イサ゛)14からの命令
を処理するBPU15と、各OS11〜13、CF10
の通信動作等を行うIOP16から構成される。また各
OS11〜13、CF10はハイハ゜ーハ゛イサ゛14により、そ
れぞれのLAPR上で独立して動作出来る。OS11〜
13とCF10の通信はBPU15中のマイクロプログ
ラム(μP)150を介して行われる。BPU15は各
命令プロセッサ(以下IPと呼ぶ)がTCMP(Tightly C
oupled Multi-Processor)で構成され、各IPには制御
用のマイクロプログラム150が内蔵される。またOS
11は、SenderCH161と、Receiver
CH21を介して、別情報処理装置のCF2と通信可能
である。またCF10はReceiverCH162、
SenderCH32を介して、別情報処理装置のOS
3と通信可能である。そして、CF2,OS3はRec
eiverCH22、SenderCH31を介して、
通信可能である。BPU15内でLPAR間通信(OS
11〜13とCF10の通信)と、別情報処理装置と通
信(OS11とCF2の通信、もしくはCF10とOS
3の通信)とは、同時に並行して動作可能である。以
下、詳細に説明する。
FIG. 3 shows an outline of the present invention. The information processing apparatus 1 includes a plurality of OSs 11 to 13,
10, a BPU 15 for processing an instruction from a control program (hereinafter referred to as a high-power signal) 14, OS 11 to 13, and a CF 10
The IOP 16 is configured to perform a communication operation and the like. The OSs 11 to 13 and the CF 10 can operate independently on the respective LAPRs by the high-powered lasers 14. OS11-
The communication between the CF 13 and the CF 10 is performed via a microprogram (μP) 150 in the BPU 15. In the BPU 15, each instruction processor (hereinafter, referred to as IP) has a TCMP (Tightly C
Oupled Multi-Processor), and each IP has a built-in control microprogram 150. OS
11 is SenderCH161 and Receiver
It can communicate with CF2 of another information processing device via CH21. CF10 is ReceiverCH162,
OS of another information processing device via SenderCH32
3 is communicable. And CF2 and OS3 are Rec
via eeverCH22, SenderCH31,
Communication is possible. Communication between LPARs within the BPU 15 (OS
11-13 and communication with the CF 10) and communication with another information processing apparatus (communication between the OS 11 and the CF 2 or communication between the CF 10 and the OS 10).
3) can operate simultaneously and in parallel. The details will be described below.

【0013】図4は図3に対し、通信用制御ブロック
(サブチャネル、チャネル対応リスト等)の記述、各ユニ
ットの詳細な記述を行うとともに、LPARと、IP
と、サブチャネル(以下SBCHと呼ぶ)と、Sende
rCH/ReceiverCHの対応関係を示したもの
である。図4において、BPU15にはIPとして、I
PA151/IPB152/IPC153/IPD15
4を含み、それぞれのIPはTCMPで該BPU15を
構成する。また情報処理装置1には主記憶装置(以下M
Sと呼ぶ)17を含む。MS17はプログラムが使用す
る空間の他にハードウェア(IP,IOP等)のみがアク
セスするハードウェアシステムエリア(以下HSAと呼
ぶ)171がある。そして該HSA171内には、OS
11〜13,CF10が他OS,CFと通信する時に使
用するSBCH1721〜1726を格納するSBCH
格納エリア172と、チャネル対応リスト173と、サ
ブチャネルテーブル174とがある。またIOP16に
は図3で説明したSenderCH161、Recei
verCH162の他に、OS11〜13とCF10と
の通信を行うためのSenderCH163、Rece
iverCH164とを含む。またオペレータと各ハ―
ドウェアの各ユニット(ハイパーバイザ14、IPA1
51/IPB152/IPC153/IPD154、I
OP16)とのやりとりを行うためにService Processor
(以下SVPと呼ぶ)18を情報処理装置1内に設けてい
る。なおIPだけではなく、IOP16(CHも含
む)、SVP18内に当該ユニットの制御のためにマイ
クロプログラムが内蔵されている。
FIG. 4 is a communication control block in FIG.
(Sub-channel, channel correspondence list, etc.), detailed description of each unit, LPAR, IP
, A sub-channel (hereinafter called SBCH), and a Sende
It shows the correspondence between rCH / ReceiverCH. In FIG. 4, the BPU 15 has I
PA151 / IPB152 / IPC153 / IPD15
4 and each IP constitutes the BPU 15 by TCMP. The information processing device 1 has a main storage device (hereinafter referred to as M
S 17). The MS 17 has a hardware system area (hereinafter, referred to as HSA) 171 that is accessed only by hardware (IP, IOP, etc.) in addition to the space used by the program. The HSA 171 contains an OS
SBCH storing SBCHs 1721 to 1726 used when the CF 10 communicates with other OSs and CFs.
There are a storage area 172, a channel correspondence list 173, and a sub-channel table 174. Also, the IOP 16 includes the SenderCH 161 described in FIG.
In addition to the verCH 162, the SenderCH 163 for performing communication between the OSs 11 to 13 and the CF 10 and the Receiver
erCH164. Operators and each harness
Hardware units (Hypervisor 14, IPA1
51 / IPB152 / IPC153 / IPD154, I
OP16) To exchange with Service Processor
(Hereinafter referred to as SVP) 18 is provided in the information processing apparatus 1. In addition to the IP, a microprogram is built in the IOP 16 (including the CH) and the SVP 18 for controlling the unit.

【0014】LPAR1のOS11にはIPとして、I
PA151が割り当てられ、またCF2との通信用のS
BCH#1 1721と、CF10との通信用のSBCH
#21722とが割り当てられる。LPAR3のOS1
2にはIPとして、IPC153が割り当てられ、また
CF10との通信用のSBCH#5 1725とが割り当
てられる。LPAR4のOS13にはIPとして、IP
D154が割り当てられ、またCF10との通信用のS
BCH#6 1726とが割り当てられる。そして、L
PAR2のCF10にはIPとして、IPB152が割
り当てられ、またOS11〜13との通信用のSBCH
#3 1723と、OS3との通信用のSBCH#4 1
724とが割り当てられる。また各SBCHはSend
erCH161/163、ReceiverCH162
/163と対応する。この対応はHSA171内にある
(図9で示す)サブチャネルテーブル174に格納され
る。図9において、各チャネル装置(以下CHと呼ぶ)用
に4ハ゛イト幅の256エントリが保持され、各エントリに
は当該CHに対応するSBCH番号が格納される。また
当該エントリが有効かどうかは、当該エントリ中のフラ
グ内のVヒ゛ットにより判定される。(V=1なら当該エント
リは有効であり、V=0なら当該エントリは無効であ
る。)当該CHのエリアを求めるためにHSA171の
先頭からの相対アドレスを示すサブチャネルテーブルポ
インタにCH番号×256×4を加えることにより求め
られる。故にSenderCH163用のサブチャネル
テーブル174のエリアにはSBCH#2 1722/
SBCH#5 1725/SBCH#61726の3つ
のエントリが含まれ、当該エントリのフラグのVのみが
1であり、それ以外のSenderCH163に関する
エントリのフラグのVは0である。同じようにSend
erCH161用のサブチャネルテーブル174のエリ
アにはSBCH#1 1721が格納され、Recei
verCH162用のサブチャネルテーブル174のエ
リアにはSBCH#4 1724が格納され、Rece
iverCH164用のサブチャネルテーブル174の
エリアにはSBCH#3 1723が格納される。この
関係は同一情報処理装置内でLPAR間通信を行う時
も、行わない時も成立する関係であり、本情報はシステ
ムの構成定義を行う時に決定する。
The OS 11 of the LPAR 1 has an IP
PA 151 is assigned and S for communication with CF 2
SBCH for communication between BCH # 1 1721 and CF10
# 21722 is assigned. OS1 of LPAR3
2 is assigned IPC 153 as IP and SBCH # 5 1725 for communication with CF 10. In the OS 13 of the LPAR4, the IP
D154 is assigned and S for communication with CF10.
BCH # 6 1726 is allocated. And L
An IPB 152 is assigned to the CF 10 of the PAR 2 as an IP, and an SBCH for communication with the OSs 11 to 13 is provided.
# 3 1723 and SBCH # 41 for communication with OS3
724 are assigned. Each SBCH is Send
erCH161 / 16, ReceiverCH162
/ 163. This correspondence is in HSA171
Stored in sub-channel table 174 (shown in FIG. 9). In FIG. 9, 256 entries having a 4-byte width are held for each channel device (hereinafter, referred to as CH), and the SBCH number corresponding to the CH is stored in each entry. Whether the entry is valid is determined by the V-bit in the flag in the entry. (If V = 1, the entry is valid; if V = 0, the entry is invalid.) In order to obtain the area of the CH, the sub-channel table pointer indicating the relative address from the head of the HSA 171 has a CH number × 256. × 4 is determined. Therefore, the area of the sub-channel table 174 for the SenderCH 163 has the SBCH # 2 1722 /
Three entries of SBCH # 5 1725 / SBCH # 61726 are included, and only the V of the flag of the entry is 1, and the V of the flags of the other entries related to SenderCH163 is 0. Send in the same way
SBCH # 1 1721 is stored in the area of the sub-channel table 174 for the erCH 161.
SBCH # 4 1724 is stored in the area of the subchannel table 174 for the verCH 162,
SBCH # 3 1723 is stored in the area of the subchannel table 174 for the averCH 164. This relationship holds both when LPAR communication is performed and when LPAR communication is not performed within the same information processing apparatus, and this information is determined when the configuration of the system is defined.

【0015】LPAR間通信を行うにあたって、通信を
行いあうLPARの定義を行う必要がある。通信を行い
あうLPARの指定はオペレータからSVP18を介し
てハイパーバイザ14に指示される。SVP18とハイ
パーバイザ14とのインタフェースは既存の手段を用い
ることになるが、そのために新たな設定画面が必要とな
る。しかし、本件は本発明の対象外であるため、詳細な
記述は省略する。
When performing inter-LPAR communication, it is necessary to define LPARs that communicate with each other. The designation of the LPAR for communication is instructed from the operator to the hypervisor 14 via the SVP 18. An existing means is used for the interface between the SVP 18 and the hypervisor 14, but a new setting screen is required for that. However, since this case is out of the scope of the present invention, a detailed description is omitted.

【0016】オペレータはLPAR間通信を行うCHの
ペアをSVP18を介して指定する。図4の例では、該
ペアとしてSenderCH163とReceiver
CH164を指定する。SVP18を介してハイパーバ
イザ14にLPAR間通信を行うペア(SenderC
H163とReceiverCH164)が指定される
と、ハイパーバイザ14はそれを任意の一つのIP15
1〜154に伝達する。通常ハイパーバイザ14から、
IP151〜154に対しての命令は、OSが使用する
命令の他にハイパーバイザ用専用命令(以下HVA命令
と呼ぶ)を用いる。そのためのHVA命令はOSが使用
しない命令コードを用いる。LPAR間通信の定義を行
う場合には、該HVA命令を新規に追加することにな
る。追加されるHVA命令にて、ハイパーバイザ14は
LPAR間通信を行うペアを任意の一つのIP151〜
154に指示する。追加される該HVA命令は、CH単
位に発行するものであり、該命令のオペランドに3つの
オペランドが付加される。
The operator specifies, via the SVP 18, a pair of channels for performing LPAR communication. In the example of FIG. 4, SenderCH 163 and Receiver
Specify CH164. A pair for performing inter-LPAR communication with the hypervisor 14 via the SVP 18 (SenderC
H163 and ReceiverCH164), the hypervisor 14 assigns it to any one IP15.
1 to 154. Normally from the hypervisor 14,
Instructions for the IPs 151 to 154 use hypervisor-specific instructions (hereinafter referred to as HVA instructions) in addition to the instructions used by the OS. The HVA instruction for that uses an instruction code not used by the OS. When defining the communication between LPARs, the HVA command is newly added. With the added HVA instruction, the hypervisor 14 sets a pair for performing LPAR-to-LPAR communication to any one of the IPs 151 to 151.
Instruct 154. The added HVA instruction is issued for each CH, and three operands are added to the operand of the instruction.

【0017】以下にそれぞれのオペランドの説明を行
う。
The respective operands will be described below.

【0018】オペランド1;当該HVA命令を適用する
CHのCH番号である。
Operand 1 is a CH number of a CH to which the HVA instruction is applied.

【0019】オペランド2;オペランド1で指定された
CHとペアとなるCHのCH番号である。このオペラン
ドはオペランド3で示される制御フラグが0ならば、意
味を持たない。
Operand 2: The CH number of the CH paired with the CH specified by operand 1. This operand has no meaning if the control flag indicated by operand 3 is 0.

【0020】オペランド3;オペランド1指定されたC
HがLPAR間通信を行うかどうかを表す制御フラグと
なる。この制御フラグが1ならば、LPAR間通信を行
い、0ならばLPAR間通信を行わないということを表
す。
Operand 3: Operand 1 specified C
H is a control flag indicating whether or not to perform inter-LPAR communication. If this control flag is 1, it indicates that communication between LPARs is performed, and if it is 0, it indicates that communication between LPARs is not performed.

【0021】ハイパーバイザ14から、追加された該H
VA命令により、指示を受けたIPは該HVA命令のオ
ペランドの情報をHSA171中のチャネル対応リスト
173に登録する。チャネル対応リスト173のフォー
マットを図8に記述する。図8において、各CH用に8
ハ゛イト幅のエントリが用意され、各エントリの対応CH#
エリアには、当該CHとペアとなるCHのCH番号が格
納される。また当該エントリのフラグには、該エントリ
の有効/無効を示すVビットと、該エントリに対応する
CHがLPAR間通信を行うかどうかを示すCビットが
ある。ハイパーバイザ14から、LPAR間通信を行う
ために追加されたHVA命令をIPが受けると、該命令
のオペランド1で指定されたCHに対応するチャネル対
応リスト173のエントリを更新することになる。なお
チャネル対応リスト173の当該CHのエントリを求め
るためにHSA171の先頭からの相対アドレスを示す
チャネル対応リストポインタにCH番号×8を加えるこ
とにより求められる。図4の例では、SenderCH
163とReceiverCH164がペアとなる。ま
ず、ハイパーバイサ14は、該HVA命令のオペランド
1をSenderCH163のCH番号とし、オペラン
ド2をReceiverCH164のCH番号とし、そ
して、オペランド3の制御フラグは1として、IPに発
行する。故に該IPはSenderCH163に対応す
るチャネル対応リスト173のエントリのフラグのVを
1にし、かつ,オペランド3の制御フラグの値をCビッ
トに反映し(本例では1)、かつ該エントリの対応CH#
エリアにオペランド2で指定されたReceiverC
H164に対応する番号が格納される。
From the hypervisor 14, the added H
In response to the VA instruction, the IP that has received the instruction registers the operand information of the HVA instruction in the channel correspondence list 173 in the HSA 171. The format of the channel correspondence list 173 is described in FIG. In FIG. 8, 8
An entry having a byte width is prepared, and the corresponding CH # of each entry is provided.
The area stores the CH number of the CH that is paired with the CH. The flag of the entry includes a V bit indicating validity / invalidity of the entry and a C bit indicating whether the CH corresponding to the entry performs inter-LPAR communication. When the IP receives an HVA instruction added for performing inter-LPAR communication from the hypervisor 14, the entry of the channel correspondence list 173 corresponding to the CH specified by operand 1 of the instruction is updated. In addition, in order to obtain the entry of the CH in the channel association list 173, the channel number is obtained by adding the CH number × 8 to the channel association list pointer indicating the relative address from the head of the HSA 171. In the example of FIG.
163 and ReceiverCH 164 form a pair. First, the hypervisor 14 issues the operand 1 of the HVA instruction to the IP with the CH number of the SenderCH 163, the operand 2 with the CH number of the ReceiverCH 164, and the control flag of the operand 3 as 1. Therefore, the IP sets the V of the flag of the entry of the channel correspondence list 173 corresponding to the SenderCH 163 to 1, reflects the value of the control flag of the operand 3 on the C bit (1 in this example), and #
ReceiverC specified by operand 2 in the area
The number corresponding to H164 is stored.

【0022】同様にハイパーバイザ14は、該HVA命
令のオペランド1をReceiverCH164のCH
番号とし、オペランド2をSenderCH163のC
H番号とし、そして、オペランド3の制御フラグは1と
して、IPに発行する。故に該IPはReceiver
CH164に対応するチャネル対応リスト173のエン
トリのフラグのVを1にし、オペランド3の制御フラグ
の値をCビットに反映し(本例では1)、かつ該エントリ
の対応CH#エリアにSenderCH163に対応す
る番号を格納する。以上により、LAPR間通信を行う
通信制御ブロックの対応付けが完了する。
Similarly, the hypervisor 14 converts the operand 1 of the HVA instruction into the CH of the receiver CH 164.
Number and operand 2 is the C of SenderCH163.
An H number is issued, and the control flag of operand 3 is set to 1 and issued to the IP. Therefore, the IP is Receiver
The V of the flag of the entry of the channel correspondence list 173 corresponding to the CH 164 is set to 1, the value of the control flag of the operand 3 is reflected in the C bit (1 in this example), and the corresponding CH # area of the entry corresponds to the Sender CH 163. Store the number to be used. As described above, the association of the communication control blocks for performing the inter-LAPR communication is completed.

【0023】なお、追加した該HVA命令ではチャネル
対応リスト173の当該エントリのCビットをオペラン
ド3の制御フラグにより、0にしたり、1にすることを
動的に行うことも可能である。
In the added HVA instruction, the C bit of the entry in the channel correspondence list 173 can be dynamically set to 0 or 1 by the control flag of the operand 3.

【0024】SBCHのフォーマットを図5に示す。以
下でSBCHの各エリアの説明を行う。
FIG. 5 shows the format of the SBCH. Hereinafter, each area of the SBCH will be described.

【0025】LOCK 該SBCHを更新する場合に必ず0以外の値がセットさ
れる。該エリアが0以外なら各IP151〜154や、
IOP16(IOP配下のSenderCH、Rece
iverCHも同様)は、当該SBCHを更新出来な
い。LOCKエリアに格納されるコードは、各ユニット
(IP、IOP、CH、等)毎にユニークに決定される。
LOCK When the SBCH is updated, a value other than 0 is always set. If the area is other than 0, each IP 151-154,
IOP16 (SenderCH, Receive under IOP)
The same applies to “overCH”), the SBCH cannot be updated. The code stored in the LOCK area is
(IP, IOP, CH, etc.) are uniquely determined.

【0026】情報格納アドレスエリア OSとCFが通信動作を行う場合に該通信に伴う要求情
報、データ(送信するデータ、及び受信するデータ)、応
答情報を格納するアドレスが格納される。なお情報格納
アドレスから、要求情報、応答情報、データ(送信する
データ、及び受信するデータ)の順で格納されることに
なり、要求情報、応答情報は固定長とする。故に情報格
納アドレスを知ることにより、要求情報、データ(送信
するデータ、及び受信するデータ)、応答情報の各アド
レスを求める事が出来る。また情報格納アドレスエリア
には常に有効な値が格納されていなければならない。こ
の値は各OS、各CFの初期プログラムロード時に設定
しておかなければならない。
Information storage address area When the OS and the CF perform a communication operation, an address for storing request information, data (data to be transmitted and data to be received), and response information accompanying the communication is stored. From the information storage address, request information, response information, and data (data to be transmitted and data to be received) are stored in this order, and the request information and the response information have a fixed length. Therefore, by knowing the information storage address, each address of request information, data (data to be transmitted and data to be received), and response information can be obtained. A valid value must always be stored in the information storage address area. This value must be set at the time of initial program loading of each OS and each CF.

【0027】SBCH状態フラグ(以下SCSWと呼
ぶ) 該フラグの詳細を図6に示す。該フラグにはPビットと
Xビットがある。Pビットは通信機能ペンディングを表
すフラグであり、本ビットが1であるとき、OSや、C
Fからの通信起動/応答起動時に1にし、該起動動作が
終了した時に0にする。またXビットは状態ペンデイン
グを表すビットであり、該SBCHに関し、該SBCH
に割り当てられるOSや、CFに要求があった時、及び
通信動作に異常があった時に1になり、その状態を検知
したOS、CFにより0にされる。
SBCH status flag (hereinafter referred to as SCSW) Details of the flag are shown in FIG. The flag has a P bit and an X bit. The P bit is a flag indicating communication function pending, and when this bit is 1, the OS or C
It is set to 1 when the communication start / response is started from F, and set to 0 when the start operation is completed. The X bit is a bit indicating a status pending.
It is set to 1 when there is a request to the OS or CF assigned to the OS or when there is an abnormality in the communication operation, and is set to 0 by the OS or CF that has detected the state.

【0028】制御フラグ 制御フラグにはIビットと、Rビットがある。Iビット
は該SBCHを指定してOSや、CFが通信起動・応答
起動を行った時、本ビットが1であるならば、ハイパー
バイザ14を介さず、直接IPが処理し(これは直接実
行と呼ばれる。)、該Iビットが0ならば、ハイパーバ
イザ14に処理が渡り、ハイパーバイザ14が該命令の
シミュレーション動作を行う。該Iビットはハイパーバ
イザ14により1、もしくは0にセットされる。 また
Rビットは該SBCHがSenderCHに割り当てら
れているSBCHなのか、ReceiverCHに割り
当てられているSBCHなのかを表す。即ち、該SBC
HがR=1ならReceiverCH用SBCHであ
り、R=0ならSenderCH用SBCHである。
Control Flag The control flag has an I bit and an R bit. The I bit designates the SBCH, and when the OS or CF activates communication / response activation, if this bit is 1, the IP directly processes without passing through the hypervisor 14 (this is executed directly). If the I bit is 0, the processing is passed to the hypervisor 14, and the hypervisor 14 performs a simulation operation of the instruction. The I bit is set to 1 or 0 by the hypervisor 14. The R bit indicates whether the SBCH is an SBCH assigned to a SenderCH or an SBCH assigned to a ReceiverCH. That is, the SBC
If H = 1, it is the SBCH for ReceiverCH, and if R = 0, it is the SBCH for SenderCH.

【0029】LPAR番号 該SBCHが割り当てられているLPAR番号が格納さ
れる。
LPAR Number The LPAR number to which the SBCH is allocated is stored.

【0030】 SBCH番号 SBCHをユニークに分類する該SBCHの番号が格納
される。
SBCH Number Stores the number of the SBCH that uniquely classifies the SBCH.

【0031】 接続CH番号群 該SBCHと対応するCHの番号を格納する。最大8個
まで格納可能である。
Connection CH number group Stores the number of the CH corresponding to the SBCH. Up to eight can be stored.

【0032】 対応SBCH番号 LPAR間通信を行う場合、該SBCHと対応するSB
CHの番号が格納される。図4において、SBCH#2
1722/SBCH#5 1725/SBCH#6 1
726と、SBCH#3 1723は対応関係になる。
故にSBCH#31723の対応SBCH番号エリアに
は、SBCH#2 1722/SBCH#5 1725/
SBCH#6 1726のいずれかのSBCH番号が格
納される可能性がある。
Corresponding SBCH Number When performing LPAR-to-LPAR communication, the SBCH corresponding to the SBCH
The number of the CH is stored. In FIG. 4, SBCH # 2
1722 / SBCH # 5 1725 / SBCH # 6 1
726 and SBCH # 3 1723 are in a correspondence relationship.
Therefore, in the corresponding SBCH number area of SBCH # 31723, SBCH # 2 1722 / SBCH # 5 1725 /
One of the SBCH numbers of SBCH # 61726 may be stored.

【0033】LPAR1のOS11から、LPAR2の
CF10に通信を行う場合を図4と図10と図11を用
いて以下のステップ1〜5により説明する。図10はC
Hを用いた場合の例であり、図11はIPを用いた場合
の例である。なお図10は、同一情報処理装置内のLP
AR間通信をCHで行った場合について記述している
が、異なる情報処理装置間の通信の場合も図14で示す
動作となる。
The case where communication is performed from the OS 11 of the LPAR 1 to the CF 10 of the LPAR 2 will be described with reference to FIGS. 4, 10 and 11 in the following steps 1 to 5. FIG. 10 shows C
FIG. 11 shows an example in which H is used, and FIG. 11 shows an example in which IP is used. FIG. 10 shows LPs in the same information processing apparatus.
Although the case where inter-AR communication is performed on the CH is described, the operation shown in FIG. 14 is also performed for communication between different information processing devices.

【0034】ステップ1:OS11からIPA151へ
の起動まで 本ステップは図10、図11とも共通である。
Step 1: From OS 11 to IPA 151 startup This step is common to FIGS. 10 and 11.

【0035】LPAR1のOS11は、CF11に通信
起動を行う時、SBCH#2 1722を指定して発行
する。(発行前にSBCH#2 1722の情報格納ア
ドレスで示されるエリアに要求情報、データ(OS11
からCF10にデータを男K屡場合)を格納してお
く。) 本例ではSBCH#2 1722内の制御フラグのIビ
ットが1であるとし、故に該通信起動はハイパーバイザ
14を介さず、IPによる直接実行となる。LPAR1
のOS11に割り当てられているIPA151はSBC
H#2 1722のSCSWのPビットを1に更新す
る。その後、SBCH#2 1722中の接続CH番号
群エリアから、当該SBCHに接続されるCHを求め
る。それにより、IPA151はSBCH#2に接続さ
れているCHとして、SenderCH163を求め
る。そして、チャネル対応リスト173により、Sen
derCH163に関するエントリを求める。求めた該
エントリのフラグのCビットを判定するところまでは図
10(CHを用いた通信)、図11(IPによる通信)とも
同じである。
The OS 11 of the LPAR 1 issues SBCH # 2 1722 when issuing a communication start to the CF 11. (Before the issuance, the request information and the data (OS 11) are stored in the area indicated by the information storage address of SBCH # 2 1722.
) Is stored in the CF 10 from the user. In this example, it is assumed that the I bit of the control flag in the SBCH # 2 1722 is 1, and therefore, the communication activation is directly performed by the IP without passing through the hypervisor 14. LPAR1
IPA 151 assigned to OS 11 is SBC
The P bit of the SCSW of H # 2 1722 is updated to 1. Thereafter, from the connection CH number group area in the SBCH # 2 1722, a CH connected to the SBCH is obtained. Thereby, IPA 151 obtains SenderCH 163 as the CH connected to SBCH # 2. Then, according to the channel correspondence list 173, Sen
An entry for derCH 163 is determined. The same applies to FIG. 10 (communication using CH) and FIG. 11 (communication using IP) up to the point where the C bit of the flag of the obtained entry is determined.

【0036】ステップ2:ステップ1からSBCH#3
のSCSWのXが1になるまで (図10のケース)もし、Cビットが0であったら、C
Hによる通信(図10)である。
Step 2: Step 1 to SBCH # 3
Until X of SCSW becomes 1 (case of FIG. 10) If the C bit is 0, C
H (FIG. 10).

【0037】Cビットが0であると判断したIPA15
1は、SBCH#2 1722に接続されているSen
derCH163にSBCH#2 1722のSBCH
番号を含めて起動通知を行う。そして、その後、IPA
151はSBCH#2 1722のSCSWがP=0、
もしくはX=1になるまで待つ。起動通知を受けたSe
nderCH163は、該通知と共に教えられたSBC
H番号(SBCH#2 1722)により、該SBCH内
の情報格納アドレスを読み出す。そして要求情報、デー
タ(要求情報の中のパラメータにより、OS11からC
F10にデータを送ると判断した場合は既に当該データ
エリアに格納されている。)を読み出し、それをSen
derCH163とインタフェースケーブル7で接続さ
れているReceiverCH164へ送る。そしてS
enderCH163はReceiverCH164か
らの応答を待つ。SenderCH163から送られて
きた要求情報、データを受け取ったReceiverC
H164は、ReceiverCH164に割り当てら
れているSBCH(本例ではSBCH#3 1723)の
情報格納アドレスで示されるエリアに送られてきた要求
情報、データを格納する。その後、ReceiverC
H164はSBCH#3 1723のSCSWのXビッ
トを1にする。そして、CF10からの応答起動を待
つ。
IPA 15 which has determined that the C bit is 0
1 is Sen connected to SBCH # 2 1722
SBCH of SBCH # 2 1722 on derCH 163
Start notification including the number. And then, IPA
151 indicates that the SCSW of SBCH # 2 1722 has P = 0,
Or wait until X = 1. Se that received the start notification
nderCH 163 is the SBC taught with the notification.
The information storage address in the SBCH is read by the H number (SBCH # 2 1722). Then, the request information and data (from the OS 11 to C
If it is determined that data is to be sent to F10, the data is already stored in the data area. ) And send it to Sen
The data is sent to ReceiverCH 164 connected to derCH 163 via interface cable 7. And S
The ender 163 waits for a response from the receiver CH 164. RequestC sent from SenderCH163, ReceiverC that received the data
H164 stores request information and data sent to the area indicated by the information storage address of the SBCH (SBCH # 3 1723 in this example) allocated to ReceiverCH 164. After that, ReceiverC
H164 sets the X bit of SCSW of SBCH # 3 1723 to 1. Then, it waits for a response activation from the CF 10.

【0038】なおSenderCH163、Recei
verCH164等のCHはそれぞれ初期マイクロプロ
グラムロード時に該CHに割り当てられているSBCH
番号を当該情報処理装置内のサブチャネルテーブルから
求めるておく。
In addition, SenderCH163, Recei
Each of the CHs such as verCH164 is the SBCH assigned to the CH when the initial microprogram is loaded.
The number is obtained from a sub-channel table in the information processing apparatus.

【0039】(図11のケース)もし、Cビットが1で
あったら、IPによる通信(図11)を行う。
(Case in FIG. 11) If the C bit is 1, communication by IP (FIG. 11) is performed.

【0040】Cビットが1であると判断したIPA15
1は当該チャネル対応リスト173から得られたSen
derCH163に関するエントリ中に格納されている
対応CH#により、接続先がReceiverCH16
4である事を知る。そしてサブチャネルテーブル174
から、ReceiverCH164に接続されるSBC
Hを求める。
IPA 15 that has determined that the C bit is 1
1 is Sen obtained from the channel correspondence list 173.
According to the corresponding CH # stored in the entry for derCH163, the connection destination is ReceiverCH16.
We know that it is 4. And the sub-channel table 174
From the SBC connected to ReceiverCH 164
Find H.

【0041】それにより、SBCH#3が求まる。この
時SBCH#3 1723のSCSWをチェックする。
(SBCH#3 1723はSBCH#2 1722の他
にSBCH#5 1725/SBCH#6 1726とも
対応可能であるため、SBCH#3 1723のSCS
WをIPはチェックする必要がある。)もし、該SBC
HがIDLEでなかったら(all'0'でない)、該Re
ceiverCH164に接続されるSBCHが他にな
いかどうかをサブチャネルテーブル174より求め、あ
れば求めたSBCHのSCSWをチェックする。Rec
eiverCH164に接続される全てのSBCHがI
DLEでなければ、SBCH#2 1722内の接続C
H番号に他の有効なCHが無いかチェックする。本例で
は1つのCHしかないが、もしあればそのCHに関しチ
ャネル対応リスト173より、接続先のCHを求め、ま
た求めたCHより、そのCH配下のSBCHをサブチャ
ネルテーブル174より求める。このような動作を行っ
た結果、SBCH#2 1722に対応する全てのSB
CHのSCSWがIDLEでないならば、SBCH#2
1722のSCSWのPを1のままでXを1にし、該
通信起動を終了させる。SBCH#2 1722に対応
するSBCH(本例ではSBCH#3 1723)がID
LEであれば以下のことを行う。IPA151はSBC
H#2内の情報格納アドレスを読み出す。そして要求情
報、データ(要求情報の中のパラメータにより、OS1
1からCF10にデータを送ると判断した場合は既に当
該データエリアに格納されている。)を読み出し、SB
CH#3 1723の情報格納アドレスで示されるエリ
アに要求情報、データを格納する。その後、IPA15
1はSBCH#3 1723の対応SBCH番号エリア
にSBCH#2 1722のSBCH番号を格納し、S
BCH#3 1723のSCSWのXビットを1にす
る。その後IPA151はSBCH#2 1722のS
CSWがP=0、もしくはX=1になるまで待つ。
As a result, SBCH # 3 is obtained. At this time, the SCSW of SBCH # 3 1723 is checked.
(Because the SBCH # 3 1723 can correspond to the SBCH # 5 1725 / SBCH # 6 1726 in addition to the SBCH # 2 1722, the SCS of the SBCH # 3 1723 is
The IP needs to check W. ) If the SBC
If H is not IDLE (not all '0'), the Re
It is determined from the sub-channel table 174 whether there is any other SBCH connected to the receiverCH 164, and if so, the SCSW of the determined SBCH is checked. Rec
All the SBCHs connected to the overheadCH 164 are I
If not DLE, connection C in SBCH # 2 1722
Check if there is another valid CH in the H number. In this example, there is only one CH, but if there is, for that CH, the CH of the connection destination is obtained from the channel correspondence list 173, and the SBCH under the CH is obtained from the sub-channel table 174 from the obtained CH. As a result of performing such an operation, all SBs corresponding to SBCH # 2 1722
If the SCSW of the CH is not IDLE, SBCH # 2
At 1722, X is set to 1 while P of the SCSW remains 1, and the communication activation is terminated. The SBCH (SBCH # 3 1723 in this example) corresponding to SBCH # 2 1722 has the ID
If it is LE, the following is performed. IPA151 is SBC
Read the information storage address in H # 2. Then, the request information and data (the OS 1
If it is determined that the data is to be transmitted from 1 to the CF 10, the data is already stored in the data area. ) And SB
The request information and data are stored in the area indicated by the information storage address of CH # 3 1723. After that, IPA15
1 stores the SBCH number of SBCH # 2 1722 in the corresponding SBCH number area of SBCH # 3 1723,
The X bit of the SCSW of BCH # 3 1723 is set to 1. After that, the IPA 151 sets the SBCH # 2 1722 S
Wait until CSW becomes P = 0 or X = 1.

【0042】ステップ3:ステップ2から応答起動がI
PB152が応答起動を受けるまで本ステップは図1
0、図11とも共通である。
Step 3: The response activation from step 2 is I
This step is performed until the PB 152 receives the response activation.
0 and FIG.

【0043】CF10は配下のReseiverCH
(本例ではReseiverCH162、164)に接続
される全SBCHのSCSW(本例ではSBCH#3 1
723/SBCH#4 1724)のXビットをサーチし
ている。ステップ2により、SBCH#3 1723の
Xビットが1となったため、該SBCHに関して処理す
る要因が発生したことを知る。その後、CF10は、S
BCH#3 1723のXビットを0にし、SBCH#
3 1723の情報格納アドレスにステップ2で格納さ
れた要求情報、データ(要求情報からデータを受信した
と判定した場合)を処理し、CF10はSBCH#3 1
723の情報格納アドレスから応答情報の格納アドレス
を求め、そこに応答情報を書き込む。(要求情報からデ
ータをCF10からOS11に送る場合、該データも格
納する)その後、CF10に割り当てられているIPB
152に対し、SBCH#3 1723を示して応答起
動を発行する。本例ではSBCH#3 1723内の制
御フラグのIビットが1であるとし、故に該応答起動
は、ハイパーバイザ14を介さず、IPによる直接実行
となる。応答起動を発行されたIPB152はSBCH
#3 1723のSCSWのPを1にする。そして、S
BCH#3 1723内の接続CH番号よりResei
verCH164を求め、チャネル対応リスト173よ
り、ReseiverCH164に関するエントリを求
める。該エントリにおいて、フラグのCが0ならば、C
Hによる通信(図10)であり、Cビットが1であった
ら、IPによる通信(図11)となる。
CF10 is a subordinate ReceiverCH.
(In this example, the SCSWs of all SBCHs connected to the ReceiverCHs 162 and 164 (in this example, SBCH # 3 1
723 / SBCH # 4 1724). In step 2, since the X bit of SBCH # 3 1723 has become 1, it is known that a factor for processing the SBCH has occurred. Thereafter, CF10 sets S
The X bit of BCH # 3 1723 is set to 0, and SBCH # 3
The request information and data (when it is determined that data has been received from the request information) stored in step 2 at the information storage address of No. 3 1723 are processed, and the CF 10 processes the SBCH # 31.
The storage address of the response information is obtained from the information storage address of 723, and the response information is written there. (When data is sent from the request information from the CF 10 to the OS 11, the data is also stored.) Then, the IPB assigned to the CF 10
152, a response start is issued by indicating SBCH # 3 1723. In this example, it is assumed that the I bit of the control flag in the SBCH # 3 1723 is 1, and therefore, the response activation is performed directly by the IP without passing through the hypervisor 14. The IPB 152 that has issued the response activation is the SBCH
# 3 The P of the SCSW of 1723 is set to 1. And S
Resei from the connection CH number in BCH # 3 1723
Then, an entry related to the ReceiverCH 164 is obtained from the channel correspondence list 173. In this entry, if the flag C is 0, C
Communication by H (FIG. 10), and if the C bit is 1, communication by IP (FIG. 11).

【0044】ステップ4:ステップ3からSBCH#2
のSCSWのP=0になるまで(図10のケース) IPB152はチャネル対応リスト173より、Res
eiverCH164に関するエントリを求める。該エ
ントリにおいて、フラグのCが0ならば、IPB152
はSBCH#3 1723に接続されるReseive
rCH164に、SBCH#3 1723のSBCH番
号を含めて起動通知を行い、ReseiverCH16
4から該起動の終了を待つ。IPB152から起動通知
を受けたReseiverCH164は、SBCH#3
1723の情報格納アドレスを読み出し、該アドレス
に格納されている応答情報、データ(CF10からOS
11に送るデータがある場合。有り無しは応答情報内に
示される。)を読み出し、ReseiverCH164
にインタフェースケーブル7で接続されているSenn
derCH163に送る。そしてIPB152に終了報
告を行う。ReseiverCH164からの終了報告
を待っていたIPB152は、SBCH#31723の
SCSWのPを0に更新し、その後CF10からの応答
起動に対して条件コード(CC)を返す。そして、Res
eiverCH164から応答情報、データを受信した
SennderCH163はSBCH#2 1722中
の情報格納アドレスにReseiverCH164から
送られてきた応答情報、データを書き込む。その後、S
ennderCH163はSBCH#2 1722のS
CSWのPを0にする。
Step 4: SBCH # 2 from step 3
Until the SCSW P = 0 becomes the case (the case of FIG. 10).
Ask for an entry for the everCH164. In this entry, if the flag C is 0, the IPB 152
Is connected to SBCH # 3 1723
A start notification is performed to the rCH 164 including the SBCH number of the SBCH # 3 1723, and the receiver CH 16
From 4, wait for the end of the activation. The ReceiverCH 164 that has received the activation notification from the IPB 152 is the SBCH # 3
1723 is read, and response information and data (CF10 to OS
When there is data to be sent to 11. The presence or absence is indicated in the response information. ) Is read out, and ReceiverCH164
Senn connected to the interface cable 7
Send to derCH163. Then, an end report is sent to the IPB 152. The IPB 152 that has been waiting for the end report from the ReceiverCH 164 updates P of the SCSW of the SBCH # 31723 to 0, and then returns a condition code (CC) in response to the response activation from the CF10. And Res
The SenderCH 163 that has received the response information and the data from the receiverCH 164 writes the response information and the data sent from the ReceiverCH 164 to the information storage address in the SBCH # 2 1722. Then, S
endCH163 is S of SBCH # 2 1722.
Set P of CSW to 0.

【0045】(図11のケース)IPB152はチャネ
ル対応リスト173より、ReseiverCH164
に関するエントリを求める。該エントリにおいて、フラ
グのCが1ならば、IPB152はSBCH#3 17
23に格納される対応SBCH番号(本例ではIPA1
51がSBCH#2 1722の番号を格納している)
を読み出す。そしてIPB152はSBCH#3 17
23の情報格納アドレスに含まれる応答情報、データを
SBCH#2 1722の情報格納アドレスで示される
応答情報、データの格納位置に格納する。そして、IP
B152はSBCH#3 1723のSCSWのPを0
に更新し、SBCH#2 1722のSCSWのPを0
にする。その後IPB152はCF10からの応答起動
に対して条件コード(CC)を返す。
(Case of FIG. 11) The IPB 152 obtains from the channel correspondence list 173,
Ask for an entry for In this entry, if the flag C is 1, the IPB 152 sets SBCH # 3 17
23 (in this example, IPA1
51 stores the number of SBCH # 2 1722)
Is read. And IPB 152 is SBCH # 3 17
The response information and data included in the information storage address of No. 23 are stored in the storage location of the response information and data indicated by the information storage address of SBCH # 2 1722. And IP
B152 sets the SCSW P of SBCH # 3 1723 to 0.
And set the SCSW P of SBCH # 2 1722 to 0.
To After that, the IPB 152 returns a condition code (CC) in response to activation of a response from the CF 10.

【0046】ステップ5:ステップ4からOS11まで
の終了報告まで 本ステップは図10、図11とも共通である。
Step 5: From Step 4 to End Report from OS 11 This step is common to both FIGS. 10 and 11.

【0047】SBCH#2 1722のSCSWのPが
0になるまで待っていたIPA151は、ステップ4に
より、SBCH#2 1722のSCSWのPが0にな
ったので、OS11から発行されていた通信起動に対し
て条件コード(CC)を応答する。
The IPA 151 that has been waiting until the SCSW P of the SBCH # 2 1722 becomes 0 becomes “0” in step 4 because the P of the SCSW of the SBCH # 2 1722 becomes 0. Responds with a condition code (CC).

【0048】以上のステップ1からステップ5により、
チャネル対応リストの当該エントリにセットされたCビ
ットから、IPによるLPAR間通信を行ったり、CH
を用いた通信が行える。またチャネル対応リスト173
の当該エントリにセットされたCビットが1であっても
状況に応じてC=0と同じ動作をさせることも可能であ
る。例えば、OS11から発行された通信起動がプログ
ラムからみて非同期的に終了する(プログラムに終了の
条件コードが返っても実際の処理は実行中。特開平6−
4490「データ処理システム」に記述されているSM
SG命令は通信起動をハードウェアが同期的、非同期的
に実行するか指定出来る。)通信起動であったならば、
C=0と同じ処理をおこなっても良い。
By the above steps 1 to 5,
From the C bit set in the corresponding entry of the channel correspondence list, communication between LPARs by IP or CH
Can be used for communication. Also, the channel correspondence list 173
However, even if the C bit set in the corresponding entry is 1, the same operation as C = 0 can be performed depending on the situation. For example, the communication activation issued from the OS 11 ends asynchronously as seen from the program (the actual processing is being executed even if the end condition code is returned to the program.
SM described in 4490 "Data Processing System"
The SG instruction can specify whether the hardware starts the communication synchronously or asynchronously. ) If it was a communication start,
The same processing as C = 0 may be performed.

【0049】情報処理装置1内のOS11〜13と別情
報処理装置内のCF2との通信、また情報処理装置1内
のCF10と別情報処理装置のOS3との通信は、通信
に使われるSenderCH161、31、32/Re
ceiverCH162、21、22に対応するチャネ
ル対応リスト内の当該エントリのフラグのCビットが全
て0となるため、図10で示した例と同じ動作となる。
また以上の例では、OS11から、CF10への通信で
あるが、それを逆に考えれば、CF11からOS10へ
の通信も可能である。
Communication between the OSs 11 to 13 in the information processing apparatus 1 and the CF 2 in another information processing apparatus, and communication between the CF 10 in the information processing apparatus 1 and the OS 3 of another information processing apparatus are performed by Sender CH 161 used for communication. 31, 32 / Re
Since the C bits of the flags of the entries in the channel correspondence list corresponding to the receiverCHs 162, 21, and 22 are all 0, the operation is the same as the example shown in FIG.
In the above example, the communication from the OS 11 to the CF 10 is performed. However, when the communication is considered in reverse, the communication from the CF 11 to the OS 10 is also possible.

【0050】以上から、本実施例ではIPがCHを介さ
ずにLPAR間通信を行うことと、CHを介して通信を
行うことが混在して可能であり、またチャネル対応リス
トのCビットを0にしたり、1にすることにより、動的
にIPによるLPAR間通信を行うか、CHによる通信
を行うかを制御できる。
As described above, in the present embodiment, it is possible for the IP to perform inter-LPAR communication without passing through the CH and to perform communication via the CH, and to set the C bit of the channel correspondence list to 0. By setting to 1 or 1, it is possible to dynamically control whether to perform communication between LPARs by IP or communication by CH.

【0051】[0051]

【発明の効果】本発明により、同一報処理装置上のLA
PR間通信を高速に行い、かつ他情報処理装置との通信
も可能としたため、システム全体のスケーラビリティの
向上が図れる。
According to the present invention, LA on the same broadcast processing device
Since communication between PRs is performed at high speed and communication with other information processing devices is enabled, scalability of the entire system can be improved.

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

【図1】従来方式(ハイハ゜ーハ゛イサ゛のエミュレーションを用いた場
合)を示す図である。
FIG. 1 is a diagram showing a conventional method (in the case of using emulation of a high-powered laser).

【図2】従来方式(チャネルを用いた場合)を示す図で
ある。
FIG. 2 is a diagram showing a conventional method (when a channel is used).

【図3】本発明の概要を示す図である。FIG. 3 is a diagram showing an outline of the present invention.

【図4】LPAR,IP、SBCH、CHの対応関係を
示す図である。
FIG. 4 is a diagram showing the correspondence between LPAR, IP, SBCH, and CH.

【図5】サブチャネル(SBCH)のフォーマットを示
す図である。
FIG. 5 is a diagram showing a format of a subchannel (SBCH).

【図6】SBCH状態フラグ(SCSW) を示す図であ
る。
FIG. 6 is a diagram showing an SBCH status flag (SCSW).

【図7】SBCH内の制御フラグを示す図である。FIG. 7 is a diagram showing a control flag in the SBCH.

【図8】チャネル対応リストを示す図である。FIG. 8 is a diagram showing a channel correspondence list.

【図9】サブチャネルテーブルを示す図である。FIG. 9 is a diagram showing a sub-channel table.

【図10】チャネルを用いたLPAR間通信の例を示す
図である。
FIG. 10 is a diagram illustrating an example of inter-LPAR communication using a channel.

【図11】本発明のLPAR間通信の例を示す図であ
る。
FIG. 11 is a diagram illustrating an example of inter-LPAR communication according to the present invention.

【符号の説明】[Explanation of symbols]

1 情報処理装置 10 CF(Coupling Facility) 11〜13 OS(Operating System) 14 ハイパーバイザ 15 BPU(Basic Processing Unit) 150 IPのマイクロプログラム(μP) 151 IPA(Instruction Processor;命令フ゜ロセッ
サ) 152 IPB(Instruction Processor;命令フ゜ロセッ
サ) 153 IPC(Instruction Processor;命令フ゜ロセッ
サ) 154 IPD(Instruction Processor;命令フ゜ロセッ
サ) 16 IOP(Input / Output Processor) 161/163 SenderCH 162/164 ReceiverCH 17 主記憶装置 171 HSA(Hardware System Area) 172 サブチャネル格納エリア 1721〜1726 サブチャネル(SBCH) 173 チャネル対応リスト 174 サブチャネルテーブル 18 SVP(SerVice Processor) 2 別情報処理装置のCF 21/22 ReceiverCH 3 別情報処理装置のOS 31/32 SenderCH 4/5/6/7 インタフェースケーブル
DESCRIPTION OF SYMBOLS 1 Information processing apparatus 10 CF (Coupling Facility) 11-13 OS (Operating System) 14 Hypervisor 15 BPU (Basic Processing Unit) 150 IP microprogram (μP) 151 IPA (Instruction Processor) 152 IPB (Instruction Processor) Instruction processor) 153 IPC (Instruction Processor) 154 IPD (Instruction Processor) 16 IOP (Input / Output Processor) 161/163 SenderCH 162/164 ReceiverCH 17 Main memory 171 HSA (Hardware System Area) 17 Sub-channel storage area 1721 to 1726 Sub-channel (SBCH) 173 Channel correspondence list 174 Sub-channel table 18 SVP (SerVice Processor) 2 CF of another information processing device 21/22 ReceiverCH 3 OS of the information processing apparatus 31/32 SenderCH 4/5/6/7 interface cable

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】仮想計算機上で動作するオペレーティング
システム(以下OS)や、複数の仮想計算機の動作を制
御する制御プログラムの命令を処理する複数の命令プロ
セッサと、OS間の通信処理等を行う複数のチャネル装
置と、主記憶装置とを備える情報処理装置において、 OS間の通信に要する制御情報が格納され、主記憶装置
内のハードウェア用エリアに備えられる通信制御ブロッ
クに制御フラグを設け、該制御フラグのON/OFFを
命令プロセッサに通知する手段と、同一情報処理装置内
で通信を行う仮想計算機のそれぞれの通信制御ブロック
の対応付けの情報を命令プロセッサに送る手段と、を制
御プログラムに設け、また前記制御プログラムによる通
知により、前記制御ブロック中の前記制御フラグのON
/OFFを行う手段と、前記制御プログラムから送られ
た情報を前記制御ブロック内に格納する手段と、OS間
の通信を行う時、命令プロセッサは前記通信制御ブロッ
ク中の前記制御フラグがONならば、同一情報処理装置
内と判断し、前記仮想計算機間の通信制御ブロックの対
応付けにより通信先の仮想計算機を求め、該仮想計算機
上のOSが指定するエリアに対し、命令プロセッサが制
御情報、データの転送を行い、該制御情報、データの到
達を該仮想計算機上のOSに通知する手段と、前記制御
フラグがOFFならば、異なる情報処理装置間の通信と
判断し、それぞれの情報処理装置のチャネル装置を介し
て、通信先の情報処理装置上のOSが指定するエリアに
対し、制御情報、データの転送を行い、該制御情報、デ
ータの到達を該情報処理装置上のOSに通知させる手段
と、を命令プロセッサに設けたことを特徴とする仮想計
算機システム。
An operating system (hereinafter referred to as an OS) operating on a virtual machine, a plurality of instruction processors for processing instructions of a control program for controlling the operation of a plurality of virtual machines, and a plurality of communication processors for performing communication processing between the OSs. In an information processing apparatus including a channel device and a main storage device, control information required for communication between OSs is stored, and a control flag is provided in a communication control block provided in a hardware area in the main storage device. A means for notifying the instruction processor of ON / OFF of the control flag and a means for transmitting to the instruction processor information on the correspondence between the respective communication control blocks of the virtual machines communicating within the same information processing apparatus are provided in the control program. The control flag in the control block is turned on by the notification by the control program.
/ OFF means, means for storing information sent from the control program in the control block, and when performing communication between OSs, the instruction processor determines if the control flag in the communication control block is ON. It is determined that the virtual machine is in the same information processing apparatus, a virtual machine of the communication destination is obtained by associating the communication control blocks between the virtual machines, and the instruction processor executes control information and data for an area designated by the OS on the virtual machine. And a means for notifying the OS on the virtual machine of the arrival of the control information and data. If the control flag is OFF, it is determined that communication between different information processing apparatuses is performed. The control information and data are transferred to an area designated by the OS on the information processing device of the communication destination via the channel device, and the arrival of the control information and data is transmitted to the area specified by the OS. Virtual computer system is characterized by providing a means for notifying the OS on the processor, the instruction processor.
【請求項2】OSや制御プログラムの命令と同期して、
ハードウェア(命令プロセッサや、チャネル装置、等)が
処理を実行する同期形命令と、OSや制御プログラムの
命令と非同期にハードウェアが処理を実行する非同期形
命令とがあり、OSや制御プログラムによって、同期
形、非同期形のいずれかの指定が可能であり、該指定に
よってハードウェアが同期形、非同期形のいずれかで該
命令の処理を実行する請求項1の情報処理システムにお
いて、請求項1の前記制御ブロックの前記制御フラグが
ONの時、OS間の通信の起動を行う命令が同期形なら
ば、請求項1の制御フラグがONの時の手段を実行する
が、非同期形ならば、請求項1の制御フラグがOFFの
時の手段を実行する手段と、を命令プロセッサに設けた
ことを特徴とする仮想計算機システム。
2. In synchronization with an instruction of an OS or a control program,
There are a synchronous instruction that the hardware (instruction processor, channel device, etc.) executes the processing, and an asynchronous instruction that the hardware executes the processing asynchronously with the instruction of the OS or the control program. 2. The information processing system according to claim 1, wherein any one of a synchronous type and an asynchronous type can be designated, and the hardware executes the processing of the instruction in one of a synchronous type and an asynchronous type according to the designation. When the control flag of the control block is ON, if the instruction for activating communication between OSs is a synchronous type, the means when the control flag is ON of claim 1 is executed. 2. A virtual computer system, comprising: a means for executing the means when the control flag is OFF according to claim 1 provided in an instruction processor.
JP11063997A 1997-04-28 1997-04-28 Virtual computer system Pending JPH10301795A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11063997A JPH10301795A (en) 1997-04-28 1997-04-28 Virtual computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11063997A JPH10301795A (en) 1997-04-28 1997-04-28 Virtual computer system

Publications (1)

Publication Number Publication Date
JPH10301795A true JPH10301795A (en) 1998-11-13

Family

ID=14540828

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11063997A Pending JPH10301795A (en) 1997-04-28 1997-04-28 Virtual computer system

Country Status (1)

Country Link
JP (1) JPH10301795A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000357086A (en) * 1999-05-19 2000-12-26 Internatl Business Mach Corp <Ibm> Management of simultaneous use license on logically patitioned computer
EP1212675A1 (en) * 1999-05-19 2002-06-12 International Business Machines Corporation Event-driven communications interface for logically-partitioned computer
US6681240B1 (en) 1999-05-19 2004-01-20 International Business Machines Corporation Apparatus and method for specifying maximum interactive performance in a logical partition of a computer system independently from the maximum interactive performance in other partitions
US6691146B1 (en) 1999-05-19 2004-02-10 International Business Machines Corporation Logical partition manager and method
US7290259B2 (en) 2000-12-28 2007-10-30 Hitachi, Ltd. Virtual computer system with dynamic resource reallocation
JP2008523512A (en) * 2004-12-10 2008-07-03 インテル コーポレイション Method and apparatus for providing a virtual server blade
US7865899B2 (en) 2001-11-22 2011-01-04 Hitachi, Ltd. Virtual computer systems and computer virtualization programs
JP2011108246A (en) * 2002-08-23 2011-06-02 Finite State Machine Labs Inc System, method and computer program product for monitoring and controlling network connection from supervisory operating system
JP2011181080A (en) * 2011-04-01 2011-09-15 Hitachi Ltd Data processing system
WO2012120664A1 (en) * 2011-03-09 2012-09-13 株式会社日立製作所 Virtual machine migration evaluation method and virtual machine system

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000357086A (en) * 1999-05-19 2000-12-26 Internatl Business Mach Corp <Ibm> Management of simultaneous use license on logically patitioned computer
EP1212675A1 (en) * 1999-05-19 2002-06-12 International Business Machines Corporation Event-driven communications interface for logically-partitioned computer
US6681240B1 (en) 1999-05-19 2004-01-20 International Business Machines Corporation Apparatus and method for specifying maximum interactive performance in a logical partition of a computer system independently from the maximum interactive performance in other partitions
US6691146B1 (en) 1999-05-19 2004-02-10 International Business Machines Corporation Logical partition manager and method
US6959291B1 (en) 1999-05-19 2005-10-25 International Business Machines Corporation Management of a concurrent use license in a logically-partitioned computer
EP1212675A4 (en) * 1999-05-19 2007-06-20 Ibm Event-driven communications interface for logically-partitioned computer
US7290259B2 (en) 2000-12-28 2007-10-30 Hitachi, Ltd. Virtual computer system with dynamic resource reallocation
US7865899B2 (en) 2001-11-22 2011-01-04 Hitachi, Ltd. Virtual computer systems and computer virtualization programs
US8397239B2 (en) 2001-11-22 2013-03-12 Hitachi, Ltd. Virtual computer systems and computer virtualization programs
JP2011108246A (en) * 2002-08-23 2011-06-02 Finite State Machine Labs Inc System, method and computer program product for monitoring and controlling network connection from supervisory operating system
US8713158B2 (en) 2002-08-23 2014-04-29 Intellectual Ventures Fund 73 Llc System, method and computer program product for monitoring and controlling network connections from a supervisory operating system
US8805994B2 (en) 2002-08-23 2014-08-12 Intellectual Ventures Fund 73 Llc System, method and computer program product for monitoring and controlling network connections from a supervisory operating system
JP2008523512A (en) * 2004-12-10 2008-07-03 インテル コーポレイション Method and apparatus for providing a virtual server blade
WO2012120664A1 (en) * 2011-03-09 2012-09-13 株式会社日立製作所 Virtual machine migration evaluation method and virtual machine system
JPWO2012120664A1 (en) * 2011-03-09 2014-07-07 株式会社日立製作所 Virtual machine migration evaluation method and virtual machine system
JP5577453B2 (en) * 2011-03-09 2014-08-20 株式会社日立製作所 Virtual machine migration evaluation method and virtual machine system
JP2011181080A (en) * 2011-04-01 2011-09-15 Hitachi Ltd Data processing system

Similar Documents

Publication Publication Date Title
US5758157A (en) Method and system for providing service processor capability in a data processing by transmitting service processor requests between processing complexes
JP4947081B2 (en) LPAR dynamic migration apparatus with pass-through I / O device, method and program thereof
US9304802B2 (en) Mechanism for NPIV client recovery when NPIV server goes down
JP5272709B2 (en) Address assignment method, computer, physical machine, program, and system
CN100405303C (en) Data processing system having a channel adapter shared by multiple operating systems
US7774785B2 (en) Cluster code management
US7743372B2 (en) Dynamic cluster code updating in logical partitions
JPH10283210A (en) Virtual machine movement control system between virtual machine systems
JPH04348434A (en) Virtual computer system
JPH064490A (en) Data processing system
KR20040004554A (en) Shared i/o in a partitioned processing environment
JPH0644168A (en) Computer-network
TW201445449A (en) Computer host with a baseboard management controller to manage virtual machines and method thereof
US20180121112A1 (en) Data migration method and computer system
JPH10301795A (en) Virtual computer system
US6874040B2 (en) Employing a data mover to communicate between dynamically selected zones of a central processing complex
CN110134491B (en) Information processing transmission device
US7360222B2 (en) Extensions to coupling channels to support multiple coupling facility sharing, interrupts, and message passing
US7886306B2 (en) Extensions to coupling channels to support multiple coupling facility sharing, interrupts, and message passing
JPS6239789B2 (en)
JPH06242975A (en) Virtual computer dispatch system of multiple information processing system
JP2864255B2 (en) Virtual computer system
JP3014112B2 (en) Message communication method in multiprocessor system
JPH06110717A (en) Complex computer system
JPH06243102A (en) Interruption synchronizing method for multiplex information processing system