WO2013097237A1 - Method, device and system for deploying application process - Google Patents

Method, device and system for deploying application process Download PDF

Info

Publication number
WO2013097237A1
WO2013097237A1 PCT/CN2011/085180 CN2011085180W WO2013097237A1 WO 2013097237 A1 WO2013097237 A1 WO 2013097237A1 CN 2011085180 W CN2011085180 W CN 2011085180W WO 2013097237 A1 WO2013097237 A1 WO 2013097237A1
Authority
WO
WIPO (PCT)
Prior art keywords
application process
virtual machine
information
deployment request
resource
Prior art date
Application number
PCT/CN2011/085180
Other languages
French (fr)
Chinese (zh)
Inventor
张妮
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2011/085180 priority Critical patent/WO2013097237A1/en
Priority to CN201180003045.9A priority patent/CN103534681A/en
Publication of WO2013097237A1 publication Critical patent/WO2013097237A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors

Definitions

  • the present invention relates to the field of information technology, and in particular, to a method, device and system for deploying an application process. Background technique
  • the method of deploying an application process in a non-cloud environment is to first deploy the physical machine and manually install the application process to the corresponding physical machine.
  • the existing method is to use the Forming template provided by Amazon.
  • the template includes a virtual machine cluster.
  • the virtual machine cluster contains resource requirement information of each virtual machine.
  • the virtual machine resource requirement information includes virtual Machine specifications, mirroring, software to be loaded, and business processes. These are designed by the service deployer in advance.
  • the virtual machine is applied according to the resource requirements of the virtual machine, and the corresponding software and business processes are loaded onto the applied virtual machine. Therefore, it cannot be in the cloud. Dynamically deploy application processes in an environment.
  • the embodiment of the invention provides a method for deploying an application process, including:
  • the application process deployment request parser receives the application process deployment request
  • the application process deployment request parser parses the application process deployment request
  • the application process deployment request parser sends the parsed application process deployment request to the application process deployment scheduler.
  • the information, the application process deployment scheduler obtains the idle resource information of the existing virtual machine cluster from the resource manager according to the application process deployment request information, and completes the application process deployment request information and the virtual machine cluster. Matching of idle resource information.
  • the embodiment of the invention further provides a method for deploying an application process, including:
  • the application process deployment scheduler receives the application process deployment request information sent by the application process deployment request parser, where the application process deployment request information includes information about the existing virtual machine cluster;
  • the application process deployment request information is matched with the idle resource information of the existing virtual machine cluster.
  • the embodiment of the invention further provides a method for deploying an application process, including:
  • the application process deployment request parser receives the application process deployment request
  • the application process deployment request parser parses the application process deployment request
  • the application process deployment request parser sends the application process deployment request information to the virtual machine cluster deployment request parser, so that the virtual machine cluster deployment request
  • the parser parses the application process deployment request information into virtual machine resource requirement information, and sends the virtual machine resource requirement information to the virtual machine application scheduler, so that the virtual machine application scheduler obtains the physical machine resource information from the resource manager. And matching the virtual machine resource requirement information with the physical machine resource information.
  • the embodiment of the invention further provides a method for deploying an application process, including:
  • the virtual machine cluster deployment request parser receives the application process deployment request information sent by the application process deployment request parser;
  • An embodiment of the present invention further provides an application process deployment request parser, including:
  • a receiving unit configured to receive an application process deployment request
  • a parsing unit configured to parse the application process deployment request
  • a determining unit configured to determine whether the application process deployment request information parsed by the parsing unit includes existing virtual machine cluster information
  • a sending unit configured to: when the determining unit determines that the application process deployment request information includes the existing virtual machine cluster information, send the application process deployment request information to the application process deployment scheduler, so that the application process deployment scheduler is configured according to the The application process deployment request information is obtained from the resource manager, and the idle resource information of the existing virtual machine cluster is obtained, and the matching between the application process deployment request information and the idle resource information of the virtual machine cluster is completed; when the determining unit determines the When the application process deployment request information does not include the virtual machine cluster information, the virtual machine cluster deployment request parser sends the application process deployment request information, so that the virtual machine cluster deployment request parser resolves the application process deployment request information to The virtual machine resource requirement information, and the virtual machine application scheduler obtains physical machine resource information from the resource manager, and completes matching between the virtual machine resource requirement information and the physical machine resource information.
  • the embodiment of the present invention further provides an application process deployment scheduler, including: a receiving unit, configured to receive application process deployment request information sent by an application process deployment request parser; and the application process deployment request information includes Have information about the virtual machine cluster;
  • An obtaining unit configured to acquire, from the resource manager, idle resource information of the existing virtual machine cluster according to the application process deployment request information
  • a matching unit configured to match the application process deployment request information with the idle resource information of the virtual machine cluster.
  • the embodiment of the invention provides a virtual machine cluster deployment request parser, which includes:
  • a receiving unit configured to receive application process deployment request information
  • a parsing unit configured to parse the application process deployment request information into virtual machine resource requirement information
  • a sending unit configured to send the virtual machine resource requirement information to the virtual machine requesting scheduler, so that the virtual machine application scheduler obtains physical machine resource information from the resource manager, and completes the virtual machine resource Matching the demand information with the physical machine resource information.
  • An embodiment of the present invention provides a system for deploying an application process, including:
  • the application process deployment request parser is configured to receive and parse the application process deployment request, and if the parsed application process deployment request information includes information of the existing virtual machine cluster, send the application process deployment request information to the application process deployment scheduler; If the parsed application process deployment request information does not include the virtual machine cluster information, send the application process deployment request information to the virtual machine cluster deployment parser;
  • the application process deployment scheduler is configured to receive the application process deployment request information, where the application process deployment request information includes information of an existing virtual machine cluster, and obtains the information from the resource manager according to the application process deployment request information.
  • the idle resource information of the virtual machine cluster is matched with the idle resource information of the virtual machine cluster;
  • the virtual machine cluster deployment parser is configured to receive the application process deployment request information, parse the application process deployment request information into virtual machine resource requirement information, and then enable the virtual machine application scheduler to acquire the physical machine from the resource manager.
  • the resource information completes matching between the virtual machine resource requirement information and the physical machine resource information.
  • the embodiment of the present invention provides a method, a device, and a system for deploying an application process.
  • the application process deployment request parser parses an application process deployment request. If the information obtained by the application process deployment request includes the existing virtual machine cluster information, the application process is deployed.
  • the scheduler obtains the idle resource information of the existing virtual machine cluster from the resource manager according to the parsed application process deployment request information, and completes the parsed application process deployment request information and the resource manager from the resource manager.
  • the virtual machine cluster deployment request parser may parse the obtained application process
  • the deployment request information is parsed into the virtual machine resource requirement information, so that the virtual machine application scheduler obtains the physical machine resource information from the resource manager, and completes the parsed virtual machine resource requirement information and the physical machine resource acquired from the resource manager.
  • FIG. 1a is a schematic flow chart of a method according to a first embodiment of the present invention
  • FIG. 1b is a schematic flowchart of a method according to a second embodiment of the present invention.
  • FIG. 2a is a schematic flow chart of a method according to a third embodiment of the present invention.
  • FIG. 2b is a schematic flow chart of a method according to a fourth embodiment of the present invention.
  • FIG. 3 is a schematic flow chart of a method according to a fifth embodiment of the present invention.
  • FIG. 4 is a schematic flow chart of a method according to a sixth embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an application process deployment request parser according to a seventh embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of an application process deployment scheduler according to an eighth embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of a virtual machine cluster deployment request parser according to a ninth embodiment of the present invention
  • FIG. 8 is a schematic structural diagram of a system for deploying an application process according to a tenth embodiment of the present invention.
  • a first embodiment of the present invention provides a method for deploying an application process. As shown in FIG. 1B, the method includes: Step 101: The application process deployment request parser receives an application process deployment request.
  • Step 102a The application process deployment request parser parses the application process deployment request.
  • Step 103a If the parsed application process deployment request information includes information of an existing virtual machine cluster, the application process deployment request parser sends the application process deployment request information to the application process deployment scheduler, so that the application process The deployment scheduler acquires the idle resource information of the existing virtual machine cluster from the resource manager according to the application process deployment request information, and completes matching between the application process deployment request information and the idle resource information of the existing virtual machine cluster. .
  • the application process deployment request information specifically includes:
  • Application process resource requirements, application process startup sequence, application process need to monopolize virtual machines, which application processes need to be deployed on a virtual machine, application process topology relationship, application process automatic scheduling policy, and information of existing virtual machine clusters.
  • the information about the existing virtual machine cluster specifically includes:
  • the name of the virtual machine cluster or the address of the virtual machine cluster is the name of the virtual machine cluster or the address of the virtual machine cluster.
  • An embodiment of the present invention provides a method for deploying an application process.
  • the application process deployment request parser receives an application process deployment request, and after parsing the application process deployment request, the parsed application process deployment request includes the existing virtual machine cluster information, and the application
  • the process deployment scheduler obtains the idle resource information of the existing virtual machine cluster from the resource manager according to the information obtained after the parsing, and if the parsed application process deployment request can be completely obtained from the acquired idle resource information of the existing virtual machine cluster, If the match is configured, the application process can be deployed on the existing virtual machine cluster, so that the application process can be dynamically deployed on the existing virtual machine cluster according to the application process deployment request.
  • the second embodiment of the present invention provides a method for deploying an application process, as shown in FIG. 1B, including: Step 101b: The application process deployment scheduler receives application process deployment request information sent by an application process deployment request parser, where the application Process deployment request information contains a letter from an existing virtual machine cluster Interest.
  • Step 102b Obtain idle resource information of the existing virtual machine cluster from the resource manager according to the application process deployment request information.
  • Step 103b Match the application process deployment request information with the idle resource information of the existing virtual machine cluster.
  • the application process deployment request information specifically includes:
  • Application process resource requirements, application process startup sequence, application process need to monopolize virtual machines, which application processes need to be deployed on a virtual machine, application process topology relationship, application process automatic scheduling policy, and information of existing virtual machine clusters.
  • the information about the existing virtual machine cluster specifically includes:
  • the name of the virtual machine cluster or the address of the virtual machine cluster is the name of the virtual machine cluster or the address of the virtual machine cluster.
  • the embodiment of the present invention provides a method for deploying an application process, where the application process deployment scheduler receives the application process deployment request information obtained by the application process deployment request, where the information includes the existing virtual machine cluster information, and the application process is deployed.
  • the scheduler obtains the idle resource information of the existing virtual machine cluster from the resource manager, and if the parsed application process deployment request information completely matches the idle resource information of the existing virtual machine group, the The application process is deployed on a virtual machine cluster to dynamically deploy application processes on an existing virtual machine cluster.
  • a third embodiment of the present invention provides a method for deploying an application process. As shown in FIG. 2a, the method includes the following steps: Step 201: The application process deployment request parser receives an application process deployment request.
  • Step 202a The application process deployment request parser parses the application process deployment request.
  • Step 202c If the parsed application process deployment request information does not include the virtual machine cluster information, the application process deployment request parser sends the application process deployment request information to the virtual machine cluster deployment request parser, so that the virtual machine The cluster deployment request parser parses the application process deployment request information into virtual machine resource requirement information, and sends the virtual machine resource requirement information to the virtual machine application scheduler, so that the virtual machine application scheduler obtains the physical from the resource manager.
  • Machine resource information Completing the matching between the virtual machine resource requirement information and the physical machine resource information.
  • the application process deployment request information specifically includes:
  • Application process resource requirements include exclusive virtual machines, application process topology relationships, and application process automatic scheduling policies.
  • the application process deployment request parser parses the application process deployment request information, and sends the parsed application deployment request information to the virtual machine cluster deployment request parser and parses the virtual According to the virtual machine resource requirement information, the physical resource resource is scheduled, and the virtual machine resource requirement information is completely matched with the scheduled physical machine resource, and then the virtual machine is started, and the application process is deployed to the virtual machine, thereby implementing the application. Process dynamic deployment.
  • the fourth embodiment of the present invention provides a method for deploying an application process. As shown in FIG. 2b, the method includes the following steps: Step 201b: The virtual machine cluster deployment request parser receives the application process deployment request information sent by the application process deployment request parser.
  • Step 202b Parse the application process deployment request information into virtual machine resource requirement information.
  • Step 203b Send the virtual machine resource requirement information to the virtual machine application scheduler, so that the virtual machine application scheduler obtains physical machine resource information from the resource manager, and completes the virtual machine resource requirement information and the physical machine resource. Matching of information.
  • the application process deployment request information specifically includes:
  • Application process resource requirements include exclusive virtual machines, application process topology relationships, and application process automatic scheduling policies.
  • the virtual machine cluster deployment request parser parses the application deployment request information into virtual machine resource requirement information, and sends the information to the virtual machine application scheduler according to the virtual machine resource requirement information.
  • the physical machine resources are scheduled to be completely matched with the scheduled physical machine resources, and then the virtual machine is started, and the application process is deployed to the virtual machine to implement dynamic deployment of the application process.
  • a fifth embodiment of the present invention provides a method for deploying an application process. As shown in FIG. 3, the method includes the following steps: Step 301: Parse an application process deployment request.
  • the application process deployment request parser receives the application process deployment request and parses the application process deployment request, and the application process deployment request parser parses the application process deployment request information, where the application process deployment request information includes the application process resource requirement and the application process startup sequence. Whether the application process needs exclusive virtual machine, application process topology relationship, application process automatic scheduling policy, and existing virtual machine cluster information.
  • the existing virtual machine cluster information includes the name of the virtual machine cluster or the address of the virtual machine cluster, and the like, which can identify the virtual machine cluster.
  • the application process automatic scheduling policy can add a new application process when the service load increases, or increase the resources occupied by the application process, or migrate the application process to the idle virtual machine, reduce the application process when the service load decreases, or reduce the resources occupied by the application process. , or share virtual machines with other application processes, and so on.
  • Step 302 The application process deployment request parser sends the application process deployment request information.
  • the application process deployment request parser sends the parsed application process deployment request information to the application process deployment scheduler. Because the application process deployment request information contains the existing VM cluster information, the application process deployment request deploys the application process on the already VM cluster. Therefore, the application process deployment request information needs to be sent to the application process deployment scheduler. Therefore, the application process deployment scheduler receives the application process deployment request information, and obtains the idle resource information of the existing virtual machine cluster from the resource manager.
  • Step 303 The application process deployment scheduler obtains the idle resource information of the existing virtual machine cluster from the resource manager.
  • the application process deployment scheduler receives the application process deployment request information, and obtains idle resource information of the existing virtual machine cluster from the resource manager.
  • Obtaining the idle resource information of the existing virtual machine cluster includes information about available VM information of the virtual machine, available memory information, available I/O information, available network, and network topology between physical machines where the virtual machine resides. This step can be used to deploy application process request information and virtual
  • the idle resource information of the cluster is executed at any time before the matching, and the idle resource information of the existing virtual machine cluster can be obtained periodically from the resource manager.
  • Step 304 Match the application process deployment request information with the idle resource information of the virtual machine cluster.
  • the application process deployment scheduler After the application process deployment scheduler obtains the idle resource information of the existing virtual machine cluster from the resource manager, the obtained idle resource information of the existing virtual machine cluster is matched with the application process deployment scheduler.
  • Step 305 The matching is successful, and the resource manager is notified to deploy the application process on the virtual machine cluster.
  • An embodiment of the present invention provides a method for deploying an application process, where an application process deployment request parser parses an application process deployment request to obtain an application process deployment request information, where the existing virtual machine cluster information is included, and the application process deployment scheduler is configured from the resource management.
  • the device obtains the idle resource information of the virtual machine cluster, and matches the application process deployment request information with the idle resource information of the existing virtual machine cluster. If the matching is complete, the application process is deployed to the virtual machine of the existing virtual machine cluster. This enables dynamic deployment of application processes on existing virtual machine clusters.
  • a sixth embodiment of the present invention provides a method for deploying an application process. As shown in FIG. 4, the method includes the following steps: Step 401: Parse an application process deployment request.
  • the application process deployment request parser receives the application process deployment request and parses the application process deployment request, and the application process deployment request parser parses the application process deployment request information, where the application process deployment request information includes the application process resource requirement and the application process startup sequence.
  • the application process automatic scheduling policy can add a new application process when the service load increases, or increase the resources occupied by the application process, or migrate the application process to the idle virtual machine, reduce the application process when the service load decreases, or reduce the resources occupied by the application process. , or share virtual machines with other application processes, and so on.
  • Step 402 The application process deployment request parser sends the application process deployment request information.
  • the application process deployment request parser sends the parsed application process deployment request information to the virtual The prototype cluster deployment request parser.
  • Step 403 The virtual machine cluster deployment request parser parses the application process deployment request information.
  • the application process deployment request information obtained by the application process deployment request resolver does not contain the existing VM cluster information. Therefore, the application process needs to be deployed on the newly created VM cluster.
  • the application process deployment request information parsed by the application process deployment request parser is sent to the virtual machine cluster deployment request parser, and the virtual machine cluster deployment request parser parses the application process deployment request information into virtual machine resource requirement information.
  • Step 404 The virtual machine cluster deployment request parser sends a virtual machine resource requirement information to the virtual machine application scheduler.
  • the virtual machine cluster deployment request parser sends the parsed virtual machine resource requirement information to the virtual machine request scheduler.
  • Step 405 The resource manager obtains resource information from the physical machine.
  • Step 406 The virtual machine application scheduler acquires physical machine resource information from the resource manager.
  • the virtual machine application scheduler obtains physical machine resource information from the resource manager, including information about physical machine available CPU information, available memory information, available I/O information, available networks, and inter-physical network topology. This step may be performed at any time before the virtual machine resource requirement information is matched with the physical machine resource information, or the physical machine resource information may be obtained periodically from the resource manager.
  • Step 407 The virtual machine application scheduler matches the virtual machine resource requirement information with the physical machine resource information.
  • the virtual machine application scheduler completely matches the physical machine resource information acquired from the resource manager with the virtual machine resource requirement information.
  • Step 408 The virtual machine application scheduler notifies the resource manager to deploy the virtual machine on the physical machine, and deploys the application process on the virtual machine.
  • the virtual machine application scheduler When the virtual machine application scheduler completely matches the physical machine resource information acquired by the resource manager with the virtual machine resource requirement information, the virtual machine application scheduler notifies the resource manager to deploy the virtual machine on the physical machine. Plan the machine and deploy the application process on the virtual machine.
  • the application process deployment request parser parses the application process deployment request information
  • the virtual machine cluster deployment request parser parses the application process deployment request information into virtual machine resource requirement information, and passes the virtual machine.
  • the application scheduler obtains the physical machine resource information from the resource manager, and the virtual machine application scheduler matches the virtual machine resource requirement information with the physical machine resource information, and if it matches completely, notifies the resource manager to start the virtual machine on the physical machine, and The application process is deployed on the virtual machine to complete the application process deployment.
  • a seventh embodiment of the present invention provides an application process deployment request parser, as shown in FIG. 5, including a receiving unit 501, a parsing unit 502, a judging unit 503, and a sending unit 504.
  • the receiving unit 501 is configured to receive an application process deployment request.
  • the parsing unit 502 is configured to parse the application process deployment request received by the receiving unit 501.
  • the determining unit 503 is configured to determine whether the application process deployment request information parsed by the parsing unit 502 includes the existing virtual machine cluster information.
  • the sending unit 504 is configured to: when the determining unit 503 determines that the application process deployment request information includes the existing virtual machine cluster information, send the application process deployment request information to the application process deployment scheduler, so that the application process deployment scheduler is configured according to the application.
  • the process deployment request information acquires the idle resource information of the existing virtual machine cluster from the resource manager, and completes the matching between the application process deployment request information and the idle resource information of the virtual machine cluster; and the determining unit 503 determines the application process deployment request information.
  • the virtual machine cluster deployment request parser sends the application process deployment request information, so that the virtual machine cluster deployment request parser resolves the application process deployment request information into virtual machine resource requirement information, thereby enabling
  • the virtual machine application scheduler obtains physical machine resource information from the resource manager, and completes matching of the virtual machine resource requirement information with the physical machine resource information.
  • the application process deployment request parser provided by the embodiment of the present invention receives and parses the application process deployment request, and sends the parsed application process deployment request information including the existing virtual machine cluster information to the application process deployment scheduler, so that the application process is deployed.
  • the scheduler obtains the idle resource information of the existing virtual machine cluster from the resource manager, and uses the application process deployment request information and the virtual machine cluster idle resource information. Matching, if the matching is complete, the application process is deployed on the existing virtual machine cluster virtual machine, or the virtual machine cluster deployment request parser sends the application process deployment when the parsed application process deployment request information does not include the virtual machine cluster information.
  • the virtual machine cluster deployment request parser resolves the application process deployment request information into virtual machine resource requirement information, so that the virtual machine application scheduler obtains physical machine resource information from the resource manager, and completes the virtual machine resource requirement.
  • the information matches the physical machine resource information, and the application process is dynamically deployed.
  • An eighth embodiment of the present invention provides an application process deployment scheduler.
  • the method includes a receiving unit 601, an obtaining unit 602, and a matching unit 603.
  • the receiving unit 601 is configured to receive application process deployment request information sent by the application process deployment request parser, where the application process deployment request packet includes the existing virtual machine cluster information.
  • the obtaining unit 602 is configured to obtain, according to the application process deployment request information, the idle resource information of the existing virtual machine cluster from the resource manager.
  • the matching unit 603 is configured to match the application process deployment request information with the idle resource information of the virtual machine cluster.
  • the application process deployment scheduler receives the application process deployment request information of the existing virtual machine cluster information, obtains the idle resource information of the existing virtual machine cluster from the resource manager, and deploys the application process.
  • the request information is matched with the idle resource information of the existing virtual machine cluster. If the matching information is completely matched, the application process is deployed to the virtual machine of the existing virtual machine cluster, thereby dynamically deploying the application process to the existing virtual machine cluster. On the virtual machine.
  • a ninth embodiment of the present invention provides a virtual machine cluster deployment request parser.
  • the receiving unit 701, the parsing unit 702, and the sending unit 703 are included.
  • the receiving unit 701 is configured to receive application process deployment request information.
  • the parsing unit 702 is configured to parse the application process deployment request information into virtual machine resource requirement information.
  • the sending unit 703 is configured to send the virtual machine resource requirement information to the virtual machine requesting scheduler, so that the virtual machine application scheduler obtains the physical machine resource information from the resource manager, and completes the virtual machine resource requirement information and the physical machine resource information. Match.
  • the virtual machine cluster deployment request parser provided by the embodiment of the present invention receives and parses the application process deployment request information, parses the virtual machine resource requirement information, and sends a virtual machine to the virtual machine application scheduler.
  • the resource requirement information, the virtual machine application scheduler obtains the physical machine resource information from the resource manager, and matches the virtual machine resource requirement information with the physical machine resource information, and if it matches completely, notifies the resource manager to start the virtual machine on the physical machine.
  • the application process is deployed on the virtual machine to complete the dynamic deployment of the application process.
  • a tenth embodiment of the present invention provides a system for deploying an application process.
  • the application process deployment request parser 801, the application process deployment scheduler 802, and the virtual machine cluster deployment parser 803 are provided.
  • the application process deployment request parser 801 is configured to receive and parse the application process deployment request, and if the parsed application process deployment request information includes the existing virtual machine cluster information, send the application process deployment request information to the application process deployment scheduler 802. If the parsed application process deployment request information does not include the virtual machine cluster information, the virtual machine cluster deployment parser 803 sends the application process deployment request information.
  • the application process deployment scheduler 802 is configured to receive the application process deployment request information, where the application process deployment request information includes information of the existing virtual machine cluster, and the existing virtual machine is obtained from the resource manager according to the application process deployment request information.
  • the idle resource information of the cluster matches the application process deployment request information with the idle resource information of the virtual machine cluster.
  • the virtual machine cluster deployment parser 803 is configured to receive the application process deployment request information, and parse the application process deployment request information into virtual machine resource requirement information, so that the virtual machine application scheduler obtains the physical machine resource information from the resource manager. The matching between the virtual machine resource requirement information and the physical machine resource information is completed.
  • the application process deployment request parser receives and parses the application process deployment request, and if the application process deployment request information includes information of the existing virtual machine cluster, the application process deployment request is parsed. The information is sent to the application process deployment scheduler, and the application process deployment scheduler obtains the idle resource information of the existing virtual machine cluster, and matches the idle resource information of the virtual machine cluster with the application process deployment request information, if the virtual machine cluster is idle. If the resource information exactly matches the application process deployment request information, the application process is deployed to the virtual machine of the existing virtual machine cluster.
  • the parsed application process deployment request information does not contain the virtual machine cluster letter
  • the information is sent to the virtual machine cluster deployment request parser, and the virtual machine cluster deployment request parser parses the application process deployment request information into virtual machine resource requirement information, thereby enabling the virtual machine to apply for scheduling.
  • the physical device resource information is obtained from the resource manager, and the virtual machine resource requirement information is matched with the physical machine resource information, so that the application process is dynamically deployed on the virtual machine.
  • the disclosed systems, devices, and methods can be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or a software functional unit. Formal realization.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

Provided are a method, device and system for deploying an application process. An application process deployment request parser parses an application process deployment request, if the application process deployment request obtained through parsing contains information about an existing virtual machine cluster, then an application process deployment scheduler acquires idle resource information from the existing virtual machine cluster, and if the application process deployment request information totally matches the acquired idle resource information, then an application process is deployed onto a virtual machine of the existing virtual machine cluster; and if the application process deployment request obtained through parsing does not have information about an existing virtual machine cluster, then a virtual machine cluster deployment request parser parses the application process deployment request information as virtual machine resource demand information, a resource manager acquires physical machine resource information and matches same with virtual machine resource demand information, and if they completely match each other, then the resource manager is notified to start up a virtual machine, and the application process is deployed onto the virtual machine, thus realizing dynamical deployment of an application process according to an application process deployment request.

Description

一种部署应用进程的方法、 设备和系统  Method, device and system for deploying application process
技术领域 Technical field
本发明涉及信息技术领域,特别是一种部署应用进程的方法、设备和系统。 背景技术  The present invention relates to the field of information technology, and in particular, to a method, device and system for deploying an application process. Background technique
在非云环境下部署应用进程的方法是, 先部署好物理机,再人工将应用进 程安装到对应的物理机上。在云环境中部署应用进程,现有的方法是利用亚马 逊提供的 Formation模板, 模板中包含有虚拟机集群, 虚拟机集群中包含每个 虚拟机的资源需求信息, 虚拟机的资源需求信息包括虚拟机规格、 镜像、 需要 加载的软件、 业务进程, 这些由业务部署者提前设计好, 根据虚拟机的资源需 求申请虚拟机,加载对应的软件和业务进程到申请的虚拟机上, 因此无法在云 环境下动态部署应用进程。  The method of deploying an application process in a non-cloud environment is to first deploy the physical machine and manually install the application process to the corresponding physical machine. To deploy an application process in a cloud environment, the existing method is to use the Forming template provided by Amazon. The template includes a virtual machine cluster. The virtual machine cluster contains resource requirement information of each virtual machine. The virtual machine resource requirement information includes virtual Machine specifications, mirroring, software to be loaded, and business processes. These are designed by the service deployer in advance. The virtual machine is applied according to the resource requirements of the virtual machine, and the corresponding software and business processes are loaded onto the applied virtual machine. Therefore, it cannot be in the cloud. Dynamically deploy application processes in an environment.
发明内容 Summary of the invention
在下文中给出了关于本发明的简要概述,以便提供关于本发明的某些方面 的基本理解。 应当理解, 这个概述并不是关于本发明的穷举性概述。 它并不是 意图确定本发明的关键或重要部分,也不是意图限定本发明的范围。其目的仅 仅是以简化的形式给出某些概念, 以此作为稍后论述的更详细描述的前序。  A brief summary of the invention is set forth below in order to provide a basic understanding of certain aspects of the invention. It should be understood that this summary is not an exhaustive overview of the invention. It is not intended to identify key or critical aspects of the invention, and is not intended to limit the scope of the invention. Its purpose is to present some concepts in a simplified form as a pre-
本发明实施例提供了一种部署应用进程的方法, 包括:  The embodiment of the invention provides a method for deploying an application process, including:
应用进程部署请求解析器接收应用进程部署请求;  The application process deployment request parser receives the application process deployment request;
所述应用进程部署请求解析器解析所述应用进程部署请求;  The application process deployment request parser parses the application process deployment request;
如果所述应用进程部署请求解析器解析得到的应用进程部署请求信息包 含已有虚拟机集群信息,则所述应用进程部署请求解析器向应用进程部署调度 器发送所述解析得到的应用进程部署请求信息 ,使所述应用进程部署调度器根 据所述应用进程部署请求信息从资源管理器获取所述已有虚拟机集群的空闲 资源信息 ,完成所述应用进程部署请求信息与所述虚拟机集群的空闲资源信息 的匹配。 本发明实施例还提供了一种部署应用进程的方法, 包括: If the application process deployment request information obtained by the application process deployment request parser includes the existing virtual machine cluster information, the application process deployment request parser sends the parsed application process deployment request to the application process deployment scheduler. The information, the application process deployment scheduler obtains the idle resource information of the existing virtual machine cluster from the resource manager according to the application process deployment request information, and completes the application process deployment request information and the virtual machine cluster. Matching of idle resource information. The embodiment of the invention further provides a method for deploying an application process, including:
应用进程部署调度器接收应用进程部署请求解析器发送的应用进程部署 请求信息, 所述应用进程部署请求信息包含已有虚拟机集群的信息;  The application process deployment scheduler receives the application process deployment request information sent by the application process deployment request parser, where the application process deployment request information includes information about the existing virtual machine cluster;
根据所述应用进程部署请求信息从资源管理器获取所述已有虚拟机集群 的空闲资源信息;  Acquiring the idle resource information of the existing virtual machine cluster from the resource manager according to the application process deployment request information;
将所述应用进程部署请求信息与所述已有虚拟机集群的空闲资源信息进 行匹配。  The application process deployment request information is matched with the idle resource information of the existing virtual machine cluster.
本发明实施例还提供了一种部署应用进程的方法, 包括:  The embodiment of the invention further provides a method for deploying an application process, including:
应用进程部署请求解析器接收应用进程部署请求;  The application process deployment request parser receives the application process deployment request;
所述应用进程部署请求解析器解析所述应用进程部署请求;  The application process deployment request parser parses the application process deployment request;
如果解析得到的应用进程部署请求信息不包含虚拟机集群信息,则所述应 用进程部署请求解析器向虚拟机集群部署请求解析器发送所述应用进程部署 请求信息 ,以便所述虚拟机集群部署请求解析器将所述应用进程部署请求信息 解析为虚拟机资源需求信息,向虚拟机申请调度器发送所述虚拟机资源需求信 息,使所述虚拟机申请调度器从资源管理器获取物理机资源信息, 完成所述虚 拟机资源需求信息与所述物理机资源信息的匹配。  If the parsed application process deployment request information does not include the virtual machine cluster information, the application process deployment request parser sends the application process deployment request information to the virtual machine cluster deployment request parser, so that the virtual machine cluster deployment request The parser parses the application process deployment request information into virtual machine resource requirement information, and sends the virtual machine resource requirement information to the virtual machine application scheduler, so that the virtual machine application scheduler obtains the physical machine resource information from the resource manager. And matching the virtual machine resource requirement information with the physical machine resource information.
本发明实施例还提供了一种部署应用进程的方法, 包括:  The embodiment of the invention further provides a method for deploying an application process, including:
虚拟机集群部署请求解析器接收应用进程部署请求解析器发送的应用进 程部署请求信息;  The virtual machine cluster deployment request parser receives the application process deployment request information sent by the application process deployment request parser;
将所述应用进程部署请求信息解析为虚拟机资源需求信息;  Parsing the application process deployment request information into virtual machine resource requirement information;
向虚拟机申请调度器发送所述虚拟机资源需求信息 ,使所述虚拟机申请调 度器从资源管理器获取物理机资源信息,完成所述虚拟机资源需求信息与所述 物理机资源信息的匹配。  Sending the virtual machine resource requirement information to the virtual machine application scheduler, so that the virtual machine application scheduler obtains the physical machine resource information from the resource manager, and completes matching between the virtual machine resource requirement information and the physical machine resource information. .
本发明实施例还提供了一种应用进程部署请求解析器, 包括:  An embodiment of the present invention further provides an application process deployment request parser, including:
接收单元, 用于接收应用进程部署请求; 解析单元, 用于解析所述应用进程部署请求; a receiving unit, configured to receive an application process deployment request; a parsing unit, configured to parse the application process deployment request;
判断单元 ,用于判断所述解析单元解析得到的应用进程部署请求信息中是 否包含已有虚拟机集群信息;  a determining unit, configured to determine whether the application process deployment request information parsed by the parsing unit includes existing virtual machine cluster information;
发送单元,用于当判断单元判断所述应用进程部署请求信息包含已有虚拟 机集群信息时, 向应用进程部署调度器发送所述应用进程部署请求信息,使所 述应用进程部署调度器根据所述应用进程部署请求信息从资源管理器获取所 述已有虚拟机集群的空闲资源信息 ,完成所述应用进程部署请求信息与所述虚 拟机集群的空闲资源信息的匹配;当判断单元判断所述应用进程部署请求信息 不包含虚拟机集群信息时,向虚拟机集群部署请求解析器发送所述应用进程部 署请求信息 ,使所述虚拟机集群部署请求解析器将所述应用进程部署请求信息 解析为虚拟机资源需求信息,进而使虚拟机申请调度器从资源管理器获取物理 机资源信息, 完成所述虚拟机资源需求信息与所述物理机资源信息的匹配。  a sending unit, configured to: when the determining unit determines that the application process deployment request information includes the existing virtual machine cluster information, send the application process deployment request information to the application process deployment scheduler, so that the application process deployment scheduler is configured according to the The application process deployment request information is obtained from the resource manager, and the idle resource information of the existing virtual machine cluster is obtained, and the matching between the application process deployment request information and the idle resource information of the virtual machine cluster is completed; when the determining unit determines the When the application process deployment request information does not include the virtual machine cluster information, the virtual machine cluster deployment request parser sends the application process deployment request information, so that the virtual machine cluster deployment request parser resolves the application process deployment request information to The virtual machine resource requirement information, and the virtual machine application scheduler obtains physical machine resource information from the resource manager, and completes matching between the virtual machine resource requirement information and the physical machine resource information.
本发明实施例还提供了一种应用进程部署调度器, 其特征在于, 包括: 接收单元,用于接收应用进程部署请求解析器发送的应用进程部署请求信 息; 所述应用进程部署请求信息包含已有虚拟机集群的信息;  The embodiment of the present invention further provides an application process deployment scheduler, including: a receiving unit, configured to receive application process deployment request information sent by an application process deployment request parser; and the application process deployment request information includes Have information about the virtual machine cluster;
获取单元,用于根据所述应用进程部署请求信息从资源管理器获取所述已 有虚拟机集群的空闲资源信息;  An obtaining unit, configured to acquire, from the resource manager, idle resource information of the existing virtual machine cluster according to the application process deployment request information;
匹配单元,用于将所述应用进程部署请求信息与所述已虚拟机集群的空闲 资源信息进行匹配。  And a matching unit, configured to match the application process deployment request information with the idle resource information of the virtual machine cluster.
本发明实施例提供了一种虚拟机集群部署请求解析器, 包括:  The embodiment of the invention provides a virtual machine cluster deployment request parser, which includes:
接收单元, 用于接收应用进程部署请求信息;  a receiving unit, configured to receive application process deployment request information;
解析单元, 用于将所述应用进程部署请求信息解析为虚拟机资源需求信 息;  a parsing unit, configured to parse the application process deployment request information into virtual machine resource requirement information;
发送单元, 用于向虚拟机申请调度器发送所述虚拟机资源需求信息,使所 述虚拟机申请调度器从资源管理器获取物理机资源信息,完成所述虚拟机资源 需求信息与所述物理机资源信息的匹配。 a sending unit, configured to send the virtual machine resource requirement information to the virtual machine requesting scheduler, so that the virtual machine application scheduler obtains physical machine resource information from the resource manager, and completes the virtual machine resource Matching the demand information with the physical machine resource information.
本发明实施例提供了一种部署应用进程的系统, 包括:  An embodiment of the present invention provides a system for deploying an application process, including:
应用进程部署请求解析器, 用于接收并解析应用进程部署请求,如果解析 得到的应用进程部署请求信息包含已有虚拟机集群的信息 ,向应用进程部署调 度器发送所述应用进程部署请求信息;如果解析得到的应用进程部署请求信息 不包含虚拟机集群信息 ,向虚拟机集群部署解析器发送所述应用进程部署请求 信息;  The application process deployment request parser is configured to receive and parse the application process deployment request, and if the parsed application process deployment request information includes information of the existing virtual machine cluster, send the application process deployment request information to the application process deployment scheduler; If the parsed application process deployment request information does not include the virtual machine cluster information, send the application process deployment request information to the virtual machine cluster deployment parser;
所述应用进程部署调度器, 用于接收所述应用进程部署请求信息, 所述应 用进程部署请求信息包含已有虚拟机集群的信息 ,根据所述应用进程部署请求 信息从资源管理器获取所述已有虚拟机集群的空闲资源信息,将所述应用进程 部署请求信息与所述虚拟机集群的空闲资源信息进行匹配;  The application process deployment scheduler is configured to receive the application process deployment request information, where the application process deployment request information includes information of an existing virtual machine cluster, and obtains the information from the resource manager according to the application process deployment request information. The idle resource information of the virtual machine cluster is matched with the idle resource information of the virtual machine cluster;
所述虚拟机集群部署解析器, 用于接收所述应用进程部署请求信息,将所 述应用进程部署请求信息解析为虚拟机资源需求信息,进而使虚拟机申请调度 器从资源管理器获取物理机资源信息,完成所述虚拟机资源需求信息与所述物 理机资源信息的匹配。  The virtual machine cluster deployment parser is configured to receive the application process deployment request information, parse the application process deployment request information into virtual machine resource requirement information, and then enable the virtual machine application scheduler to acquire the physical machine from the resource manager. The resource information completes matching between the virtual machine resource requirement information and the physical machine resource information.
本发明实施例提供了部署应用进程的方法、设备及系统,应用进程部署请 求解析器解析应用进程部署请求,如果解析应用进程部署请求得到的信息中包 含已有虚拟机集群信息,则应用进程部署调度器根据所述解析得到的应用进程 部署请求信息 , 从资源管理器获取所述已经有的虚拟机集群的空闲资源信息 , 完成所述解析得到的应用进程部署请求信息与从所述资源管理器获取的所述 虚拟机集群的空闲资源信息的完全匹配;如果解析应用进程部署请求得到的信 息中不包含已有虚拟机集群信息 ,则虚拟机集群部署请求解析器将所述解析得 到的应用进程部署请求信息解析为虚拟机资源需求信息,使虚拟机申请调度器 从资源管理器获取物理机资源信息,完成所述解析得到的虚拟机资源需求信息 与从所述资源管理器获取的物理机资源信息的完全匹配。通过解析得到的应用 进程部署请求信息与从所述资源管理器获取的所述虚拟机集群的空闲资源信 息的完全匹配或者解析得到的虚拟机资源需求信息与从所述资源管理器获取 的物理机资源信息的完全匹配, 并且通知资源管理器启动虚拟机,从而根据应 用进程部署请求实现动态部署应用进程。 附图说明 The embodiment of the present invention provides a method, a device, and a system for deploying an application process. The application process deployment request parser parses an application process deployment request. If the information obtained by the application process deployment request includes the existing virtual machine cluster information, the application process is deployed. The scheduler obtains the idle resource information of the existing virtual machine cluster from the resource manager according to the parsed application process deployment request information, and completes the parsed application process deployment request information and the resource manager from the resource manager. Obtaining an exact match of the idle resource information of the virtual machine cluster; if the information obtained by parsing the application process deployment request does not include the existing virtual machine cluster information, the virtual machine cluster deployment request parser may parse the obtained application process The deployment request information is parsed into the virtual machine resource requirement information, so that the virtual machine application scheduler obtains the physical machine resource information from the resource manager, and completes the parsed virtual machine resource requirement information and the physical machine resource acquired from the resource manager. An exact match of the information. Application obtained by parsing An exact match between the process deployment request information and the idle resource information of the virtual machine cluster acquired from the resource manager or the virtual machine resource requirement information obtained by the parsing and the physical machine resource information acquired from the resource manager And instructing the resource manager to start the virtual machine to dynamically deploy the application process according to the application process deployment request. DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所 使用的附图作一简地介绍,显而易见地, 下面描述中的附图是本发明的一些实 施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以 根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图 1 a为本发明第一实施例的方法流程示意图;  1a is a schematic flow chart of a method according to a first embodiment of the present invention;
图 lb为本发明第二实施例的方法流程示意图;  FIG. 1b is a schematic flowchart of a method according to a second embodiment of the present invention;
图 2a为本发明第三实施例的方法流程示意图;  2a is a schematic flow chart of a method according to a third embodiment of the present invention;
图 2b为本发明第四实施例的方法流程示意图;  2b is a schematic flow chart of a method according to a fourth embodiment of the present invention;
图 3为本发明第五实施例的方法流程示意图;  3 is a schematic flow chart of a method according to a fifth embodiment of the present invention;
图 4为本发明第六实施例的方法流程示意图;  4 is a schematic flow chart of a method according to a sixth embodiment of the present invention;
图 5为本发明第七实施例的应用进程部署请求解析器的结构示意图; 图 6为本发明第八实施例的应用进程部署调度器的结构示意图;  5 is a schematic structural diagram of an application process deployment request parser according to a seventh embodiment of the present invention; FIG. 6 is a schematic structural diagram of an application process deployment scheduler according to an eighth embodiment of the present invention;
图 7为本发明第九实施例的虚拟机集群部署请求解析器的结构示意图; 图 8为本发明第十实施例的部署应用进程的系统的结构示意图。  FIG. 7 is a schematic structural diagram of a virtual machine cluster deployment request parser according to a ninth embodiment of the present invention; FIG. 8 is a schematic structural diagram of a system for deploying an application process according to a tenth embodiment of the present invention.
具体实施例 Specific embodiment
在下文中将结合附图对本发明的示范性实施例进行描述。为了清楚和简明 起见, 在说明书中并未描述实际实施方式的所有特征。 然而, 应该了解, 在开 现开发人员的具体目标, 并且这些决定可能会随着实施方式的不同而有所改 变。 Exemplary embodiments of the present invention will be described hereinafter with reference to the accompanying drawings. For the sake of clarity and conciseness, not all features of an actual implementation are described in the specification. However, it should be understood that the developer’s specific goals are being developed and that these decisions may change depending on the implementation. Change.
本发明第一实施例提供了一种部署应用进程的方法, 如图 la所示, 包括: 步骤 101a: 应用进程部署请求解析器接收应用进程部署请求。  A first embodiment of the present invention provides a method for deploying an application process. As shown in FIG. 1B, the method includes: Step 101: The application process deployment request parser receives an application process deployment request.
步骤 102a: 所述应用进程部署请求解析器解析所述应用进程部署请求。 步骤 103a: 如果解析得到的应用进程部署请求信息包含已有虚拟机集群 的信息 ,则所述应用进程部署请求解析器向应用进程部署调度器发送所述应用 进程部署请求信息,以便所述应用进程部署调度器根据所述应用进程部署请求 信息从资源管理器获取所述已有虚拟机集群的空闲资源信息 ,完成所述应用进 程部署请求信息与所述已有虚拟机集群的空闲资源信息的匹配。  Step 102a: The application process deployment request parser parses the application process deployment request. Step 103a: If the parsed application process deployment request information includes information of an existing virtual machine cluster, the application process deployment request parser sends the application process deployment request information to the application process deployment scheduler, so that the application process The deployment scheduler acquires the idle resource information of the existing virtual machine cluster from the resource manager according to the application process deployment request information, and completes matching between the application process deployment request information and the idle resource information of the existing virtual machine cluster. .
可选地, 所述应用进程部署请求信息具体包括:  Optionally, the application process deployment request information specifically includes:
应用进程资源需求、应用进程启动先后顺序、应用进程是否需要独占虚拟 机、 哪些应用进程需要部署在一个虚拟机上、 应用进程拓朴关系、 应用进程自 动调度策略和已有虚拟机集群的信息。  Application process resource requirements, application process startup sequence, application process need to monopolize virtual machines, which application processes need to be deployed on a virtual machine, application process topology relationship, application process automatic scheduling policy, and information of existing virtual machine clusters.
可选地, 所述已有虚拟机集群的信息, 具体包括:  Optionally, the information about the existing virtual machine cluster specifically includes:
虚拟机集群的名称或者虚拟机集群的地址。  The name of the virtual machine cluster or the address of the virtual machine cluster.
本发明实施例提供的一种部署应用进程的方法 ,应用进程部署请求解析器 接收应用进程部署请求,解析应用进程部署请求后,解析得到的应用进程部署 请求包含有已有虚拟机集群信息 ,应用进程部署调度器根据解析后得到的信息 从资源管理器中获取已有的虚拟机集群的空闲资源信息,如果解析得到的应用 进程部署请求能够与获取的已有的虚拟机集群的空闲资源信息完全匹配,则可 以在现有虚拟机集群上部署应用进程,从而实现根据应用进程部署请求在现有 的虚拟机集群上动态部署应用进程。  An embodiment of the present invention provides a method for deploying an application process. The application process deployment request parser receives an application process deployment request, and after parsing the application process deployment request, the parsed application process deployment request includes the existing virtual machine cluster information, and the application The process deployment scheduler obtains the idle resource information of the existing virtual machine cluster from the resource manager according to the information obtained after the parsing, and if the parsed application process deployment request can be completely obtained from the acquired idle resource information of the existing virtual machine cluster, If the match is configured, the application process can be deployed on the existing virtual machine cluster, so that the application process can be dynamically deployed on the existing virtual machine cluster according to the application process deployment request.
本发明第二实施例提供了一种部署应用进程的方法, 如图 lb所示, 包括: 步骤 101b: 应用进程部署调度器接收应用进程部署请求解析器发送的应 用进程部署请求信息, 所述应用进程部署请求信息包含已有虚拟机集群的信 息。 The second embodiment of the present invention provides a method for deploying an application process, as shown in FIG. 1B, including: Step 101b: The application process deployment scheduler receives application process deployment request information sent by an application process deployment request parser, where the application Process deployment request information contains a letter from an existing virtual machine cluster Interest.
步骤 102b: 根据所述应用进程部署请求信息从资源管理器获取所述已有 虚拟机集群的空闲资源信息。  Step 102b: Obtain idle resource information of the existing virtual machine cluster from the resource manager according to the application process deployment request information.
步骤 103b: 将所述应用进程部署请求信息与所述已有虚拟机集群的空闲 资源信息进行匹配。  Step 103b: Match the application process deployment request information with the idle resource information of the existing virtual machine cluster.
可选地, 所述应用进程部署请求信息具体包括:  Optionally, the application process deployment request information specifically includes:
应用进程资源需求、应用进程启动先后顺序、应用进程是否需要独占虚拟 机、 哪些应用进程需要部署在一个虚拟机上、 应用进程拓朴关系、 应用进程自 动调度策略和已有虚拟机集群的信息。  Application process resource requirements, application process startup sequence, application process need to monopolize virtual machines, which application processes need to be deployed on a virtual machine, application process topology relationship, application process automatic scheduling policy, and information of existing virtual machine clusters.
可选地, 所述已有虚拟机集群的信息, 具体包括:  Optionally, the information about the existing virtual machine cluster specifically includes:
虚拟机集群的名称或者虚拟机集群的地址。  The name of the virtual machine cluster or the address of the virtual machine cluster.
本发明实施例提供的一种部署应用进程的方法,应用进程部署调度器接收 应用进程部署请求解析得到的应用进程部署请求信息 ,所述信息中包含有已经 有的虚拟机集群信息,应用进程部署调度器从资源管理器中获取所述已经有的 虚拟机集群的空闲资源信息 ,如果解析得到的应用进程部署请求信息与获取所 述已经有的虚拟机群的空闲资源信息完全匹配,则可以实现已经有的虚拟机集 群上部署该应用进程, 从而实现在已有虚拟机集群上动态部署应用进程。  The embodiment of the present invention provides a method for deploying an application process, where the application process deployment scheduler receives the application process deployment request information obtained by the application process deployment request, where the information includes the existing virtual machine cluster information, and the application process is deployed. The scheduler obtains the idle resource information of the existing virtual machine cluster from the resource manager, and if the parsed application process deployment request information completely matches the idle resource information of the existing virtual machine group, the The application process is deployed on a virtual machine cluster to dynamically deploy application processes on an existing virtual machine cluster.
本发明第三实施例提供了一种部署应用进程的方法, 如图 2a所示, 包括: 步骤 201a: 应用进程部署请求解析器接收应用进程部署请求。  A third embodiment of the present invention provides a method for deploying an application process. As shown in FIG. 2a, the method includes the following steps: Step 201: The application process deployment request parser receives an application process deployment request.
步骤 202a: 所述应用进程部署请求解析器解析所述应用进程部署请求。 步骤 202c: 如果解析得到的应用进程部署请求信息不包含虚拟机集群信 息,则所述应用进程部署请求解析器向虚拟机集群部署请求解析器发送所述应 用进程部署请求信息 ,以便所述虚拟机集群部署请求解析器将所述应用进程部 署请求信息解析为虚拟机资源需求信息,向虚拟机申请调度器发送所述虚拟机 资源需求信息, 使所述虚拟机申请调度器从资源管理器获取物理机资源信息, 完成所述虚拟机资源需求信息与所述物理机资源信息的匹配。 Step 202a: The application process deployment request parser parses the application process deployment request. Step 202c: If the parsed application process deployment request information does not include the virtual machine cluster information, the application process deployment request parser sends the application process deployment request information to the virtual machine cluster deployment request parser, so that the virtual machine The cluster deployment request parser parses the application process deployment request information into virtual machine resource requirement information, and sends the virtual machine resource requirement information to the virtual machine application scheduler, so that the virtual machine application scheduler obtains the physical from the resource manager. Machine resource information, Completing the matching between the virtual machine resource requirement information and the physical machine resource information.
可选地, 所述应用进程部署请求信息具体包括:  Optionally, the application process deployment request information specifically includes:
应用进程资源需求、 应用进程启动顺序、 应用进程是否需要独占虚拟机、 应用进程拓朴关系和应用进程自动调度策略。  Application process resource requirements, application process startup sequence, whether the application process requires exclusive virtual machines, application process topology relationships, and application process automatic scheduling policies.
本发明实施例提供的部署应用进程的方法,应用进程部署请求解析器解析 得到应用进程部署请求信息 ,将该解析得到的应用进得部署请求信息发送到虚 拟机集群部署请求解析器并解析为虚拟机资源需求信息,根据该虚拟机资源需 求信息,调度物理机资源,使虚拟机资源需求信息与调度的物理机资源完全匹 配, 进而启动虚拟机, 将应用进程部署到虚拟机上, 从而实现应用进程动态部 署。  The method for deploying an application process provided by the embodiment of the present invention, the application process deployment request parser parses the application process deployment request information, and sends the parsed application deployment request information to the virtual machine cluster deployment request parser and parses the virtual According to the virtual machine resource requirement information, the physical resource resource is scheduled, and the virtual machine resource requirement information is completely matched with the scheduled physical machine resource, and then the virtual machine is started, and the application process is deployed to the virtual machine, thereby implementing the application. Process dynamic deployment.
本发明第四实施例提供了一种部署应用进程的方法, 如图 2b所示, 包括: 步骤 201b: 虚拟机集群部署请求解析器接收应用进程部署请求解析器发 送的应用进程部署请求信息。  The fourth embodiment of the present invention provides a method for deploying an application process. As shown in FIG. 2b, the method includes the following steps: Step 201b: The virtual machine cluster deployment request parser receives the application process deployment request information sent by the application process deployment request parser.
步骤 202b: 将所述应用进程部署请求信息解析为虚拟机资源需求信息。 步骤 203b: 向虚拟机申请调度器发送所述虚拟机资源需求信息, 使所述 虚拟机申请调度器从资源管理器获取物理机资源信息,完成所述虚拟机资源需 求信息与所述物理机资源信息的匹配。  Step 202b: Parse the application process deployment request information into virtual machine resource requirement information. Step 203b: Send the virtual machine resource requirement information to the virtual machine application scheduler, so that the virtual machine application scheduler obtains physical machine resource information from the resource manager, and completes the virtual machine resource requirement information and the physical machine resource. Matching of information.
可选地, 所述应用进程部署请求信息具体包括:  Optionally, the application process deployment request information specifically includes:
应用进程资源需求、 应用进程启动顺序、 应用进程是否需要独占虚拟机、 应用进程拓朴关系和应用进程自动调度策略。  Application process resource requirements, application process startup sequence, whether the application process requires exclusive virtual machines, application process topology relationships, and application process automatic scheduling policies.
本发明实施例提供的部署应用进程的方法,虚拟机集群部署请求解析器将 应用进得部署请求信息解析为虚拟机资源需求信息, 发送到虚拟机申请调度 器, 根据该虚拟机资源需求信息, 调度物理机资源, 使虚拟机资源需求信息与 调度的物理机资源完全匹配, 进而启动虚拟机, 将应用进程部署到虚拟机上, 从而实现应用进程动态部署。 本发明第五实施例提供了一种部署应用进程的方法, 如图 3所示, 包括: 步骤 301 : 解析应用进程部署请求。 The method for deploying an application process provided by the embodiment of the present invention, the virtual machine cluster deployment request parser parses the application deployment request information into virtual machine resource requirement information, and sends the information to the virtual machine application scheduler according to the virtual machine resource requirement information. The physical machine resources are scheduled to be completely matched with the scheduled physical machine resources, and then the virtual machine is started, and the application process is deployed to the virtual machine to implement dynamic deployment of the application process. A fifth embodiment of the present invention provides a method for deploying an application process. As shown in FIG. 3, the method includes the following steps: Step 301: Parse an application process deployment request.
应用进程部署请求解析器接收应用进程部署请求并解析应用进程部署请 求,应用进程部署请求解析器解析得到应用进程部署请求信息, 该应用进程部 署请求信息中包括应用进程资源需求、应用进程启动先后顺序、应用进程是否 需要独占虚拟机、应用进程拓朴关系、应用进程自动调度策略和已有虚拟机集 群信息。其中, 已有虚拟机集群信息包括虚拟机集群的名称或者虚拟机集群的 地址等可以标识虚拟机集群的信息。  The application process deployment request parser receives the application process deployment request and parses the application process deployment request, and the application process deployment request parser parses the application process deployment request information, where the application process deployment request information includes the application process resource requirement and the application process startup sequence. Whether the application process needs exclusive virtual machine, application process topology relationship, application process automatic scheduling policy, and existing virtual machine cluster information. The existing virtual machine cluster information includes the name of the virtual machine cluster or the address of the virtual machine cluster, and the like, which can identify the virtual machine cluster.
应用进程自动调度策略可以在业务负载增加时增加新应用进程 ,或者增加 应用进程占用的资源、或者迁移应用进程到空闲虚拟机上,在业务负载下降时 减少应用进程, 或者减少应用进程占用的资源, 或者与其他应用进程共用虚拟 机等。  The application process automatic scheduling policy can add a new application process when the service load increases, or increase the resources occupied by the application process, or migrate the application process to the idle virtual machine, reduce the application process when the service load decreases, or reduce the resources occupied by the application process. , or share virtual machines with other application processes, and so on.
步骤 302: 应用进程部署请求解析器发送应用进程部署请求信息。  Step 302: The application process deployment request parser sends the application process deployment request information.
应用进程部署请求解析器将解析得到的应用进程部署请求信息发送到应 用进程部署调度器。 因为应用进程部署请求信息中包含已有虚拟机集群信息, 应用进程部署请求在已经虚拟机集群上部署应用进程。因此需要向应用进程部 署调度器发送该应用进程部署请求信息。 因此,应用进程部署调度器接收该应 用进程部署请求信息,并从资源管理器中获取已有该已有虚拟机集群的空闲资 源信息。  The application process deployment request parser sends the parsed application process deployment request information to the application process deployment scheduler. Because the application process deployment request information contains the existing VM cluster information, the application process deployment request deploys the application process on the already VM cluster. Therefore, the application process deployment request information needs to be sent to the application process deployment scheduler. Therefore, the application process deployment scheduler receives the application process deployment request information, and obtains the idle resource information of the existing virtual machine cluster from the resource manager.
步骤 303: 应用进程部署调度器从资源管理器获取该已有虚拟机集群的空 闲资源信息。  Step 303: The application process deployment scheduler obtains the idle resource information of the existing virtual machine cluster from the resource manager.
应用进程部署调度器接收该应用进程部署请求信息 ,并从资源管理器中获 取该已有虚拟机集群的空闲资源信息。获取该已有虚拟机集群的空闲资源信息 包括虚拟机可用 CPU信息、 可用内存信息、 可用 I/O信息、 可用网络和虚拟机 所在物理机间网络拓朴等信息。该步骤可以在将应用进程部署请求信息与虚拟 机集群的空闲资源信息进行匹配之前任意时刻执行,也可以周期性从资源管理 器中获取已有的虚拟机集群的空闲资源信息。 The application process deployment scheduler receives the application process deployment request information, and obtains idle resource information of the existing virtual machine cluster from the resource manager. Obtaining the idle resource information of the existing virtual machine cluster includes information about available VM information of the virtual machine, available memory information, available I/O information, available network, and network topology between physical machines where the virtual machine resides. This step can be used to deploy application process request information and virtual The idle resource information of the cluster is executed at any time before the matching, and the idle resource information of the existing virtual machine cluster can be obtained periodically from the resource manager.
步骤 304: 将应用进程部署请求信息与虚拟机集群的空闲资源信息进行匹 配。  Step 304: Match the application process deployment request information with the idle resource information of the virtual machine cluster.
应用进程部署调度器从资源管理器中获取该已有虚拟机集群的空闲资源 信息后,将获取的该已有虚拟机集群的空闲资源信息与应用进程部署调度器进 行匹配。  After the application process deployment scheduler obtains the idle resource information of the existing virtual machine cluster from the resource manager, the obtained idle resource information of the existing virtual machine cluster is matched with the application process deployment scheduler.
步骤 305: 匹配成功, 通知资源管理器在虚拟机集群上部署应用进程。 本发明实施例提供了一种部署应用进程的方法 ,应用进程部署请求解析器 解析应用进程部署请求得到应用进程部署请求信息,其中包含已有的虚拟机集 群信息 ,应用进程部署调度器从资源管理器获取已经虚拟机集群的空闲资源信 息,将应用进程部署请求信息与已有虚拟机集群的空闲资源信息进行匹配, 如 果完全匹配, 则将应用进程部署到已有虚拟机集群的虚拟机上,从而实现在现 有虚拟机集群上动态部署应用进程。  Step 305: The matching is successful, and the resource manager is notified to deploy the application process on the virtual machine cluster. An embodiment of the present invention provides a method for deploying an application process, where an application process deployment request parser parses an application process deployment request to obtain an application process deployment request information, where the existing virtual machine cluster information is included, and the application process deployment scheduler is configured from the resource management. The device obtains the idle resource information of the virtual machine cluster, and matches the application process deployment request information with the idle resource information of the existing virtual machine cluster. If the matching is complete, the application process is deployed to the virtual machine of the existing virtual machine cluster. This enables dynamic deployment of application processes on existing virtual machine clusters.
本发明第六实施例提供了一种部署应用进程的方法, 如图 4所示, 包括: 步骤 401 : 解析应用进程部署请求。  A sixth embodiment of the present invention provides a method for deploying an application process. As shown in FIG. 4, the method includes the following steps: Step 401: Parse an application process deployment request.
应用进程部署请求解析器接收应用进程部署请求并解析应用进程部署请 求,应用进程部署请求解析器解析得到应用进程部署请求信息, 该应用进程部 署请求信息中包括应用进程资源需求、应用进程启动先后顺序、应用进程是否 需要独占虚拟机、应用进程拓朴关系和应用进程自动调度策略等。应用进程自 动调度策略可以在业务负载增加时增加新应用进程,或者增加应用进程占用的 资源、 或者迁移应用进程到空闲虚拟机上, 在业务负载下降时减少应用进程, 或者减少应用进程占用的资源, 或者与其他应用进程共用虚拟机等。  The application process deployment request parser receives the application process deployment request and parses the application process deployment request, and the application process deployment request parser parses the application process deployment request information, where the application process deployment request information includes the application process resource requirement and the application process startup sequence. Whether the application process needs to monopolize the virtual machine, the application process topology relationship, and the application process automatic scheduling policy. The application process automatic scheduling policy can add a new application process when the service load increases, or increase the resources occupied by the application process, or migrate the application process to the idle virtual machine, reduce the application process when the service load decreases, or reduce the resources occupied by the application process. , or share virtual machines with other application processes, and so on.
步骤 402: 应用进程部署请求解析器发送应用进程部署请求信息。  Step 402: The application process deployment request parser sends the application process deployment request information.
应用进程部署请求解析器将解析得到的应用进程部署请求信息发送到虚 拟机集群部署请求解析器。 The application process deployment request parser sends the parsed application process deployment request information to the virtual The prototype cluster deployment request parser.
步骤 403: 虚拟机集群部署请求解析器解析应用进程部署请求信息。  Step 403: The virtual machine cluster deployment request parser parses the application process deployment request information.
应用进程部署请求解析器解得到的应用进程部署请求信息中不包含已有 虚拟机集群信息, 因此需要在新建的一个虚拟机集群上部署应用进程。将应用 进程部署请求解析器解析得到的应用进程部署请求信息发送到虚拟机集群部 署请求解析器,虚拟机集群部署请求解析器将该应用进程部署请求信息解析为 虚拟机资源需求信息。  The application process deployment request information obtained by the application process deployment request resolver does not contain the existing VM cluster information. Therefore, the application process needs to be deployed on the newly created VM cluster. The application process deployment request information parsed by the application process deployment request parser is sent to the virtual machine cluster deployment request parser, and the virtual machine cluster deployment request parser parses the application process deployment request information into virtual machine resource requirement information.
步骤 404: 虚拟机集群部署请求解析器向虚拟机申请调度器发送虚拟机资 源需求信息。  Step 404: The virtual machine cluster deployment request parser sends a virtual machine resource requirement information to the virtual machine application scheduler.
虚拟机集群部署请求解析器将解析得到的虚拟机资源需求信息发送到虚 拟机申请调度器。  The virtual machine cluster deployment request parser sends the parsed virtual machine resource requirement information to the virtual machine request scheduler.
步骤 405: 资源管理器从物理机获取资源信息。  Step 405: The resource manager obtains resource information from the physical machine.
步骤 406: 虚拟机申请调度器从资源管理器获取物理机资源信息。  Step 406: The virtual machine application scheduler acquires physical machine resource information from the resource manager.
虚拟机申请调度器从从资源管理器获取物理机资源信息,包括物理机可用 CPU信息、 可用内存信息、 可用 I/O信息、 可用网络和物理机间网络拓朴等信 息。该步骤可以在将虚拟机资源需求信息与物理机资源信息进行匹配之前任意 时刻执行, 也可以周期性从资源管理器中获取物理机资源信息。  The virtual machine application scheduler obtains physical machine resource information from the resource manager, including information about physical machine available CPU information, available memory information, available I/O information, available networks, and inter-physical network topology. This step may be performed at any time before the virtual machine resource requirement information is matched with the physical machine resource information, or the physical machine resource information may be obtained periodically from the resource manager.
步骤 407: 虚拟机申请调度器将虚拟机资源需求信息与物理机资源信息进 行匹配。  Step 407: The virtual machine application scheduler matches the virtual machine resource requirement information with the physical machine resource information.
虚拟机申请调度器将从资源管理器获取的物理机资源信息与虚拟机资源 需要信息进行完全匹配。  The virtual machine application scheduler completely matches the physical machine resource information acquired from the resource manager with the virtual machine resource requirement information.
步骤 408: 虚拟机申请调度器通知资源管理器在物理机上部署虚拟机, 并 在虚拟机上部署应用进程。  Step 408: The virtual machine application scheduler notifies the resource manager to deploy the virtual machine on the physical machine, and deploys the application process on the virtual machine.
当虚拟机申请调度器将从资源管理器获取的物理机资源信息与虚拟机资 源需求信息完全匹配时,虚拟机申请调度器通知资源管理器在物理机上部署虚 拟机 , 并在虚拟机上部署应用进程。 When the virtual machine application scheduler completely matches the physical machine resource information acquired by the resource manager with the virtual machine resource requirement information, the virtual machine application scheduler notifies the resource manager to deploy the virtual machine on the physical machine. Plan the machine and deploy the application process on the virtual machine.
本发明实施例提供的部署应用进程的方法,应用进程部署请求解析器解析 得到应用进程部署请求信息,虚拟机集群部署请求解析器将应用进程部署请求 信息解析为虚拟机资源需求信息,通过虚拟机申请调度器从资源管理器获取物 理机资源信息,虚拟机申请调度器将虚拟机资源需求信息与物理机资源信息进 行匹配, 如果完全匹配, 则通知资源管理器在物理机上启动虚拟机, 并在虚拟 机上部署应用进程, 从而完成应用进程部署。  The method for deploying an application process provided by the embodiment of the present invention, the application process deployment request parser parses the application process deployment request information, and the virtual machine cluster deployment request parser parses the application process deployment request information into virtual machine resource requirement information, and passes the virtual machine. The application scheduler obtains the physical machine resource information from the resource manager, and the virtual machine application scheduler matches the virtual machine resource requirement information with the physical machine resource information, and if it matches completely, notifies the resource manager to start the virtual machine on the physical machine, and The application process is deployed on the virtual machine to complete the application process deployment.
本发明第七实施例提供了一种应用进程部署请求解析器,如图 5所示, 包 括接收单元 501、 解析单元 502、 判断单元 503和发送单元 504。 其中, 接收 单元 501 ,用于接收应用进程部署请求。解析单元 502,用于解析接收单元 501 接收的应用进程部署请求。 判断单元 503 , 用于判断解析单元 502解析得到的 应用进程部署请求信息中是否包含已有虚拟机集群信息。 发送单元 504, 用于 当判断单元 503判断该应用进程部署请求信息包含已有虚拟机集群信息时,向 应用进程部署调度器发送该应用进程部署请求信息 ,使该应用进程部署调度器 根据该应用进程部署请求信息从资源管理器获取该已有虚拟机集群的空闲资 源信息, 完成该应用进程部署请求信息与该虚拟机集群的空闲资源信息的匹 配; 当判断单元 503判断该应用进程部署请求信息不包含虚拟机集群信息时, 向虚拟机集群部署请求解析器发送该应用进程部署请求信息,使该虚拟机集群 部署请求解析器将该应用进程部署请求信息解析为虚拟机资源需求信息,进而 使虚拟机申请调度器从资源管理器获取物理机资源信息,完成该虚拟机资源需 求信息与该物理机资源信息的匹配。  A seventh embodiment of the present invention provides an application process deployment request parser, as shown in FIG. 5, including a receiving unit 501, a parsing unit 502, a judging unit 503, and a sending unit 504. The receiving unit 501 is configured to receive an application process deployment request. The parsing unit 502 is configured to parse the application process deployment request received by the receiving unit 501. The determining unit 503 is configured to determine whether the application process deployment request information parsed by the parsing unit 502 includes the existing virtual machine cluster information. The sending unit 504 is configured to: when the determining unit 503 determines that the application process deployment request information includes the existing virtual machine cluster information, send the application process deployment request information to the application process deployment scheduler, so that the application process deployment scheduler is configured according to the application. The process deployment request information acquires the idle resource information of the existing virtual machine cluster from the resource manager, and completes the matching between the application process deployment request information and the idle resource information of the virtual machine cluster; and the determining unit 503 determines the application process deployment request information. When the virtual machine cluster information is not included, the virtual machine cluster deployment request parser sends the application process deployment request information, so that the virtual machine cluster deployment request parser resolves the application process deployment request information into virtual machine resource requirement information, thereby enabling The virtual machine application scheduler obtains physical machine resource information from the resource manager, and completes matching of the virtual machine resource requirement information with the physical machine resource information.
本发明实施例提供的应用进程部署请求解析器,接收并解析应用进程部署 请求,将解析得到的包含已有虚拟机集群信息的应用进程部署请求信息发送到 应用进程部署调度器,使应用进程部署调度器从资源管理器获取该已有的虚拟 机集群的空闲资源信息,将应用进程部署请求信息与虚拟机集群空闲资源信息 匹配, 如果完全匹配, 则在已有虚拟机集群虚拟机上部署应用进程, 或者当解 析得到的应用进程部署请求信息不包含虚拟机集群信息时,虚拟机集群部署请 求解析器发送该应用进程部署请求信息,使该虚拟机集群部署请求解析器将该 应用进程部署请求信息解析为虚拟机资源需求信息,进而使虚拟机申请调度器 从资源管理器获取物理机资源信息,完成该虚拟机资源需求信息与该物理机资 源信息的匹配, 动态部署应用进程。 The application process deployment request parser provided by the embodiment of the present invention receives and parses the application process deployment request, and sends the parsed application process deployment request information including the existing virtual machine cluster information to the application process deployment scheduler, so that the application process is deployed. The scheduler obtains the idle resource information of the existing virtual machine cluster from the resource manager, and uses the application process deployment request information and the virtual machine cluster idle resource information. Matching, if the matching is complete, the application process is deployed on the existing virtual machine cluster virtual machine, or the virtual machine cluster deployment request parser sends the application process deployment when the parsed application process deployment request information does not include the virtual machine cluster information. Requesting information, so that the virtual machine cluster deployment request parser resolves the application process deployment request information into virtual machine resource requirement information, so that the virtual machine application scheduler obtains physical machine resource information from the resource manager, and completes the virtual machine resource requirement. The information matches the physical machine resource information, and the application process is dynamically deployed.
本发明第八实施例提供了一种应用进程部署调度器, 如图 6所示, 包括接 收单元 601、 获取单元 602和匹配单元 603。 其中接收单元 601 , 用于接收应用进 程部署请求解析器发送的应用进程部署请求信息 ,该应用进程部署请求信息包 含有已有虚拟机集群信息。 获取单元 602, 用于根据该应用进程部署请求信息 从资源管理器获取该已有虚拟机集群的空闲资源信息。 匹配单元 603 , 用于将 该应用进程部署请求信息与该已虚拟机集群的空闲资源信息进行匹配。  An eighth embodiment of the present invention provides an application process deployment scheduler. As shown in FIG. 6, the method includes a receiving unit 601, an obtaining unit 602, and a matching unit 603. The receiving unit 601 is configured to receive application process deployment request information sent by the application process deployment request parser, where the application process deployment request packet includes the existing virtual machine cluster information. The obtaining unit 602 is configured to obtain, according to the application process deployment request information, the idle resource information of the existing virtual machine cluster from the resource manager. The matching unit 603 is configured to match the application process deployment request information with the idle resource information of the virtual machine cluster.
本发明第八实施例提供的应用进程部署调度器,接收包含已有虚拟机集群 信息的应用进程部署请求信息,从资源管理器获取该已有的虚拟机集群的空闲 资源信息,将应用进程部署请求信息与该已有的虚拟机集群的空闲资源信息匹 配, 如果完全匹配, 则将应用进程部署到已有虚拟机集群的虚拟机上, 从而实 现将应用进程动态部署到现有的虚拟机集群中的虚拟机上。  The application process deployment scheduler according to the eighth embodiment of the present invention receives the application process deployment request information of the existing virtual machine cluster information, obtains the idle resource information of the existing virtual machine cluster from the resource manager, and deploys the application process. The request information is matched with the idle resource information of the existing virtual machine cluster. If the matching information is completely matched, the application process is deployed to the virtual machine of the existing virtual machine cluster, thereby dynamically deploying the application process to the existing virtual machine cluster. On the virtual machine.
本发明第九实施例提供了一种虚拟机集群部署请求解析器, 如图 7所示, 包括接收单元 701、 解析单元 702和发送单元 703。 其中, 接收单元 701 , 用 于接收应用进程部署请求信息。 解析单元 702, 用于将该应用进程部署请求信 息解析为虚拟机资源需求信息。 发送单元 703 , 用于向虚拟机申请调度器发送 该虚拟机资源需求信息,使该虚拟机申请调度器从资源管理器获取物理机资源 信息, 完成该虚拟机资源需求信息与该物理机资源信息的匹配。  A ninth embodiment of the present invention provides a virtual machine cluster deployment request parser. As shown in FIG. 7, the receiving unit 701, the parsing unit 702, and the sending unit 703 are included. The receiving unit 701 is configured to receive application process deployment request information. The parsing unit 702 is configured to parse the application process deployment request information into virtual machine resource requirement information. The sending unit 703 is configured to send the virtual machine resource requirement information to the virtual machine requesting scheduler, so that the virtual machine application scheduler obtains the physical machine resource information from the resource manager, and completes the virtual machine resource requirement information and the physical machine resource information. Match.
本发明实施例提供的虚拟机集群部署请求解析器,接收并解析应用进程部 署请求信息,解析得到虚拟机资源需求信息, 向虚拟机申请调度器发送虚拟机 资源需求信息,虚拟机申请调度器从资源管理器获取物理机资源信息, 并将该 虚拟机资源需求信息与该物理机资源信息进行匹配,如果完全匹配, 则通知资 源管理器在物理机上启动虚拟机, 并在虚拟机上部署应用进程,从而完成应用 进程动态部署。 The virtual machine cluster deployment request parser provided by the embodiment of the present invention receives and parses the application process deployment request information, parses the virtual machine resource requirement information, and sends a virtual machine to the virtual machine application scheduler. The resource requirement information, the virtual machine application scheduler obtains the physical machine resource information from the resource manager, and matches the virtual machine resource requirement information with the physical machine resource information, and if it matches completely, notifies the resource manager to start the virtual machine on the physical machine. The application process is deployed on the virtual machine to complete the dynamic deployment of the application process.
本发明第十实施例提供了一种部署应用进程的系统,如图 8所示, 包括应 用进程部署请求解析器 801、应用进程部署调度器 802和虚拟机集群部署解析 器 803。 其中应用进程部署请求解析器 801 , 用于接收并解析应用进程部署请 求,如果解析得到的应用进程部署请求信息包含已有虚拟机集群信息, 向应用 进程部署调度器 802发送该应用进程部署请求信息;如果解析得到的应用进程 部署请求信息不包含虚拟机集群信息,向虚拟机集群部署解析器 803发送所述 应用进程部署请求信息。 应用进程部署调度器 802, 用于接收该应用进程部署 请求信息, 该应用进程部署请求信息包含已有虚拟机集群的信息,根据该应用 进程部署请求信息从资源管理器获取所述已有虚拟机集群的空闲资源信息 ,将 该应用进程部署请求信息与该虚拟机集群的空闲资源信息进行匹配。该虚拟机 集群部署解析器 803 , 用于接收该应用进程部署请求信息, 将该应用进程部署 请求信息解析为虚拟机资源需求信息,进而使虚拟机申请调度器从资源管理器 获取物理机资源信息, 完成该虚拟机资源需求信息与该物理机资源信息的匹 配。  A tenth embodiment of the present invention provides a system for deploying an application process. As shown in FIG. 8, the application process deployment request parser 801, the application process deployment scheduler 802, and the virtual machine cluster deployment parser 803 are provided. The application process deployment request parser 801 is configured to receive and parse the application process deployment request, and if the parsed application process deployment request information includes the existing virtual machine cluster information, send the application process deployment request information to the application process deployment scheduler 802. If the parsed application process deployment request information does not include the virtual machine cluster information, the virtual machine cluster deployment parser 803 sends the application process deployment request information. The application process deployment scheduler 802 is configured to receive the application process deployment request information, where the application process deployment request information includes information of the existing virtual machine cluster, and the existing virtual machine is obtained from the resource manager according to the application process deployment request information. The idle resource information of the cluster matches the application process deployment request information with the idle resource information of the virtual machine cluster. The virtual machine cluster deployment parser 803 is configured to receive the application process deployment request information, and parse the application process deployment request information into virtual machine resource requirement information, so that the virtual machine application scheduler obtains the physical machine resource information from the resource manager. The matching between the virtual machine resource requirement information and the physical machine resource information is completed.
本发明实施例提供的部署应用进程的系统,应用进程部署请求解析器接收 并解析应用进程部署请求,如果应用进程部署请求信息包含已有虚拟机集群的 信息时,将解析得到的应用进程部署请求信息发送到应用进程部署调度器,应 用进程部署调度器获取已有虚拟机集群的空闲资源信息,将该虚拟机集群的空 闲资源信息与应用进程部署请求信息进行匹配,如果该虚拟机集群的空闲资源 信息与应用进程部署请求信息完全匹配,则将应用进程部署到该现有的虚拟机 集群的虚拟机上。如果解析得到的应用进程部署请求信息不包含虚拟机集群信 息, 则将解析得到的应用进程部署请求信息发送到虚拟机集群部署请求解析 器,虚拟机集群部署请求解析器将该应用进程部署请求信息解析为虚拟机资源 需求信息, 进而使虚拟机申请调度器从资源管理器获取物理机资源信息, 完成 该虚拟机资源需求信息与该物理机资源信息的匹配,从而实现在虚拟机上动态 部署应用进程。 The system for deploying an application process provided by the embodiment of the present invention, the application process deployment request parser receives and parses the application process deployment request, and if the application process deployment request information includes information of the existing virtual machine cluster, the application process deployment request is parsed. The information is sent to the application process deployment scheduler, and the application process deployment scheduler obtains the idle resource information of the existing virtual machine cluster, and matches the idle resource information of the virtual machine cluster with the application process deployment request information, if the virtual machine cluster is idle. If the resource information exactly matches the application process deployment request information, the application process is deployed to the virtual machine of the existing virtual machine cluster. If the parsed application process deployment request information does not contain the virtual machine cluster letter The information is sent to the virtual machine cluster deployment request parser, and the virtual machine cluster deployment request parser parses the application process deployment request information into virtual machine resource requirement information, thereby enabling the virtual machine to apply for scheduling. The physical device resource information is obtained from the resource manager, and the virtual machine resource requirement information is matched with the physical machine resource information, so that the application process is dynamically deployed on the virtual machine.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示 例的单元及算法步骤, 能够以电子硬件、 计算机软件或者二者的结合来实现, 为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地 描述了各示例的组成及步骤。 这些功能究竟以硬件还是软件方式来执行,取决 于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用 来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范 围。  Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both, for clarity of hardware and software. Interchangeability, the composition and steps of the various examples have been generally described in terms of function in the above description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
所属领域的技术人员可以清楚地了解到, 为描述的方便和简洁, 上述描述 的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程, 在此不再赘述。  A person skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中, 应该理解到, 所披露的系统、 装置和方 法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示意性 的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可以有另 外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个系统, 或 一些特征可以忽略, 或不执行。 另一点, 所显示或讨论的相互之间的耦合或直 接耦合或通信连接可以是通过一些接口, 装置或单元的间接耦合或通信连接, 可以是电性, 机械或其它的形式。  In the several embodiments provided herein, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.
另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元中, 也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元 中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的 形式实现。 In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or a software functional unit. Formal realization.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售 或使用时, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发 明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全 部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储 介质中, 包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器, 或者网络设备等 )执行本发明各个实施例所述方法的全部或部分步骤。 而前述 的存储介质包括: U盘、 移动硬盘、 只读存储器(ROM, Read-Only Memory )、 随机存取存储器(RAM, Random Access Memory ), 磁碟或者光盘等各种可以 存储程序代码的介质。  The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. .
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于 此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到 变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应 以所述权利要求的保护范围为准。  The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims

权利要求书 Claim
1、 一种部署应用进程的方法, 其特征在于, 包括:  A method for deploying an application process, comprising:
应用进程部署请求解析器接收应用进程部署请求;  The application process deployment request parser receives the application process deployment request;
所述应用进程部署请求解析器解析所述应用进程部署请求;  The application process deployment request parser parses the application process deployment request;
如果解析得到的应用进程部署请求信息包含已有虚拟机集群的信息,则所 述应用进程部署请求解析器向应用进程部署调度器发送所述应用进程部署请 求信息 ,以便所述应用进程部署调度器根据所述应用进程部署请求信息从资源 管理器获取所述已有虚拟机集群的空闲资源信息 ,完成所述应用进程部署请求 信息与所述已有虚拟机集群的空闲资源信息的匹配。  If the parsed application process deployment request information includes the information of the existing virtual machine cluster, the application process deployment request parser sends the application process deployment request information to the application process deployment scheduler, so that the application process deploys the scheduler. Obtaining the idle resource information of the existing virtual machine cluster from the resource manager according to the application process deployment request information, and completing the matching between the application process deployment request information and the idle resource information of the existing virtual machine cluster.
2、 如权利要求 1所述的方法, 其特征在于, 所述应用进程部署请求信息 具体包括:  2. The method according to claim 1, wherein the application process deployment request information specifically includes:
应用进程资源需求、应用进程启动先后顺序、应用进程是否需要独占虚拟 机、 哪些应用进程需要部署在一个虚拟机上、 应用进程拓朴关系、 应用进程自 动调度策略和已有虚拟机集群的信息。  Application process resource requirements, application process startup sequence, application process need to monopolize virtual machines, which application processes need to be deployed on a virtual machine, application process topology relationship, application process automatic scheduling policy, and information of existing virtual machine clusters.
3、 如权利要求 1或 2所述的方法, 其特征在于, 所述已有虚拟机集群的 信息, 具体包括:  The method according to claim 1 or 2, wherein the information of the existing virtual machine cluster specifically includes:
虚拟机集群的名称或者虚拟机集群的地址。  The name of the virtual machine cluster or the address of the virtual machine cluster.
4、 一种部署应用进程的方法, 其特征在于, 包括:  4. A method for deploying an application process, the method comprising:
应用进程部署调度器接收应用进程部署请求解析器发送的应用进程部署 请求信息, 所述应用进程部署请求信息包含已有虚拟机集群的信息;  The application process deployment scheduler receives the application process deployment request information sent by the application process deployment request parser, where the application process deployment request information includes information about the existing virtual machine cluster;
根据所述应用进程部署请求信息从资源管理器获取所述已有虚拟机集群 的空闲资源信息;  Acquiring the idle resource information of the existing virtual machine cluster from the resource manager according to the application process deployment request information;
将所述应用进程部署请求信息与所述已有虚拟机集群的空闲资源信息进 行匹配。  The application process deployment request information is matched with the idle resource information of the existing virtual machine cluster.
5、 如权利要求 4所述的方法, 其特征在于, 所述应用进程部署请求信息 具体包括: The method according to claim 4, wherein the application process deployment request information Specifically include:
应用进程资源需求、应用进程启动先后顺序、应用进程是否需要独占虚拟 机、 哪些应用进程需要部署在一个虚拟机上、 应用进程拓朴关系、 应用进程自 动调度策略和已有虚拟机集群的信息。  Application process resource requirements, application process startup sequence, application process need to monopolize virtual machines, which application processes need to be deployed on a virtual machine, application process topology relationship, application process automatic scheduling policy, and information of existing virtual machine clusters.
6、 如权利要求 4或 5所述的方法, 其特征在于, 所述已有虚拟机集群的 信息, 具体包括:  The method according to claim 4 or 5, wherein the information of the existing virtual machine cluster specifically includes:
虚拟机集群的名称或者虚拟机集群的地址。  The name of the virtual machine cluster or the address of the virtual machine cluster.
7、 一种部署应用进程的方法, 其特征在于, 包括:  7. A method of deploying an application process, the method comprising:
应用进程部署请求解析器接收应用进程部署请求;  The application process deployment request parser receives the application process deployment request;
所述应用进程部署请求解析器解析所述应用进程部署请求;  The application process deployment request parser parses the application process deployment request;
如果解析得到的应用进程部署请求信息不包含虚拟机集群信息,则所述应 用进程部署请求解析器向虚拟机集群部署请求解析器发送所述应用进程部署 请求信息 ,以便所述虚拟机集群部署请求解析器将所述应用进程部署请求信息 解析为虚拟机资源需求信息,向虚拟机申请调度器发送所述虚拟机资源需求信 息,使所述虚拟机申请调度器从资源管理器获取物理机资源信息, 完成所述虚 拟机资源需求信息与所述物理机资源信息的匹配。  If the parsed application process deployment request information does not include the virtual machine cluster information, the application process deployment request parser sends the application process deployment request information to the virtual machine cluster deployment request parser, so that the virtual machine cluster deployment request The parser parses the application process deployment request information into virtual machine resource requirement information, and sends the virtual machine resource requirement information to the virtual machine application scheduler, so that the virtual machine application scheduler obtains the physical machine resource information from the resource manager. And matching the virtual machine resource requirement information with the physical machine resource information.
8、 如权利要求 7所述的方法, 其特征在于, 所述应用进程部署请求信息 具体包括:  The method of claim 7, wherein the application process deployment request information specifically includes:
应用进程资源需求、 应用进程启动顺序、 应用进程是否需要独占虚拟机、 应用进程拓朴关系和应用进程自动调度策略。  Application process resource requirements, application process startup sequence, whether the application process requires exclusive virtual machines, application process topology relationships, and application process automatic scheduling policies.
9、 一种部署应用进程的方法, 其特征在于, 包括:  9. A method of deploying an application process, the method comprising:
虚拟机集群部署请求解析器接收应用进程部署请求解析器发送的应用进 程部署请求信息;  The virtual machine cluster deployment request parser receives the application process deployment request information sent by the application process deployment request parser;
将所述应用进程部署请求信息解析为虚拟机资源需求信息;  Parsing the application process deployment request information into virtual machine resource requirement information;
向虚拟机申请调度器发送所述虚拟机资源需求信息,使所述虚拟机申请调 度器从资源管理器获取物理机资源信息,完成所述虚拟机资源需求信息与所述 物理机资源信息的匹配。 Sending, by the virtual machine, a scheduler, the virtual machine resource requirement information, so that the virtual machine applies for adjustment The controller obtains physical machine resource information from the resource manager, and completes matching between the virtual machine resource requirement information and the physical machine resource information.
10、 如权利要求 9所述的方法, 其特征在于, 所述应用进程部署请求信息 具体包括:  The method according to claim 9, wherein the application process deployment request information specifically includes:
应用进程资源需求、 应用进程启动顺序、 应用进程是否需要独占虚拟机、 应用进程拓朴关系和应用进程自动调度策略。  Application process resource requirements, application process startup sequence, whether the application process requires exclusive virtual machines, application process topology relationships, and application process automatic scheduling policies.
11、 一种应用进程部署请求解析器, 其特征在于, 包括:  11. An application process deployment request parser, comprising:
接收单元, 用于接收应用进程部署请求;  a receiving unit, configured to receive an application process deployment request;
解析单元, 用于解析所述应用进程部署请求;  a parsing unit, configured to parse the application process deployment request;
判断单元,用于判断所述解析单元解析得到的应用进程部署请求信息中是 否包含已有虚拟机集群信息;  a determining unit, configured to determine whether the application process deployment request information parsed by the parsing unit includes the existing virtual machine cluster information;
发送单元,用于当判断单元判断所述应用进程部署请求信息包含已有虚拟 机集群信息时, 向应用进程部署调度器发送所述应用进程部署请求信息,使所 述应用进程部署调度器根据所述应用进程部署请求信息从资源管理器获取所 述已有虚拟机集群的空闲资源信息 ,完成所述应用进程部署请求信息与所述虚 拟机集群的空闲资源信息的匹配;当判断单元判断所述应用进程部署请求信息 不包含虚拟机集群信息时,向虚拟机集群部署请求解析器发送所述应用进程部 署请求信息 ,使所述虚拟机集群部署请求解析器将所述应用进程部署请求信息 解析为虚拟机资源需求信息,进而使虚拟机申请调度器从资源管理器获取物理 机资源信息, 完成所述虚拟机资源需求信息与所述物理机资源信息的匹配。  a sending unit, configured to: when the determining unit determines that the application process deployment request information includes the existing virtual machine cluster information, send the application process deployment request information to the application process deployment scheduler, so that the application process deployment scheduler is configured according to the The application process deployment request information is obtained from the resource manager, and the idle resource information of the existing virtual machine cluster is obtained, and the matching between the application process deployment request information and the idle resource information of the virtual machine cluster is completed; when the determining unit determines the When the application process deployment request information does not include the virtual machine cluster information, the virtual machine cluster deployment request parser sends the application process deployment request information, so that the virtual machine cluster deployment request parser resolves the application process deployment request information to The virtual machine resource requirement information, and the virtual machine application scheduler obtains physical machine resource information from the resource manager, and completes matching between the virtual machine resource requirement information and the physical machine resource information.
12、 一种应用进程部署调度器, 其特征在于, 包括:  12. An application process deployment scheduler, comprising:
接收单元,用于接收应用进程部署请求解析器发送的应用进程部署请求信 息; 所述应用进程部署请求信息包含已有虚拟机集群的信息;  a receiving unit, configured to receive application process deployment request information sent by an application process deployment request parser; the application process deployment request information includes information of an existing virtual machine cluster;
获取单元,用于根据所述应用进程部署请求信息从资源管理器获取所述已 有虚拟机集群的空闲资源信息; 匹配单元,用于将所述应用进程部署请求信息与所述已虚拟机集群的空闲 资源信息进行匹配。 An obtaining unit, configured to acquire, according to the application process deployment request information, the idle resource information of the existing virtual machine cluster from the resource manager; And a matching unit, configured to match the application process deployment request information with the idle resource information of the virtual machine cluster.
13、 一种虚拟机集群部署请求解析器, 其特征在于, 包括:  13. A virtual machine cluster deployment request parser, comprising:
接收单元, 用于接收应用进程部署请求信息;  a receiving unit, configured to receive application process deployment request information;
解析单元, 用于将所述应用进程部署请求信息解析为虚拟机资源需求信 息;  a parsing unit, configured to parse the application process deployment request information into virtual machine resource requirement information;
发送单元, 用于向虚拟机申请调度器发送所述虚拟机资源需求信息,使所 述虚拟机申请调度器从资源管理器获取物理机资源信息,完成所述虚拟机资源 需求信息与所述物理机资源信息的匹配。  a sending unit, configured to send the virtual machine resource requirement information to the virtual machine requesting scheduler, so that the virtual machine application scheduler obtains physical machine resource information from the resource manager, and completes the virtual machine resource requirement information and the physical Matching of machine resource information.
14、 一种部署应用进程的系统, 其特征在于, 包括:  14. A system for deploying an application process, the method comprising:
应用进程部署请求解析器, 用于接收并解析应用进程部署请求,如果解析 得到的应用进程部署请求信息包含已有虚拟机集群的信息,向应用进程部署调 度器发送所述应用进程部署请求信息;如果解析得到的应用进程部署请求信息 不包含虚拟机集群信息 ,向虚拟机集群部署解析器发送所述应用进程部署请求 信息;  The application process deployment request parser is configured to receive and parse the application process deployment request, and if the parsed application process deployment request information includes information of the existing virtual machine cluster, send the application process deployment request information to the application process deployment scheduler; If the parsed application process deployment request information does not include the virtual machine cluster information, send the application process deployment request information to the virtual machine cluster deployment parser;
所述应用进程部署调度器, 用于接收所述应用进程部署请求信息, 所述应 用进程部署请求信息包含已有虚拟机集群的信息,根据所述应用进程部署请求 信息从资源管理器获取所述已有虚拟机集群的空闲资源信息,将所述应用进程 部署请求信息与所述虚拟机集群的空闲资源信息进行匹配;  The application process deployment scheduler is configured to receive the application process deployment request information, where the application process deployment request information includes information of an existing virtual machine cluster, and obtains the information from the resource manager according to the application process deployment request information. The idle resource information of the virtual machine cluster is matched with the idle resource information of the virtual machine cluster;
所述虚拟机集群部署解析器, 用于接收所述应用进程部署请求信息,将所 述应用进程部署请求信息解析为虚拟机资源需求信息,进而使虚拟机申请调度 器从资源管理器获取物理机资源信息,完成所述虚拟机资源需求信息与所述物 理机资源信息的匹配。  The virtual machine cluster deployment parser is configured to receive the application process deployment request information, parse the application process deployment request information into virtual machine resource requirement information, and then enable the virtual machine application scheduler to acquire the physical machine from the resource manager. The resource information completes matching between the virtual machine resource requirement information and the physical machine resource information.
PCT/CN2011/085180 2011-12-31 2011-12-31 Method, device and system for deploying application process WO2013097237A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2011/085180 WO2013097237A1 (en) 2011-12-31 2011-12-31 Method, device and system for deploying application process
CN201180003045.9A CN103534681A (en) 2011-12-31 2011-12-31 Method, device and system for deploying application process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/085180 WO2013097237A1 (en) 2011-12-31 2011-12-31 Method, device and system for deploying application process

Publications (1)

Publication Number Publication Date
WO2013097237A1 true WO2013097237A1 (en) 2013-07-04

Family

ID=48696290

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/085180 WO2013097237A1 (en) 2011-12-31 2011-12-31 Method, device and system for deploying application process

Country Status (2)

Country Link
CN (1) CN103534681A (en)
WO (1) WO2013097237A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975340A (en) * 2016-03-24 2016-09-28 国云科技股份有限公司 Deployment algorithm of application distribution of virtual machine
US10417035B2 (en) 2017-12-20 2019-09-17 At&T Intellectual Property I, L.P. Virtual redundancy for active-standby cloud applications

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105871580A (en) * 2015-11-02 2016-08-17 乐视致新电子科技(天津)有限公司 Cross-cluster automation dispatching operation system and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1490724A (en) * 2002-10-18 2004-04-21 上海贝尔有限公司 Virtual machine for embedded systemic software development
CN101331489A (en) * 2005-12-17 2008-12-24 国际商业机器公司 System and method for deploying an SQL procedure
US20110307887A1 (en) * 2010-06-11 2011-12-15 International Business Machines Corporation Dynamic virtual machine shutdown without service interruptions

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100126496A (en) * 2008-03-19 2010-12-01 스미또모 가가꾸 가부시끼가이샤 Process for production of carbonyl compound

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1490724A (en) * 2002-10-18 2004-04-21 上海贝尔有限公司 Virtual machine for embedded systemic software development
CN101331489A (en) * 2005-12-17 2008-12-24 国际商业机器公司 System and method for deploying an SQL procedure
US20110307887A1 (en) * 2010-06-11 2011-12-15 International Business Machines Corporation Dynamic virtual machine shutdown without service interruptions

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WANG ET AL.: "EVC: Elastic Virtual Cluster Deployment and Management", ELECTRONIC TECHNOLOGY & INFORMATION SCIENCE, CHINA MASTER'S THESES FULL-TEXT DATABASE, 15 November 2011 (2011-11-15), pages 22 - 47 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975340A (en) * 2016-03-24 2016-09-28 国云科技股份有限公司 Deployment algorithm of application distribution of virtual machine
US10417035B2 (en) 2017-12-20 2019-09-17 At&T Intellectual Property I, L.P. Virtual redundancy for active-standby cloud applications
US10990435B2 (en) 2017-12-20 2021-04-27 At&T Intellectual Property I, L.P. Virtual redundancy for active-standby cloud applications

Also Published As

Publication number Publication date
CN103534681A (en) 2014-01-22

Similar Documents

Publication Publication Date Title
JP6549787B2 (en) Method and apparatus for deploying network services
US20220086055A1 (en) Model driven process for automated deployment of domain 2.0 virtualized services and applications on cloud infrastructure
EP3455728B1 (en) Orchestrator for a virtual network platform as a service (vnpaas)
KR102199278B1 (en) Accelerated resource processing method and apparatus, and network function virtualization system
WO2019184164A1 (en) Method for automatically deploying kubernetes worker node, device, terminal apparatus, and readable storage medium
CN104734931B (en) Link establishing method and device between a kind of virtual network function
EP2922238B1 (en) Resource allocation method
CN108255497B (en) Application deployment method and device
EP3082314B1 (en) Resource management method and apparatus
US20170085419A1 (en) System and method for deploying an application
US20070294376A1 (en) Method, apparatus and program product for software provisioning
WO2017020612A1 (en) Container deployment method and apparatus
EP3125468B1 (en) Cloud application processing method and application deployment method and relevant apparatus and system
WO2017166136A1 (en) Vnf resource allocation method and device
WO2014169870A1 (en) Virtual network element automatic loading and virtual machine ip address acquisition method and system, and storage medium
WO2015158108A1 (en) Virtual machine resource changing method, device and virtual network function device
WO2014101475A1 (en) Cloud platform application deployment method and apparatus
US12035231B2 (en) Virtualization management method and apparatus
WO2017185992A1 (en) Method and apparatus for transmitting request message
WO2017035738A1 (en) Resource management method and device
WO2014190544A1 (en) Application deployment method and device
KR20180006971A (en) Hardware acceleration methods and related devices
JP6202091B2 (en) Information processing apparatus and deployment method
CN114979286B (en) Access control method, device, equipment and computer storage medium for container service
WO2013097237A1 (en) Method, device and system for deploying application process

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11879022

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11879022

Country of ref document: EP

Kind code of ref document: A1