JP7447186B2 - Construction control method of computer system and virtualization infrastructure - Google Patents

Construction control method of computer system and virtualization infrastructure Download PDF

Info

Publication number
JP7447186B2
JP7447186B2 JP2022103111A JP2022103111A JP7447186B2 JP 7447186 B2 JP7447186 B2 JP 7447186B2 JP 2022103111 A JP2022103111 A JP 2022103111A JP 2022103111 A JP2022103111 A JP 2022103111A JP 7447186 B2 JP7447186 B2 JP 7447186B2
Authority
JP
Japan
Prior art keywords
construction
computer
virtualization infrastructure
execution system
time
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.)
Active
Application number
JP2022103111A
Other languages
Japanese (ja)
Other versions
JP2024003820A (en
Inventor
拓真 金崎
収 久保田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2022103111A priority Critical patent/JP7447186B2/en
Publication of JP2024003820A publication Critical patent/JP2024003820A/en
Application granted granted Critical
Publication of JP7447186B2 publication Critical patent/JP7447186B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Hardware Redundancy (AREA)

Description

本発明は、仮想化基盤を構築するための技術に関する。 The present invention relates to a technology for constructing a virtualization infrastructure.

仮想化基盤の一つにHCI(Hyper Converged Infrastructure)がある。HCIの構築では、基盤を構成するハードウェアを用意し、基盤上にハイパバイザを導入し、さらに、各種アプリケーションを実行する仮想マシン(VM)を導入する。 One of the virtualization infrastructures is HCI (Hyper Converged Infrastructure). In constructing an HCI, hardware that constitutes a base is prepared, a hypervisor is installed on the base, and a virtual machine (VM) that executes various applications is installed.

VMの導入技術としては、例えば、特許文献1に記載の技術が知られている。特許文献1には、「管理ノードは、仮想コンピュータと、仮想コンピュータがデータを入出力するボリュームと、を複数のノードのうち何れかのノードに配置させることにより、プロセッサ、メモリ、そして、記記憶ドライブのリソースのうち所定のリソースを仮想コンピュータとボリュームとに割り当てて、仮想コンピュータとボリュームとを稼働させ、仮想コンピュータとボリュームとを複数のノードのうち同一ノードに配置できる場合、仮想コンピュータとボリュームとに割り当てられるリース量の複数のリソース間での割合の差に基づいて、同一ノードを複数のノードの中から決定する。」ことが記載されている。 As a VM introduction technique, for example, the technique described in Patent Document 1 is known. Patent Document 1 states, ``A management node is a processor, a memory, and a storage device by arranging a virtual computer and a volume through which the virtual computer inputs and outputs data in one of a plurality of nodes. If the virtual computer and volume can be operated by allocating predetermined resources among the drive resources to the virtual computer and volume, and the virtual computer and volume can be placed on the same node among multiple nodes, the virtual computer and volume can be The same node is determined from among a plurality of nodes based on the difference in the ratio of the lease amount allocated to the resource among the plurality of resources.''

特開2021-149299号公報JP 2021-149299 Publication

HCIの構築時間を短縮したいという要望がある。これに対して、多数のVMを並列で導入することによって構築時間を短縮する方法が考えられる。しかし、多数のVMを並列で導入した場合、計算機リソースにボトルネックが発生し、かえって構築時間が長くなる可能性がある。 There is a desire to shorten HCI construction time. On the other hand, a method can be considered to shorten the construction time by introducing a large number of VMs in parallel. However, when a large number of VMs are introduced in parallel, a bottleneck may occur in computer resources, and the construction time may become longer.

本発明は、ボトルネックの発生を抑制し、かつ、構築時間を短縮可能なVMの並列導入数(タスクの並列実行数)を自動的に設定するシステム及び方法を実現することを目的とする。 An object of the present invention is to realize a system and method that automatically sets the number of VMs to be installed in parallel (the number of tasks to be executed in parallel) that can suppress the occurrence of bottlenecks and shorten construction time.

本願において開示される発明の代表的な一例を示せば以下の通りである。すなわち、少なくとも一つの計算機を備える計算機システムであって、仮想化基盤の構築処理を実行する構築実行システムと接続し、前記仮想化基盤の構築処理は、仮想計算機を導入するタスクを含み、前記計算機システムは、前記構築実行システムによって所定の数の前記タスクが実行されている場合に、前記タスクによって導入されている前記仮想計算機の進捗率と、当該仮想計算機の計算機リソースの性能値とを取得し、前記進捗率及び前記計算機リソースの性能値に基づいて、ボトルネックが発生せず、かつ、指定された要求時間内に、前記仮想化基盤を構築可能な前記仮想計算機の並列導入数を算出する。 A typical example of the invention disclosed in this application is as follows. That is, a computer system including at least one computer, connected to a construction execution system that executes a virtualization infrastructure construction process, wherein the virtualization infrastructure construction process includes a task of introducing a virtual machine, and the computer system The system obtains a progress rate of the virtual machine installed by the task and a performance value of computer resources of the virtual machine when a predetermined number of the tasks are executed by the construction execution system. , based on the progress rate and the performance value of the computer resource, calculate the number of parallel installations of the virtual machines that can build the virtualization infrastructure without bottlenecks and within the specified request time; .

本発明によれば、ボトルネックの発生を抑制し、かつ、構築時間を短縮可能なVMの並列導入数(タスクの並列実行数)を自動的に設定できる。上記した以外の課題、構成及び効果は、以下の実施例の説明により明らかにされる。 According to the present invention, it is possible to automatically set the number of VMs to be introduced in parallel (the number of tasks to be executed in parallel) that can suppress the occurrence of bottlenecks and shorten the construction time. Problems, configurations, and effects other than those described above will be made clear by the description of the following examples.

実施例1のシステムの構成の一例を示す図である。1 is a diagram showing an example of the configuration of a system according to a first embodiment; FIG. 実施例1の構築制御システムに含まれる計算機のハードウェア構成の一例を示す図である。1 is a diagram showing an example of the hardware configuration of a computer included in the construction control system of Example 1. FIG. 実施例1の閾値情報のデータ構造の一例を示す図である。FIG. 3 is a diagram showing an example of a data structure of threshold information according to the first embodiment. 実施例1の性能履歴データベースのデータ構造の一例を示す図である。3 is a diagram showing an example of a data structure of a performance history database according to the first embodiment. FIG. 実施例1の性能履歴データベースのデータ構造の一例を示す図である。3 is a diagram showing an example of a data structure of a performance history database according to the first embodiment. FIG. 実施例1の性能履歴データベースのデータ構造の一例を示す図である。3 is a diagram showing an example of a data structure of a performance history database according to the first embodiment. FIG. 実施例1の性能履歴データベースのデータ構造の一例を示す図である。3 is a diagram showing an example of a data structure of a performance history database according to the first embodiment. FIG. 実施例1の構築制御システムが実行する処理の一例を示すフローチャートである。3 is a flowchart illustrating an example of processing executed by the construction control system of the first embodiment. 実施例1の構築制御システムが実行する処理の一例を示すフローチャートである。3 is a flowchart illustrating an example of processing executed by the construction control system of the first embodiment.

以下、本発明の実施例を、図面を用いて説明する。ただし、本発明は以下に示す実施例の記載内容に限定して解釈されるものではない。本発明の思想ないし趣旨から逸脱しない範囲で、その具体的構成を変更し得ることは当業者であれば容易に理解される。 Embodiments of the present invention will be described below with reference to the drawings. However, the present invention should not be construed as being limited to the contents described in the Examples shown below. Those skilled in the art will readily understand that the specific configuration can be changed without departing from the spirit or spirit of the present invention.

以下に説明する発明の構成において、同一又は類似する構成又は機能には同一の符号を付し、重複する説明は省略する。 In the configuration of the invention described below, the same or similar configurations or functions are denoted by the same reference numerals, and redundant explanations will be omitted.

本明細書等における「第1」、「第2」、「第3」等の表記は、構成要素を識別するために付するものであり、必ずしも、数又は順序を限定するものではない。 In this specification, etc., expressions such as "first," "second," and "third" are used to identify constituent elements, and do not necessarily limit the number or order.

図面等において示す各構成の位置、大きさ、形状、及び範囲等は、発明の理解を容易にするため、実際の位置、大きさ、形状、及び範囲等を表していない場合がある。したがって、本発明では、図面等に開示された位置、大きさ、形状、及び範囲等に限定されない。 The position, size, shape, range, etc. of each component shown in the drawings etc. may not represent the actual position, size, shape, range, etc. in order to facilitate understanding of the invention. Therefore, the present invention is not limited to the position, size, shape, range, etc. disclosed in the drawings and the like.

図1は、実施例1のシステムの構成の一例を示す図である。図2は、実施例1の構築制御システムに含まれる計算機のハードウェア構成の一例を示す図である。 FIG. 1 is a diagram illustrating an example of the configuration of a system according to a first embodiment. FIG. 2 is a diagram showing an example of the hardware configuration of a computer included in the construction control system of the first embodiment.

システムは、構築制御システム100、構築実行システム101、基盤102、及び管理端末103から構成される。構築制御システム100、構築実行システム101、基盤102、及び管理端末103は、WAN(Wide Area Network)及びLAN(Local Area Network)等のネットワーク104を介して互いに接続される。ネットワーク104の接続方式は、有線及び無線のいずれでもよい。 The system includes a construction control system 100, a construction execution system 101, a platform 102, and a management terminal 103. The construction control system 100, the construction execution system 101, the infrastructure 102, and the management terminal 103 are connected to each other via a network 104 such as a WAN (Wide Area Network) and a LAN (Local Area Network). The connection method of the network 104 may be either wired or wireless.

基盤102は、HCI(仮想化基盤)を構築するための基盤である。基盤102は、複数のサーバ130を含む。なお、基盤102は、図示しないスイッチ等を含んでもよい。 The infrastructure 102 is a foundation for constructing HCI (virtualization infrastructure). Infrastructure 102 includes multiple servers 130. Note that the base 102 may include a switch (not shown) or the like.

構築制御システム100は、HCIの構築時におけるVM133の並列導入数を制御する。なお、以下では、VM133の導入をタスクと表現し、VM133の並列導入数をタスク並列実行数と表現する場合もある。 The construction control system 100 controls the number of VMs 133 to be installed in parallel during HCI construction. Note that hereinafter, the installation of the VM 133 may be expressed as a task, and the number of parallel installations of the VM 133 may be expressed as the number of parallel executions of tasks.

構築実行システム101は、基盤102を用いてHCIを構築する。具体的には、構築実行システム101は、各サーバ130にハイパバイザ131を導入し、ハイパバイザ131によって各サーバ130の記憶装置から生成されるSDS(Software Defined Storage)132上にVM133及びOS134を導入する。 The construction execution system 101 constructs HCI using the infrastructure 102. Specifically, the construction execution system 101 installs a hypervisor 131 in each server 130, and installs a VM 133 and an OS 134 on SDS (Software Defined Storage) 132 generated from the storage device of each server 130 by the hypervisor 131.

管理端末103は、構築制御システム100及び構築実行システム101を操作するための端末である。 The management terminal 103 is a terminal for operating the construction control system 100 and the construction execution system 101.

構築制御システム100及び構築実行システム101は、例えば、図2に示すような計算機200から構成される。計算機200は、プロセッサ201、主記憶装置202、副記憶装置203、及びネットワークインタフェース204を有する。各ハードウェア要素はバスを介して互いに接続される。なお、計算機200は、キーボード、マウス、及びタッチパネル等の入力装置を有してもよいし、ディスプレイ及びプリンタ等の出力装置を有してもよい。 The construction control system 100 and the construction execution system 101 are comprised of, for example, a computer 200 as shown in FIG. The computer 200 has a processor 201, a main storage device 202, a secondary storage device 203, and a network interface 204. Each hardware element is connected to each other via a bus. Note that the computer 200 may have an input device such as a keyboard, a mouse, and a touch panel, and may also have an output device such as a display and a printer.

プロセッサ201は、主記憶装置202に格納されるプログラムを実行する。プロセッサ201がプログラムにしたがって処理を実行することによって、特定の機能を実現する機能部(モジュール)として動作する。以下の説明では、機能部を主語に処理を説明する場合、プロセッサ201が当該機能部を実現するプログラムを実行していることを示す。 Processor 201 executes a program stored in main storage device 202 . By executing processing according to a program, the processor 201 operates as a functional unit (module) that implements a specific function. In the following description, when a process is described using a functional unit as a subject, it is indicated that the processor 201 executes a program that implements the functional unit.

主記憶装置202は、DRAM(Dynamic Random Access Memory)等の記憶装置であり、プロセッサ201が実行するプログラム及びプログラム使用するデータを格納する。主記憶装置202はワークエリアとしても用いられる。 The main storage device 202 is a storage device such as a DRAM (Dynamic Random Access Memory), and stores programs executed by the processor 201 and data used by the programs. The main storage device 202 is also used as a work area.

副記憶装置203は、HDD(Hard Disk Drive)及びSSD(Solid State Drive)等の記憶装置であり、データを永続的に格納する。なお、主記憶装置202に格納されるプログラム及びデータは、副記憶装置203に格納されてもよい。この場合、プロセッサ201は、副記憶装置203からプログラム及びデータを読み出し、主記憶装置202にロードする。 The secondary storage device 203 is a storage device such as an HDD (Hard Disk Drive) or an SSD (Solid State Drive), and permanently stores data. Note that the programs and data stored in the main storage device 202 may be stored in the secondary storage device 203. In this case, the processor 201 reads the program and data from the secondary storage device 203 and loads them into the main storage device 202.

構築実行システム101は、構築部120及び進捗監視部121を有する。構築部120は、HCIの構築処理を実行する。進捗監視部121は、HCIの構築の進捗を監視する。例えば、進捗監視部121は、ハイパバイザ131及びVM133の導入の進捗率を監視する。 The construction execution system 101 includes a construction section 120 and a progress monitoring section 121. The construction unit 120 executes HCI construction processing. The progress monitoring unit 121 monitors the progress of HCI construction. For example, the progress monitoring unit 121 monitors the progress rate of installing the hypervisor 131 and VM 133.

構築制御システム100は、性能監視部110、構築時間予測部111、及び導入数決定部112を有し、また、閾値情報113及び性能履歴データベース114を保持する。 The construction control system 100 includes a performance monitoring section 110, a construction time prediction section 111, and an installation number determination section 112, and also holds threshold information 113 and a performance history database 114.

性能監視部110は、HCI構築時の基盤102の性能を監視する。構築時間予測部111は、HCIの構築に要する時間(構築時間)を予測する。導入数決定部112は、VM133の並列導入数(タスク並列実行数)を決定する。 The performance monitoring unit 110 monitors the performance of the infrastructure 102 during HCI construction. The construction time prediction unit 111 predicts the time required to construct the HCI (construction time). The installation number determining unit 112 determines the number of parallel installations (the number of parallel executions of tasks) of the VM 133.

閾値情報113は、基盤102における性能のボトルネックの発生を判定するために用いる閾値を管理するための情報である。性能履歴データベース114は、性能監視部110による監視結果を格納するデータベースである。 The threshold information 113 is information for managing thresholds used to determine the occurrence of a performance bottleneck in the infrastructure 102. The performance history database 114 is a database that stores monitoring results by the performance monitoring unit 110.

実施例1では、以下のような手順でHICが構築される。 In Example 1, an HIC is constructed using the following procedure.

(手順1)構築実行システム101は、ユーザからHCIの構築開始指示を受け付けた場合、HCIの構築処理を開始する。構築開始指示には、要求時間、導入するVM133の総数等が含まれる。構築実行システム101は、基盤102にハイパバイザ131を導入し、ハイパバイザ131にSDS132の生成を指示する。構築実行システム101は、構築制御システム100に処理の開始指示を送信する。 (Procedure 1) When the construction execution system 101 receives an HCI construction start instruction from the user, it starts HCI construction processing. The construction start instruction includes the requested time, the total number of VMs 133 to be installed, and the like. The construction execution system 101 installs a hypervisor 131 on the platform 102 and instructs the hypervisor 131 to generate an SDS 132. The construction execution system 101 transmits a process start instruction to the construction control system 100.

(手順2)構築制御システム100は、所定数のVM133の導入を構築実行システム101に指示し、基盤102の性能のボトルネックを監視し、監視結果に基づいて並列導入数を決定する。構築制御システム100は、並列導入数を構築実行システム101に通知する。 (Procedure 2) The construction control system 100 instructs the construction execution system 101 to install a predetermined number of VMs 133, monitors the performance bottleneck of the platform 102, and determines the number of parallel installations based on the monitoring results. The construction control system 100 notifies the construction execution system 101 of the number of parallel installations.

(手順3)構築実行システム101は、並列導入数だけタスクを実行するサイクル処理を、全てのVM133の導入が完了するまで繰り返し実行する。例えば、全部で20個のVM133を導入する必要があり、並列導入数が5である場合、並列導入数が決定された後、VM133を導入するタスクを5つ含むサイクル処理が3回実行される。なお、並列導入数が、導入するVM133の総数と同一である場合、サイクル処理は実行されない。 (Procedure 3) The construction execution system 101 repeatedly executes a cycle process of executing tasks as many times as the number of parallel installations until installation of all VMs 133 is completed. For example, if it is necessary to install 20 VMs 133 in total and the number of parallel installations is 5, after the number of parallel installations is determined, a cycle process including 5 tasks for installing VMs 133 is executed three times. . Note that if the number of parallel installations is the same as the total number of VMs 133 to be installed, cycle processing is not executed.

なお、構築制御システム100及び構築実行システム101の各々が有する各モジュールについては、複数のモジュールを一つのモジュールにまとめてもよいし、一つのモジュールを機能毎に複数のモジュールに分けてもよい。 Regarding each module included in each of the construction control system 100 and the construction execution system 101, a plurality of modules may be combined into one module, or one module may be divided into a plurality of modules for each function.

図3は、実施例1の閾値情報113のデータ構造の一例を示す図である。 FIG. 3 is a diagram showing an example of the data structure of the threshold information 113 according to the first embodiment.

閾値情報113は、性能属性301及び閾値302を含むエントリを格納する。一つの性能属性に対して一つのエントリが存在する。 The threshold information 113 stores entries including performance attributes 301 and thresholds 302. One entry exists for one performance attribute.

性能属性301は、性能監視部110が監視する項目(性能属性)を格納するフィールドである。閾値302は、性能属性301に対応する項目の閾値を格納するフィールドである。実施例1では、構築制御システム100は、項目の値が閾値より大きい場合、ボトルネックが発生していると判定する。 The performance attribute 301 is a field that stores items (performance attributes) monitored by the performance monitoring unit 110. The threshold value 302 is a field that stores the threshold value of the item corresponding to the performance attribute 301. In the first embodiment, the construction control system 100 determines that a bottleneck has occurred when the value of the item is larger than the threshold value.

図4A、図4B、図4C、及び図4Dは、実施例1の性能履歴データベース114のデータ構造の一例を示す図である。 4A, FIG. 4B, FIG. 4C, and FIG. 4D are diagrams showing an example of the data structure of the performance history database 114 of the first embodiment.

性能履歴データベース114は、VM ID501及び計測値502を含むエントリを格納する性能情報500を格納する。一回の計測の履歴に対して一つの性能情報500が存在する。また、一つのVM133に対して一つのエントリが存在する。性能情報500にはタイムスタンプが関連づけられている。 The performance history database 114 stores performance information 500 that stores entries including a VM ID 501 and a measured value 502. One piece of performance information 500 exists for one measurement history. Further, one entry exists for one VM 133. Performance information 500 is associated with a timestamp.

VM ID501は、VM133の識別情報を格納するフィールドである。計測値502は、性能属性の値を格納するフィールド群である。 The VM ID 501 is a field that stores identification information of the VM 133. Measured value 502 is a field group that stores values of performance attributes.

図5A及び図5Bは、実施例1の構築制御システム100が実行する処理の一例を示すフローチャートである。 5A and 5B are flowcharts illustrating an example of a process executed by the construction control system 100 of the first embodiment.

構築制御システム100は、並列導入数を表す変数pに初期値「1」を設定する(ステップS101)。構築制御システム100は、構築実行システム101にタスク実行依頼を送信する(ステップS102)。構築実行システム101は、タスク実行依頼を受信した場合、一つのVM133の導入を開始する。 The construction control system 100 sets an initial value "1" to a variable p representing the number of parallel installations (step S101). The construction control system 100 transmits a task execution request to the construction execution system 101 (step S102). When the construction execution system 101 receives a task execution request, it starts installing one VM 133.

構築制御システム100は、タスク実行依頼の送信後、周期的に、VM1300の計算機リソースの性能値を取得する。周期は、例えば、5分である。構築制御システム100は、取得した性能値を含む性能情報500を性能履歴データベース114に格納する。導入中のVM133が一つの場合、図4Aに示すような性能情報500が性能履歴データベース114に格納される。 After transmitting the task execution request, the construction control system 100 periodically acquires the performance value of the computer resources of the VM 1300. The period is, for example, 5 minutes. The construction control system 100 stores performance information 500 including the acquired performance values in the performance history database 114. When there is only one VM 133 being installed, performance information 500 as shown in FIG. 4A is stored in the performance history database 114.

構築制御システム100は、構築実行システム101を介して、導入中のVM133の進捗率を取得する(ステップS103)。なお、VM133の進捗率とともにタスクの経過時間が取得されるものとする。 The construction control system 100 obtains the progress rate of the VM 133 being installed via the construction execution system 101 (step S103). Note that it is assumed that the progress rate of the VM 133 and the elapsed time of the task are acquired.

構築制御システム100は、導入中のVM133の導入時間tを算出する(ステップS104)。例えば、構築制御システム100は、タスクの経過時間及び進捗率に基づいて単位時間あたりの進捗率を算出し、単位時間あたりの進捗率に基づいて、進捗率が100%になるまでの時間を、導入時間tとして算出する。なお、導入時間tは予測値である。 The construction control system 100 calculates the installation time t of the VM 133 that is currently being installed (step S104). For example, the construction control system 100 calculates the progress rate per unit time based on the elapsed time and progress rate of the task, and calculates the time until the progress rate reaches 100% based on the progress rate per unit time. It is calculated as the introduction time t. Note that the introduction time t is a predicted value.

構築制御システム100は構築時間Tを算出する(ステップS105)。具体的には、以下のような処理が実行される。なお、構築時間Tは予測値である。 The construction control system 100 calculates the construction time T (step S105). Specifically, the following processing is executed. Note that the construction time T is a predicted value.

(S105-1)構築制御システム100は、現在導入中の各VM133について、導入時間tに導入開始順に応じたディレイ時間を加算する。例えば、一番目に導入が開始されたVM133のディレイ時間は「0分」、二番目、三番目に導入が開始されたVM133のディレイ時間は「1分」、導入順番が四番目以降のVM133のディレイ時間は「5分」となる。 (S105-1) The construction control system 100 adds a delay time according to the installation start order to the installation time t for each VM 133 currently being installed. For example, the delay time of VM133 whose installation was started first is "0 minutes", the delay time of VM133 whose installation was started second and third is "1 minute", and the delay time of VM133 whose installation started from fourth onward is "1 minute". The delay time will be "5 minutes".

(S105-2)構築制御システム100は、最も長い時間を構築時間Tに設定する。 (S105-2) The construction control system 100 sets the longest time as the construction time T.

以上がステップS105の処理の説明である。 The above is the explanation of the process of step S105.

構築制御システム100は、構築時間Tが要求時間より小さいか否かを判定する(ステップS106)。 The construction control system 100 determines whether the construction time T is shorter than the required time (step S106).

構築時間Tが要求時間より小さい場合、構築制御システム100は、現在の並列導入数及び構築時間を暫定値として記録する(ステップS107)。 If the construction time T is smaller than the required time, the construction control system 100 records the current number of parallel installations and the construction time as provisional values (step S107).

構築制御システム100は、現在の並列導入数が、基盤102に導入するVM133の総数に一致するか否かを判定する(ステップS108)。 The construction control system 100 determines whether the current number of parallel installations matches the total number of VMs 133 to be installed on the platform 102 (step S108).

現在の並列導入数が、基盤102に導入するVM133の総数に一致する場合、構築制御システム100は、構築実行システム101に、現在の並列導入数を通知し(ステップS116)、処理を終了する。 If the current number of parallel installations matches the total number of VMs 133 to be installed on the platform 102, the construction control system 100 notifies the construction execution system 101 of the current number of parallel installations (step S116), and ends the process.

現在の並列導入数が、基盤102に導入するVM133の総数に一致しない場合、構築制御システム100は、変数pに1を加算した値を変数pに設定し(ステップS109)、その後、ステップS102に戻る。これによって、新たなVM133の導入が開始される。二つのVM133が導入されている場合、図4Bに示すような性能情報500が取得される。 If the current number of parallel installations does not match the total number of VMs 133 to be installed on the platform 102, the construction control system 100 sets the value obtained by adding 1 to the variable p to the variable p (step S109), and then returns to step S102. return. As a result, installation of a new VM 133 is started. When two VMs 133 are installed, performance information 500 as shown in FIG. 4B is acquired.

ステップS106において、構築時間Tが要求時間以上の場合、構築制御システム100は、最新の性能情報500及び閾値情報113に基づいて、ボトルネックが発生しているか否かを判定する(ステップS110)。例えば、図4Cに示すような性能情報500が取得された場合、ボトルネックが発生していると判定される。 In step S106, if the construction time T is equal to or longer than the required time, the construction control system 100 determines whether a bottleneck has occurred based on the latest performance information 500 and threshold information 113 (step S110). For example, when performance information 500 as shown in FIG. 4C is acquired, it is determined that a bottleneck has occurred.

ボトルネックが発生していない場合、構築制御システム100は、ユーザにアラートを通知し(ステップS117)、処理を終了する。この場合、HCIの構築は停止する。 If no bottleneck has occurred, the construction control system 100 notifies the user of an alert (step S117), and ends the process. In this case, HCI construction stops.

ボトルネックが発生している場合、構築制御システム100は、変数pの値から1を減算した値を変数pに設定する(ステップS111)。 If a bottleneck has occurred, the construction control system 100 sets the value obtained by subtracting 1 from the value of the variable p to the variable p (step S111).

構築制御システム100は、未導入の全てのVM133の導入に要する時間(導入時間t’)を算出する(ステップS112)。具体的には、以下のような処理が実行される。 The construction control system 100 calculates the time required to install all the VMs 133 that have not yet been installed (installation time t') (step S112). Specifically, the following processing is executed.

(S112-1)構築制御システム100は、未導入のVM133の総数が、暫定値として記録された並列導入数より小さいか否かを判定する。 (S112-1) The construction control system 100 determines whether the total number of uninstalled VMs 133 is smaller than the number of parallel installations recorded as a provisional value.

(S112-2)未導入のVM133の総数が並列導入数(暫定値)より小さい場合、構築制御システム100は、暫定値として記録された構築時間を、導入時間t’として算出する。 (S112-2) If the total number of uninstalled VMs 133 is smaller than the number of parallel installations (provisional value), the construction control system 100 calculates the construction time recorded as the provisional value as the installation time t'.

(S112-3)未導入のVM133の総数が並列導入数(暫定値)以上の場合、構築制御システム100は、式(1)を用いて導入時間t’を算出する。以上が、ステップS112の処理の説明である。 (S112-3) If the total number of VMs 133 that have not been installed is equal to or greater than the number of parallel installations (provisional value), the construction control system 100 calculates the installation time t' using equation (1). The above is the explanation of the process of step S112.

Figure 0007447186000001
Figure 0007447186000001

構築制御システム100は、導入時間t及び導入時間t’の合計が要求時間より小さいか否かを判定する(ステップS113)。 The construction control system 100 determines whether the sum of the introduction time t and the introduction time t' is smaller than the required time (step S113).

導入時間t及び導入時間t’の合計が要求時間以上の場合、構築制御システム100は、ユーザにアラートを通知し(ステップS117)、処理を終了する。この場合、HCIの構築は停止する。 If the total of the introduction time t and the introduction time t' is equal to or greater than the required time, the construction control system 100 notifies the user of an alert (step S117) and ends the process. In this case, HCI construction stops.

導入時間t及び導入時間t’の合計が要求時間より小さい場合、構築制御システム100は、構築実行システム101にタスク停止依頼を送信する(ステップS114)。構築実行システム101は、タスク停止依頼を受信した場合、開始順番が最も遅いVM133の導入を停止する。これによって、ボトルネックの解消が期待される。 If the sum of the introduction time t and the introduction time t' is smaller than the required time, the construction control system 100 transmits a task stop request to the construction execution system 101 (step S114). When the construction execution system 101 receives a task stop request, it stops the installation of the VM 133 that has the latest start order. This is expected to eliminate bottlenecks.

構築制御システム100は、最新の性能情報500及び閾値情報113に基づいて、ボトルネックが解消しているか否かを判定する(ステップS115)。例えば、図4Dに示すような性能情報500が取得された場合、ボトルネックが解消していると判定される。 The construction control system 100 determines whether the bottleneck has been resolved based on the latest performance information 500 and threshold information 113 (step S115). For example, when performance information 500 as shown in FIG. 4D is acquired, it is determined that the bottleneck has been resolved.

ボトルネックが解消していない場合、構築制御システム100は、ユーザにアラートを通知し(ステップS117)、処理を終了する。この場合、HCIの構築は停止する。 If the bottleneck has not been resolved, the construction control system 100 notifies the user of an alert (step S117) and ends the process. In this case, HCI construction stops.

ボトルネックが解消している場合、構築制御システム100は、構築実行システム101に現在の並列導入数を通知し(ステップS116)、処理を終了する。 If the bottleneck has been resolved, the construction control system 100 notifies the construction execution system 101 of the current number of parallel installations (step S116), and ends the process.

構築実行システム101は、並列導入数の通知を受信した後、全てのVM133の導入が終了するまで、一度に並列導入数だけVM133を導入するサイクル処理を繰り返し実行する。これによって、ユーザが明示的な操作及び判断を行うことなく、HCIの構築時間を短縮することができる。 After receiving the notification of the number of parallel installations, the construction execution system 101 repeatedly executes a cycle process of installing VMs 133 by the number of parallel installations at a time until installation of all VMs 133 is completed. This allows the HCI construction time to be shortened without the user having to perform explicit operations or judgments.

構築制御システム100は、VM133の並列導入数を一つずつ増加させることによって、ボトルネックの発生により構築時間が要求時間以上となる境界値を効率的に探索することができる。当該境界値より一つ小さい数を並列導入数として設定することによって、ボトルネックを回避し、かつ、HCIの構築時間を最大限削減できる。 By increasing the number of parallel installations of VMs 133 one by one, the construction control system 100 can efficiently search for a boundary value at which the construction time exceeds the required time due to the occurrence of a bottleneck. By setting a number one smaller than the boundary value as the number of parallel introductions, bottlenecks can be avoided and the HCI construction time can be reduced to the maximum.

以上で説明したように、実施例1によれば、ボトルネックの発生を抑制し、かつ、構築時間を短縮可能なVM133の並列導入数を自動的に決定することができる。 As described above, according to the first embodiment, it is possible to automatically determine the number of parallel installations of VMs 133 that can suppress the occurrence of bottlenecks and shorten the construction time.

なお、仮想化基盤の一つとしてHCIを例に実施例を説明したが、本発明は様々な仮想化基盤の構築に適用することができる。 Although the embodiment has been described using HCI as an example of a virtualization infrastructure, the present invention can be applied to the construction of various virtualization infrastructures.

なお、本発明は上記した実施例に限定されるものではなく、様々な変形例が含まれる。また、例えば、上記した実施例は本発明を分かりやすく説明するために構成を詳細に説明したものであり、必ずしも説明した全ての構成を備えるものに限定されるものではない。また、各実施例の構成の一部について、他の構成に追加、削除、置換することが可能である。 Note that the present invention is not limited to the above-described embodiments, and includes various modifications. Further, for example, the configurations of the embodiments described above are explained in detail in order to explain the present invention in an easy-to-understand manner, and the present invention is not necessarily limited to having all the configurations described. Further, a part of the configuration of each embodiment can be added to, deleted from, or replaced with other configurations.

また、上記の各構成、機能、処理部、処理手段等は、それらの一部又は全部を、例えば集積回路で設計する等によりハードウェアで実現してもよい。また、本発明は、実施例の機能を実現するソフトウェアのプログラムコードによっても実現できる。この場合、プログラムコードを記録した記憶媒体をコンピュータに提供し、そのコンピュータが備えるプロセッサが記憶媒体に格納されたプログラムコードを読み出す。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施例の機能を実現することになり、そのプログラムコード自体、及びそれを記憶した記憶媒体は本発明を構成することになる。このようなプログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、CD-ROM、DVD-ROM、ハードディスク、SSD(Solid State Drive)、光ディスク、光磁気ディスク、CD-R、磁気テープ、不揮発性のメモリカード、ROMなどが用いられる。 Further, each of the above-mentioned configurations, functions, processing units, processing means, etc. may be partially or entirely realized in hardware by designing, for example, an integrated circuit. Further, the present invention can also be realized by software program codes that realize the functions of the embodiments. In this case, a storage medium on which a program code is recorded is provided to a computer, and a processor included in the computer reads the program code stored on the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the embodiments described above, and the program code itself and the storage medium storing it constitute the present invention. Examples of storage media for supplying such program codes include flexible disks, CD-ROMs, DVD-ROMs, hard disks, SSDs (Solid State Drives), optical disks, magneto-optical disks, CD-Rs, magnetic tapes, A non-volatile memory card, ROM, etc. are used.

また、本実施例に記載の機能を実現するプログラムコードは、例えば、アセンブラ、C/C++、perl、Shell、PHP、Python、Java(登録商標)等の広範囲のプログラム又はスクリプト言語で実装できる。 Further, the program code for realizing the functions described in this embodiment can be implemented in a wide range of program or script languages such as assembler, C/C++, Perl, Shell, PHP, Python, and Java (registered trademark).

さらに、実施例の機能を実現するソフトウェアのプログラムコードを、ネットワークを介して配信することによって、それをコンピュータのハードディスクやメモリ等の記憶手段又はCD-RW、CD-R等の記憶媒体に格納し、コンピュータが備えるプロセッサが当該記憶手段や当該記憶媒体に格納されたプログラムコードを読み出して実行するようにしてもよい。 Furthermore, by distributing the software program code that realizes the functions of the embodiment via a network, it can be stored in a storage means such as a computer's hard disk or memory, or a storage medium such as a CD-RW or CD-R. Alternatively, a processor included in the computer may read and execute the program code stored in the storage means or the storage medium.

上述の実施例において、制御線や情報線は、説明上必要と考えられるものを示しており、製品上必ずしも全ての制御線や情報線を示しているとは限らない。全ての構成が相互に接続されていてもよい。 In the above-described embodiments, the control lines and information lines are those considered necessary for explanation, and not all control lines and information lines are necessarily shown in the product. All configurations may be interconnected.

100 構築制御システム
101 構築実行システム
102 基盤
103 管理端末
104 ネットワーク
110 性能監視部
111 構築時間予測部
112 導入数決定部
113 閾値情報
114 性能履歴データベース
120 構築部
121 進捗監視部
130 サーバ
131 ハイパバイザ
132 SDS
133 VM
134 OS
200 計算機
201 プロセッサ
202 主記憶装置
203 副記憶装置
204 ネットワークインタフェース
500 性能情報
100 Construction control system 101 Construction execution system 102 Platform 103 Management terminal 104 Network 110 Performance monitoring section 111 Construction time prediction section 112 Installation number determination section 113 Threshold information 114 Performance history database 120 Construction section 121 Progress monitoring section 130 Server 131 Hypervisor 132 SDS
133 VMs
134 OS
200 Computer 201 Processor 202 Main storage device 203 Secondary storage device 204 Network interface 500 Performance information

Claims (8)

少なくとも一つの計算機を備える計算機システムであって、
仮想化基盤の構築処理を実行する構築実行システムと接続し、
前記仮想化基盤の構築処理は、仮想計算機を導入するタスクを含み、
前記計算機システムは、
前記構築実行システムによって所定の数の前記タスクが実行されている場合に、前記タスクによって導入されている前記仮想計算機の進捗率と、当該仮想計算機の計算機リソースの性能値とを取得し、
前記進捗率及び前記計算機リソースの性能値に基づいて、ボトルネックが発生せず、かつ、指定された要求時間内に、前記仮想化基盤を構築可能な前記仮想計算機の並列導入数を算出することを特徴とする計算機システム。
A computer system comprising at least one computer,
Connects to the construction execution system that executes the construction process of the virtualization infrastructure,
The virtualization infrastructure construction process includes a task of introducing a virtual machine,
The computer system is
When a predetermined number of the tasks are being executed by the construction execution system, obtaining a progress rate of the virtual machine installed by the task and a performance value of computer resources of the virtual machine;
Based on the progress rate and the performance value of the computer resource, calculate the number of parallel installations of the virtual machines that can construct the virtualization infrastructure without causing a bottleneck and within a specified request time. A computer system featuring:
請求項1に記載の計算機システムであって、
現在導入されている複数の前記仮想計算機の各々の前記進捗率に基づいて、全ての前記仮想計算機の導入が完了する予測構築時間を算出し、
前記予測構築時間が指定された要求時間より小さい場合、新たな前記タスクの実行を前記構築実行システムに指示し、
前記予測構築時間が前記要求時間以上の場合、現在導入されている複数の前記仮想計算機の各々の前記計算機リソースの性能値に基づいて、ボトルネックが発生しているか否かを判定し、
ボトルネックが発生している場合、現在の前記タスクの実行数から1を減算した値を、前記並列導入数として算出することを特徴とする計算機システム。
The computer system according to claim 1,
Based on the progress rate of each of the plurality of virtual machines currently installed, calculate the predicted construction time to complete the installation of all the virtual machines,
If the predicted construction time is less than the specified required time, instructing the construction execution system to newly execute the task;
If the predicted construction time is greater than or equal to the required time, determine whether a bottleneck has occurred based on the performance value of the computer resource of each of the currently installed virtual machines;
A computer system characterized in that, when a bottleneck occurs, a value obtained by subtracting 1 from the current number of executions of the tasks is calculated as the number of parallel introductions.
請求項2に記載の計算機システムであって、
ボトルネックが発生している場合、前記構築実行システムに一つの前記タスクの停止を指示することを特徴とする計算機システム。
The computer system according to claim 2,
A computer system characterized in that when a bottleneck occurs, the construction execution system is instructed to stop one of the tasks.
請求項2に記載の計算機システムであって、
前記並列導入数だけ前記タスクを実行するサイクル処理を前記構築実行システムに繰り返し実行させるために、前記構築実行システムに、前記並列導入数を通知することことを特徴とする計算機システム。
The computer system according to claim 2,
A computer system characterized in that the construction execution system is notified of the number of parallel introductions in order to cause the construction execution system to repeatedly execute a cycle process of executing the tasks by the number of parallel introductions.
少なくとも一つの計算機を含む計算機システムが実行する仮想化基盤の構築制御方法であって、
前記計算機システムは、仮想化基盤の構築処理を実行する構築実行システムと接続し、
前記仮想化基盤の構築処理は、仮想計算機を導入するタスクを含み、
前記仮想化基盤の構築制御方法は、
前記少なくとも一つの計算機が、前記構築実行システムによって所定の数の前記タスクが実行されている場合に、前記タスクによって導入されている前記仮想計算機の進捗率と、当該仮想計算機の計算機リソースの性能値とを取得する第1のステップと、
前記少なくとも一つの計算機が、前記進捗率及び前記計算機リソースの性能値に基づいて、ボトルネックが発生せず、かつ、指定された要求時間内に、前記仮想化基盤を構築可能な前記仮想計算機の並列導入数を算出する第2のステップと、を含むことを特徴とする仮想化基盤の構築制御方法。
A method for controlling the construction of a virtualization infrastructure executed by a computer system including at least one computer, the method comprising:
The computer system is connected to a construction execution system that executes construction processing of a virtualization infrastructure,
The virtualization infrastructure construction process includes a task of introducing a virtual machine,
The virtualization infrastructure construction control method includes:
When the at least one computer has a predetermined number of the tasks executed by the construction execution system, the progress rate of the virtual computer installed by the task and the performance value of computer resources of the virtual computer. a first step of obtaining
The at least one computer is a virtual computer that can build the virtualization infrastructure without bottlenecks and within a specified request time based on the progress rate and the performance value of the computer resources. A method for controlling construction of a virtualization infrastructure, comprising: a second step of calculating the number of parallel installations.
請求項5に記載の仮想化基盤の構築制御方法であって、
前記第2のステップは、
前記少なくとも一つの計算機が、現在導入されている複数の前記仮想計算機の各々の前記進捗率に基づいて、全ての前記仮想計算機の導入が完了する予測構築時間を算出する第3のステップと、
前記予測構築時間が指定された要求時間より小さい場合、前記少なくとも一つの計算機が、新たな前記タスクの実行を前記構築実行システムに指示する第4のステップと、
前記予測構築時間が前記要求時間以上の場合、前記少なくとも一つの計算機が、現在導入されている複数の前記仮想計算機の各々の前記計算機リソースの性能値に基づいて、ボトルネックが発生しているか否かを判定する第5のステップと、
ボトルネックが発生している場合、前記少なくとも一つの計算機が、現在導入されている複数の前記仮想計算機の数から1を減算した値を、前記並列導入数として算出する第6のステップと、を含むことを特徴とする仮想化基盤の構築制御方法。
6. The virtualization infrastructure construction control method according to claim 5,
The second step is
a third step in which the at least one computer calculates a predicted construction time for completing installation of all the virtual computers based on the progress rate of each of the plurality of virtual computers currently installed;
a fourth step in which the at least one computer instructs the construction execution system to newly execute the task if the predicted construction time is less than the specified required time;
If the predicted construction time is greater than or equal to the required time, the at least one computer determines whether a bottleneck is occurring based on the performance value of the computer resource of each of the currently installed virtual computers. a fifth step of determining whether
If a bottleneck has occurred, a sixth step in which the at least one computer calculates a value obtained by subtracting 1 from the number of the plurality of virtual computers currently installed as the number of parallel installations. A method for controlling the construction of a virtualization infrastructure, comprising:
請求項6に記載の仮想化基盤の構築制御方法であって、
前記第6のステップは、前記少なくとも一つの計算機が、前記構築実行システムに一つの前記タスクの停止を指示するステップを含むことを特徴とする仮想化基盤の構築制御方法。
7. The virtualization infrastructure construction control method according to claim 6,
The method for controlling construction of a virtualization infrastructure, wherein the sixth step includes a step in which the at least one computer instructs the construction execution system to stop one of the tasks.
請求項6に記載の仮想化基盤の構築制御方法であって、
前記第6のステップは、前記少なくとも一つの計算機が、前記構築実行システムに前記並列導入数だけ前記タスクを実行するサイクル処理を繰り返し実行させるために、前記構築実行システムに前記並列導入数を通知するステップを含むことを特徴とする仮想化基盤の構築制御方法。
7. The virtualization infrastructure construction control method according to claim 6,
In the sixth step, the at least one computer notifies the construction execution system of the number of parallel introductions in order to cause the construction execution system to repeatedly execute a cycle process of executing the task by the number of parallel introductions. A method for controlling the construction of a virtualization infrastructure, the method comprising steps.
JP2022103111A 2022-06-28 2022-06-28 Construction control method of computer system and virtualization infrastructure Active JP7447186B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022103111A JP7447186B2 (en) 2022-06-28 2022-06-28 Construction control method of computer system and virtualization infrastructure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022103111A JP7447186B2 (en) 2022-06-28 2022-06-28 Construction control method of computer system and virtualization infrastructure

Publications (2)

Publication Number Publication Date
JP2024003820A JP2024003820A (en) 2024-01-16
JP7447186B2 true JP7447186B2 (en) 2024-03-11

Family

ID=89537782

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022103111A Active JP7447186B2 (en) 2022-06-28 2022-06-28 Construction control method of computer system and virtualization infrastructure

Country Status (1)

Country Link
JP (1) JP7447186B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022527390A (en) 2019-04-11 2022-06-01 サービスナウ, インコーポレイテッド Program orchestration of cloud-based services

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022527390A (en) 2019-04-11 2022-06-01 サービスナウ, インコーポレイテッド Program orchestration of cloud-based services

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
小笠原 大治 ,仮想環境構築・運用自動化技術,三菱電機技報,三菱電機エンジニアリング株式会社,2013年07月25日,第87巻,第7号,pp.18(388)-21(391)

Also Published As

Publication number Publication date
JP2024003820A (en) 2024-01-16

Similar Documents

Publication Publication Date Title
JP5110315B2 (en) Virtual machine management apparatus, virtual machine management method and program
US8117641B2 (en) Control device and control method for information system
US20080295095A1 (en) Method of monitoring performance of virtual computer and apparatus using the method
WO2011074152A1 (en) Management server, management method, and management program for virtual hard disk
WO2009029496A1 (en) Virtualization planning system
WO2018066040A1 (en) Management computer and test environment determination method
JP5609730B2 (en) Information processing program and method, and transfer processing apparatus
US20170353541A1 (en) Non-transitory recording medium, information processing method, management node and information processing system
JP6009089B2 (en) Management system for managing computer system and management method thereof
JP6533623B2 (en) Management computer, performance monitoring method and computer system
US9852007B2 (en) System management method, management computer, and non-transitory computer-readable storage medium
US20170054592A1 (en) Allocation of cloud computing resources
JP2011186701A (en) Resource allocation apparatus, resource allocation method and resource allocation program
KR20150062634A (en) Auto scaling system and method in cloud computing environment
JP7035858B2 (en) Migration management program, migration method and migration system
Xue et al. Managing data center tickets: Prediction and active sizing
US20140067886A1 (en) Information processing apparatus, method of outputting log, and recording medium
US11212174B2 (en) Network management device and network management method
JP5515889B2 (en) Virtual machine system, automatic migration method and automatic migration program
JP2017091330A (en) Computer system and task executing method of computer system
JP7447186B2 (en) Construction control method of computer system and virtualization infrastructure
JP5597293B2 (en) Computer system and program
JP7176633B2 (en) VIRTUALIZATION BASE CONTROL DEVICE, VIRTUALIZATION BASE CONTROL METHOD AND VIRTUALIZATION BASE CONTROL PROGRAM
US20170257286A1 (en) Advance verification method and recording medium
WO2017006384A1 (en) Virtual machine administration program, virtual machine administration device, and virtual machine administration method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20221227

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240228

R150 Certificate of patent or registration of utility model

Ref document number: 7447186

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350