Virtual machine creation method, device, equipment and storage medium based on CloudStack platform

By using the provisioned compilation language on the CloudStack platform to create PowerShell process pools, detect and connect databases, and create virtual machine basic templates, the problem of inefficient creation of virtual machines in the existing technology is solved, and a more efficient virtual machine creation process is achieved.

CN112286633BActive Publication Date: 2025-03-25PING AN TECH (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011169300.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-28
Publication Date
2025-03-25
Estimated Expiration
2040-10-28

AI Technical Summary

Technical Problem

When creating virtual machines using the CloudStack platform, the existing technology creates virtual machines inefficiently due to the differences in the connection between the CloudStack platform and the traditional VMVare environment and the differences in PowerShell scripting instructions.

Method used

Create a target PowerShell process pool through a preset compilation language, and call this process pool to detect whether the basic information data of the CloudStack platform is the preset configuration information data. If so, connect the CloudStack platform and the preset database, create a virtual machine basic template based on the basic information data, and use the template and preset component scheduling data to create a virtual machine.

Benefits of technology

Improves the efficiency of creating virtual machines under the CloudStack platform, simplifies the creation process, and reduces the need to use complex and redundant instructions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112286633B_ABST
    Figure CN112286633B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of virtual machine creation, and discloses a virtual machine creation method, device, equipment and storage medium based on the CloudStack platform, which are used to improve the efficiency of creating virtual machines under the CloudStack platform. The virtual machine creation method based on the CloudStack platform includes: creating a target PowerShell process pool using a preset compilation language; calling the target PowerShell process pool to detect whether the basic information data in the CloudStack platform is preset configuration information data; if the basic information data in the CloudStack platform is preset configuration information data, connecting the CloudStack platform with a preset database according to the basic information data in the CloudStack platform, and creating a virtual machine basic template according to the basic information data; calling the virtual machine basic template and preset component scheduling data based on the creation request and the target PowerShell process pool to create a virtual machine. In addition, the present invention also relates to blockchain technology, and the basic information data can be stored in the blockchain.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of virtual machine creation, and in particular to a method, device, equipment and storage medium for creating a virtual machine based on a CloudStack platform. Background Art

[0002] In the existing Citrix virtual desktop system, the types of hosting connections that can be established include Citrix XenServer, VMVare and Amazon, etc. The server virtualization system corresponding to the Citrix virtual desktop system makes the data center more flexible and efficient through faster application interaction, higher IT resource availability and utilization, and can provide advanced functions required for key workloads (operating systems, applications and configurations).

[0003] CloudStack is a cloud computing platform with high availability and scalability. It can provide cloud computing solutions and accelerate the deployment, management and configuration of highly scalable public and private clouds. With CloudStack as the foundation, cloud services can be quickly and easily created through existing infrastructure. Cloud services have the advantages of high efficiency, unlimited scale and fast deployment. By organizing and coordinating users' virtualized resources to build an effective virtual environment, users can also quickly and easily establish exclusive cloud services on the existing architecture.

[0004] PowerShell scripts are essential tools for creating virtual desktops. They are mainly used to configure virtual desktop information in the role of administrator.

[0005] In the existing technology, the access of cloud desktop needs to establish a connection with the CloudStack platform and can realize the basic functions of establishing and publishing virtual machines in the Citrix virtual desktop system. However, due to the difference in the connection between the CloudStack platform and the traditional VMVare environment, and the different instructions executed by the PowerShell script, in the process of creating virtual machines using cloud desktops, complex and redundant instructions are used, making the efficiency of creating virtual machines low. Summary of the invention

[0006] The present invention provides a virtual machine creation method based on a CloudStack platform, which is used to improve the efficiency of creating virtual machines under the CloudStack platform.

[0007] A first aspect of the present invention provides a method for creating a virtual machine based on a CloudStack platform, comprising: creating a target PowerShell process pool using a preset compiled language, the target PowerShell process pool being used to call instructions; calling the target PowerShell process pool to detect whether basic information data in the CloudStack platform is preset configuration information data; if the basic information data in the CloudStack platform is preset configuration information data, connecting the CloudStack platform with a preset database according to the basic information data in the CloudStack platform, and creating a virtual machine basic template according to the basic information data; obtaining a creation request, calling the virtual machine basic template and preset component scheduling data based on the creation request and the target PowerShell process pool, and creating a virtual machine.

[0008] Optionally, in a first implementation of the first aspect of the present invention, the use of a preset compiled language to create a target PowerShell process pool, and the target PowerShell process pool is used to call instructions, including: using a preset compiled language to create a process pool constructor to obtain an initial PowerShell process pool, and start the initial PowerShell process pool; in the initial PowerShell process pool, using the preset compiled language to create a signal processing pipeline function, set standard parameters of the initial PowerShell process pool, set the working directory of the initial PowerShell process pool, return the environment string mapping map of the initial PowerShell process pool, and set the property parameters of the initial PowerShell process pool to obtain a basic PowerShell process pool; in the basic PowerShell process pool, the virtual machine plug-in is loaded through the preset compiled language to input preset virtual machine parameter data and call the function to obtain a configured PowerShell process pool; the state of the calling instruction in the configured PowerShell process pool is converted to a ready state to obtain a target PowerShell process pool, and the target PowerShell process pool is used to call instructions.

[0009] Optionally, in a second implementation method of the first aspect of the present invention, calling the target PowerShell process pool to detect whether the basic information data in the CloudStack platform is preset configuration information data includes: obtaining the basic information data in the CloudStack platform; calling the detection instructions and preset environment configuration parameters in the target PowerShell process pool, and determining whether the basic information data in the CloudStack platform is the preset configuration information data through the open interface of the CloudStack platform.

[0010] Optionally, in a third implementation manner of the first aspect of the present invention, if the basic information data in the CloudStack platform is preset configuration information data, then connecting the CloudStack platform with a preset database according to the basic information data in the CloudStack platform, and creating a virtual machine basic template according to the basic information data includes: if the basic information data in the CloudStack platform is preset configuration information data, obtaining original connection management data of the preset database, and rewriting and calling the original connection management data according to target connection management data of the CloudStack platform; connecting the CloudStack platform with the preset database through the target connection management data; calling the virtual machine initial template in the preset database, obtaining the basic information data, and inputting the basic information data into the virtual machine initial template to create a virtual machine basic template, wherein the basic information data includes name configuration information, storage configuration information, network configuration information and graphics configuration information.

[0011] Optionally, in a fourth implementation of the first aspect of the present invention, obtaining a creation request, calling the virtual machine base template and preset component scheduling data based on the creation request and the target PowerShell process pool, and creating a virtual machine include: obtaining a creation request, extracting virtual machine creation information from the creation request; calling the target PowerShell process pool using a preset compiled language, creating a configuration directory, and inputting the virtual machine creation information into the configuration directory, wherein the configuration directory is used to record the name and domain account of the virtual machine; binding the configuration directory to the virtual machine base template to obtain a virtual machine configuration template; obtaining preset component scheduling data in a preset external mount component, calling the target PowerShell process pool using the preset compiled language, inputting the preset component scheduling data into the virtual machine configuration template, and creating a virtual machine.

[0012] Optionally, in a fifth implementation of the first aspect of the present invention, after obtaining the creation request and creating the virtual machine by calling the virtual machine base template and preset component scheduling data based on the creation request and the target PowerShell process pool, it also includes: when the CloudStack platform fails to successfully create the virtual machine, obtaining a rollback request, and implementing a rollback in a preset background instruction box according to the location address in the rollback request.

[0013] Optionally, in a sixth implementation of the first aspect of the present invention, when the CloudStack platform fails to successfully create a virtual machine, a rollback request is obtained, and according to the location address in the rollback request, a rollback is implemented in a preset background instruction box, including: when the CloudStack platform fails to successfully create a virtual machine, a rollback request is obtained, and the location address to be rolled back is extracted from the rollback request; the location address is input into a preset rollback instruction to obtain a target instruction, and the target instruction is executed in the preset background instruction box to implement the rollback of the target instruction.

[0014] The second aspect of the present invention provides a virtual machine creation device based on the CloudStack platform, comprising: a first creation module, used to create a target PowerShell process pool using a preset compiled language, the target PowerShell process pool being used to call instructions; a detection module, used to call the target PowerShell process pool to detect whether basic information data in the CloudStack platform is preset configuration information data; a connection module, if the basic information data in the CloudStack platform is preset configuration information data, then used to connect the CloudStack platform with a preset database according to the basic information data in the CloudStack platform, and create a virtual machine basic template according to the basic information data; a second creation module, used to obtain a creation request, and based on the creation request and the target PowerShell process pool, call the virtual machine basic template and preset component scheduling data to create a virtual machine.

[0015] Optionally, in a first implementation of the second aspect of the present invention, the first creation module is specifically used to: create a process pool constructor using a preset compiled language to obtain an initial PowerShell process pool, and start the initial PowerShell process pool; in the initial PowerShell process pool, use the preset compiled language to create a signal processing pipeline function, set standard parameters of the initial PowerShell process pool, set the working directory of the initial PowerShell process pool, return the environment string mapping map of the initial PowerShell process pool, and set the property parameters of the initial PowerShell process pool to obtain a basic PowerShell process pool; in the basic PowerShell process pool, load the virtual machine plug-in through the preset compiled language to input preset virtual machine parameter data and call the function to obtain a configured PowerShell process pool; convert the state of the calling instruction in the configured PowerShell process pool to a ready state to obtain a target PowerShell process pool, and the target PowerShell process pool is used for calling instructions.

[0016] Optionally, in a second implementation of the second aspect of the present invention, the detection module is specifically used to: obtain basic information data in the CloudStack platform; call the detection instructions and preset environment configuration parameters in the target PowerShell process pool, and determine whether the basic information data in the CloudStack platform is preset configuration information data through the open interface of the CloudStack platform.

[0017] Optionally, in a third implementation manner of the second aspect of the present invention, the connection module is specifically used to: if the basic information data in the CloudStack platform is preset configuration information data, obtain original connection management data of the preset database, and rewrite and call the original connection management data according to the target connection management data of the CloudStack platform; connect the CloudStack platform with the preset database through the target connection management data; call the virtual machine initial template in the preset database to obtain the basic information data, and input the basic information data into the virtual machine initial template to create a virtual machine basic template, wherein the basic information data includes name configuration information, storage configuration information, network configuration information and graphics configuration information.

[0018] Optionally, in a fourth implementation of the second aspect of the present invention, the second creation module is specifically used to: obtain a creation request, extract virtual machine creation information from the creation request; use a preset compiled language to call the target PowerShell process pool, create a configuration directory, and input the virtual machine creation information into the configuration directory, wherein the configuration directory is used to record the name and domain account of the virtual machine; bind the configuration directory to the virtual machine base template to obtain a virtual machine configuration template; obtain preset component scheduling data in a preset external mount component, use the preset compiled language to call the target PowerShell process pool, input the preset component scheduling data into the virtual machine configuration template, and create a virtual machine.

[0019] Optionally, in a fifth implementation of the second aspect of the present invention, the CloudStack platform-based virtual machine creation device also includes: a rollback module, which is used to obtain a rollback request when the CloudStack platform fails to successfully create the virtual machine, and implement the rollback in a preset background instruction box according to the location address in the rollback request.

[0020] Optionally, in a sixth implementation of the second aspect of the present invention, the rollback module is specifically used to: when the CloudStack platform fails to successfully create a virtual machine, obtain a rollback request, and extract a location address to be rolled back in the rollback request; input the location address into a preset rollback instruction to obtain a target instruction, and execute the target instruction in a preset background instruction box to implement the rollback of the target instruction.

[0021] A third aspect of the present invention provides a virtual machine creation device based on the CloudStack platform, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the virtual machine creation device based on the CloudStack platform executes the above-mentioned virtual machine creation method based on the CloudStack platform.

[0022] A fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned method for creating a virtual machine based on the CloudStack platform.

[0023] In the technical solution provided by the present invention, a target PowerShell process pool is created by using a preset compiled language, and the target PowerShell process pool is used to call instructions; the target PowerShell process pool is called to detect whether the basic information data in the CloudStack platform is preset configuration information data; if the basic information data in the CloudStack platform is preset configuration information data, the CloudStack platform is connected to a preset database according to the basic information data in the CloudStack platform, and a virtual machine basic template is created according to the basic information data; the creation request is obtained, and the virtual machine basic template and the preset component scheduling data are called based on the creation request and the target PowerShell process pool to create a virtual machine. In an embodiment of the present invention, a target PowerShell process pool is created by using a preset compiled language, and then the target PowerShell process pool is called to connect the CloudStack platform with a preset database, thereby creating a virtual machine basic template, and finally a virtual machine is created using the virtual machine basic template and the preset component scheduling data, thereby improving the efficiency of creating virtual machines under the CloudStack platform. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 A schematic diagram of an embodiment of a method for creating a virtual machine based on a CloudStack platform in an embodiment of the present invention;

[0025] Figure 2 A schematic diagram of another embodiment of a method for creating a virtual machine based on a CloudStack platform in an embodiment of the present invention;

[0026] Figure 3 A schematic diagram of an embodiment of a device for creating a virtual machine based on a CloudStack platform in an embodiment of the present invention;

[0027] Figure 4 A schematic diagram of another embodiment of a device for creating a virtual machine based on a CloudStack platform in an embodiment of the present invention;

[0028] Figure 5 The figure is a schematic diagram of an embodiment of a virtual machine creation device based on the CloudStack platform in an embodiment of the present invention. DETAILED DESCRIPTION

[0029] The embodiments of the present invention provide a method, apparatus, device and storage medium for creating a virtual machine based on a CloudStack platform, which are used to improve the efficiency of creating a virtual machine under the CloudStack platform.

[0030] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0031] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , an embodiment of a method for creating a virtual machine based on the CloudStack platform in an embodiment of the present invention includes:

[0032] 101. Create a target PowerShell process pool using a preset compiled language, and the target PowerShell process pool is used to call instructions;

[0033] It is understandable that the execution subject of the present invention may be a virtual machine creation device based on the CloudStack platform, or may be a terminal or a server, which is not specifically limited here. The embodiment of the present invention is described by taking a server as the execution subject as an example.

[0034] It should be noted that PowerShell is a task automation and configuration management framework, and is further understood as a command line instruction and scripting environment that enables command line users and script writers to take advantage of .NET Framework and .NET Core functions. In PowerShell, management tasks are usually performed by cmdlets, which can be assembled into scripts, executable files (usually stand-alone applications), or instantiated through regular .NET classes (or WMI / COM objects), and PowerShell runs data from different storage locations to establish a resource manager or registry. In this application, a PowerShell process pool is created using the preset editing language Java to build an instruction library for calling virtual machines.

[0035] It is further explained that the process is the basis of the operating system structure, which is an executing program or a program instance running in the computer. When the server processes the process, it can assign the process to the processor and execute it by the processor, and the execution is displayed in a single order. The process pool is a technical application composed of resource processes and management processes. Among them, the resource process creates idle processes in advance, and the resource process will distribute the processes to be processed to the idle process for processing, while the management process is responsible for creating resource processes, handing over the processes to be processed to the idle resource process for processing or recycling the resource processes that have been processed. The process pool can store programs prepared in advance. When the server needs to call a program, it can directly convert the state of the program from the ready state to the execution state to realize the execution of the program.

[0036] 102. Call the target PowerShell process pool to detect whether the basic information data in the CloudStack platform is the preset configuration information data;

[0037] It is understandable that CloudStack is an open source cloud computing platform with high availability and scalability, and is also an open source cloud computing solution. It can accelerate the deployment, management, and configuration of highly scalable public and private clouds (IaaS). Using CloudStack as a foundation, data center operators can quickly and easily create cloud services through existing infrastructure.

[0038] Here, the server needs to use the preset editing language to call the PowerShell process pool to detect whether the CloudStack platform is available. Specifically, the server will call the detection program in the PowerShell process pool through the Java language, and change the state of the detection program from ready to execution, so as to detect whether the various resources in the CloudStack platform are available, that is, whether the basic information data is the same as the preset configuration information data. Among them, the resource indicators detected by the server can be: registered name, machine domain account, instruction storage address, network connectivity, etc.

[0039] It should be emphasized that in order to further ensure the security of the basic information data in the above-mentioned CloudStack platform, the basic information data in the above-mentioned CloudStack platform can also be stored in a blockchain node.

[0040] 103. If the basic information data in the CloudStack platform is preset configuration information data, connect the CloudStack platform to the preset database according to the basic information data in the CloudStack platform, and create a virtual machine basic template according to the basic information data;

[0041] When the server detects that the basic information data in the CloudStack platform is the preset configuration information data, the server needs to connect the CloudStack platform to the preset database so that the CloudStack platform can call data from the preset database.

[0042] It is further explained that the preset database here refers to a dynamic link library (dll), which is a library containing codes and data that can be used by multiple programs at the same time. In the existing technology of creating virtual machines using cloud desktops, the connection management mode of the dll database is the VM Center (a type of virtual machine center) mode, while in this application, the server uses the CloudStack mode. Therefore, the server needs to change the management and operation and maintenance data in the dll database, among which the data items changed to the CloudStack connection mode are: power on / off data, restart data, destruction data, etc.

[0043] When using the CloudStack platform to create virtual machines, there is a large amount of public data. For example, the network configuration parameters and storage data addresses of each virtual machine are the same. In order to improve the efficiency of creating virtual machines, the server uses the basic information in the CloudStack platform to create a basic template for the virtual machine.

[0044] 104. Obtain a creation request, and based on the creation request and the target PowerShell process pool, call the virtual machine basic template and preset component scheduling data to create a virtual machine.

[0045] The server obtains a creation request for creating a virtual machine input by the user, uses the creation request and the target PowerShell process pool to call the virtual machine basic template and preset component scheduling data, fills the creation information into the virtual machine basic template, and generates a virtual machine.

[0046] It should be noted that the preset component scheduling data here is the preset parameter information mounted on the hard disk outside the computer. The preset component scheduling data is to incorporate the created virtual machine into the scheduling system of the Citrix (desktop virtualization) component, and enable the created virtual machine to be normally registered and used in the domain. Only virtual machines that are normally registered in the domain can be normally connected to the intranet of the domain controller.

[0047] In the embodiment of the present invention, a target PowerShell process pool is created by using a preset compiled language, and then the target PowerShell process pool is called to connect the CloudStack platform and a preset database, thereby creating a virtual machine basic template, and finally using the virtual machine basic template and preset component scheduling data to create a virtual machine, thereby improving the efficiency of creating virtual machines under the CloudStack platform.

[0048] See also Figure 2 Another embodiment of the method for creating a virtual machine based on the CloudStack platform in the embodiment of the present invention includes:

[0049] 201. Using a preset compiled language to create a target PowerShell process pool, the target PowerShell process pool is used to call instructions;

[0050] Specifically, the server first uses a preset compiled language to create a process pool constructor to obtain an initial PowerShell process pool and start the initial PowerShell process pool; secondly, the server uses a preset compiled language to create a signal processing pipeline function in the initial PowerShell process pool, sets standard parameters of the initial PowerShell process pool, sets a working directory of the initial PowerShell process pool, returns an environment string mapping map of the initial PowerShell process pool, and sets property parameters of the initial PowerShell process pool to obtain a basic PowerShell process pool; then, in the basic PowerShell process pool, the server loads a virtual machine plug-in through a preset compiled language to input preset virtual machine parameter data and call a function to obtain a configured PowerShell process pool; finally, the server converts the state of a call instruction in the configured PowerShell process pool to a ready state to obtain a target PowerShell process pool, which is used for calling instructions.

[0051] Based on the high availability and cross-platform nature of Java, the preset compiled language used in this application is Java. In the prior art, when the Java preset compiled language performs related operations with PowerShell, the program instructions are mainly processed by Java generating a ps file, and the ps file is run in the cmd running mode. In the actual application of cloud desktops, since the steps of creating a virtual machine need to be divided and the program instructions need to be continuously operated, but the results of each step of operating the program instruction in the middle are uncertain, the method of generating a ps file using Java is not applicable. Therefore, this application uses Java to build a PowerShell process pool to process the program instructions.

[0052] When creating a target PowerShell process pool using the preset compiled language Java, the server first creates a process pool constructor. The process pool constructor provides a method for starting and managing processes (applications). Each process instruction generated by the process pool constructor can manage a process attribute set. Thus, the initial PowerShell process pool can be obtained. Then the initial PowerShell process pool is started. The server uses the preset compiled language Java to create a signal processing pipeline function, set the standard parameters of the initial PowerShell process pool, set the working directory of the initial PowerShell process pool, return the environment string map of the initial PowerShell process pool, and set the attribute parameters of the initial PowerShell process pool to obtain the basic PowerShell process pool. Some creation and setting instructions are as follows:

[0053] List <string>command() / / Returns the operating system program and parameters of the initial PowerShell.

[0054] ProcessBuilder command(List <string>command) / / Set the operating system program and parameters of the initial PowerShell process pool.

[0055] ProcessBuilder command(String...command) / / Set the operating system program and parameters of the initial PowerShell process pool.

[0056] Filedirectory() / / Returns the working directory of the initial PowerShell process pool.

[0057] ProcessBuilder directory(Filedirectory) / / Set the working directory of the initial PowerShell process pool.

[0058] Map<String,String> environment() / / Returns a string map view of the initial PowerShell process pool environment.

[0059] ProcessBuilder redirectErrorStream(boolean redirectErrorStream) / / Set the redirectErrorStream property of the initial PowerShell process pool.

[0060] After the server generates the basic PowerShell process pool, it loads the virtual machine plug-in through the preset compilation language Java to input the preset virtual machine parameter data and call the function to obtain the configuration PowerShell process pool. Here, the virtual machine plug-in refers to the Citrix plug-in, which extends the service life of the network infrastructure and improves the security of the network environment. Then, in the configuration PowerShell process pool, the state of the call instruction is converted to the ready state to obtain the target PowerShell process pool, which is used for the call instruction. It can be understood that when the server processes the relevant instructions in the PowerShell process pool, the server randomly selects a call instruction with a ready state from the PowerShell process pool, changes the state of the call instruction to execution, and completes the creation of the target PowerShell process pool for the call instruction. If there is no process in the target PowerShell process pool available when the server requests the call instruction, the server waits for 2 seconds and tries again, and starts a new call instruction to add to the PowerShell process pool.

[0061] It is further explained that the call instruction constantly changes its running state in the process pool. Generally, a call instruction has the following three basic states:

[0062] (1) Ready state

[0063] When a call instruction has been allocated all necessary resources except the central processing unit (CPU), it can be executed immediately as long as a processor is obtained. At this time, the state of the call instruction is ready.

[0064] (2) Execution (Running) status

[0065] When the call instruction has been assigned to the CPU and is being executed on the processor, the state of the call instruction is called the execution state.

[0066] (3) Blocked state

[0067] When a call instruction is being executed but cannot be executed due to waiting for a certain event to occur, the CPU is abandoned and the process is blocked. There are many events that may cause the process to be blocked, such as waiting for I / O to complete, requesting a buffer that cannot be satisfied, waiting for a letter (signal), etc.

[0068] During the execution of the call instruction, it continuously switches from one state to another. It can be in the ready state and the execution state multiple times, or it can be in the blocked state multiple times. The three states of the call instruction and their transitions are as follows:

[0069] (1) The ready state changes to the execution state

[0070] When the call instruction is in the ready state, after the process scheduler allocates a processor to it, the state of the call instruction changes from the ready state to the execution state.

[0071] (2) The execution state changes to the ready state

[0072] When the call instruction is in the execution state, the processing period of the process has satisfied the time slice allocated to the process by the processor, so the processor needs to be released, and the state of the call instruction changes from the execution state to the ready state.

[0073] (3) The execution state changes to the blocking state

[0074] When a call instruction being executed cannot continue to execute because it is waiting for a certain event to occur, the state of the call instruction changes from the execution state to the blocking state.

[0075] (4) The blocked state changes to the ready state

[0076] When the call instruction is in the blocking state, if the event it is waiting for has occurred, the state of the call instruction changes from the blocking state to the ready state.

[0077] 202. Call the target PowerShell process pool to detect whether the basic information data in the CloudStack platform is the preset configuration information data;

[0078] Specifically, the server obtains basic information data in the CloudStack platform; the server calls the detection instructions and preset environment configuration parameters in the target PowerShell process pool, and determines whether the basic information data in the CloudStack platform is the preset configuration information data through the open interface of the CloudStack platform.

[0079] Here, the basic information data in the CloudStack platform includes the registration name, machine domain account, instruction storage address, network connectivity, storage data in the cloud desktop environment, the network environment of the cloud desktop, system image, CPU configuration parameters of the virtual machine configuration, etc. Specifically, the server will use the preset compilation language Java to call the detection instructions in the target PowerShell process pool and the preset environment configuration parameters set in advance in the target PowerShell process pool, convert the state of the detection program from ready to execution, and then detect whether the basic information data is the same as the preset configuration information data through the open interface of the target CloudStack platform.

[0080] It should be emphasized that in order to further ensure the security of the basic information data in the above-mentioned CloudStack platform, the basic information data in the above-mentioned CloudStack platform can also be stored in a blockchain node.

[0081] 203. If the basic information data in the CloudStack platform is preset configuration information data, connect the CloudStack platform to the preset database according to the basic information data in the CloudStack platform, and create a virtual machine basic template according to the basic information data;

[0082] Specifically, if the basic information data in the CloudStack platform is preset configuration information data, the server obtains the original connection management data of the preset database, and rewrites the original connection management data according to the target connection management data of the CloudStack platform; the server connects the CloudStack platform to the preset database through the target connection management data; the virtual machine initial template is called in the preset database, the server obtains the basic information data, and inputs the basic information data into the virtual machine initial template to create a virtual machine basic template, the basic information data includes name configuration information, storage configuration information, network configuration information and graphic configuration information.

[0083] When the server is checking the basic information data in the CloudStack platform, it is checking the availability of the CloudStack platform's storage address and network environment in the basic information data. Only when the CloudStack platform is in an available state, that is, when the basic information data is the same as the preset configuration information data, will the server proceed to the next step and connect the CloudStack platform to the preset database.

[0084] It should be noted that the pre-set database here refers to the dynamic link library dll, which is a library containing codes and data that can be used by multiple programs at the same time. In the existing technology of creating virtual machines using cloud desktops, the connection management mode of the dll database is the VM Center (a type of virtual machine center) mode, while in this application, the server uses the CloudStack mode. Therefore, the server needs to change the management and operation and maintenance data in the dll database, among which the data items changed to the CloudStack connection mode are: power on / off data, restart data, destruction data, etc.

[0085] It is further explained that the basic information data also contains some basic data for creating virtual machines. By inputting these basic information data into the initial template of the virtual machine, a basic template of the virtual machine can be generated. When the server needs to generate a virtual machine, it can directly call the basic template of the virtual machine, which improves the efficiency of creating virtual machines. The basic data that also exists in the above basic information data are as follows:

[0086] (1) Name configuration information: the name of the virtual machine (must be globally unique), the memory size of the virtual machine (in MB), the number of VCPUs, and CPU characteristics.

[0087] (2) Storage configuration information: specifies the storage device and its properties, location and attributes, etc. Common options are:

[0088] device: device type, such as cdrom, disk or floppy, etc. The default is disk;

[0089] bus: disk bus type, its value can be ide, scsi, usb, virtio or xen;

[0090] perms: access permissions, such as rw, ro or sh (shared readable and writable), the default is rw;

[0091] size: the size of the new disk image, in GB;

[0092] cache: cache model, its values ​​are none, writethrouth (cache read) and writeback (cache read and write);

[0093] format: disk image format, such as raw, qcow2, vmdk, etc.

[0094] sparse: The disk image uses a sparse format, that is, space of the specified size is not allocated immediately.

[0095] (3) Network configuration information: specifies the network type and interface properties of the network interface, such as MAC address, driver mode, etc. Common options are:

[0096] bridge=BRIDGE: connects to the bridge device named "BRIDEFG";

[0097] network=NAME: connect to the network named "NAME";

[0098] model: the network device number seen in GuestOS, such as e1000, rtl8139 or virtio, etc.

[0099] mac: Fixed MAC address; a random address will be used if this option is omitted, but in either case, for KVM, the first three segments must be 52:54:00.

[0100] (4) Graphics configuration information: defines the configuration related to the virtual machine display function, such as VNC related configuration. Common options are:

[0101] TYPE: specifies the display type, which can be vnc, sdl, soice or none. The default is vnc.

[0102] port: the port that the server listens on when TYPE is vnc or spice;

[0103] listen: The IP address that the server listens to when TYPE is vnc or spice. The default is 127.0.0.1, which can be modified in / etc / libvirt / qemu;

[0104] password: When TYPE is vnc or spice, specify the authentication password for remote access to the listening service.

[0105] 204. Obtain a creation request, and based on the creation request and the target PowerShell process pool, call the virtual machine basic template and preset component scheduling data to create a virtual machine;

[0106] Specifically, the server first obtains a creation request and extracts virtual machine creation information from the creation request; secondly, the server uses a preset compiled language to call the target PowerShell process pool, creates a configuration directory, and inputs the virtual machine creation information into the configuration directory, where the configuration directory is used to record the name and domain account of the virtual machine; then the server binds the configuration directory to the virtual machine basic template to obtain the virtual machine configuration template; finally, the server obtains preset component scheduling data in a preset external mount component, uses a preset compiled language to call the target PowerShell process pool, inputs the preset component scheduling data into the virtual machine configuration template, and creates a virtual machine.

[0107] The server obtains a creation request for creating a virtual machine input by the user, and obtains virtual machine creation information corresponding to the virtual machine to be created from the creation request. The virtual machine creation information here includes: virtual machine creation name, virtual machine domain account, etc., and then enters the virtual machine creation information into the configuration directory. The configuration directory here is an empty computer directory established by using the Java preset compilation language to call the process instruction in the target PowerShell process pool. The server fills the virtual machine creation information into the configuration directory, and completes the generation of the configuration directory.

[0108] It should be noted that the server binds the configuration directory to the virtual machine basic template to obtain the virtual machine configuration template. Finally, the server obtains the preset component scheduling data in the preset external mounting component, uses the preset compilation language to call the target PowerShell process pool, and inputs the preset component scheduling data into the virtual machine configuration template to generate a virtual machine. The preset component scheduling data here is the preset parameter information mounted on the hard disk outside the computer. The preset component scheduling data is to incorporate the created virtual machine into the scheduling system of the citrix (desktop virtualization) component, and to enable the created virtual machine to be registered and used normally in the domain. Only virtual machines that are normally registered in the domain can be normally connected to the intranet of the domain controller.

[0109] 205. When the CloudStack platform fails to successfully create the virtual machine, a rollback request is obtained, and the rollback is implemented in a preset background instruction box according to the location address in the rollback request.

[0110] Specifically, when the CloudStack platform fails to successfully create a virtual machine, the server obtains a rollback request and extracts the location address to be rolled back from the rollback request; the server inputs the location address into a preset rollback instruction, obtains a target instruction, and executes the target instruction in a preset background instruction box to implement the rollback of the target instruction.

[0111] Rollback refers to the act of restoring program instructions or data to the most recent correct hash value in the database when a program instruction or data error occurs. During the rollback process, it is necessary to specify which correct hash value to roll back to. Generally, the rollback is performed by rolling back program instructions through a rollback request input by the user. It should be noted that the rollback request contains the location address (hash value) of the required rollback. The server performs the rollback operation through the rollback instruction. The rollback instruction is: git instruction. The location address is input into the rollback instruction to obtain the target instruction. Then the server executes the target instruction in the preset background instruction box to complete the rollback request.

[0112] For example, the target instruction is git reset hard commit-id, which means that all program instructions after the location address commit-id will be deleted, that is, the program instructions will be rolled back to the position of commit-id.

[0113] In the embodiment of the present invention, a target PowerShell process pool is created by using a preset compiled language, and then the target PowerShell process pool is called to connect the CloudStack platform and a preset database, thereby creating a virtual machine basic template, and finally using the virtual machine basic template and preset component scheduling data to create a virtual machine, thereby improving the efficiency of creating virtual machines under the CloudStack platform.

[0114] The above describes the method for creating a virtual machine based on the CloudStack platform in the embodiment of the present invention. The following describes the device for creating a virtual machine based on the CloudStack platform in the embodiment of the present invention. Figure 3 In one embodiment of the present invention, a virtual machine creation device based on the CloudStack platform includes:

[0115] A first creation module 301 is used to create a target PowerShell process pool using a preset compiled language, wherein the target PowerShell process pool is used to call instructions;

[0116] The detection module 302 is used to call the target PowerShell process pool to detect whether the basic information data in the CloudStack platform is the preset configuration information data;

[0117] A connection module 303, if the basic information data in the CloudStack platform is preset configuration information data, is used to connect the CloudStack platform with a preset database according to the basic information data in the CloudStack platform, and create a virtual machine basic template according to the basic information data;

[0118] The second creation module 304 is used to obtain a creation request, and based on the creation request and the target PowerShell process pool, call the virtual machine basic template and preset component scheduling data to create a virtual machine.

[0119] In the embodiment of the present invention, a target PowerShell process pool is created by using a preset compiled language, and then the target PowerShell process pool is called to connect the CloudStack platform and a preset database, thereby creating a virtual machine basic template, and finally using the virtual machine basic template and preset component scheduling data to create a virtual machine, thereby improving the efficiency of creating virtual machines under the CloudStack platform.

[0120] See also Figure 4 Another embodiment of the virtual machine creation device based on the CloudStack platform in the embodiment of the present invention includes:

[0121] A first creation module 301 is used to create a target PowerShell process pool using a preset compiled language, wherein the target PowerShell process pool is used to call instructions;

[0122] The detection module 302 is used to call the target PowerShell process pool to detect whether the basic information data in the CloudStack platform is the preset configuration information data;

[0123] A connection module 303, if the basic information data in the CloudStack platform is preset configuration information data, is used to connect the CloudStack platform with a preset database according to the basic information data in the CloudStack platform, and create a virtual machine basic template according to the basic information data;

[0124] The second creation module 304 is used to obtain a creation request, and based on the creation request and the target PowerShell process pool, call the virtual machine basic template and preset component scheduling data to create a virtual machine.

[0125] Optionally, the first creation module 301 is specifically used for:

[0126] Using a preset compiled language to create a process pool constructor, obtain an initial PowerShell process pool, and start the initial PowerShell process pool;

[0127] In the initial PowerShell process pool, the preset compiled language is used to create a signal processing pipeline function, set standard parameters of the initial PowerShell process pool, set a working directory of the initial PowerShell process pool, return an environment string map of the initial PowerShell process pool, and set property parameters of the initial PowerShell process pool to obtain a basic PowerShell process pool;

[0128] In the basic PowerShell process pool, the virtual machine plug-in is loaded by the preset compiled language to input preset virtual machine parameter data and call a function to obtain a configured PowerShell process pool;

[0129] The state of the calling instruction in the configured PowerShell process pool is converted into a ready state to obtain a target PowerShell process pool, and the target PowerShell process pool is used for the calling instruction.

[0130] Optionally, the detection module 302 is specifically used for:

[0131] Obtain basic information data from the CloudStack platform;

[0132] The detection instruction and the preset environment configuration parameters in the target PowerShell process pool are called, and it is determined through the open interface of the CloudStack platform whether the basic information data in the CloudStack platform is the preset configuration information data.

[0133] Optionally, the connection module 303 is specifically used for:

[0134] If the basic information data in the CloudStack platform is preset configuration information data, original connection management data of the preset database is obtained, and the original connection management data is rewritten and called according to the target connection management data of the CloudStack platform;

[0135] Connecting the CloudStack platform to the preset database through the target connection management data;

[0136] The virtual machine initial template is called in the preset database to obtain the basic information data, and the basic information data is input into the virtual machine initial template to create a virtual machine basic template. The basic information data includes name configuration information, storage configuration information, network configuration information and graphic configuration information.

[0137] Optionally, the second creation module 304 is specifically used for:

[0138] Obtain a creation request, and extract virtual machine creation information from the creation request;

[0139] Using a preset compiled language to call the target PowerShell process pool, create a configuration directory, and input the virtual machine creation information into the configuration directory, wherein the configuration directory is used to record the name and domain account of the virtual machine;

[0140] Binding the configuration directory to the virtual machine basic template to obtain a virtual machine configuration template;

[0141] The preset component scheduling data in the preset external mounting component is obtained, the target PowerShell process pool is called by the preset compilation language, the preset component scheduling data is input into the virtual machine configuration template, and a virtual machine is created.

[0142] Optionally, the virtual machine creation device based on the CloudStack platform also includes:

[0143] The rollback module 305 is used to obtain a rollback request when the CloudStack platform fails to create a virtual machine, and implement the rollback in a preset background instruction box according to the location address in the rollback request.

[0144] Optionally, the rollback module 305 is specifically used for:

[0145] When the CloudStack platform fails to successfully create a virtual machine, a rollback request is obtained, and the location address to be rolled back is extracted from the rollback request;

[0146] The positioning address is input into a preset rollback instruction to obtain a target instruction, and the target instruction is executed in a preset background instruction frame to implement the rollback of the target instruction.

[0147] In the embodiment of the present invention, a target PowerShell process pool is created by using a preset compiled language, and then the target PowerShell process pool is called to connect the CloudStack platform and a preset database, thereby creating a virtual machine basic template, and finally using the virtual machine basic template and preset component scheduling data to create a virtual machine, thereby improving the efficiency of creating virtual machines under the CloudStack platform.

[0148] above Figure 3 and Figure 4 The virtual machine creation device based on the CloudStack platform in the embodiment of the present invention is described in detail from the perspective of modular functional entities. The virtual machine creation device based on the CloudStack platform in the embodiment of the present invention is described in detail from the perspective of hardware processing.

[0149] Figure 5 1 is a schematic diagram of a structure of a virtual machine creation device based on the CloudStack platform provided by an embodiment of the present invention. The virtual machine creation device 500 based on the CloudStack platform may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 510 (for example, one or more processors) and a memory 520, and one or more storage media 530 (for example, one or more mass storage devices) storing application programs 533 or data 532. Among them, the memory 520 and the storage medium 530 may be short-term storage or persistent storage. The program stored in the storage medium 530 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the virtual machine creation device 500 based on the CloudStack platform. Furthermore, the processor 510 may be configured to communicate with the storage medium 530 to execute a series of instruction operations in the storage medium 530 on the virtual machine creation device 500 based on the CloudStack platform.

[0150] The virtual machine creation device 500 based on the CloudStack platform may also include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input and output interfaces 560, and / or one or more operating systems 531, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. Those skilled in the art will appreciate that Figure 5 The structure of the virtual machine creation device based on the CloudStack platform shown does not constitute a limitation on the virtual machine creation device based on the CloudStack platform, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0151] The present invention also provides a virtual machine creation device based on the CloudStack platform, wherein the computer device includes a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the steps of the virtual machine creation method based on the CloudStack platform in the above-mentioned embodiments.

[0152] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the method for creating a virtual machine based on the CloudStack platform.

[0153] Furthermore, the computer-usable storage medium may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of the blockchain node, etc.

[0154] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0155] The blockchain referred to in this invention is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.

[0156] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

[0157] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.< / string> < / string>

Claims

1. A method for creating a virtual machine based on the CloudStack platform, characterized in that: The method for creating a virtual machine based on the CloudStack platform includes: Creating a target PowerShell process pool using a preset compiled language, wherein the target PowerShell process pool is used to call instructions; Calling the target PowerShell process pool to detect whether the basic information data in the CloudStack platform is the preset configuration information data; If the basic information data in the CloudStack platform is preset configuration information data, connecting the CloudStack platform with a preset database according to the basic information data in the CloudStack platform, and creating a virtual machine basic template according to the basic information data; Obtaining a creation request, and calling the virtual machine basic template and preset component scheduling data based on the creation request and the target PowerShell process pool to create a virtual machine; The method of creating a target PowerShell process pool by using a preset compiled language, wherein the target PowerShell process pool is used to call instructions, comprises: creating a process pool constructor by using a preset compiled language, obtaining an initial PowerShell process pool, and starting the initial PowerShell process pool; in the initial PowerShell process pool, creating a signal processing pipeline function by using the preset compiled language, setting standard parameters of the initial PowerShell process pool, setting a working directory of the initial PowerShell process pool, returning an environment string mapping map of the initial PowerShell process pool, and setting property parameters of the initial PowerShell process pool, thereby obtaining a basic PowerShell process pool; in the basic PowerShell process pool, loading a virtual machine plug-in by using the preset compiled language, inputting preset virtual machine parameter data, and calling a function, thereby obtaining a configured PowerShell process pool; converting the state of the calling instruction in the configured PowerShell process pool into a ready state, thereby obtaining a target PowerShell process pool, wherein the target PowerShell process pool is used to call instructions; If the basic information data in the CloudStack platform is preset configuration information data, then the CloudStack platform is connected to a preset database according to the basic information data in the CloudStack platform, and a virtual machine basic template is created according to the basic information data, including: if the basic information data in the CloudStack platform is preset configuration information data, original connection management data of the preset database is obtained, and the original connection management data is rewritten and called according to target connection management data of the CloudStack platform; the CloudStack platform is connected to the preset database through the target connection management data; the virtual machine initial template is called in the preset database to obtain the basic information data, and the basic information data is input into the virtual machine initial template to create a virtual machine basic template, wherein the basic information data includes name configuration information, storage configuration information, network configuration information and graphic configuration information.

2. The method for creating a virtual machine based on the CloudStack platform according to claim 1, characterized in that: The calling of the target PowerShell process pool to detect whether the basic information data in the CloudStack platform is preset configuration information data includes: Obtain basic information data from the CloudStack platform; The detection instruction and the preset environment configuration parameters in the target PowerShell process pool are called, and it is determined through the open interface of the CloudStack platform whether the basic information data in the CloudStack platform is the preset configuration information data.

3. The method for creating a virtual machine based on the CloudStack platform according to claim 1, characterized in that: The obtaining of the creation request, calling the virtual machine basic template and preset component scheduling data based on the creation request and the target PowerShell process pool, and creating the virtual machine includes: Obtain a creation request, and extract virtual machine creation information from the creation request; Using a preset compiled language to call the target PowerShell process pool, create a configuration directory, and input the virtual machine creation information into the configuration directory, wherein the configuration directory is used to record the name and domain account of the virtual machine; Binding the configuration directory to the virtual machine basic template to obtain a virtual machine configuration template; The preset component scheduling data in the preset external mounting component is obtained, the target PowerShell process pool is called by the preset compilation language, the preset component scheduling data is input into the virtual machine configuration template, and a virtual machine is created.

4. The method for creating a virtual machine based on the CloudStack platform according to any one of claims 1 to 3, characterized in that: After obtaining the creation request, calling the virtual machine basic template and the preset component scheduling data based on the creation request and the target PowerShell process pool to create the virtual machine, the method further includes: When the CloudStack platform fails to successfully create a virtual machine, it obtains a rollback request and implements the rollback in a preset background instruction box according to the location address in the rollback request.

5. The method for creating a virtual machine based on the CloudStack platform according to claim 4, characterized in that: When the CloudStack platform fails to successfully create a virtual machine, a rollback request is obtained, and according to the location address in the rollback request, a rollback is implemented in a preset background instruction box, including: When the CloudStack platform fails to successfully create a virtual machine, a rollback request is obtained, and the location address to be rolled back is extracted from the rollback request; The positioning address is input into a preset rollback instruction to obtain a target instruction, and the target instruction is executed in a preset background instruction frame to implement the rollback of the target instruction.

6. A virtual machine creation device based on the CloudStack platform, characterized in that: The virtual machine creation device based on the CloudStack platform includes: A first creation module is used to create a target PowerShell process pool using a preset compiled language, wherein the target PowerShell process pool is used to call instructions; A detection module, used to call the target PowerShell process pool to detect whether the basic information data in the CloudStack platform is the preset configuration information data; A connection module, if the basic information data in the CloudStack platform is preset configuration information data, is used to connect the CloudStack platform with a preset database according to the basic information data in the CloudStack platform, and create a virtual machine basic template according to the basic information data; A second creation module is used to obtain a creation request, and based on the creation request and the target PowerShell process pool, call the virtual machine basic template and preset component scheduling data to create a virtual machine; The first creation module is specifically used to: create a process pool constructor using a preset compiled language to obtain an initial PowerShell process pool, and start the initial PowerShell process pool; in the initial PowerShell process pool, use the preset compiled language to create a signal processing pipeline function, set standard parameters of the initial PowerShell process pool, set the working directory of the initial PowerShell process pool, return the environment string mapping map of the initial PowerShell process pool, and set the property parameters of the initial PowerShell process pool to obtain a basic PowerShell process pool; in the basic PowerShell process pool, load the virtual machine plug-in through the preset compiled language to input preset virtual machine parameter data and call the function to obtain a configuration PowerShell process pool; convert the state of the call instruction in the configuration PowerShell process pool to a ready state to obtain a target PowerShell process pool, and the target PowerShell process pool is used for calling instructions; The connection module is specifically used for: if the basic information data in the CloudStack platform is preset configuration information data, then obtaining original connection management data of the preset database, and rewriting and calling the original connection management data according to the target connection management data of the CloudStack platform; connecting the CloudStack platform with the preset database through the target connection management data; calling the virtual machine initial template in the preset database, obtaining the basic information data, and inputting the basic information data into the virtual machine initial template to create a virtual machine basic template, wherein the basic information data includes name configuration information, storage configuration information, network configuration information and graphic configuration information.

7. A virtual machine creation device based on the CloudStack platform, characterized in that: The CloudStack platform-based virtual machine creation device includes: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instruction in the memory so that the CloudStack platform-based virtual machine creation device executes the CloudStack platform-based virtual machine creation method as described in any one of claims 1-5.

8. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, a method for creating a virtual machine based on the CloudStack platform as described in any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Method for constructing monitoring Agent based on CloudStack virtual nodes

    CN103167034A

  • Virtual machine initialization method and apparatus based on cloud platform

    CN107038062A