Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7230381B2 - Computer system, parameter setting device, method and program - Google Patents
[go: Go Back, main page]

JP7230381B2 - Computer system, parameter setting device, method and program - Google Patents

Computer system, parameter setting device, method and program Download PDF

Info

Publication number
JP7230381B2
JP7230381B2 JP2018168782A JP2018168782A JP7230381B2 JP 7230381 B2 JP7230381 B2 JP 7230381B2 JP 2018168782 A JP2018168782 A JP 2018168782A JP 2018168782 A JP2018168782 A JP 2018168782A JP 7230381 B2 JP7230381 B2 JP 7230381B2
Authority
JP
Japan
Prior art keywords
setting
information
container
parameter
accessing
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
JP2018168782A
Other languages
Japanese (ja)
Other versions
JP2020042484A (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.)
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

Landscapes

  • Stored Programmes (AREA)

Description

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

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 a container is called a container runtime. As container runtimes, for example, Docker provided by Docker, rkt provided by CoreOS, etc. are known.

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

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

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

クライアントサーバモデルのアプリケーション実行基盤が、PaaS(Platform as a Service)に移行する中で、アプリケーションアーキテクチャもPaaS基盤上での動作に適した、マイクロサービスアーキテクチャに変更されつつある。このマイクロサービスアーキテクチャは、システムをサービスという単位で分化し、その分化した機能をLinux(登録商標)コンテナなどのコンテナ技術を用いて提供されるプラットフォームで動作させることを前提としている。 As the application execution infrastructure 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 infrastructure. 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 container technology such as Linux (registered trademark) container.

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

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

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

特許文献2では、テスト対象装置のパラメータを調整できるため、所望の処理性能を実現できる。しかしながら、コンテナをノード上に展開してアプリケーションを動作させる場合、設定変更を行うためには、設定情報が含まれるイメージを作成し直す必要がある。イメージが展開されるノードは、マスタノードの判断で割り振られるため、展開されるノードに応じた、アプリケーションが最も短時間で処理を完了するための設定を行うことは困難である。 In Patent Document 2, the desired processing performance can be achieved because the parameters of the device under test can be adjusted. However, when deploying a container on a node and running an application, it is necessary to recreate an image that includes setting information in order to change the settings. Since the node to which the image is deployed is allocated at the discretion of the master node, it is difficult to set the application to complete processing in the shortest time according to the node to which the image is 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 setting changes to a container running on a server without changing the image that is the origin 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 that includes an application section and a framework section; a parameter setting device that accesses the container based on address information and transmits parameter setting information of the framework unit to the container, the framework unit including setting reflecting means, the setting reflecting means comprising: A computer system is provided for changing the parameters of the framework section according to the setting information transmitted from the parameter setting device.

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

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

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

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

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

本開示の実施形態の説明に先立って、本開示の概要を説明する。図1は、本開示に係るコンピュータシステムを示す。コンピュータシステム10は、管理装置11とパラメータ設定装置12とを有する。管理装置11は、コンテナイメージから生成され、サーバ20上で動作するコンテナ30へアクセスするためのアドレス情報を保持する。コンテナ30は、アプリケーション部31とフレームワーク部32とを含む。 An outline of the present disclosure will be described prior to description of the embodiments of the present disclosure. FIG. 1 shows 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 for accessing the container 30 generated from the container image and operating on the server 20 . The container 30 includes an application section 31 and a framework section 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 section 32 includes a setting reflecting means 33 . The setting reflecting means 33 changes the parameters of the framework section 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 section 32 of the container 30 has a setting reflection means 33 , and the setting reflection means 33 sets parameters in the framework section 32 based on the setting information transmitted from the parameter setting device 12 . By doing so, the parameters of the framework section 32 can be changed without changing the container image that is the origin of the container generation.

以下、図面を参照しつつ、本開示の実施の形態を詳細に説明する。図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 shows 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 nodes 103 . The master node 101, parameter setting device 102, and node 103 are configured as server computers, for example. 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. Also, each device may be configured using a plurality of physically separated devices.

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

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

マスタノード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 to deploy the container image. The scheduler 111 acquires, for example, the container image 141 of the service A from the repository 104 and deploys the acquired container image 141 on the node 103 . The management information 112 includes virtual address information (virtual address) 113 for each container, node information (node information) 114 on which the container operates, and URL (uniform resource locator) (service URL) 115 provided by the service. . A 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 deployed by the scheduler 111 . A container 130 provides a specific service. Each service includes an application portion 131 and a framework portion 132 . The application unit 131 is an entity that provides services. The framework unit 132 is a framework for operating applications. Node 103 corresponds to server 20 in FIG. 1, and container 130 corresponds to container 30 in FIG. Also, the application section 131 corresponds to the application section 31 in FIG. 1, and the framework section 132 corresponds to the framework section 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 means) 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 . The setting reflection function 134 restarts the framework unit 132 after storing the setting information, for example, so that the framework unit 132 operates with parameters according to the setting information newly stored in the setting information 133 . The setting reflecting function 134 corresponds to the setting reflecting means 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 has an access destination information acquisition unit (access destination information acquisition means) 121 and a setting input unit (setting input means) 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 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 combining the virtual address 113 acquired by the access destination information acquisition unit 121 and the setting information, and transmits the setting information to the container 130 . For example, the user inputs setting information to the setting input unit 122 . A 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)。 A method (parameter setting method) implemented in the computer system 100 will be described below. FIG. 3 shows the operation procedure when changing the parameters of the framework part 132 of the container 130 . The user specifies, for example, a service for which the 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 uses the virtual address 113 acquired in step A2 to construct a URL for parameter setting (step A3). Further, the setting input unit 122 adds the parameter input by the user to the URL for setting, and generates the URL for setting including the parameter after setting change (step A4). In step A4, the setting input unit 122 generates, for example, the following URL format request.
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 reflection 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, for example, the setting value of the parameter indicated by the "parameter name" included in the setting URL with the value of the "input data" included in the setting URL. After storing the setting information, the setting reflection function 134 restarts the framework unit 132 (step A7). After restarting, 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 this embodiment, the framework part 132 of the container 130 has a setting reflection function 134 . The parameter setting device 102 acquires the virtual address 113, which is virtual address information of the container 130, from the master node 101, and transmits a request including setting information to the container 130. FIG. In this embodiment, setting information can be transmitted from outside the container 130 to the setting reflection function 134 within 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 reflection function 134, the parameters of the framework unit 132 can be changed.

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

続いて、本開示の第2実施形態を説明する。図4は、本開示の第2実施形態に係るコンピュータシステムを示す。本実施形態では、パラメータ設定装置102aは、アクセス先情報取得部121及び設定入力部122に加えて、パラメータ定義情報格納部151、パラメータ設定解析部152、設定注入部153、設定格納部154、測定結果受信部155、導出部156、及びアプリケーション実行部157を有する。 Next, a second embodiment of the present disclosure will be described. FIG. 4 shows a computer system according to a second embodiment of the present disclosure. In this 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 reception unit 155 , a derivation unit 156 and an application execution unit 157 .

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

パラメータ定義情報格納部(パラメータ定義情報格納手段)151は、フレームワーク部132のパラメータの定義情報(パラメータ定義情報)を記憶する。パラメータ定義情報格納部151には、パラメータの調整において、調整対象となるパラメータに対するパラメータ定義情報が記憶される。図5は、パラメータ定義情報の一例を示す。パラメータ定義情報は、パラメータ名と入力データとの組を含む。パラメータ定義情報は、例えばユーザにより入力される。パラメータ定義情報において、データ範囲などは、例えば正規表現で定義される。 The parameter definition information storage unit (parameter definition information storage means) 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 parameter definition information. The parameter definition information includes pairs of parameter names and input data. Parameter definition information is input by a user, for example. In the parameter definition information, data ranges and the like are defined by regular expressions, for example.

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

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

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

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

以下、動作手順を説明する。図6は、パラメータ定義情報が入力される際の動作手順を示す。ユーザは、パラメータ定義情報格納部151に、パラメータ定義を設定する(ステップB1)。ユーザは、ステップB1では、例えばノード103の動作に影響を与え得るパラメータのパラメータ名と、その範囲などを設定する。 The operation procedure will be described below. FIG. 6 shows an operation procedure when parameter definition information is input. The user sets parameter definitions in the parameter definition information storage unit 151 (step B1). In step B1, the user sets, for example, parameter names of parameters that can affect the operation of the node 103, their ranges, 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 possible input values for setting values (step B2). The setting injection unit 153 stores the possible input values derived in step B2 in the setting storage unit 154 (step B3). At this stage, the 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 the operation procedure during parameter adjustment. After the container image is placed on the node 103, the user can instruct parameter adjustment at any timing. When the user instructs parameter adjustment, the access destination information acquisition unit 121 acquires the management information 112 from the master node 101 (step C1). The access destination information acquisition unit 121 acquires the virtual address 113, the node information 114, and the service URL 115 in step C1. 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 derivation unit 156 performs Bayesian optimization using the setting value and possible input values of the setting value as arguments, and derives the setting value to be investigated (step C3). The derivation unit 156 notifies the setting input unit 122 of the derived setting values. The setting input unit 122 uses the setting URL constructed in step C2 to transmit the setting value derived in step C3 to the setting reflecting function 134 of the framework unit 132 (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 is assigned to the setting reflection function 134. 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 parameter included in the setting URL in the setting information 133 (step C5). After storing the setting information, the setting reflection function 134 restarts the framework unit 132 (step C6). After restarting, the framework unit 132 operates according to the setting information newly stored in the setting information 133 . Steps C5 and C6 may be similar to 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 the service (application) (step C7). At step C7, the application execution unit 157 causes the container 130 to execute the application using the access destination URL of the service constructed at step C2. The application execution unit 157 measures the processing performance index of the container 130 (node 103) (step C8). The application execution unit 157 measures, for example, the execution processing time of the application in step C8.

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

導出部156は、ステップC9で導出した設定値が、前回の設定値と同じであるか否かを判断する(ステップC10)。ステップC10において、導出された設定値が前回の設定値と異なると判断された場合、処理はステップC4に戻り、設定入力部122を通じて、新たな設定値がフレームワーク部132の設定反映機能134に送信される。ステップC4からステップC10の処理は、ステップC10において新たに導出された設定値が前回の設定値と同じであると判断されるまで繰り返し実施される。 The derivation unit 156 determines whether or not 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 sent to the setting reflecting function 134 of the framework unit 132 through the setting input unit 122. sent. The processing from step C4 to step C10 is repeated until it is determined that the newly derived set value is the same as the previous set value at step C10.

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

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

上記各実施形態において、プログラムは、様々なタイプの非一時的なコンピュータ可読媒体を用いて格納され、コンピュータに供給することができる。非一時的なコンピュータ可読媒体は、様々なタイプの実体のある記憶媒体を含む。非一時的なコンピュータ可読媒体の例は、例えばフレキシブルディスク、磁気テープ、又はハードディスクなどの磁気記録媒体、例えば光磁気ディスクなどの光磁気記録媒体、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 and supplied to the computer using various types of non-transitory computer-readable media. Non-transitory computer-readable media include various types of tangible storage media. Examples of non-transitory computer-readable media include magnetic recording media such as flexible disks, magnetic tapes, or hard disks, magneto-optical recording media such as magneto-optical discs, compact discs (CDs), or digital versatile disks (DVDs). and semiconductor memory such as mask ROM (read only memory), PROM (programmable ROM), EPROM (erasable PROM), flash ROM, or RAM (random access memory). The program may also be delivered to the computer using various types of transitory computer readable media. Examples of transitory computer-readable media include electrical signals, optical signals, and electromagnetic waves. Transitory computer-readable media can deliver the program to the computer via wired channels, such as wires and optical fibers, or wireless channels.

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

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

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

[付記2]
前記パラメータ設定装置は、前記管理装置から前記アドレス情報を取得するアクセス先情報取得手段と、前記設定情報を受け付け、該受け付けた設定情報と前記アドレス情報とを組み合わせたリクエストを生成して前記コンテナに送信する設定入力手段とを含む付記1に記載のコンピュータシステム。
[Appendix 2]
The parameter setting device includes access destination information acquisition means for acquiring the address information from the management device; A computer system according to appendix 1, comprising a transmission setting input means.

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

[付記4]
前記管理装置は、更に、前記コンテナが提供するサービスにアクセスするための情報を保持し、
前記パラメータ設定装置は、前記サービスにアクセスするための情報に基づいて前記コンテナが提供するサービスを実行させ、前記サービスの処理性能指標を測定するアプリケーション実行手段と、前記処理性能指標に基づいて、前記コンテナに設定する設定情報を導出するパラメータ導出手段とを含む付記1から3何れか1つに記載のコンピュータシステム。
[Appendix 4]
The management device further holds information for accessing services provided by the container,
The parameter setting device includes application execution means for executing a service provided by the container based on information for accessing the service and measuring a processing performance index of the service; 4. The computer system according to any one of Appendices 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 includes parameter information storage means for storing parameter definition information defining the data range of the setting information;
further comprising parameter setting analysis means for calculating candidates for the setting information based on the parameter definition information;
5. The computer system according to appendix 4, wherein the parameter derivation means derives the setting information from the setting information candidates calculated by the parameter setting analysis means.

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

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

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

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

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

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

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

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

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

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

[付記16]
更に、前記設定情報のデータ範囲を定義するパラメータ定義情報に基づいて前記設定情報の候補を算出し、
前記設定情報の導出では、前記算出された前記設定情報の候補から前記設定情報を導出する付記15に記載のパラメータ設定方法。
[Appendix 16]
Further, calculating candidates for the setting information based on parameter definition information defining a data range of the setting information,
16. The parameter setting method according to appendix 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 appendix 15 or 16, wherein the derivation of the setting information derives the setting information that maximizes the processing performance index.

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

Claims (9)

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

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12346734B2 (en) * 2021-09-22 2025-07-01 Intel Corporation Metrics and security-based accelerator service rescheduling and auto-scaling using a programmable network device

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
JP2020042484A (en) 2020-03-19

Similar Documents

Publication Publication Date Title
US10970057B2 (en) Methods and apparatus to generate a customized application blueprint
US20220329651A1 (en) Apparatus for container orchestration in geographically distributed multi-cloud environment and method using the same
CN104410672B (en) Method for upgrading network function virtualization application, method and device for forwarding service
TWI516059B (en) Setup method and system for client and server environment
US8412810B1 (en) Provisioning and managing a cluster deployed on a cloud
JP6291134B2 (en) Server selection device, server selection method, and server selection program
US8863138B2 (en) Application service performance in cloud computing
KR101614052B1 (en) System and method for configuring cloud computing systems
CN106375101B (en) A life cycle management method and device
EP3270289A2 (en) Container-based multi-tenant computing infrastructure
US20190052551A1 (en) Cloud verification and test automation
CN107590075B (en) A software testing method and device
US20170085419A1 (en) System and method for deploying an application
CN107391239B (en) Scheduling method and device based on container service
US20180212843A1 (en) Cloud system for supporting big data process and operation method thereof
US20170048008A1 (en) Method and apparatus for verification of network service in network function virtualization environment
EP2893443A1 (en) Re-configuration in cloud computing environments
CN111245634A (en) A virtualization management method and device
CN111443985A (en) Method and equipment for instantiating virtual network function
CN110971478B (en) Pressure measurement method, device and computing device for cloud platform service performance
EP3021521A1 (en) A method and system for scaling, telecommunications network and computer program product
US20230353467A1 (en) Methods and apparatus for determining low latency network connectivity in computing systems
US10397071B2 (en) Automated deployment of cloud-hosted, distributed network monitoring agents
WO2019222941A1 (en) Method for evaluating application deployment, apparatus, computer program product, and readable medium
CN114168252A (en) Information processing system and method, network scheme recommendation component and method

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