JP2016184206A - Switching device, switching method, switching program, virtual information management device, firmware, and information processing device - Google Patents

Switching device, switching method, switching program, virtual information management device, firmware, and information processing device Download PDF

Info

Publication number
JP2016184206A
JP2016184206A JP2015062899A JP2015062899A JP2016184206A JP 2016184206 A JP2016184206 A JP 2016184206A JP 2015062899 A JP2015062899 A JP 2015062899A JP 2015062899 A JP2015062899 A JP 2015062899A JP 2016184206 A JP2016184206 A JP 2016184206A
Authority
JP
Japan
Prior art keywords
input
output
logical partition
processing
control device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2015062899A
Other languages
Japanese (ja)
Other versions
JP6459696B2 (en
Inventor
耕平 小笹
Kohei Ozasa
耕平 小笹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2015062899A priority Critical patent/JP6459696B2/en
Publication of JP2016184206A publication Critical patent/JP2016184206A/en
Application granted granted Critical
Publication of JP6459696B2 publication Critical patent/JP6459696B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Hardware Redundancy (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a switching device, etc., with which it is possible to switch an input/output process being executed in some logical partition to a different logical partition in a short time.SOLUTION: A switching device 101 has: a read unit 102 for reading, from a first input/output control device 204, the data stored in an input/output device 209 in an output process in accordance with an instruction for switching an output process being executed on the input/output unit 209 by the first input/output control device 204 that controls an input/output process pertaining to a first logical partition 201, among a plurality of logical partitions into which a physical information processing device is logically divided, to a second input/output control device 205 that controls an input/output process pertaining to a second logical partition 202; a processing unit 103 for executing a store process for storing the data read by the read unit 102 in the input/output device 209; and a transmission unit 104 for transmitting a signal transmitted by the input/output device 209 upon completion of the store process to the second input/output control device 205.SELECTED DRAWING: Figure 1

Description

本発明は、論理区画における入出力処理を切り替える切り替え装置等に関する。   The present invention relates to a switching device for switching input / output processing in a logical partition.

コンピュータを仮想化する技術の一つとして、論理分割(Logical_Partitioning、LPAR)がある。論理分割によって作成された論理区画(Logical_Partition)には、たとえば、複数の仮想計算機(VM)が含まれる。論理区画に関する処理に計算機リソースを割り当てる方法には、プロセッサを物理的なコアの単位を基に割り当てる方法と、物理的なプロセッサが有する処理能力を時分割された状態において必要な分だけ割り当てる方法とがある。   One technique for virtualizing computers is logical partitioning (Logical_Partitioning, LPAR). A logical partition (Logical_Partition) created by logical partitioning includes, for example, a plurality of virtual machines (VMs). There are two methods for allocating computer resources for processing related to logical partitions: a method of allocating processors based on physical core units, and a method of allocating the processing power of physical processors as much as necessary in a time-division state. There is.

一部のVMが実行する処理が増えるにつれ、該VMを含む論理区画における処理は増える。該論理区画における処理を実行している計算機リソースの負荷が増えることにより、該論理区画における計算機リソースは不足する場合がある。この場合に、たとえば、実行すべき処理に対して計算機リソース(「第1リソース」と表す)が過剰に割り当てられているある論理区画から、該論理区画とは異なり計算機リソースが不足している他の論理区画に対して、第1リソースを割り当て直すことによって、処理負荷は平準化される。   As the processing executed by some VMs increases, the processing in the logical partition including the VM increases. When the load on the computer resource executing the process in the logical partition increases, the computer resource in the logical partition may be insufficient. In this case, for example, a computer resource (represented as “first resource”) is excessively allocated to a process to be executed, and a computer resource is insufficient unlike the logical partition. By reallocating the first resource to the logical partitions, the processing load is leveled.

たとえば、特許文献1には、論理区画に割り当てている計算機リソースを、他の論理区画に割り当てる仮想計算機システムが開示されている。該仮想計算機システムは、負荷が高い論理区画に、より多くの計算機リソースを割り当てる。   For example, Patent Document 1 discloses a virtual computer system in which computer resources assigned to logical partitions are assigned to other logical partitions. The virtual computer system allocates more computer resources to a logical partition with a high load.

特開2003−157177号公報JP 2003-157177 A

しかし、プロセッサを物理的なコアの単位を基に割り当てる方法の場合には、ある論理区画に対する計算機リソースの割り当てが変更される場合に、必ずしも、当該論理区画における処理に対して計算機リソースが過剰に割り当てられているとは限らない。また、ある論理区画が、計算機リソースが過剰に割り当てられた論理区画であるとしても、計算機リソースを再割り当てすることにより、該論理区画に関する計算機リソースは不足してしまうこともある。   However, in the method of allocating processors based on physical core units, if the allocation of computer resources to a certain logical partition is changed, the computer resources are not necessarily excessive for the processing in the logical partition. Not necessarily assigned. Further, even if a certain logical partition is a logical partition to which computer resources are excessively allocated, reallocating computer resources may cause a shortage of computer resources related to the logical partition.

このような状況は、たとえば、計算機リソースが少ない場合に発生する。すなわち、このような状況は、たとえば、物理的なコアの単位を基に計算機リソースを割り当てる等、計算機リソースの粒度が粗い場合に頻繁に発生し、特許文献1に開示される仮想計算機システムを用いたとしても、負荷を平準化することができない。この原因は、仮想計算機システムが、たとえば、ある論理区画において実行されている入出力処理を、短期間のうちに異なる論理区画に切り替えることができないからである。   Such a situation occurs, for example, when there are few computer resources. That is, such a situation frequently occurs when, for example, computer resources are coarse, such as assigning computer resources based on physical core units, and the virtual computer system disclosed in Patent Document 1 is used. Even so, the load cannot be leveled. This is because the virtual machine system cannot switch, for example, input / output processing executed in a certain logical partition to a different logical partition within a short period of time.

そこで、本発明の主たる目的は、ある論理区画において実行されている入出力処理を、異なる論理区画に、短期間のうちに切り替えることが可能な切り替え装置等を提供することである。   Therefore, a main object of the present invention is to provide a switching device or the like capable of switching input / output processing executed in a certain logical partition to a different logical partition within a short period of time.

前述の目的を達成するために、本発明の一態様において、切り替え装置は、
物理情報処理装置が論理的に分割された複数の論理区画において、第1論理区画に関する入出力処理を制御している第1入出力制御装置によって、入出力装置に対して実行されている出力処理を、第2論理区画に関する入出力処理を制御している第2入出力制御装置に切り替える命令に応じて、前記出力処理において前記入出力装置に格納されるデータを、前記第1入出力制御装置から読み取る読み取り手段と、
前記読み取り手段が読み取ったデータを、前記入出力装置に格納する格納処理を実行する処理手段と、
前記格納処理が完了するのに応じて前記入出力装置が送信した信号を、前記第2入出力制御装置に送信する送信手段と
を備える。
In order to achieve the above object, in one aspect of the present invention, the switching device includes:
Output processing executed for the input / output device by the first input / output control device that controls input / output processing related to the first logical partition in a plurality of logical partitions in which the physical information processing device is logically divided. In response to a command to switch to a second input / output control device that controls input / output processing relating to the second logical partition, the data stored in the input / output device in the output processing is transferred to the first input / output control device. Reading means for reading from,
Processing means for executing storage processing for storing the data read by the reading means in the input / output device;
Transmitting means for transmitting a signal transmitted from the input / output device to the second input / output control device in response to completion of the storing process.

また、本発明の他の見地として、切り替え方法は、
物理情報処理装置が論理的に分割された複数の論理区画において、第1論理区画に関する入出力処理を制御している第1入出力制御装置によって、入出力装置に対して実行されている出力処理を、第2論理区画に関する入出力処理を制御している第2入出力制御装置に切り替える命令に応じて、前記出力処理において前記入出力装置に格納されるデータを、前記第1入出力制御装置から読み取り、読み取ったデータを前記入出力装置に格納する格納処理を実行し、前記格納処理が完了するのに応じて前記入出力装置が送信した信号を、前記第2入出力制御装置に送信する。
As another aspect of the present invention, the switching method is:
Output processing executed for the input / output device by the first input / output control device that controls input / output processing related to the first logical partition in a plurality of logical partitions in which the physical information processing device is logically divided. In response to a command to switch to a second input / output control device that controls input / output processing relating to the second logical partition, the data stored in the input / output device in the output processing is transferred to the first input / output control device. A storage process is performed to store the read data in the input / output device, and a signal transmitted by the input / output device is transmitted to the second input / output control device in response to the completion of the storage process. .

また、本発明の他の見地として、切り替え方法は、
物理情報処理装置が論理的に分割された複数の論理区画において、第1論理区画に関する入出力処理を制御している第1入出力制御装置によって、入出力装置に対して実行されている入力処理を、第2論理区画に関する入出力処理を制御している第2入出力制御装置に切り替える命令に応じて、前記入力処理において前記第1入出力制御装置に格納されたデータを、前記第1入出力制御装置から読み取り、前記入出力装置が前記第1入出力制御装置に送信するデータを受信し、読み取った前記データ及び受信した前記データを前記第2入出力制御装置に格納し、前記入力処理が完了するのに応じて前記入出力装置が送信した信号を、前記第2入出力制御装置に送信する。
As another aspect of the present invention, the switching method is:
Input processing that is executed on an input / output device by a first input / output control device that controls input / output processing related to the first logical partition in a plurality of logical partitions in which the physical information processing device is logically divided In response to a command to switch to the second input / output control device that controls the input / output processing relating to the second logical partition, the data stored in the first input / output control device in the input processing is Reading from the output control device, receiving data transmitted by the input / output device to the first input / output control device, storing the read data and the received data in the second input / output control device, and performing the input processing Is transmitted to the second input / output control device.

さらに、同目的は、係る切り替えプログラム、及び、そのプログラムを記録するコンピュータ読み取り可能な記録媒体によっても実現される。   Further, the same object is realized by such a switching program and a computer-readable recording medium for recording the program.

本発明に係る切り替え装置等によれば、ある論理区画において実行されている入出力処理を、異なる論理区画に、短期間のうちに切り替えることができる。   According to the switching device and the like according to the present invention, input / output processing executed in a certain logical partition can be switched to a different logical partition within a short period of time.

本発明の第1の実施形態に係る切り替え装置が有する構成、及び、切り替え装置を含む情報処理装置が有する構成を示すブロック図である。It is a block diagram which shows the structure which the switching apparatus which concerns on the 1st Embodiment of this invention has, and the structure which the information processing apparatus containing a switching apparatus has. 第1の実施形態に係る切り替え装置における処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process in the switching apparatus which concerns on 1st Embodiment. リソース管理部における処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process in a resource management part. 本発明の第2の実施形態に係る切り替え装置が有する構成を示すブロック図である。It is a block diagram which shows the structure which the switching apparatus which concerns on the 2nd Embodiment of this invention has. 第2の実施形態に係る切り替え装置における処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process in the switching apparatus which concerns on 2nd Embodiment. 本発明の第3の実施形態に係る情報処理装置が有する構成を示すブロック図である。It is a block diagram which shows the structure which the information processing apparatus which concerns on the 3rd Embodiment of this invention has. 第3の実施形態に係る管理情報の一例を概念的に表す図である。It is a figure which represents notionally an example of the management information which concerns on 3rd Embodiment.

第3の実施形態に係る情報処理装置における処理の一例を表すフローチャートである。14 is a flowchart illustrating an example of processing in the information processing apparatus according to the third embodiment. 書き込み処理である場合に、第3の実施形態に係る切り替え装置が行う処理を表すフローチャートである。It is a flowchart showing the process which the switching apparatus which concerns on 3rd Embodiment performs when it is a writing process. 読み取り処理である場合に、第3の実施形態に係る切り替え装置が行う処理を表すフローチャートである。It is a flowchart showing the process which the switching apparatus which concerns on 3rd Embodiment performs in the case of a reading process. 第3の実施形態に係る入出力情報の一例を概念的に表す図である。It is a figure which represents conceptually an example of the input-output information which concerns on 3rd Embodiment. 本発明の各実施形態に係る切り替え装置を実現可能な計算処理装置のハードウェア構成例を、概略的に示すブロック図である。It is a block diagram which shows roughly the hardware structural example of the calculation processing apparatus which can implement | achieve the switching apparatus which concerns on each embodiment of this invention.

次に、本発明を実施する実施形態について図面を参照しながら詳細に説明する。   Next, embodiments for carrying out the present invention will be described in detail with reference to the drawings.

<第1の実施形態>
図1を参照しながら、本発明の第1の実施形態に係る切り替え装置101、及び、切り替え装置101を含む情報処理装置105が有する構成について詳細に説明する。情報処理装置105は、物理的に存在する装置である。図1は、本発明の第1の実施形態に係る切り替え装置101が有する構成、及び、切り替え装置101を含む情報処理装置105が有する構成を示すブロック図である。
<First Embodiment>
The configuration of the switching device 101 according to the first embodiment of the present invention and the information processing device 105 including the switching device 101 will be described in detail with reference to FIG. The information processing apparatus 105 is a physically existing apparatus. FIG. 1 is a block diagram illustrating a configuration of the switching apparatus 101 according to the first embodiment of the present invention and a configuration of the information processing apparatus 105 including the switching apparatus 101.

第1の実施形態に係る切り替え装置101は、読み取り部102と、処理部103と、送信部104とを有する。   The switching device 101 according to the first embodiment includes a reading unit 102, a processing unit 103, and a transmission unit 104.

情報処理装置105は、第1論理区画201と、第2論理区画202と、切り替え装置101と、リソース管理部208とを有する。第1論理区画201は、仮想情報処理装置203と、第1入出力制御装置204と、管理部206とを含む。第1入出力制御装置204は、物理的に存在する装置である。第2論理区画202は、第2入出力制御装置205と、管理部207とを含む。情報処理装置105は、入出力装置209に対してデータを入出力することができる。第2入出力制御装置205は、物理的に存在する装置である。   The information processing apparatus 105 includes a first logical partition 201, a second logical partition 202, a switching device 101, and a resource management unit 208. The first logical partition 201 includes a virtual information processing device 203, a first input / output control device 204, and a management unit 206. The first input / output control device 204 is a device that physically exists. The second logical partition 202 includes a second input / output control device 205 and a management unit 207. The information processing device 105 can input / output data to / from the input / output device 209. The second input / output control device 205 is a physically existing device.

尚、論理区画に含まれる入出力制御装置の個数、及び、入出力装置209の個数等は、図1に示す例に限定されない。   The number of input / output control devices included in the logical partition, the number of input / output devices 209, and the like are not limited to the example shown in FIG.

第1入出力制御装置204は、第1論理区画201において実行される入出力処理を制御する。また、第2入出力制御装置205は、第2論理区画202において実行される入出力処理を制御する。たとえば、仮想情報処理装置203が入出力装置209にデータを格納する場合に、第1入出力制御装置204は、仮想情報処理装置203から該データを受信し(または、読み取り)、受信したデータを入出力装置209に格納する。   The first input / output control device 204 controls input / output processing executed in the first logical partition 201. Further, the second input / output control device 205 controls input / output processing executed in the second logical partition 202. For example, when the virtual information processing device 203 stores data in the input / output device 209, the first input / output control device 204 receives (or reads) the data from the virtual information processing device 203, and receives the received data. It is stored in the input / output device 209.

管理部206は、第1論理区画201に含まれる仮想情報処理装置(たとえば、仮想情報処理装置203)に関する処理を制御する。たとえば、管理部206は、仮想情報処理装置203に関する処理に、計算機リソースを割り当てるか否かを制御する。   The management unit 206 controls processing related to a virtual information processing device (for example, the virtual information processing device 203) included in the first logical partition 201. For example, the management unit 206 controls whether or not to allocate computer resources to processing related to the virtual information processing apparatus 203.

同様に、管理部207は、第2論理区画202に含まれる仮想情報処理装置に関する処理を制御する。たとえば、管理部207は、仮想情報処理装置に関する処理に計算機リソースを割り当てるか否かを制御する。   Similarly, the management unit 207 controls processing related to the virtual information processing apparatus included in the second logical partition 202. For example, the management unit 207 controls whether to allocate a computer resource to a process related to the virtual information processing apparatus.

リソース管理部208は、第1論理区画201または第2論理区画202等の論理区画に含まれる仮想情報処理装置を管理している管理部(たとえば、管理部206、管理部207)を制御することができる。たとえば、リソース管理部208は、仮想情報処理装置203が実行する処理に対して、計算機リソースを割り当てるのを停止(または、開始)する処理を、管理部206に指示することができる。たとえば、リソース管理部208は、停止している仮想情報処理装置203を、第1論理区画201から第2論理区画202に移設することができる。たとえば、リソース管理部208は、仮想情報処理装置が入出力している入出力制御装置を特定することができる。   The resource management unit 208 controls a management unit (for example, the management unit 206 or the management unit 207) that manages a virtual information processing apparatus included in a logical partition such as the first logical partition 201 or the second logical partition 202. Can do. For example, the resource management unit 208 can instruct the management unit 206 to stop (or start) the allocation of computer resources to the processing executed by the virtual information processing apparatus 203. For example, the resource management unit 208 can move the stopped virtual information processing apparatus 203 from the first logical partition 201 to the second logical partition 202. For example, the resource management unit 208 can specify an input / output control device that is input / output by the virtual information processing device.

説明の便宜上、本実施形態においては、仮想情報処理装置203が入出力装置209にデータを格納している期間内において、仮想情報処理装置203を第1論理区画201から第2論理区画202に移設するとする。また、移設するとは、仮想情報処理装置203を論理的に第1論理区画201から第2論理区画202に移設することを表し、必ずしも、仮想情報処理装置203に関する物理的な情報を記憶している記憶領域を移動するとは限らない。さらに、第1入出力制御装置204は、仮想情報処理装置203における入出力処理のみを実行しているとする。   For convenience of explanation, in the present embodiment, the virtual information processing device 203 is moved from the first logical partition 201 to the second logical partition 202 during the period in which the virtual information processing device 203 stores data in the input / output device 209. Then. The relocation means that the virtual information processing device 203 is logically relocated from the first logical partition 201 to the second logical partition 202, and always stores physical information related to the virtual information processing device 203. The storage area is not necessarily moved. Furthermore, it is assumed that the first input / output control device 204 executes only the input / output processing in the virtual information processing device 203.

読み取り部102は、入出力処理において入出力装置209に格納される対象であるデータを、第1入出力制御装置204から読み取る。   The reading unit 102 reads data, which is a target stored in the input / output device 209 in the input / output processing, from the first input / output control device 204.

処理部103は、読み取り部102が読み取ったデータを、入出力装置209に格納する。   The processing unit 103 stores the data read by the reading unit 102 in the input / output device 209.

入出力装置209は、データを自装置に格納する処理が完了するのに応じて、完了したことを表す信号を切り替え装置101に送信する。   The input / output device 209 transmits a signal indicating the completion to the switching device 101 in response to the completion of the process of storing data in the own device.

送信部104は、入出力装置209が送信した信号を受信し、受信した信号を第2論理区画202に送信する。   The transmission unit 104 receives the signal transmitted by the input / output device 209 and transmits the received signal to the second logical partition 202.

次に、図2及び図3を参照しながら、第1の実施形態に係る切り替え装置101が有する構成が行う処理について詳細に説明する。図2は、第1の実施形態に係る切り替え装置101における処理の流れを示すフローチャートである。図3は、リソース管理部208における処理の流れを示すフローチャートである。   Next, a process performed by the configuration of the switching apparatus 101 according to the first embodiment will be described in detail with reference to FIGS. FIG. 2 is a flowchart showing the flow of processing in the switching apparatus 101 according to the first embodiment. FIG. 3 is a flowchart showing the flow of processing in the resource management unit 208.

まず、リソース管理部208は、仮想情報処理装置203が実行する処理に関して計算機リソースを割り当てるのを停止する停止命令を、仮想情報処理装置203を管理している管理部206に送信する(ステップS111)。   First, the resource management unit 208 transmits a stop command to stop assigning computer resources for processing executed by the virtual information processing apparatus 203 to the management unit 206 that manages the virtual information processing apparatus 203 (step S111). .

管理部206は、該停止命令を受信し、受信した停止命令に基づき、仮想情報処理装置203に関する処理に関して、計算機リソースを割り当てるのを停止する。   The management unit 206 receives the stop instruction, and stops assigning computer resources for processing related to the virtual information processing apparatus 203 based on the received stop instruction.

次に、リソース管理部208は、仮想情報処理装置203に関する入出力処理を実行している第1入出力制御装置204を特定する(ステップS112)。   Next, the resource management unit 208 identifies the first input / output control device 204 that is executing the input / output processing related to the virtual information processing device 203 (step S112).

リソース管理部208は、仮想情報処理装置203に関する入出力処理を、第1論理区画201から第2論理区画202に切り替える切り替え命令を送信する(ステップS113)。切り替え命令には、特定した第1入出力制御装置204、及び、切り替え先の第2論理区画202における入出力処理を実行する第2入出力制御装置205に関する情報が含まれている。   The resource management unit 208 transmits a switching command for switching the input / output processing related to the virtual information processing apparatus 203 from the first logical partition 201 to the second logical partition 202 (step S113). The switching command includes information regarding the identified first input / output control device 204 and the second input / output control device 205 that executes input / output processing in the second logical partition 202 to be switched to.

切り替え装置101は、リソース管理部208が送信した切り替え命令を受信する(ステップS101)。   The switching device 101 receives the switching command transmitted by the resource management unit 208 (step S101).

読み取り部102は、受信した切り替え命令に基づき、入出力処理において入出力装置209に格納される対象であるデータを、第1入出力制御装置204から読み取る(ステップS102)。   Based on the received switching command, the reading unit 102 reads the data to be stored in the input / output device 209 in the input / output processing from the first input / output control device 204 (step S102).

処理部103は、読み取り部102が読み取ったデータを、入出力装置209に格納する(ステップS103)。   The processing unit 103 stores the data read by the reading unit 102 in the input / output device 209 (step S103).

リソース管理部208は、仮想情報処理装置203を第2論理区画202に複製する(ステップS114)。リソース管理部208は、複製した仮想情報処理装置203に関する計算機リソースの割り当てを開始する開始信号を、管理部207に指示する(ステップS115)。   The resource management unit 208 copies the virtual information processing apparatus 203 to the second logical partition 202 (step S114). The resource management unit 208 instructs the management unit 207 to start a computer resource allocation for the copied virtual information processing apparatus 203 (step S115).

管理部207は、該開始信号を受信し、受信した開始信号に基づき、仮想情報処理装置203が実行する処理に計算機リソースを割り当てる。   The management unit 207 receives the start signal, and allocates computer resources to processing executed by the virtual information processing apparatus 203 based on the received start signal.

その後、リソース管理部208は、仮想情報処理装置203が実行している入出力処理に関するチャネルプログラムを、第1入出力制御装置204から第2入出力制御装置205に複製する(ステップS116)。   Thereafter, the resource management unit 208 copies the channel program related to the input / output processing executed by the virtual information processing device 203 from the first input / output control device 204 to the second input / output control device 205 (step S116).

送信部104は、入出力装置209が該データを格納するのを完了した場合に送信した信号を受信し、受信した信号を第2入出力制御装置205に送信する(ステップS104)。   The transmission unit 104 receives a signal transmitted when the input / output device 209 completes storing the data, and transmits the received signal to the second input / output control device 205 (step S104).

第2入出力制御装置205は、該信号を受信し、受信した信号を、第2論理区画202に複製された仮想情報処理装置203に送信する。第2論理区画202に複製された仮想情報処理装置203は、該信号を受信し、受信した信号に基づき、入出力処理を終了する。   The second input / output control device 205 receives the signal and transmits the received signal to the virtual information processing device 203 replicated in the second logical partition 202. The virtual information processing apparatus 203 replicated in the second logical partition 202 receives the signal and ends the input / output process based on the received signal.

尚、上述した切り替え装置101の処理(動作)は、たとえば、情報処理装置105におけるオペレーティングシステム環境において、上記の仮想情報処理装置203等の仮想環境を実現可能なハイパーバイザ等のファームウェアの処理に対して実装することにより実現することができる。   Note that the processing (operation) of the switching device 101 described above is, for example, for firmware processing such as a hypervisor capable of realizing a virtual environment such as the virtual information processing device 203 in the operating system environment of the information processing device 105. It can be realized by mounting.

次に、第1の実施形態に係る切り替え装置101に関する効果について説明する。   Next, effects related to the switching device 101 according to the first embodiment will be described.

第1の実施形態に係る切り替え装置101によれば、ある論理区画において実行されている入出力処理を、異なる論理区画に、短期間のうちに切り替えことができる。   According to the switching device 101 according to the first embodiment, input / output processing executed in a certain logical partition can be switched to a different logical partition within a short period of time.

この理由は、第1論理区画201において仮想情報処理装置203が実行している入出力処理を切り替え装置101が実行するからである。   This is because the switching device 101 executes the input / output processing that is executed by the virtual information processing device 203 in the first logical partition 201.

上述したように、切り替え装置101は、仮想情報処理装置203を含む論理区画における第1入出力制御装置204から読み取ったデータを、入出力装置209に格納する。その後、切り替え装置101は、切り替え先である第2入出力制御装置205に、格納処理が完了したことを表す信号を送信する。   As described above, the switching device 101 stores the data read from the first input / output control device 204 in the logical partition including the virtual information processing device 203 in the input / output device 209. Thereafter, the switching device 101 transmits a signal indicating that the storage process has been completed to the second input / output control device 205 that is the switching destination.

この結果、第2入出力制御装置205に関するチャネルプログラムが、第1入出力制御装置204に関するチャネルプログラムの複製であるので、第2入出力制御装置205は、該信号を受信する場合に、該格納処理が完了したことを検知する。   As a result, since the channel program related to the second input / output control device 205 is a duplicate of the channel program related to the first input / output control device 204, the second input / output control device 205 stores the storage when the signal is received. Detect that processing is complete.

したがって、第1の実施形態に係る切り替え装置101によれば、ある論理区画において実行されている入出力処理を、異なる論理区画に、短期間のうちに切り替えることができる。   Therefore, according to the switching device 101 according to the first embodiment, the input / output processing being executed in a certain logical partition can be switched to a different logical partition within a short period of time.

一方、関連している技術として、いわゆる、ライブマイグレーションがある。ライブマイグレーションは、ある物理的な情報処理装置にて動作している仮想情報処理装置を、該仮想情報処理装置にて動作しているオペレーティングシステム等の機能を停止することなく、異なる物理的な情報処理装置に移設することを表す。ライブマイグレーションは、たとえば、移設対象である仮想情報処理装置が入出力装置に入出力処理を実行している最中に、入出力処理を一時停止し、一時的に停止した状態を移設先である情報処理装置に複製することにより実現される。または、ライブマイグレーションは、入出力処理中のデータをすべて入出力装置に格納し、その後、格納したデータを移設先である情報処理装置に複製することにより実現される。   On the other hand, as a related technology, there is so-called live migration. In live migration, a virtual information processing device operating on a certain physical information processing device can be operated on different physical information without stopping the functions of the operating system or the like operating on the virtual information processing device. Relocation to processing equipment. In live migration, for example, while the virtual information processing device to be moved is executing I / O processing on the I / O device, the I / O processing is paused, and the temporarily stopped state is the transfer destination. This is realized by copying to the information processing apparatus. Alternatively, live migration is realized by storing all data being input / output processed in the input / output device, and then copying the stored data to the information processing device that is the transfer destination.

このような関連技術に対して、本実施形態に係る切り替え装置101は、移設対象である仮想情報処理装置203に関する入出力処理を一時的に停止せずに、上述したような処理を実行する。したがって、切り替え装置101が当該入出力処理を実行するので、リソース管理部208は、短期間のうちに、仮想情報処理装置を異なる論理区画に移設することができる。さらに、切り替え装置101は、当該入出力処理中のデータを一時的に入出力装置209に格納する処理を実行しない。一般的に、入出力装置209に対する入出力時間が長いので、切り替え装置101が入出力装置209に格納しないことにより、リソース管理部208は、短期間のうちに仮想情報処理装置を異なる論理区画に移設することができる。   With respect to such related technology, the switching device 101 according to the present embodiment executes the processing as described above without temporarily stopping the input / output processing related to the virtual information processing device 203 to be moved. Therefore, since the switching device 101 executes the input / output processing, the resource management unit 208 can move the virtual information processing device to a different logical partition within a short period. Further, the switching device 101 does not execute processing for temporarily storing the data being input / output processed in the input / output device 209. In general, since the input / output time for the input / output device 209 is long, the switching device 101 does not store in the input / output device 209, so that the resource management unit 208 places the virtual information processing device in a different logical partition within a short period of time. Can be relocated.

<第2の実施形態>
次に、上述した第1の実施形態を基本とする本発明の第2の実施形態について説明する。
<Second Embodiment>
Next, a second embodiment of the present invention based on the first embodiment described above will be described.

以降の説明においては、本実施形態に係る特徴的な部分を中心に説明すると共に、上述した第1の実施形態と同様な構成については、同一の参照番号を付すことにより、重複する説明を省略する。   In the following description, the characteristic parts according to the present embodiment will be mainly described, and the same components as those in the first embodiment described above will be denoted by the same reference numerals, and redundant description will be omitted. To do.

図4と図5とを参照しながら、第2の実施形態に係る切り替え装置151が有する構成と、切り替え装置151が行う処理とについて説明する。図4は、本発明の第2の実施形態に係る切り替え装置151が有する構成を示すブロック図である。図5は、第2の実施形態に係る切り替え装置151における処理の流れを示すフローチャートである。   The configuration of the switching device 151 according to the second embodiment and the processing performed by the switching device 151 will be described with reference to FIGS. 4 and 5. FIG. 4 is a block diagram showing a configuration of the switching device 151 according to the second embodiment of the present invention. FIG. 5 is a flowchart showing the flow of processing in the switching device 151 according to the second embodiment.

第2の実施形態に係る切り替え装置151は、読み取り部152と、処理部153と、送信部154とを有する。   The switching device 151 according to the second embodiment includes a reading unit 152, a processing unit 153, and a transmission unit 154.

また、情報処理装置155は、第1論理区画201と、第2論理区画202と、リソース管理部208と、切り替え装置151とを有する。情報処理装置155は、物理的に存在する装置である。   In addition, the information processing device 155 includes a first logical partition 201, a second logical partition 202, a resource management unit 208, and a switching device 151. The information processing device 155 is a device that physically exists.

説明の便宜上、仮想情報処理装置203が入出力装置209からデータを読み取っている期間内において、仮想情報処理装置203を第1論理区画201から第2論理区画202に移設するとする。第1入出力制御装置204は、仮想情報処理装置203における入出力処理のみを実行しているとする。   For convenience of explanation, it is assumed that the virtual information processing device 203 is moved from the first logical partition 201 to the second logical partition 202 during the period in which the virtual information processing device 203 reads data from the input / output device 209. It is assumed that the first input / output control device 204 executes only the input / output processing in the virtual information processing device 203.

切り替え装置151は、仮想情報処理装置203に対する入力処理を第1論理区画201から第2論理区画202に切り替える切り替え命令を受信する(ステップS151)。   The switching device 151 receives a switching command for switching the input processing to the virtual information processing device 203 from the first logical partition 201 to the second logical partition 202 (step S151).

読み取り部152は、該入力処理において、既に第1入出力制御装置204に格納されたデータを、第1入出力制御装置204から読み取る(ステップS152)。   In the input process, the reading unit 152 reads data already stored in the first input / output control device 204 from the first input / output control device 204 (step S152).

処理部153は、入出力装置209が第1入出力制御装置204に送信したデータを受信する(ステップS153)。または、処理部153は、第1入出力制御装置204が入出力装置209から読み取るデータを読み取る。   The processing unit 153 receives data transmitted from the input / output device 209 to the first input / output control device 204 (step S153). Alternatively, the processing unit 153 reads data that the first input / output control device 204 reads from the input / output device 209.

処理部153は、読み取り部152が読み取ったデータ、及び、入出力装置209から受信したデータを、第2入出力制御装置205に格納する(ステップS154)。   The processing unit 153 stores the data read by the reading unit 152 and the data received from the input / output device 209 in the second input / output control device 205 (step S154).

入出力装置209は、データを送信する処理が完了するのに応じて、完了したことを表す信号を切り替え装置151に送信する。   The input / output device 209 transmits a signal indicating the completion to the switching device 151 in response to the completion of the data transmission process.

送信部154は、入出力装置209が送信した信号を受信し、受信した信号を第2入出力制御装置205に送信する(ステップS155)。   The transmission unit 154 receives the signal transmitted by the input / output device 209 and transmits the received signal to the second input / output control device 205 (step S155).

第2入出力制御装置205は、該信号を受信し、受信した信号に応じて、自装置に格納されているデータを、第2論理区画202に複製された仮想情報処理装置203に送信する。第2論理区画202に複製された仮想情報処理装置203は、該データを受信する。さらに、第2入出力制御装置205は、第2論理区画202に複製された仮想情報処理装置203に、受信した信号を送信する。第2論理区画202に複製された仮想情報処理装置203は、該信号を受信し、受信した信号に基づき、入出力処理を終了する。   The second input / output control device 205 receives the signal, and transmits data stored in the own device to the virtual information processing device 203 replicated in the second logical partition 202 in accordance with the received signal. The virtual information processing apparatus 203 replicated in the second logical partition 202 receives the data. Further, the second input / output control device 205 transmits the received signal to the virtual information processing device 203 replicated in the second logical partition 202. The virtual information processing apparatus 203 replicated in the second logical partition 202 receives the signal and ends the input / output process based on the received signal.

次に、第2の実施形態に係る切り替え装置151に関する効果について説明する。   Next, effects related to the switching device 151 according to the second embodiment will be described.

本実施形態に係る切り替え装置151によれば、ある論理区画において実行されている入出力処理を異なる論理区画に、短期間のうちに切り替えることができる。この理由は、第2の実施形態に係る切り替え装置151が有する構成は、第1の実施形態に係る切り替え装置101が有する構成を含むからである。   According to the switching device 151 according to the present embodiment, input / output processing executed in a certain logical partition can be switched to a different logical partition within a short period of time. This is because the configuration of the switching device 151 according to the second embodiment includes the configuration of the switching device 101 according to the first embodiment.

さらに、第2の実施形態に係る切り替え装置151によれば、仮想情報処理装置203が入出力装置209にデータを格納している最中であっても、リソース管理部208は、仮想情報処理装置203を異なる論理区画に移設することができる。この理由は、仮想情報処理装置203が実行している入出力処理を、切り替え装置151が実行するからである。その後、切り替え装置151は、切り替え先である第2論理区画202に、格納処理が完了したことを表す信号を送信する。したがって、第2の実施形態に係る切り替え装置151によれば、仮想情報処理装置203が入出力装置209にデータを格納している最中であっても、リソース管理部208は、仮想情報処理装置203を異なる論理区画に移設することができる。   Furthermore, according to the switching device 151 according to the second embodiment, even when the virtual information processing device 203 is storing data in the input / output device 209, the resource management unit 208 can 203 can be moved to a different logical partition. This is because the switching device 151 executes the input / output processing that the virtual information processing device 203 is executing. Thereafter, the switching device 151 transmits a signal indicating that the storage process has been completed to the second logical partition 202 that is the switching destination. Therefore, according to the switching device 151 according to the second embodiment, even when the virtual information processing device 203 is storing data in the input / output device 209, the resource management unit 208 can 203 can be moved to a different logical partition.

<第3の実施形態>
次に、上述した第1の実施形態を基本とする本発明の第3の実施形態について説明する。
<Third Embodiment>
Next, a third embodiment of the present invention based on the first embodiment described above will be described.

図6を参照しながら、第3の実施形態に係る情報処理装置301について説明する。図6は、本発明の第3の実施形態に係る情報処理装置301が有する構成を示すブロック図である。   An information processing apparatus 301 according to the third embodiment will be described with reference to FIG. FIG. 6 is a block diagram showing the configuration of the information processing apparatus 301 according to the third embodiment of the present invention.

第3の実施形態に係る情報処理装置301は、論理区画303と、論理区画304と、リソース管理部302と、切り替え装置305とを有する。情報処理装置301は、物理的に存在する装置である。   The information processing apparatus 301 according to the third embodiment includes a logical partition 303, a logical partition 304, a resource management unit 302, and a switching device 305. The information processing device 301 is a physically existing device.

情報処理装置301は、入出力装置306と、情報を送受信することができる。   The information processing device 301 can transmit / receive information to / from the input / output device 306.

尚、以降の説明においては、論理区画303を中心として、論理区画が有する構成、及び、論理区画における処理等を説明するとする。しかし、論理区画304に関しても論理区画303と同様な構成を有し、論理区画303と同様な処理が実行される。   In the following description, the configuration of the logical partition, the processing in the logical partition, and the like will be described with the logical partition 303 as the center. However, the logical partition 304 has the same configuration as that of the logical partition 303, and the same processing as that of the logical partition 303 is executed.

論理区画303は、仮想計算機307と、VM管理部309と、区画負荷監視部310と、入出力処理部308と、管理情報部311とを含む。仮想計算機307は、仮想計算機307が読み書き可能なメモリを表すメモリユニット312を有する。VM管理部309は、VM負荷監視部314を有する。入出力処理部308は、IOバッファ313を有する。尚、IOは、入出力を表す。   The logical partition 303 includes a virtual machine 307, a VM management unit 309, a partition load monitoring unit 310, an input / output processing unit 308, and a management information unit 311. The virtual computer 307 includes a memory unit 312 that represents a memory that the virtual computer 307 can read and write. The VM management unit 309 includes a VM load monitoring unit 314. The input / output processing unit 308 has an IO buffer 313. IO represents input / output.

尚、入出処理部は、本発明の各実施形態に示した入出力制御装置と同様の機能を有する。   The input / output processing unit has the same function as the input / output control device shown in each embodiment of the present invention.

尚、論理区画303及び論理区画304において、仮想計算機307は、複数であってもよい。   In the logical partition 303 and the logical partition 304, there may be a plurality of virtual machines 307.

切り替え装置305は、本発明の各実施形態に係る切り替え装置に加え、さらに、データ記憶部315と、入出力情報部316とを有してもよい。   The switching device 305 may further include a data storage unit 315 and an input / output information unit 316 in addition to the switching device according to each embodiment of the present invention.

まず、図7を参照しながら、管理情報部311が記憶可能な管理情報について説明する。図7は、第3の実施形態に係る管理情報の一例を概念的に表す図である。   First, management information that can be stored in the management information unit 311 will be described with reference to FIG. FIG. 7 is a diagram conceptually illustrating an example of management information according to the third embodiment.

管理情報においては、入出力装置306を一意に識別可能な入出力装置識別子(以降、識別子を「ID」と表す)と、該入出力装置IDが表す入出力装置306に対して入出力処理を実行しているVMを一意に識別可能な仮想計算機IDとが関連付けされている。管理情報においては、さらに、入出力装置IDと、該入出力処理に関する入出力処理部308を一意に識別可能な入出力処理部IDとが関連付けされている。   In the management information, an input / output device identifier that can uniquely identify the input / output device 306 (hereinafter, the identifier is expressed as “ID”) and input / output processing for the input / output device 306 indicated by the input / output device ID. A virtual machine ID that can uniquely identify the VM being executed is associated. In the management information, an input / output device ID and an input / output processing unit ID that can uniquely identify the input / output processing unit 308 relating to the input / output processing are further associated.

図7に例示する管理情報においては、仮想計算機ID「仮想計算機307」と、入出力装置ID「入出力装置306」と、入出力処理部ID「入出力処理部308」とが関連付けされている。これは、仮想計算機307と、入出力装置306とが、入出力処理部308を介して相互に入出力処理を実行していることを表す。   In the management information illustrated in FIG. 7, a virtual machine ID “virtual machine 307”, an input / output device ID “input / output device 306”, and an input / output processing unit ID “input / output processing unit 308” are associated. . This indicates that the virtual machine 307 and the input / output device 306 are performing input / output processing mutually via the input / output processing unit 308.

説明の便宜上、各入出力装置306は、2つの入出力処理を並行して実行しないとする。すなわち、入出力装置IDを特定することにより、該入出力装置IDが表す入出力装置306が実行している入出力処理と、該入出力処理を実行しているVMとを特定できるとする。   For convenience of explanation, it is assumed that each input / output device 306 does not execute two input / output processes in parallel. That is, by specifying the input / output device ID, it is possible to specify the input / output processing executed by the input / output device 306 represented by the input / output device ID and the VM executing the input / output processing.

次に、図8を参照しながら第3の実施形態に係る情報処理装置301における処理について詳細に説明する。図8は、第3の実施形態に係る情報処理装置301における処理の一例を表すフローチャートである。   Next, processing in the information processing apparatus 301 according to the third embodiment will be described in detail with reference to FIG. FIG. 8 is a flowchart illustrating an example of processing in the information processing apparatus 301 according to the third embodiment.

説明の便宜上、論理区画303における処理を実行している中央演算処理装置(CPU)が高負荷であり、論理区画304における処理を実行しているCPUは低負荷であるとする。また、該論理区画303におけるVMが、論理区画304に移動する(移設される)とする。   For convenience of explanation, it is assumed that the central processing unit (CPU) that executes processing in the logical partition 303 has a high load, and the CPU that executes processing in the logical partition 304 has a low load. Further, it is assumed that the VM in the logical partition 303 is moved (relocated) to the logical partition 304.

VM負荷監視部314は、所定のタイミングにて(たとえば、定期的に)、論理区画303に含まれるVMが実行している処理に関する負荷量を、それぞれ計測し、計測した負荷量を区画負荷監視部310、及び、リソース管理部302に送信する(ステップS301)。区画負荷監視部310は、VM負荷監視部314が送信する負荷量を受信し、受信した負荷量に基づき論理区画303における負荷量の総量を算出する(ステップS302)。   The VM load monitoring unit 314 measures the load amount related to the processing executed by the VM included in the logical partition 303 at a predetermined timing (for example, periodically), and the measured load amount is partitioned load monitoring. To the unit 310 and the resource management unit 302 (step S301). The partition load monitoring unit 310 receives the load amount transmitted by the VM load monitoring unit 314, and calculates the total load amount in the logical partition 303 based on the received load amount (step S302).

区画負荷監視部310は、算出した負荷量の総量をリソース管理部302に送信する。リソース管理部302は、該総量を受信し、受信した総量が所定の負荷量以上であるか否かに基づいて、該論理区画303における処理が高負荷であるか否かを判定する(ステップS303)。さらに、リソース管理部302は、VM管理部309が送信した各VMが実行している処理量を受信する。   The partition load monitoring unit 310 transmits the calculated total amount of loads to the resource management unit 302. The resource management unit 302 receives the total amount, and determines whether or not the processing in the logical partition 303 has a high load based on whether or not the received total amount is equal to or greater than a predetermined load amount (step S303). ). Further, the resource management unit 302 receives the processing amount executed by each VM transmitted by the VM management unit 309.

または、区画負荷監視部310は、算出した負荷量の総量が所定の負荷量以上であるか否かに基づいて、該論理区画303における処理が高負荷であるか否かを判定してもよい。この場合に、区画負荷監視部310は、高負荷であると判定する場合に、該論理区画303が高負荷であることを表す信号(以降、「負荷信号」と表す)をリソース管理部302に送信する。   Alternatively, the partition load monitoring unit 310 may determine whether or not the processing in the logical partition 303 has a high load based on whether or not the calculated total amount of loads is equal to or greater than a predetermined load amount. . In this case, when the partition load monitoring unit 310 determines that the load is high, the partition management unit 310 sends a signal indicating that the logical partition 303 has a high load (hereinafter referred to as “load signal”) to the resource management unit 302. Send.

リソース管理部302は、論理区画303における負荷が高い場合に(ステップS303にてYES)、受信したVMに関する処理量に基づき、負荷が高い論理区画303に含まれるVMの内、負荷が低い論理区画304に割り当てを変更すべき特定の仮想計算機を選択する(ステップS304)。   When the load in the logical partition 303 is high (YES in step S303), the resource management unit 302 has a low logical load among the VMs included in the logical partition 303 with a high load based on the received processing amount related to the VM. A specific virtual machine whose assignment is to be changed is selected in 304 (step S304).

説明の便宜上、特定の仮想計算機は、仮想計算機307であるとする。   For convenience of explanation, it is assumed that the specific virtual machine is a virtual machine 307.

たとえば、リソース管理部302は、特定のVMに関する割り当てを、論理区画303から論理区画304に変更することによって、複数の論理区画間における負荷が最も平準化される特定の仮想計算機を選択する。リソース管理部302は、たとえば、論理区画303に含まれるVMのうち、負荷が最も低い仮想計算機を、係る特定の仮想計算機として選択する。リソース管理部302は、選択した特定の仮想計算機に関する処理にCPUを割り当てるのを停止するリクエストを表す停止信号(サスペンド信号)をVM管理部309に送信する。すなわち、リソース管理部302は、仮想計算機に関する処理を停止する停止信号をVM管理部309に送信する。   For example, the resource management unit 302 selects a specific virtual machine in which the load among the plurality of logical partitions is most leveled by changing the allocation related to the specific VM from the logical partition 303 to the logical partition 304. For example, the resource management unit 302 selects a virtual machine having the lowest load among the VMs included in the logical partition 303 as the specific virtual machine. The resource management unit 302 transmits to the VM management unit 309 a stop signal (suspend signal) that represents a request to stop assigning a CPU to processing related to the selected specific virtual machine. That is, the resource management unit 302 transmits a stop signal for stopping the processing related to the virtual machine to the VM management unit 309.

説明の便宜上、該特定の仮想計算機は、入出力処理部308を介して、入出力装置306に対して入出力処理を実行しているとする。   For convenience of explanation, it is assumed that the specific virtual machine is executing input / output processing with respect to the input / output device 306 via the input / output processing unit 308.

VM管理部309は、リソース管理部302が送信した停止信号を受信するのに応じて、仮想計算機307に関する処理にCPUを割り当てるのを停止する(ステップS305)。これによって、仮想計算機307は停止する。その後、VM管理部309は、仮想計算機307が停止したことを表す通知信号をリソース管理部302に送信する。   In response to receiving the stop signal transmitted from the resource management unit 302, the VM management unit 309 stops assigning the CPU to processing related to the virtual machine 307 (step S305). As a result, the virtual machine 307 stops. Thereafter, the VM management unit 309 transmits a notification signal indicating that the virtual machine 307 has stopped to the resource management unit 302.

次に、リソース管理部302は、該通知信号を受信し、その後、管理情報において、仮想計算機307を表す仮想計算機IDに関連付けされている入出力装置ID、及び、仮想計算機IDに関連付けされている入出力処理部IDを特定する(ステップS306)。次に、リソース管理部302は、特定した入出力処理部IDが表す入出力処理部308と、特定した入出力装置IDが表す入出力装置306との間において実行されている入出力処理を、割り当て先に切り替えることを要求する切り替え命令を切り替え装置305に送信する。すなわち、リソース管理部302は、選択した割り当て先における入出力処理部317と、該入出力装置306との間における入出力処理に切り替えることを要求する切り替え命令を送信する。   Next, the resource management unit 302 receives the notification signal, and then, in the management information, is associated with the input / output device ID associated with the virtual machine ID representing the virtual machine 307 and the virtual machine ID. The input / output processing unit ID is specified (step S306). Next, the resource management unit 302 performs input / output processing executed between the input / output processing unit 308 indicated by the specified input / output processing unit ID and the input / output device 306 indicated by the specified input / output device ID. A switching command for requesting switching to the assignment destination is transmitted to the switching device 305. That is, the resource management unit 302 transmits a switching command for requesting switching to the input / output processing between the input / output processing unit 317 at the selected allocation destination and the input / output device 306.

切り替え装置305は、該切り替え命令を受信し、受信した切り替え命令に基づき、仮想計算機307と入出力装置306との間において実行されている入出力処理を、割り当て先に切り替える(ステップS307)。尚、切り替え装置305における処理については後述する。   The switching device 305 receives the switching command, and switches the input / output processing being executed between the virtual computer 307 and the input / output device 306 to the allocation destination based on the received switching command (step S307). The processing in the switching device 305 will be described later.

リソース管理部302は、通知信号を受信するのに応じて仮想計算機307に関するメモリユニット312を、移設元である論理区画303から移設先である論理区画304に複製(または、移動)する(ステップS308)。リソース管理部302は、移設先である論理区画304におけるVM管理部320に、仮想計算機307に対するCPUの割り当てを開始することを要求する開始信号(レジューム信号)を送信する。すなわち、リソース管理部302は、仮想計算機307に関する処理を開始する開始信号をVM管理部320に送信する。   In response to receiving the notification signal, the resource management unit 302 copies (or moves) the memory unit 312 related to the virtual machine 307 from the logical partition 303 that is the migration source to the logical partition 304 that is the migration destination (step S308). ). The resource management unit 302 transmits a start signal (resume signal) requesting to start allocation of CPU to the virtual machine 307 to the VM management unit 320 in the logical partition 304 that is the transfer destination. That is, the resource management unit 302 transmits a start signal for starting processing related to the virtual machine 307 to the VM management unit 320.

VM管理部320は、該開始信号を受信するのに応じて、仮想計算機307に対して、CPUの割り当てを開始する(ステップS309)。すなわち、仮想計算機307は、論理区画304において処理を再開する。   In response to receiving the start signal, the VM management unit 320 starts CPU allocation to the virtual machine 307 (step S309). That is, the virtual machine 307 resumes processing in the logical partition 304.

リソース管理部302は、管理情報部318に格納されている管理情報に基づき、割り当て先の論理区画304に含まれる入出力処理部の中から、特定の入出力処理部(たとえば、入出力処理部317)を選択する(ステップS310)。   Based on the management information stored in the management information unit 318, the resource management unit 302 selects a specific input / output processing unit (for example, an input / output processing unit) from among the input / output processing units included in the logical partition 304 to which the resource management unit 302 is assigned. 317) is selected (step S310).

次に、リソース管理部302は、移設元の論理区画303において、入出力装置306及び入出力処理部308の間において実行されていた入出力処理を表すチャネルプログラムを、入出力処理部317に送信する。入出力処理部317は、当該チャネルプログラムに基づき、入出力処理を実行する(ステップS311)。   Next, the resource management unit 302 transmits a channel program representing the input / output processing executed between the input / output device 306 and the input / output processing unit 308 to the input / output processing unit 317 in the migration source logical partition 303. To do. The input / output processing unit 317 executes input / output processing based on the channel program (step S311).

次に、リソース管理部302は、仮想計算機307を表す仮想計算機IDと、該入出力処理に関する入出力装置306を表す入出力装置IDと、入出力処理部317を表す入出力処理部IDとが関連付けされた管理情報を作成する。リソース管理部302は、作成した管理情報を移設先の入出力処理部317に送信する(ステップS312)。   Next, the resource management unit 302 includes a virtual computer ID representing the virtual computer 307, an input / output device ID representing the input / output device 306 related to the input / output processing, and an input / output processing unit ID representing the input / output processing unit 317. Create associated management information. The resource management unit 302 transmits the created management information to the transfer destination input / output processing unit 317 (step S312).

入出力処理部317は、該管理情報を受信し、受信した管理情報を管理情報部318に格納する。   The input / output processing unit 317 receives the management information and stores the received management information in the management information unit 318.

次に、切り替え装置305における処理について詳細に説明する。   Next, processing in the switching device 305 will be described in detail.

説明の便宜上、切り替え命令は、入出力処理部308及び入出力装置306の間において実行されている入出力処理に関して、入出力処理部308を入出力処理部317に切り替えることを要求する命令であるとする。   For convenience of explanation, the switching command is a command for requesting switching of the input / output processing unit 308 to the input / output processing unit 317 regarding the input / output processing being executed between the input / output processing unit 308 and the input / output device 306. And

切り替え装置305は、リソース管理部302が送信した切り替え命令を受信するのに応じて、入出力処理部IDと、入出力装置IDとが関連付けされた入出力情報(図11)を作成する。図11は、第3の実施形態に係る入出力情報の一例を概念的に表す図である。   In response to receiving the switching command transmitted by the resource management unit 302, the switching device 305 creates input / output information (FIG. 11) in which the input / output processing unit ID and the input / output device ID are associated with each other. FIG. 11 is a diagram conceptually illustrating an example of input / output information according to the third embodiment.

図11に例示する入出力情報を参照すると、入出力処理部ID「入出力処理部308」と、入出力装置ID「入出力装置306」とが関連付けされている。これは、入出力処理部308と、入出力装置306との間において、入出力処理が実行されていることを表す。   Referring to the input / output information illustrated in FIG. 11, the input / output processing unit ID “input / output processing unit 308” and the input / output device ID “input / output device 306” are associated with each other. This indicates that an input / output process is being executed between the input / output processing unit 308 and the input / output device 306.

切り替え装置305は、たとえば、上述した切り替え命令に基づき、入出力装置306と、入出力処理部317とが関連付けされた入出力情報を作成してもよい。あるいは、切り替え装置305は、たとえば、上述した切り替え命令に基づき、入出力装置306と、空値とが関連付けされた入出力情報(この場合には、エントリ)を作成してもよい。切り替え装置305は、作成した入出力情報を入出力情報部316に格納する。   For example, the switching device 305 may create input / output information in which the input / output device 306 and the input / output processing unit 317 are associated with each other based on the switching command described above. Alternatively, the switching device 305 may create input / output information (in this case, an entry) in which the input / output device 306 is associated with a null value based on the switching command described above, for example. The switching device 305 stores the created input / output information in the input / output information unit 316.

以降、実行中のチャネルプログラムが、書き込み(WRITE)命令である場合、及び、読み取り(READ)命令である場合に、本実施形態に係る切り替え装置305が行う処理について説明する。   Hereinafter, processing performed by the switching device 305 according to the present embodiment when the channel program being executed is a write (WRITE) command and a read (READ) command will be described.

まず、図9を参照しながら、実行中のチャネルプログラムが書き込み(WRITE)命令である場合に、本実施形態に係る切り替え装置305が行う処理について説明する。図9は、書き込み処理である場合に、第3の実施形態に係る切り替え装置305が行う処理を表すフローチャートである。   First, a process performed by the switching device 305 according to the present embodiment when the channel program being executed is a write command will be described with reference to FIG. FIG. 9 is a flowchart illustrating processing performed by the switching device 305 according to the third embodiment in the case of writing processing.

切り替え装置305は、切り替え命令を受信するのに応じて、入出力処理部308におけるIOバッファ313に格納されているデータを読み取り(ステップS321)、読み取ったデータをデータ記憶部315に格納する(ステップS322)。切り替え装置305は、IOバッファ313に格納されているデータを削除してもよい。   In response to receiving the switching command, the switching device 305 reads data stored in the IO buffer 313 in the input / output processing unit 308 (step S321), and stores the read data in the data storage unit 315 (step S321). S322). The switching device 305 may delete the data stored in the IO buffer 313.

次に、切り替え装置305は、データ記憶部315からデータを読み取り(ステップS323)、読み取ったデータを入出力装置306に送信する。   Next, the switching device 305 reads data from the data storage unit 315 (step S323) and transmits the read data to the input / output device 306.

入出力装置306は、該データを受信し、受信したデータを自装置に格納する(ステップS324)。入出力装置306は、受信したデータを自装置に格納した場合に、入出力処理が完了したことを表す完了信号を切り替え装置305に送信する。   The input / output device 306 receives the data and stores the received data in its own device (step S324). When the received data is stored in the own device, the input / output device 306 transmits a completion signal indicating that the input / output processing is completed to the switching device 305.

切り替え装置305は、該完了信号を受信し(ステップS325)、その後、入出力情報部316において、該入出力処理を実行している入出力装置306を表す入出力装置IDに関連付けされた入出力処理部IDを読み取る。切り替え装置305は、読み取った入出力処理部IDが表す入出力処理部317に、入出力処理が完了したことを表す完了信号を送信する(ステップS326)。その後、切り替え装置305は、入出力情報部316において、該入出力装置IDに関連付けされた情報を削除する(ステップS327)。   The switching device 305 receives the completion signal (step S325), and thereafter, in the input / output information unit 316, the input / output associated with the input / output device ID representing the input / output device 306 performing the input / output processing. Read the processing unit ID. The switching device 305 transmits a completion signal indicating that the input / output processing is completed to the input / output processing unit 317 indicated by the read input / output processing unit ID (step S326). Thereafter, the switching device 305 deletes the information associated with the input / output device ID in the input / output information unit 316 (step S327).

次に、図10を参照しながら、実行中のチャネルプログラムが読み取り(READ)命令である場合に、本実施形態に係る切り替え装置305が行う処理について説明する。図10は、読み取り処理である場合に、第3の実施形態に係る切り替え装置305が行う処理を表すフローチャートである。   Next, a process performed by the switching device 305 according to the present embodiment when the channel program being executed is a read (READ) command will be described with reference to FIG. FIG. 10 is a flowchart illustrating processing performed by the switching device 305 according to the third embodiment in the case of reading processing.

切り替え装置305は、切り替え命令を受信するのに応じて、切り替え元のIOバッファ313に格納されているデータを読み取り(ステップS341)、読み取ったデータをデータ記憶部315に格納する(ステップS342)。次に、切り替え装置305は、入出力装置306が送信したデータを受信し(ステップS343)、受信したデータをデータ記憶部315に格納する(ステップS344)。   In response to receiving the switching command, the switching device 305 reads data stored in the switching source IO buffer 313 (step S341), and stores the read data in the data storage unit 315 (step S342). Next, the switching device 305 receives the data transmitted by the input / output device 306 (step S343), and stores the received data in the data storage unit 315 (step S344).

入出力装置306は、該データに関する入出力処理が完了するのに応じて、入出力処理が完了したことを表す完了信号を、切り替え装置305に送信する。   The input / output device 306 transmits a completion signal indicating completion of the input / output processing to the switching device 305 in response to completion of the input / output processing related to the data.

切り替え装置305は、該完了信号を受信する(ステップS345)。さらに、切り替え装置305は、データ記憶部315に格納されているデータを入出力処理部317に送信する。   The switching device 305 receives the completion signal (step S345). Further, the switching device 305 transmits the data stored in the data storage unit 315 to the input / output processing unit 317.

入出力処理部317は、該データを受信し、受信したデータをIOバッファ319に格納する(ステップS346)。   The input / output processing unit 317 receives the data and stores the received data in the IO buffer 319 (step S346).

その後、切り替え装置305は、入出力情報部316において、該入出力装置IDに関する情報を削除し(ステップS347)、さらに、入出力処理が完了したことを表す完了信号を入出力処理部317に送信する。   Thereafter, the switching device 305 deletes information regarding the input / output device ID in the input / output information unit 316 (step S347), and further transmits a completion signal indicating that the input / output processing is completed to the input / output processing unit 317. To do.

次に、第3の実施形態に係る切り替え装置305に関する効果について説明する。   Next, effects related to the switching device 305 according to the third embodiment will be described.

本実施形態に係る切り替え装置305によれば、仮想計算機307が入出力装置306にデータを格納している最中であっても、仮想計算機307が実行している入出力処理を異なる論理区画に、短期間のうちに切り替えることができる。この理由は、第3の実施形態に係る切り替え装置305が有する構成が、第1の実施形態に係る切り替え装置101が有する構造を含むからである。   According to the switching device 305 according to the present embodiment, even when the virtual computer 307 is storing data in the input / output device 306, the input / output processing executed by the virtual computer 307 is assigned to different logical partitions. , Can be switched in a short period of time. This is because the configuration of the switching device 305 according to the third embodiment includes the structure of the switching device 101 according to the first embodiment.

さらに、本実施形態に係る切り替え装置305によれば、ある論理区画に関する負荷が高くなった場合であっても、複数の論理区画における負荷を平準化することができる。この理由は、論理区画において入出力処理が実行されている場合であっても、切り替え装置305が、該入出力処理を異なる論理区画に切り替えるからである。   Furthermore, according to the switching device 305 according to the present embodiment, it is possible to level the loads in a plurality of logical partitions even when the load related to a certain logical partition becomes high. This is because the switching device 305 switches the input / output processing to a different logical partition even when the input / output processing is executed in the logical partition.

特許文献1に開示された仮想計算機システムは、入出力処理を実行している仮想計算機を異なる論理区画に移設することはできない。該仮想計算機システムは、実行している入出力処理が完了した後に、該仮想計算機を異なる論理区画に移設する。あるいは、該仮想計算機システムは、実行している入出力処理を中止することによって、該仮想計算機を異なる論理区画に移設する。   The virtual machine system disclosed in Patent Document 1 cannot transfer a virtual machine that is executing input / output processing to a different logical partition. The virtual machine system moves the virtual machine to a different logical partition after the input / output process being executed is completed. Alternatively, the virtual machine system moves the virtual machine to a different logical partition by stopping the input / output process being executed.

一方、第3の実施形態に係る切り替え装置305は、上述した処理を実行することによって、実行中の入出力処理であっても、該入出力処理を異なる論理区画に切り替える。この結果、リソース管理部302は、該仮想計算機を異なる論理区画に移設することができる。   On the other hand, the switching device 305 according to the third embodiment switches the input / output processing to a different logical partition even if the input / output processing is being executed by executing the above-described processing. As a result, the resource management unit 302 can relocate the virtual machine to a different logical partition.

(ハードウェア構成例)
上述した本発明の各実施形態における切り替え装置を、1つの計算処理装置(情報処理装置、コンピュータ)を用いて実現するハードウェア資源の構成例について説明する。但し、係る切り替え装置は、物理的または機能的に少なくとも2つの計算処理装置を用いて実現してもよい。また、係る切り替え装置は、専用の装置として実現してもよい。
(Hardware configuration example)
A configuration example of hardware resources for realizing the switching device according to each embodiment of the present invention described above using one calculation processing device (information processing device, computer) will be described. However, the switching device may be realized using at least two calculation processing devices physically or functionally. The switching device may be realized as a dedicated device.

図12は、第1の実施形態乃至第3の実施形態に係る切り替え装置を実現可能な計算処理装置のハードウェア構成例を概略的に示す図である。計算処理装置20は、中央処理演算装置(Central_Processing_Unit、以降「CPU」と表す)21、メモリ22、ディスク23、及び、不揮発性記録媒体24を有する。計算処理装置20は、さらに、入力装置25、出力装置26、通信インターフェース(以降、「通信IF」と表す。)27、及び、ディスプレー28を有する。計算処理装置20は、通信IF27を介して、他の計算処理装置、及び、通信装置と情報を送受信することができる。   FIG. 12 is a diagram schematically illustrating a hardware configuration example of a calculation processing device capable of realizing the switching device according to the first to third embodiments. The computer 20 includes a central processing unit (Central_Processing_Unit, hereinafter referred to as “CPU”) 21, a memory 22, a disk 23, and a nonvolatile recording medium 24. The calculation processing device 20 further includes an input device 25, an output device 26, a communication interface (hereinafter referred to as “communication IF”) 27, and a display 28. The calculation processing device 20 can transmit / receive information to / from other calculation processing devices and communication devices via the communication IF 27.

不揮発性記録媒体24は、コンピュータが読み取り可能な、たとえば、コンパクトディスク(Compact_Disc)、デジタルバーサタイルディスク(Digital_Versatile_Disc)である。また、不揮発性記録媒体24は、ユニバーサルシリアルバスメモリ(USBメモリ)、ソリッドステートドライブ(Solid_State_Drive)等であってもよい。不揮発性記録媒体24は、電源を供給しなくても係るプログラムを保持し、持ち運びを可能にする。不揮発性記録媒体24は、上述した媒体に限定されない。また、不揮発性記録媒体24の代わりに、通信IF27を介して、通信ネットワークを介して係るプログラムを持ち運びしてもよい。   The nonvolatile recording medium 24 is, for example, a compact disk (Compact_Disc) or a digital versatile disk (Digital_Versatile_Disc) that can be read by a computer. The nonvolatile recording medium 24 may be a universal serial bus memory (USB memory), a solid state drive (Solid_State_Drive), or the like. The non-volatile recording medium 24 retains such a program without being supplied with power, and can be carried. The nonvolatile recording medium 24 is not limited to the above-described medium. Further, the program may be carried via the communication network via the communication IF 27 instead of the nonvolatile recording medium 24.

すなわち、CPU21は、ディスク23が記憶するソフトウェア・プログラム(コンピュータ・プログラム:以下、単に「プログラム」と称する)を、実行する際にメモリ22にコピーし、演算処理を実行する。CPU21は、プログラム実行に必要なデータをメモリ22から読み取る。表示が必要な場合には、CPU21は、ディスプレー28に出力結果を表示する。外部への出力が必要な場合には、CPU21は、出力装置26に出力結果を出力する。外部からプログラムを入力する場合、CPU21は、入力装置25からプログラムを読み取る。CPU21は、上述した図1における切り替え装置、図4における切り替え装置、または、図6に示す各部が表す機能(処理)に対応するところのメモリ22にある切り替えプログラム(図2、図5、図8、図9、または、図10)を解釈し実行する。CPU21は、上述した本発明の各実施形態において説明した処理を順次行う。   That is, the CPU 21 copies a software program (computer program: hereinafter simply referred to as “program”) stored in the disk 23 to the memory 22 when executing it, and executes arithmetic processing. The CPU 21 reads data necessary for program execution from the memory 22. When the display is necessary, the CPU 21 displays the output result on the display 28. When output to the outside is necessary, the CPU 21 outputs an output result to the output device 26. When inputting a program from the outside, the CPU 21 reads the program from the input device 25. The CPU 21 is a switching program (FIGS. 2, 5, 8) in the memory 22 corresponding to the switching device in FIG. 1, the switching device in FIG. 4, or the function (process) represented by each unit shown in FIG. 9 or 10) is interpreted and executed. The CPU 21 sequentially performs the processes described in the above-described embodiments of the present invention.

すなわち、このような場合、本発明は、係る切り替えプログラムによっても成し得ると捉えることができる。更に、係る切り替えプログラムが記録されたコンピュータ読み取り可能な不揮発性の記録媒体によっても、本発明は成し得ると捉えることができる。   That is, in such a case, it can be understood that the present invention can also be achieved by such a switching program. Furthermore, it can be understood that the present invention can also be realized by a computer-readable non-volatile recording medium in which such a switching program is recorded.

以上、上述した実施形態を模範的な例として本発明を説明した。しかし、本発明は、上述した実施形態には限定されない。すなわち、本発明は、本発明のスコープ内において、当業者が理解し得る様々な態様を適用することができる。   The present invention has been described above using the above-described embodiment as an exemplary example. However, the present invention is not limited to the above-described embodiment. That is, the present invention can apply various modes that can be understood by those skilled in the art within the scope of the present invention.

101 切り替え装置
102 読み取り部
103 処理部
104 送信部
105 情報処理装置
201 第1論理区画
202 第2論理区画
203 仮想情報処理装置
204 第1入出力制御装置
205 第2入出力制御装置
206 管理部
207 管理部
208 リソース管理部
209 入出力装置
151 切り替え装置
152 読み取り部
153 処理部
154 送信部
155 情報処理装置
301 情報処理装置
302 リソース管理部
303 論理区画
304 論理区画
305 切り替え装置
306 入出力装置
307 仮想計算機
308 入出力処理部
309 VM管理部
310 区画負荷監視部
311 管理情報部
312 メモリユニット
313 IOバッファ
314 VM負荷監視部
315 データ記憶部
316 入出力情報部
317 入出力処理部
318 管理情報部
319 IOバッファ
320 VM管理部
20 計算処理装置
21 CPU
22 メモリ
23 ディスク
24 不揮発性記録媒体
25 入力装置
26 出力装置
27 通信IF
28 ディスプレー
DESCRIPTION OF SYMBOLS 101 Switching apparatus 102 Reading part 103 Processing part 104 Transmission part 105 Information processing apparatus 201 1st logical partition 202 2nd logical partition 203 Virtual information processing apparatus 204 1st input / output control apparatus 205 2nd input / output control apparatus 206 Management part 207 Management Unit 208 resource management unit 209 input / output device 151 switching device 152 reading unit 153 processing unit 154 transmission unit 155 information processing device 301 information processing device 302 resource management unit 303 logical partition 304 logical partition 305 switching device 306 input / output device 307 virtual computer 308 Input / output processing unit 309 VM management unit 310 Partition load monitoring unit 311 Management information unit 312 Memory unit 313 IO buffer 314 VM load monitoring unit 315 Data storage unit 316 Input / output information unit 317 Input / output processing unit 3 8 management information unit 319 IO buffer 320 VM management unit 20 the central processing unit 21 CPU
22 Memory 23 Disk 24 Non-volatile recording medium 25 Input device 26 Output device 27 Communication IF
28 Display

Claims (10)

物理情報処理装置が論理的に分割された複数の論理区画において、第1論理区画に関する入出力処理を制御している第1入出力制御装置によって、入出力装置に対して実行されている出力処理を、第2論理区画に関する入出力処理を制御している第2入出力制御装置に切り替える命令に応じて、前記出力処理において前記入出力装置に格納されるデータを、前記第1入出力制御装置から読み取る読み取り手段と、
前記読み取り手段が読み取ったデータを、前記入出力装置に格納する格納処理を実行する処理手段と、
前記格納処理が完了するのに応じて前記入出力装置が送信した信号を、前記第2入出力制御装置に送信する送信手段と
を備える切り替え装置。
Output processing executed for the input / output device by the first input / output control device that controls input / output processing related to the first logical partition in a plurality of logical partitions in which the physical information processing device is logically divided. In response to a command to switch to a second input / output control device that controls input / output processing relating to the second logical partition, the data stored in the input / output device in the output processing is transferred to the first input / output control device. Reading means for reading from,
Processing means for executing storage processing for storing the data read by the reading means in the input / output device;
A switching device comprising: a transmission unit configured to transmit a signal transmitted from the input / output device to the second input / output control device in response to completion of the storage process.
前記読み取り手段は、前記第1入出力制御装置によって前記入出力装置に対して実行されている入力処理を、前記第2入出力制御装置に切り替える命令に応じて、前記入力処理において前記第1入出力制御装置に格納されたデータを、前記第1入出力制御装置から読み取り、
前記処理手段は、前記入出力装置が前記第1入出力制御装置に送信するデータを受信し、読み取った前記データ及び受信した前記データを前記第2入出力制御装置に格納し、
前記送信手段は、前記入力処理が完了するのに応じて前記入出力装置が送信した信号を、前記第2入出力制御装置に送信する
請求項1に記載の切り替え装置。
In response to a command to switch the input process being executed on the input / output device by the first input / output control device to the second input / output control device, the reading means is configured to perform the first input in the input process. Read data stored in the output control device from the first input / output control device;
The processing means receives data transmitted by the input / output device to the first input / output control device, stores the read data and the received data in the second input / output control device,
The switching device according to claim 1, wherein the transmission unit transmits a signal transmitted by the input / output device to the second input / output control device in response to completion of the input process.
請求項1または請求項2に記載の切り替え装置と、
前記第1論理区画において実行されている仮想情報処理装置に関する処理を停止する停止信号を、前記第1論理区画において前記仮想情報処理装置を管理している管理装置に送信し、前記切り替え装置に前記命令を指示し、その後、前記仮想情報処理装置を前記第2論理区画に移設し、移設した前記仮想情報処理装置に関する処理を開始する開始信号を、前記第2論理区画において前記仮想情報処理装置を管理する管理装置に送信し、前記第1入出力制御装置が実行している処理を表すプログラムを、前記第2入出力制御装置に複製する管理手段と
を備える仮想情報管理装置。
The switching device according to claim 1 or 2,
A stop signal for stopping processing related to the virtual information processing apparatus being executed in the first logical partition is transmitted to a management apparatus that manages the virtual information processing apparatus in the first logical partition, and The virtual information processing apparatus is transferred to the second logical partition, and a start signal for starting processing related to the transferred virtual information processing apparatus is transmitted to the virtual information processing apparatus in the second logical partition. A virtual information management apparatus comprising: management means for transmitting a program representing a process executed by the first input / output control apparatus to the second input / output control apparatus.
前記管理手段は、前記第1論理区画において実行されている処理に関する負荷が、前記第2論理区画において実行されている処理に関する負荷よりも高い場合に、前記第1論理区画における前記仮想情報処理装置に関する前記停止信号を前記管理装置に送信する
請求項3に記載の仮想情報管理装置。
The management unit is configured to execute the virtual information processing apparatus in the first logical partition when a load related to a process executed in the first logical partition is higher than a load related to a process executed in the second logical partition. The virtual information management device according to claim 3, wherein the stop signal is transmitted to the management device.
請求項3または請求項4に記載の仮想情報管理装置と、
論理区画を管理可能な論理区画管理手段と
を備えるファームウェア。
The virtual information management device according to claim 3 or 4,
Firmware comprising logical partition management means capable of managing logical partitions.
請求項5に記載のファームウェア
を備える情報処理装置。
An information processing apparatus comprising the firmware according to claim 5.
前記第1論理区画において前記仮想情報処理装置を管理している前記管理装置を表す第1管理装置と、
前記第2論理区画において前記仮想情報処理装置を管理している前記管理装置を表す第2管理装置と、
前記送信手段が送信した前記信号を受信し、前記第2論理区画に移設された前記仮想情報処理装置に、受信した前記信号を送信する前記第2入出力制御装置と
をさらに備え、
前記第1管理装置は、前記停止信号を受信した場合に、前記第1論理区画における前記仮想情報処理装置に、前記第1論理区画に関する処理を処理可能な計算機リソースを割り当てるのを停止し、
前記第2管理装置は、前記開始信号を受信した場合に、前記第2論理区画に移設された前記仮想情報処理装置に、前記第2論理区画に関する処理を処理可能な計算機リソースを割り当てる
請求項6に記載の情報処理装置。
A first management device representing the management device managing the virtual information processing device in the first logical partition;
A second management device representing the management device managing the virtual information processing device in the second logical partition;
The second input / output control device that receives the signal transmitted by the transmission means and transmits the received signal to the virtual information processing device relocated to the second logical partition, and
When the first management device receives the stop signal, the first management device stops allocating computer resources capable of processing the first logical partition to the virtual information processing device in the first logical partition;
The said 2nd management apparatus allocates the computer resource which can process the process regarding a said 2nd logical partition to the said virtual information processing apparatus moved to the said 2nd logical partition, when the said start signal is received. The information processing apparatus described in 1.
物理情報処理装置が論理的に分割された複数の論理区画において、第1論理区画に関する入出力処理を制御している第1入出力制御装置によって、入出力装置に対して実行されている出力処理を、第2論理区画に関する入出力処理を制御している第2入出力制御装置に切り替える命令に応じて、前記出力処理において前記入出力装置に格納されるデータを、前記第1入出力制御装置から読み取り、読み取ったデータを前記入出力装置に格納する格納処理を実行し、前記格納処理が完了するのに応じて前記入出力装置が送信した信号を、前記第2入出力制御装置に送信する切り替え方法。   Output processing executed for the input / output device by the first input / output control device that controls input / output processing related to the first logical partition in a plurality of logical partitions in which the physical information processing device is logically divided. In response to a command to switch to a second input / output control device that controls input / output processing relating to the second logical partition, the data stored in the input / output device in the output processing is transferred to the first input / output control device. A storage process is performed to store the read data in the input / output device, and a signal transmitted by the input / output device is transmitted to the second input / output control device in response to the completion of the storage process. Switching method. 物理情報処理装置が論理的に分割された複数の論理区画において、第1論理区画に関する入出力処理を制御している第1入出力制御装置によって、入出力装置に対して実行されている入力処理を、第2論理区画に関する入出力処理を制御している第2入出力制御装置に切り替える命令に応じて、前記入力処理において前記第1入出力制御装置に格納されたデータを、前記第1入出力制御装置から読み取り、前記入出力装置が前記第1入出力制御装置に送信するデータを受信し、読み取った前記データ及び受信した前記データを前記第2入出力制御装置に格納し、前記入力処理が完了するのに応じて前記入出力装置が送信した信号を、前記第2入出力制御装置に送信する切り替え方法。   Input processing that is executed on an input / output device by a first input / output control device that controls input / output processing related to the first logical partition in a plurality of logical partitions in which the physical information processing device is logically divided In response to a command to switch to the second input / output control device that controls the input / output processing relating to the second logical partition, the data stored in the first input / output control device in the input processing is Reading from the output control device, receiving data transmitted by the input / output device to the first input / output control device, storing the read data and the received data in the second input / output control device, and performing the input processing A switching method for transmitting a signal transmitted from the input / output device to the second input / output control device in response to completion of. 物理情報処理装置が論理的に分割された複数の論理区画において、第1論理区画に関する入出力処理を制御している第1入出力制御装置によって、入出力装置に対して実行されている出力処理を、第2論理区画に関する入出力処理を制御している第2入出力制御装置に切り替える命令に応じて、前記出力処理において前記入出力装置に格納されるデータを、前記第1入出力制御装置から読み取る読み取り機能と、
前記読み取り機能において読み取られたデータを、前記入出力装置に格納する格納処理を実行する処理機能と、
前記格納処理が完了するのに応じて前記入出力装置が送信した信号を、前記第2入出力制御装置に送信する送信機能と
をコンピュータに実現させる切り替えプログラム。
Output processing executed for the input / output device by the first input / output control device that controls input / output processing related to the first logical partition in a plurality of logical partitions in which the physical information processing device is logically divided. In response to a command to switch to a second input / output control device that controls input / output processing relating to the second logical partition, the data stored in the input / output device in the output processing is transferred to the first input / output control device. Reading function to read from,
A processing function for executing a storing process for storing the data read in the reading function in the input / output device;
A switching program for causing a computer to realize a transmission function of transmitting a signal transmitted from the input / output device to the second input / output control device in response to completion of the storage process.
JP2015062899A 2015-03-25 2015-03-25 Switching device, switching method, switching program, virtual information management device, and information processing device Active JP6459696B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015062899A JP6459696B2 (en) 2015-03-25 2015-03-25 Switching device, switching method, switching program, virtual information management device, and information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015062899A JP6459696B2 (en) 2015-03-25 2015-03-25 Switching device, switching method, switching program, virtual information management device, and information processing device

Publications (2)

Publication Number Publication Date
JP2016184206A true JP2016184206A (en) 2016-10-20
JP6459696B2 JP6459696B2 (en) 2019-01-30

Family

ID=57243157

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015062899A Active JP6459696B2 (en) 2015-03-25 2015-03-25 Switching device, switching method, switching program, virtual information management device, and information processing device

Country Status (1)

Country Link
JP (1) JP6459696B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006209487A (en) * 2005-01-28 2006-08-10 Hitachi Ltd Computer system, computer, storage device, and management terminal
JP2009217608A (en) * 2008-03-11 2009-09-24 Hitachi Ltd Virtual computer system and control method therefor
JP2013125284A (en) * 2011-12-13 2013-06-24 Hitachi Ltd Virtual computer system and migration control method of virtual computer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006209487A (en) * 2005-01-28 2006-08-10 Hitachi Ltd Computer system, computer, storage device, and management terminal
JP2009217608A (en) * 2008-03-11 2009-09-24 Hitachi Ltd Virtual computer system and control method therefor
JP2013125284A (en) * 2011-12-13 2013-06-24 Hitachi Ltd Virtual computer system and migration control method of virtual computer

Also Published As

Publication number Publication date
JP6459696B2 (en) 2019-01-30

Similar Documents

Publication Publication Date Title
JP4056471B2 (en) System for transferring to a processor
JP6447329B2 (en) Parallel computing controller, parallel computing system, and migration time estimation program
RU2397536C2 (en) Device for information processing, method for process control and computer program
JP5980335B2 (en) Virtual computer system, management computer, and virtual computer management method
US9852008B2 (en) Computer-readable recording medium storing execution information notification program, information processing apparatus, and information processing system
KR101751936B1 (en) Apparatus and method for virtualization of i/o device using shared memory in host-based terminal virtualization environment
WO2018148082A1 (en) Migrating accelerators between compute systems
KR101680109B1 (en) Multi-Core Apparatus And Method For Balancing Load Of The Same
US20140351813A1 (en) Runtime virtual process creation for load sharing
KR101585160B1 (en) Distributed Computing System providing stand-alone environment and controll method therefor
KR20180045347A (en) Method for resource management of virtual environment
US20140289728A1 (en) Apparatus, system, method, and storage medium
WO2013035246A1 (en) Virtual computer control apparatus, virtual computer control method, virtual computer control program, and integrated circuit
US10831525B2 (en) Intelligent assignment of virtual machines to compute only or hyper converged nodes
CN101765829B (en) Method and system for managing an initial program load in a logical partition of a data storage system
JPWO2009069385A1 (en) Device detection apparatus, device detection method, and program
CN100487654C (en) Method for virtualization of device self-description information using in-transit modification
JP6459696B2 (en) Switching device, switching method, switching program, virtual information management device, and information processing device
CN116401043A (en) Execution method of computing task and related equipment
JP2013117806A (en) Cpu allocation time management device and cpu allocation time management program
CN115756866A (en) Load balancing method, device and storage medium
JP2014078214A (en) Schedule system, schedule method, schedule program, and operating system
JP6870390B2 (en) Resource allocation method, connection management server and connection management program in a system based on a virtual infrastructure
JP2010231295A (en) Analysis system
JP2016038888A (en) Information processing system, information processing method and information processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180215

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180910

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180925

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181115

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20181204

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181217

R150 Certificate of patent or registration of utility model

Ref document number: 6459696

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150