JP2013145460A - Information processing device, method and program of controlling the same, and recording medium - Google Patents

Information processing device, method and program of controlling the same, and recording medium Download PDF

Info

Publication number
JP2013145460A
JP2013145460A JP2012005418A JP2012005418A JP2013145460A JP 2013145460 A JP2013145460 A JP 2013145460A JP 2012005418 A JP2012005418 A JP 2012005418A JP 2012005418 A JP2012005418 A JP 2012005418A JP 2013145460 A JP2013145460 A JP 2013145460A
Authority
JP
Japan
Prior art keywords
channel
virtual machine
input
channel device
configuration 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
JP2012005418A
Other languages
Japanese (ja)
Inventor
Hideki Yamanaka
英樹 山中
Takashi Okuno
崇 奥野
Tsukasa Matsuda
司 松田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2012005418A priority Critical patent/JP2013145460A/en
Publication of JP2013145460A publication Critical patent/JP2013145460A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an information processing device that can dynamically change the setting of a channel device provided in the information processing device.SOLUTION: A channel device 11 is shared by plural virtual machines 4. A selective channel definition control unit 9 performs control of the channel device 11, on the basis of instructions of setting for the channel device 11 including configuration information from a CPU 2, such that one virtual machine 4 among the plural virtual machines 4 is being selected and the other virtual machines 4 are being stopped.

Description

本発明は、情報処理装置、情報処理装置の制御方法、制御プログラム、記録媒体に関する。   The present invention relates to an information processing apparatus, a control method for the information processing apparatus, a control program, and a recording medium.

コンピュータのような情報処理装置において、磁気ディスク装置や磁気テープ装置のような入出力装置は、入出力装置の接続処理装置であるチャネル装置を介して、ホストコンピュータに接続される。入出力装置へのデータの入出力は、チャネル装置により実行される。   In an information processing apparatus such as a computer, an input / output device such as a magnetic disk device or a magnetic tape device is connected to a host computer via a channel device which is a connection processing device for the input / output device. Input / output of data to / from the input / output device is performed by the channel device.

なお、少なくとも交換装置1が、信号チャネル“1”,“2”を仮想インタフェースに対して複数設定するとともに、仮想コネクションを設定すべき仮想パスを仮想インタフェースにおいて一意に識別するための情報を複数の信号チャネル“1”,“2”に対して共通の情報として記憶することにより、任意の信号チャネル“1”,“2”を通じて仮想インタフェースにおける任意の仮想パス(VP)に対して仮想コネクションを設定しうるように構成することが提案されている。   Note that at least the switching apparatus 1 sets a plurality of signal channels “1” and “2” for the virtual interface, and a plurality of pieces of information for uniquely identifying a virtual path for setting a virtual connection in the virtual interface. By storing as common information for the signal channels “1” and “2”, a virtual connection is set for any virtual path (VP) in the virtual interface through any signal channel “1” and “2”. It has been proposed to be able to do so.

また、CATVシステムの構成に対応して、メッセージ宛先識別子と、物理チャンネル属性識別子および論理チャンネル属性識別子とをペアにしたチャンネル属性識別子とで構成されたメッセージをセンター系より全加入者端末に一斉にデータ伝送し、前記メッセージでCATVシステムのチャンネル構成を一元的に管理することが提案されている。   Corresponding to the configuration of the CATV system, a message composed of a message destination identifier and a channel attribute identifier in which a physical channel attribute identifier and a logical channel attribute identifier are paired is sent to all subscriber terminals from the center system all at once. It has been proposed to transmit data and manage the channel configuration of the CATV system centrally with the message.

特開平11−234287号公報Japanese Patent Laid-Open No. 11-234287 特開昭63−258179号公報JP 63-258179 A

物理CPU(Central Processing Unit)上で複数の仮想マシン、換言すれば、論理CPUが動作する場合がある。この場合、どの論理CPUがどのチャネル装置を用いるかは予め定義される。換言すれば、チャネル装置が、複数の仮想マシンに予め割り当てられる。チャネル装置の割り当てには複数の種類がある。   A plurality of virtual machines, in other words, logical CPUs may operate on a physical CPU (Central Processing Unit). In this case, which logical CPU uses which channel device is defined in advance. In other words, the channel device is assigned in advance to a plurality of virtual machines. There are several types of channel device assignments.

例えば、図17に示すように、ホストコンピュータ(HOST)101において、1個のCPU102上で複数の仮想マシン(VM)104、具体的には、仮想マシンVM#1及びVM#2が動作する場合がある。CPU102は、物理CPUである。仮想マシンVM#1及びVM#2は、ハイパーバイザ(HV)103により実現される論理CPUである。複数の仮想マシンVM#1及びVM#2は、入出力制御処理装置(IOP)107を介して、チャネル装置111、具体的には、チャネル装置CH#1に接続される。チャネル装置CH#1には、磁気ディスク装置112、具体的には、磁気ディスク装置DISK#1及びDISK#2が接続される。   For example, as shown in FIG. 17, in the host computer (HOST) 101, a plurality of virtual machines (VM) 104, specifically, virtual machines VM # 1 and VM # 2 operate on one CPU 102. There is. The CPU 102 is a physical CPU. The virtual machines VM # 1 and VM # 2 are logical CPUs realized by the hypervisor (HV) 103. The plurality of virtual machines VM # 1 and VM # 2 are connected to the channel device 111, specifically, the channel device CH # 1 via the input / output control processing device (IOP) 107. The magnetic disk device 112, specifically, the magnetic disk devices DISK # 1 and DISK # 2 are connected to the channel device CH # 1.

図17に示す例において、チャネル装置CH#1は、入出力制御処理装置107により、複数の仮想マシンVM#1及びVM#2に割り当てられ、使用される。換言すれば、チャネル装置CH#1は、共用チャネルとして定義される。共用チャネルは、1個のチャネル装置が複数のVMに割り当てられたチャネルである。従って、複数の仮想マシンVM#1及びVM#2は、チャネル装置CH#1を共用する。   In the example illustrated in FIG. 17, the channel device CH # 1 is allocated and used by the input / output control processing device 107 to a plurality of virtual machines VM # 1 and VM # 2. In other words, the channel device CH # 1 is defined as a shared channel. The shared channel is a channel in which one channel device is allocated to a plurality of VMs. Therefore, the plurality of virtual machines VM # 1 and VM # 2 share the channel device CH # 1.

また、共用チャネルに対して、チャネル装置が専用チャネルとして定義される場合がある。   In addition, a channel device may be defined as a dedicated channel for a shared channel.

例えば、図18に示す例において、チャネル装置CH#1は入出力制御処理装置107により仮想マシンVM#1に割り当てられ、チャネル装置CH#1とは異なるチャネル装置111であるチャネル装置CH#2は入出力制御処理装置107により仮想マシンVM#2に割り当てられる。換言すれば、チャネル装置CH#1は仮想マシンVM#1の専用チャネルとして定義され、チャネル装置CH#2は仮想マシンVM#2の専用チャネルとして定義される。専用チャネルは、1個のチャネル装置が1個のVMに専用に割り当てられたチャネルである。従って、仮想マシンVM#1はチャネル装置CH#1を専用し、仮想マシンVM#2はチャネル装置CH#2を専用する。   For example, in the example shown in FIG. 18, the channel device CH # 1 is assigned to the virtual machine VM # 1 by the input / output control processing device 107, and the channel device CH # 2 that is a channel device 111 different from the channel device CH # 1 is The input / output control processor 107 assigns the virtual machine VM # 2. In other words, the channel device CH # 1 is defined as a dedicated channel for the virtual machine VM # 1, and the channel device CH # 2 is defined as a dedicated channel for the virtual machine VM # 2. The dedicated channel is a channel in which one channel device is dedicated to one VM. Therefore, the virtual machine VM # 1 is dedicated to the channel device CH # 1, and the virtual machine VM # 2 is dedicated to the channel device CH # 2.

以上のように仮想マシンを用いる場合において、共用チャネルには、専用チャネルと比較すると、以下のような問題がある。   As described above, when a virtual machine is used, the shared channel has the following problems compared to the dedicated channel.

例えば、図18においては、チャネル装置CH#1は仮想マシンVM#1の専用であるので、ハイパーバイザ103は、仮想マシンVM#1がチャネル装置CH#1を使用するための排他制御を実行する必要がない。換言すれば、ハイパーバイザ103は、仮想マシンVM#1からの入出力命令を処理する必要がない。仮想マシンVM#1からの入出力命令は、OS(オペレーティングシステム)に送られ、OSから入出力制御処理装置107に送られる。   For example, in FIG. 18, since the channel device CH # 1 is dedicated to the virtual machine VM # 1, the hypervisor 103 executes exclusive control for the virtual machine VM # 1 to use the channel device CH # 1. There is no need. In other words, the hypervisor 103 does not need to process an input / output command from the virtual machine VM # 1. An input / output command from the virtual machine VM # 1 is sent to the OS (operating system), and is sent from the OS to the input / output control processing device 107.

これに対して、図17においては、チャネル装置CH#1は仮想マシンVM#1及び仮想マシンVM#2の共用であるので、ハイパーバイザ103は、仮想マシンVM#1がチャネル装置CH#1を使用するための排他制御を実行する必要がある。換言すれば、ハイパーバイザ103は、OSから入出力制御処理装置107に送られる仮想マシンVM#1からの入出力命令をインターセプトする。そして、ハイパーバイザ103は、仮想マシンVM#1が使用するチャネルアクセスパスとチャネル装置を排他的に設定した上で、入出力制御処理装置107に送る。このため、第1に、CPU102における共用チャネルの制御のためのオーバヘッドが大きく、CPU102の負担となる。   On the other hand, in FIG. 17, since the channel device CH # 1 is shared by the virtual machine VM # 1 and the virtual machine VM # 2, the hypervisor 103 determines that the virtual machine VM # 1 has the channel device CH # 1. It is necessary to execute exclusive control for use. In other words, the hypervisor 103 intercepts an input / output command from the virtual machine VM # 1 sent to the input / output control processing device 107 from the OS. Then, the hypervisor 103 exclusively sets the channel access path and the channel device used by the virtual machine VM # 1, and then sends it to the input / output control processing device 107. For this reason, first, the overhead for controlling the shared channel in the CPU 102 is large, which is a burden on the CPU 102.

また、例えば、入出力制御処理装置107は、図20に示すように、チャネル処理を実行する。   For example, the input / output control processing device 107 performs channel processing as shown in FIG.

具体的には、入出力制御処理装置107は、受け取った入出力命令において指定されたチャネルが専用チャネルか否かを判断し(ステップS101)、指定されたチャネルが共用チャネルである場合には、共用チャネル内部制御表の検索処理を実行し、検索の結果に基づいて排他制御を実行する(ステップS102)。指定されたチャネルが専用チャネルである場合には、ステップS102は省略される。この後、入出力制御処理装置107がチャネル処理を実行し(ステップS103)、仮想マシンVM#1からの入出力命令が実行される。このため、第2に、入出力制御処理装置107における共用チャネルの制御のためのオーバヘッドが大きく、入出力制御処理装置107の負担となる。特に、共用チャネル内部制御表の検索処理のオーバヘッドが大きく、入出力制御処理装置107の負担が大きい。   Specifically, the input / output control processing unit 107 determines whether or not the channel specified in the received input / output command is a dedicated channel (step S101), and when the specified channel is a shared channel, The shared channel internal control table search process is executed, and exclusive control is executed based on the search result (step S102). If the designated channel is a dedicated channel, step S102 is omitted. Thereafter, the input / output control processing device 107 executes channel processing (step S103), and an input / output command from the virtual machine VM # 1 is executed. For this reason, secondly, the overhead for controlling the shared channel in the input / output control processing device 107 is large, which is a burden on the input / output control processing device 107. In particular, the overhead of the search processing for the shared channel internal control table is large, and the burden on the input / output control processing device 107 is large.

ところで、共用チャネルを用いて、仮想マシンを用いたホットスタンバイシステムを構築する場合がある。   By the way, a hot standby system using a virtual machine may be constructed using a shared channel.

例えば、図19に示す例において、仮想マシンVM#1は、チャネル装置CH#1及びCH#2を用いて処理を実行する現用系の仮想マシンである。仮想マシンVM#2は、チャネル装置CH#1及びCH#2を用いて仮想マシンVM#1と同一の処理を実行しかつ待機する待機系の仮想マシンである。換言すれば、図19に示す例は、複数の仮想マシンVM#1及びVM#2を用いたホットスタンバイシステムである。   For example, in the example illustrated in FIG. 19, the virtual machine VM # 1 is an active virtual machine that executes processing using the channel devices CH # 1 and CH # 2. The virtual machine VM # 2 is a standby virtual machine that performs the same processing as the virtual machine VM # 1 using the channel devices CH # 1 and CH # 2 and stands by. In other words, the example shown in FIG. 19 is a hot standby system using a plurality of virtual machines VM # 1 and VM # 2.

一方、チャネル装置CH#1は、入出力制御処理装置107により、複数の仮想マシンVM#1及びVM#2に割り当てられ、共用チャネルとして定義される。チャネル装置CH#2も、また、入出力制御処理装置107により、複数の仮想マシンVM#1及びVM#2に割り当てられ、共用チャネルとして定義される。複数の仮想マシンVM#1及びVM#2は、複数のチャネル装置CH#1及びCH#2を共用する。これにより、現用系の仮想マシンVM#1と待機系の仮想マシンVM#2との間で、同一の入出力資源を使用できる。この結果、ソフトウェアクラッシュ等の障害に備えて、冗長システムを容易に構築することができる。   On the other hand, the channel device CH # 1 is assigned to a plurality of virtual machines VM # 1 and VM # 2 by the input / output control processing device 107, and is defined as a shared channel. The channel device CH # 2 is also assigned to a plurality of virtual machines VM # 1 and VM # 2 by the input / output control processing device 107, and is defined as a shared channel. A plurality of virtual machines VM # 1 and VM # 2 share a plurality of channel devices CH # 1 and CH # 2. As a result, the same input / output resource can be used between the active virtual machine VM # 1 and the standby virtual machine VM # 2. As a result, a redundant system can be easily constructed in preparation for a failure such as a software crash.

しかし、以上のように、共用チャネルを用いて、仮想マシンを用いたホットスタンバイシステムを構築した場合においても、共用チャネルには、専用チャネルと比較すると、以下のような問題がある。   However, as described above, even when a hot standby system using a virtual machine is constructed using a shared channel, the shared channel has the following problems compared to the dedicated channel.

例えば、図21(B)に示すように、待機系の仮想マシンVM#2を無視して、現用系の仮想マシンVM#1が、チャネル装置CH#1及びCH#2を専用するとする。この場合、チャネル装置CH#1及びCH#2は、入出力制御処理装置107により、現用系の仮想マシンVM#1に割り当てられ、専用チャネルとして定義される。なお、この場合には、待機系の仮想マシンVM#2が無視されてしまう。   For example, as shown in FIG. 21B, it is assumed that the standby virtual machine VM # 2 is ignored and the active virtual machine VM # 1 dedicates the channel devices CH # 1 and CH # 2. In this case, the channel devices CH # 1 and CH # 2 are assigned to the active virtual machine VM # 1 by the input / output control processing device 107 and defined as dedicated channels. In this case, the standby virtual machine VM # 2 is ignored.

そこで、図21(A)に示すように、現用系の仮想マシンVM#1及び待機系の仮想マシンVM#2が、チャネル装置CH#1及びCH#2を共用するとする。この場合、チャネル装置CH#1及びCH#2は、入出力制御処理装置107により、現用系の仮想マシンVM#1及び待機系の仮想マシンVM#2に割り当てられ、共用チャネルとして定義される。   Therefore, as shown in FIG. 21A, it is assumed that the active virtual machine VM # 1 and the standby virtual machine VM # 2 share the channel devices CH # 1 and CH # 2. In this case, the channel devices CH # 1 and CH # 2 are assigned to the active virtual machine VM # 1 and the standby virtual machine VM # 2 by the input / output control processor 107, and are defined as shared channels.

しかし、図21(A)に示す例において、現用系の仮想マシンVM#1が単独でチャネル装置CH#1及びCH#2を使用中であったとしても、前述した共用チャネルの問題が残ってしまう。具体的には、CPU102における共用チャネルの制御のためのオーバヘッドが大きく、CPU102の負担となる。また、入出力制御処理装置107における共用チャネルの制御のためのオーバヘッドが大きく、入出力制御処理装置107の負担となる。   However, in the example shown in FIG. 21A, even if the active virtual machine VM # 1 is using the channel devices CH # 1 and CH # 2 alone, the above-described problem of the shared channel remains. End up. More specifically, the overhead for controlling the shared channel in the CPU 102 is large, which is a burden on the CPU 102. In addition, the overhead for controlling the shared channel in the input / output control processing unit 107 is large, which is a burden on the input / output control processing unit 107.

本発明は、一側面によれば、情報処理装置に設けられたチャネル装置の設定を動的に変更することが可能な情報処理装置を提供することを目的とする。   An object of the present invention is to provide an information processing apparatus capable of dynamically changing settings of a channel device provided in the information processing apparatus.

開示される情報処理装置は、一側面によれば、プロセッサと、チャネル装置と、入・出力制御処理装置とを含む。入・出力制御処理装置は、チャネル定義制御部を含む。プロセッサは、複数の仮想マシンを実行可能である。チャネル装置は、複数の仮想マシンにより共用される。入・出力制御処理装置は、プロセッサとチャネル装置との間に接続され、複数の仮想マシンからの要求に応じて、チャネル装置への入力又は出力を実行する。チャネル定義制御部は、プロセッサから構成情報を含むチャネル装置に対する設定の指示に基づいて、複数の仮想マシンの中の1個の仮想マシンが選択中でありかつ他の仮想マシンが休止中であるようにチャネル装置の制御を行う。   According to one aspect, the disclosed information processing apparatus includes a processor, a channel device, and an input / output control processing device. The input / output control processing device includes a channel definition control unit. The processor can execute a plurality of virtual machines. The channel device is shared by a plurality of virtual machines. The input / output control processing device is connected between the processor and the channel device, and executes input or output to the channel device in response to requests from a plurality of virtual machines. The channel definition control unit is configured so that one virtual machine among a plurality of virtual machines is being selected and the other virtual machine is being paused based on a setting instruction from the processor to the channel device including the configuration information. The channel device is controlled.

開示される情報処理装置によれば、一側面によれば、情報処理装置に設けられたチャネル装置の設定を動的に変更することができる。   According to the disclosed information processing apparatus, according to one aspect, the setting of the channel device provided in the information processing apparatus can be dynamically changed.

情報処理装置の一例を示す図である。It is a figure which shows an example of information processing apparatus. 情報処理装置における処理の一例を示す図である。It is a figure which shows an example of the process in information processing apparatus. 情報処理装置の説明図である。It is explanatory drawing of information processing apparatus. 情報処理装置の説明図である。It is explanatory drawing of information processing apparatus. 情報処理装置の説明図である。It is explanatory drawing of information processing apparatus. 情報処理装置におけるチャネル処理フローである。It is a channel processing flow in an information processing apparatus. 情報処理装置におけるチャネル処理フローである。It is a channel processing flow in an information processing apparatus. 情報処理装置におけるチャネル処理フローである。It is a channel processing flow in an information processing apparatus. 構成設定処理フローである。It is a configuration setting process flow. 通知処理フローである。It is a notification processing flow. 受信処理フローである。It is a reception processing flow. 変更制御処理フローである。It is a change control processing flow. チャネル処理フローである。It is a channel processing flow. 他の情報処理装置の一例を示す図である。It is a figure which shows an example of another information processing apparatus. 更に他の情報処理装置の一例を示す図である。It is a figure which shows an example of another information processing apparatus. 図15の情報処理装置における処理の一例を示す図である。It is a figure which shows an example of the process in the information processing apparatus of FIG. 従来の情報処理装置の説明図である。It is explanatory drawing of the conventional information processing apparatus. 従来の情報処理装置の説明図である。It is explanatory drawing of the conventional information processing apparatus. 従来の情報処理装置の説明図である。It is explanatory drawing of the conventional information processing apparatus. 従来のチャネル処理フローである。It is a conventional channel processing flow. 従来の情報処理装置の説明図である。It is explanatory drawing of the conventional information processing apparatus.

図1は、情報処理装置の一例を示す図である。   FIG. 1 is a diagram illustrating an example of an information processing apparatus.

ホストコンピュータ1は、情報処理装置であって、入出力装置として、複数の磁気ディスク装置12及び磁気テープ装置13を含む。ホストコンピュータ1は、CPU2と、入出力制御処理装置(IOP)7と、複数のチャネル装置(CH)11とを含む。CPU2は、ハイパーバイザ(HV)3と、構成情報6とを含む。構成情報6は、実際には、構成情報格納部に格納される。ハイパーバイザ3は、複数の仮想マシン(VM)4と、選択的チャネル定義指示部5とを含む。入出力制御処理装置7は、ファームウェア8に設けられた選択的チャネル定義制御部9と、変更制御表10とを含む。変更制御表10は、実際には、変更制御表格納部に格納される。   The host computer 1 is an information processing apparatus, and includes a plurality of magnetic disk devices 12 and a magnetic tape device 13 as input / output devices. The host computer 1 includes a CPU 2, an input / output control processing device (IOP) 7, and a plurality of channel devices (CH) 11. The CPU 2 includes a hypervisor (HV) 3 and configuration information 6. The configuration information 6 is actually stored in the configuration information storage unit. The hypervisor 3 includes a plurality of virtual machines (VM) 4 and a selective channel definition instruction unit 5. The input / output control processing device 7 includes a selective channel definition control unit 9 provided in the firmware 8 and a change control table 10. The change control table 10 is actually stored in the change control table storage unit.

複数の仮想マシン4を区別する場合には、VM#1、VM#2と言う。VM#1は現用系の仮想マシン4とされ、VM#2は待機系の仮想マシン4とされる。換言すれば、VM#2は、VM#1と同様の処理を行い、VM#1に代わって処理を継続することができるように待機する。これにより、ホストコンピュータ1は、複数の仮想マシン4を用いたホットスタンバイシステムとして運用される。   When distinguishing a plurality of virtual machines 4, they are referred to as VM # 1 and VM # 2. VM # 1 is the active virtual machine 4, and VM # 2 is the standby virtual machine 4. In other words, the VM # 2 performs the same processing as the VM # 1, and waits so that the processing can be continued on behalf of the VM # 1. As a result, the host computer 1 is operated as a hot standby system using a plurality of virtual machines 4.

複数のチャネル装置11を区別する場合には、CH#1、CH#2と言う。CH#1には、例えば複数の磁気ディスク装置12が接続される。CH#2には、例えば磁気テープ装置13が接続される。   When a plurality of channel devices 11 are distinguished, they are referred to as CH # 1 and CH # 2. For example, a plurality of magnetic disk devices 12 are connected to CH # 1. For example, a magnetic tape device 13 is connected to CH # 2.

CPU2は、例えばプロセッサ、換言すれば、物理CPUである。CPU2は、ハイパーバイザ3により、複数の仮想マシン(VM)4を実行可能なプロセッサである。   The CPU 2 is, for example, a processor, in other words, a physical CPU. The CPU 2 is a processor that can execute a plurality of virtual machines (VMs) 4 by the hypervisor 3.

ハイパーバイザ(HV)3は、CPU2上で仮想マシン4の制御を行なう。ハイパーバイザ3がCPU2上で実行されることにより、仮想マシン(VM)4が実現される。ハイパーバイザ(HV)3は、例えばOS又はOSの一部である。   A hypervisor (HV) 3 controls the virtual machine 4 on the CPU 2. By executing the hypervisor 3 on the CPU 2, a virtual machine (VM) 4 is realized. The hypervisor (HV) 3 is, for example, an OS or a part of the OS.

仮想マシン4は、ハイパーバイザ3により生成された、仮想ホストコンピュータである。ハイパーバイザ3により、例えば、複数の仮想マシン4が生成される。複数の仮想マシン4は、CPU2上で動作する。   The virtual machine 4 is a virtual host computer generated by the hypervisor 3. For example, a plurality of virtual machines 4 are generated by the hypervisor 3. The plurality of virtual machines 4 operate on the CPU 2.

図1において、複数の仮想マシン4は、処理を実行する現用系の仮想マシン4と、現用系の仮想マシン4と同一の処理を実行しつつ待機する待機系の仮想マシン4とを含む。従って、ホストコンピュータ1は、複数の仮想マシン4を用いたホットスタンバイシステムとして動作するコンピュータである。   In FIG. 1, the plurality of virtual machines 4 include a working virtual machine 4 that executes processing, and a standby virtual machine 4 that waits while performing the same processing as the working virtual machine 4. Therefore, the host computer 1 is a computer that operates as a hot standby system using a plurality of virtual machines 4.

選択的チャネル定義指示部5は、入出力制御処理装置7に選択的なチャネル定義を指示するチャネル定義指示部であり、CPU2に、具体的には、ハイパーバイザ3に設けられる。選択的チャネル定義指示部5は、操作者によるホットスタンバイシステムの設定の入力等に基づいて、構成情報6を設定する。   The selective channel definition instructing unit 5 is a channel definition instructing unit that instructs the input / output control processing device 7 to perform selective channel definition, and is provided in the CPU 2, specifically, in the hypervisor 3. The selective channel definition instructing unit 5 sets the configuration information 6 based on the input of the hot standby system setting by the operator.

選択的チャネル定義指示部5は、複数の仮想マシン4の構成情報6を含むチャネル装置11に対する設定の指示を、選択的チャネル定義制御部9に送信する。構成情報6は、後述するように、仮想マシン4の状態を示す情報である。図1の例においては、特に、構成情報6は、ホットスタンバイシステムにおける仮想マシン4の状態を示す情報である。選択的チャネル定義指示部5は、例えば、構成情報6の設定時、及び、構成情報6の変更時に、構成情報6を含むチャネル装置11に対する設定の指示を送信する。   The selective channel definition instruction unit 5 transmits a setting instruction for the channel device 11 including the configuration information 6 of the plurality of virtual machines 4 to the selective channel definition control unit 9. The configuration information 6 is information indicating the state of the virtual machine 4 as will be described later. In the example of FIG. 1, in particular, the configuration information 6 is information indicating the state of the virtual machine 4 in the hot standby system. For example, when the configuration information 6 is set and when the configuration information 6 is changed, the selective channel definition instruction unit 5 transmits a setting instruction to the channel device 11 including the configuration information 6.

図1の例では、選択的チャネル定義指示部5は、現用系の仮想マシン4及び待機系の仮想マシン4の構成情報6を含むチャネル装置11に対する設定の指示を、選択的チャネル定義制御部9に送信する。構成情報6の送信により、仮想マシン4の生成時におけるホットスタンバイシステムの設定の状態、及び、ホットスタンバイシステムの状態の変更を、入出力制御処理装置7に通知することができる。構成情報6は、後述するように、入出力制御処理装置7において変更制御表10に反映される。   In the example of FIG. 1, the selective channel definition instructing unit 5 sends a setting instruction for the channel device 11 including the configuration information 6 of the active virtual machine 4 and the standby virtual machine 4 to the selective channel definition control unit 9. Send to. By transmitting the configuration information 6, it is possible to notify the input / output control processing device 7 of the setting state of the hot standby system when the virtual machine 4 is created and the change of the hot standby system state. The configuration information 6 is reflected in the change control table 10 in the input / output control processing device 7 as will be described later.

構成情報6は、仮想マシン4毎に、ホットスタンバイシステムのペア識別情報と、ホットスタンバイシステムでの自仮想マシン4の運用状態とを含む。構成情報6は、ホットスタンバイシステムの構成情報であり、例えばCPU2の備えるメモリに格納される。構成情報6については、図2を参照して後述する。   The configuration information 6 includes, for each virtual machine 4, pair identification information of the hot standby system and the operation state of the own virtual machine 4 in the hot standby system. The configuration information 6 is configuration information of the hot standby system, and is stored in, for example, a memory included in the CPU 2. The configuration information 6 will be described later with reference to FIG.

入出力制御処理装置7は、ホストコンピュータ1において、CPU2とは別に設けられ、CPU2と並行動作可能なマイクロプロセッサ(MPU)及びファームウェアにより構成される。入出力制御処理装置7は、CPU2とチャネル装置11との間に接続される。   The input / output control processing device 7 is provided in the host computer 1 separately from the CPU 2, and includes a microprocessor (MPU) and firmware that can operate in parallel with the CPU 2. The input / output control processing device 7 is connected between the CPU 2 and the channel device 11.

入出力制御処理装置7は、複数の仮想マシン4からの要求に応じて、チャネル装置11への入力又は出力を実行する入・出力制御処理装置である。また、入出力制御処理装置7は、ハイパーバイザ3からの要求に応じて、チャネル装置11への入力又は出力を実行する入・出力制御処理装置である。換言すれば、入出力制御処理装置7は、チャネル装置11の制御を行い、変更制御表10に基づいて、ハイパーバイザ3又は仮想マシン4の指示する入力命令又は出力命令を実行する。なお、入力又は出力を実行することを入出力を実行すると言い、入力命令又は出力命令を実行することを入出力命令を実行すると言うことがある。   The input / output control processing device 7 is an input / output control processing device that executes input or output to the channel device 11 in response to requests from a plurality of virtual machines 4. The input / output control processing device 7 is an input / output control processing device that executes input or output to the channel device 11 in response to a request from the hypervisor 3. In other words, the input / output control processing device 7 controls the channel device 11 and executes an input command or an output command instructed by the hypervisor 3 or the virtual machine 4 based on the change control table 10. Executing input or output may be referred to as executing input / output, and executing an input command or output command may be referred to as executing an input / output command.

選択的チャネル定義制御部9は、CPU2、換言すれば、プロセッサからの選択的なチャネル定義に基づいてチャネル装置11を制御するチャネル定義制御部であり、入出力制御処理装置7に、入出力制御処理装置7のファームウェア8として設けられる。選択的チャネル定義制御部9は、チャネル装置11におけるチャネル定義の制御を行う。例えば、選択的チャネル定義制御部9は、チャネル装置11が共用である場合に、共用であるチャネル装置11を選択して、仮想マシン4に割当てる。   The selective channel definition control unit 9 is a channel definition control unit that controls the channel device 11 based on the selective channel definition from the CPU 2, in other words, the processor, and controls the input / output control processing device 7 to input / output control. It is provided as firmware 8 for the processing device 7. The selective channel definition control unit 9 controls channel definition in the channel device 11. For example, when the channel device 11 is shared, the selective channel definition control unit 9 selects the shared channel device 11 and assigns it to the virtual machine 4.

更に、選択的チャネル定義制御部9は、CPU2からの構成情報を含むチャネル装置11に対する設定の指示に基づいて、複数の仮想マシン4の中の1個の仮想マシン4が選択中であり、かつ、他の仮想マシン4が休止中であるように、チャネル装置11の制御を行う。具体的には、チャネル装置11が共用である場合において、選択的チャネル定義制御部9は、選択的チャネル定義指示部5から受信した構成情報6を含むチャネル装置11に対する設定の指示に基づいて、チャネル装置11の設定を、割当てられた複数の仮想マシン4の中の1個の仮想マシン4が選択中であり、かつ、割当てられた他の仮想マシン4が休止中であるように制御する。特に、ホットスタンバイシステムにおいて、選択的チャネル定義制御部9は、選択的チャネル定義指示部5から受信した構成情報6を含むチャネル装置11に対する設定の指示に基づいて、チャネル装置11の設定を、割当てられた現用系の仮想マシン4が選択中であり、かつ、割当てられた待機系の仮想マシン4が休止中であるように制御する。これにより、後述するように、変更制御表10における選択的チャネル定義が定められる。   Further, the selective channel definition control unit 9 selects one virtual machine 4 among the plurality of virtual machines 4 based on a setting instruction from the CPU 2 to the channel device 11 including the configuration information, and Then, the channel device 11 is controlled so that the other virtual machines 4 are at rest. Specifically, when the channel device 11 is shared, the selective channel definition control unit 9 is based on a setting instruction for the channel device 11 including the configuration information 6 received from the selective channel definition instruction unit 5. The setting of the channel device 11 is controlled so that one virtual machine 4 among the plurality of assigned virtual machines 4 is being selected and the other assigned virtual machines 4 are being paused. In particular, in the hot standby system, the selective channel definition control unit 9 assigns the setting of the channel device 11 based on the setting instruction for the channel device 11 including the configuration information 6 received from the selective channel definition instruction unit 5. Control is performed so that the assigned active virtual machine 4 is being selected and the assigned standby virtual machine 4 is inactive. Thereby, as will be described later, the selective channel definition in the change control table 10 is determined.

なお、チャネル装置11は、後述するように、複数の仮想マシン4の中のいずれかの専用チャネルとして使用可能である。この場合、選択的チャネル定義制御部9が、チャネル装置11の設定を、複数の仮想マシン4のいずれかの専用であるように制御するようにしても良い。   As will be described later, the channel device 11 can be used as one of the dedicated channels in the plurality of virtual machines 4. In this case, the selective channel definition control unit 9 may control the setting of the channel device 11 so as to be dedicated to any one of the plurality of virtual machines 4.

変更制御表10は、仮想マシン4毎に、チャネル装置11の識別情報であるチャネル番号と、チャネル装置11の設定を定義するチャネル定義と、共用であるチャネル装置11における選択的な定義である選択的チャネル定義状態とを含む。変更制御表10は、共用チャネルの制御情報であり、例えば入出力制御処理装置7の備えるメモリに格納される。変更制御表10については、図2を参照して後述する。   The change control table 10 includes a channel number that is identification information of the channel device 11, a channel definition that defines the setting of the channel device 11, and a selection that is a selective definition in the shared channel device 11 for each virtual machine 4. Channel definition state. The change control table 10 is shared channel control information, and is stored in, for example, a memory included in the input / output control processing device 7. The change control table 10 will be described later with reference to FIG.

チャネル装置(CH)11は、入出力装置接続処理装置であり、ホストコンピュータ1において、入出力制御処理装置7とは別に設けられ、入出力制御処理装置7と並行動作可能なマイクロプロセッサとファームウェアにより構成される。チャネル装置11は、入出力制御処理装置7に接続される。   The channel device (CH) 11 is an input / output device connection processing device. In the host computer 1, a channel device (CH) 11 is provided separately from the input / output control processing device 7. Composed. The channel device 11 is connected to the input / output control processing device 7.

チャネル装置11には、入出力装置の一例として、例えば、磁気ディスク装置12、磁気テープ装置13が接続される。この時、図1に示すように、あるチャネル装置11には磁気ディスク装置12が接続され、他のチャネル装置11には磁気テープ装置13が接続される。   For example, a magnetic disk device 12 and a magnetic tape device 13 are connected to the channel device 11 as an example of an input / output device. At this time, as shown in FIG. 1, a magnetic disk device 12 is connected to one channel device 11 and a magnetic tape device 13 is connected to another channel device 11.

チャネル装置11は、入出力制御処理装置7と、入出力装置である磁気ディスク装置12及び磁気テープ装置13とのインタフェース制御を実行する。換言すれば、チャネル装置11は、入出力制御処理装置7と入出力装置である磁気ディスク装置12及び磁気テープ装置13との間のデータ転送の制御を専用に行う。   The channel device 11 executes interface control between the input / output control processing device 7 and the magnetic disk device 12 and magnetic tape device 13 which are input / output devices. In other words, the channel device 11 exclusively controls data transfer between the input / output control processing device 7 and the magnetic disk device 12 and magnetic tape device 13 which are input / output devices.

図1の例においては、チャネル装置11は、複数の仮想マシン4により共用される。なお、チャネル装置11は、複数の仮想マシン4の共用チャネルとして使用可能であると共に、複数の仮想マシン4の中のいずれかの専用チャネルとして使用可能である。   In the example of FIG. 1, the channel device 11 is shared by a plurality of virtual machines 4. The channel device 11 can be used as a shared channel for the plurality of virtual machines 4 and can be used as one of the dedicated channels in the plurality of virtual machines 4.

図2は、情報処理装置における処理の一例を示す図であり、構成情報6及び変更制御表10によるチャネル制御について示す。   FIG. 2 is a diagram illustrating an example of processing in the information processing apparatus, and illustrates channel control based on the configuration information 6 and the change control table 10.

構成情報6は、図2に示すように、仮想マシン4毎に格納される。構成情報6は、前述したように、ホットスタンバイシステムのペア識別情報と、ホットスタンバイシステムでの自仮想マシン4の運用状態とを含む。   The configuration information 6 is stored for each virtual machine 4 as shown in FIG. As described above, the configuration information 6 includes the pair identification information of the hot standby system and the operation state of the own virtual machine 4 in the hot standby system.

構成情報6は、操作者により、ホットスタンバイシステムの設定として入力される。例えば、操作者は、ホストコンピュータ1の外部から、キーボードを備える端末装置を用いて、構成情報6を入力する。ハイパーバイザ3は、構成情報6が入力されると、入力された構成情報6を選択的チャネル定義指示部5に送る。   The configuration information 6 is input as a setting of the hot standby system by the operator. For example, the operator inputs the configuration information 6 from the outside of the host computer 1 using a terminal device having a keyboard. When the configuration information 6 is input, the hypervisor 3 sends the input configuration information 6 to the selective channel definition instruction unit 5.

選択的チャネル定義指示部5は、構成設定部51と、通知部52とを含む。選択的チャネル定義指示部5は、構成情報6を受け取ると、受け取った構成情報6を構成設定部51に送る。構成設定部51は、構成情報6を受け取ると、受け取った構成情報6をモリに格納する。構成設定部51は、構成情報6をメモリに格納すると、構成情報6を入出力制御処理装置7に通知することを、通知部52に依頼する。   The selective channel definition instructing unit 5 includes a configuration setting unit 51 and a notification unit 52. Upon receiving the configuration information 6, the selective channel definition instruction unit 5 sends the received configuration information 6 to the configuration setting unit 51. Upon receiving the configuration information 6, the configuration setting unit 51 stores the received configuration information 6 in memory. When the configuration information 6 is stored in the memory, the configuration setting unit 51 requests the notification unit 52 to notify the input / output control processing device 7 of the configuration information 6.

ペア識別情報は、ホットスタンバイシステムのペアの設定情報である。ホットスタンバイシステムのペアは、仮想マシン4を識別する識別情報のペアであり、ペアとなる2個の仮想マシン4を示す。   The pair identification information is setting information for a hot standby system pair. The hot standby system pair is a pair of identification information for identifying the virtual machine 4 and indicates two virtual machines 4 to be paired.

例えば、ペア識別情報「0xFF」は、仮想マシン4がホットスタンバイシステムの構成ではないことを示す。ペア識別情報「0x02-0x03」は、仮想マシン4がホットスタンバイシステムの構成であることを示し、識別情報「0x02」の仮想マシン4と識別情報「0x03」の仮想マシン4とがホットスタンバイシステムのペアとなることを示す。   For example, the pair identification information “0xFF” indicates that the virtual machine 4 is not in a hot standby system configuration. The pair identification information “0x02-0x03” indicates that the virtual machine 4 has a hot standby system configuration, and the virtual machine 4 with the identification information “0x02” and the virtual machine 4 with the identification information “0x03” are in the hot standby system. Indicates a pair.

運用状態の初期値は、例えば操作者が入力する。具体的には、ペアとなる2個の仮想マシン4の一方を現用系、換言すれば、運用系の仮想マシン4とし、他方を待機系の仮想マシン4とするように、操作者が入力する。   For example, the operator inputs the initial value of the operation state. Specifically, the operator inputs so that one of the paired virtual machines 4 is the active system, in other words, the active virtual machine 4 and the other is the standby virtual machine 4. .

例えば、運用状態「運用系」は、自仮想マシン4が現用系、換言すれば、運用系の仮想マシン4であることを示す。運用状態「待機系」は、自仮想マシン4が待機系の仮想マシン4であることを示す。例えば、ペア識別情報「0x02-0x03」の前半の識別情報「0x02」の仮想マシン4を現用系とし、ペア識別情報「0x02-0x03」の後半の識別情報「0x03」の仮想マシン4を現用系とするようにしても良い。   For example, the operational state “active” indicates that the own virtual machine 4 is the active virtual machine 4, in other words, the active virtual machine 4. The operation state “standby” indicates that the own virtual machine 4 is a standby virtual machine 4. For example, the virtual machine 4 with the identification information “0x02” in the first half of the pair identification information “0x02-0x03” is used as the active system, and the virtual machine 4 with the identification information “0x03” in the second half of the pair identification information “0x02-0x03” is used as the active system. You may make it.

なお、運用状態を、例えば、仮想マシン4を制御するハイパーバイザ3が決定し、構成情報6に設定するようにしても良い。これにより、構成情報6において、ペアとなる2個の仮想マシン4の一方が現用系、換言すれば、運用系の仮想マシン4とされ、他方が待機系の仮想マシン4とされる。   The operating state may be determined by, for example, the hypervisor 3 that controls the virtual machine 4 and set in the configuration information 6. As a result, in the configuration information 6, one of the paired virtual machines 4 is the active virtual machine 4, in other words, the active virtual machine 4, and the other is the standby virtual machine 4.

一方、運用状態は、ホットスタンバイシステムの状態に応じて、ハイパーバイザ3により随時更新される。例えば、ハイパーバイザ3は、仮想マシン4を監視する。具体的には、ハイパーバイザ3は、予め定められた時間間隔で、周期的に、複数の仮想マシン4の各々に応答を要求する。仮想マシン4から応答がある場合には、ハイパーバイザ3は、仮想マシン4に異常がなく、閉塞状態でないと判断する。仮想マシン4から応答がない場合には、ハイパーバイザ3は、仮想マシン4に異常が発生して、閉塞状態であると判断する。   On the other hand, the operation state is updated as needed by the hypervisor 3 according to the state of the hot standby system. For example, the hypervisor 3 monitors the virtual machine 4. Specifically, the hypervisor 3 requests a response from each of the plurality of virtual machines 4 periodically at a predetermined time interval. When there is a response from the virtual machine 4, the hypervisor 3 determines that the virtual machine 4 has no abnormality and is not in a blocked state. If there is no response from the virtual machine 4, the hypervisor 3 determines that an abnormality has occurred in the virtual machine 4 and is in a blocked state.

仮想マシン4が閉塞状態であると判断した場合には、ハイパーバイザ3は、構成情報6の運用状態を変更する。例えば、その時点まで現用系であった識別情報「0x02」の仮想マシン4を待機系とし、その時点まで待機系であった識別情報「0x03」の仮想マシン4を現用系とする。そして、ハイパーバイザ3は、構成情報6の変更の通知を入出力制御処理装置7へ送ることを、選択的チャネル定義指示部5に依頼する。選択的チャネル定義指示部5は、構成情報6の変更の通知の依頼を受けると、受け取った構成情報6の変更の通知を構成設定部51に送る。構成設定部51は、構成情報6の変更の通知を受けると、構成情報6の変更を入出力制御処理装置7に通知することを、通知部52に依頼する。   When it is determined that the virtual machine 4 is in the blocked state, the hypervisor 3 changes the operation state of the configuration information 6. For example, the virtual machine 4 with the identification information “0x02” that was the active system until that time is set as the standby system, and the virtual machine 4 with the identification information “0x03” that was the standby system until that time is set as the active system. Then, the hypervisor 3 requests the selective channel definition instructing unit 5 to send a notification of the change of the configuration information 6 to the input / output control processing device 7. When the selective channel definition instructing unit 5 receives the request for notification of the change of the configuration information 6, the selective channel definition instructing unit 5 sends the received notification of the change of the configuration information 6 to the configuration setting unit 51. When receiving the notification of the change of the configuration information 6, the configuration setting unit 51 requests the notification unit 52 to notify the input / output control processing device 7 of the change of the configuration information 6.

通知部52は、構成設定部51からの依頼に応じて、構成情報6を入出力制御処理装置7に通知する。構成情報6は、前述したように、構成情報6が設定された場合、及び、構成情報6が変更された場合に、入出力制御処理装置7に通知される。この時、選択的チャネル定義指示部5は、変更後の構成情報6を通知しても、構成情報6の変更された部分のみを通知するようにしても良い。   The notification unit 52 notifies the input / output control processing device 7 of the configuration information 6 in response to a request from the configuration setting unit 51. As described above, the configuration information 6 is notified to the input / output control processing device 7 when the configuration information 6 is set and when the configuration information 6 is changed. At this time, the selective channel definition instructing unit 5 may notify the changed configuration information 6 or notify only the changed portion of the configuration information 6.

例えば、通知部52は、図2に示すように、DIAGNOZE命令21を生成し、構成情報6をコピーすることにより構成情報のコピー22を生成する。そして、通知部52は、DIAGNOZE命令21に構成情報のコピー22を付加し、構成情報のコピー22が付加されたDIAGNOZE命令21を、入出力制御処理装置7の選択的チャネル定義制御部9に送る。図1の例においては、DIAGNOZE命令21は、ハイパーバイザ3と入出力制御処理装置7との間において情報を受け渡す場合に用いられる命令である。   For example, as shown in FIG. 2, the notification unit 52 generates the DIAGNOZE instruction 21 and copies the configuration information 6 to generate the configuration information copy 22. Then, the notification unit 52 adds the configuration information copy 22 to the DIAGNOZE command 21 and sends the DIAGNOZE command 21 with the configuration information copy 22 added to the selective channel definition control unit 9 of the input / output control processing device 7. . In the example of FIG. 1, the DIAGNOZE instruction 21 is an instruction used when information is transferred between the hypervisor 3 and the input / output control processing device 7.

なお、実際には、通知部52は、構成情報6とは別に、チャネル装置11がいずれかの仮想マシン4の専用である場合に、該当する仮想マシン4の識別情報及びチャネル装置11のチャネル番号を、入出力制御処理装置7に通知する。入出力制御処理装置7は、該当する仮想マシン4の識別情報及びチャネル装置11のチャネル番号を、専用チャネルの管理情報として保持する。   Actually, the notification unit 52, apart from the configuration information 6, when the channel device 11 is dedicated to any one of the virtual machines 4, the identification information of the corresponding virtual machine 4 and the channel number of the channel device 11 To the input / output control processing device 7. The input / output control processing device 7 holds the identification information of the corresponding virtual machine 4 and the channel number of the channel device 11 as management information of the dedicated channel.

選択的チャネル定義制御部9は、受信部91と、変更制御表更新部92とを含む。選択的チャネル定義制御部9は、構成情報のコピー22が付加されたDIAGNOZE命令21を受け取ると、受け取ったDIAGNOZE命令21を受信部91に渡す。受信部91は、DIAGNOZE命令21を受け取ると、受け取ったDIAGNOZE命令21を変更制御表更新部92に渡す。   The selective channel definition control unit 9 includes a reception unit 91 and a change control table update unit 92. When the selective channel definition control unit 9 receives the DIAGNOZE command 21 to which the configuration information copy 22 is added, the selective channel definition control unit 9 passes the received DIAGNOZE command 21 to the reception unit 91. When receiving the DIAGNOZE instruction 21, the reception unit 91 passes the received DIAGNOZE instruction 21 to the change control table update unit 92.

変更制御表更新部92は、DIAGNOZE命令21を受け取ると、受け取ったDIAGNOZE命令21に基づいて、変更制御表10を生成し、又は、更新する。前述したように、DIAGNOZE命令21が構成情報6の設定に起因して送られたものである場合、変更制御表更新部92は、DIAGNOZE命令21に付加された構成情報のコピー22に基づいて、変更制御表10を生成する。DIAGNOZE命令21が構成情報6の変更に起因して送られたものである場合、変更制御表更新部92は、DIAGNOZE命令21に付加された構成情報のコピー22に基づいて、変更制御表10を更新する。   When receiving the DIAGNOZE instruction 21, the change control table updating unit 92 generates or updates the change control table 10 based on the received DIAGNOZE instruction 21. As described above, when the DIAGNOZE instruction 21 is sent due to the setting of the configuration information 6, the change control table update unit 92, based on the configuration information copy 22 added to the DIAGNOZE instruction 21, A change control table 10 is generated. When the DIAGNOZE instruction 21 is sent due to the change of the configuration information 6, the change control table update unit 92 updates the change control table 10 based on the copy 22 of the configuration information added to the DIAGNOZE instruction 21. Update.

変更制御表10は、図2に示すように、仮想マシン4毎に生成されて格納される。換言すれば、変更制御表10は、ホットスタンバイシステムとして設定された仮想マシン4の数だけ生成される。   The change control table 10 is generated and stored for each virtual machine 4 as shown in FIG. In other words, the change control tables 10 are generated as many as the number of virtual machines 4 set as the hot standby system.

変更制御表10は、前述したように、チャネル装置11の識別情報であるチャネル番号と、チャネル装置11の設定を定義するチャネル定義と、共用であるチャネル装置11における選択的な定義である選択的チャネル定義状態とを含む。換言すれば、変更制御表10は、チャネル番号毎に、当該仮想マシン4についてのチャネル定義と選択的チャネル定義状態とを格納する。   As described above, the change control table 10 is a channel number that is identification information of the channel device 11, a channel definition that defines the setting of the channel device 11, and a selective definition that is a selective definition in the shared channel device 11. Channel definition state. In other words, the change control table 10 stores a channel definition and a selective channel definition state for the virtual machine 4 for each channel number.

なお、図2において、選択的チャネル定義状態を、選択的共用チャネル定義状態と表している。また、以下において、選択的チャネル定義状態を、選択的共用チャネル定義状態ということがある。   In FIG. 2, the selective channel definition state is represented as a selective shared channel definition state. Hereinafter, the selective channel definition state may be referred to as a selective shared channel definition state.

チャネル定義、換言すれば、VMチャネル定義は、チャネル装置11の設定を示し、例えば、「共用チャネル」又は「専用チャネル」のいずれかとされる。「共用チャネル」は、チャネル装置11が複数の仮想マシン4の共用であることを示す。「専用チャネル」は、チャネル装置11が1又は複数の仮想マシン4の専用であることを示す。   The channel definition, in other words, the VM channel definition indicates the setting of the channel device 11 and is, for example, “shared channel” or “dedicated channel”. “Shared channel” indicates that the channel device 11 is shared by a plurality of virtual machines 4. “Dedicated channel” indicates that the channel device 11 is dedicated to one or more virtual machines 4.

選択的チャネル定義状態は、共用であるチャネル装置11の詳細な設定を示す。選択的チャネル定義状態は、共用であるチャネル装置11について使用される定義であって、チャネル定義より下位のチャネルの定義であり、例えば「選択中」又は「休止中」のいずれかとされる。「選択中」は、ホットスタンバイシステムにおける現用系の仮想マシン4に対応して設定され、共用であるチャネル装置11を優先的に使用することを示す。「休止中」は、ホットスタンバイシステムにおける待機系の仮想マシン4に対応して設定され、共用であるチャネル装置11を現用系に変更されるまで使用できないことを示す。   The selective channel definition state indicates a detailed setting of the channel device 11 that is shared. The selective channel definition state is a definition used for the channel device 11 that is shared, and is a definition of a channel lower than the channel definition, and is, for example, “selected” or “inactive”. “Selected” indicates that the shared channel device 11 is preferentially used in correspondence with the active virtual machine 4 in the hot standby system. “Inactive” indicates that the channel device 11 which is set corresponding to the standby virtual machine 4 in the hot standby system and cannot be used until the shared channel device 11 is changed to the active system.

変更制御表更新部92は、DIAGNOZE命令21に付加された構成情報のコピー22に含まれるペア識別情報に基づいて、該当する2個の仮想マシン4のチャネル定義を「共用チャネル」に設定する。また、変更制御表更新部92は、入出力制御処理装置7が保持する専用チャネルの管理情報に基づいて、該当する2個の仮想マシン4のチャネル定義を「専用チャネル」に設定する。なお、変更制御表10において、ホットスタンバイシステムを構成しない仮想マシン4についての「専用チャネル」の設定は行われない。ホットスタンバイシステムを構成しない仮想マシン4については、前述したように、専用チャネルの管理情報が入出力制御処理装置7により保持される。   The change control table update unit 92 sets the channel definitions of the corresponding two virtual machines 4 to “shared channel” based on the pair identification information included in the copy 22 of the configuration information added to the DIAGNOZE instruction 21. Further, the change control table updating unit 92 sets the channel definition of the corresponding two virtual machines 4 to “dedicated channel” based on the management information of the dedicated channel held by the input / output control processing device 7. In the change control table 10, the “dedicated channel” is not set for the virtual machine 4 that does not constitute the hot standby system. For the virtual machine 4 that does not constitute the hot standby system, the management information of the dedicated channel is held by the input / output control processing device 7 as described above.

更に、変更制御表更新部92は、DIAGNOZE命令21に付加された構成情報のコピー22に含まれる自仮想マシン4の運用状態に基づいて、該当する2個の仮想マシン4の選択的チャネル定義状態を「選択中」又は「休止中」に設定する。「選択中」は、運用状態が現用系、換言すれば、運用系である仮想マシン4に対応して設定される。「休止中」は、運用状態が待機系の仮想マシン4に対応して設定される。   Further, the change control table updating unit 92 selects the channel definition states of the two corresponding virtual machines 4 based on the operation state of the own virtual machine 4 included in the copy 22 of the configuration information added to the DIAGNOZE instruction 21. Is set to “Selecting” or “Inactive”. “Selected” is set corresponding to the virtual machine 4 that is in the active state, in other words, the active state. “Inactive” is set in correspondence with the virtual machine 4 whose operation state is the standby system.

次に、図3〜図5を参照して、ホットスタンバイシステムにおける仮想マシン4についての選択的チャネル定義状態の設定及び変更について説明する。   Next, the setting and changing of the selective channel definition state for the virtual machine 4 in the hot standby system will be described with reference to FIGS.

図3〜図5において、ホットスタンバイシステムは、仮想マシンVM#1及び仮想マシンVM#2により構成される。従って、ペア識別情報は、操作者により入力され、仮想マシンVM#1及び仮想マシンVM#2をペアとして指定する。入出力制御処理装置7が、仮想マシンVM#1及び仮想マシンVM#2がチャネル装置#1及びチャネル装置#2を共用するように設定する。ハイパーバイザ3が、仮想マシンVM#1を現用系に設定し、仮想マシンVM#2を待機系に設定する。従って、構成情報6において、仮想マシンVM#1の運用状態は現用系とされ、仮想マシンVM#2の運用状態は待機系とされる。   3 to 5, the hot standby system includes a virtual machine VM # 1 and a virtual machine VM # 2. Accordingly, the pair identification information is input by the operator and designates the virtual machine VM # 1 and the virtual machine VM # 2 as a pair. The input / output control processing device 7 sets so that the virtual machine VM # 1 and the virtual machine VM # 2 share the channel device # 1 and the channel device # 2. The hypervisor 3 sets the virtual machine VM # 1 as the active system and sets the virtual machine VM # 2 as the standby system. Therefore, in the configuration information 6, the operating state of the virtual machine VM # 1 is the active system, and the operating state of the virtual machine VM # 2 is the standby system.

図3は、情報処理装置の説明図であり、ホットスタンバイシステムが現用系の仮想マシン4で運用が開始された場合を示す。   FIG. 3 is an explanatory diagram of the information processing apparatus, and shows a case where the hot standby system starts operating on the active virtual machine 4.

ホットスタンバイシステムの運用開始の時点で、構成情報6において、前述したように、ペア識別情報により仮想マシンVM#1及び仮想マシンVM#2がペアとして指定されており、仮想マシンVM#1の運用状態は現用系とされ、仮想マシンVM#2の運用状態は待機系とされている。なお、図3において、構成情報6を、例えば「VM#1開設」のように図示している。選択的チャネル定義指示部5は、生成した構成情報6を選択的チャネル定義制御部9に送る。   At the time of starting the operation of the hot standby system, as described above, in the configuration information 6, the virtual machine VM # 1 and the virtual machine VM # 2 are designated as a pair by the pair identification information, and the operation of the virtual machine VM # 1 is performed. The state is the active system, and the operating state of the virtual machine VM # 2 is the standby system. In FIG. 3, the configuration information 6 is illustrated as “VM # 1 establishment”, for example. The selective channel definition instruction unit 5 sends the generated configuration information 6 to the selective channel definition control unit 9.

選択的チャネル定義制御部9は、受け取った構成情報6を含むチャネル装置11に対する設定の指示に基づいて、変更制御表10において、チャネル装置CH#1及びチャネル装置CH#2について、仮想マシンVM#1が選択中であり、仮想マシンVM#2が休止中であるとする。これにより、現用系である仮想マシンVM#1については、チャネル装置CH#1及びチャネル装置CH#2が専用チャネルと同等の動作をする。従って、前述したような、CPU2における共用チャネルの制御のためのオーバヘッドをなくしてCPU2の負担を軽減することができ、また、入出力制御処理装置7における共用チャネルの制御のためのオーバヘッドをなくして入出力制御処理装置7の負担を軽減することができる。   The selective channel definition control unit 9 uses the virtual machine VM # 1 for the channel device CH # 1 and the channel device CH # 2 in the change control table 10 based on the setting instruction for the channel device 11 including the received configuration information 6. It is assumed that 1 is selected and the virtual machine VM # 2 is dormant. As a result, for the virtual machine VM # 1 that is the active system, the channel device CH # 1 and the channel device CH # 2 perform the same operation as the dedicated channel. Therefore, the overhead for controlling the shared channel in the CPU 2 as described above can be eliminated to reduce the burden on the CPU 2, and the overhead for controlling the shared channel in the input / output control processing device 7 can be eliminated. The burden on the input / output control processing device 7 can be reduced.

変更制御表10の設定に従って、例えばチャネル装置CH#1が、仮想マシンVM#1が選択中であり仮想マシンVM#2が休止中であるように制御される。図3において、例えば、「VM#1=選択中・VM#2=休止中」からの矢印がチャネル装置CH#1を指すことにより、チャネル装置CH#1が仮想マシンVM#1が選択中であり仮想マシンVM#2が休止中であるように制御されていることを表している。チャネル装置CH#2についても、同様である。また、図4、図5、図14、図15においても、同様である。   In accordance with the setting of the change control table 10, for example, the channel device CH # 1 is controlled such that the virtual machine VM # 1 is being selected and the virtual machine VM # 2 is inactive. In FIG. 3, for example, an arrow from “VM # 1 = selected / VM # 2 = inactive” indicates the channel device CH # 1, so that the channel device CH # 1 is selected by the virtual machine VM # 1. This indicates that the virtual machine VM # 2 is controlled to be inactive. The same applies to channel device CH # 2. The same applies to FIGS. 4, 5, 14, and 15.

図4は、情報処理装置の説明図であり、ホットスタンバイシステムにおいて、現用系の仮想マシン4に障害が発生して、換言すれば、ダウンして、運用できなくなり、待機系の仮想マシン4を現用系の仮想マシン4に変更した場合を示す。なお、仮想マシン4がダウンしたことを仮想マシン4が閉塞した又は閉塞中であると言い、仮想マシン4がダウンしていないことを仮想マシン4が開設した又は開設中であると言う。   FIG. 4 is an explanatory diagram of the information processing apparatus. In the hot standby system, a failure occurs in the active virtual machine 4, in other words, it is down and cannot be operated, and the standby virtual machine 4 is A case where the virtual machine 4 is changed to the active virtual machine 4 is shown. Note that when the virtual machine 4 is down, it is said that the virtual machine 4 is blocked or being closed, and when the virtual machine 4 is not down, it is said that the virtual machine 4 has been opened or is being opened.

図3のホットスタンバイシステムの運用の開始の後、何らかの原因で、現用系の仮想マシンVM#1がダウンしたとする。仮想マシン4の状態を監視していたハイパーバイザ3は、仮想マシンVM#1のダウンを検出して、仮想マシンVM#1を現用系から待機系に変更し、仮想マシンVM#2を待機系から現用系に変更する。そこで、選択的チャネル定義指示部5は、仮想マシン4の現用系及び待機系の変更に応じて構成情報6を変更し、変更した構成情報6を選択的チャネル定義制御部9に通知する。なお、図4において、構成情報6を、例えば「VM#1閉塞」のように図示している。   Assume that the active virtual machine VM # 1 is down for some reason after the operation of the hot standby system in FIG. 3 is started. The hypervisor 3 that has monitored the state of the virtual machine 4 detects that the virtual machine VM # 1 is down, changes the virtual machine VM # 1 from the active system to the standby system, and sets the virtual machine VM # 2 to the standby system. Change from active to active. Therefore, the selective channel definition instructing unit 5 changes the configuration information 6 according to the change of the active system and the standby system of the virtual machine 4 and notifies the selective channel definition control unit 9 of the changed configuration information 6. In FIG. 4, the configuration information 6 is illustrated as “VM # 1 blockage”, for example.

選択的チャネル定義制御部9は、受け取った構成情報6を含むチャネル装置11に対する設定の指示に基づいて、変更制御表10を変更する。具体的には、選択的チャネル定義制御部9は、変更制御表10において、チャネル装置CH#1及びチャネル装置CH#2について、仮想マシンVM#1を選択中から休止中に変更し、仮想マシンVM#2を休止中から選択中に変更する。これにより、新たに現用系となった仮想マシンVM#2については、チャネル装置CH#1及びチャネル装置CH#2が専用チャネルと同等の動作をする。従って、CPU2における共用チャネルの制御のためのオーバヘッドをなくしてCPU2の負担を軽減することができ、また、入出力制御処理装置7における共用チャネルの制御のためのオーバヘッドをなくして入出力制御処理装置7の負担を軽減することができる。   The selective channel definition control unit 9 changes the change control table 10 based on a setting instruction for the channel device 11 including the received configuration information 6. Specifically, the selective channel definition control unit 9 changes the virtual machine VM # 1 from the selected state to the inactive state for the channel device CH # 1 and the channel device CH # 2 in the change control table 10, and VM # 2 is changed from being paused to being selected. As a result, for the virtual machine VM # 2 that has newly become the active system, the channel device CH # 1 and the channel device CH # 2 perform the same operation as the dedicated channel. Therefore, it is possible to reduce the burden on the CPU 2 by eliminating the overhead for controlling the shared channel in the CPU 2, and to eliminate the overhead for controlling the shared channel in the input / output control processing device 7. 7 can be reduced.

図5は、情報処理装置の説明図であり、ホットスタンバイシステムにおいて、待機系の仮想マシン4の運用から現用系の仮想マシン4での運用に戻した場合を示す。   FIG. 5 is an explanatory diagram of the information processing apparatus, and shows a case where the operation of the standby virtual machine 4 is returned to the operation of the active virtual machine 4 in the hot standby system.

図4のダウンした仮想マシンVM#1が復旧したとする。仮想マシン4の状態を監視していたハイパーバイザ3は、仮想マシンVM#1の復旧を検出して、仮想マシンVM#1を待機系から現用系に変更し、仮想マシンVM#2を現用系から待機系に変更する。そこで、選択的チャネル定義指示部5は、仮想マシン4の現用系及び待機系の変更に応じて構成情報6を変更し、変更した構成情報6を選択的チャネル定義制御部9に通知する。なお、図3において、構成情報6を、例えば「VM#1開設」のように図示している。   Assume that the down virtual machine VM # 1 in FIG. 4 is restored. The hypervisor 3 that has monitored the state of the virtual machine 4 detects the recovery of the virtual machine VM # 1, changes the virtual machine VM # 1 from the standby system to the active system, and changes the virtual machine VM # 2 to the active system Change from standby to standby. Therefore, the selective channel definition instructing unit 5 changes the configuration information 6 according to the change of the active system and the standby system of the virtual machine 4 and notifies the selective channel definition control unit 9 of the changed configuration information 6. In FIG. 3, the configuration information 6 is illustrated as “VM # 1 establishment”, for example.

選択的チャネル定義制御部9は、受け取った構成情報6を含むチャネル装置11に対する設定の指示に基づいて、変更制御表10を変更する。具体的には、選択的チャネル定義制御部9は、変更制御表10において、チャネル装置CH#1及びチャネル装置CH#2について、仮想マシンVM#1を休止中から選択中に変更し、仮想マシンVM#2を選択中から休止中に変更する。これにより、新たに現用系となった仮想マシンVM#1については、チャネル装置CH#1及びチャネル装置CH#2が専用チャネルと同等の動作をする。従って、CPU2における共用チャネルの制御のためのオーバヘッドをなくしてCPU2の負担を軽減することができ、また、入出力制御処理装置7における共用チャネルの制御のためのオーバヘッドをなくして入出力制御処理装置7の負担を軽減することができる。   The selective channel definition control unit 9 changes the change control table 10 based on a setting instruction for the channel device 11 including the received configuration information 6. Specifically, the selective channel definition control unit 9 changes the virtual machine VM # 1 from the dormant state to the selected state for the channel device CH # 1 and the channel device CH # 2 in the change control table 10, and the virtual machine The VM # 2 is changed from being selected to being paused. As a result, for the virtual machine VM # 1 that has newly become the active system, the channel device CH # 1 and the channel device CH # 2 perform the same operation as the dedicated channel. Therefore, it is possible to reduce the burden on the CPU 2 by eliminating the overhead for controlling the shared channel in the CPU 2, and to eliminate the overhead for controlling the shared channel in the input / output control processing device 7. 7 can be reduced.

以上のように、現用系の仮想マシン4がチャネル装置11を使用する場合には、あたかも現用系の専用チャネルとして動作し、待機系の仮想マシン4がチャネル装置11を使用する場合には、待機系を現用系に変更することにより、あたかも待機系、換言すれば、新たな現用系の専用チャネルとして動作する。これにより、ホットスタンバイシステムにおいても、専用チャネルを使用した場合と同等の性能を得ることができる。   As described above, when the active virtual machine 4 uses the channel device 11, it operates as a dedicated channel for the active system, and when the standby virtual machine 4 uses the channel device 11, it stands by. By changing the system to the active system, it operates as a standby system, in other words, as a new dedicated channel for the active system. As a result, even in a hot standby system, the same performance as when a dedicated channel is used can be obtained.

更に、図4に示すように、仮想マシン4に障害が発生した場合においても、共用のチャネル装置11があたかも現用系の専用チャネルとして動作するので、チャネル装置11を共用する他の仮想マシン4を考慮してリカバリに利用できるリセット命令を制限する必要がない。従って、通常の共用チャネルと比較して、リカバリ可能な障害の範囲を広くすることができる。なお、従来は、チャネル装置11を共用する別の仮想マシン4を考慮して、リカバリに利用できるリセット命令を、専用チャネルに比べて制限する必要があったので、障害発生時のリカバリに制限があり、リカバリ可能な障害の範囲が狭かった。   Further, as shown in FIG. 4, even when a failure occurs in the virtual machine 4, the shared channel device 11 operates as if it is a dedicated channel for the active system. There is no need to limit the reset commands available for recovery in consideration. Therefore, the range of recoverable failures can be widened as compared with a normal shared channel. Conventionally, in consideration of another virtual machine 4 that shares the channel device 11, it is necessary to limit the reset command that can be used for recovery compared to the dedicated channel, so there is a limit to recovery when a failure occurs. Yes, the scope of recoverable failures was narrow.

また、図4〜図5に示すように、共用チャネルを使用する仮想マシン4を、現用系の仮想マシン4から待機系の仮想マシン4に変更することができる。なお、従来は、仮想マシン4のダウン時において、共用チャネルを使用する仮想マシン4を、現用系の仮想マシン4から待機系の仮想マシン4に変更するためには、操作者による処理が必要であった。このため、ハイパーバイザ3における仮想マシン4の現用系から待機系への切り替えはできても、仮想マシン4のダウンに応じて、即時に共用チャネルを使用する仮想マシン4を、現用系の仮想マシン4から待機系の仮想マシン4に変更することはできなかった。   Further, as shown in FIGS. 4 to 5, the virtual machine 4 that uses the shared channel can be changed from the active virtual machine 4 to the standby virtual machine 4. Conventionally, when the virtual machine 4 is down, in order to change the virtual machine 4 using the shared channel from the active virtual machine 4 to the standby virtual machine 4, processing by the operator is required. there were. For this reason, even if the virtual machine 4 in the hypervisor 3 can be switched from the active system to the standby system, the virtual machine 4 that uses the shared channel immediately becomes the active virtual machine when the virtual machine 4 goes down. It was not possible to change from 4 to the standby virtual machine 4.

図6は、情報処理装置におけるチャネル処理フローであり、構成情報6の設定時のホストコンピュータ1における全体処理を示す。   FIG. 6 is a channel processing flow in the information processing apparatus, and shows the overall processing in the host computer 1 when the configuration information 6 is set.

構成設定部51が構成情報6の設定を実行し(ステップS11)、構成情報6の設定の通知をハイパーバイザ3に送る。構成設定部51における構成情報6の設定については、図9を参照して後述する。ハイパーバイザ3は、構成情報6の設定の通知を受け取ると、受け取った構成情報6を含むチャネル装置11に対する設定の指示を、通知部52に依頼する(ステップS12)。   The configuration setting unit 51 sets the configuration information 6 (step S11), and sends a notification of the configuration information 6 setting to the hypervisor 3. Setting of the configuration information 6 in the configuration setting unit 51 will be described later with reference to FIG. When the hypervisor 3 receives the notification of the setting of the configuration information 6, the hypervisor 3 requests the notification unit 52 to set the channel device 11 including the received configuration information 6 (step S12).

通知部52は、構成情報6を含むチャネル装置11に対する設定の指示の依頼を受け取ると、構成情報6を含むチャネル装置11に対する設定の指示を受信部91に送る(ステップS13)。ステップS13については、図10を参照して後述する。   When the notification unit 52 receives a request for a setting instruction for the channel device 11 including the configuration information 6, the notification unit 52 transmits a setting instruction for the channel device 11 including the configuration information 6 to the reception unit 91 (step S13). Step S13 will be described later with reference to FIG.

受信部91は、通知部52から送られた構成情報6を含むチャネル装置11に対する設定の指示を受け取る(ステップS14)。ステップS14については、図11を参照して後述する。受信部91は、通知部52から受け取った構成情報6を含むチャネル装置11に対する設定の指示を、変更制御表更新部92に送る。   The receiving unit 91 receives a setting instruction for the channel device 11 including the configuration information 6 sent from the notification unit 52 (step S14). Step S14 will be described later with reference to FIG. The receiving unit 91 sends a setting instruction for the channel device 11 including the configuration information 6 received from the notification unit 52 to the change control table updating unit 92.

変更制御表更新部92は、受信部91から構成情報6を含むチャネル装置11に対する設定の指示を受け取ると、受け取った構成情報6を含むチャネル装置11に対する設定の指示に基づいて、変更制御表10を変更する(ステップS15)。ステップS15については、図12を参照して後述する。   When the change control table updating unit 92 receives a setting instruction for the channel device 11 including the configuration information 6 from the receiving unit 91, the change control table update unit 92 is based on the setting instruction for the channel device 11 including the received configuration information 6. Is changed (step S15). Step S15 will be described later with reference to FIG.

図7は、情報処理装置におけるチャネル処理フローであり、入出力命令の実行時のホストコンピュータ1における全体処理を示す。   FIG. 7 is a channel processing flow in the information processing apparatus, and shows the overall processing in the host computer 1 when an input / output command is executed.

仮想マシン4から発行された入出力命令は、OSに送られ、OSから入出力制御処理装置7に送られる。この時、入出力命令はハイパーバイザ3によりインターセプトされることはなく、ハイパーバイザ3は仮想マシン4から発行された入出力命令を処理しない。従って、ハイパーバイザ3、換言すれば、CPU2における共用チャネルの制御のためのオーバヘッドをなくすことができる。   The input / output command issued from the virtual machine 4 is sent to the OS, and is sent from the OS to the input / output control processing device 7. At this time, the input / output command is not intercepted by the hypervisor 3, and the hypervisor 3 does not process the input / output command issued from the virtual machine 4. Therefore, the overhead for controlling the shared channel in the hypervisor 3, in other words, the CPU 2 can be eliminated.

入出力制御処理装置7は、仮想マシン4から発行された入出力命令を受け取り、受け取った入出力命令において指定されたチャネルが共用チャネルである場合には、受け取った入出力命令を用いて変更制御表10を参照する(ステップS21)。そして、入出力制御処理装置7は、変更制御表10の参照結果に基づいて、チャネル処理を実行する(ステップS22)。ステップS21及びS22、換言すれば、入出力制御処理装置7におけるチャネル処理については、図13を参照して後述する。   The input / output control processing device 7 receives an input / output command issued from the virtual machine 4, and when the channel specified in the received input / output command is a shared channel, change control is performed using the received input / output command. Refer to Table 10 (step S21). Then, the input / output control processing device 7 executes channel processing based on the reference result of the change control table 10 (step S22). Steps S21 and S22, in other words, channel processing in the input / output control processing device 7 will be described later with reference to FIG.

図8は、情報処理装置におけるチャネル処理フローであり、仮想マシン4のダウン時のホストコンピュータ1における全体処理を示す。   FIG. 8 is a channel processing flow in the information processing apparatus, and shows the overall processing in the host computer 1 when the virtual machine 4 is down.

仮想マシン4が何らかの原因でダウンして、閉塞したとする。ハイパーバイザ3は、仮想マシン4から予め定められた応答が得られないと、応答を返さない仮想マシン4が何らかの原因で閉塞したと判断する(ステップS31)。そして、ハイパーバイザ3は、仮想マシン4の閉塞を検出すると、検出した仮想マシン4の閉塞の通知を、通知部52に依頼する。なお、実際には、仮想マシン4の閉塞の通知を構成情報6として含むチャネル装置11に対する設定の指示が依頼され、送受される。   It is assumed that the virtual machine 4 is down for some reason and is blocked. If a predetermined response cannot be obtained from the virtual machine 4, the hypervisor 3 determines that the virtual machine 4 that does not return a response has been blocked for some reason (step S31). When the hypervisor 3 detects the blockage of the virtual machine 4, the hypervisor 3 requests the notification unit 52 to notify the blockage of the detected virtual machine 4. In practice, a setting instruction to the channel device 11 including the notification of the blockage of the virtual machine 4 as the configuration information 6 is requested and transmitted / received.

通知部52は、仮想マシン4の閉塞の通知の依頼を受け取ると、仮想マシン4の閉塞の通知を受信部91に送る(ステップS32)。通知部52における構成情報6の通知については、図10を参照して後述する。   When the notification unit 52 receives the request for notification of the closure of the virtual machine 4, the notification unit 52 sends a notification of the closure of the virtual machine 4 to the reception unit 91 (step S32). The notification of the configuration information 6 in the notification unit 52 will be described later with reference to FIG.

受信部91は、通知部52から送られた仮想マシン4の閉塞の通知を受け取る(ステップS33)。受信部91における仮想マシン4の閉塞の通知の受け取りについては、図11を参照して後述する。受信部91は、通知部52から受け取った仮想マシン4の閉塞の通知を、変更制御表更新部92に送る。なお、受信部91は、図4に示すように、CPU2の選択的チャネル定義指示部5の通知部52から、仮想マシン4の閉塞の通知を受け取る場合がある。   The receiving unit 91 receives the notification of the blockage of the virtual machine 4 sent from the notification unit 52 (step S33). The reception of the notification of the blockage of the virtual machine 4 in the reception unit 91 will be described later with reference to FIG. The reception unit 91 sends the notification of the blockage of the virtual machine 4 received from the notification unit 52 to the change control table update unit 92. Note that, as illustrated in FIG. 4, the receiving unit 91 may receive a notification of blockage of the virtual machine 4 from the notification unit 52 of the selective channel definition instruction unit 5 of the CPU 2.

変更制御表更新部92は、受信部91から仮想マシン4の閉塞の通知を受け取ると、受け取った仮想マシン4の閉塞の通知に基づいて、変更制御表10を変更する(ステップS34)。変更制御表更新部92における変更制御表10の変更については、図12を参照して後述する。   When receiving the notification of the blockage of the virtual machine 4 from the reception unit 91, the change control table update unit 92 changes the change control table 10 based on the received notification of the blockage of the virtual machine 4 (step S34). The change of the change control table 10 in the change control table update unit 92 will be described later with reference to FIG.

図9は、構成設定処理フローであり、構成設定部51における構成情報6の設定について示す。   FIG. 9 is a configuration setting processing flow and shows the setting of the configuration information 6 in the configuration setting unit 51.

構成設定部51は、構成情報6において、ペア識別情報pair_vmに「0x00」を設定し、運用状態own_stsに「0x00」を設定する(ステップS41)。これにより、構成情報6において、ペア識別情報pair_vm及び運用状態own_stsがリセットされる。   In the configuration information 6, the configuration setting unit 51 sets “0x00” to the pair identification information pair_vm and sets “0x00” to the operation state own_sts (step S41). As a result, in the configuration information 6, the pair identification information pair_vm and the operation state own_sts are reset.

この後、操作者により構成情報を含むチャネル装置11に対する設定の指示が入力されると(ステップS42)、構成設定部51は、入力された構成情報を取り込んで、構成情報におけるペア識別情報、換言すれば、ペア識別値は有効か否かを判断する(ステップS43)。ペア識別値が有効でない場合(ステップS43 NO)、構成設定部51は、ステップS42を繰り返す。   Thereafter, when an instruction for setting the channel device 11 including the configuration information is input by the operator (step S42), the configuration setting unit 51 takes in the input configuration information and sets the pair identification information in the configuration information, in other words, Then, it is determined whether or not the pair identification value is valid (step S43). When the pair identification value is not valid (NO in step S43), the configuration setting unit 51 repeats step S42.

ペア識別値が有効である場合(ステップS43 YES)、構成設定部51は、ペア識別情報pair_vmにペア識別値を代入した後に(ステップS44)、ペア識別情報pair_vmが「0xFF」であるか否かを判断する(ステップS45)。   If the pair identification value is valid (YES in step S43), the configuration setting unit 51 assigns the pair identification value to the pair identification information pair_vm (step S44), and then determines whether the pair identification information pair_vm is “0xFF”. Is determined (step S45).

ペア識別情報pair_vmが「0xFF」でない場合(ステップS45 NO)、構成設定部51は、入力された自仮想マシン運用状態は有効か否かを判断する(ステップS46)。自仮想マシン運用状態が有効でない場合(ステップS46 NO)、構成設定部51は、ステップS42を繰り返す。   When the pair identification information pair_vm is not “0xFF” (NO in step S45), the configuration setting unit 51 determines whether or not the input virtual machine operating state is valid (step S46). When the own virtual machine operation state is not valid (NO in step S46), the configuration setting unit 51 repeats step S42.

自仮想マシン運用状態が有効である場合(ステップS46 YES)、構成設定部51は、ホットスタンバイシステムにおけるペアとなる仮想マシン4の構成情報6が存在するか否かを判断する(ステップS47)。ペアとなる仮想マシン4の構成情報6が存在しない場合(ステップS47 NO)、構成設定部51は、ステップS48を省略してステップS49を実行する。   When the own virtual machine operation state is valid (step S46 YES), the configuration setting unit 51 determines whether or not the configuration information 6 of the virtual machine 4 to be paired in the hot standby system exists (step S47). When the configuration information 6 of the virtual machine 4 to be paired does not exist (NO in step S47), the configuration setting unit 51 omits step S48 and executes step S49.

ペアとなる仮想マシン4の構成情報6が存在する場合(ステップS47 YES)、構成設定部51は、ペアとなる仮想マシン4同士で、現用系、換言すれば、運用系と、待機系とが重複して設定されていないか否かを判断する(ステップS48)。運用系と待機系とが重複して設定されている場合(ステップS48 NO)、構成設定部51は、ステップS42を繰り返す。   When the configuration information 6 of the paired virtual machines 4 is present (YES in step S47), the configuration setting unit 51 determines whether the active system, in other words, the active system and the standby system, exist between the paired virtual machines 4. It is determined whether or not the setting is duplicated (step S48). When the active system and the standby system are set redundantly (NO in step S48), the configuration setting unit 51 repeats step S42.

運用系と待機系とが重複して設定されていない場合(ステップS48 YES)、構成設定部51は、運用状態own_stsに入力された自仮想マシン運用状態の値を代入した後(ステップS49)、通知部52での処理を実行する(ステップS410)。   When the active system and the standby system are not set redundantly (step S48 YES), the configuration setting unit 51 substitutes the value of the own virtual machine operating state input to the operating state own_sts (step S49). Processing in the notification unit 52 is executed (step S410).

ステップS45において、ペア識別情報pair_vmが「0xFF」である場合(ステップS45 YES)、構成設定部51は、ステップS46〜S49を省略して、ステップS410を実行する。   In step S45, when the pair identification information pair_vm is “0xFF” (YES in step S45), the configuration setting unit 51 omits steps S46 to S49 and executes step S410.

図10は、通知処理フローであり、ステップS13において実行される通知部52における構成情報6の通知について示す。   FIG. 10 is a notification processing flow and shows the notification of the configuration information 6 in the notification unit 52 executed in step S13.

通知部52は、ハイパーバイザ3から構成情報6の設定の通知の依頼を受け取ると、設定された構成情報6として、ペア識別情報pair_vmと運用状態own_stsとを受信部91に送る(ステップS51)。なお、実際には、構成情報6を含むチャネル装置11に対する設定の指示が依頼され、送受される。   When the notification unit 52 receives a request for notification of setting of the configuration information 6 from the hypervisor 3, the notification unit 52 sends the pair identification information pair_vm and the operation state own_sts as the set configuration information 6 to the reception unit 91 (step S51). In practice, a setting instruction for the channel device 11 including the configuration information 6 is requested and transmitted / received.

図11は、受信処理フローであり、ステップS14において実行される受信部91における構成情報6の受け取りについて示す。   FIG. 11 is a reception processing flow, and shows the reception of the configuration information 6 in the reception unit 91 executed in step S14.

受信部91は、構成情報6、換言すれば、仮想マシン4の開設又は閉塞の通知を待ち合わせて(ステップS61)、通知部52から送られたペア識別情報pair_vmと運用状態own_stsとを受け取る。受信部91は、通知部52から受け取った構成情報6を、変更制御表更新部92に送る。なお、実際には、仮想マシン4の開設又は閉塞の通知を構成情報6として含むチャネル装置11に対する設定の指示が待ち合わされ、送受される。   The receiving unit 91 waits for the configuration information 6, in other words, notification of opening or closing of the virtual machine 4 (step S 61), and receives the pair identification information pair_vm and the operation state own_sts sent from the notification unit 52. The receiving unit 91 sends the configuration information 6 received from the notification unit 52 to the change control table update unit 92. Actually, a setting instruction for the channel device 11 including the notification of opening or closing of the virtual machine 4 as the configuration information 6 is waited for and transmitted / received.

変更制御表更新部92は、受信部91からペア識別情報pair_vmと運用状態own_stsとを受け取ると、受け取ったペア識別情報pair_vmと運用状態own_stsとに基づいて、変更制御表10を変更し(ステップS62)、この後、ステップS61を繰り返す。   When receiving the pair identification information pair_vm and the operation state down_sts from the reception unit 91, the change control table update unit 92 changes the change control table 10 based on the received pair identification information pair_vm and the operation state own_sts (step S62). Thereafter, step S61 is repeated.

なお、ステップS61は図6のステップS14及び図8のステップS33に相当し、ステップS62は図6のステップS15及び図8のステップS34に相当する。従って、入出力制御処理装置7においては、実際には、ステップS14及びステップS33に示す受信処理と、ステップS15及びステップS34に示す変更制御表10の変更処理とが、構成情報6を含むチャネル装置11に対する設定の指示の受信の都度に繰り返される。   Step S61 corresponds to step S14 in FIG. 6 and step S33 in FIG. 8, and step S62 corresponds to step S15 in FIG. 6 and step S34 in FIG. Therefore, in the input / output control processing device 7, the channel device in which the reception processing shown in steps S 14 and S 33 and the change processing of the change control table 10 shown in steps S 15 and S 34 actually include the configuration information 6. 11 is repeated each time a setting instruction for 11 is received.

図12は、変更制御処理フローであり、ステップS15において実行される変更制御表更新部92における変更制御表10の変更について示す。   FIG. 12 is a change control processing flow, and shows the change of the change control table 10 in the change control table update unit 92 executed in step S15.

変更制御表更新部92は、ホットスタンバイシステムにおけるペアとなる仮想マシン4の識別情報が「0xFF」であるか否かを判断する(ステップS71)。識別情報pair_vmが「0xFF」である場合(ステップS71 YES)、変更制御表更新部92は、処理を終了する。   The change control table updating unit 92 determines whether or not the identification information of the virtual machine 4 that is a pair in the hot standby system is “0xFF” (step S71). When the identification information pair_vm is “0xFF” (step S71 YES), the change control table update unit 92 ends the process.

識別情報pair_vmが「0xFF」でない場合(ステップS71 NO)、変更制御表更新部92は、仮想マシン4が開設されたのか、又は、閉塞したのかを判断する(ステップS72)。   When the identification information pair_vm is not “0xFF” (NO in step S71), the change control table update unit 92 determines whether the virtual machine 4 is opened or closed (step S72).

仮想マシン4が開設された場合、変更制御表更新部92は、チャネル番号lchaに「0x00」を設定してリセットした後(ステップS73)、チャネル番号lchaが例えば「0x3F」より大きいか否かを判断する(ステップS74)。ここで、「0x3F」はチャネル番号lchaの最大値である。チャネル番号lchaの最大値は、「0x3F」に限られず、種々の値を取ることができる。チャネル番号lchaが「0x3F」より大きい場合(ステップS74 YES)、変更制御表更新部92は、処理を終了する。   When the virtual machine 4 is established, the change control table update unit 92 sets and resets the channel number lcha to “0x00” (step S73), and then checks whether the channel number lcha is greater than “0x3F”, for example. Judgment is made (step S74). Here, “0x3F” is the maximum value of the channel number lcha. The maximum value of the channel number lcha is not limited to “0x3F” and can take various values. When the channel number lcha is larger than “0x3F” (step S74 YES), the change control table update unit 92 ends the process.

チャネル番号lchaが「0x3F」より大きくない場合(ステップS74 NO)、変更制御表更新部92は、変更制御表10のチャネル定義、換言すれば、VMチャネル定義を、該当するチャネル装置11に設定する(ステップS75)。この後、変更制御表更新部92は、変更制御表10において、チャネル番号lchaのチャネル定義が共用チャネルであるか否かを判断する(ステップS76)。   When the channel number lcha is not greater than “0x3F” (NO in step S74), the change control table update unit 92 sets the channel definition of the change control table 10, in other words, the VM channel definition in the corresponding channel device 11. (Step S75). Thereafter, the change control table updating unit 92 determines whether or not the channel definition of the channel number lcha is a shared channel in the change control table 10 (step S76).

チャネル番号lchaのチャネル定義が共用チャネルである場合(ステップS76 YES)、変更制御表更新部92は、ペアとなる仮想マシン4が開設中であるか否かを判断する(ステップS77)。   When the channel definition of the channel number lcha is a shared channel (step S76 YES), the change control table update unit 92 determines whether or not the paired virtual machine 4 is being opened (step S77).

ペアとなる仮想マシン4が開設中でない場合(ステップS77 NO)、変更制御表更新部92は、変更制御表10において、チャネル番号lchaに対応する選択的チャネル定義状態を選択中に設定する(ステップS78)。この後、変更制御表更新部92は、チャネル番号lchaをインクリメントして(ステップS79)、ステップS74を繰り返す。   If the paired virtual machine 4 is not open (NO in step S77), the change control table updating unit 92 sets the selective channel definition state corresponding to the channel number lcha in the change control table 10 to be selected (step). S78). Thereafter, the change control table updating unit 92 increments the channel number lcha (step S79) and repeats step S74.

ペアとなる仮想マシン4が開設中である場合(ステップS77 YES)、変更制御表更新部92は、自仮想マシン4の運用状態が現用系、換言すれば、運用系であるか否かを判断する(ステップS710)。自仮想マシン4の運用状態が運用系でない場合(ステップS710 NO)、変更制御表更新部92は、変更制御表10において、チャネル番号lchaに対応する選択的チャネル定義状態を休止中に設定する(ステップS711)。この後、変更制御表更新部92は、ステップS79を実行する。   When the paired virtual machine 4 is being opened (YES in step S77), the change control table update unit 92 determines whether the operation state of the own virtual machine 4 is the active system, in other words, the active system. (Step S710). When the operation state of the own virtual machine 4 is not the active system (NO in step S710), the change control table update unit 92 sets the selective channel definition state corresponding to the channel number lcha in the change control table 10 to be dormant ( Step S711). Thereafter, the change control table updating unit 92 executes Step S79.

自仮想マシン4の運用状態が運用系である場合(ステップS710 YES)、変更制御表更新部92は、ペアとなる仮想マシン4についての変更制御表10において、チャネル番号lchaに対応する選択的チャネル定義状態を休止中に設定する(ステップS712)。更に、変更制御表更新部92は、変更制御表10において、チャネル番号lchaに対応する選択的チャネル定義状態を選択中に設定する(ステップS713)。この後、変更制御表更新部92は、ステップS79を実行する。   When the operation state of the own virtual machine 4 is active (YES in step S710), the change control table update unit 92 selects the selective channel corresponding to the channel number lcha in the change control table 10 for the virtual machine 4 that is a pair. The definition state is set to resting (step S712). Furthermore, the change control table update unit 92 sets the selective channel definition state corresponding to the channel number lcha in the change control table 10 to be selected (step S713). Thereafter, the change control table updating unit 92 executes Step S79.

一方、ステップS72において、仮想マシン4が閉塞した場合、変更制御表更新部92は、チャネル番号lchaに「0x00」を設定してリセットした後(ステップS714)、チャネル番号lchaが例えば「0x3F」より大きいか否かを判断する(ステップS715)。チャネル番号lchaが「0x3F」より大きい場合(ステップS715 YES)、変更制御表更新部92は、処理を終了する。   On the other hand, when the virtual machine 4 is blocked in step S72, the change control table update unit 92 resets the channel number lcha by setting “0x00” (step S714), and then the channel number lcha is, for example, “0x3F”. It is determined whether it is larger (step S715). If the channel number lcha is greater than “0x3F” (YES in step S715), the change control table update unit 92 ends the process.

チャネル番号lchaが「0x3F」より大きくない場合(ステップS715 NO)、変更制御表更新部92は、変更制御表10において、チャネル番号lchaのチャネル定義が共用チャネルであるか否かを判断する(ステップS716)。   If the channel number lcha is not greater than “0x3F” (NO in step S715), the change control table update unit 92 determines whether or not the channel definition of the channel number lcha is a shared channel in the change control table 10 (step S715). S716).

チャネル番号lchaのチャネル定義が共用チャネルである場合(ステップS716 YES)、変更制御表更新部92は、変更制御表10において、チャネル番号lchaに対応する選択的チャネル定義状態を休止中に設定する(ステップS717)。この後、変更制御表更新部92は、ペアとなる仮想マシン4が開設中であるか否かを判断する(ステップS718)。   When the channel definition of the channel number lcha is a shared channel (YES in step S716), the change control table update unit 92 sets the selective channel definition state corresponding to the channel number lcha in the change control table 10 to be dormant ( Step S717). Thereafter, the change control table update unit 92 determines whether or not the paired virtual machine 4 is being opened (step S718).

ペアとなる仮想マシン4が開設中である場合(ステップS718 YES)、変更制御表更新部92は、ペアとなる仮想マシン4についての変更制御表10において、チャネル番号lchaに対応する選択的チャネル定義状態を選択中に設定する(ステップS719)。この後、変更制御表更新部92は、チャネル番号lchaをインクリメントして(ステップS720)、ステップS715を繰り返す。   When the paired virtual machine 4 is being opened (YES in step S718), the change control table updating unit 92 selects the selective channel definition corresponding to the channel number lcha in the change control table 10 for the paired virtual machine 4. The state is set during selection (step S719). Thereafter, the change control table update unit 92 increments the channel number lcha (step S720) and repeats step S715.

ステップS716において、チャネル番号lchaのチャネル定義が共用チャネルである場合(ステップS716 NO)、変更制御表更新部92は、ステップS717〜S719を省略して、ステップS720を実行する。   In step S716, when the channel definition of the channel number lcha is a shared channel (NO in step S716), the change control table update unit 92 omits steps S717 to S719 and executes step S720.

また、ステップS718において、ペアとなる仮想マシン4が開設中でない場合(ステップS718 NO)、変更制御表更新部92は、ステップS719を省略して、ステップS720を実行する。   In step S718, if the paired virtual machine 4 is not open (NO in step S718), the change control table update unit 92 omits step S719 and executes step S720.

図13は、チャネル処理フローであり、ステップS21及びS22において実行される入出力制御処理装置7におけるチャネル処理について示す。   FIG. 13 is a channel processing flow and shows channel processing in the input / output control processing device 7 executed in steps S21 and S22.

入出力制御処理装置7は、CPU2のOSから仮想マシン4から発行された入出力命令を受け取ると、受け取った入出力命令において指定されたチャネルが専用チャネルか否かを判断する(ステップS81)。指定されたチャネルが共用チャネルである場合には、入出力制御処理装置7は、受け取った入出力命令を用いて変更制御表10を参照して、指定されたチャネルの選択的チャネル定義の状態が選択中であるか休止中であるかを判断する(ステップS82)。この時、入出力制御処理装置7は、受け取った入出力命令を用いて、変更制御表10における指定されたチャネルの選択的チャネル定義の状態を参照するのみであって、受け取った入出力命令を用いて変更制御表10を検索することはない。従って、入出力制御処理装置7における共用チャネルの制御のためのオーバヘッドを殆どなくすことができる。特に、共用チャネル内部制御表の検索処理のオーバヘッドをなくすことができ、入出力制御処理装置7の負担を極めて軽減することができる。   When receiving the input / output command issued from the virtual machine 4 from the OS of the CPU 2, the input / output control processing device 7 determines whether or not the channel specified in the received input / output command is a dedicated channel (step S81). When the designated channel is a shared channel, the I / O control processing device 7 refers to the change control table 10 using the received I / O command, and the state of the selective channel definition of the designated channel is determined. It is determined whether it is being selected or paused (step S82). At this time, the input / output control processing device 7 only refers to the state of the selective channel definition of the designated channel in the change control table 10 using the received input / output command, It is not used to search the change control table 10. Therefore, the overhead for controlling the shared channel in the input / output control processing device 7 can be almost eliminated. In particular, the overhead of the search processing for the shared channel internal control table can be eliminated, and the burden on the input / output control processing device 7 can be greatly reduced.

指定されたチャネルの選択的チャネル定義状態が選択中である場合には、入出力制御処理装置7は、チャネル処理を実行する(ステップS83)。これにより、仮想マシン4から発行された入出力命令が実行される。   If the selective channel definition state of the designated channel is being selected, the input / output control processing device 7 executes channel processing (step S83). Thereby, the input / output command issued from the virtual machine 4 is executed.

指定されたチャネルの選択的チャネル定義状態が休止中である場合には、入出力制御処理装置7は、仮想マシン4から発行された入出力命令の対象となるチャネル装置11が存在しないことを、CPU2のOSに、応答として返す(ステップS84)。   When the selective channel definition state of the designated channel is dormant, the input / output control processing device 7 confirms that there is no channel device 11 that is the target of the input / output command issued from the virtual machine 4. A response is returned to the OS of the CPU 2 (step S84).

ステップS81において、指定されたチャネルが専用チャネルである場合には、ステップS82は省略され、その後、ステップS83のチャネル処理が実行される。   In step S81, when the designated channel is a dedicated channel, step S82 is omitted, and then the channel processing of step S83 is executed.

図14は、他の情報処理装置の一例を示す図であり、ホストコンピュータ1が、選択的チャネル定義指示部5の他に、選択的チャネル定義指示部15を含む例である。   FIG. 14 is a diagram illustrating an example of another information processing apparatus, in which the host computer 1 includes a selective channel definition instruction unit 15 in addition to the selective channel definition instruction unit 5.

図1の例においては、仮想マシン4を監視するハイパーバイザ3が、仮想マシン4から応答がない場合に、仮想マシン4に異常が発生して閉塞状態であると判断する。しかし、ハイパーバイザ3は、仮想マシン4の閉塞に到るようなハードウェア故障、例えばマシンチェック等を検出することはできない。   In the example of FIG. 1, when the hypervisor 3 that monitors the virtual machine 4 does not receive a response from the virtual machine 4, it is determined that an abnormality has occurred in the virtual machine 4 and is blocked. However, the hypervisor 3 cannot detect a hardware failure that leads to the blockage of the virtual machine 4, such as a machine check.

これに対して、図14の例においては、選択的チャネル定義指示部15が、CPU2のファームウェア14として設けられる。選択的チャネル定義指示部15は、仮想マシン4の閉塞に到るようなハードウェア故障、例えばマシンチェック等を検出して、選択的チャネル定義制御部9に通知する。   On the other hand, in the example of FIG. 14, the selective channel definition instruction unit 15 is provided as the firmware 14 of the CPU 2. The selective channel definition instructing unit 15 detects a hardware failure that leads to the blockage of the virtual machine 4, such as a machine check, and notifies the selective channel definition control unit 9 of it.

例えば、現用系の仮想マシンVM#1の運用中に、仮想マシンVM#1にハードウェア故障が発生したとする。この場合、選択的チャネル定義指示部15は、仮想マシンVM#1の閉塞に到るようなハードウェア故障を検出すると、仮想マシンVM#1のハードウェア故障を選択的チャネル定義制御部9に通知する。   For example, it is assumed that a hardware failure has occurred in the virtual machine VM # 1 during the operation of the active virtual machine VM # 1. In this case, when the selective channel definition instructing unit 15 detects a hardware failure that leads to the blockage of the virtual machine VM # 1, the selective channel definition instructing unit 15 notifies the selective channel definition control unit 9 of the hardware failure of the virtual machine VM # 1. To do.

選択的チャネル定義制御部9は、仮想マシンVM#1のハードウェア故障の通知を受け取ると、受け取った仮想マシンVM#1のハードウェア故障の通知に基づいて、チャネル装置CH#1及びチャネル装置CH#2について、仮想マシンVM#1を選択中から休止中に変更し、仮想マシンVM#2を休止中から選択中に変更する。これにより、新たに現用系となった仮想マシンVM#2については、チャネル装置CH#1及びチャネル装置CH#2を専用チャネルと同等に動作させることができる。   When the selective channel definition control unit 9 receives the notification of the hardware failure of the virtual machine VM # 1, the selective channel definition control unit 9 performs the channel device CH # 1 and the channel device CH based on the received notification of the hardware failure of the virtual machine VM # 1. For # 2, the virtual machine VM # 1 is changed from being selected to being inactive, and the virtual machine VM # 2 is changed from being inactive to being selected. As a result, for the virtual machine VM # 2 that has newly become the active system, the channel device CH # 1 and the channel device CH # 2 can be operated in the same manner as the dedicated channel.

図15は、更に他の情報処理装置の一例を示す図であり、ホストコンピュータ1が、選択的チャネル定義指示部5に代えて、選択的チャネル定義指示部19を含む例である。   FIG. 15 is a diagram illustrating an example of still another information processing apparatus, in which the host computer 1 includes a selective channel definition instruction unit 19 in place of the selective channel definition instruction unit 5.

図1の例においては、選択的チャネル定義指示部5がCPU2上のハイパーバイザ3に設けられる。従って、CPU2における共用チャネルの制御のためのオーバヘッドをなくしてCPU2の負担を軽減することができるが、共用チャネルの制御のためのCPU2の負担は残る。   In the example of FIG. 1, the selective channel definition instruction unit 5 is provided in the hypervisor 3 on the CPU 2. Therefore, although the overhead for controlling the shared channel in the CPU 2 can be eliminated and the burden on the CPU 2 can be reduced, the burden on the CPU 2 for controlling the shared channel remains.

これに対して、図15の例においては、選択的チャネル定義指示部19が、サービスプロセッサ(SVP)17のファームウェア18として設けられる。選択的チャネル定義指示部19は、構成設定部191と、通知部192とを含む。構成情報6は、CPU2上のハイパーバイザ3により管理されることなく、サービスプロセッサ17により管理される。従って、共用チャネルの制御のためのCPU2の負担をなくすことができる。   On the other hand, in the example of FIG. 15, the selective channel definition instruction unit 19 is provided as the firmware 18 of the service processor (SVP) 17. The selective channel definition instructing unit 19 includes a configuration setting unit 191 and a notification unit 192. The configuration information 6 is managed by the service processor 17 without being managed by the hypervisor 3 on the CPU 2. Therefore, the burden on the CPU 2 for controlling the shared channel can be eliminated.

サービスプロセッサ17は、ホストコンピュータ1において、CPU2及び入出力制御処理装置7とは別に設けられ、CPU2及び入出力制御処理装置7と並行動作可能なマイクロプロセッサ(MPU)及びファームウェアにより構成される。従って、選択的チャネル定義指示部19をハイパーバイザ3を構成するプログラムの変更なしで実現することができる。   The service processor 17 is provided in the host computer 1 separately from the CPU 2 and the input / output control processing device 7, and includes a microprocessor (MPU) and firmware that can operate in parallel with the CPU 2 and the input / output control processing device 7. Therefore, the selective channel definition instructing unit 19 can be realized without changing the program constituting the hypervisor 3.

選択的チャネル定義指示部19は、基本的には、図16に示すように、選択的チャネル定義指示部5と同様の処理を実行する。   The selective channel definition instructing unit 19 basically executes the same processing as the selective channel definition instructing unit 5 as shown in FIG.

構成情報6におけるペア識別情報は、操作者により、サービスプロセッサ17に設けられたキーボード等を備える端末装置を用いて入力される。サービスプロセッサ17は、ペア識別情報が入力されると、入力されたペア識別情報を選択的チャネル定義指示部19に送る。また、構成情報6における運用状態の初期値は、操作者により、サービスプロセッサ17の端末装置を用いて入力される。これにより、選択的チャネル定義指示部19において、構成設定部191は、ペア識別情報と共に運用状態を含む構成情報6を生成する。   The pair identification information in the configuration information 6 is input by the operator using a terminal device provided with a keyboard or the like provided in the service processor 17. When the pair identification information is input, the service processor 17 sends the input pair identification information to the selective channel definition instruction unit 19. The initial value of the operation state in the configuration information 6 is input by the operator using the terminal device of the service processor 17. Thereby, in the selective channel definition instruction | indication part 19, the structure setting part 191 produces | generates the structure information 6 containing an operation state with pair identification information.

構成設定部191は、構成情報6を生成すると、構成情報6を入出力制御処理装置7に通知することを、通知部192に依頼する。   When the configuration information 6 is generated, the configuration setting unit 191 requests the notification unit 192 to notify the input / output control processing device 7 of the configuration information 6.

一方、運用状態は、図1の例と同様に、ホットスタンバイシステムの状態に応じて、ハイパーバイザ3により随時更新される。運用状態の更新により、構成情報6も変更されることになる。   On the other hand, the operating state is updated as needed by the hypervisor 3 according to the state of the hot standby system, as in the example of FIG. The configuration information 6 is also changed by updating the operation state.

そこで、ハイパーバイザ3は、構成情報6を変更すると、構成情報6の変更の通知を入出力制御処理装置7へ送ることを、選択的チャネル定義指示部19に依頼する。選択的チャネル定義指示部19において、構成設定部191は、構成情報6の変更を入出力制御処理装置7に通知することを、通知部192に依頼する。実際には、構成情報6の変更の通知を含むチャネル装置11に対する設定の指示が依頼され、送受される。   Therefore, when the configuration information 6 is changed, the hypervisor 3 requests the selective channel definition instructing unit 19 to send a notification of the change of the configuration information 6 to the input / output control processing device 7. In the selective channel definition instruction unit 19, the configuration setting unit 191 requests the notification unit 192 to notify the input / output control processing device 7 of the change of the configuration information 6. Actually, a setting instruction for the channel device 11 including a notification of the change of the configuration information 6 is requested and transmitted / received.

なお、選択的チャネル定義指示部19が、予め定められた時間間隔で、周期的に、構成情報6を監視し、構成情報6の変化を検出するようにしても良い。この場合、選択的チャネル定義指示部19は、構成情報6の変化を検出した場合に、構成情報6の変更を入出力制御処理装置7に通知する。   Note that the selective channel definition instructing unit 19 may periodically monitor the configuration information 6 at a predetermined time interval and detect a change in the configuration information 6. In this case, when the change of the configuration information 6 is detected, the selective channel definition instruction unit 19 notifies the input / output control processing device 7 of the change of the configuration information 6.

通知部192は、構成設定部191からの依頼に応じて、構成情報6を入出力制御処理装置7に通知する。例えば、通知部192は、図2に示すように、APIコール24を生成し、構成情報6をコピーすることにより構成情報のコピー25を生成する。そして、通知部192は、APIコール24に構成情報のコピー25を付加し、構成情報のコピー25が付加されたAPIコール24を、入出力制御処理装置7の選択的チャネル定義制御部9に送る。図16の例においては、APIコール24は、サービスプロセッサ17と入出力制御処理装置7との間において情報を受け渡す場合に用いられる。   The notification unit 192 notifies the configuration information 6 to the input / output control processing device 7 in response to a request from the configuration setting unit 191. For example, as shown in FIG. 2, the notification unit 192 generates an API call 24 and copies the configuration information 6 to generate a configuration information copy 25. Then, the notification unit 192 adds the configuration information copy 25 to the API call 24 and sends the API call 24 with the configuration information copy 25 added to the selective channel definition control unit 9 of the input / output control processing device 7. . In the example of FIG. 16, the API call 24 is used when information is transferred between the service processor 17 and the input / output control processing device 7.

選択的チャネル定義制御部9において、図1の例と同様に、構成情報のコピー25が付加されたAPIコール24を受け取ると、変更制御表更新部92は、受け取ったAPIコール24に基づいて、変更制御表10を生成し、更新する。   When the selective channel definition control unit 9 receives the API call 24 to which the configuration information copy 25 is added in the same manner as in the example of FIG. 1, the change control table update unit 92 receives the API call 24 based on the received API call 24. The change control table 10 is generated and updated.

以上の説明から理解されるように、以下のような実施の態様が把握される。   As will be understood from the above description, the following embodiments are grasped.

(付記1) 複数の仮想マシンを実行可能なプロセッサと、
前記複数の仮想マシンにより共用されるチャネル装置と、
前記プロセッサと前記チャネル装置との間に接続され、前記複数の仮想マシンからの要求に応じて、前記チャネル装置への入力又は出力を実行する入・出力制御処理装置とを備え、
前記入・出力制御処理装置は、前記プロセッサからの構成情報を含む前記チャネル装置に対する設定の指示に基づいて、前記複数の仮想マシンの中の1個の仮想マシンが選択中でありかつ他の仮想マシンが休止中であるように前記チャネル装置の制御を行うチャネル定義制御部を含む、
ことを特徴とする情報処理装置。
(Supplementary note 1) a processor capable of executing a plurality of virtual machines;
A channel device shared by the plurality of virtual machines;
An input / output control processing device that is connected between the processor and the channel device and executes input or output to the channel device in response to a request from the plurality of virtual machines;
The input / output control processing device is configured so that one virtual machine among the plurality of virtual machines is selected and another virtual machine is selected based on a setting instruction for the channel device including configuration information from the processor. Including a channel definition controller for controlling the channel device so that the machine is dormant,
An information processing apparatus characterized by that.

(付記2) 前記プロセッサは、前記構成情報を含む前記チャネル装置に対する設定の指示を、前記チャネル定義制御部に送信するチャネル定義指示部を含み、
前記複数の仮想マシンは、処理を実行する現用系の仮想マシンと、前記現用系の仮想マシンと同一の処理を実行しつつ待機する待機系の仮想マシンとを含み、
前記チャネル定義指示部が、前記現用系の仮想マシン及び前記待機系の仮想マシンの構成情報を含む前記チャネル装置に対する設定の指示を、チャネル定義制御部に送信し、
前記チャネル定義制御部が、前記チャネル定義指示部から受信した前記構成情報を含む前記チャネル装置に対する設定の指示に基づいて、前記現用系の仮想マシンが選択中でありかつ前記待機系の仮想マシンが休止中であるように前記チャネル装置の制御を行う
ことを特徴とする付記1に記載の情報処理装置。
(Supplementary Note 2) The processor includes a channel definition instruction unit that transmits a setting instruction to the channel device including the configuration information to the channel definition control unit,
The plurality of virtual machines include an active virtual machine that executes processing, and a standby virtual machine that waits while executing the same processing as the active virtual machine,
The channel definition instruction unit transmits a setting instruction for the channel device including configuration information of the active virtual machine and the standby virtual machine to the channel definition control unit,
Based on a setting instruction for the channel device including the configuration information received from the channel definition instruction unit by the channel definition control unit, the active virtual machine is being selected and the standby virtual machine is The information processing apparatus according to appendix 1, wherein the channel apparatus is controlled so as to be in a rest state.

(付記3) 前記チャネル定義指示部が、前記仮想マシン毎に、ホットスタンバイシステムのペア識別情報と、ホットスタンバイシステムでの自仮想マシンの運用状態とを含む構成情報を保持する
ことを特徴とする付記2に記載の情報処理装置。
(Additional remark 3) The said channel definition instruction | indication part hold | maintains the structure information containing the pair identification information of a hot standby system, and the operation state of the own virtual machine in a hot standby system for every said virtual machine. The information processing apparatus according to attachment 2.

(付記4) 前記チャネル定義制御部が、チャネル装置の識別情報であるチャネル番号と、チャネル装置の設定を定義するチャネル定義と、共用であるチャネル装置における選択的な定義であるチャネル定義状態とを含む変更制御表を保持する
ことを特徴とする付記2に記載の情報処理装置。
(Supplementary Note 4) The channel definition control unit includes a channel number that is identification information of a channel device, a channel definition that defines channel device settings, and a channel definition state that is a selective definition in a shared channel device. The information processing apparatus according to appendix 2, wherein a change control table is stored.

(付記5) 前記チャネル装置が、前記複数の仮想マシンの中のいずれかの専用チャネルとして使用可能であり、
前記チャネル定義制御部が、前記複数の仮想マシンのいずれかの専用であるように前記チャネル装置の制御を行う
ことを特徴とする付記1に記載の情報処理装置。
(Supplementary Note 5) The channel device can be used as any one of the plurality of virtual machines,
The information processing apparatus according to appendix 1, wherein the channel definition control unit controls the channel apparatus so as to be dedicated to any one of the plurality of virtual machines.

(付記6) 前記チャネル定義指示部が、前記プロセッサ上における前記複数の仮想マシンを制御するハイパーバイザに設けられる
ことを特徴とする付記1に記載の情報処理装置。
(Supplementary note 6) The information processing apparatus according to supplementary note 1, wherein the channel definition instruction unit is provided in a hypervisor that controls the plurality of virtual machines on the processor.

(付記7) 前記チャネル定義指示部とは別の第2のチャネル定義指示部が、前記プロセッサ上に設けられ、ハードウェア故障を検出する
ことを特徴とする付記1に記載の情報処理装置。
(Additional remark 7) The 2nd channel definition instruction | indication part different from the said channel definition instruction | indication part is provided on the said processor, and detects a hardware failure. The information processing apparatus of Additional remark 1 characterized by the above-mentioned.

(付記8) 前記チャネル定義指示部が、前記プロセッサとは別に設けられたサービスプロセッサに設けられる
ことを特徴とする付記1に記載の情報処理装置。
(Additional remark 8) The said channel definition instruction | indication part is provided in the service processor provided separately from the said processor. The information processing apparatus of Additional remark 1 characterized by the above-mentioned.

(付記9) 前記チャネル定義制御部が、前記入・出力制御処理装置のファームウェアとして設けられる
ことを特徴とする付記1に記載の情報処理装置。
(Supplementary note 9) The information processing apparatus according to supplementary note 1, wherein the channel definition control unit is provided as firmware of the input / output control processing device.

(付記10) 複数の仮想マシンを実行可能なプロセッサと、前記複数の仮想マシンにより共用されるチャネル装置と、前記プロセッサと前記チャネル装置との間に接続され、前記複数の仮想マシンからの要求に応じて、前記チャネル装置への入力又は出力を実行する入・出力制御処理装置とを含む情報処理装置の制御方法であって、
前記入・出力制御処理装置に設けられたチャネル定義制御部が、前記プロセッサからの構成情報を含む前記チャネル装置に対する設定の指示に基づいて、前記複数の仮想マシンの中の1個の仮想マシンが選択中でありかつ他の仮想マシンが休止中であるように前記チャネル装置の制御を行う
ことを特徴とする情報処理装置の制御方法。
(Supplementary Note 10) A processor capable of executing a plurality of virtual machines, a channel device shared by the plurality of virtual machines, connected between the processor and the channel device, and responding to requests from the plurality of virtual machines In response, there is provided an information processing apparatus control method including an input / output control processing apparatus that executes input or output to the channel apparatus,
A channel definition control unit provided in the input / output control processing device determines whether one virtual machine among the plurality of virtual machines is based on a setting instruction for the channel device including configuration information from the processor. A control method for an information processing apparatus, characterized in that the channel apparatus is controlled so that the virtual machine is being selected and other virtual machines are in a pause state.

(付記11) 複数の仮想マシンを実行可能なプロセッサと、前記複数の仮想マシンにより共用されるチャネル装置と、前記プロセッサと前記チャネル装置との間に接続され、前記複数の仮想マシンからの要求に応じて、前記チャネル装置への入力又は出力を実行する入・出力制御処理装置とを含む情報処理装置の制御プログラムであって、
前記プログラムが、コンピュータに、
前記プロセッサから送信された、構成情報を含む前記チャネル装置に対する設定の指示を受信する処理と、
前記プロセッサからの前記構成情報を含む前記チャネル装置に対する設定の指示に基づいて、前記複数の仮想マシンの中の1個の仮想マシンが選択中でありかつ他の仮想マシンが休止中であるように前記チャネル装置の制御を行う処理とを実行させる
ことを特徴とする制御プログラム。
(Supplementary Note 11) A processor capable of executing a plurality of virtual machines, a channel device shared by the plurality of virtual machines, and connected between the processor and the channel device, to respond to requests from the plurality of virtual machines. In response, an input / output control processing device that executes input or output to the channel device, a control program for an information processing device,
The program is stored in a computer.
Processing for receiving a setting instruction for the channel device including configuration information transmitted from the processor;
Based on a setting instruction for the channel device including the configuration information from the processor, one virtual machine of the plurality of virtual machines is being selected, and another virtual machine is being paused A control program for executing a process for controlling the channel device.

(付記12) 複数の仮想マシンを実行可能なプロセッサと、前記複数の仮想マシンにより共用されるチャネル装置と、前記プロセッサと前記チャネル装置との間に接続され、前記複数の仮想マシンからの要求に応じて、前記チャネル装置への入力又は出力を実行する入・出力制御処理装置とを含む情報処理装置の制御プログラムの記録媒体であって、
前記プログラムが、コンピュータに、
前記プロセッサから送信された、構成情報を含む前記チャネル装置に対する設定の指示を受信する処理と、
前記プロセッサからの前記構成情報を含む前記チャネル装置に対する設定の指示に基づいて、前記複数の仮想マシンの中の1個の仮想マシンが選択中でありかつ他の仮想マシンが休止中であるように前記チャネル装置の制御を行う処理とを実行させる
ことを特徴とする記録媒体。
(Supplementary Note 12) A processor capable of executing a plurality of virtual machines, a channel device shared by the plurality of virtual machines, connected between the processor and the channel device, and responding to requests from the plurality of virtual machines In response, a recording medium for a control program of an information processing device including an input / output control processing device that executes input or output to the channel device,
The program is stored in a computer.
Processing for receiving a setting instruction for the channel device including configuration information transmitted from the processor;
Based on a setting instruction for the channel device including the configuration information from the processor, one virtual machine of the plurality of virtual machines is being selected, and another virtual machine is being paused And a process for controlling the channel device.

1 ホストコンピュータ
2 CPU
3 ハイパーバイザ(HV)
4 仮想マシン(VM)
5 選択的チャネル定義指示部
6 構成情報
7 入出力制御処理装置(IOP)
8 ファームウェア
9 選択的チャネル定義制御部
10 変更制御表
11 チャネル装置(CH)
12 磁気ディスク装置
13 磁気テープ装置
1 Host computer 2 CPU
3 Hypervisor (HV)
4 Virtual machine (VM)
5 Selective Channel Definition Instruction Unit 6 Configuration Information 7 Input / Output Control Processor (IOP)
8 Firmware 9 Selective channel definition control unit 10 Change control table 11 Channel device (CH)
12 Magnetic disk device 13 Magnetic tape device

Claims (8)

複数の仮想マシンを実行可能なプロセッサと、
前記複数の仮想マシンにより共用されるチャネル装置と、
前記プロセッサと前記チャネル装置との間に接続され、前記複数の仮想マシンからの要求に応じて、前記チャネル装置への入力又は出力を実行する入・出力制御処理装置とを備え、
前記入・出力制御処理装置は、前記プロセッサからの構成情報を含む前記チャネル装置に対する設定の指示に基づいて、前記複数の仮想マシンの中の1個の仮想マシンが選択中でありかつ他の仮想マシンが休止中であるように前記チャネル装置の制御を行うチャネル定義制御部を含む、
ことを特徴とする情報処理装置。
A processor capable of running multiple virtual machines;
A channel device shared by the plurality of virtual machines;
An input / output control processing device that is connected between the processor and the channel device and executes input or output to the channel device in response to a request from the plurality of virtual machines;
The input / output control processing device is configured so that one virtual machine among the plurality of virtual machines is selected and another virtual machine is selected based on a setting instruction for the channel device including configuration information from the processor. Including a channel definition controller for controlling the channel device so that the machine is dormant,
An information processing apparatus characterized by that.
前記プロセッサは、前記構成情報を含む前記チャネル装置に対する設定の指示を前記チャネル定義制御部に送信するチャネル定義指示部を含み、
前記複数の仮想マシンは、処理を実行する現用系の仮想マシンと、前記現用系の仮想マシンと同一の処理を実行しつつ待機する待機系の仮想マシンとを含み、
前記チャネル定義指示部が、前記現用系の仮想マシン及び前記待機系の仮想マシンの構成情報を含む前記チャネル装置に対する設定の指示を、チャネル定義制御部に送信し、
前記チャネル定義制御部が、前記チャネル定義指示部から受信した前記構成情報を含む前記チャネル装置に対する設定の指示に基づいて、前記現用系の仮想マシンが選択中でありかつ前記待機系の仮想マシンが休止中であるように前記チャネル装置の制御を行う
ことを特徴とする請求項1に記載の情報処理装置。
The processor includes a channel definition instruction unit that transmits a setting instruction for the channel device including the configuration information to the channel definition control unit,
The plurality of virtual machines include an active virtual machine that executes processing, and a standby virtual machine that waits while executing the same processing as the active virtual machine,
The channel definition instruction unit transmits a setting instruction for the channel device including configuration information of the active virtual machine and the standby virtual machine to the channel definition control unit,
Based on a setting instruction for the channel device including the configuration information received from the channel definition instruction unit by the channel definition control unit, the active virtual machine is being selected and the standby virtual machine is The information processing apparatus according to claim 1, wherein the channel device is controlled so as to be idle.
前記チャネル装置が、前記複数の仮想マシンの中のいずれかの専用チャネルとして使用可能であり、
前記チャネル定義制御部が、前記複数の仮想マシンのいずれかの専用であるように前記チャネル装置の制御を行う
ことを特徴とする請求項1に記載の情報処理装置。
The channel device can be used as any dedicated channel in the plurality of virtual machines;
The information processing apparatus according to claim 1, wherein the channel definition control unit controls the channel device so as to be dedicated to any one of the plurality of virtual machines.
前記チャネル定義指示部が、前記プロセッサ上における前記複数の仮想マシンを制御するハイパーバイザに設けられる
ことを特徴とする請求項1に記載の情報処理装置。
The information processing apparatus according to claim 1, wherein the channel definition instruction unit is provided in a hypervisor that controls the plurality of virtual machines on the processor.
前記チャネル定義制御部が、前記入・出力制御処理装置のファームウェアとして設けられる
ことを特徴とする請求項1に記載の情報処理装置。
The information processing apparatus according to claim 1, wherein the channel definition control unit is provided as firmware of the input / output control processing apparatus.
複数の仮想マシンを実行可能なプロセッサと、前記複数の仮想マシンにより共用されるチャネル装置と、前記プロセッサと前記チャネル装置との間に接続され、前記複数の仮想マシンからの要求に応じて、前記チャネル装置への入力又は出力を実行する入・出力制御処理装置とを含む情報処理装置の制御方法であって、
前記入・出力制御処理装置に設けられたチャネル定義制御部が、前記プロセッサからの構成情報を含む前記チャネル装置に対する設定の指示に基づいて、前記複数の仮想マシンの中の1個の仮想マシンが選択中でありかつ他の仮想マシンが休止中であるように前記チャネル装置の制御を行う
ことを特徴とする情報処理装置の制御方法。
A processor capable of executing a plurality of virtual machines, a channel device shared by the plurality of virtual machines, connected between the processor and the channel device, and in response to a request from the plurality of virtual machines, A control method for an information processing device including an input / output control processing device that executes input or output to a channel device,
A channel definition control unit provided in the input / output control processing device determines whether one virtual machine among the plurality of virtual machines is based on a setting instruction for the channel device including configuration information from the processor. A control method for an information processing apparatus, characterized in that the channel apparatus is controlled so that the virtual machine is being selected and other virtual machines are in a pause state.
複数の仮想マシンを実行可能なプロセッサと、前記複数の仮想マシンにより共用されるチャネル装置と、前記プロセッサと前記チャネル装置との間に接続され、前記複数の仮想マシンからの要求に応じて、前記チャネル装置への入力又は出力を実行する入・出力制御処理装置とを含む情報処理装置の制御プログラムであって、
前記プログラムが、コンピュータに、
前記プロセッサから送信された、構成情報を含む前記チャネル装置に対する設定の指示を受信する処理と、
前記プロセッサからの前記構成情報を含む前記チャネル装置に対する設定の指示に基づいて、前記複数の仮想マシンの中の1個の仮想マシンが選択中でありかつ他の仮想マシンが休止中であるように前記チャネル装置の制御を行う処理とを実行させる
ことを特徴とする制御プログラム。
A processor capable of executing a plurality of virtual machines, a channel device shared by the plurality of virtual machines, connected between the processor and the channel device, and in response to a request from the plurality of virtual machines, A control program for an information processing device including an input / output control processing device for executing input or output to a channel device,
The program is stored in a computer.
Processing for receiving a setting instruction for the channel device including configuration information transmitted from the processor;
Based on a setting instruction for the channel device including the configuration information from the processor, one virtual machine of the plurality of virtual machines is being selected, and another virtual machine is being paused A control program for executing a process for controlling the channel device.
複数の仮想マシンを実行可能なプロセッサと、前記複数の仮想マシンにより共用されるチャネル装置と、前記プロセッサと前記チャネル装置との間に接続され、前記複数の仮想マシンからの要求に応じて、前記チャネル装置への入力又は出力を実行する入・出力制御処理装置とを含む情報処理装置の制御プログラムの記録媒体であって、
前記プログラムが、コンピュータに、
前記プロセッサから送信された、構成情報を含む前記チャネル装置に対する設定の指示を受信する処理と、
前記プロセッサからの前記構成情報を含む前記チャネル装置に対する設定の指示に基づいて、前記複数の仮想マシンの中の1個の仮想マシンが選択中でありかつ他の仮想マシンが休止中であるように前記チャネル装置の制御を行う処理とを実行させる
ことを特徴とする記録媒体。
A processor capable of executing a plurality of virtual machines, a channel device shared by the plurality of virtual machines, connected between the processor and the channel device, and in response to a request from the plurality of virtual machines, A recording medium for a control program of an information processing device including an input / output control processing device that executes input or output to a channel device,
The program is stored in a computer.
Processing for receiving a setting instruction for the channel device including configuration information transmitted from the processor;
Based on a setting instruction for the channel device including the configuration information from the processor, one virtual machine of the plurality of virtual machines is being selected, and another virtual machine is being paused And a process for controlling the channel device.
JP2012005418A 2012-01-13 2012-01-13 Information processing device, method and program of controlling the same, and recording medium Pending JP2013145460A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012005418A JP2013145460A (en) 2012-01-13 2012-01-13 Information processing device, method and program of controlling the same, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012005418A JP2013145460A (en) 2012-01-13 2012-01-13 Information processing device, method and program of controlling the same, and recording medium

Publications (1)

Publication Number Publication Date
JP2013145460A true JP2013145460A (en) 2013-07-25

Family

ID=49041229

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012005418A Pending JP2013145460A (en) 2012-01-13 2012-01-13 Information processing device, method and program of controlling the same, and recording medium

Country Status (1)

Country Link
JP (1) JP2013145460A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170103003A1 (en) * 2015-10-09 2017-04-13 Neusoft Corporation Physical network security device and control method therefor
JP2021506037A (en) * 2018-09-20 2021-02-18 中興通訊股▲ふん▼有限公司Zte Corporation Network cards, time synchronization methods and devices, and computer storage media

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170103003A1 (en) * 2015-10-09 2017-04-13 Neusoft Corporation Physical network security device and control method therefor
JP2017073763A (en) * 2015-10-09 2017-04-13 ニューソフト コーポレーションNeusoft Corporation Physical network security device and method for controlling the same
CN106572047A (en) * 2015-10-09 2017-04-19 东软集团股份有限公司 Physical network safety device and control method thereof
JP2021506037A (en) * 2018-09-20 2021-02-18 中興通訊股▲ふん▼有限公司Zte Corporation Network cards, time synchronization methods and devices, and computer storage media
US11609598B2 (en) 2018-09-20 2023-03-21 Zte Corporation Network card, time synchronization methods and devices, and computer storage media

Similar Documents

Publication Publication Date Title
WO2020253596A1 (en) High availability method and apparatus for redis cluster
US11895016B2 (en) Methods and apparatus to configure and manage network resources for use in network-based computing
EP3252608B1 (en) Node system, server device, scaling control method, and program
US10466999B2 (en) Software hot upgrading method and device
US11307943B2 (en) Disaster recovery deployment method, apparatus, and system
US8862928B2 (en) Techniques for achieving high availability with multi-tenant storage when a partial fault occurs or when more than two complete faults occur
JP5352132B2 (en) Computer system and I / O configuration change method thereof
JP6007522B2 (en) Cluster system
US9509637B1 (en) Methods and apparatus for virtualizing switch control plane engine
WO2012176278A1 (en) Information processing device, virtual machine control method and program
CN104158707A (en) Method and device of detecting and processing brain split in cluster
JP2012238299A (en) System and method for eliminating single point of failure for storage subsystem
JP4964666B2 (en) Computer, program and method for switching redundant communication paths
JP2013145460A (en) Information processing device, method and program of controlling the same, and recording medium
JP2009223368A (en) Cluster control apparatus, control system, control method, and control program
JP2012014674A (en) Failure recovery method, server, and program in virtual environment
US11418382B2 (en) Method of cooperative active-standby failover between logical routers based on health of attached services
JP5033455B2 (en) Information processing system and program for upgrading information processing system
US11755438B2 (en) Automatic failover of a software-defined storage controller to handle input-output operations to and from an assigned namespace on a non-volatile memory device
JP2013025765A (en) Master/slave system, control device, master/slave switching method and master/slave switching program
JP2021152802A (en) Fault tolerant system
JP5691248B2 (en) Task takeover program, processing device, and computer system
JP2014229135A (en) Controller, calculation source management method, and calculation source management program
JP7260820B2 (en) Processing device, processing system, processing method, and processing program
JP2023084777A (en) Disaster recovery system and disaster recovery method