An application deployment method, device, equipment and storage medium based on a cloud platform
By creating a proxy virtual machine in the cloud platform and using the management network to communicate with the proxy virtual machine, the problem of isolation between cloud platform and bare metal communication is solved, and the deployment and management of applications on bare metal is realized.
Patent Information
- Application Number
- CN202111255451.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-27
- Publication Date
- 2025-07-04
- Estimated Expiration
- 2041-10-27
AI Technical Summary
In the physical nodes managed by cloud platform, due to the isolation of three networks, the cloud platform cannot communicate directly with the bare metal, and cannot deploy applications on the bare metal by sending commands.
By creating a proxy virtual machine in the cloud platform, using the proxy virtual machine to communicate with the business network of the target bare metal and the application center virtual machine, sending commands to the proxy virtual machine's QGA through the management network, allowing it to download the application installation package from the application center virtual machine, and deploying it on the target bare metal through the proxy virtual machine forwarding command.
Under network isolation, the application deployment of the cloud platform on bare metal is realized, the application management capabilities of the cloud platform are improved, and the application download, installation, configuration and management are supported.
Smart Images

Figure CN114020404B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of application deployment, and more specifically, to an application deployment method, device, equipment and storage medium based on a cloud platform. Background Art
[0002] The cloud computing platform, also known as the cloud platform, refers to a service based on hardware resources and software resources, providing computing, network and storage capabilities. With the continuous development of cloud computing, more and more enterprises have begun to try to use the services provided by the cloud platform to simplify the deployment of services and the unified management and use of services.
[0003] However, in the physical nodes managed by the cloud platform, three-network isolation has gradually become the standard for network deployment. Three-network isolation means that the three networks of the management network, the service network, and the storage network cannot access each other; and the management nodes in the cloud platform are all deployed on the management network, and they cannot directly access the service network where virtual machines are located in the cloud platform. Therefore, in the case of three-network isolation, the cloud platform and the bare machine cannot directly communicate, which results in that during the application deployment process of the cloud platform, the bare machine cannot be controlled to download the corresponding application installation package and deploy the application by sending commands.
[0004] Therefore, how to deploy applications on a bare machine through a cloud platform is a problem that needs to be solved by those skilled in the art. Summary of the Invention
[0005] The purpose of the present invention is to provide an application deployment method, device, equipment and storage medium based on a cloud platform to deploy applications on a bare machine through the cloud platform.
[0006] To achieve the above purpose, the present invention provides an application deployment method based on a cloud platform, including:
[0007] Receiving an application deployment instruction for a target bare machine;
[0008] Creating a target bare machine and a proxy virtual machine according to the application deployment instruction; the proxy virtual machine communicates with the service network of the target bare machine, and the proxy virtual machine communicates with the service network of the application center virtual machine;
[0009] Sending a command to the QGA of the proxy virtual machine to enable the proxy virtual machine to download an application installation package from the application center virtual machine and perform application deployment on the target bare machine.
[0010] Wherein, the sending a command to the QGA of the proxy virtual machine includes:
[0011] Sending a command to the physical node where the proxy virtual machine is located through the management network, so that the physical node sends the command to the QGA of the proxy virtual machine through the serial port protocol.
[0012] Among them, sending a command to the QGA of the proxy virtual machine to enable the proxy virtual machine to download an application installation package from the application center virtual machine includes:
[0013] Sending a download command to the QGA of the proxy virtual machine to enable the proxy virtual machine to download the corresponding application installation package from the application center virtual machine.
[0014] Among them, after the proxy virtual machine downloads the corresponding application installation package from the application center virtual machine, it further includes:
[0015] The proxy virtual machine uninstalls the service network card that communicates with the application center virtual machine.
[0016] Among them, performing application deployment on the target bare machine includes:
[0017] Sending a transmission command to the QGA of the proxy virtual machine to enable the proxy virtual machine to transmit the application installation package to the target bare machine;
[0018] Sending a deployment command to the QGA of the proxy virtual machine to enable the proxy virtual machine to send the deployment command to the target bare machine to control the target bare machine to install and configure the application.
[0019] Among them, the proxy virtual machine sending the deployment command to the target bare machine includes:
[0020] The proxy virtual machine sends the deployment command to the command converter, so that the command converter sends the deployment command to the target bare machine through SSH.
[0021] Among them, after performing application deployment on the target bare machine, it further includes:
[0022] Sending a control command to the QGA of the proxy virtual machine to enable the proxy virtual machine to send the control command to the deployed application on the target bare machine to control the deployed application to perform corresponding operations.
[0023] To achieve the above object, the present invention further provides an application deployment device based on a cloud platform, including:
[0024] A receiving module, configured to receive an application deployment instruction for a target bare machine;
[0025] A creating module, configured to create a target bare machine and a proxy virtual machine according to the application deployment instruction; the proxy virtual machine communicates with the service network of the target bare machine, and the proxy virtual machine communicates with the service network of the application center virtual machine;
[0026] A sending module, configured to send a command to the QGA of the proxy virtual machine, so that the proxy virtual machine downloads an application installation package from the application center virtual machine and deploys the application on the target bare machine.
[0027] To achieve the above object, the present invention further provides an electronic device, including:
[0028] A memory, configured to store a computer program;
[0029] A processor, configured to implement the steps of the above application deployment method based on a cloud platform when executing the computer program.
[0030] To achieve the above object, the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above application deployment method based on a cloud platform are implemented.
[0031] As can be seen from the above solutions, the embodiments of the present invention provide an application deployment method based on a cloud platform, including: receiving an application deployment instruction for a target bare machine; creating a target bare machine and a proxy virtual machine according to the application deployment instruction; enabling the proxy virtual machine to communicate with the business network of the target bare machine, and enabling the proxy virtual machine to communicate with the business network of the application center virtual machine; sending a command to the QGA of the proxy virtual machine, so that the proxy virtual machine downloads an application installation package from the application center virtual machine and deploys the application on the target bare machine. It can be seen that in the case of network isolation, the cloud platform can download the application installation package from the application center virtual machine through the proxy virtual machine and deploy the application on the target bare machine by forwarding commands through the proxy virtual machine, effectively realizing the application deployment ability of the cloud platform. The present invention also discloses an application deployment device, device and storage medium based on a cloud platform, which can also achieve the above technical effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention, and those of ordinary skill in the art can obtain other drawings without creative efforts based on these drawings.
[0033] Figure 1 It is a schematic flowchart of an application deployment method based on a cloud platform disclosed in an embodiment of the present invention;
[0034] Figure 2 It is a schematic flowchart of another application deployment method based on a cloud platform disclosed in an embodiment of the present invention;
[0035] Figure 3A schematic diagram of an application deployment process disclosed in an embodiment of the present invention;
[0036] Figure 4 A schematic diagram of the structure of an application deployment device based on a cloud platform disclosed in an embodiment of the present invention;
[0037] Figure 5 A schematic diagram of the structure of an electronic device disclosed in an embodiment of the present invention. Detailed implementation manners
[0038] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0039] An embodiment of the present invention discloses an application deployment method, device, equipment, and storage medium based on a cloud platform to deploy an application on a bare machine through the cloud platform.
[0040] See Figure 1 , a schematic diagram of the process of an application deployment method provided by an embodiment of the present invention. The method specifically includes the following steps:
[0041] S101. Receive an application deployment instruction for a target bare machine;
[0042] It should be noted that in this embodiment, the cloud platform has the function of creating a bare machine through an image, and before executing this solution, the cloud platform already has images, application center virtual machines, etc. used for deploying the bare machine. Therefore, after receiving the application deployment instruction for the target bare machine in this solution, S102 can be continued to create the target bare machine and the proxy virtual machine.
[0043] S102. Create a target bare machine and a proxy virtual machine according to the application deployment instruction; the proxy virtual machine is interconnected with the service network of the target bare machine, and the proxy virtual machine is interconnected with the service network of the application center virtual machine;
[0044] In this solution, after receiving the above application deployment instruction, the cloud platform will automatically create a proxy virtual machine according to the request parameters in the instruction. The proxy virtual machine has two network cards, which can be interconnected with the service network of the target bare machine and the service network of the application center virtual machine respectively. Then, a target bare machine is created using a specific image, and the image has been pre-adapted to the application and uploaded to the cloud platform.
[0045] S103. Send a command to the QGA of the proxy virtual machine, so that the proxy virtual machine downloads the application installation package from the application center virtual machine and deploys the application on the target bare machine.
[0046] It should be noted that QGA (qemu-guest-agent) is an ordinary application program running inside the virtual machine, and its purpose is to implement a way for the host machine and the virtual machine to interact, and this way does not depend on the network. Therefore, in this application, in order to still be able to deploy applications by sending commands in the case of network isolation, the cloud host can send commands to the physical node where the proxy virtual machine is located through the management network, so that the physical node sends commands to the QGA of the proxy virtual machine through the serial port protocol. Through this method, the cloud host in this solution can send commands to the proxy server.
[0047] Specifically, the cloud platform generally has the following steps in the process of deploying applications:
[0048] 1. Create a bare machine using a specific image, and the created bare machine is logically installed with an operating system;
[0049] 2. Control the bare machine to download the application installation package from the network by sending commands;
[0050] 3. After waiting for the application installation package to be downloaded, the cloud platform needs to control the bare machine to decompress, install, configure the application, etc. through commands, and finally realize the deployment of the application on the bare machine.
[0051] Therefore, the command sent by the cloud platform in this application to the QGA of the proxy virtual machine is specifically used for: controlling the proxy virtual machine to download the application installation package from the application center virtual machine, controlling the proxy virtual machine to transfer the downloaded application installation package to the target logic, and sending the application deployment instruction to the target bare machine through the proxy virtual machine, so as to realize the deployment of the application.
[0052] In summary, in the case of network isolation, the cloud platform can download the application installation package from the application center virtual machine through the proxy virtual machine, and realize the deployment of the application on the target bare machine by forwarding commands through the proxy virtual machine, effectively realizing the application deployment ability of the cloud platform.
[0053] See Figure 2 , another schematic flow chart of the application deployment method based on the cloud platform provided by the embodiment of the present invention, and this method specifically includes the following steps:
[0054] S201. Receive the application deployment instruction for the target bare machine;
[0055] S202. Create a target bare machine and a proxy virtual machine according to the application deployment instruction; the proxy virtual machine is interconnected with the service network of the target bare machine, and the proxy virtual machine is interconnected with the service network of the application center virtual machine;
[0056] S203. Send a download command to the QGA of the proxy virtual machine to enable the proxy virtual machine to download the corresponding application installation package from the application center virtual machine;
[0057] S204. Send a transfer command to the QGA of the proxy virtual machine to enable the proxy virtual machine to transfer the application installation package to the target bare machine;
[0058] See Figure 3 , which is a schematic diagram of an application deployment process disclosed in an embodiment of the present invention. Through Figure 3 It can be seen that in the case of network isolation, a proxy virtual machine is created. The proxy virtual machine connects to two service networks as needed. Service network 1 communicates with the bare machine cluster, and service network 2 communicates with the application center virtual machine. The management node where the cloud platform is located can control the proxy virtual machine to send commands in the form of the management network QGA. Among them, the virtual machine QGA is to install qemu-guest-agent in the virtual machine. Through this agent, the cloud platform can connect to the physical node where the proxy virtual machine is located through the management network. The physical node controls the proxy virtual machine through the serial port protocol simulated in the proxy virtual machine. In this application, through this method of sending commands to the proxy virtual machine, it is not necessary for the cloud platform to communicate with the service network of the proxy virtual machine, and it only needs to communicate with the management network of the physical machine where the virtual machine is located.
[0059] It should be noted that the application deployed on the target bare machine in this solution can be software with specific functions provided by the cloud platform based on virtual machines, etc. Taking the database service in Inspur Cloud Sea os as an example: If a user wants to obtain a 3-node database cluster service, when the Cloud Sea platform receives a request to create a database service, the Cloud Sea platform will first use a virtual machine template to create a target bare machine. After the target bare machine is created, the Cloud Sea platform will send instructions to control the proxy virtual machine to download the installation package from the Cloud Sea platform software repository and transfer it to the target bare machine. Finally, the Cloud Sea platform sends instructions to the target bare machine through the proxy virtual machine to complete the application installation and its cluster configuration. Among them, in this solution, after the proxy virtual machine downloads the corresponding application installation package from the application center virtual machine, the proxy virtual machine will uninstall the service network card that communicates with the application center virtual machine. By this method, resource waste can be avoided.
[0060] S205. Send a deployment command to the QGA of the proxy virtual machine to enable the proxy virtual machine to send the deployment command to the target bare machine and control the target bare machine to install and configure the application;
[0061] In this embodiment, when the proxy virtual machine sends the deployment command to the target bare machine, specifically, the proxy virtual machine may send the deployment command to the command converter, so that the command converter sends the deployment command to the target bare machine in the way of SSH (Secure Shell). See Figure 3 , when the cloud platform in this solution needs to send a command to the bare machine, it can send the command to the proxy virtual machine through the QGA of the proxy virtual machine, and the command converter sends the command to the bare machine in the way of SSH.
[0062] Specifically, when the command converter sends a command to the logic, the deployment command at least includes a first parameter, a second parameter, and a third parameter; among them, the first parameter is the IP (Internet Protocol) of the bare machine to be controlled, and the second parameter is the authentication information of the bare machine SSH. The command converter can use this authentication information to send the instruction to the bare machine in the way of SSH; the third parameter is the instruction to be sent to the bare machine, such as the script path and parameters that the specific bare machine system needs to run. That is to say, after receiving the deployment command, the command converter sends the instruction to the specified address of the bare machine in the way of SSH, and automatically disconnects the SSH connection with the bare machine after the command is executed. Through the above method, this application can solve the problem of application download of the bare machine and the problem of sending deployment commands under the network isolation conditions of the cloud platform.
[0063] S206. Send a control command to the QGA of the proxy virtual machine, so that the proxy virtual machine sends the control command to the deployed application on the target bare machine to control the deployed application to perform corresponding operations.
[0064] It should be noted that after the application is successfully deployed on the target bare machine in this solution, the cloud platform can indirectly control the application on the target logic to perform relevant actions through the proxy virtual machine, such as creating a database, backing up, restoring, and parameter management of the MySQL (relational database management system) application.
[0065] Here, in order to clearly illustrate this solution, a method for deploying a bare metal application cluster based on virtual proxy forwarding in a private cloud scenario is proposed. The specific implementation process is as follows:
[0066] 1) After the cloud platform receives a request to create a bare machine application, it automatically creates a proxy virtual machine according to the request parameters. This proxy virtual machine has two network cards, which can communicate with the service network of the bare machine and the service network of the application center virtual machine respectively.
[0067] 2) Create a bare machine using a specific image, and this image has been pre-adapted to the application and uploaded to the cloud platform;
[0068] 3) Wait for the proxy virtual machine to be created. After the proxy virtual machine is successfully created, the cloud platform sends a command to the proxy virtual machine through QGA to download the required software installation package from the application center virtual machine;
[0069] 4) After waiting for the installation package of the proxy virtual machine to be downloaded, the proxy virtual machine uninstalls the service network card that communicates with the application center virtual machine;
[0070] 5) After waiting for the bare machine to be created, the cloud platform sends a command to the proxy virtual machine through QGA to transfer the software installation package to the bare machine;
[0071] 6) After waiting for the installation package transfer to be completed, the cloud platform sends a command to the proxy virtual machine through QGA. The proxy virtual machine sends a command to the bare machine through a command converter for software installation and configuration;
[0072] 7) Wait for the configuration to be completed, and the software can be deployed on the bare machine;
[0073] 8) After the software is deployed, the cloud platform can indirectly control the application through the proxy virtual machine to perform relevant actions, such as creating a database, backing up, restoring, parameter management, etc. for the MySQL application.
[0074] In summary, it can be seen that the present invention effectively solves the problem of application deployment based on a bare machine under the conditions of isolation of the management network, service network, and storage network by adding an application center virtual machine and a proxy virtual machine in the cloud platform. At the same time, the proxy virtual machine can provide common management functions of the application, such as parameter management, application configuration, backup, etc., effectively improving the application management ability of the cloud platform.
[0075] Next, the deployment device, equipment, and storage medium provided by the embodiments of the present invention will be introduced. The deployment device, equipment, and storage medium described below can be mutually referred to the deployment method described above.
[0076] See Figure 4 , a schematic structural diagram of an application deployment device based on a cloud platform provided by an embodiment of the present invention, including:
[0077] A receiving module 11, configured to receive an application deployment instruction for a target bare machine;
[0078] A creating module 12, configured to create a target bare machine and a proxy virtual machine according to the application deployment instruction; the proxy virtual machine communicates with the service network of the target bare machine, and the proxy virtual machine communicates with the service network of the application center virtual machine;
[0079] A sending module 13, configured to send a command to the QGA of the proxy virtual machine, so that the proxy virtual machine downloads an application installation package from the application center virtual machine and performs application deployment on the target bare machine.
[0080] Wherein, the sending module is specifically configured to: send a command to the physical node where the proxy virtual machine is located through the management network, so that the physical node sends the command to the QGA of the proxy virtual machine through the serial port protocol.
[0081] Wherein, the sending module includes:
[0082] The first sending unit is configured to send a download command to the QGA of the proxy virtual machine, so that the proxy virtual machine downloads a corresponding application installation package from the application center virtual machine, and the proxy virtual machine uninstalls the service network card that communicates with the application center virtual machine.
[0083] Wherein, the sending module includes:
[0084] The second sending unit is configured to send a transmission command to the QGA of the proxy virtual machine, so that the proxy virtual machine transmits the application installation package to the target bare machine;
[0085] The third sending module is configured to send a deployment command to the QGA of the proxy virtual machine, so that the proxy virtual machine sends the deployment command to the target bare machine to control the target bare machine to install and configure the application; wherein, the proxy virtual machine sends the deployment command to a command converter, so that the command converter sends the deployment command to the target bare machine in an SSH manner.
[0086] Wherein, the sending module further includes:
[0087] The fourth sending module is configured to send a control command to the QGA of the proxy virtual machine, so that the proxy virtual machine sends the control command to the deployed application on the target bare machine to control the deployed application to perform corresponding operations
[0088] See Figure 5 , an embodiment of the present invention further provides a schematic diagram of the structure of an electronic device, including:
[0089] A memory 21, configured to store a computer program;
[0090] A processor 22, configured to implement the steps of the application deployment method based on the cloud platform described in the above method embodiment when executing the computer program.
[0091] In this embodiment, the device may be a PC (Personal Computer, personal computer), or may be a terminal device such as a smart phone, a tablet computer, a handheld computer, or a portable computer.
[0092] The device may include a memory 21, a processor 22, and a bus 23.
[0093] Among them, the memory 21 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (such as SD or DX memory, etc.), magnetic memory, magnetic disk, optical disc, etc. The memory 21 can be an internal storage unit of the device in some embodiments, such as the hard disk of the device. The memory 21 can also be an external storage device of the device in other embodiments, such as a plug-in hard disk equipped on the device, a SmartMedia Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. Further, the memory 21 can also include both the internal storage unit and the external storage device of the device. The memory 21 can be used not only to store application software installed on the device and various types of data, such as program codes for executing the deployment method, etc., but also to temporarily store data that has been output or will be output.
[0094] The processor 22 can be a central processing unit (CPU), a controller, a microcontroller, a microprocessor or other data processing chips in some embodiments, and is used to run the program codes stored in the memory 21 or process data, such as program codes for executing the deployment method, etc.
[0095] The bus 23 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of representation, Figure 5 only a thick line is used to represent it in the figure, but it does not mean that there is only one bus or one type of bus.
[0096] Further, the device can also include a network interface 24. The network interface 24 can optionally include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), and is usually used to establish a communication connection between the device and other electronic devices.
[0097] Optionally, the device may further include a user interface 25, which may include a display, an input unit such as a keyboard, and optionally, the user interface 25 may further include a standard wired interface and a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch liquid crystal display, and an OLED (Organic Light-Emitting Diode) toucher, etc. Among them, the display may also be appropriately referred to as a display screen or a display unit, and is used to display the information processed in the device and to display a visual user interface.
[0098] Figure 5 Only the device with components 21-25 is shown. Those skilled in the art can understand that Figure 5 the shown structure does not constitute a limitation on the device, and it may include fewer or more components than shown, or combine certain components, or have different component arrangements.
[0099] The embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the application deployment method based on a cloud platform described in the above method embodiment are implemented.
[0100] Among them, the storage medium may include: various media such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc that can store program codes.
[0101] In this specification, the various embodiments are described in a progressive manner. The key point of each embodiment is to illustrate the differences from other embodiments. The same or similar parts among the various embodiments can be referred to each other.
[0102] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be obvious to those skilled in the art. The general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but will be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. An application deployment method based on a cloud platform, characterized in that, including: Receiving an application deployment instruction for a target bare machine; Creating a target bare machine and a proxy virtual machine according to the application deployment instruction; the proxy virtual machine is interconnected with the service network of the target bare machine, and the proxy virtual machine is interconnected with the service network of the application center virtual machine; Sending a command to the QGA of the proxy virtual machine, so that the proxy virtual machine downloads an application installation package from the application center virtual machine and performs application deployment on the target bare machine; Wherein, sending a command to the QGA of the proxy virtual machine includes: Sending a command to the physical node where the proxy virtual machine is located through the management network, so that the physical node sends the command to the QGA of the proxy virtual machine through the serial port protocol.
2. The application deployment method according to claim 1, wherein Sending a command to the QGA of the proxy virtual machine, so that the proxy virtual machine downloads an application installation package from the application center virtual machine, includes: Sending a download command to the QGA of the proxy virtual machine, so that the proxy virtual machine downloads a corresponding application installation package from the application center virtual machine.
3. The application deployment method according to claim 2, wherein After the proxy virtual machine downloads a corresponding application installation package from the application center virtual machine, it further includes: The proxy virtual machine uninstalls the service network card interconnected with the application center virtual machine.
4. The application deployment method according to claim 2, wherein Performing application deployment on the target bare machine includes: Sending a transmission command to the QGA of the proxy virtual machine, so that the proxy virtual machine transmits the application installation package to the target bare machine; Sending a deployment command to the QGA of the proxy virtual machine, so that the proxy virtual machine sends the deployment command to the target bare machine to control the target bare machine to install and configure the application.
5. The application deployment method according to claim 4, wherein The proxy virtual machine sending the deployment command to the target bare machine includes: The proxy virtual machine sends the deployment command to a command converter, so that the command converter sends the deployment command to the target bare machine by means of SSH.
6. The application deployment method according to any one of claims 1 to 5, characterized in that, After performing application deployment on the target bare machine, it further includes: Sending a control command to the QGA of the proxy virtual machine, so that the proxy virtual machine sends the control command to the deployed application on the target bare machine to control the deployed application to perform corresponding operations.
7. An application deployment device based on a cloud platform, characterized in that, including: A receiving module, configured to receive an application deployment instruction for a target bare machine; A creating module, configured to create a target bare machine and a proxy virtual machine according to the application deployment instruction; The proxy virtual machine is interconnected with the service network of the target bare machine, and the proxy virtual machine is interconnected with the service network of the application center virtual machine; A sending module, configured to send a command to the QGA of the proxy virtual machine, so that the proxy virtual machine downloads an application installation package from the application center virtual machine and performs application deployment on the target bare machine; Wherein, the sending module is specifically configured to send a command to the physical node where the proxy virtual machine is located through the management network, so that the physical node sends the command to the QGA of the proxy virtual machine through the serial port protocol.
8. An electronic device, characterized in that, including: A memory, configured to store a computer program; A processor, configured to implement the steps of the application deployment method based on a cloud platform according to any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the steps of the application deployment method based on a cloud platform according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Virtual application server configuration method under cloud environment
CN103685567A
Safe and efficient method for deploying virtual machine software
CN105278999A