JP2020042484A - Computer system, parameter setting device, and program - Google Patents

Computer system, parameter setting device, and program Download PDF

Info

Publication number
JP2020042484A
JP2020042484A JP2018168782A JP2018168782A JP2020042484A JP 2020042484 A JP2020042484 A JP 2020042484A JP 2018168782 A JP2018168782 A JP 2018168782A JP 2018168782 A JP2018168782 A JP 2018168782A JP 2020042484 A JP2020042484 A JP 2020042484A
Authority
JP
Japan
Prior art keywords
setting
container
unit
information
parameter
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
JP2018168782A
Other languages
Japanese (ja)
Other versions
JP7230381B2 (en
Inventor
悠太 高雄
Yuta Takao
悠太 高雄
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 JP2018168782A priority Critical patent/JP7230381B2/en
Publication of JP2020042484A publication Critical patent/JP2020042484A/en
Application granted granted Critical
Publication of JP7230381B2 publication Critical patent/JP7230381B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To enable a setting change to be reflected on a container operating on a server without a change in container image.SOLUTION: In a computer system 10, a container 30 created from a container image is placed in a server 20. The container includes an application block 31 and a framework block 32. The framework block includes setting reflecting means 33. A managing device 11 possesses address information to access the container. A parameter setting device 12 accesses the container on the basis of the address information, and transmits the setting information on parameters of the framework block to the container. The setting reflecting means changes the parameters of the framework block in accordance with the setting information transmitted from the parameter setting device.SELECTED DRAWING: Figure 1

Description

本開示は、コンピュータシステム、パラメータ設定装置、方法、及びプログラムに関し、更に詳しくは、サーバ上でサービスを動作させるコンピュータシステム、並びにそのようなコンピュータシステムに用いられるパラメータ設定装置、方法、及びプログラムに関する。   The present disclosure relates to a computer system, a parameter setting device, a method, and a program, and more particularly, to a computer system that operates a service on a server, and a parameter setting device, a method, and a program used in such a computer system.

OS(Operating System)レベルの仮想化技術において用いられるコンテナが知られている。コンテナは、隔離されたユーザスペースで稼働するアプリケーションである。コンテナを実現するソフトウェアはコンテナランタイムと呼ばれる。コンテナランタイムとして、例えば、Docker社が提供しているDocker、CoreOS社が提供しているrktなどが知られている。   Containers used in OS (Operating System) level virtualization technology are known. A container is an application that runs in an isolated user space. The software that implements the container is called the container runtime. As container runtimes, for example, Docker provided by Docker, rkt provided by CoreOS, and the like are known.

コンテナランタイムは、隔離されたユーザスペースでアプリケーションを稼働させることに加えて、仮想ファイルシステムや仮想ネットワークなどをコンテナに取り付けて、コンテナをあたかも一つのマシンのように仕立てあげることができる。コンテナが利用する仮想ファイルシステムと、コンテナを実行するために必要な設定情報(例えば仮想ネットワークの設定のための情報等)とをひとまとめにしたファイルは、コンテナイメージと呼ばれる。関連技術として、特許文献1は、コンテナイメージを配信する装置を開示する。   In addition to running applications in an isolated user space, the container runtime can attach a virtual file system or virtual network to the container, making the container look like a single machine. A file in which a virtual file system used by a container and setting information (for example, information for setting a virtual network) necessary for executing the container are collectively called a container image. As a related technique, Patent Literature 1 discloses an apparatus that distributes a container image.

別の関連技術として、特許文献2は、システムパラメータ設定支援システムを開示する。特許文献2に記載のシステムパラメータ設定支援システムは、テスト装置とテスト対象システムとを含む。テスト対象システムは、設定変更可能な複数のパラメータを有する。テスト装置は、テストを実施するためにリクエストをテスト対象システムに送信する。テストは、例えば、テスト対象システムに様々な負荷をかけて、各種のパラメータの設定を変更しつつ、システムの動作や性能を検証する性能テストを含む。性能テスト時に複数のパラメータを変更しながらチューニングを行い、実運用時のパラメータが決定される。   As another related technique, Patent Document 2 discloses a system parameter setting support system. The system parameter setting support system described in Patent Document 2 includes a test device and a test target system. The test target system has a plurality of parameters whose settings can be changed. The test device sends a request to the system under test to perform the test. The test includes, for example, a performance test that verifies the operation and performance of the system while applying various loads to the test target system and changing the settings of various parameters. Tuning is performed while changing a plurality of parameters during a performance test, and parameters for actual operation are determined.

特開2018−63629号公報JP 2018-63629 A 国際公開第2013/018376号WO 2013/018376

クライアントサーバモデルのアプリケーション実行基盤が、PaaS(Platform as a Service)に移行する中で、アプリケーションアーキテクチャもPaaS基盤上での動作に適した、マイクロサービスアーキテクチャに変更されつつある。このマイクロサービスアーキテクチャは、システムをサービスという単位で分化し、その分化した機能をLinux(登録商標)コンテナなどのコンテナ技術を用いて提供されるプラットフォームで動作させることを前提としている。   As the application execution platform of the client-server model shifts to PaaS (Platform as a Service), the application architecture is also being changed to a microservice architecture suitable for operation on the PaaS platform. This microservice architecture is based on the premise that the system is differentiated in units of services, and the differentiated functions are operated on a platform provided using a container technology such as a Linux (registered trademark) container.

コンテナを管理するためのオーケストレーションツールとしてOpen Shiftなどが提唱されている。オーケストレーションツールにあらかじめコンテナを動作させる予定のサーバを指定することで、そのサーバ上に自由にコンテナを起動し、コンテナ上でサービスを動作させることが可能である。   Open Shift has been proposed as an orchestration tool for managing containers. By specifying the server on which the container is to be operated in advance in the orchestration tool, the container can be freely started on the server and the service can be operated on the container.

上記関連技術において、コンテナ管理を行うオーケストレーションツールは、マスタノードと、そのマスタノードが管理するノード、及びノード上に展開するためのイメージを管理するリポジトリを含む。マイクロサービスアーキテクチャに則ったシステムを開発する作業者は、開発環境を使用し、システムを要素ごとに分割し、サービスという単位でコンテナイメージを作成し、それらをリポジトリに登録する。マスタノード内のスケジューラは、自身に定義された条件に基づいて、ノード上にコンテナを展開し、その上でサービスを動作させる。   In the related art, the orchestration tool that performs container management includes a master node, a node managed by the master node, and a repository that manages an image to be deployed on the node. A worker who develops a system conforming to the microservices architecture uses a development environment, divides the system into elements, creates container images in units of services, and registers them in a repository. The scheduler in the master node deploys the container on the node based on the conditions defined for itself, and operates the service on the container.

ここで、ノードの実体はサーバであり、サーバごとにハードウェアの構成やネットワークの構成が異なり得る。関連技術において、コンテナのオーケストレーションツールはノード自体の負荷状況や対障害性を考慮した上でコンテナをノードに展開し、ノード上でアプリケーションを動作させている。しかしながら、実際にアプリケーションを動作させる際には、ハードウェアの構成やネットワークの構成の違いに起因する差異が発生し、アプリケーションを動作する上での最適解は考慮されていないのが現状である。   Here, the entity of the node is a server, and the hardware configuration and the network configuration may be different for each server. In the related art, a container orchestration tool deploys a container to a node in consideration of the load status and fault tolerance of the node itself, and runs an application on the node. However, at the time of actually operating an application, a difference occurs due to a difference in a hardware configuration or a network configuration, and at present, an optimal solution for operating the application is not considered.

特許文献2では、テスト対象装置のパラメータを調整できるため、所望の処理性能を実現できる。しかしながら、コンテナをノード上に展開してアプリケーションを動作させる場合、設定変更を行うためには、設定情報が含まれるイメージを作成し直す必要がある。イメージが展開されるノードは、マスタノードの判断で割り振られるため、展開されるノードに応じた、アプリケーションが最も短時間で処理を完了するための設定を行うことは困難である。   In Patent Literature 2, parameters of the test target device can be adjusted, so that desired processing performance can be realized. However, when the application is operated by expanding the container on the node, it is necessary to recreate an image including the setting information in order to change the setting. Since the nodes on which the images are deployed are allocated according to the judgment of the master node, it is difficult to make settings for the application to complete the processing in the shortest time according to the nodes to be deployed.

本開示は、上記に鑑み、コンテナの生成元となるイメージを変更することなく、サーバ上で動作するコンテナに対して設定変更を反映できるコンピュータシステム、パラメータ設定装置、方法、及びプログラムを提供することを目的とする。   In view of the above, the present disclosure provides a computer system, a parameter setting device, a method, and a program that can reflect a setting change in a container operating on a server without changing an image that is a source of the container. With the goal.

上記目的を達成するために、本開示は、コンテナイメージから生成され、サーバ上で動作し、かつアプリケーション部とフレームワーク部とを含むコンテナへアクセスするためのアドレス情報を保持する管理装置と、前記アドレス情報に基づいて前記コンテナにアクセスし、前記フレームワーク部のパラメータの設定情報を前記コンテナに送信するパラメータ設定装置とを備え、前記フレームワーク部は設定反映手段を含み、該設定反映手段は、前記パラメータ設定装置から送信された設定情報に従って前記フレームワーク部のパラメータを変更するコンピュータシステムを提供する。   In order to achieve the above object, the present disclosure provides a management device that is generated from a container image, operates on a server, and holds address information for accessing a container including an application unit and a framework unit; A parameter setting device for accessing the container based on the address information and transmitting setting information of parameters of the framework unit to the container, wherein the framework unit includes a setting reflecting unit, and the setting reflecting unit includes: A computer system for changing a parameter of the framework unit according to setting information transmitted from the parameter setting device is provided.

本開示は、また、コンテナイメージから生成され、サーバ上で動作し、アプリケーション部とフレームワーク部とを含み、かつ前記フレームワーク部が受信した設定情報に従ってパラメータを変更する設定反映手段を含むコンテナへアクセスするためのアドレス情報を保持する管理装置から前記アドレス情報を取得するアクセス先情報取得手段と、前記アドレス情報に基づいて前記コンテナにアクセスし、前記フレームワーク部のパラメータの設定情報を前記コンテナに送信する設定入力手段とを備えるパラメータ設定装置を提供する。   The present disclosure also relates to a container that is generated from a container image, operates on a server, includes an application unit and a framework unit, and includes a setting reflection unit that changes a parameter according to the setting information received by the framework unit. Access destination information acquisition means for acquiring the address information from a management device that holds the address information for accessing; accessing the container based on the address information; and setting the parameter setting information of the framework unit to the container. A parameter setting device comprising: a setting input unit for transmitting.

本開示は、コンテナイメージから生成され、サーバ上で動作し、アプリケーション部とフレームワーク部とを含み、かつ前記フレームワーク部が受信した設定情報に従ってパラメータを変更する機能を有するコンテナへアクセスするためのアドレス情報を保持する管理装置から前記アドレス情報を取得し、前記アドレス情報に基づいて前記コンテナにアクセスし、前記フレームワーク部のパラメータの設定情報を前記コンテナに送信するパラメータ設定方法を提供する。   The present disclosure relates to accessing a container generated from a container image, operating on a server, including an application unit and a framework unit, and having a function of changing parameters according to setting information received by the framework unit. A parameter setting method is provided that acquires the address information from a management device that holds the address information, accesses the container based on the address information, and transmits parameter setting information of the framework unit to the container.

本開示は、コンテナイメージから生成され、サーバ上で動作し、アプリケーション部とフレームワーク部とを含み、かつ前記フレームワーク部が受信した設定情報に従ってパラメータを変更する機能を有するコンテナへアクセスするためのアドレス情報を保持する管理装置から前記アドレス情報を取得し、前記アドレス情報に基づいて前記コンテナにアクセスし、前記フレームワーク部のパラメータの設定情報を前記コンテナに送信するための処理をコンピュータに実行させるプログラムを提供する。   The present disclosure relates to accessing a container generated from a container image, operating on a server, including an application unit and a framework unit, and having a function of changing parameters according to setting information received by the framework unit. Acquiring the address information from a management device that holds the address information, accessing the container based on the address information, and causing a computer to execute processing for transmitting setting information of the parameter of the framework unit to the container. Provide a program.

本開示に係るコンピュータシステム、パラメータ設定装置、方法、及びプログラムは、コンテナの生成元となるイメージを変更することなく、サーバ上で動作するコンテナに対して設定変更を反映させることができる。   A computer system, a parameter setting device, a method, and a program according to the present disclosure can reflect a setting change on a container operating on a server without changing an image that is a source of the container.

本開示のコンピュータシステムを概略的に示すブロック図。FIG. 1 is a block diagram schematically illustrating a computer system according to the present disclosure. 本開示の第1実施形態に係るコンピュータシステムを示すブロック図。FIG. 1 is a block diagram illustrating a computer system according to a first embodiment of the present disclosure. パラメータを変更する際の動作手順を示すフローチャート。9 is a flowchart showing an operation procedure when changing a parameter. 本開示の第2実施形態に係るコンピュータシステムを示すブロック図。FIG. 9 is a block diagram showing a computer system according to a second embodiment of the present disclosure. パラメータ定義情報の一例を示す図。The figure which shows an example of parameter definition information. パラメータ定義情報が入力される際の動作手順を示すフローチャート。9 is a flowchart illustrating an operation procedure when parameter definition information is input. パラメータ調整時の動作手順を示すフローチャート。9 is a flowchart illustrating an operation procedure at the time of parameter adjustment.

本開示の実施形態の説明に先立って、本開示の概要を説明する。図1は、本開示に係るコンピュータシステムを示す。コンピュータシステム10は、管理装置11とパラメータ設定装置12とを有する。管理装置11は、コンテナイメージから生成され、サーバ20上で動作するコンテナ30へアクセスするためのアドレス情報を保持する。コンテナ30は、アプリケーション部31とフレームワーク部32とを含む。   Prior to the description of the embodiments of the present disclosure, an overview of the present disclosure will be described. FIG. 1 illustrates a computer system according to the present disclosure. The computer system 10 has a management device 11 and a parameter setting device 12. The management device 11 holds address information generated from the container image and for accessing the container 30 operating on the server 20. The container 30 includes an application unit 31 and a framework unit 32.

パラメータ設定装置12は、管理装置11が保持するアドレス情報に基づいてコンテナ30にアクセスする。パラメータ設定装置12は、コンテナ30のフレームワーク部32の設定情報を、コンテナ30に送信する。フレームワーク部32は、設定反映手段33を含む。設定反映手段33は、パラメータ設定装置12から送信された設定情報に従ってフレームワーク部32のパラメータを変更する。   The parameter setting device 12 accesses the container 30 based on the address information held by the management device 11. The parameter setting device 12 transmits the setting information of the framework part 32 of the container 30 to the container 30. The framework unit 32 includes a setting reflecting unit 33. The setting reflecting unit 33 changes the parameters of the framework unit 32 according to the setting information transmitted from the parameter setting device 12.

本開示では、パラメータ設定装置12は、管理装置11が保持するコンテナ30のアドレス情報を用いてコンテナ30に設定情報を送信する。コンテナ30のフレームワーク部32は設定反映手段33を有しており、設定反映手段33は、パラメータ設定装置12から送信された設定情報に基づいて、フレームワーク部32にパラメータを設定する。このようにすることで、コンテナの生成元であるコンテナイメージを変更しなくても、フレームワーク部32のパラメータを変更することができる。   In the present disclosure, the parameter setting device 12 transmits setting information to the container 30 using the address information of the container 30 held by the management device 11. The framework unit 32 of the container 30 has a setting reflecting unit 33, and the setting reflecting unit 33 sets parameters in the framework unit 32 based on the setting information transmitted from the parameter setting device 12. By doing so, it is possible to change the parameters of the framework unit 32 without changing the container image from which the container is generated.

以下、図面を参照しつつ、本開示の実施の形態を詳細に説明する。図2は、本開示の第1実施形態に係るコンピュータシステムを示す。コンピュータシステム100は、マスタノード101、パラメータ設定装置102、及びノード103を有する。マスタノード101、パラメータ設定装置102、及びノード103は、例えばサーバコンピュータとして構成される。マスタノード101、パラメータ設定装置102、及びノード103の機能は、サーバコンピュータ内のプロセッサが、メモリから読み出したプログラムに従って動作することで実現し得る。これら装置は必ずしも物理的に分離された装置として構成される必要はない。また、各装置は、物理的に分離された複数の装置を用いて構成されてもよい。   Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings. FIG. 2 illustrates a computer system according to the first embodiment of the present disclosure. The computer system 100 has a master node 101, a parameter setting device 102, and a node 103. The master node 101, the parameter setting device 102, and the node 103 are configured as, for example, a server computer. The functions of the master node 101, the parameter setting device 102, and the node 103 can be realized by the processor in the server computer operating according to the program read from the memory. These devices need not necessarily be configured as physically separate devices. In addition, each device may be configured using a plurality of physically separated devices.

本実施形態では、下記の環境を想定する。
(1)マクロサービスアーキテクチャに則り、システムの要素がサービスごとに分化され、各サービスはコンテナ上で動作する。
(2)コンテナの操作はオーケストレーションツールを用いて実行される。オーケストレーションツールは、コンテナが動作するサーバ(ノード)を特定するための情報、及びコンテナ上で動作するサービスにアクセスにための情報を定義する。
(3)コンテナは、サービスの実行に対してアプリケーション部とフレームワーク部とで分離可能なアーキテクチャを持つクライアントサーバモデルのWebサーバ、又はアプリケーションサーバである。
In the present embodiment, the following environment is assumed.
(1) In accordance with the macro service architecture, system elements are differentiated for each service, and each service operates on a container.
(2) The operation of the container is executed using an orchestration tool. The orchestration tool defines information for specifying a server (node) on which the container operates and information for accessing a service operating on the container.
(3) The container is a client-server model Web server or application server having an architecture that can be separated into an application unit and a framework unit for service execution.

リポジトリ104は、コンテナの生成元のコンテナイメージを保持する。リポジトリ104は、例えばサービスAのコンテナイメージ141、サービスBのコンテナイメージ142、及びサービスCのコンテナイメージ142を保持する。   The repository 104 holds a container image from which a container is generated. The repository 104 holds, for example, a container image 141 of the service A, a container image 142 of the service B, and a container image 142 of the service C.

マスタノード101は、スケジューラ111、及び管理情報112を有する。スケジューラ111は、コンテナイメージを展開するサーバを決定する。スケジューラ111は、例えばリポジトリ104からサービスAのコンテナイメージ141を取得し、取得したコンテナイメージ141をノード103上に展開する。管理情報112は、各コンテナに対する仮想的なアドレス情報(仮想アドレス)113、コンテナが動作するノードの情報(ノード情報)114、及びサービスが提供するURL(uniform resource locator)(サービスURL)115を含む。マスタノード101は、図1の管理装置11に対応する。   The master node 101 has a scheduler 111 and management information 112. The scheduler 111 determines a server that deploys the container image. The scheduler 111 acquires the container image 141 of the service A from the repository 104, for example, and expands the acquired container image 141 on the node 103. The management information 112 includes virtual address information (virtual address) 113 for each container, information (node information) 114 of the node on which the container operates, and a URL (uniform resource locator) (service URL) 115 provided by the service. . The master node 101 corresponds to the management device 11 in FIG.

ノード103は、スケジューラ111が展開したコンテナ130を動作させるサーバである。コンテナ130は、特定のサービスを提供する。各サービスは、アプリケーション部131とフレームワーク部132とを含む。アプリケーション部131は、サービスを提供する実体である。フレームワーク部132は、アプリケーションを動作させるためのフレームワークである。ノード103は図1のサーバ20に対応し、コンテナ130は図1のコンテナ30に対応する。また、アプリケーション部131は図1のアプリケーション部31に対応し、フレームワーク部132は図1のフレームワーク部32に対応する。   The node 103 is a server that operates the container 130 expanded by the scheduler 111. The container 130 provides a specific service. Each service includes an application unit 131 and a framework unit 132. The application unit 131 is an entity that provides a service. The framework unit 132 is a framework for operating an application. The node 103 corresponds to the server 20 in FIG. 1, and the container 130 corresponds to the container 30 in FIG. 1. The application unit 131 corresponds to the application unit 31 in FIG. 1, and the framework unit 132 corresponds to the framework unit 32 in FIG.

フレームワーク部132は、設定情報133と設定反映機能(設定反映手段)134とを含む。設定情報133は、フレームワーク部132に設定可能な複数のパラメータの設定情報である。設定反映機能134は、フレームワークの一機能として提供され、特定のURL形式のリクエストを受け付け、パラメータの設定変更操作を実施する。より詳細には、設定反映機能134は、パラメータ設定装置102からパラメータの設定情報を含むリクエストを受信し、受信したリクエストに含まれる設定情報を設定情報133に格納する。設定反映機能134は、例えば設定情報の格納後、フレームワーク部132を再起動させることで、フレームワーク部132を、設定情報133に新たに格納された設定情報に従うパラメータで動作させる。設定反映機能134は、図1の設定反映手段33に対応する。   The framework unit 132 includes setting information 133 and a setting reflecting function (setting reflecting unit) 134. The setting information 133 is setting information of a plurality of parameters that can be set in the framework unit 132. The setting reflection function 134 is provided as one function of the framework, receives a request in a specific URL format, and performs a parameter setting change operation. More specifically, the setting reflection function 134 receives a request including parameter setting information from the parameter setting device 102, and stores the setting information included in the received request in the setting information 133. For example, after storing the setting information, the setting reflecting function 134 restarts the framework unit 132 to operate the framework unit 132 with parameters according to the setting information newly stored in the setting information 133. The setting reflecting function 134 corresponds to the setting reflecting unit 33 in FIG.

パラメータ設定装置102は、アクセス先情報取得部(アクセス先情報取得手段)121及び設定入力部(設定入力手段)122を有する。アクセス先情報取得部121は、マスタノード101から、コンテナ130の仮想アドレス113を取得する。設定入力部122は、フレームワーク部132の設定情報133に格納される設定情報をコンテナ130に送信する。このとき設定入力部122は、アクセス先情報取得部121が取得した仮想アドレス113と設定情報とを組み合わせたリクエストを生成し、コンテナ130に設定情報を送信する。設定入力部122には、例えばユーザから設定情報が入力される。パラメータ設定装置102は、図1のパラメータ設定装置12に対応する。   The parameter setting device 102 includes an access destination information acquisition unit (access destination information acquisition unit) 121 and a setting input unit (setting input unit) 122. The access destination information acquisition unit 121 acquires the virtual address 113 of the container 130 from the master node 101. The setting input unit 122 transmits the setting information stored in the setting information 133 of the framework unit 132 to the container 130. At this time, the setting input unit 122 generates a request in which the virtual address 113 acquired by the access destination information acquiring unit 121 and the setting information are combined, and transmits the setting information to the container 130. The setting input unit 122 receives setting information from a user, for example. The parameter setting device 102 corresponds to the parameter setting device 12 in FIG.

以下、コンピュータシステム100において実施される方法(パラメータ設定方法)を説明する。図3は、コンテナ130のフレームワーク部132のパラメータを変更する際の動作手順を示す。ユーザは、例えば設定変更を行いたいサービスなどを指定して、設定入力部122にパラメータの設定情報を入力する(ステップA1)。設定入力部122は、アクセス先情報取得部121を呼び出し、アクセス先情報取得部121は、マスタノード101上に保持される仮想アドレス113を取得する(ステップA2)。   Hereinafter, a method (parameter setting method) performed in the computer system 100 will be described. FIG. 3 shows an operation procedure when changing the parameters of the framework 132 of the container 130. For example, the user specifies a service or the like whose setting is to be changed, and inputs parameter setting information to the setting input unit 122 (step A1). The setting input unit 122 calls the access destination information acquisition unit 121, and the access destination information acquisition unit 121 acquires the virtual address 113 held on the master node 101 (Step A2).

設定入力部122は、ステップA2で取得された仮想アドレス113を使用し、パラメータ設定のためのURLを構築する(ステップA3)。また、設定入力部122は、ユーザが入力したパラメータを設定用のURLに付与し、設定変更後のパラメータを含む設定用のURLを生成する(ステップA4)。設定入力部122は、ステップA4において、例えば下記のURL形式のリクエストを生成する。
http://{仮想アドレス}/setting?param={パラメータ名}&data={入力データ}
The setting input unit 122 constructs a URL for parameter setting using the virtual address 113 obtained in step A2 (step A3). Further, the setting input unit 122 adds the parameter input by the user to the setting URL, and generates a setting URL including the parameter after the setting change (step A4). In step A4, the setting input unit 122 generates a request in the following URL format, for example.
http: // {virtual address} / setting? param = {parameter name} & data = {input data}

設定入力部122は、ステップA4で生成した設定用のURLをコンテナ130に送信し、フレームワーク部132の設定反映機能134を呼び出す(ステップA5)。設定反映機能134は、設定用のURLに含まれるパラメータの設定情報を設定情報133に格納する(ステップA6)。設定反映機能134は、ステップA6では、例えば設定用のURLに含まれる「パラメータ名」で示されるパラメータの設定値を、設定用のURLに含まれる「入力データ」の値に置き換える。設定反映機能134は、設定情報を格納すると、フレームワーク部132を再起動させる(ステップA7)。再起動後、フレームワーク部132は、設定情報133に新たに格納された設定情報に従って動作する。   The setting input unit 122 transmits the setting URL generated in step A4 to the container 130, and calls the setting reflecting function 134 of the framework unit 132 (step A5). The setting reflection function 134 stores the setting information of the parameters included in the setting URL in the setting information 133 (Step A6). In step A6, the setting reflection function 134 replaces the setting value of the parameter indicated by, for example, the “parameter name” included in the setting URL with the value of “input data” included in the setting URL. After storing the setting information, the setting reflecting function 134 restarts the framework 132 (step A7). After the restart, the framework unit 132 operates according to the setting information newly stored in the setting information 133.

本実施形態では、コンテナ130のフレームワーク部132は設定反映機能134を有している。パラメータ設定装置102は、マスタノード101からコンテナ130の仮想的なアドレス情報である仮想アドレス113を取得し、設定情報を含むリクエストをコンテナ130に送信する。本実施形態では、コンテナごとに用意された仮想的なアドレスを使用することで、コンテナ130の外部から、コンテナ130内の設定反映機能134に設定情報を送信できる。設定反映機能134が受信した設定情報に従ってフレームワーク部132内の設定情報133を変更することで、フレームワーク部132のパラメータを変更できる。   In the present embodiment, the framework 132 of the container 130 has a setting reflection function 134. The parameter setting device 102 acquires a virtual address 113 that is virtual address information of the container 130 from the master node 101, and transmits a request including the setting information to the container 130. In the present embodiment, setting information can be transmitted from outside the container 130 to the setting reflection function 134 in the container 130 by using a virtual address prepared for each container. By changing the setting information 133 in the framework unit 132 according to the setting information received by the setting reflecting function 134, the parameters of the framework unit 132 can be changed.

例えば、あるコンテナイメージが配置されるノードは1つのノードに特定されておらず、あるコンテナイメージが、2つの異なるノードに配置される場合がある。その場合、1つのコンテナイメージから生成されるコンテナ130におけるフレームワーク部132のパラメータは、一方のノードでは最適であっても、他方のノードにおいて最適とは限らない。本実施形態では、フレームワーク部132における設定の変更を各サービスに対して実行することができるため、元のコンテナイメージを変更しなくても、パラメータを、コンテナ130が配置されたノードの状況に応じて変更することができる。このため、同じコンテナイメージを使用しつつ、各ノードにおいて、各ノードの状況に応じたパラメータでサービスを実行することができる。   For example, a node where a certain container image is arranged is not specified as one node, and a certain container image may be arranged at two different nodes. In that case, the parameters of the framework unit 132 in the container 130 generated from one container image are optimal at one node but not necessarily optimal at the other node. In the present embodiment, since the setting change in the framework unit 132 can be executed for each service, even if the original container image is not changed, the parameter can be changed according to the status of the node where the container 130 is located. Can be changed accordingly. Therefore, while using the same container image, each node can execute a service with parameters according to the status of each node.

続いて、本開示の第2実施形態を説明する。図4は、本開示の第2実施形態に係るコンピュータシステムを示す。本実施形態では、パラメータ設定装置102aは、アクセス先情報取得部121及び設定入力部122に加えて、パラメータ定義情報格納部151、パラメータ設定解析部152、設定注入部153、設定格納部154、測定結果受信部155、導出部156、及びアプリケーション実行部157を有する。   Subsequently, a second embodiment of the present disclosure will be described. FIG. 4 illustrates a computer system according to the second embodiment of the present disclosure. In the present embodiment, in addition to the access destination information acquisition unit 121 and the setting input unit 122, the parameter setting device 102a includes a parameter definition information storage unit 151, a parameter setting analysis unit 152, a setting injection unit 153, a setting storage unit 154, a measurement It has a result receiving unit 155, a deriving unit 156, and an application executing unit 157.

本実施形態は、パラメータ設定装置102aが、フレームワーク部132に設定されるパラメータの設定情報の調整を行う点で、第1実施形態と相違する。マスタノード101及びノード103については第1実施形態で説明したものと同様でよい。なお、図4において、リポジトリ104(図2を参照)は図示を省略している。   This embodiment is different from the first embodiment in that the parameter setting device 102a adjusts the setting information of the parameters set in the framework unit 132. The master node 101 and the node 103 may be the same as those described in the first embodiment. In FIG. 4, the repository 104 (see FIG. 2) is not shown.

パラメータ定義情報格納部(パラメータ定義情報格納手段)151は、フレームワーク部132のパラメータの定義情報(パラメータ定義情報)を記憶する。パラメータ定義情報格納部151には、パラメータの調整において、調整対象となるパラメータに対するパラメータ定義情報が記憶される。図5は、パラメータ定義情報の一例を示す。パラメータ定義情報は、パラメータ名と入力データとの組を含む。パラメータ定義情報は、例えばユーザにより入力される。パラメータ定義情報において、データ範囲などは、例えば正規表現で定義される。   The parameter definition information storage unit (parameter definition information storage unit) 151 stores parameter definition information (parameter definition information) of the framework unit 132. The parameter definition information storage unit 151 stores parameter definition information for parameters to be adjusted in parameter adjustment. FIG. 5 shows an example of the parameter definition information. The parameter definition information includes a set of a parameter name and input data. The parameter definition information is input, for example, by a user. In the parameter definition information, the data range and the like are defined by, for example, a regular expression.

パラメータ設定解析部(パラメータ設定解析手段)152は、パラメータ定義情報格納部151に記憶されたパラメータ定義情報を解析し、パラメータ名とパラメータのデータの範囲とを算出する。設定注入部(設定注入手段)153は、パラメータ設定解析部152で算出されたパラメータ名とパラメータのデータ範囲の情報を、設定格納部(設定格納手段)154に送信する。設定格納部154は、設定注入部153から送信されたパラメータ名とパラメータのデータの範囲とを、フレームワーク部132に設定される設定情報の候補として記憶する。   The parameter setting analysis unit (parameter setting analysis unit) 152 analyzes the parameter definition information stored in the parameter definition information storage unit 151, and calculates a parameter name and a parameter data range. The setting injecting unit (setting injecting means) 153 transmits the parameter name and the data range of the parameter calculated by the parameter setting analyzing unit 152 to the setting storing unit (setting storing means) 154. The setting storage unit 154 stores the parameter name and parameter data range transmitted from the setting injecting unit 153 as candidates for setting information to be set in the framework unit 132.

アプリケーション実行部(アプリケーション実行手段)157は、コンテナ130が提供するサービスに対してリクエストを送信し、アプリケーションを実行させる。このときアプリケーション実行部157は、マスタノード101に保持されているサービスURL115に基づいて、コンテナ130が提供するサービスにアクセスする。アプリケーション実行部157は、アプリケーションを実行させたとき、コンテナ130の処理性能指標を測定する。アプリケーション実行部157は、例えばアプリケーションの実行処理時間を処理性能指標として測定する。   The application execution unit (application execution unit) 157 transmits a request to a service provided by the container 130 and causes the application to execute. At this time, the application execution unit 157 accesses a service provided by the container 130 based on the service URL 115 held in the master node 101. When the application is executed, the application execution unit 157 measures the processing performance index of the container 130. The application execution unit 157 measures, for example, the execution processing time of the application as a processing performance index.

導出部(パラメータ導出手段)156は、フレームワーク部132のパラメータの設定情報を導出する。設定情報の導出には、例えばベイズ最適化が用いられる。設定情報の導出において、導出部156は、設定入力部122を通じて、設定格納部154に格納されたデータ範囲内の設定情報を、フレームワーク部132の設定反映機能に送信する。設定情報の送信後、導出部156は、アプリケーション実行部157を呼び出し、コンテナ130においてアプリケーションを実行させる。   The deriving unit (parameter deriving unit) 156 derives parameter setting information of the framework unit 132. Bayesian optimization is used to derive the setting information, for example. In deriving the setting information, the deriving unit 156 transmits the setting information within the data range stored in the setting storage unit 154 to the setting reflecting function of the framework unit 132 via the setting input unit 122. After transmitting the setting information, the derivation unit 156 calls the application execution unit 157 and causes the container 130 to execute the application.

測定結果受信部(測定結果受信手段)155は、アプリケーションの実行時に測定された処理性能指標をアプリケーション実行部157から受信する。測定結果受信部155は、受信した処理性能指標を導出部156に通知する。導出部156は、例えばベイズ最適化を行うことで、処理性能指標が最良、例えば実行処理時間が最短となる設定情報を導出する。導出部156は、導出された設定情報を、設定入力部122を通じて、フレームワーク部132の設定反映機能に送信する。   The measurement result receiving unit (measurement result receiving unit) 155 receives the processing performance index measured at the time of executing the application from the application executing unit 157. The measurement result receiving unit 155 notifies the derived processing performance index to the deriving unit 156. The deriving unit 156 derives the setting information having the best processing performance index, for example, the shortest execution processing time by performing Bayesian optimization, for example. The deriving unit 156 transmits the derived setting information to the setting reflecting function of the framework unit 132 via the setting input unit 122.

以下、動作手順を説明する。図6は、パラメータ定義情報が入力される際の動作手順を示す。ユーザは、パラメータ定義情報格納部151に、パラメータ定義を設定する(ステップB1)。ユーザは、ステップB1では、例えばノード103の動作に影響を与え得るパラメータのパラメータ名と、その範囲などを設定する。   Hereinafter, the operation procedure will be described. FIG. 6 shows an operation procedure when parameter definition information is input. The user sets a parameter definition in the parameter definition information storage unit 151 (Step B1). In step B1, the user sets, for example, a parameter name of a parameter that can affect the operation of the node 103, a range thereof, and the like.

パラメータ設定解析部152は、パラメータ定義情報格納部151に登録された入力データ(図5を参照)を解析し、設定値の入力可能値を導出する(ステップB2)。設定注入部153は、ステップB2で導出された入力可能値を、設定格納部154に格納する(ステップB3)。ここまでの段階で、パラメータ調整の準備が整う。   The parameter setting analysis unit 152 analyzes the input data (see FIG. 5) registered in the parameter definition information storage unit 151, and derives a settable input value (step B2). The setting injecting unit 153 stores the inputtable value derived in step B2 in the setting storage unit 154 (step B3). At this stage, preparation for parameter adjustment is completed.

図7は、パラメータ調整時の動作手順を示す。ユーザは、コンテナイメージがノード103に配置された後、任意のタイミングでパラメータの調整を指示することができる。ユーザがパラメータの調整を指示すると、アクセス先情報取得部121は、マスタノード101から管理情報112を取得する(ステップC1)。アクセス先情報取得部121は、ステップC1では、仮想アドレス113、ノード情報114、及びサービスURL115を取得する。設定入力部122は、ステップC1で取得された管理情報を結合することで、サービスのアクセス先URLと、パラメータ設定用のURLとを構築する(ステップC2)。   FIG. 7 shows an operation procedure at the time of parameter adjustment. After the container image is placed on the node 103, the user can instruct the parameter adjustment at an arbitrary timing. When the user instructs to adjust the parameters, the access destination information acquisition unit 121 acquires the management information 112 from the master node 101 (Step C1). In step C1, the access destination information acquisition unit 121 acquires the virtual address 113, the node information 114, and the service URL 115. The setting input unit 122 constructs a service access destination URL and a parameter setting URL by combining the management information acquired in step C1 (step C2).

導出部156は、設定値、及び設定値の入力可能値を引数にベイズ最適化を実施し、調査対象の設定値を導出する(ステップC3)。導出部156は、導出した設定値を設定入力部122に通知する。設定入力部122は、ステップC2で構築した設定用のURLを用い、フレームワーク部132の設定反映機能134にステップC3で導出された設定値を送信する(ステップC4)。設定入力部122は、ステップC4では、ステップC2で構築された設定用のURLにステップC3で導出された設定値を付与し、設定値が付与された設定用のURLを設定反映機能134に送信する。   The deriving unit 156 performs Bayesian optimization using the set value and the inputtable value of the set value as arguments, and derives a set value to be investigated (step C3). The deriving unit 156 notifies the setting input unit 122 of the derived setting value. The setting input unit 122 transmits the setting value derived in Step C3 to the setting reflecting function 134 of the framework unit 132 using the setting URL constructed in Step C2 (Step C4). In step C4, the setting input unit 122 assigns the setting value derived in step C3 to the setting URL constructed in step C2, and transmits the setting URL to which the setting value has been assigned to the setting reflecting function 134. I do.

設定反映機能134は、設定用のURLに含まれるパラメータの設定情報を設定情報133に格納する(ステップC5)。設定反映機能134は、設定情報を格納すると、フレームワーク部132を再起動させる(ステップC6)。再起動後、フレームワーク部132は、設定情報133に新たに格納された設定情報に従って動作する。ステップC5及びC6は、図3のステップA6及びA7と同様でよい。   The setting reflection function 134 stores the setting information of the parameters included in the setting URL in the setting information 133 (Step C5). After storing the setting information, the setting reflecting function 134 restarts the framework unit 132 (Step C6). After the restart, the framework unit 132 operates according to the setting information newly stored in the setting information 133. Steps C5 and C6 may be the same as steps A6 and A7 in FIG.

アプリケーション実行部157は、フレームワーク部132の再起動後、コンテナ130においてサービス(アプリケーション)を実行させる(ステップC7)。アプリケーション実行部157は、ステップC7では、ステップC2で構築されたサービスのアクセス先URLを用い、コンテナ130においてアプリケーションを実行させる。アプリケーション実行部157は、コンテナ130(ノード103)の処理性能指標を測定する(ステップC8)。アプリケーション実行部157は、ステップC8では、例えばアプリケーションの実行処理時間を測定する。   After restarting the framework unit 132, the application execution unit 157 causes the container 130 to execute a service (application) (Step C7). In step C7, the application execution unit 157 causes the container 130 to execute the application using the access destination URL of the service constructed in step C2. The application execution unit 157 measures the processing performance index of the container 130 (node 103) (Step C8). In step C8, the application execution unit 157 measures, for example, the execution processing time of the application.

アプリケーション実行部157は、ステップC8で測定した処理性能指標を測定結果受信部155に送信する。測定結果受信部155は、受信した処理性能指標を導出部156に通知する。導出部156は、設定値と処理性能指標とに基づいてベイズ最適化を実施し、新たな設定値を導出する(ステップC9)。   The application execution unit 157 transmits the processing performance index measured in Step C8 to the measurement result receiving unit 155. The measurement result receiving unit 155 notifies the derived processing performance index to the deriving unit 156. The deriving unit 156 performs Bayesian optimization based on the set value and the processing performance index, and derives a new set value (Step C9).

導出部156は、ステップC9で導出した設定値が、前回の設定値と同じであるか否かを判断する(ステップC10)。ステップC10において、導出された設定値が前回の設定値と異なると判断された場合、処理はステップC4に戻り、設定入力部122を通じて、新たな設定値がフレームワーク部132の設定反映機能134に送信される。ステップC4からステップC10の処理は、ステップC10において新たに導出された設定値が前回の設定値と同じであると判断されるまで繰り返し実施される。   The deriving unit 156 determines whether the set value derived in step C9 is the same as the previous set value (step C10). If it is determined in step C10 that the derived setting value is different from the previous setting value, the process returns to step C4, and the new setting value is transmitted to the setting reflecting function 134 of the framework unit 132 via the setting input unit 122. Sent. The processing from step C4 to step C10 is repeatedly performed until it is determined in step C10 that the newly derived set value is the same as the previous set value.

導出部156は、ステップC10で設定値が前回と同じであると判断した場合、ベイズ最適化を終了し、パラメータ調整を行う対象の全てのノードについてパラメータ調整が終了したか否かを判断する(ステップC11)。ステップC11においてパラメータ調整を行うノードが残っていると判断された場合、処理はステップC3に戻り、導出部156は、パラメータ調整が未調整の1つのノードを対象にベイズ最適化を実施する。ステップC11において、全てのノードについてパラメータ調整が終了したと判断された場合、処理は終了する。   If the deriving unit 156 determines in step C10 that the set value is the same as the previous value, the derivation unit 156 ends the Bayesian optimization, and determines whether the parameter adjustment has been completed for all nodes to be subjected to parameter adjustment ( Step C11). If it is determined in step C11 that there is a node for which parameter adjustment remains, the process returns to step C3, and the derivation unit 156 performs Bayesian optimization on one node whose parameter adjustment has not been adjusted. If it is determined in step C11 that parameter adjustment has been completed for all nodes, the process ends.

本実施形態では、導出部156は、パラメータ定義情報の範囲内で、フレームワーク部132に設定する設定情報を導出する。本実施形態では、例えば導出部156において、処理性能指標が最良となる設定情報を導出することで、サービスが展開されたコンテナやノードの状況に応じて、アプリケーションが最も短時間で処理を完了するための設定情報を自動的に導出することができる。従って、本実施形態では、システム開発者などが、ノードに展開されたサービスに対して調査を行った上で設定情報を変更しなくても、処理性能を向上させることができる。   In the present embodiment, the deriving unit 156 derives setting information to be set in the framework unit 132 within the range of the parameter definition information. In the present embodiment, for example, the deriving unit 156 derives the setting information with the best processing performance index, so that the application completes the processing in the shortest time according to the status of the container or node where the service is deployed. Setting information can be automatically derived. Therefore, in the present embodiment, it is possible to improve the processing performance without changing the setting information after the system developer or the like investigates the service deployed on the node.

上記各実施形態において、プログラムは、様々なタイプの非一時的なコンピュータ可読媒体を用いて格納され、コンピュータに供給することができる。非一時的なコンピュータ可読媒体は、様々なタイプの実体のある記憶媒体を含む。非一時的なコンピュータ可読媒体の例は、例えばフレキシブルディスク、磁気テープ、又はハードディスクなどの磁気記録媒体、例えば光磁気ディスクなどの光磁気記録媒体、CD(compact disc)、又はDVD(digital versatile disk)などの光ディスク媒体、及び、マスクROM(read only memory)、PROM(programmable ROM)、EPROM(erasable PROM)、フラッシュROM、又はRAM(random access memory)などの半導体メモリを含む。また、プログラムは、様々なタイプの一時的なコンピュータ可読媒体を用いてコンピュータに供給されてもよい。一時的なコンピュータ可読媒体の例は、電気信号、光信号、及び電磁波を含む。一時的なコンピュータ可読媒体は、電線及び光ファイバなどの有線通信路、又は無線通信路を介して、プログラムをコンピュータに供給できる。   In each of the above embodiments, the program can be stored using various types of non-transitory computer-readable media and supplied to a computer. Non-transitory computer readable media includes various types of tangible storage media. Examples of the non-transitory computer-readable medium are a magnetic recording medium such as a flexible disk, a magnetic tape, or a hard disk, a magneto-optical recording medium such as a magneto-optical disk, a CD (compact disc), or a DVD (digital versatile disk). And a semiconductor memory such as a mask ROM (read only memory), a PROM (programmable ROM), an EPROM (erasable PROM), a flash ROM, or a RAM (random access memory). Also, the program may be supplied to the computer using various types of temporary computer-readable media. Examples of transitory computer readable media include electrical signals, optical signals, and electromagnetic waves. Transitory computer readable media can provide the program to a computer via a wired communication line such as an electric wire and an optical fiber, or a wireless communication line.

以上、本開示の実施形態を詳細に説明したが、本開示は、上記した実施形態に限定されるものではなく、本開示の趣旨を逸脱しない範囲で上記実施形態に対して変更や修正を加えたものも、本開示に含まれる。   As described above, the embodiments of the present disclosure have been described in detail. However, the present disclosure is not limited to the above-described embodiments, and changes and modifications may be made to the above-described embodiments without departing from the spirit of the present disclosure. Are included in the present disclosure.

例えば、上記の実施形態の一部又は全部は、以下の付記のようにも記載され得るが、以下には限られない。   For example, some or all of the embodiments described above can be described as in the following supplementary notes, but are not limited thereto.

[付記1]
コンテナイメージから生成され、サーバ上で動作し、かつアプリケーション部とフレームワーク部とを含むコンテナへアクセスするためのアドレス情報を保持する管理装置と、
前記アドレス情報に基づいて前記コンテナにアクセスし、前記フレームワーク部のパラメータの設定情報を前記コンテナに送信するパラメータ設定装置とを備え、
前記フレームワーク部は設定反映手段を含み、該設定反映手段は、前記パラメータ設定装置から送信された設定情報に従って前記フレームワーク部のパラメータを変更するコンピュータシステム。
[Appendix 1]
A management device that is generated from the container image, operates on the server, and holds address information for accessing a container including the application unit and the framework unit;
A parameter setting device that accesses the container based on the address information and transmits setting information of parameters of the framework unit to the container;
The computer system, wherein the framework unit includes a setting reflecting unit, and the setting reflecting unit changes parameters of the framework unit according to setting information transmitted from the parameter setting device.

[付記2]
前記パラメータ設定装置は、前記管理装置から前記アドレス情報を取得するアクセス先情報取得手段と、前記設定情報を受け付け、該受け付けた設定情報と前記アドレス情報とを組み合わせたリクエストを生成して前記コンテナに送信する設定入力手段とを含む付記1に記載のコンピュータシステム。
[Appendix 2]
The parameter setting device, an access destination information obtaining unit that obtains the address information from the management device, receives the setting information, generates a request combining the received setting information and the address information, and generates a request in the container. The computer system according to claim 1, further comprising: a setting input unit for transmitting.

[付記3]
前記設定反映手段は、前記パラメータ設定装置から送信された設定情報を前記フレームワーク部内に保存し、前記フレームワーク部を再起動させる付記1又は2に記載のコンピュータシステム。
[Appendix 3]
3. The computer system according to claim 1, wherein the setting reflecting unit stores the setting information transmitted from the parameter setting device in the framework unit, and restarts the framework unit.

[付記4]
前記管理装置は、更に、前記コンテナが提供するサービスにアクセスするための情報を保持し、
前記パラメータ設定装置は、前記サービスにアクセスするための情報に基づいて前記コンテナが提供するサービスを実行させ、前記サービスの処理性能指標を測定するアプリケーション実行手段と、前記処理性能指標に基づいて、前記コンテナに設定する設定情報を導出するパラメータ導出手段とを含む付記1から3何れか1つに記載のコンピュータシステム。
[Appendix 4]
The management device further holds information for accessing a service provided by the container,
The parameter setting device is configured to execute a service provided by the container based on information for accessing the service, an application execution unit that measures a processing performance index of the service, and based on the processing performance index, 4. The computer system according to any one of supplementary notes 1 to 3, further comprising parameter deriving means for deriving setting information to be set in the container.

[付記5]
前記パラメータ設定装置は、前記設定情報のデータ範囲を定義するパラメータ定義情報を記憶するパラメータ情報格納手段と、
前記パラメータ定義情報に基づいて前記設定情報の候補を算出するパラメータ設定解析手段とを更に有し、
前記パラメータ導出手段は、前記パラメータ設定解析手段が算出した前記設定情報の候補から前記設定情報を導出する付記4に記載のコンピュータシステム。
[Appendix 5]
The parameter setting device, parameter information storage means for storing parameter definition information that defines a data range of the setting information,
Further comprising parameter setting analysis means for calculating the setting information candidates based on the parameter definition information,
5. The computer system according to claim 4, wherein the parameter deriving unit derives the setting information from the setting information candidates calculated by the parameter setting analyzing unit.

[付記6]
前記パラメータ導出手段は、前記処理性能指標が最良となる設定情報を導出する付記4又は5に記載のコンピュータシステム。
[Appendix 6]
6. The computer system according to claim 4, wherein the parameter deriving unit derives setting information with which the processing performance index is best.

[付記7]
前記管理装置は、前記コンテナを動作させるサーバを決定するスケジューラを有する付記1から6何れか1つに記載のコンピュータシステム。
[Appendix 7]
7. The computer system according to any one of supplementary notes 1 to 6, wherein the management device includes a scheduler that determines a server on which the container operates.

[付記8]
前記スケジューラは、リポジトリから前記コンテナイメージを取得し、該コンテナイメージを前記決定したサーバに配置する付記7に記載のコンピュータシステム。
[Appendix 8]
8. The computer system according to claim 7, wherein the scheduler acquires the container image from a repository and places the container image on the determined server.

[付記9]
コンテナイメージから生成され、サーバ上で動作し、アプリケーション部とフレームワーク部とを含み、かつ前記フレームワーク部が受信した設定情報に従ってパラメータを変更する設定反映手段を含むコンテナへアクセスするためのアドレス情報を保持する管理装置から前記アドレス情報を取得するアクセス先情報取得手段と、
前記アドレス情報に基づいて前記コンテナにアクセスし、前記フレームワーク部のパラメータの設定情報を前記コンテナに送信する設定入力手段とを備えるパラメータ設定装置。
[Appendix 9]
Address information for accessing a container generated from a container image, operating on a server, including an application unit and a framework unit, and including a setting reflecting unit that changes parameters according to the setting information received by the framework unit. Access destination information acquisition means for acquiring the address information from a management device that holds
A parameter setting device comprising: a setting input unit configured to access the container based on the address information and transmit setting information of a parameter of the framework unit to the container.

[付記10]
前記設定入力手段は、前記設定情報を受け付け、該受け付けた設定情報と前記アドレス情報とを組み合わせたリクエストを生成して前記コンテナに送信する付記9に記載のパラメータ設定装置。
[Appendix 10]
10. The parameter setting device according to claim 9, wherein the setting input means receives the setting information, generates a request in which the received setting information is combined with the address information, and transmits the request to the container.

[付記11]
前記アクセス先情報取得手段は、更に前記管理装置から前記コンテナが提供するサービスにアクセスするための情報を取得し、
前記パラメータ設定装置は、更に、前記サービスにアクセスするための情報に基づいて前記コンテナが提供するサービスを実行させ、前記サービスの処理性能指標を測定するアプリケーション実行手段と、前記処理性能指標に基づいて、前記コンテナに設定する設定情報を導出するパラメータ導出手段とを有する付記9又は10に記載のパラメータ設定装置。
[Appendix 11]
The access destination information obtaining means further obtains information for accessing a service provided by the container from the management device,
The parameter setting device is further configured to execute a service provided by the container based on information for accessing the service, an application execution unit that measures a processing performance index of the service, and based on the processing performance index. 11. The parameter setting device according to claim 9, further comprising: parameter deriving means for deriving setting information to be set in the container.

[付記12]
更に、前記設定情報のデータ範囲を定義するパラメータ定義情報を記憶するパラメータ情報格納手段と、
前記パラメータ定義情報に基づいて前記設定情報の候補を算出するパラメータ設定解析手段とを更に有し、
前記パラメータ導出手段は、前記パラメータ設定解析手段が算出した前記設定情報の候補から前記設定情報を導出する付記11に記載のパラメータ設定装置。
[Supplementary Note 12]
Further, parameter information storage means for storing parameter definition information that defines the data range of the setting information,
Further comprising parameter setting analysis means for calculating the setting information candidates based on the parameter definition information,
12. The parameter setting device according to claim 11, wherein the parameter deriving unit derives the setting information from the setting information candidates calculated by the parameter setting analyzing unit.

[付記13]
前記パラメータ導出手段は、前記処理性能指標が最良となる設定情報を導出する付記11又は12に記載のパラメータ設定装置。
[Appendix 13]
13. The parameter setting device according to Supplementary Note 11 or 12, wherein the parameter deriving unit derives setting information with the best processing performance index.

[付記14]
コンテナイメージから生成され、サーバ上で動作し、アプリケーション部とフレームワーク部とを含み、かつ前記フレームワーク部が受信した設定情報に従ってパラメータを変更する機能を有するコンテナへアクセスするためのアドレス情報を保持する管理装置から前記アドレス情報を取得し、
前記アドレス情報に基づいて前記コンテナにアクセスし、前記フレームワーク部のパラメータの設定情報を前記コンテナに送信するパラメータ設定方法。
[Appendix 14]
Holds address information for accessing a container that is generated from a container image, runs on a server, includes an application unit and a framework unit, and has a function of changing parameters according to setting information received by the framework unit. Acquiring the address information from the management device,
A parameter setting method for accessing the container based on the address information and transmitting parameter setting information of the framework unit to the container.

[付記15]
更に、前記管理装置から前記コンテナが提供するサービスにアクセスするための情報を取得し、
前記サービスにアクセスするための情報に基づいて前記コンテナが提供するサービスを実行させ、
前記サービスの処理性能指標を測定し、
前記処理性能指標に基づいて、前記コンテナに設定する設定情報を導出する付記14に記載のパラメータ設定方法。
[Appendix 15]
Further, acquiring information for accessing a service provided by the container from the management device,
Executing a service provided by the container based on information for accessing the service,
Measuring the processing performance index of the service,
15. The parameter setting method according to supplementary note 14, wherein setting information to be set in the container is derived based on the processing performance index.

[付記16]
更に、前記設定情報のデータ範囲を定義するパラメータ定義情報に基づいて前記設定情報の候補を算出し、
前記設定情報の導出では、前記算出された前記設定情報の候補から前記設定情報を導出する付記15に記載のパラメータ設定方法。
[Appendix 16]
Further, based on the parameter definition information that defines the data range of the setting information, calculate the setting information candidates,
16. The parameter setting method according to claim 15, wherein in deriving the setting information, the setting information is derived from the calculated candidates for the setting information.

[付記17]
前記設定情報の導出では、前記処理性能指標が最良となる設定情報を導出する付記15又は16に記載のパラメータ設定方法。
[Appendix 17]
17. The parameter setting method according to Supplementary Note 15 or 16, wherein in deriving the setting information, setting information in which the processing performance index is the best is derived.

[付記18]
コンテナイメージから生成され、サーバ上で動作し、アプリケーション部とフレームワーク部とを含み、かつ前記フレームワーク部が受信した設定情報に従ってパラメータを変更する機能を有するコンテナへアクセスするためのアドレス情報を保持する管理装置から前記アドレス情報を取得し、
前記アドレス情報に基づいて前記コンテナにアクセスし、前記フレームワーク部のパラメータの設定情報を前記コンテナに送信するための処理をコンピュータに実行させるプログラム。
[Appendix 18]
Holds address information for accessing a container that is generated from a container image, runs on a server, includes an application unit and a framework unit, and has a function of changing parameters according to setting information received by the framework unit. Acquiring the address information from the management device,
A program that causes a computer to execute processing for accessing the container based on the address information and transmitting setting information of parameters of the framework unit to the container.

10:コンピュータシステム
11:管理装置
12:パラメータ設定装置
20:サーバ
30:コンテナ
31:アプリケーション部
32:フレームワーク部
33:設定反映手段
100:コンピュータシステム
101:マスタノード
102:パラメータ設定装置
103:ノード
104:リポジトリ
111:スケジューラ
112:管理情報
113:仮想アドレス
114:ノード情報
115:サービスURL
121:アクセス先情報取得部
122:設定入力部
130:コンテナ
131:アプリケーション部
132:フレームワーク部
133:設定情報
134:設定反映機能
151:パラメータ定義情報格納部
152:パラメータ設定解析部
153:設定注入部
154:設定格納部
155:測定結果受信部
156:導出部
157:アプリケーション実行部
10: Computer system 11: Management device 12: Parameter setting device 20: Server 30: Container 31: Application unit 32: Framework unit 33: Setting reflecting means 100: Computer system 101: Master node 102: Parameter setting device 103: Node 104 : Repository 111: scheduler 112: management information 113: virtual address 114: node information 115: service URL
121: access destination information acquisition unit 122: setting input unit 130: container 131: application unit 132: framework unit 133: setting information 134: setting reflection function 151: parameter definition information storage unit 152: parameter setting analysis unit 153: setting injection Unit 154: setting storage unit 155: measurement result receiving unit 156: derivation unit 157: application execution unit

Claims (10)

コンテナイメージから生成され、サーバ上で動作し、かつアプリケーション部とフレームワーク部とを含むコンテナへアクセスするためのアドレス情報を保持する管理装置と、
前記アドレス情報に基づいて前記コンテナにアクセスし、前記フレームワーク部のパラメータの設定情報を前記コンテナに送信するパラメータ設定装置とを備え、
前記フレームワーク部は設定反映手段を含み、該設定反映手段は、前記パラメータ設定装置から送信された設定情報に従って前記フレームワーク部のパラメータを変更するコンピュータシステム。
A management device that is generated from the container image, operates on the server, and holds address information for accessing a container including the application unit and the framework unit;
A parameter setting device that accesses the container based on the address information and transmits setting information of parameters of the framework unit to the container;
The computer system, wherein the framework unit includes a setting reflecting unit, and the setting reflecting unit changes parameters of the framework unit according to setting information transmitted from the parameter setting device.
前記パラメータ設定装置は、前記管理装置から前記アドレス情報を取得するアクセス先情報取得手段と、前記設定情報を受け付け、該受け付けた設定情報と前記アドレス情報とを組み合わせたリクエストを生成して前記コンテナに送信する設定入力手段とを含む請求項1に記載のコンピュータシステム。   The parameter setting device, an access destination information obtaining unit that obtains the address information from the management device, receives the setting information, generates a request combining the received setting information and the address information, and generates a request in the container. The computer system according to claim 1, further comprising: a setting input unit for transmitting. 前記設定反映手段は、前記パラメータ設定装置から送信された設定情報を前記フレームワーク部内に保存し、前記フレームワーク部を再起動させる請求項1又は2に記載のコンピュータシステム。   The computer system according to claim 1, wherein the setting reflecting unit stores the setting information transmitted from the parameter setting device in the framework unit, and restarts the framework unit. 前記管理装置は、更に、前記コンテナが提供するサービスにアクセスするための情報を保持し、
前記パラメータ設定装置は、前記サービスにアクセスするための情報に基づいて前記コンテナが提供するサービスを実行させ、前記サービスの処理性能指標を測定するアプリケーション実行手段と、前記処理性能指標に基づいて、前記コンテナに設定する設定情報を導出するパラメータ導出手段とを含む請求項1から3何れか1項に記載のコンピュータシステム。
The management device further holds information for accessing a service provided by the container,
The parameter setting device is configured to execute a service provided by the container based on information for accessing the service, an application execution unit that measures a processing performance index of the service, and based on the processing performance index, 4. The computer system according to claim 1, further comprising: parameter deriving means for deriving setting information to be set in the container.
前記パラメータ設定装置は、前記設定情報のデータ範囲を定義するパラメータ定義情報を記憶するパラメータ情報格納手段と、
前記パラメータ定義情報に基づいて前記設定情報の候補を算出するパラメータ設定解析手段とを更に有し、
前記パラメータ導出手段は、前記パラメータ設定解析手段が算出した前記設定情報の候補から前記設定情報を導出する請求項4に記載のコンピュータシステム。
The parameter setting device, parameter information storage means for storing parameter definition information that defines a data range of the setting information,
Further comprising parameter setting analysis means for calculating the setting information candidates based on the parameter definition information,
The computer system according to claim 4, wherein the parameter deriving unit derives the setting information from the setting information candidates calculated by the parameter setting analyzing unit.
前記パラメータ導出手段は、前記処理性能指標が最良となる設定情報を導出する請求項4又は5に記載のコンピュータシステム。   The computer system according to claim 4, wherein the parameter deriving unit derives setting information that optimizes the processing performance index. 前記管理装置は、前記コンテナを動作させるサーバを決定するスケジューラを有する請求項1から6何れか1項に記載のコンピュータシステム。   The computer system according to claim 1, wherein the management device includes a scheduler that determines a server on which the container operates. コンテナイメージから生成され、サーバ上で動作し、アプリケーション部とフレームワーク部とを含み、かつ前記フレームワーク部が受信した設定情報に従ってパラメータを変更する設定反映手段を含むコンテナへアクセスするためのアドレス情報を保持する管理装置から前記アドレス情報を取得するアクセス先情報取得手段と、
前記アドレス情報に基づいて前記コンテナにアクセスし、前記フレームワーク部のパラメータの設定情報を前記コンテナに送信する設定入力手段とを備えるパラメータ設定装置。
Address information for accessing a container generated from a container image, operating on a server, including an application unit and a framework unit, and including a setting reflecting unit that changes parameters according to the setting information received by the framework unit. Access destination information acquisition means for acquiring the address information from a management device that holds
A parameter setting device comprising: a setting input unit configured to access the container based on the address information and transmit setting information of a parameter of the framework unit to the container.
コンテナイメージから生成され、サーバ上で動作し、アプリケーション部とフレームワーク部とを含み、かつ前記フレームワーク部が受信した設定情報に従ってパラメータを変更する機能を有するコンテナへアクセスするためのアドレス情報を保持する管理装置から前記アドレス情報を取得し、
前記アドレス情報に基づいて前記コンテナにアクセスし、前記フレームワーク部のパラメータの設定情報を前記コンテナに送信するパラメータ設定方法。
Holds address information for accessing a container that is generated from a container image, runs on a server, includes an application unit and a framework unit, and has a function of changing parameters according to setting information received by the framework unit. Acquiring the address information from the management device,
A parameter setting method for accessing the container based on the address information and transmitting parameter setting information of the framework unit to the container.
コンテナイメージから生成され、サーバ上で動作し、アプリケーション部とフレームワーク部とを含み、かつ前記フレームワーク部が受信した設定情報に従ってパラメータを変更する機能を有するコンテナへアクセスするためのアドレス情報を保持する管理装置から前記アドレス情報を取得し、
前記アドレス情報に基づいて前記コンテナにアクセスし、前記フレームワーク部のパラメータの設定情報を前記コンテナに送信するための処理をコンピュータに実行させるプログラム。
Holds address information for accessing a container that is generated from a container image, runs on a server, includes an application unit and a framework unit, and has a function of changing parameters according to setting information received by the framework unit. Acquiring the address information from the management device,
A program that causes a computer to execute processing for accessing the container based on the address information and transmitting setting information of parameters of the framework unit to the container.
JP2018168782A 2018-09-10 2018-09-10 Computer system, parameter setting device, method and program Active JP7230381B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018168782A JP7230381B2 (en) 2018-09-10 2018-09-10 Computer system, parameter setting device, method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018168782A JP7230381B2 (en) 2018-09-10 2018-09-10 Computer system, parameter setting device, method and program

Publications (2)

Publication Number Publication Date
JP2020042484A true JP2020042484A (en) 2020-03-19
JP7230381B2 JP7230381B2 (en) 2023-03-01

Family

ID=69798387

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018168782A Active JP7230381B2 (en) 2018-09-10 2018-09-10 Computer system, parameter setting device, method and program

Country Status (1)

Country Link
JP (1) JP7230381B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011233146A (en) * 2010-04-26 2011-11-17 Vmware Inc Cloud platform architecture
JP2015524596A (en) * 2012-08-07 2015-08-24 アドバンスト・マイクロ・ディバイシズ・インコーポレイテッドAdvanced Micro Devices Incorporated System and method for configuring a cloud computing system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011233146A (en) * 2010-04-26 2011-11-17 Vmware Inc Cloud platform architecture
JP2015524596A (en) * 2012-08-07 2015-08-24 アドバンスト・マイクロ・ディバイシズ・インコーポレイテッドAdvanced Micro Devices Incorporated System and method for configuring a cloud computing system

Also Published As

Publication number Publication date
JP7230381B2 (en) 2023-03-01

Similar Documents

Publication Publication Date Title
US11307906B1 (en) Solver for cluster management system
US10970057B2 (en) Methods and apparatus to generate a customized application blueprint
JP6549787B2 (en) Method and apparatus for deploying network services
US8412810B1 (en) Provisioning and managing a cluster deployed on a cloud
US20170085419A1 (en) System and method for deploying an application
US20180121230A1 (en) Evaluating distributed application performance in a new environment
TWI516059B (en) Setup method and system for client and server environment
US11574063B2 (en) Automatic detection of an incomplete static analysis security assessment
US10430172B2 (en) Re-configuration in cloud computing environments
WO2017045424A1 (en) Application program deployment system and deployment method
US11948014B2 (en) Multi-tenant control plane management on computing platform
CN109547509B (en) Cross-platform deployment method and system
WO2017066931A1 (en) Method and device for managing certificate in network function virtualization architecture
US9729610B2 (en) Method for intercepting an instruction produced by an application on a computer
US20190073249A1 (en) Message oriented middleware with integrated rules engine
WO2020248727A1 (en) Management method and device for software module, and server
WO2017011938A1 (en) Virtual network function capacity expansion method and apparatus
CN111831567B (en) Application test environment configuration method, device, system and medium
CN111712795A (en) Method, apparatus, computer program product and readable medium for evaluating application deployment
JP2020042484A (en) Computer system, parameter setting device, and program
US20220229689A1 (en) Virtualization platform control device, virtualization platform control method, and virtualization platform control program
JP6852424B2 (en) Application server, its method and program
JP6930141B2 (en) Monitoring definition generator, monitoring definition generation method, and monitoring definition generation program
KR20160028248A (en) Apparatus for recipe dynamic configuration and provisioning method
CN114706655A (en) Request processing method, computing device and computer storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210804

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220706

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220906

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221026

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230130

R151 Written notification of patent or utility model registration

Ref document number: 7230381

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151