Arrangement plan calculation device, computer system, and arrangement plan calculation method
The placement plan calculation device integrates multiple engines to generate comprehensive layout plans addressing varied user needs, improving efficiency and adaptability in application program placement and resource allocation.
Patent Information
- Application Number
- JP2023052785
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-29
- Publication Date
- 2024-10-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Creating a single optimization engine that accommodates various user needs for determining application program placement and resource allocation is time-consuming, and using multiple optimization engines only considers individual requests, failing to create a comprehensive placement plan.
A placement plan calculation device and method that utilizes multiple calculation engines to generate placement plans considering various user requests, integrating candidate information from different optimization engines based on management information and target performance, and evaluating candidate placement plans to create a comprehensive layout plan.
Enables the easy creation of a layout plan that considers multiple user requests, optimizing placement and resource allocation across diverse systems, enhancing efficiency and adaptability.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a placement plan calculation device, a computer system, and a placement plan calculation method. [Background technology]
[0002] In hybrid cloud systems and multi-cloud systems, data stored in multiple locations is used for various purposes. In order to improve the efficiency of data usage, it is necessary to determine the location where an application program for using data is placed and the amount of resources to be allocated to the application program, taking into consideration the performance and cost of each location (see Patent Document 1). In recent years, there has also been a strong demand for the use of renewable energy to achieve a carbon-free society, and it is necessary to take into consideration the utilization rate of renewable energy. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] US Patent Application Publication No. 2014 / 0380307 Summary of the Invention [Problem to be solved by the invention]
[0004] There is a problem that a large amount of man-hours are required to create a single optimization engine that is adapted to various user requests as an optimization engine for determining placement plans for application program placement destinations and allocated resource amounts, etc. Furthermore, simply using multiple optimization engines adapted to a single request in combination only calculates multiple optimal plans that take a single request into account, making it difficult to create placement plans that take a number of requests into account.
[0005] An object of the present disclosure is to provide a placement plan calculation device, a computer system, and a placement plan calculation method that are capable of easily creating placement plans that take into account various requests from users. [Means for solving the problem]
[0006] A placement plan calculation device according to one aspect of the present disclosure is a placement plan calculation device that generates placement plan information related to a placement plan for placing data and a processing component that performs processing related to the data in one of a plurality of base systems having a computer, the placement plan correlating the data and the processing component with the base system in which the data and the processing component are to be placed, the placement plan having a memory, a processor, and a plurality of calculation engines executed by the processor, the memory having management information related to each of the plurality of base systems, the plurality of calculation engines having a memory having management information related to each of the plurality of base systems, and a target performance that is a target performance for the processing, and calculating candidate information including candidate placement plans, which are candidates for the placement plan, and an evaluation value that evaluates processing related to the data in the candidate placement plans based on the candidate placement plans, each of the plurality of calculation engines having a plurality of policies that define a calculation method for calculating the candidate information, each of the plurality of calculation engines calculating the candidate information using one or more of the plurality of policies, and the processor executing each of the plurality of calculation engines that have different policies used for calculating the placement plan to calculate the candidate information, and integrating the plurality of candidate information based on the candidate placement plans included in the plurality of calculated candidate information to generate the placement plan information. Effect of the Invention
[0007] According to the present invention, it is possible to easily create a layout plan that takes into account various requests from users. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a diagram illustrating an overall configuration of a computer system according to an embodiment of the present disclosure. [Diagram 2] FIG. 2 illustrates an example of a hardware configuration of each base. [Diagram 3] FIG. 11 is a diagram illustrating an example of a metadata DB. [Figure 4] FIG. 13 illustrates an example of a resource management table. [Diagram 5] FIG. 13 is a diagram illustrating an example of an inter-site network management table. [Figure 6] FIG. 13 illustrates an example of an application management table. [Figure 7] FIG. 13 illustrates an example of a data store management table. [Figure 8] FIG. 13 is a diagram illustrating an example of an optimization engine management table. [Figure 9] 13 is a flowchart illustrating an example of a metadata search process between distributed bases. [Figure 10] FIG. 11 is a diagram for explaining an example of an intra-site metadata search process. [Figure 11] FIG. 11 is a diagram illustrating an example of a distributed base metadata search result. [Figure 12] 11 is a flowchart illustrating an example of an application deployment process. [Figure 13] FIG. 13 is a diagram showing an example of a container data placement plan calculation request screen. [Figure 14] 13 is a flowchart illustrating an example of a placement plan creating process. [Figure 15] FIG. 13 is a diagram showing an example of container data arrangement information. [Figure 16] FIG. 11 is a diagram illustrating an example of a placement plan integration process. [Figure 17] 13A to 13C are diagrams illustrating another example of the placement plan integration process. [Figure 18] FIG. 13 is a diagram showing an example of a presentation screen. [Figure 19] 11 is a flowchart illustrating an example of an application placement correction process. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, the embodiments of the present disclosure will be described with reference to the drawings. Note that the embodiments described below do not limit the disclosure according to the claims, and all of the elements and combinations thereof described in the embodiments are not necessarily essential to the solution of the present disclosure.
[0010] In the following explanation, the processing may be described with the "program" as the subject; however, since a program is executed by a processor (e.g., a CPU (Central Processing Unit)) to perform a specified processing step using storage resources (e.g., memory) and / or a communication interface device (e.g., a NIC (Network Interface Card)) as appropriate, the subject of the processing may also be the processing performed by a processor or a computer having a processor.
[0011] Fig. 1 is a diagram showing the overall configuration of a computer system according to an embodiment of the present disclosure. The computer system shown in Fig. 1 includes an application platform 100, a host 150, and a plurality of bases (base systems) 200. The application platform 100, the host 150, and each of the bases 200 are connected via a network 10 so as to be able to communicate with each other.
[0012] The application platform 100 is a placement plan calculation device that generates placement plan information regarding a placement plan for placing data and processing components related to the data at one of the bases 200. In the placement plan, data and processing components are associated with the bases 200 to which they are to be placed. In this embodiment, the processing components are containers, but may be VMs (virtual machines) or processes. In addition, a placement plan may be created for an execution processor, which is a processor that executes a program, as the processing components. In this embodiment, the program that performs processing related to data includes a first program and a second program, the first program is a data store program (hereinafter abbreviated as data store) that manages data, and the second program is an application program (hereinafter abbreviated as application) that accesses the data store and executes a predetermined process. However, the first and second programs are not limited to this example, and may be applications that perform different processes from each other. For example, the first program may be an application that performs machine learning inference, and the second program may be an application that uses the inference result by the first program to recommend products, services, etc.
[0013] The host 150 is used by a user who uses the computer system. The host 150 has a memory 160 and a CPU 161. The memory 160 stores a client program 162. The CPU 161 reads the client program 162 stored in the memory 160 and executes the read client program 162 to perform client processing. The client processing includes, for example, a process of transmitting to the application platform 100 a request to calculate a container data placement plan, which is a placement plan for containers and data, and a deployment request based on the container data placement plan.
[0014] The base 200 is a base system that is a computer system for storing data and constructing containers to execute processing related to the data. The bases 200 are installed, for example, in geographically separated locations. Furthermore, the bases 200 may be installed across countries. In FIG. 1, three bases 200-1 to 200-3 are shown as the bases 200, but there may be more than one base 200. Note that the base 200-1 is an edge, the base 200-2 is a private cloud, and the base 200-3 is a public cloud, but this is merely an example, and the type of each base 200 is not limited to this example.
[0015] Fig. 2 is a diagram showing an example of a hardware configuration of each base 200. As shown in Fig. 2, the base 200 has one or more compute clusters 30, one or more storage clusters 40, and one or more storage appliances 50 as infrastructure, which is equipment (infrastructure) for storing data and executing predetermined processing. The compute clusters 30, the storage clusters 40, and the storage appliances 50 are connected to each other via a LAN (Local Area Network) 21 and a SAN (Storage Area Network) 22 so as to be able to communicate with each other.
[0016] The compute cluster 30 is a collection of compute nodes 300 and includes one or more compute nodes 300 .
[0017] The compute node 300 is a computer node that executes an application to perform a predetermined process. In this embodiment, the compute node 300 is realized by a general-purpose computer system, but may be realized by a dedicated device. The compute node 300 has a CPU 301, a memory 302, a disk 303, a power meter 304, a NIC (Network Interface Card) 305, and a storage I / F 306, which are connected to each other via a bus 307 so as to be able to communicate with each other. The CPU 301 reads a program recorded in the memory 302, executes the read program, and performs various processes. The memory 302 stores a program that specifies the operation of the CPU 301, and various information used or generated by the program. The disk 303 is a secondary storage device. The power meter 304 measures the power consumption of the node itself. The NIC 305 is an interface for communicating with other devices via the LAN 21. The storage I / F 306 is an interface for communicating with the storage appliance 50 via the SAN 22.
[0018] The storage cluster 40 is a collection of storage nodes 400 and includes one or more storage nodes 400 .
[0019] The storage node 400 is a computer node that manages data by executing a data store program (hereinafter, abbreviated as data store). In this embodiment, the storage node 400 is realized by a general-purpose computer system, but may be realized by a dedicated device. The storage node 400 has a CPU 401, a memory 402, a disk 403, a power meter 404, and a NIC 405, which are connected to each other via a bus 407 so as to be able to communicate with each other. The CPU 401 reads a program recorded in the memory 402, executes the read program, and performs various processes. The memory 402 stores a program that specifies the operation of the CPU 401, and various information used or generated by the program. The disk 403 is a secondary storage device. The power meter 404 measures the power consumption of the node itself. The NIC 405 is an interface for communicating with other devices via the LAN 21.
[0020] The storage appliance 50 is a computer node (storage device) having a plurality of disks 503 for storing data and a storage controller 500 for reading and writing data from and to the disks 503. The storage appliance 50 may be a block storage, a file storage, an object storage, or a combination thereof. The storage controller 500 has a CPU 501, a memory 502, a power meter 504, a NIC 505, a host I / F 506, and an IOI / F 508, which are connected to each other via a bus 507 so as to be able to communicate with each other. The CPU 501 reads a program stored in the memory 502, executes the read program, and performs various processes. The memory 502 stores a program that specifies the operation of the CPU 501, and various information used or generated by the program. The power meter 504 measures the power consumption of the node itself. The NIC 405 is an interface for communicating with other devices via the LAN 21. The host I / F 506 is an interface for communicating with the compute cluster 30 via the SAN 22. The IOI / F 508 is an interface for communicating with the disk 503.
[0021] It is also possible to configure the system such that the compute cluster 30 and the storage cluster 40 are not differentiated and the same cluster executes both applications and data stores.
[0022] As shown in FIG. 1, the memories 302, 402, and 502 of the compute node 300, the storage node 400, and the storage appliance 50 store a deployment control program 211, an execution platform program 212, and a power consumption measurement program 213. The memory of the compute node 300 further stores a plurality of apps (applications) 251 in addition to these programs (211 to 213), the memories 402 and 502 of the storage node 400 and the storage appliance 50 store an inter-site data control program 214 and a metadata management program 215 in addition to these programs (211 to 213), and the memory 502 further stores a plurality of data stores 252. For each site, a metadata DB 600 is stored in one of the memories of the site. In FIG. 1, the programs and information are shown without distinguishing between the memories 302, 402, and 502.
[0023] The deployment control program 211 executes the deployment of the application 251 and the data store 252 on the container in accordance with a deployment request based on the container data placement plan. The execution platform program 212 builds containers for the application 251 and the data store 252 in accordance with the deployment request. The execution platform program 212 also allocates hardware resources (HW resources) to the application 251 and the data store 252 in accordance with the deployment request, and acquires hardware metrics and execution logs.
[0024] The power consumption measurement program 213 measures the power consumption of its own node using a power meter 304, 404, or 504. The inter-site data control program 214 moves (migrates) data between sites 200 in accordance with a data movement request based on a container data placement plan. The metadata management program 215 provides an inter-site search function of the metadata DB to search for data between sites.
[0025] The metadata DB 600 is a collection of metadata about the data stored on the disks 403 and 503 of the storage cluster 40 and the storage appliance 50 .
[0026] Fig. 3 is a diagram showing an example of the metadata DB 600. In this embodiment, the metadata DB 600 is stored for each base 200 as described above, but this is not limiting and may be stored for each infrastructure, for example. Also, Fig. 3 shows an example of the metadata DB 600 in the base 200-1.
[0027] The metadata DB 600 shown in FIG. 3 has fields 601 to 610. The field 601 stores an infrastructure ID, which is identification information for identifying an infrastructure. Here, the infrastructure is the storage cluster 40 and the storage appliance 50. The field 602 stores a data store ID, which is identification information for identifying a data store that manages data. The field 603 stores a data ID, which is identification information for identifying data. The field 604 stores a type of data. In this embodiment, the type of data is "Original" indicating original data, "Snapshot" indicating a snapshot of original data in the same base, or "Replica" indicating replicated data that is a snapshot of original data in another base. When the type of data is "Snapshot" or "Replica", the field 605 stores a snapshot date and time that is the date and time when the snapshot was acquired.
[0028] Field 606 stores path information, which is storage destination information indicating the storage destination where data is stored. However, the storage destination information is not limited to path information and may differ depending on the type of storage destination. For example, the storage destination information may be a volume identifier when the storage destination is a block storage, or a URI (Uniform Resource Identifier) when the storage destination is an object storage. The storage destination may also be a URL (Uniform Resource Name) or a table name of a database. Field 607 stores the size of data. Field 608 stores a base ID, which is identification information for identifying the base of the replica source of the data (replica data), when the type of data is "Replica". Fields 609 and 610 store constraint information related to data movement. Specifically, field 609 stores domestic movement availability information indicating whether or not data movement to another base within a country is permitted, and field 610 stores overseas movement availability information indicating whether or not data movement to another base outside a country is permitted. The domestic movement availability information and domestic movement availability information indicate "available" when movement is permitted, and indicate "not permitted" when movement is not permitted.
[0029] Note that the metadata DB 600 may have fields for storing other information in addition to the fields 601 to 610, such as a field for storing a label indicating the content of data as information used to search for metadata.
[0030] Returning to the explanation of Fig. 1, the application platform 100 has a memory 110 that stores various programs and information, and a CPU 120 that is a processor that reads the programs stored in the memory 110 and executes the read programs to realize various functions.
[0031] In this embodiment, the memory 110 stores a placement optimization program 111, a metadata management program 112, a resource management table 700, an inter-site network management table 800, an application management table 900, a data store management table 1000, a plurality of optimization engines 1100, an optimization engine management table 1200, and container data placement information 3000.
[0032] The placement optimization program 111 is a program for generating container data placement information 3000, which is placement plan information related to a container data placement plan, using the optimization engine 1100. The placement optimization program 111 can also present the container data placement information 3000 to a user via the host 150, and can place data and containers in accordance with the container data placement information 3000 by transmitting a deployment request and a data movement request based on the container data placement information 3000 to each base 200.
[0033] The metadata management program 112 is a program for managing metadata related to data that is distributed and managed at each of the bases 200. A resource management table 700, an inter-base network management table 800, an application management table 900, and a data store management table 1000 are management information related to each of the bases 200.
[0034] The optimization engine 1100 is a calculation engine that calculates candidate information including a candidate placement plan, which is a candidate for a container data placement plan, based on management information and metadata managed by the distributed metadata management process 113. The candidate information is information used to generate the container data placement information 3000 in the placement optimization program 111, and specifically includes the candidate placement plan and an evaluation value that evaluates the performance of the processing of the application 151 and the data store 152 according to the candidate placement plan. The type of evaluation value differs depending on an optimization policy, which will be described later. The optimization engine 1100 is constructed based on a technique such as mathematical optimization or machine learning, for example. The optimization engine management table 1200 is information for managing the optimization engine 1100.
[0035] 4 is a diagram showing an example of the resource management table 700. The resource management table 700 is information for managing HW resource information related to hardware resources of each base 200 and power resource information related to the power situation in each base 200, and has fields 701-715.
[0036] The field 701 stores a location ID that is identification information for identifying the location 200. The field 702 stores a country code that indicates the country in which the location 200 is located.
[0037] Fields 703 to 711 store HW resource information. Specifically, field 703 stores an infrastructure ID that identifies the infrastructure installed in the base 200. Fields 704 to 709 store information indicating HW resources possessed by the infrastructure. Specifically, field 704 stores a total number of cores, which is the sum of the number of CPU cores possessed by computer nodes in the infrastructure. Field 705 stores a total capacity, which is the sum of the memory capacities possessed by computer nodes in the infrastructure. Field 706 stores a usage rate of the CPU possessed by computer nodes in the infrastructure. Field 706 stores a usage rate of the memory possessed by computer nodes in the infrastructure. Field 708 stores a node core number, which is the number of cores per computer node in the infrastructure. Field 709 stores a node memory capacity, which is the memory capacity per computer node in the infrastructure. In this embodiment, the number of CPU cores and the memory capacity are the same for each computer node.
[0038] Field 710 stores a node cost, which is the cost borne by the user per computer node. In this embodiment, a node cost is provided to the user for each computer node. Field 711 stores a data transfer cost, which is the cost related to data transfer within the base 200. Field 712 stores the ratio of the time that the infrastructure can actually continue to operate to the total operating time as availability.
[0039] Fields 713 to 715 store power resource information. Specifically, field 713 stores a power renewable energy rate (power renewable energy rate) which is a ratio of a usable renewable energy amount (usable renewable energy amount), which is the amount of power from renewable energy usable at site 200, to the total amount of power usable at site 200. Field 714 stores the current amount of power usage at site 200. Field 715 stores power cost, which is the cost related to the use of power. Note that, in the case where the usable renewable energy amount is determined at site 200 instead of the power renewable energy rate, the information may be held in resource management table 700.
[0040] The power cost may be divided into a cost based on the amount of power generated by renewable energy and a cost based on the amount of power generated by other sources. Only one of the available amount of renewable energy and the renewable energy rate in the power may be stored. Depending on the base 200, the available amount of renewable energy may be determined, or the renewable energy rate in the power may be determined. Also, there may be cases where neither the available amount of renewable energy nor the renewable energy rate in the power is determined.
[0041] In addition, the resource management table 700 may include power forecast information indicating a predicted value of the future available amount of renewable energy or the current renewable energy rate in power, instead of or in addition to the current available amount of renewable energy or the current renewable energy rate in power.
[0042] 5 is a diagram showing an example of an inter-site network management table 800. The inter-site network management table 800 is information relating to communications between the sites 200, and includes a network bandwidth management table 810, a network latency management table 820, and a network transfer charge management table 830.
[0043] A network bandwidth management table 810 indicates the network bandwidth between a source location 811, which is the location 200 from which data is transferred, and a destination location 812, which is the destination of the data, for each combination of locations 200 (location ID).
[0044] The network latency management table 820 indicates the network latency, which is the latency between a source location 811 and a destination location 812, for each combination of locations 200.
[0045] The network transfer charge management table 830 indicates the transfer volume charge, which is the fee related to the communication between the transfer source location 811 and the transfer destination location 812, for each combination of locations 200.
[0046] 6 is a diagram showing an example of the application management table 900. The application management table 900 has fields 901 to 903. The field 901 stores an application ID that is identification information for identifying the application 251. The field 902 stores explanatory information that indicates the content of the process performed by the application 251. The field 903 stores the location ID of an execution-prohibited location that is a location 200 at which execution of the application 251 is not permitted.
[0047] 7 is a diagram showing an example of a data store management table 1000. The data store management table 1000 is information for managing the data store 252, and has fields 1001 and 1002. Field 1001 stores a data store ID, which is identification information for identifying the data store 252. Field 1002 stores, as the type of data store 252, the type of storage that the data store 252 supports.
[0048] 8 is a diagram showing an example of the optimization engine management table 1200. The optimization engine management table 1200 is information for managing the optimization engine 1100, and includes fields 1201-1204.
[0049] The field 1201 stores an optimization engine ID, which is identification information for identifying the optimization engine 1100. The field 1202 stores support policy information indicating one or more optimization policies supported by the optimization engine 1100. The optimization policy is a policy that defines a calculation method (optimization method) for calculating a candidate placement plan that is a candidate for a container data placement plan. In this embodiment, the optimization policy is distinguished by a performance index to be optimized (for example, minimized or maximized) regarding the processing by the application 151. The performance index is an index indicating the performance regarding the processing by the application 151, and is, for example, application performance (processing speed, etc.), which is the performance of the application itself, execution cost related to execution during processing, availability of the processing, and renewable energy rate in power related to the processing (renewable energy rate) or power consumption. In the example of FIG. 8, the support policy information indicates "◯" for each optimization policy if the optimization policy is supported, and indicates "×" if the optimization policy is not supported.
[0050] Note that the optimization engine 1100 may support a plurality of optimization policies, and there may be a plurality of optimization engines 1100 supporting the same optimization policy.
[0051] The field 1203 stores support use case information indicating use cases supported by the optimization engine 1100. The use case is an application for using the base 200. In this embodiment, the use cases include "secondary use" in which data generated by the application 251 in the cloud (such as the bases 200-2 and 200-3) is used in another application, "cloud migration" in which data generated by the application 251 in the local (base 200-1) is migrated to the cloud, and "DR (Disaster Recovery)" in which data is restored at another base 200 when the use of the base 200 becomes difficult due to a disaster or the like, but the use cases are not limited to these examples. In the example of FIG. 8, the support use case information indicates "◯" for each use case when the use case is supported, and indicates "×" when the use case is not supported. The field 1204 stores path information indicating a storage location where the optimization engine 1100 is stored.
[0052] Note that the optimization engine 1100 may support multiple optimization policies and may support multiple use cases. Also, there may be multiple optimization engines 1100 supporting the same optimization policy, and there may be multiple optimization engines 1100 supporting the same use case.
[0053] 9 is a flowchart for explaining an example of metadata search processing between distributed sites by the metadata management program 112 of the application platform 100. The metadata search processing between distributed sites is executed, for example, when a metadata search request is received from a user via the client program 162 of the host 150.
[0054] In the distributed site metadata search process, first, the metadata management program 112 issues a search query of the metadata DB 600 to each site 200 (step S401). After that, the metadata management program 112 receives search results corresponding to the search query from each site 200 (step S402). The metadata management program 112 creates a distributed site metadata search result that aggregates the search results from each site 200, responds to the user via the client program 162 of the host 150 (step S403), and ends the process. The distributed site metadata search result may be recorded in the memory 110 of the application platform 100, etc.
[0055] 10 is a diagram for explaining an example of an intra-site metadata search process which is a process on the side receiving the search query in step S401. The intra-site metadata search process is executed, for example, when a search query is received by the metadata management program 215 of one of the computer nodes in the site 200 (such as the computer node that holds the metadata DB 600).
[0056] In the intra-site metadata search process, the metadata management program 215 searches the metadata DB 600 in its own site for records corresponding to the search query (step S451). The metadata management program 215 deletes from the searched records those records to which the searcher user does not have access rights (step S452). The metadata management program 215 creates the remaining records that have not been deleted as search results for the search query, responds to the storage appliance 50 (step S453), and ends the process. Note that the access rights are managed, for example, by each site 200.
[0057] 11 is a diagram for explaining an example of a distributed base metadata search result 650 shown in FIG.
[0058] Field 651 stores a data ID for identifying the data. Field 652 stores a snapshot date and time of the data. Field 652 stores the size of the data. Field 654 stores information on whether the data can be moved domestically. Field 655 stores information on whether the data can be moved overseas. Field 656 stores a location ID indicating the location where the data is stored. Field 657 stores a data store ID that identifies the data store corresponding to the data. Field 658 stores an infrastructure ID that identifies the infrastructure that runs the data store corresponding to the data. Field 659 stores the type of data. Field 660 stores path information for the data.
[0059] FIG. 12 is a flowchart illustrating an example of an application deployment process for deploying the application 151 and the data store 152.
[0060] In the application deployment process, first, the client program 162 of the host 150 accepts deployment conditions, which are conditions for deploying the application 151 and the data store 152, from the user, and creates a calculation request for a container and data placement plan according to the deployment conditions (step S501). The client program 162 transmits the created calculation request to the application platform 100 (step S502).
[0061] The placement optimization program 111 of the application platform 100 receives the calculation request, creates container data placement information 3000 based on the calculation request, stores it in the memory 110, and executes a placement plan creation process (see FIG. 14) that returns the information to the host 150 (step S503).
[0062] The client program 162 of the host 150 receives the container data placement information 3000 and displays (presents) the container data placement information 3000. After that, when the client program 162 receives information indicating that the container data placement information 3000 is approved, it transmits a deployment request to the application platform 100 requesting deployment based on the container data placement information 3000 (step S504). Note that if the container data placement plan is not approved, the client program 162 returns to the processing of step S501.
[0063] When the placement optimization program 111 of the application platform 100 receives the deployment request, it transmits a data movement request based on the container data placement information 3000 to the source base of the data transfer, and transfers the data to the destination base (step S505). For example, the placement optimization program 111 transmits a data movement request to the inter-base data control program 214 of the storage node 400 that executes the data store 252 corresponding to the data to be transferred in the source base 200 of the data transfer, thereby causing the inter-base data control program 214 to transfer the data.
[0064] The placement optimization program 111 creates a setting file (e.g., a container manifest file) related to the resource allocation amount of the HW resources for the application 151 and the data store 152 in accordance with the deployment request (step S506). The placement optimization program 111 transmits the deployment request including the setting file to the placement base indicated in the container / data placement plan (step S507), and ends the process.
[0065] FIG. 13 is a diagram showing an example of a container data placement plan calculation request screen for allowing a user to input deployment conditions.
[0066] The container data placement plan calculation request screen 1900 shown in FIG. 13 has a use case selection field 1910, an application selection field 1920, a data selection field 1930, a KPI (Key Performance Indicator) input field 1940, an execution date and time input field 1950, and a send button 1960.
[0067] The use case selection field 1910 is an interface for specifying a use case, which is an application for which the base 200 is used. The application selection field 1920 is an interface for specifying an application 151 to be placed in a container. The data selection field 1930 is an interface for specifying data to be used in the target application 151, and has a list 1931 showing a list of data to be used, and an add button 1932 for adding data to be used.
[0068] The application selection field 1920 and the data selection field 1930 may be changed according to the use case specified in the use case selection field 1910. For example, when "cloud migration" is specified as the use case, the application selection field 1920 may be an interface for selecting a running container, and the corresponding application and data may be identified from information on the running container.
[0069] The KPI input field 1940 is an interface for specifying a KPI, which is a target performance to be a target of a container data placement plan to be created, and includes a selection field 1941 for specifying a KPI type, an input field 1942 for specifying a KPI value of the type selected in the selection field 1941, an add button 1943 for adding a type of KPI to be specified, and a method selection field 1944 for specifying an optimization policy. The KPI types are, for example, application performance, reliability, cost required during execution, and power required during execution. The optimization policy indicates, for example, maximization of the regenerative energy rate in power, maximization of the amount of available regenerative energy, minimization of power costs, etc.
[0070] The execution date and time input field 1950 is an interface for specifying the deployment timing for executing the deployment, and in the illustrated example, the current time (now) and any date and time can be selected. The send button 1960 is a button for sending the specified deployment conditions. The deployment conditions include the specified information (use case, application, data, KPI, optimization policy, and deployment timing) that is the information specified on the container data placement plan calculation request screen 1900.
[0071] FIG. 14 is a flowchart for explaining an example of the placement plan creating process in step S503 of FIG.
[0072] In the placement plan creation process, the placement optimization program 111 judges whether the application to be calculated for the container data placement plan is single based on the use case and application included as deployment conditions in the calculation request (step S601). If there are multiple applications to be calculated (step S601: No), the placement optimization program 111 selects one of the multiple applications to be calculated (step S602). For example, the placement optimization program 111 determines the application that has the greatest impact on the KPI among the applications to be calculated that have not yet been selected based on the execution log of the application to be calculated, and selects it as the application to be placed (step S602). Note that if there is only one application to be calculated (step S601: No), the process of step S602 is skipped.
[0073] Next, the placement optimization program 111 selects, as target engines, a plurality of optimization engines to be used for calculating a container data placement plan from among the optimization engines 1100 stored in the memory 110, based on the designated use case and designated policy, which are the use case and optimization policy included as deployment conditions in the calculation request, and the optimization engine management table 1200 (step S603). Specifically, the placement optimization program 111 selects, as target engines, a plurality of optimization engines supporting the designated policy from among the optimization engines supporting the designated use case. Here, it is assumed that there are a plurality of designated policies. In this case, the placement optimization program selects, as target engines, a plurality of optimization engines 1100 supporting each of the plurality of designated policies. For example, when the designated use case is "secondary use" and the designated KPIs are "application performance" and "cost", the placement optimization program 111 selects, as target engines, an optimization engine 1100 supporting the KPI of "application performance" and an optimization engine 1100 supporting the KPI of "cost" from among the optimization engines 1100 supporting the use case of "secondary use".
[0074] The placement optimization program 111 generates input information to be input to each target engine based on the resource management table 700, the distributed base metadata search result 650, the application management table 900, and the data store management table 1000 (step S604). The input information is, for example, the amount of surplus resources and surplus power remaining (unused) at each base 200, the amount of resources and power consumption already consumed by applications and data stores, and constraint information related to the movement of applications and data, but is not limited to these examples.
[0075] The placement optimization program 111 inputs the input information and the KPI included in the calculation request as a deployment condition to each of the target engines, causes each of the target engines to calculate candidate information, and selects multiple pieces of target candidate information from the candidate information (see FIG. 15) based on a predetermined condition (step S605). Here, the placement optimization program 111 causes multiple pieces of candidate information to be calculated for each of the target engines, and further selects a predetermined number of pieces of candidate information with the highest evaluation value from the candidate information for each of the target engines as target candidate information.
[0076] Then, the placement optimization program 111 executes a placement plan integration process (see Figures 16 and 17) to generate container data placement information 3000 by integrating target candidate information of different target engines based on the candidate placement plans contained in the target candidate information (step S606).
[0077] The placement optimization program 111 calculates a load evaluation value that evaluates the load associated with placing data and containers according to the container data placement information 3000 based on the container data placement information 3000 and management information, and adds the load evaluation value to the container data placement plan (step S607). In this embodiment, the load evaluation value is the migration time and migration cost associated with placing the data and containers, but is not limited to this example. For example, the load evaluation value may be either the migration time or the migration cost, or may be other information such as the amount of power associated with placing the data and containers.
[0078] The placement optimization program 111 judges whether the application to be calculated is single or not (step S608). If the application to be calculated is multiple (step S608: No), the placement optimization program 111 judges whether the KPI, which is the target performance of the candidate placement plan based on the integrated information, has been achieved or not (step S609). If the KPI has not been achieved (step S609: No), the placement optimization program 111 returns to the process of step S603 and selects the application with the next largest impact.
[0079] If the calculation target application is a single application (step S608: Yes) and if the KPI is achieved (step S609: Yes), the placement optimization program 111 ends the process.
[0080] 15 is a diagram showing an example of candidate information 2000. The candidate information 2000 shown in FIG.
[0081] The container placement plan 2010 is information indicating the placement destination where the container is to be placed, and includes fields 2011 to 2013. Field 2011 stores a container ID which is identification information for identifying a container. Field 2012 stores a base ID which identifies a placement base (placement base system) which is the base 200 where the container is to be placed. Field 2013 stores an infrastructure ID which identifies a placement infrastructure which is the infrastructure where the container is to be placed.
[0082] The container allocation resource plan 2020 is information indicating the amount of allocated resources to be allocated to a container, and in the illustrated example, includes fields 2021 and 2022. The field 2021 stores the number of CPU cores to be allocated to the container. The field 2022 stores the memory capacity to be allocated to the container. The container allocation resource plan 2020 may include a field for storing the amount of allocated resources related to other hardware resources.
[0083] The data placement plan 2030 is information indicating the placement destination where data is placed, and includes fields 2031 to 2034. Field 2031 stores a data ID that identifies the data. Field 2032 stores a base ID that identifies the placement base, which is the base 200 where the data is stored. In this embodiment, the placement base of the container and the placement base of the data are the same. Field 2033 stores an infrastructure ID that identifies a placement infrastructure that is an infrastructure that stores the data. Field 2034 stores a data store ID that identifies a placement data store that is a data store for reading and writing data. Note that the data placement plan 2030 may further include a field for storing an infrastructure ID that identifies the infrastructure that executes the data store.
[0084] The data store allocation resource plan 2040 is information indicating the amount of allocated resources to be allocated to the data store, and in the example shown in the figure includes fields 2041 and 2042. Field 2041 stores the number of CPU cores to be allocated to the data store. Field 2042 stores the memory capacity to be allocated to the data store. The data store allocation resource plan 2040 may also include fields that store the amount of allocated resources related to other hardware resources.
[0085] The runtime information estimate 2050 is information indicating an evaluation value of the performance of the processing of the application 151 and the data store 152 according to a candidate placement plan, and is used to assist the user in determining the validity of the container / data placement plan.
[0086] In the example of FIG. 15, the execution time information estimate 2050 has fields 2051 to 2058 that store different types of evaluation values. Specifically, the field 2051 stores the execution time of the process by the application 151. The field 2052 stores the execution cost of the application 251. The field 2053 stores the availability at the time of execution of the application 251. The field 2054 stores a renewable energy rate (renewable energy rate) that is a ratio of the amount of power from renewable energy in the amount of power consumption due to the execution of the application 251. The field 2055 stores the amount of power consumption due to the execution of the application 251. The field 2056 stores the amount of CO2 emission due to the execution of the application 251. Note that the amount of CO2 emission can be calculated, for example, from the amount of power from energy other than renewable energy in the amount of power consumption due to the execution of the application 251. The field 2057 stores the data transfer time required for transition to the arrangement. The field 2058 stores the data transfer cost required for transition to the arrangement.
[0087] As described above, the evaluation value stored in the execution time information estimate 2050 varies depending on the optimization policy supported by the optimization engine 1100. In the example of Fig. 15, the execution time information estimate 2050 stores only the execution time as the evaluation value.
[0088] Fig. 16 and Fig. 17 are diagrams showing an example of the placement plan integration process in step S606 in Fig. 14. In the placement plan integration process, the placement optimization program 111 integrates multiple pieces of candidate placement plans in which at least a portion of the candidate placement plans match (are common). The example in Fig. 16 is an example of integrating candidate information in which all of the candidate placement plans match, and the example in Fig. 17 is an example of integrating candidate information in which some of the candidate placement plans match. Candidate information with no match (e.g., plan 2000-A2, etc.) may be discarded.
[0089] 16 shows an example of integrating a plurality of pieces of candidate information (proposal 2000-A1, A2, ...) calculated by the optimization engine 1100-A with a plurality of pieces of candidate information (proposal 2000-B1, B2, ...) calculated by the optimization engine 1100-B. The optimization engine 1100-A is an optimization engine that supports "application performance" as a performance index as an optimization policy, and the optimization engine 1100-B is an optimization engine that supports "power consumption" as a performance index as an optimization policy. In addition, the candidate information calculated by the optimization engine 1100-A includes execution time 3051 as an evaluation value, and the candidate information calculated by the optimization engine 1100-B includes power consumption 3055.
[0090] In the example of FIG. 16, among the candidate information of each of the optimization engines 1100-A and 1100-B, there exists candidate information (plans 2000-A1 and B1 and 2000-A3 and B3) in which the container placement plan 2010, the container allocation resource plan 2020, the data placement plan 2030, and the data store allocation resource plan 2040 all match. In this case, the placement optimization program 111 generates integrated information (plans 2000-A1 / B1 and A3 / B3) by integrating the candidate information in which all of the candidate information matches. At that time, the placement optimization program 111 adds both evaluation values included in each of the candidate information before integration to the integrated information. Therefore, for example, the integrated information (plan 2000-A1 / B1) includes both the execution time 3051 and the power consumption 3055.
[0091] 17 shows an example of integrating candidate information (proposal 2000-C1) calculated by the optimization engine 1100-C and candidate information (proposal 2000-D1) calculated by the optimization engine 1100-D. The optimization engine 1100-C is an optimization engine that supports "application performance" as a performance index as an optimization policy, and the optimization engine 1100-D is an optimization engine that supports "power consumption" as a performance index as an optimization policy. In addition, the candidate information calculated by the optimization engine 1100-C includes execution time 3051 as an evaluation value, and the candidate information calculated by the optimization engine 1100-D includes power consumption 3055.
[0092] 17, among the candidate information of the optimization engines 1100-C1 and 1100-D1, the container placement plan 2010 and the data placement plan 2030 match, and the container allocation resource plan 2020 and the data store allocation resource plan 2040 differ. Even in this case, the placement optimization program 111 generates integrated information that integrates these pieces of candidate information.
[0093] At that time, the placement optimization program 111 adds to the integrated information a corrected evaluation value obtained by correcting the evaluation value included in the candidate information based on the amount of allocated resources included in each of the candidate information. For example, the placement optimization program 111 searches for a set of candidate information in which one plan has a larger amount of allocated resources than the other plan for all HW resource types included in the container allocation resource plan 2020 and the data store allocation resource plan 2040. Then, the placement optimization program 111 incorporates the execution time 3051 from a plan with a small amount of resource allocation to a plan with a large amount of resource allocation, and incorporates the power consumption 3055 from a plan with a large amount of resource allocation to a plan with a small amount of resource allocation. At that time, the placement optimization program 111 corrects the power consumption 3055 of the plan incorporating the execution time 3051 to the maximum power consumption, and corrects the execution time 3051 of the plan incorporating the power consumption 3055 to the maximum execution time. This utilizes the property that performance increases when the amount of HW resources increases, or that power consumption increases when the amount of HW resources used increases.
[0094] 18 is a diagram showing an example of a presentation screen for presenting to a user the integrated information, that is, container data placement information 3000. The presentation screen 2300 shown in FIG.
[0095] The placement plan comparison table 2310 shows a list of container data placement information 3000, and includes fields 2311 and 2320. The field 2311 stores a name for identifying the container data placement information 3000. The field 2320 is information for supporting a user in determining the validity of the container data placement information 3000, and stores estimate information corresponding to the execution time information estimate 2050 included in the container data placement information 3000. The estimate information may be the execution time information estimate 2050 itself, or may be information obtained by processing the execution time information estimate 2050 in consideration of user visibility, etc. Examples of processing the execution time information estimate 2050 include temporary deletion of items, calculation of cost statistics (e.g., totals, etc.) such as the execution cost 3052 and the data transfer cost 3058, etc. In the example of FIG. 18, the field 2320 includes fields 2321 to 2325 for storing the execution time, execution cost, renewable energy rate, data transfer time, and data transfer cost, respectively.
[0096] The placement plan details table 2330 shows placement plan information indicating the container data placement information 3000 as details of the placement plan selected in the placement plan comparison table 2310. The placement plan details table 2330 may be the container data placement information 3000 itself, or may be information obtained by processing the container data placement information 3000 in consideration of user visibility, etc.
[0097] The KPI relationship graph 2340 visualizes the relationship between KPIs by plotting the evaluation values of each layout plan with the KPIs specified by the user on the vertical and horizontal axes. Note that the user may specify one KPI or three or more KPIs.
[0098] FIG. 19 is a flowchart illustrating an example of an application placement modification process for modifying the deployed application 151 and data store 152.
[0099] The app placement correction process is executed when certain conditions are met (for example, when it is detected that a KPI has not been achieved based on performance information, cost information, and power information of apps and data stores collected from each location, when it is detected that an app's performance has decreased or stopped due to a failure, and when it is configured to periodically calculate suggested app placement corrections).
[0100] In the application placement modification process, first, the placement optimization program 111 generates container data placement information as a modification proposal for an application to be modified based on the KPI set at the time of deployment (step S701). At this time, the placement optimization program 111 may, for example, change the surplus amount of HW resources of each base 200 or change the formula or parameters used by the optimization engine 1100, compared to when the container data placement information 3000 was initially created.
[0101] The placement optimization program 111 checks whether automatic correction of container data placement is permitted (step S702). Note that whether automatic correction is permitted is set in advance by, for example, a user.
[0102] If automatic correction is not permitted (step S702: No), the placement optimization program 111 transmits the generated modification proposal to the host 150 and inquires of the user whether or not to permit deployment based on the modification proposal (step S703). Here, it is assumed that deployment is permitted. In this case, the client program 162 of the host 150 transmits a deployment request to the application platform 100, requesting deployment based on the modification proposal. Also, if automatic correction is permitted (step S702: Yes), the placement optimization program 111 skips the processing of step S703.
[0103] Thereafter, the processes of steps S505 to S507 of the application deployment process described with reference to FIG. 12 are executed.
[0104] As described above, according to this embodiment, the placement optimization program 111 executes each of the multiple optimization engines 1100, which use different policies to calculate placement plans for data and containers, to calculate candidate information including candidate plans that are placement plan candidates and evaluation values that evaluate data-related processing in the candidate plans, and generates data container placement plan information by integrating the multiple candidate information based on the candidate placement plans included in the multiple calculated candidate information. Therefore, since data container placement information that takes into account various user requests can be generated using the multiple optimization engines 1100, it becomes possible to easily create placement plans that take into account various user requests.
[0105] In addition, in this embodiment, the placement optimization program 111 executes the optimization engine 1100 that supports each of the specified optimization policies as a target engine, thereby making it possible to more appropriately consider various user requests.
[0106] In addition, in this embodiment, the placement optimization program 111 executes the optimization engine 1100 that supports both the specified optimization policy and use case as the target engine, which makes it possible to more appropriately consider various requests from users.
[0107] In addition, in this embodiment, the placement optimization program 111 integrates multiple pieces of candidate information in which at least a part of the candidate placement plans are common to each other. More specifically, the placement optimization program 111 integrates multiple pieces of candidate information in which the placement bases are common to each other. In this case, it is possible to appropriately integrate the candidate information.
[0108] In this embodiment, when there are multiple pieces of candidate information that have both a common placement base and a common amount of allocated resources, the placement optimization program 111 generates data container placement information including an evaluation value included in each piece of candidate information. When there are multiple pieces of candidate information that have a common placement base and different amounts of allocated resources, the placement optimization program 111 generates integrated information including a corrected evaluation value obtained by correcting the multiple evaluation values included in each piece of candidate information based on the amount of allocated resources included in each piece of candidate information. Therefore, it becomes possible to present an evaluation value that appropriately evaluates the data container placement plan.
[0109] In this embodiment, the placement optimization program 111 adds a load evaluation value, which evaluates the load involved in placing data and containers according to the data container placement plan information, to the data container placement plan information based on the data container placement plan information and management information. The load evaluation value includes, for example, at least one of the migration time and migration cost involved in placing the data and containers. In this case, it becomes possible for the user to more appropriately determine whether the data container placement plan is appropriate.
[0110] The placement optimization program 111 places data and containers according to the data container placement plan, and when a predetermined condition is met, modifies the data container placement plan and relocates the data and containers according to the modified data container placement plan. In this case, appropriate placement is possible.
[0111] The above-described embodiments of the present disclosure are illustrative examples of the present disclosure, and are not intended to limit the scope of the present disclosure to only these embodiments. A person skilled in the art can implement the present disclosure in various other forms without departing from the scope of the present disclosure. [Explanation of symbols]
[0112] 10:Network 30:Compute cluster 40:Storage cluster 50:Storage appliance 100:Application platform 110:Memory 111:Layout optimization program 112:Metadata management program 113:Distributed metadata management process 120:CPU 150:Host 151:Application 152:Data store 160:Memory 161:CPU 162:Client program 200:Base 200:Base 211:Deployment control program 212:Execution platform program 213:Power consumption measurement program 214:Inter-base data control program 215:Metadata management program 251:Application 252:Data store 300:Compute node 301:CPU 302:Memory 303:Disk 304:Power meter 306:Storage I / F 307:Bus 400:Storage node 401:CPU 402:Memory 403: Disk 404: Power meter 407: Bus 500: Storage controller 501: CPU 502: Memory 503: Disk 504: Power meter 506: Host I / F 507: Bus
Claims
1. 1. A placement plan calculation device that generates placement plan information regarding a placement plan for placing data and a processing component that performs processing on the data in any one of a plurality of base systems having a computer, the placement plan calculation device comprising: the placement plan associates the data and the processing components with the base system in which they are to be placed; Memory, A processor; a plurality of computation engines executing on the processor; the memory has management information relating to each of the plurality of base systems; the plurality of calculation engines calculate candidate information including a candidate placement plan that is a candidate for the placement plan and an evaluation value that evaluates a process related to the data under the candidate placement plan based on the management information and a target performance that is a target performance of the process; a plurality of policies each defining a calculation method for calculating the candidate information, and each of the plurality of calculation engines calculates the candidate information using one or more of the plurality of policies; The processor executes each of a plurality of calculation engines, each of which has a different policy used to calculate the placement plan, to calculate the candidate information, and integrates the plurality of candidate information based on candidate placement plans contained in the calculated plurality of candidate information to generate the placement plan information.
2. The placement plan calculation device according to claim 1 , wherein the processor executes the calculation engines corresponding to a plurality of policies designated by designation information that designates the plurality of policies.
3. the plurality of calculation engines each correspond to one of a plurality of use cases which are applications for which the base system is used; the designation information further designates the use case to be used in calculating the placement plan; The placement plan calculation device according to claim 2 , wherein the processor executes the calculation engine corresponding to both the policy and the use case specified in the specification information.
4. The placement plan calculation device according to claim 1 , wherein the processor integrates a plurality of pieces of candidate information in which at least a portion of combinations of the data and processing components of the candidate placement plans and the base systems in which the data and processing components are to be placed are common to each other.
5. 5. The placement plan calculation device according to claim 4, wherein the placement plan includes a placement base system that is a base system for placing the data and the processing components, and an allocated resource amount that is an amount of hardware resources to be allocated to the processing components in the placement base system.
6. the placement plan information includes an evaluation value obtained by evaluating a process related to the data in the placement plan; 6. The placement plan calculation device according to claim 5, wherein when there are a plurality of pieces of candidate information in which both the placement base system and the allocated resource amount are the same, the processor sets the plurality of evaluation values included in each of the plurality of pieces of candidate information as the evaluation value of the placement plan information.
7. the placement plan information includes an evaluation value obtained by evaluating a process related to the data in the placement plan; 6. The placement plan calculation device according to claim 5, wherein, when there are a plurality of pieces of candidate information having a common placement base system and different amounts of allocated resources, the processor generates an evaluation value of the placement plan information by modifying the plurality of evaluation values included in each of the plurality of pieces of candidate information based on the amount of allocated resources included in each of the plurality of pieces of candidate information.
8. 2. The placement plan calculation device according to claim 1, wherein the processor adds to the placement plan information a load evaluation value that evaluates a load associated with placing the data and the processing components in accordance with the placement plan information based on the placement plan information and the management information.
9. The placement plan calculation apparatus according to claim 8 , wherein the load evaluation value includes at least one of a migration time and a migration cost required for placing the data and the processing components in accordance with the placement plan information.
10. the processor places the data and the processing components in accordance with the placement plan information. The layout plan calculation device according to claim 1 .
11. 11. The placement plan calculation device according to claim 10, wherein the processor places the data and the processing components in accordance with the placement plan information, and when a predetermined condition is met, modifies the placement plan information, and rearranges the data and the processing components in accordance with the modified placement plan information.
12. 1. A placement plan calculation method by a placement plan calculation device that generates placement plan information regarding a placement plan for placing data and a processing component that performs processing related to the data in any one of a plurality of base systems having a computer, the method comprising: the placement plan associates the data and the processing components with the base system in which they are to be placed; The layout plan calculation device comprises: Memory, A processor; a plurality of computation engines executing on the processor; the memory has management information relating to each of the plurality of base systems; a plurality of calculation engines executed by the processor calculates candidate information including a candidate placement plan, which is a candidate for the placement plan, and an evaluation value that evaluates a process related to the data under the candidate placement plan, based on the management information and a target performance that is a target performance of the process; a plurality of policies each defining a calculation method for calculating the candidate information, and each of the plurality of calculation engines calculates the candidate information using one or more of the plurality of policies; The processor executes each of a plurality of calculation engines using different policies to calculate the placement plan, and calculates the candidate information. The processor then integrates the plurality of pieces of candidate information based on candidate placement plans contained in the plurality of pieces of candidate information to generate the placement plan information.
Citation Information
Patent Citations
Performance-driven resource management in a distributed computer system
US20140380307A1
Cited By
Maintenance plan data generation method and device for offshore wind power support structure
CN122509888A
