JPH06103092A - Virtual computer system - Google Patents

Virtual computer system

Info

Publication number
JPH06103092A
JPH06103092A JP4250171A JP25017192A JPH06103092A JP H06103092 A JPH06103092 A JP H06103092A JP 4250171 A JP4250171 A JP 4250171A JP 25017192 A JP25017192 A JP 25017192A JP H06103092 A JPH06103092 A JP H06103092A
Authority
JP
Japan
Prior art keywords
virtual
instruction
lpar
instruction processor
assigned
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
JP4250171A
Other languages
Japanese (ja)
Other versions
JP3186244B2 (en
Inventor
Toyohisa Imada
豊寿 今田
Takashi Shimojo
孝 下城
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP25017192A priority Critical patent/JP3186244B2/en
Publication of JPH06103092A publication Critical patent/JPH06103092A/en
Application granted granted Critical
Publication of JP3186244B2 publication Critical patent/JP3186244B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To dynamically reallocate all resources, allocated to one virtual com puter, to other virtual computers. CONSTITUTION:An LPAR control part for virtual computers LPAR as logically sectioned resources which enters a non-operation state as to the LPAR control part 6 which controls the LPARs stops the OS of the corresponding LPAR and indicates the releasing of the resource of the LPAR corresponding to a resource control part 8 controlling the resource and the reallocation of the resource to other LPARs. The LPAR control part 6 of the LPAR to which the resource is newly allocated stops the OS of the corresponding LPAR and reads new allocation contents out of the resource control part 8. When a channel is additionally allocated, it is reconstituted and when the use rate of an instruction processor IP is added, the rescheduling of the IP is requested to a monitor 9. In another way, a new logical processor is generated and allocated to the corresponding LPAR. Then the OS of the corresponding LPAR is actuated according to the new allocation contents of a main storage MS.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、仮想計算機システムに
関し、特に、仮想計算機への資源の割り当てを動的に再
構成する技術に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a virtual computer system, and more particularly to a technique for dynamically reconfiguring resource allocation to a virtual computer.

【0002】[0002]

【従来の技術】仮想計算機システムにおいては、MS
(主記憶)、ES(拡張記憶)、IP(命令プロセッ
サ)、チャネル等の資源を、論理的に区画化し、仮想計
算機システム上に実現する各仮想計算機に割り当てる。
このような、各資源を論理的に区画化する機能をLPA
R(Logically Partitioned)機
能と呼ぶ。
2. Description of the Related Art In a virtual computer system, MS
Resources such as (main memory), ES (extended memory), IP (instruction processor), and channels are logically partitioned and allocated to each virtual computer realized on the virtual computer system.
LPA has a function to logically partition each resource.
This is called an R (Logically Partitioned) function.

【0003】また、従来、MS/ES、チャネル、IP
等の個々の資源については、仮想計算機システム上に実
現された各仮想計算機について、動的に資源の割り当て
を拡張及び縮退する知られている。
Conventionally, MS / ES, channel, IP
It is known to dynamically expand and contract resource allocation for each virtual computer realized on the virtual computer system.

【0004】[0004]

【発明が解決しようとする課題】しかし、1つの仮想計
算機に割り当てられている資源のすべてを、一括して他
の仮想計算機に、その他の仮想計算機に影響を与えるこ
となく割り当てることはできなかった。
However, it has not been possible to collectively allocate all the resources allocated to one virtual machine to another virtual machine without affecting the other virtual machines. .

【0005】たとえば、1つの仮想計算機Aが非生産状
態に入り、もう1つの仮想計算機Bの物理資源を拡張し
たい場合に、仮想計算機Aに割り当てられている資源
(MS、ES、IP、チャネル)のすべてを仮想計算機
Bに、一括して、仮想計算機Bを再初期化することな
く、動的に、割り当てることはできなかった。このた
め、仮想計算機B行っていた業務の継続性を保持したま
ま、資源の再構成を行うことはできなかった。
For example, when one virtual computer A enters a non-production state and wants to expand the physical resources of another virtual computer B, the resources (MS, ES, IP, channel) assigned to the virtual computer A All of the above could not be dynamically assigned to the virtual computer B at once without re-initializing the virtual computer B. For this reason, it was not possible to reconfigure the resources while maintaining the continuity of the work performed by the virtual machine B.

【0006】そこで、本発明は、1つの仮想計算機に割
り当てられている資源のすべてを、一括して他の仮想計
算機に、当該他の仮想計算機を再初期化することなく、
動的に割り当てることのできる仮想計算機システムを提
供することを目的とする。
Therefore, according to the present invention, all the resources assigned to one virtual computer are collectively reset to another virtual computer without re-initializing the other virtual computer.
It is an object to provide a virtual computer system that can be dynamically allocated.

【0007】[0007]

【課題を解決するための手段】前記目的達成のために本
発明は、割り当てられた物理資源を利用して処理を行
う、複数の仮想計算機を実現する仮想計算機システムで
あって、物理資源を排他的または時分割的に分割した論
理区画に従って、前記論理区画に含まれる物理資源を当
該論理区画に対応する仮想計算機に割り当てる論理区画
手段と、解消する仮想計算機に対応する論理区画に含ま
れる全ての物理資源を、前記解消する仮想計算機に代え
て他の特定の仮想計算機に動的に割り当てる再構成手段
とを有することを特徴とする仮想計算機システムを提供
する。
In order to achieve the above-mentioned object, the present invention is a virtual computer system for realizing a plurality of virtual computers, which performs processing by using the allocated physical resources, wherein the physical resources are exclusive. Logical partition means for allocating the physical resources included in the logical partition to the virtual computer corresponding to the logical partition according to the logical partition divided physically or time-divisionally, and all the logical partitions included in the logical partition corresponding to the virtual computer to be resolved. There is provided a virtual computer system comprising a reconfiguring unit that dynamically allocates physical resources to another specific virtual computer instead of the virtual computer to be eliminated.

【0008】[0008]

【作用】本発明に係る仮想計算機システムによれば、各
仮想計算機は、割り当てられた物理資源を利用して処理
を行う。この物理資源の割り当ては、論理区画手段は、
物理資源を排他的または時分割的に分割した論理区画に
従って、前記論理区画に含まれる物理資源を当該論理区
画に対応する仮想計算機に割り当てることにより行う。
たとえば、物理資源が命令プロセッサであれば、複数の
命令プロセッサのそれぞれを、それぞれの利用率によっ
て分割した論理区画に従って、前記論理区画に含まれる
各命令プロセッサの利用率を、当該論理区画に対応する
仮想計算機に割り当て、物理資源が主記憶であれば、主
記憶の領域を分割した論理区画に従って、前記論理区画
に含まれる主記憶の領域を当該論理区画に対応する仮想
計算機に割り当てる。
According to the virtual computer system of the present invention, each virtual computer performs processing by using the allocated physical resource. This allocation of physical resources is
This is done by allocating the physical resources included in the logical partition to the virtual computer corresponding to the logical partition according to the logical partition in which the physical resource is exclusively or time-divided.
For example, if the physical resource is an instruction processor, the utilization rate of each instruction processor included in the logical partition corresponds to the logical partition according to the logical partition obtained by dividing each of the plurality of instruction processors by the utilization rate. If the physical resource is a main memory and is allocated to a virtual computer, the area of the main memory included in the logical partition is allocated to the virtual computer corresponding to the logical partition according to the logical partition obtained by dividing the area of the main memory.

【0009】そして、不要となったために解消する仮想
計算機が発生したら、再構成手段が、解消する仮想計算
機に対応する論理区画に含まれる全ての物理資源を、前
記解消する仮想計算機に代えて他の特定の仮想計算機に
動的に割り当てる。たとえば、解消する仮想計算機に対
応する論理区画に含まれる命令プロセッサの利用率を解
消し、解消した命令プロセッサの利用率を、他の仮想計
算機に、動的に割り当てる。または、解消する仮想計算
機への前記領域の割り当てを解消し、前記他の仮想計算
機に、当該仮想計算機に既に割り当てられている領域と
連続した、前記割り当てを解消した領域と同容量の領域
を、動的に割り当てる。
When a virtual computer that is eliminated because it is no longer needed is generated, the reconfiguration means replaces all the physical resources included in the logical partition corresponding to the virtual computer to be eliminated with the virtual computer to be eliminated. Dynamically assigned to a specific virtual machine of. For example, the utilization rate of the instruction processor included in the logical partition corresponding to the virtual computer to be resolved is eliminated, and the resolved utilization rate of the instruction processor is dynamically assigned to another virtual computer. Alternatively, canceling the allocation of the area to the virtual machine to be canceled, to the other virtual machine, continuous with the area already allocated to the virtual machine, the area of the same capacity as the area where the allocation is canceled, Assign dynamically.

【0010】[0010]

【実施例】以下、本発明に係る仮想計算機システムの一
実施例を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the virtual computer system according to the present invention will be described below.

【0011】図1に、本実施例に係る仮想計算機システ
ムのハードウェア資源構成を示す。
FIG. 1 shows the hardware resource configuration of the virtual computer system according to this embodiment.

【0012】本実施例に係る仮想計算機システムは、ハ
ードウェア資源として、4組の命令プロセッサ(IP1
〜IP4)1、主記憶部/仮想記憶部(MS/ES)2
およびチャネルパス(CH)3と、デバイス(DEVI
CE)4とを有する。
The virtual machine system according to this embodiment has four sets of instruction processors (IP1) as hardware resources.
To IP4) 1, main memory / virtual memory (MS / ES) 2
And the channel path (CH) 3 and the device (DEVI
CE) 4.

【0013】これらの各資源は、LPARモード(論理
区画モ−ド)において、排他的または時分割に複数の論
理区画に分割される。各論理区画は、1つの論理的な計
算機システム(仮想計算機)に相当する。そこで、各仮
想計算機を「LPAR」と呼ぶことにする。本実施例で
は、4つの命令プロセッサ1は時分割的に、各LPAR
に使用され、他のハードウェアは、それぞれ各LPAR
に排他的に使用される。
In the LPAR mode (logical partition mode), each of these resources is exclusively or time-divided into a plurality of logical partitions. Each logical partition corresponds to one logical computer system (virtual computer). Therefore, each virtual computer will be referred to as "LPAR". In this embodiment, the four instruction processors 1 time-divisionally share each LPAR.
Other hardware used for each LPAR
Used exclusively for.

【0014】次に、本実施例に係る仮想計算機システム
の論理的な構成を示す。
Next, a logical configuration of the virtual computer system according to this embodiment will be shown.

【0015】図中、5は各LPARに対するオペレーシ
ョンインタフェースを提供するLPARフレームを備え
たSVP(Service Processor)、6
は各LPARへの操作コマンドなどを制御するLPAR
制御部である。また、10はLPARのオペレ−ション
システムであるところのゲストOSを実行する論理的な
命令プロセッサ(以下、「LIP」という)、7はLP
AR制御部6からの指示に従ってゲストOSを制御し、
またシミュレーションが必要な命令に対してはシミュレ
ーション処理を行うLIP(Logical Inst
ructionProcessor)制御部、8は全L
PARの物理資源情報をすべて管理する資源管理部、9
は各制御部6、7と資源管理部8を制御するモニタ9で
ある。LPAR制御部6、LIP制御部7、資源管理部
8は、それぞれタスクとして構成する。
In the figure, 5 is an SVP (Service Processor) having an LPAR frame that provides an operation interface for each LPAR, 6
Is an LPAR for controlling operation commands to each LPAR
It is a control unit. Further, 10 is a logical instruction processor (hereinafter, referred to as “LIP”) that executes a guest OS, which is an LPAR operation system, and 7 is an LP.
The guest OS is controlled according to the instruction from the AR control unit 6,
In addition, LIP (Logical Inst) that performs simulation processing for instructions that require simulation.
control unit, 8 is all L
Resource management unit for managing all physical resource information of PAR, 9
Is a monitor 9 for controlling each of the control units 6 and 7 and the resource management unit 8. The LPAR control unit 6, the LIP control unit 7, and the resource management unit 8 are each configured as a task.

【0016】以下、本実施例に係る仮想計算機システム
の動作を、3つのLPARを稼動させる場合を例にとり
説明する。
The operation of the virtual computer system according to this embodiment will be described below by taking the case of operating three LPARs as an example.

【0017】いま、たとえば、起動時に、資源MS2、
IP1が、3つのLPARについて次のように、定義さ
れ割り当てられているものとする。
Now, for example, at startup, the resource MS2,
Let IP1 be defined and assigned as follows for the three LPARs.

【0018】すなわち、MS2については、MSオリジ
ン、MSサイズ及び拡張用MSサイズが、図3(a)に
示すように定義され、これにより、MSの領域が、3つ
のLPARについて、それぞれ図3(c)に示すよう
に、MSオリジンからMSサイズ分割り当てられてお
り、IP1ついては、図4(a)に示すように定義さ
れ、IP1が100%LPAR1に割り当てられ、IP
2がLPAR1とLPAR2に時分割により50%ずつ
割り当てられ、IP3がLPAR2とLPAR3に時分
割により50%ずつ割り当てられ、IP4が100%L
PAR3に割り当てられているものとする。そして、こ
の場合、各LPARにとって、各IPの割り当て分のそ
れぞれが、一つの論理的な命令プロセッサLIPに相当
する。たとえば、LPAR1は、IP1の100%に相
当するLIPと、IP2の50%に相当するLIPの2
つのLIPを持つ。
That is, with respect to MS2, the MS origin, the MS size, and the extension MS size are defined as shown in FIG. 3 (a), whereby the MS area is set to three LPARs as shown in FIG. As shown in c), the MS size is allocated from the MS origin, and IP1 is defined as shown in FIG. 4A, and IP1 is allocated to 100% LPAR1.
2 is allocated to LPAR1 and LPAR2 by 50% by time division, IP3 is allocated to LPAR2 and LPAR3 by 50% by time division, and IP4 is 100% L
It is assumed to be assigned to PAR3. In this case, for each LPAR, each allocation of each IP corresponds to one logical instruction processor LIP. For example, LPAR1 is LIP equivalent to 100% of IP1 and LIP2 equivalent to 50% of IP2.
Has one LIP.

【0019】そして、このような割り当て状態で稼働中
に、LPAR2の使用を終了し、さらに、LPAR2に
割り当てられている資源の全てを、LPAR1に追加し
て割り当てたいという要求が生じたものとする。いま、
資源の割り当ての全てを他のLPARに渡すLPARを
縮退するLPARと、縮退するLPARより資源の割り
当てを受け取るLPARを統合するLPARと呼ぶ。
It is assumed that there is a request to terminate the use of LPAR2 and to additionally allocate all the resources allocated to LPAR2 to LPAR1 while operating in such an allocated state. . Now
An LPAR that degenerates an LPAR that passes all resource allocation to another LPAR and an LPAR that integrates an LPAR that receives resource allocation from the degenerate LPAR are called.

【0020】このような場合に、オペレ−タは、まず、
SVP5上のLPARフレームで、LPAR2の資源を
LPAR1に統合するコマンド、INTEGコマンド
(以下、統合コマンド)を指定する。この統合コマンド
には、オペランドとして、縮退するLPARに与えた番
号、名称と、統合するLPARに与えた番号、名称を含
めるようにする。このオペレーションを受け取ると、S
VP5からモニタ9を経由して縮退するLPARである
LPAR2のLPAR制御部に、制御が移る。
In such a case, the operator first
In the LPAR frame on SVP5, an INTEG command (hereinafter, an integrated command) that integrates the resources of LPAR2 into LPAR1 is specified. The integrated command includes the number and name given to the degenerate LPAR and the number and name given to the integrated LPAR as operands. When this operation is received, S
The control is transferred from the VP 5 to the LPAR control unit of the LPAR 2, which is the LPAR degenerated via the monitor 9.

【0021】制御を移されたLPAR2のLPAR制御
部6は、図2に示すように、まずLIP制御部7に指示
を出す。この指示を受けた、LIP制御部7はLPAR
2のゲストOSをストップ状態にする(処理フロー20
1)。次に、LPAR2のLPAR制御部6は、LPA
R2が所有している全資源(MS/ES、チャネル、C
PU)をすべて開放する為、その資源を制御する資源管
理部8にLPAR2が所有している全資源をOFFLI
NE状態にするよう指示を出す(処理フロー202)。
この指示を受けた資源管理部8は、指示に従ってLPA
R2が所有している全資源をOFFLINE状態にする
資源開放処理を行う。
The LPAR control unit 6 of the LPAR 2 to which the control is transferred first issues an instruction to the LIP control unit 7, as shown in FIG. Upon receiving this instruction, the LIP control unit 7 sets the LPAR
The guest OS of No. 2 is put in the stop state (processing flow 20
1). Next, the LPAR control unit 6 of the LPAR2
All resources owned by R2 (MS / ES, channel, C
In order to release all the PUs, all resources owned by LPAR2 are turned off by the resource management unit 8 which controls the resources.
An instruction is issued to enter the NE state (processing flow 202).
Upon receiving this instruction, the resource management unit 8 follows the instruction and sets the LPA.
Resource release processing is performed to bring all resources owned by R2 into the OFFLINE state.

【0022】また、LPAR2のLPAR制御部6は、
開放されたLPAR2の資源を統合するLPAR1に、
割り当てるよう、資源管理部8に指示を出す(処理フロ
ー203)。この指示を受けた資源管理部8は、指示に
従って割り当てを変更する資源再割り当処理を行う。変
更後の割り当てについては、その内容を資源管理部8内
で保持する。この際、資源管理部8は、図3の(c)に
示すように、MS2上、LPAR1に割り当てられてい
るエリアに、LPAR3のエリアが、連続して割り当て
られている場合、LPAR3のMS割り当てエリアを再
配置する。たとえば、図3(d)に示すように、LPA
R3のMSオリジンをアドレス256か384に移動す
るようにする。そして、LPAR2に割り当てられてい
た分のエリアを、LPAR1に既に割り当てられていた
エリアに連続して割り当てる(図3(b)、(d))よ
うにする。
Further, the LPAR control unit 6 of the LPAR2 is
LPAR1 that integrates the resources of the released LPAR2,
The resource management unit 8 is instructed to allocate it (processing flow 203). Upon receiving this instruction, the resource management unit 8 performs a resource reallocation process for changing the allocation according to the instruction. Regarding the allocation after the change, the content thereof is held in the resource management unit 8. At this time, when the area of LPAR3 is continuously allocated to the area allocated to LPAR1 on MS2, resource management unit 8 allocates MS to LPAR3 as shown in (c) of FIG. Rearrange the area. For example, as shown in FIG.
Move the MS origin of R3 to address 256 or 384. Then, the areas allocated to LPAR2 are continuously allocated to the areas already allocated to LPAR1 (FIGS. 3B and 3D).

【0023】また、LPAR2のLIP(LPAR2の
LIPのうち、IP2上に実現されたLIPをLIP2
1、IP3上に実現されたLIPをLIP22とする)
のうち、LIP21についてはLIP21に与えられた
IP2の利用率(この場合、50%、図4(a)参照)
を、LPAR1のIP2上に実現されたLIP12につ
いての、IP2の利用率に加算し、資源管理部8内でこ
の値(この場合、100%)を保持する。
The LIP of LPAR2 (of the LIPs of LPAR2, the LIP realized on IP2 is the LIP2
1, LIP22 realized on IP3)
Of these, for LIP21, the utilization rate of IP2 given to LIP21 (in this case, 50%, see FIG. 4 (a))
Is added to the utilization rate of IP2 for LIP12 realized on IP2 of LPAR1, and this value (100% in this case) is held in the resource management unit 8.

【0024】次に、LIP22のIP3の利用率を、L
PAR1に与える為、LPAR1の新たなLIP13
(定義されていない最若番の論理IP)を生成し、生成
したLIP13についての、IP3の利用率を、LIP
22に割り当てられていた利用率(50%)とし、資源
管理部8内でこの値(この場合、100%)を保持す
る。
Next, the utilization rate of IP3 of LIP22 is set to L
New LIP13 of LPAR1 to give to PAR1
(The lowest logical IP not defined) is generated, and the utilization rate of IP3 for the generated LIP13 is LIP.
The utilization rate (50%) assigned to 22 is set, and this value (100% in this case) is held in the resource management unit 8.

【0025】結果、資源管理部8は、以上の処理の終了
後、内部情報として図3の(b)及び図4の(b)の状
態を所持していることになる。
As a result, after the above processing is completed, the resource management unit 8 possesses the states of FIG. 3B and FIG. 4B as internal information.

【0026】ここまでの処理によって、縮退LPAR
(LPAR2)についての処理は終了するので、LPA
R2のLPAR制御部6は、制御をモニタ9に戻す。制
御を戻されたモニタ9は、統合するLPARであるLP
AR1のLPAR制御部6に制御を移す。
By the processing up to this point, the degenerate LPAR
Since the process for (LPAR2) ends, LPA
The LPAR control unit 6 of R2 returns the control to the monitor 9. The monitor 9 returned to the control is LP which is the LPAR to be integrated.
The control is transferred to the LPAR control unit 6 of AR1.

【0027】制御を移された、LPAR1のLPAR制
御部6は、まず、LIP制御部7に指示を出し、LIP
制御部7にLPAR1のゲストOSをストップ状態にさ
せる(処理フロー204)。次に、LPAR1のLPA
R制御部6は、このLPAR1への、新たなMS/ES
の割り当てを資源管理部8から読み出し、内部に、その
情報を格納する(処理フロー205)。
The LPAR control unit 6 of the LPAR 1 to which the control has been transferred first issues an instruction to the LIP control unit 7, and
The control unit 7 causes the guest OS of LPAR1 to be in the stop state (processing flow 204). Next, LPA of LPAR1
The R control unit 6 adds a new MS / ES to this LPAR1.
Is read from the resource management unit 8 and the information is stored therein (processing flow 205).

【0028】次に、LPAR1のLPAR制御部6は、
LPAR2に割り当てられていて、OFFLINE状態
となっているチャネルの識別を資源管理部8より読み出
し、すべてLPAR1に再構成しONLINE状態にす
るよう資源管理部8に指示する(処理フロー206)。
この指示を受けた資源管理部8は、指示されたチャネル
をLPAR1に割り当てONLINE状態とするチャネ
ル再構成処理を行う。
Next, the LPAR control unit 6 of the LPAR1
The ID of the channel assigned to LPAR2 and in the OFFLINE state is read from the resource management unit 8, and the resource management unit 8 is instructed to reconfigure all the LPAR1 into the ONLINE state (processing flow 206).
Upon receiving this instruction, the resource management unit 8 performs channel reconfiguration processing to allocate the instructed channel to LPAR1 and bring it to the ONLINE state.

【0029】続いて、LPAR1のLPAR制御部6
は、資源管理部8よりLPAR1に新たに割り当てられ
るLIP(LIP13)のLIP番号と利用率を資源管
理部8より読み込み、追加されたLIP情報として内部
に格納する。また、利用率の変更となったLIPについ
ても、その変更後の利用率を資源管理部8より読み込み
内部に格納する。
Subsequently, the LPAR control unit 6 of the LPAR1
Reads the LIP number and the utilization rate of the LIP (LIP13) newly assigned to LPAR1 from the resource management unit 8 from the resource management unit 8 and stores it as added LIP information inside. Further, regarding the LIP whose usage rate has been changed, the usage rate after the change is read from the resource management unit 8 and stored therein.

【0030】そして、LPAR1のLPAR制御部6
は、資源管理部8に対して、IPのスケジュール変更を
モニタに連絡することを指示する。連絡を受けたモニタ
は、各LIPの利用率を資源管理部8より読みだし認識
する。そして、IPが自IP上に実現されたLIPにつ
いて実行するタスクであるLIPタスクのスケジュール
を、TCB(Task Control Block)
に登録された各LIPタスクの利用率を変更することに
より、変更後の各LIPの利用率に対応するように変更
する。ただし、新たに追加されたLIP13についての
LIPタスクは、この時点では生成されていない為、ス
ケジューリングの対象にはならない。
Then, the LPAR control unit 6 of the LPAR1
Instructs the resource management unit 8 to notify the monitor of the IP schedule change. The monitor that has received the notification reads the utilization rate of each LIP from the resource management unit 8 and recognizes it. Then, the schedule of the LIP task, which is a task executed by the IP for the LIP realized on the own IP, is set to TCB (Task Control Block).
By changing the usage rate of each LIP task registered in, the change is made so as to correspond to the changed usage rate of each LIP task. However, the LIP task for the newly added LIP 13 is not created at this point in time, and thus is not a target for scheduling.

【0031】この後、LPAR1のLPAR制御部6
は、LPAR1のLIPを再開始させるようLIP制御
部7に指示を出す。指示を受けたLIP制御部7は、オ
ペランドSDのMS/ESサイズを更新してLPAR1
の稼働命令をLPAR1のLIPに送り、LPAR1の
ゲストOSをスタートさせる(処理フロー208)。
After this, the LPAR control unit 6 of the LPAR1
Instructs the LIP control unit 7 to restart the LIP of LPAR1. Upon receiving the instruction, the LIP control unit 7 updates the MS / ES size of the operand SD to update LPAR1.
Is sent to the LIP of LPAR1 to start the guest OS of LPAR1 (processing flow 208).

【0032】また、SVP5上のフレームに対し、統合
コマンドに対する処理の結果を報告する(処理フロー2
09)。本実施例では、統合コマンドは正常に終了した
ので、正常終了の旨、もしくは、新たな割り当ての内容
を報告する。
Further, the result of the processing for the integrated command is reported to the frame on SVP5 (processing flow 2).
09). In this embodiment, since the integrated command has ended normally, the fact that it has ended normally or the contents of new allocation are reported.

【0033】以上の処理で、資源の割り当ての変更は終
了する。図3の(b)、(d)及び図4の(b)が、変
更後の全LPARの割り当ての内容である。図示するよ
うに、LPAR3については、MSオリジンの変更はあ
ったが、LPAR3のゲストOSは何ら影響を受けてい
ない。すなわち、LPAR3のゲストOSから見ると、
変更前と全く同じ環境のままである。
With the above processing, the change of resource allocation is completed. FIGS. 3B and 3D and FIG. 4B show the contents of the allocation of all LPARs after the change. As shown in the figure, regarding LPAR3, although the MS origin was changed, the guest OS of LPAR3 was not affected at all. That is, from the guest OS of LPAR3,
The environment is exactly the same as before the change.

【0034】さて、新しくLPAR1に割り当てられた
資源のうち、チャネルについては、既にゲストOSがO
NLINEであることを直接認識することができるの
で、ゲストOSは、以降これを利用することができる。
Of the resources newly allocated to LPAR1, the guest OS has already been set to O for the channel.
Since it can directly recognize that it is NLINE, the guest OS can use it thereafter.

【0035】拡張されたMSの部分については、オペレ
−タがゲストOSに、MSを拡張する旨の再構成コマン
ドを与えることにより、以降、ゲストOSが拡張された
MSの部分を利用できるようになる。なお、このため
に、LPAR1立上げ時に拡張用MSエリアを指定する
ことにより(図3(a)参照)、ゲストOSがMSを拡
張できることを認識できるようにしている。
For the extended MS portion, the operator gives the guest OS a reconfiguration command to extend the MS so that the guest OS can use the extended MS portion thereafter. Become. For this reason, the guest OS can recognize that the MS can be expanded by designating the expansion MS area when LPAR1 is started up (see FIG. 3A).

【0036】また、新しく追加されたIP(LIP)に
ついても、オペレ−タがゲストOSにLIPを追加する
再構成コマンドを与えることにより、ゲストOSが新し
く追加されたLIP13を利用できるようにする。すな
わち、再構成コマンドを受けたゲストOSは、新しく追
加されたIP(LIP)を起動するコマンドを対応する
LPAR制御6に送り、LPAR制御6は、新しく追加
されたLIPについてのスクを生成する。モニタ9は、
新しく追加されたLIPの利用率に応じて、新しく追加
されたLIPが実現されているIPの、タスクスケジュ
ールを変更する。
Regarding the newly added IP (LIP), the operator gives the guest OS a reconfiguration command for adding the LIP so that the guest OS can use the newly added LIP 13. That is, the guest OS that has received the reconfiguration command sends a command to activate the newly added IP (LIP) to the corresponding LPAR control 6, and the LPAR control 6 creates a mask for the newly added LIP. Monitor 9
The task schedule of the IP in which the newly added LIP is realized is changed according to the usage rate of the newly added LIP.

【0037】この場合も、IP(LIP)が追加できる
ことをゲストOSが認識できるよう、LPAR1立上げ
時に、図4(a)の形式でIPの割り当てを定義するこ
とにより全IPを認識できるようにしている。
In this case as well, in order that the guest OS can recognize that the IP (LIP) can be added, all IPs can be recognized by defining the IP allocation in the format of FIG. 4A when LPAR1 is started up. ing.

【0038】以上によって、LPAR2に割り当てられ
ていた資源はすべて、LPAR1の資源として活性化状
態となる。
As described above, all the resources assigned to LPAR2 are activated as the resources of LPAR1.

【0039】なお、オペレ−タがゲストOSに再構成コ
マンドを与える代わりに、LPAR制御部6が、LIP
制御部7を介してもしくは直接、新たに割り当てられた
MSのエリアやIP(LIP)を割込み等でゲストOS
に知らせ、ゲストOSが自発的にMSの拡張や、新しく
追加されたIP(LIP)を起動するコマンドを対応す
るLPAR制御に送るようにしてもよい。
Note that, instead of the operator giving a reconfiguration command to the guest OS, the LPAR control unit 6 causes the LIP
Guest OS by interrupting the newly allocated MS area or IP (LIP) via the control unit 7 or directly
The guest OS may voluntarily extend the MS or send a command to activate the newly added IP (LIP) to the corresponding LPAR control.

【0040】以上のように、本実施例に係る仮想計算機
システムによれば、統合コマンドによって、不要となっ
た仮想計算機を、他の仮想計算機に動的に統合すること
ができる。このため、従来のごとく、統合する仮想計算
機群を停止させ、資源を再割り当て後、再IPLして、
仮想計算機を稼働する必要がなくなり、統合する仮想計
算機の稼動中の業務の継続が可能となる。すなわち、使
用ユーザに対して影響を与えることなく、再構成が可能
となり効率化が図れる。
As described above, according to the virtual computer system of this embodiment, an unnecessary virtual computer can be dynamically integrated with another virtual computer by the integration command. Therefore, as in the conventional method, the virtual machine group to be integrated is stopped, resources are reallocated, and re-IPL is performed.
It is not necessary to operate the virtual machine, and it is possible to continue the work while the integrated virtual machine is in operation. That is, it is possible to reconfigure without affecting the user and to improve efficiency.

【0041】なお、本発明は前記実施例に限定されるも
のではなく、その要旨を逸脱しない範囲で種々変更可能
であり、たとえば、LPAR機能を備えた仮想計算機シ
ステムに適用した場合について説明したが、これに限定
されるものではなく、他の仮想計算機システムについて
も広く適用することができる。
The present invention is not limited to the above-described embodiment, but various modifications can be made without departing from the scope of the invention. For example, the case where the present invention is applied to a virtual computer system having an LPAR function has been described. However, the present invention is not limited to this, and can be widely applied to other virtual computer systems.

【0042】[0042]

【発明の効果】以上のように、本発明によれば、1つの
仮想計算機に割り当てられている資源のすべてを、一括
して他の仮想計算機に、当該他の仮想計算機を再初期化
することなく、動的に割り当てることのできる仮想計算
機システムを提供することができる。
As described above, according to the present invention, all the resources allocated to one virtual computer are collectively re-initialized to another virtual computer. In other words, it is possible to provide a virtual computer system that can be dynamically allocated.

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

【図1】本発明の一実施例に係る仮想計算機システムの
ハ−ドウェア構成を示すブロック図である。
FIG. 1 is a block diagram showing a hardware configuration of a virtual computer system according to an embodiment of the present invention.

【図2】本発明の一実施例に係る仮想計算機システムの
論理構成を示すブロック図である。
FIG. 2 is a block diagram showing a logical configuration of a virtual computer system according to an embodiment of the present invention.

【図3】MSの割り当てを示す説明図である。FIG. 3 is an explanatory diagram showing MS allocation.

【図4】IPの割り当てを示す説明図である。FIG. 4 is an explanatory diagram showing IP allocation.

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

1 命令プロセッサ 2 主記憶部/仮想記憶部 3 チャネルパス 4 デバイス 5 SVP 6 LPAR制御部 7 LIP制御部 8 資源管理部 9 モニタ 10 LIP 1 Instruction Processor 2 Main Memory / Virtual Memory 3 Channel Path 4 Device 5 SVP 6 LPAR Control 7 LIP Control 8 Resource Management 9 Monitor 10 LIP

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】割り当てられた物理資源を利用して処理を
行う、複数の仮想計算機を実現する仮想計算機システム
であって、 物理資源を排他的または時分割的に分割した論理区画に
従って、前記論理区画に含まれる物理資源を当該論理区
画に対応する仮想計算機に割り当てる論理区画手段と、
解消する仮想計算機に対応する論理区画に含まれる全て
の物理資源を、前記解消する仮想計算機に代えて他の特
定の仮想計算機に動的に割り当てる再構成手段とを有す
ることを特徴とする仮想計算機システム。
1. A virtual computer system for realizing a plurality of virtual computers, which performs processing using allocated physical resources, wherein the logical resources are allocated in accordance with logical partitions in which the physical resources are exclusively or time-divisionally divided. Logical partition means for allocating physical resources included in the partition to a virtual computer corresponding to the logical partition,
A virtual machine characterized by having a reconfiguring means for dynamically allocating all physical resources included in a logical partition corresponding to the virtual machine to be resolved to another specific virtual machine instead of the virtual machine to be resolved. system.
【請求項2】請求項1記載の仮想計算機システムであっ
て、 前記仮想計算機は、割り当てられた1以上の命令プロセ
ッサそれぞれの利用率に応じて、利用率が割り当てられ
た命令プロセッサを、当該命令プロセッサについて割り
当てられた利用率に応じた時間割合で使用し、 前記論理区画手段は、複数の命令プロセッサのそれぞれ
を、それぞれの利用率によって分割した論理区画に従っ
て、前記論理区画に含まれる各命令プロセッサの利用率
を、当該論理区画に対応する仮想計算機に割り当て、 前記再構成手段は、解消する仮想計算機に対応する論理
区画に含まれる命令プロセッサの利用率を解消し、解消
した命令プロセッサの利用率を、他の特定の仮想計算機
に、動的に割り当てることを特徴とする仮想計算機シス
テム。
2. The virtual computer system according to claim 1, wherein the virtual computer assigns an instruction processor to which a utilization rate is assigned according to the utilization rate of each of the assigned one or more instruction processors. Each of the instruction processors included in the logical partition is used according to a logical partition obtained by dividing each of the plurality of instruction processors according to the respective utilization rates. Of the instruction processor included in the logical partition corresponding to the virtual computer to be resolved, and the utilization rate of the resolved instruction processor is allocated to the virtual computer corresponding to the logical partition. Is dynamically assigned to another specific virtual computer.
【請求項3】対応する命令プロセッサを割り当てられた
利用率に応じた時間割合で使用する1以上の仮想命令プ
ロセッサを割り当てられ、割り当てられた仮想命令プロ
セッサを使用して処理を行う、複数の仮想計算機を実現
する仮想計算機システムであって、 複数の命令プロセッサのそれぞれを、それぞれの利用率
によって分割した論理区画に従って、前記論理区画に含
まれる各命令プロセッサに対応して、当該命令プロセッ
サの利用率を割り当てた仮想命令プロセッサを生成し、
生成した仮想命令プロセッサを当該論理区画に対応する
仮想計算機に割り当てる論理区画手段と、 解消する仮想計算機に対応する論理区画に含まれる仮想
命令プロセッサを解消し、他の特定の仮想計算機に、解
消した仮想命令プロセッサと同命令プロセッサ上に生成
された仮想命令プロセッサが割り当てられている場合
は、当該仮想命令プロセッサに解消した仮想命令プロセ
ッサに割り当てられていた利用率を動的に割り当て、他
の仮想計算機に、解消した仮想命令プロセッサと同命令
プロセッサ上に生成された仮想命令プロセッサが割り当
てられていない場合は、解消した仮想命令プロセッサと
同命令プロセッサ上に、解消した仮想命令プロセッサの
利用率を割り当てた新たな命令プロセッサを生成し、生
成した新たな命令プロセッサを前記特定の仮想計算機に
割り当てる再構成手段とを有することを特徴とする仮想
計算機システム。
3. A plurality of virtual instruction processors are assigned one or more virtual instruction processors that use corresponding instruction processors at a time ratio according to the assigned utilization rate, and perform processing using the assigned virtual instruction processors. A virtual computer system for realizing a computer, wherein a plurality of instruction processors are divided according to their respective utilization rates, and the utilization rate of the instruction processors corresponding to each instruction processor included in the logical section Creates a virtual instruction processor with
The logical partition means for allocating the generated virtual instruction processor to the virtual computer corresponding to the logical partition, and the virtual instruction processor included in the logical partition corresponding to the virtual computer to be resolved, and resolved to another specific virtual computer. When a virtual instruction processor and a virtual instruction processor generated on the same instruction processor are assigned, the utilization rate assigned to the resolved virtual instruction processor is dynamically assigned to another virtual computer. If the resolved virtual instruction processor and the virtual instruction processor generated on the same instruction processor are not assigned to, the utilization rate of the resolved virtual instruction processor is assigned to the resolved virtual instruction processor and the same virtual instruction processor. Generate a new instruction processor, and And a reconfiguring unit assigned to a specific virtual computer.
JP25017192A 1992-09-18 1992-09-18 Virtual computer system Expired - Fee Related JP3186244B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25017192A JP3186244B2 (en) 1992-09-18 1992-09-18 Virtual computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25017192A JP3186244B2 (en) 1992-09-18 1992-09-18 Virtual computer system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2001050768A Division JP2001265613A (en) 2001-02-26 2001-02-26 Virtual computer system

Publications (2)

Publication Number Publication Date
JPH06103092A true JPH06103092A (en) 1994-04-15
JP3186244B2 JP3186244B2 (en) 2001-07-11

Family

ID=17203880

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25017192A Expired - Fee Related JP3186244B2 (en) 1992-09-18 1992-09-18 Virtual computer system

Country Status (1)

Country Link
JP (1) JP3186244B2 (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0981401A (en) * 1995-09-19 1997-03-28 Hitachi Ltd Global resource capping method
JPH10283210A (en) * 1997-04-01 1998-10-23 Hitachi Ltd Virtual machine movement control system between virtual machine systems
US5896520A (en) * 1996-01-11 1999-04-20 Hitachi, Ltd. Virtual computer system of multi-processor constitution
JP2001134453A (en) * 1999-09-28 2001-05-18 Internatl Business Mach Corp <Ibm> Method and system for managing group of block of computer environment and program product
JP2001142858A (en) * 1999-09-28 2001-05-25 Internatl Business Mach Corp <Ibm> Method and system for managing processing central unit in computer environment, and program product
JP2001147824A (en) * 1999-09-28 2001-05-29 Internatl Business Mach Corp <Ibm> Method and system for managing logical processor of computer environment and program product
JP2003067351A (en) * 2001-08-28 2003-03-07 Nec System Technologies Ltd Configuration control system of distributed computer
JP2004508616A (en) * 2000-06-20 2004-03-18 テラスプリング・インコーポレーテッド Method and apparatus for controlling an extensible computing system
JP2006018813A (en) * 2004-06-30 2006-01-19 Microsoft Corp System and method for initializing plurality of virtual processors in one virtual machine
JP2006507561A (en) * 2002-05-09 2006-03-02 インターナショナル・ビジネス・マシーンズ・コーポレーション Method and apparatus for dynamically allocating and deallocating processors in a logically partitioned data processing system
US7117499B2 (en) 2001-11-22 2006-10-03 Hitachi, Ltd. Virtual computer systems and computer virtualization programs
JP2007520825A (en) * 2004-02-04 2007-07-26 インテル・コーポレーション Sharing processor execution resources in standby state
US7290259B2 (en) 2000-12-28 2007-10-30 Hitachi, Ltd. Virtual computer system with dynamic resource reallocation
US7310168B2 (en) 2001-07-03 2007-12-18 Infoprint Solutions Company Llc Method and apparatus for controlling a spot function for digital halftoning
US7478393B2 (en) 2003-04-30 2009-01-13 International Business Machines Corporation Method for marketing to instant messaging service users
JP2010079468A (en) * 2008-09-25 2010-04-08 Hitachi Ltd File server resource division method, system, apparatus and program
US8051269B2 (en) 2003-04-30 2011-11-01 International Business Machines Corporation Automated memory reallocation and optimization between logical partitions
US8464258B2 (en) 2010-06-02 2013-06-11 Hitachi, Ltd. Virtual computer and CPU allocation method
JP2016502180A (en) * 2013-01-23 2016-01-21 ヴイエムウェア インコーポレイテッドVMware,Inc. Technology for surfacing host-side flash storage capacity to virtual machines

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0981401A (en) * 1995-09-19 1997-03-28 Hitachi Ltd Global resource capping method
US5896520A (en) * 1996-01-11 1999-04-20 Hitachi, Ltd. Virtual computer system of multi-processor constitution
JPH10283210A (en) * 1997-04-01 1998-10-23 Hitachi Ltd Virtual machine movement control system between virtual machine systems
JP2001134453A (en) * 1999-09-28 2001-05-18 Internatl Business Mach Corp <Ibm> Method and system for managing group of block of computer environment and program product
JP2001142858A (en) * 1999-09-28 2001-05-25 Internatl Business Mach Corp <Ibm> Method and system for managing processing central unit in computer environment, and program product
JP2001147824A (en) * 1999-09-28 2001-05-29 Internatl Business Mach Corp <Ibm> Method and system for managing logical processor of computer environment and program product
US8458714B2 (en) 1999-09-28 2013-06-04 International Business Machines Corporation Method, system and program products for managing logical processors of a computing environment
US6986137B1 (en) 1999-09-28 2006-01-10 International Business Machines Corporation Method, system and program products for managing logical processors of a computing environment
US7007276B1 (en) 1999-09-28 2006-02-28 International Business Machines Corporation Method, system and program products for managing groups of partitions of a computing environment
JP2004508616A (en) * 2000-06-20 2004-03-18 テラスプリング・インコーポレーテッド Method and apparatus for controlling an extensible computing system
JP4712279B2 (en) * 2000-06-20 2011-06-29 テラスプリング・インコーポレーテッド Method and apparatus for controlling extensible computing system
US7290259B2 (en) 2000-12-28 2007-10-30 Hitachi, Ltd. Virtual computer system with dynamic resource reallocation
US7310168B2 (en) 2001-07-03 2007-12-18 Infoprint Solutions Company Llc Method and apparatus for controlling a spot function for digital halftoning
JP2003067351A (en) * 2001-08-28 2003-03-07 Nec System Technologies Ltd Configuration control system of distributed computer
US7865899B2 (en) 2001-11-22 2011-01-04 Hitachi, Ltd. Virtual computer systems and computer virtualization programs
US7117499B2 (en) 2001-11-22 2006-10-03 Hitachi, Ltd. Virtual computer systems and computer virtualization programs
US8397239B2 (en) 2001-11-22 2013-03-12 Hitachi, Ltd. Virtual computer systems and computer virtualization programs
JP2006507561A (en) * 2002-05-09 2006-03-02 インターナショナル・ビジネス・マシーンズ・コーポレーション Method and apparatus for dynamically allocating and deallocating processors in a logically partitioned data processing system
US7480911B2 (en) 2002-05-09 2009-01-20 International Business Machines Corporation Method and apparatus for dynamically allocating and deallocating processors in a logical partitioned data processing system
US7478393B2 (en) 2003-04-30 2009-01-13 International Business Machines Corporation Method for marketing to instant messaging service users
US8051269B2 (en) 2003-04-30 2011-11-01 International Business Machines Corporation Automated memory reallocation and optimization between logical partitions
US8381225B2 (en) 2003-04-30 2013-02-19 International Business Machines Corporation Automated processor reallocation and optimization between logical partitions
JP2007520825A (en) * 2004-02-04 2007-07-26 インテル・コーポレーション Sharing processor execution resources in standby state
US8984517B2 (en) 2004-02-04 2015-03-17 Intel Corporation Sharing idled processor execution resources
JP2006018813A (en) * 2004-06-30 2006-01-19 Microsoft Corp System and method for initializing plurality of virtual processors in one virtual machine
US8271976B2 (en) 2004-06-30 2012-09-18 Microsoft Corporation Systems and methods for initializing multiple virtual processors within a single virtual machine
JP2010079468A (en) * 2008-09-25 2010-04-08 Hitachi Ltd File server resource division method, system, apparatus and program
US8464258B2 (en) 2010-06-02 2013-06-11 Hitachi, Ltd. Virtual computer and CPU allocation method
JP2016502180A (en) * 2013-01-23 2016-01-21 ヴイエムウェア インコーポレイテッドVMware,Inc. Technology for surfacing host-side flash storage capacity to virtual machines
US9778847B2 (en) 2013-01-23 2017-10-03 Vmware, Inc. Techniques for surfacing host-side storage capacity to virtual machines when performing VM suspend or snapshot operations

Also Published As

Publication number Publication date
JP3186244B2 (en) 2001-07-11

Similar Documents

Publication Publication Date Title
JPH06103092A (en) Virtual computer system
US6968398B2 (en) Method of virtualizing I/O resources in a computer system
JP3225804B2 (en) I / O channel expansion method
JP4056471B2 (en) System for transferring to a processor
JPH04348434A (en) Virtual computer system
JP5366552B2 (en) Method and system for real-time execution of centralized multitasking and multiflow processing
JPH04299440A (en) Shared register control system
JPH0330897B2 (en)
JP2012252712A (en) Reconfigurable programmable logic device computer system
GB2508983A (en) Migration of virtual machines with reassignment of hardware memory segments
JPH06348584A (en) Data processing system
JPH07262093A (en) Control system for reconstruction of storage area
JP2017531252A (en) Memory allocation method and apparatus
JP6543219B2 (en) Virtual machine allocation apparatus and resource management method
JPH06110715A (en) Dynamic allocating method for computer resources in virtual computer system
JPH0926889A (en) Virtual machine system
JPH10293695A (en) Dynamic reconfiguration system of logic computer system
JPH11259316A (en) Cpu capability adjustment method
JPH11249916A (en) Memory management device and storage medium
JP2001265613A (en) Virtual computer system
JP4862770B2 (en) Memory management method and method in virtual machine system, and program
JP2902746B2 (en) Virtual computer control method
JP3490212B2 (en) Input / output channel expansion method for information processing device
RU2238584C2 (en) Method for organizing persistent cash memory for multitask, and also symmetric multiprocessor computer systems and device for realization of said method
JPH0991257A (en) Cpu management system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080511

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090511

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100511

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110511

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110511

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120511

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees