CN108108227A - A kind of cloud computing management system and its method for managing virtual machine - Google Patents

A kind of cloud computing management system and its method for managing virtual machine Download PDF

Info

Publication number
CN108108227A
CN108108227A CN201810008732.3A CN201810008732A CN108108227A CN 108108227 A CN108108227 A CN 108108227A CN 201810008732 A CN201810008732 A CN 201810008732A CN 108108227 A CN108108227 A CN 108108227A
Authority
CN
China
Prior art keywords
virtual machine
memory
metadata
machine
restriction information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201810008732.3A
Other languages
Chinese (zh)
Inventor
亢宇飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810008732.3A priority Critical patent/CN108108227A/en
Publication of CN108108227A publication Critical patent/CN108108227A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45583Memory management, e.g. access or allocation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/504Resource capping

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

The invention discloses a kind of cloud computing management system and its methods for managing virtual machine, are related to openstack (cloud computing management platform) technical field of virtualization.A kind of method of cloud computing management system management virtual machine disclosed by the invention, mainly includes:Virtual machine is built using the metadata being pre-created, virutal machine memory resource restriction information is included at least in the metadata being pre-created;When constructed virtual machine is in race condition, the memory source of each virtual machine is distributed according to virutal machine memory resource restriction information in the metadata of each virtual machine in competition.Technical scheme, with reference to a kind of memory QOS schemes that libvirt management tools are realized, implements simple and clear, also solves demand of the virtual machine to memory QOS, improve flexibility and the working performance of virtual machine by changing virtual machine configuration.

Description

A kind of cloud computing management system and its method for managing virtual machine
Technical field
The present invention relates to openstack (cloud computing management platform) technical field of virtualization, and in particular to a kind of cloud computing Management system and its method for managing virtual machine.
Background technology
As intel Virtualization Technology application is more and more extensive, in every field, virtual machine is also run instead of physical machine gradually Some business, when the business run on virtual machine is more and more, people couple and the requirement of virtual machine are also higher and higher, including virtual The various aspects such as configuration, the performance of machine, in terms of resources of virtual machine configuration, the memory configurations of virtual machine are extremely important.When host provides It during the abundance of source, has no problem naturally, but when host resource anxiety, this when just needs host resource is preferential Distribute to those virtual machines for running important service.In order to solve this problem memory QOS (service quality) technology is exactly.
The content of the invention
Provided herein is a kind of cloud computing management system and its methods for managing virtual machine, can solve existing cloud computing management The problem of memory QOS demands of platform virtual machine.
It is main to include following operation disclosed herein is a kind of method of cloud computing management system management virtual machine:
Virtual machine is built using the metadata (flavor) being pre-created, is included at least in the flavor being pre-created Virutal machine memory resource restriction information;
When constructed virtual machine is in race condition, according to virtual machine in the flavor of each virtual machine in competition Memory source restriction information distributes the memory source of each virtual machine.
Optionally, in the above method, the flavor being pre-created further includes following any one or several information:
VCPU number of virtual center processor of virtual machine, memory size, disk size.
Optionally, in the above method, the virutal machine memory resource restriction information includes all virtual machines created Between each virtual machine allow the ratio of the memory source used.
Optionally, in the above method, used according to virutal machine memory resource in the flavor of each virtual machine in competition The memory source that restricted information distributes each virtual machine includes:
It is determined from the virutal machine memory resource restriction information empty in the flavor of each virtual machine in competition Plan machine allows the ratio of the memory source used;
According to identified ratio, to be in each virtual machine storage allocation resource of competition.
The invention also discloses a kind of cloud computing management system, including:
Construction unit builds virtual machine using the flavor being pre-created, is at least wrapped in the flavor being pre-created Restriction information containing virutal machine memory resource;
Administrative unit, when constructed virtual machine is in race condition, according to each virtual machine in competition Virutal machine memory resource restriction information distributes the memory source of each virtual machine in flavor.
Optionally, in above system, the flavor being pre-created further includes following any one or several information:
VCPU number of virtual center processor of virtual machine, memory size, disk size.
Optionally, in above system, the virutal machine memory resource restriction information includes all virtual machines created Between each virtual machine allow the ratio of the memory source used.
Optionally, in above system, the administrative unit, according to virtual machine in the flavor of each virtual machine in competition The memory source that memory source restriction information distributes each virtual machine includes:
It is determined from the virutal machine memory resource restriction information empty in the flavor of each virtual machine in competition Plan machine allows the ratio of the memory source used;
According to identified ratio, to be in each virtual machine storage allocation resource of competition.
The invention also discloses a kind of cloud computing management systems, including memory, processor and are stored in the memory Computer program that is upper and can running on the processor, wherein, the processor is realized when performing the computer program All processing of the method for cloud computing management system management virtual machine as described above.
Technical scheme is by changing virtual machine configuration, in one kind with reference to the realization of libvirt management tools Deposit QOS schemes, the program implements simple and clear, also solves demand of the virtual machine to memory QOS, improves virtual machine Flexibility and working performance.
Specific embodiment
Understand to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with specific embodiment pair Technical solution of the present invention is described in further detail.It should be noted that in the case where there is no conflict, embodiments herein and Feature in embodiment can be arbitrarily mutually combined.
Embodiment 1
Present inventor is proposed for openstack virtual machines, and configuration during virtual machine can be created by changing, then With reference to Virtual Machine Manager instrument libvirt provide interface so as to fulfill openstack virutal machine memory QOS schemes.
Based on above-mentioned thought, the present embodiment provides a kind of methods of cloud computing management system management virtual machine, mainly include Following operation:
Virtual machine is built using the flavor being pre-created, is included at least in the flavor being pre-created in virtual machine It deposits resource and uses limitation parameter;
When constructed virtual machine is in race condition, make according to virutal machine memory resource in the flavor of the virtual machine With the memory source of limitation parameter acquiring host.
Wherein, the flavor being pre-created includes each clock and builds the required parameter of virtual machine, and the present embodiment is not done especially Limitation, but it at least further includes following any one or several information:
VCPU number of virtual center processor of virtual machine, memory size, disk size.
Specifically, virutal machine memory resource restriction information could be provided as a ratio, that is, what is created is all virtual Each virtual machine allows the ratio of the memory source used between machine.For example, structure 2 virtual machine A and B, corresponding Flavor is flavor-A and flavor-B, wherein, soft_limit is A in flavor-A:B=2:In 1, flavor-B Soft_limit is A:B=2:1, in this way, when virtual machine A and B are in competition, the memory source that virtual machine A can be assigned to is exactly B 2 times.
Accordingly, when creating there are two above virtual machine, such as during N number of virtual machine, soft_limit is then multiple numbers The ratio of value is, for example, A:B:... N=2:1:…1.In this way, when there are two or more than two virtual machines be in competition when, just It can first determine that virtual machine allows the memory source used in the flavor of each virtual machine in competition from soft_limit Ratio, the virtual machine for instance in competition is B and N, it is determined that the ratio of the memory source for allowing to use of the two virtual machines It is worth for 1:1;According still further to identified ratio, to be in each virtual machine storage allocation resource of competition.It is it is noted that empty Plan machine allows the maximum of the memory source used directly proportional to identified ratio, i.e. multiple virtual machines in competition In, virtual machine allows the maximum of the memory source used bigger, and the memory source being assigned to is more.
In the following, the implementation of the above method is described in detail with reference to concrete application scene, which includes following operation:
Step 101, flavor is created according to user's operation;
Wherein, the flavor of establishment can be some existing metadata, can also increase some metadata, as long as structure Build the required flavor of virtual machine can (for example, VCPU number of virtual machine, memory size, disk size etc.), this implementation Example is not particularly limited this.
Step 102, the flavor to be created adds metadata quota:Soft_limit, i.e. virutal machine memory resource make With limitation parameter;
Wherein, virutal machine memory resource using limitation parameter include all virtual machines for being created between each virtual machine allow The ratio quota of the memory source used:soft_limit.By this parameter quota in the present embodiment:Soft_limit is arranged to Proportionate relationship;In this way, when virtual machine is in competition, each virtual machine can distribute different memory sources according to this proportionate relationship and be It can.
Step 103, virtual machine is created with the flavor with metadata being created that;
Step 104, after successfully creating virtual machine, the virtual machine in competition is just according to quota:Soft_limit configurations Proportionate relationship obtains the memory source of host.
Embodiment 2
The present embodiment provides a kind of cloud computing management system, including operating as follows:
Construction unit builds virtual machine using the flavor being pre-created, is at least wrapped in the flavor being pre-created Restriction information containing virutal machine memory resource;
The flavor of establishment can be some existing metadata, can also increase some metadata, as long as structure is empty The required flavor of plan machine, for example, at least includes, VCPU number of virtual machine, memory size, disk size etc..
And each virtual machine allows between virutal machine memory resource restriction information can include all virtual machines created The ratio of the memory source used.
Administrative unit, when constructed virtual machine is in race condition, according to each virtual machine in competition Virutal machine memory resource restriction information distributes the memory source of each virtual machine in flavor.
Specifically, administrative unit can first determine that virtual machine allows what is used in the flavor in each virtual machine competed The ratio of memory source;According still further to identified ratio, to be in each virtual machine storage allocation resource of competition.
In addition, the present embodiment also provides a kind of total cloud computing management system, including memory, processor and it is stored in described On memory and the computer program that can run on the processor, wherein, the processor performs the computer program Shi Shixian such as all processing of the method described in above-described embodiment 1.
From above-described embodiment as can be seen that technical scheme is particularly suitable for what is created using libvirt driver Virtual machine can be very good to solve host resource anxiety, and virtual machine is in all kinds of problems under the situation of resource contention.
One of ordinary skill in the art will appreciate that all or part of step in the above method can be instructed by program Related hardware is completed, and described program can be stored in computer readable storage medium, such as read-only memory, disk or CD Deng.Optionally, all or part of step of above-described embodiment can also be realized using one or more integrated circuits.Accordingly Ground, the form that hardware may be employed in each module/unit in above-described embodiment are realized, can also use the shape of software function module Formula is realized.The application is not restricted to the combination of the hardware and software of any particular form.
The above is only the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all this The spirit of invention and any modification, equivalent substitution, improvement and etc. within principle, done, should be included in the protection model of the present invention Within enclosing.

Claims (9)

1. a kind of method of cloud computing management system management virtual machine, main to include following operation:
Virtual machine is built using the metadata being pre-created, including at least virutal machine memory in the metadata being pre-created provides Source restriction information;
When constructed virtual machine is in race condition, according to virutal machine memory in the metadata of each virtual machine in competition Resource restriction information distributes the memory source of each virtual machine.
2. the method as described in claim 1, which is characterized in that the metadata being pre-created further include it is following any or Several information:
VCPU number of virtual center processor of virtual machine, memory size, disk size.
3. method as claimed in claim 1 or 2, which is characterized in that the virutal machine memory resource restriction information includes Each virtual machine allows the ratio of the memory source used between all virtual machines created.
4. method as claimed in claim 3, which is characterized in that according to virtual machine in the metadata of each virtual machine in competition The memory source that memory source restriction information distributes each virtual machine includes:
Virtual machine in the metadata of each virtual machine in competition is determined from the virutal machine memory resource restriction information Allow the ratio of memory source used;
According to identified ratio, to be in each virtual machine storage allocation resource of competition.
5. a kind of cloud computing management system, including:
Construction unit builds virtual machine using the metadata being pre-created, void is included at least in the metadata being pre-created Plan machine memory source restriction information;
Administrative unit, when constructed virtual machine is in race condition, in the metadata according to each virtual machine in competition Virutal machine memory resource restriction information distributes the memory source of each virtual machine.
6. system as claimed in claim 5, which is characterized in that the metadata being pre-created further include it is following any or Several information:
VCPU number of virtual center processor of virtual machine, memory size, disk size.
7. such as system described in claim 5 or 6, which is characterized in that the virutal machine memory resource restriction information includes Each virtual machine allows the ratio of the memory source used between all virtual machines created.
8. system as claimed in claim 7, which is characterized in that the administrative unit, according to each virtual machine in competition The memory source of each virtual machine of virutal machine memory resource restriction information distribution includes in metadata:
Virtual machine in the metadata of each virtual machine in competition is determined from the virutal machine memory resource restriction information Allow the ratio of memory source used;
According to identified ratio, to be in each virtual machine storage allocation resource of competition.
9. a kind of cloud computing management system, including memory, processor and it is stored on the memory and can be in the processing The computer program run on device, wherein, the processor realized when performing the computer program as the claims 1 to The processing of method any one of 4.
CN201810008732.3A 2018-01-04 2018-01-04 A kind of cloud computing management system and its method for managing virtual machine Withdrawn CN108108227A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810008732.3A CN108108227A (en) 2018-01-04 2018-01-04 A kind of cloud computing management system and its method for managing virtual machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810008732.3A CN108108227A (en) 2018-01-04 2018-01-04 A kind of cloud computing management system and its method for managing virtual machine

Publications (1)

Publication Number Publication Date
CN108108227A true CN108108227A (en) 2018-06-01

Family

ID=62219851

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810008732.3A Withdrawn CN108108227A (en) 2018-01-04 2018-01-04 A kind of cloud computing management system and its method for managing virtual machine

Country Status (1)

Country Link
CN (1) CN108108227A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857561A (en) * 2019-02-12 2019-06-07 武汉深之度科技有限公司 A kind of EMS memory management process and calculate equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130054426A1 (en) * 2008-05-20 2013-02-28 Verizon Patent And Licensing Inc. System and Method for Customer Provisioning in a Utility Computing Platform
CN103544319A (en) * 2013-11-06 2014-01-29 浪潮(北京)电子信息产业有限公司 Multi-tenant database sharing method and multi-tenant database as-a-service system
CN103823714A (en) * 2014-01-15 2014-05-28 浙江大学 Virtualization-based method and device for adjusting QoS (quality of service) of node memory of NUMA (non uniform memory access architecture)
CN104166594A (en) * 2014-08-19 2014-11-26 杭州华为数字技术有限公司 Load balancing control method and related devices
CN104283946A (en) * 2014-09-26 2015-01-14 东北大学 Resource self-adaptive adjusting system and method of multiple virtual machines under single physical machine
CN105589731A (en) * 2015-09-16 2016-05-18 杭州华三通信技术有限公司 Virtual machine migration method and device
US20170109415A1 (en) * 2013-05-01 2017-04-20 Silicon Graphics International Corp. Platform and software framework for data intensive applications in the cloud
CN107273212A (en) * 2017-06-23 2017-10-20 郑州云海信息技术有限公司 A kind of method and system of dynamic assigning memory

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130054426A1 (en) * 2008-05-20 2013-02-28 Verizon Patent And Licensing Inc. System and Method for Customer Provisioning in a Utility Computing Platform
US20170109415A1 (en) * 2013-05-01 2017-04-20 Silicon Graphics International Corp. Platform and software framework for data intensive applications in the cloud
CN103544319A (en) * 2013-11-06 2014-01-29 浪潮(北京)电子信息产业有限公司 Multi-tenant database sharing method and multi-tenant database as-a-service system
CN103823714A (en) * 2014-01-15 2014-05-28 浙江大学 Virtualization-based method and device for adjusting QoS (quality of service) of node memory of NUMA (non uniform memory access architecture)
CN104166594A (en) * 2014-08-19 2014-11-26 杭州华为数字技术有限公司 Load balancing control method and related devices
CN104283946A (en) * 2014-09-26 2015-01-14 东北大学 Resource self-adaptive adjusting system and method of multiple virtual machines under single physical machine
CN105589731A (en) * 2015-09-16 2016-05-18 杭州华三通信技术有限公司 Virtual machine migration method and device
CN107273212A (en) * 2017-06-23 2017-10-20 郑州云海信息技术有限公司 A kind of method and system of dynamic assigning memory

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857561A (en) * 2019-02-12 2019-06-07 武汉深之度科技有限公司 A kind of EMS memory management process and calculate equipment
CN109857561B (en) * 2019-02-12 2021-03-26 武汉深之度科技有限公司 Memory management method and computing device

Similar Documents

Publication Publication Date Title
US11575748B2 (en) Data storage method and apparatus for combining different data distribution policies
JP5510556B2 (en) Method and system for managing virtual machine storage space and physical hosts
US9009719B2 (en) Computer workload capacity estimation using proximity tables
US9842136B2 (en) Database management system, computer, and database management method
US9183016B2 (en) Adaptive task scheduling of Hadoop in a virtualized environment
CN106385329B (en) Processing method, device and the equipment of resource pool
CN105940659B (en) method and device for sharing resources in network
CN104468803B (en) A kind of virtual data center method for mapping resource and equipment
US20170060642A1 (en) Constrained placement in hierarchical randomized schedulers
US20150040131A1 (en) Central processing unit resource allocation method and computing node
CN111966500A (en) Resource scheduling method and device, electronic equipment and storage medium
US8060610B1 (en) Multiple server workload management using instant capacity processors
US7689801B2 (en) Method for distributing hypervisor memory requirements across logical partitions
CN110532067A (en) Event-handling method, device, equipment and storage medium
US20180145930A1 (en) Pooling public cloud resources from different subscriptions using reservations
CN109471725A (en) Resource allocation methods, device and server
CN107436798A (en) A kind of process access method and device based on NUMA node
CN108028806A (en) The method and apparatus that virtual resource is distributed in network function virtualization NFV networks
CN103002067B (en) The acquisition methods of the IP address of virtual machine
CN106856441A (en) VIM systems of selection and device in NFVO
CN108108227A (en) A kind of cloud computing management system and its method for managing virtual machine
CN106126319B (en) Central processing unit resource allocation methods and calculate node
CN108667750A (en) virtual resource management method and device
JP2015022385A (en) Virtual system and method for controlling virtual system
CN110286961A (en) Process based on physical host processor hangs up method and relevant device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20180601

WW01 Invention patent application withdrawn after publication