Batch creation method, system and device of virtual machine

A machine batch and virtual machine technology, applied in the field of virtual machine batch creation, can solve the problems of not being able to truly meet the virtual machine delivery requirements, reduce the efficiency of creating virtual machines, and have no virtual machine initialization operations, so as to improve the reliability of creation and improve The effect of elastic expansion efficiency, risk reduction and labor cost reduction

Pending Publication Date: 2019-03-22
SF TECH
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Completed steps still need to be repeated, reducing the efficiency of creating virtual machines
[0005] Moreover, the existing tools do not perform

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Batch creation method, system and device of virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0084] Such as figure 1 As shown, this embodiment provides a method for batch creation of virtual machines, including the following steps:

[0085] Each virtual machine creation task will be assigned a task_id to record work order information, and a request_id to mark the creation process of each virtual machine.

[0086] S1. Obtain attribute information of physical machines in the same cluster (same network area in the same computer room). The attribute information of the physical machine includes the physical machine cpu information, memory information, disk information, network card information, and physical machine libvirtd management process status information. Further, the attribute information includes physical machine cpu, memory, and disk size information, as well as physical machine cpu usage, memory usage, hard disk usage, network card usage, and physical machine libvirtd management process status.

[0087] By finding the list of physical machines with all libvirt...

Embodiment 2

[0114] The features of this embodiment that are the same as those of Embodiment 1 will not be described in detail. The features of this embodiment that are different from Embodiment 1 are:

[0115] S31. Create a virtual machine storage directory. Use request_id to check the library to confirm whether the virtual machine directory has been created successfully. If successful, skip this step. Otherwise, use ansible to create a virtual machine storage directory on the physical machine to be allocated to the virtual machine and use the virtual machine uuid. After successful execution, continue to the following steps.

[0116] S32. Detect the virtual machine image. Use request_id to check the database to confirm whether the virtual machine image has been successfully created. If it is successful, skip this step. Otherwise, use ansible to copy the latest image from the image cache server. The speed of the copy needs to be limited according to the network environment. If the executio...

Embodiment 3

[0123] The features of this embodiment that are the same as those of Embodiment 1 will not be described in detail. The features of this embodiment that are different from Embodiment 1 are:

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a Batch creation method, system and device of virtual machine. The virtual machine batch creation method comprises the following steps: S1, obtaining attribute information ofphysical machines in the same cluster; S2, screening the same cluster physical machine based on the attribute information of the physical machine and the configuration information of the virtual groupto be created; S3, assigning a virtual group to be created to the target physical machine, executing batch creation operation of the virtual group, and executing step S4 if the creation fail; S4, re-executing the current failed step in the creation process. Virtual machines can be created in bulk and for Bulk delivery, greatly reduce the workload of system administrators, Moreover, the failure ofthe virtual machine creation can be retried without executing or repeatedly executing the steps that have been successfully executed, so that the creation speed of the virtual machine is accelerated,the creation reliability of the virtual machine is improved, the risk of failure fallback resources and the human cost are reduced, the efficiency of batch creation of the virtual machine is improved, and the elastic expansion efficiency of the capacity of the virtual group is improved.

Description

technical field [0001] The invention relates to creation of virtual machines, in particular to a method, system and equipment for batch creation of virtual machines. Background technique [0002] With the continuous popularization of cloud technology, the creation of virtual machines is no longer like the traditional vmware mode of delivering virtual machines. System administrators hope to create multiple complete and deliverable virtual machines in batches with the least manual input. [0003] At present, the use of open source virtual machine hypervisors generally requires the deployment of agents on each physical machine and the use of shared storage. Although virtual machines can be created quickly, the maintenance cost of each component is high. After a certain number of physical machines, the control node creation efficiency is also low. Decrease gradually and become unstable. [0004] Existing virtual machine creation tools do not have a retry mechanism after virtual...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/455
CPCG06F9/45558G06F2009/45575G06F2009/45562
Inventor 郭思远
Owner SF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products