Virtual machine migration method and device based on Open Stack

A virtual machine migration and virtual machine technology, applied in multi-programming devices, program control devices, software simulation/interpretation/simulation, etc., can solve problems that do not meet the maximum utilization of resources

CN105138408AActive Publication Date: 2015-12-09INSPUR BEIJING ELECTRONICS INFORMATION IND
4 Cites 11 Cited by

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
Publication Date
2015-12-09

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiment of the invention provides a virtual machine migration method and device based on Open Stack. The method comprises the following steps: obtaining the first comprehensive utilization ratios of virtual machines according to the CPU utilization ratio, the memory utilization ratio and the magnetic disk utilization ratio of the virtual machines; adding the first virtual machines of which the first comprehensive utilization ratios are greater than the preset first threshold value into a migration queue; when the migration queue is not empty, determining first physical machines corresponding to the second virtual machines which are not added into the queue; obtaining the second comprehensive utilization ratios of the first physical machines according to the CPU utilization ratio, the memory utilization ratio and the magnetic disk utilization ratio of the second virtual machines; taking the virtual machine, with the minimal weight value, in all second physical machines, of which the second comprehensive utilization ratios are not greater than the preset second threshold value, in the first physical machines as the target virtual machine; migrating the first virtual machine positioned at the head of the queue in the migration queue to the target virtual machine. The comprehensive utilization ratio of the CPU utilization ratio, the memory utilization ratio and the magnetic disk utilization ratio is considered as the resource allocation index, so that the physical machines have higher resource utilization ratios.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the technical field of resource scheduling, in particular to an OpenStack-based virtual machine migration method and device. Background technique

[0002] At present, with the widespread use of cloud computing, making full and balanced use of the resources of the entire cloud data center has become one of the most important issues in terms of resource height in the cloud computing environment. OpenStack belongs to the most mainstream open source IaaS cloud platform in the field of cloud computing. Now it has become an open source product researched by IT companies. It closes and abstracts the huge underlying hardware resources into cloud service clusters to provide users with various public resources, such as computing, storage, Network, Operating System, Billing Usage, etc. However, OpenStack has many deficiencies in resource migration. It only considers the memory utilization of physical machines, and regards the mem...

Examples

Embodiment Construction

[0045] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0046] figure 1 The flow chart of the OpenStack-based virtual machine migration method provided by the embodiment of the present invention uses the comprehensive utilization rate of CPU utilization, memory utilization and disk utilization as the index of resource allocation, so that the physical machine has a higher resource utilization; refer to figure 1 , the OpenStack-based virtual machine migration method may include:

[0047] Step S100: Calculate the fi...