Virtual machine creation method and device, equipment and storage medium

By automatically identifying and scheduling resources, the problem of low efficiency and error-prone manual creation of virtual machines is solved, and efficient virtual machine creation in a multi-console environment is achieved.

CN118779067APending Publication Date: 2024-10-15SHUI YOU INFORMATION TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411170329.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

In a multi-console environment, manually creating virtual machines is inefficient and error-prone, especially in resource scheduling between test or production environments and logging in to the virtual machine console.

Method used

By loading the virtual machine configuration information input by the user, it automatically identifies available clusters for business purposes, reads hardware resource information, system templates and network information, generates virtual machine creation instructions, and generates virtual machines based on the virtual machine configuration information in the target available cluster. machine to avoid manual intervention.

Benefits of technology

It realizes automated virtual machine creation, improves efficiency, reduces errors, and meets the need for rapid delivery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118779067A_ABST
    Figure CN118779067A_ABST
Patent Text Reader

Abstract

The invention discloses a virtual machine creation method, device and equipment and a storage medium, and is applied to the technical field of virtual machines. Virtual machine configuration information input by a user is loaded to a target virtual machine console; identifying an available cluster under the service purpose information in the target virtual machine console; reading hardware resource information, system template information and network information of the available cluster; if it is queried that the hardware resource information meets the resource water level, the system template information contains a system template in the virtual machine configuration information, and the network segment information contains a network address in the virtual machine configuration information, determining the available cluster as a target available cluster, and generating a virtual machine creation instruction; and when the virtual machine creation instruction is identified, generating a virtual machine in the target available cluster based on the virtual machine configuration information. By automatically scheduling the resources under the corresponding cluster based on the service environment to create the virtual machine, the problems of low creation efficiency and high error rate caused by manual creation of the virtual machine are avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of virtual machine technology, and in particular to a virtual machine creation method, device, equipment and computer-readable storage medium. Background Art

[0002] A virtual machine refers to a complete computer system that runs in a completely isolated environment and has complete hardware system functions, simulated by software. Depending on the network and business level attributes, the business environment is generally divided into a test environment and a production environment. Different environments have a set of virtual machine consoles. In the case of multiple consoles, if the user wants to apply for a virtual machine in a test or production environment, it is necessary to manually log in to the corresponding console. Due to differences in environments, it is also necessary to determine whether the resources scheduled by each console are redundant. This method of manually creating virtual machines is inefficient and prone to errors. Summary of the invention

[0003] The purpose of the present invention is to provide a virtual machine creation method, device, equipment and computer-available storage medium, which are applied to the field of virtual machine technology. The method automatically schedules resources to create virtual machines in a corresponding cluster based on the business environment, thereby avoiding the problems of low creation efficiency and easy errors caused by manual creation of virtual machines.

[0004] In order to solve the above technical problems, the present invention provides a virtual machine creation method, comprising:

[0005] Loading the virtual machine configuration information input by the user to the target virtual machine console; the target virtual machine console is the virtual machine console under the environment information in the virtual machine configuration information;

[0006] Reading the business usage information in the virtual machine configuration information, and identifying the available clusters under the business usage information in the target virtual machine console;

[0007] Reading hardware resource information, system template information and network information of the available cluster;

[0008] If it is found that the hardware resource information meets the resource water level, the system template information contains the system template in the virtual machine configuration information, and the network segment information contains the network address in the virtual machine configuration information, the available cluster is determined as the target available cluster, and a virtual machine creation instruction is generated;

[0009] After the virtual machine creation instruction is identified, a virtual machine is generated in the target available cluster based on the virtual machine configuration information.

[0010] Optionally, after the virtual machine creation instruction is identified, generating a virtual machine in the target available cluster based on the virtual machine configuration information includes:

[0011] When the virtual machine creation instruction is identified, the virtual machine configuration information is sent to the review end;

[0012] When the review pass instruction sent by the review end is received, the virtual machine is generated in the target available cluster based on the virtual machine configuration information.

[0013] Optionally, the method further includes:

[0014] When receiving virtual machine configuration modification information, updating the virtual machine configuration information based on the virtual machine configuration modification information;

[0015] The virtual machine is generated in the target available cluster based on the updated virtual machine configuration information.

[0016] Optionally, loading the virtual machine configuration information input by the user into the target virtual machine console includes:

[0017] Sending the virtual machine configuration information input by the user to the approval end;

[0018] When the approval instruction sent by the approval end is received, the virtual machine configuration information is loaded into the target virtual machine console.

[0019] Optionally, the number of the target available clusters is at least two.

[0020] Optionally, the resource water level includes: available cluster stand-alone memory water level, available cluster memory water level, processor water level, and storage pool water level.

[0021] Optionally, the method further includes:

[0022] The virtual machine is initialized based on the virtual machine configuration information, and the virtual machine is entered into a configuration management database and a monitoring system.

[0023] In order to solve the above technical problems, the present invention provides a virtual machine creation device, comprising:

[0024] The first module is used to load the virtual machine configuration information input by the user to the target virtual machine console; the target virtual machine console is the virtual machine console under the environment information in the virtual machine configuration information;

[0025] The second module is used to read the business usage information in the virtual machine configuration information, and identify the available clusters under the business usage information in the target virtual machine console;

[0026] The third module is used to read the hardware resource information, system template information and network information of the available cluster;

[0027] The fourth module is used to determine the available cluster as the target available cluster and generate a virtual machine creation instruction if it is found that the hardware resource information meets the resource water level, the system template information contains the system template in the virtual machine configuration information, and the network segment information contains the network address in the virtual machine configuration information;

[0028] The fifth module is used to generate a virtual machine in the target available cluster based on the virtual machine configuration information after identifying the virtual machine creation instruction.

[0029] In order to solve the above technical problems, the present invention provides an electronic device, characterized in that it includes:

[0030] Memory, for storing computer programs;

[0031] A processor is used to implement the above-mentioned virtual machine creation method when executing the computer program.

[0032] In order to solve the above technical problems, the present invention provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the above-mentioned virtual machine creation method is implemented.

[0033] It can be seen that the method of the present invention loads the virtual machine configuration information input by the user to the target virtual machine console; the target virtual machine console is the virtual machine console under the environment information in the virtual machine configuration information; reads the business purpose information in the virtual machine configuration information, and identifies the available clusters under the business purpose information in the target virtual machine console; reads the hardware resource information, system template information and network information of the available cluster; if it is queried that the hardware resource information meets the resource water level, the system template information contains the system template in the virtual machine configuration information and the network segment information contains the network address in the virtual machine configuration information, the available cluster is determined as the target available cluster, and a virtual machine creation instruction is generated; when the virtual machine creation instruction is identified, a virtual machine is generated in the target available cluster based on the virtual machine configuration information.

[0034] The present invention proposes a method for creating a virtual machine. After obtaining the virtual machine configuration information input by the user, the method can automatically schedule resources in the corresponding cluster based on the business environment to create the virtual machine, thereby avoiding the problems of low creation efficiency and easy errors caused by manual creation of virtual machines. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0036] Figure 1 A flowchart of a method for creating a virtual machine provided by an embodiment of the present invention;

[0037] Figure 2 A schematic diagram of an approval process provided by an embodiment of the present invention;

[0038] Figure 3 A schematic diagram of a specific implementation flow chart of a virtual machine creation method provided by an embodiment of the present invention;

[0039] Figure 4 An OVirt API automated scheduling flow chart provided by an embodiment of the present invention;

[0040] Figure 5 A structural block diagram of a virtual machine creation device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0041] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0042] In the process of creating a virtual machine in the existing related technology, the user needs to plan the configuration information of each virtual machine in advance, and then enter the configuration information of each virtual machine one by one in the console interface of the corresponding virtual machine console to create the virtual machine. After submitting each virtual machine, exit the interface and proceed to the next one, and repeat this process. If a large number of virtual machines need to be created, the efficiency of manual delivery is very low, which cannot meet the user's requirements for fast delivery.

[0043] According to the different network and service level attributes, there are generally test environments and production environments, and each environment has a set of virtual machine consoles for deploying virtual machines in different environments. In the case of multiple consoles, if the user wants to apply for a virtual machine in a test environment or a production environment, it is necessary to manually log in to the virtual machine console. Due to the differences in the environment, it is sometimes necessary to determine whether the resources scheduled by each virtual machine console meet the virtual machine configuration requirements. It is impossible to quickly determine the virtual machine console and resource judgment in the corresponding environment by manually creating a virtual machine.

[0044] The following combination Figure 1 , Figure 1 A flowchart of a virtual machine creation method provided by an embodiment of the present invention, the method may include:

[0045] S101: Loading virtual machine configuration information input by a user to a target virtual machine console; the target virtual machine console is the virtual machine console under the environment information in the virtual machine configuration information.

[0046] This embodiment can load the virtual machine configuration information input by the user to the target virtual machine console. The virtual machine configuration information input by the user can generally include Appcode (application code), CPU (Central Processing Unit) information, memory information, system disk information, data disk information, environment information, business configuration template information, number of units, purpose and host identification, etc. The specific virtual machine configuration information type can be set based on the actual application.

[0047] In this embodiment, after the user enters the virtual machine configuration information, the approval end can approve the virtual machine configuration information and send the virtual machine configuration information entered by the user to the approval end. When receiving the approval instruction sent by the approval end, the virtual machine configuration information is loaded into the target virtual machine console. Specifically, Figure 2 As shown, users can apply for resources based on the business scenario tree model, which may include: virtual machine configuration information, number of virtual machines, and application reasons. Based on the environment information in the virtual machine configuration information, judgments can be made in the production environment and the test environment, and the business purpose of the virtual machine can be determined. In this embodiment, each production environment can contain multiple business purposes, such as Figure 2 As shown, the production environment may include K8s (an open source platform for managing containers), general business, database, big data, and operation and maintenance management, and the test environment may include K8s, general business, database, and big data. After determining the business purpose, the virtual machine configuration information may be sent to the approval end for approval. When the approval end completes the approval, the approval instruction may be returned. In this embodiment, when the approval instruction sent by the approval end is received, the virtual machine configuration information is loaded into the target virtual machine console.

[0048] In this embodiment, each environment can be set with a corresponding virtual machine console. For example, a production environment virtual machine console is set in the production environment, and a test environment virtual machine console is set in the test environment. In this embodiment, the target virtual machine console under the environment information can be selected from each virtual machine console based on the environment information in the virtual machine configuration information input by the user, and the virtual machine configuration information input by the user is loaded into the target virtual machine console. Specifically, when the environment information in the virtual machine configuration information input by the user is the production environment, the production environment virtual machine console is selected as the target virtual machine console; when the environment information in the virtual machine configuration information input by the user is the test environment, the test environment virtual machine console is selected as the test virtual machine console.

[0049] S102: Read the business purpose information in the virtual machine configuration information, and identify the available clusters under the business purpose information in the target virtual machine console.

[0050] This embodiment can read the business purpose information in the virtual machine configuration information and identify the available clusters under the business purpose information in the target virtual machine console. In this embodiment, the resources under each virtual machine console can be divided according to business purpose, and each business purpose can include multiple clusters. For example, the business purposes in the production environment may include K8s, general business, database and big data, and operation and maintenance management, and the business purposes in the test environment may include K8s, general business, database and big data, and each business purpose may include multiple clusters.

[0051] This embodiment can identify the available clusters under the business use information in the virtual machine configuration information in the target virtual machine console. For example, if the business use information in the virtual machine configuration information is general business, then the available clusters of the general business in the target virtual machine console can be identified.

[0052] S103: Reading hardware resource information, system template information and network information of available clusters.

[0053] S104: If it is found that the hardware resource information meets the resource water level, the system template information includes the system template in the virtual machine configuration information, and the network segment information includes the network address in the virtual machine configuration information, the available cluster is determined as the target available cluster, and a virtual machine creation instruction is generated.

[0054] In this embodiment, the hardware resource information, system template information and network information of the available cluster can be read to verify whether the resources of the available cluster meet the requirements for creating a virtual machine.

[0055] Specifically, for any available cluster, if its hardware resource information meets the resource water level, the system template information includes the system template in the virtual machine configuration information, and the network segment information includes the network address in the virtual machine configuration information, then the available cluster can be determined as the target available cluster.

[0056] In this embodiment, in order to prevent the business crash caused by cluster downtime, the business code in this embodiment can be deployed in multiple clusters, that is, the target available clusters in this embodiment can generally be at least two.

[0057] The resource water level in this embodiment may be the available cluster stand-alone memory water level, the available cluster memory water level, the processor water level, and the storage pool water level. In this embodiment, the available clusters may be sorted, and the available clusters whose hardware resource information meets the resource water level, whose system template information contains the system template in the virtual machine configuration information, and whose network segment information contains the network address in the virtual machine configuration information are sorted according to the resource water level, and the available cluster with the highest remaining resources is selected as the target available cluster.

[0058] After completing resource verification, this embodiment may generate a virtual machine creation instruction, which is used to indicate that a virtual machine can be created in the target available cluster based on the virtual machine configuration information.

[0059] S105: After the virtual machine creation instruction is identified, a virtual machine is generated in the target available cluster based on the virtual machine configuration information.

[0060] In this embodiment, after the virtual machine creation instruction is identified, a virtual machine may be generated in the target available cluster based on the virtual machine configuration information.

[0061] In this embodiment, in order to ensure that the virtual machine configuration information meets the requirements, when the virtual machine creation instruction is identified, the virtual machine configuration information is sent to the review end; when the review pass instruction sent by the review end is received, the virtual machine is generated in the target available cluster based on the virtual machine configuration information.

[0062] When the review end fails the review, the system administrator can send the virtual machine configuration modification information through the review end, or notify the user, and the user submits the virtual machine configuration modification information through the human-computer interaction interface. When the virtual machine configuration modification information is received, the virtual machine configuration information is updated based on the virtual machine configuration modification information; a virtual machine is generated in the target available cluster based on the updated virtual machine configuration information.

[0063] In this embodiment, after the virtual machine is created, the virtual machine can be initialized based on the virtual machine configuration information to configure the environment for deploying services on the virtual machine. After the initialization is completed, the virtual machine can be entered into the configuration management database (CMDB) and the monitoring system to manage and monitor the entire life cycle of the virtual machine.

[0064] Based on the above embodiments, the present invention automatically schedules resources to create a virtual machine in a corresponding cluster based on the business environment after obtaining the virtual machine configuration information input by the user, thereby avoiding the low creation efficiency and error-prone problems caused by manual creation of virtual machines.

[0065] The following combination Figure 3 , Figure 3 The present invention is a flowchart of a specific implementation of a virtual machine creation method provided by an embodiment of the present invention. In a specific embodiment, the virtual machine console may be an oVirt platform (an open source virtualization management platform. First, a user may apply for resources and input virtual machine configuration information including environment and business use categories. Then, the virtual machine configuration information may be approved. After approval, the OVirt API (Application Programming Interface) automated scheduling phase may be entered. The OVirt API automation includes virtual machine automatic configuration, virtual machine creation scheduling, and virtual machine initialization and operation. After the OVirt API automated scheduling, the data asset automated management and monitoring phase may be entered to implement virtual machine asset entry and access monitoring.

[0066] In this embodiment, the specific process of OVirt API automatic scheduling can be as follows: Figure 4 As shown, the business model configuration system is used to automatically configure the virtual machine, convert the user input information into program executable content, and submit the program-edited style to the OVirt API for execution. During the program editing process, the business model configuration system will pre-set parameters for use in program logic judgment.

[0067] The information input by the user can be processed by the business model configuration system to obtain more standard virtual machine configuration information. Specifically, the business model configuration system can include: business configuration name, such as test IO (Input Output) general business, test IO intensive business, test K8s, test database, production IO general business and production IO intensive business; parent category, such as general application and container category; environment, such as production and test; IP segment. In this embodiment, there are multiple IP (Internet Protocol) address segments to choose from. After selecting an IP from the segment, it is determined whether it can be used in the CMDB system (a system that manages all virtual machine assets) segment management; business line, determined based on the company's business; cluster description, which needs to be consistent with the oVirt underlying description, such as test general business, test K8s, test data business and production general business; oVirt template, the system template of the virtual machine; oVirt information, such as whether the disk type is a normal disk or a high-performance disk, whether it is thick provisioning or sparse mode; special purpose identification, such as for MySQL database, Oracle database, etc.

[0068] In this embodiment, the business model configuration system can be used to name the virtual machine, obtain the Appcode input by the user, select the IP address of the virtual machine from the IP address library based on the CMDB network segment management and environment, and obtain the virtual machine name based on the Appcode, IP address and environment. Further configuration specification information such as CPU specifications, memory specifications and hard disk specifications can be obtained, and the disk type such as thin mode and thick provisioning mode can be set. After that, the virtual machine configuration information can be loaded into the target virtual machine console through the human-computer interaction system, and an available cluster, oVirt template, virtual machine configuration information and storage domain and network segment can be selected in the target virtual machine console. Furthermore, cluster resource judgment can be performed, such as judging whether the single-machine memory water level of the available cluster is less than 80%, whether the cluster memory water level is less than 80%, whether the storage pool water level is less than 80%, and whether the IP address and oVirt template exist in the oVirt configuration. If the resource judgment is passed, the virtual machine can be run and initialized. Otherwise, the human-computer interaction system can be notified, and the human-computer interaction system can update the virtual machine configuration information. After the update is completed, a pass instruction is sent to the target virtualization console. After receiving the pass instruction, the target virtual machine console can continue to create a virtual machine in the available cluster.

[0069] The following combination Figure 5 , Figure 5 A structural block diagram of a virtual machine creation device provided by an embodiment of the present invention, the device may include:

[0070] The first module 100 is used to load the virtual machine configuration information input by the user to the target virtual machine console; the target virtual machine console is the virtual machine console under the environment information in the virtual machine configuration information;

[0071] The second module 200 is used to read the business usage information in the virtual machine configuration information, and identify the available clusters under the business usage information in the target virtual machine console;

[0072] The third module 300 is used to read the hardware resource information, system template information and network information of the available cluster;

[0073] The fourth module 400 is used to determine the available cluster as the target available cluster and generate a virtual machine creation instruction if it is found that the hardware resource information meets the resource water level, the system template information includes the system template in the virtual machine configuration information, and the network segment information includes the network address in the virtual machine configuration information;

[0074] The fifth module 500 is used to generate a virtual machine in the target available cluster based on the virtual machine configuration information after the virtual machine creation instruction is identified.

[0075] Based on the above embodiments, after obtaining the virtual machine configuration information input by the user, the present invention can automatically schedule resources to create a virtual machine in the corresponding cluster based on the business environment, thereby avoiding the low creation efficiency and error-prone problems caused by manual creation of virtual machines.

[0076] Based on the above embodiment, the fifth module 500 may include:

[0077] The first unit is used to send the virtual machine configuration information to the review end after identifying the virtual machine creation instruction;

[0078] The second unit is configured to generate the virtual machine in the target available cluster based on the virtual machine configuration information when receiving a review pass instruction sent by the review end.

[0079] Based on the above embodiments, the fifth module may further include:

[0080] A third unit is used to update the virtual machine configuration information based on the virtual machine configuration modification information when receiving the virtual machine configuration modification information;

[0081] The fourth unit is configured to generate the virtual machine in the target available cluster based on the updated virtual machine configuration information.

[0082] Based on the above embodiments, the first module 100 may include:

[0083] A fifth unit, configured to send the virtual machine configuration information input by the user to an approval end;

[0084] The sixth unit is used to load the virtual machine configuration information to the target virtual machine console when receiving the approval instruction sent by the approval end.

[0085] Based on the above embodiments, the number of the target available clusters is at least two.

[0086] Based on the above embodiments, the resource water level may include: available cluster stand-alone memory water level, available cluster memory water level, processor water level, and storage pool water level.

[0087] Based on the above embodiments, the device may further include:

[0088] The sixth module is used to initialize the virtual machine based on the virtual machine configuration information and enter the virtual machine into the configuration management database and monitoring system.

[0089] Based on the above embodiments, the present invention further provides an electronic device, which may include a memory and a processor, wherein the memory stores a computer program, and when the processor calls the computer program in the memory, the steps provided in the above embodiments may be implemented. Of course, the device may also include various necessary network interfaces, power supplies, and other components.

[0090] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by an execution terminal or a processor, the method provided in the embodiment of the present invention can be implemented; the storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0091] In this article, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

Claims

1. A method for creating a virtual machine, characterized in that: include: Load the virtual machine configuration information input by the user to the target virtual machine console; The target virtual machine console is the virtual machine console under the environment information in the virtual machine configuration information; Reading the business usage information in the virtual machine configuration information, and identifying the available clusters under the business usage information in the target virtual machine console; Reading hardware resource information, system template information and network information of the available cluster; If it is found that the hardware resource information meets the resource water level, the system template information contains the system template in the virtual machine configuration information, and the network segment information contains the network address in the virtual machine configuration information, the available cluster is determined as the target available cluster, and a virtual machine creation instruction is generated; After the virtual machine creation instruction is identified, a virtual machine is generated in the target available cluster based on the virtual machine configuration information.

2. The method for creating a virtual machine according to claim 1, characterized in that: After the virtual machine creation instruction is identified, generating a virtual machine in the target available cluster based on the virtual machine configuration information includes: When the virtual machine creation instruction is identified, the virtual machine configuration information is sent to the review end; When the review pass instruction sent by the review end is received, the virtual machine is generated in the target available cluster based on the virtual machine configuration information.

3. The method for creating a virtual machine according to claim 2, characterized in that: Also includes: When receiving virtual machine configuration modification information, updating the virtual machine configuration information based on the virtual machine configuration modification information; The virtual machine is generated in the target available cluster based on the updated virtual machine configuration information.

4. The method for creating a virtual machine according to claim 1, characterized in that: The step of loading the virtual machine configuration information input by the user into the target virtual machine console includes: Sending the virtual machine configuration information input by the user to the approval end; When the approval instruction sent by the approval end is received, the virtual machine configuration information is loaded into the target virtual machine console.

5. The method for creating a virtual machine according to claim 1, characterized in that: The number of the target available clusters is at least two.

6. The method for creating a virtual machine according to claim 1, characterized in that: The resource water level includes: available cluster stand-alone memory water level, available cluster memory water level, processor water level, and storage pool water level.

7. The method for creating a virtual machine according to claim 1, characterized in that: Also includes: The virtual machine is initialized based on the virtual machine configuration information, and the virtual machine is entered into a configuration management database and a monitoring system.

8. A virtual machine creation device, characterized in that: include: The first module is used to load the virtual machine configuration information input by the user into the target virtual machine console; The target virtual machine console is the virtual machine console under the environment information in the virtual machine configuration information; The second module is used to read the business usage information in the virtual machine configuration information, and identify the available clusters under the business usage information in the target virtual machine console; The third module is used to read the hardware resource information, system template information and network information of the available cluster; The fourth module is used to determine the available cluster as the target available cluster and generate a virtual machine creation instruction if it is found that the hardware resource information meets the resource water level, the system template information contains the system template in the virtual machine configuration information, and the network segment information contains the network address in the virtual machine configuration information; The fifth module is used to generate a virtual machine in the target available cluster based on the virtual machine configuration information after identifying the virtual machine creation instruction.

9. An electronic device, characterized in that: include: Memory, for storing computer programs; A processor, configured to implement the virtual machine creation method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the virtual machine creation method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Automatic creation method and device of software environment, equipment and medium

    CN122064391A