CN109086131A - A kind of virtual machine elastic telescopic control method and control device - Google Patents

A kind of virtual machine elastic telescopic control method and control device Download PDF

Info

Publication number
CN109086131A
CN109086131A CN201810660668.7A CN201810660668A CN109086131A CN 109086131 A CN109086131 A CN 109086131A CN 201810660668 A CN201810660668 A CN 201810660668A CN 109086131 A CN109086131 A CN 109086131A
Authority
CN
China
Prior art keywords
virtual machine
elastic telescopic
strategy
dummy load
telescopic control
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.)
Pending
Application number
CN201810660668.7A
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 CN201810660668.7A priority Critical patent/CN109086131A/en
Publication of CN109086131A publication Critical patent/CN109086131A/en
Pending 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/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/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/505Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the load
    • 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/5061Partitioning or combining of resources
    • G06F9/5066Algorithms for mapping a plurality of inter-dependent sub-tasks onto a plurality of physical CPUs
    • 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/5061Partitioning or combining of resources
    • G06F9/5077Logical partitioning of resources; Management or configuration of virtualized resources

Abstract

The present invention provides a kind of virtual machine elastic telescopic control method and control device, the method includes: S1: one dummy load equalization server of creation, and virtual machine is mounted on dummy load equalization server;S2: elastic telescopic strategy is set in dummy load equalization server;S3: dummy load equalization server regulates and controls the quantity of virtual machine according to elastic telescopic strategy.The device includes: dummy load equalization server, for receiving the business access information of user, and controls the increase and decrease of virtual machine quantity;Virtual machine, including several, it is mounted on dummy load equalization server, for realizing business processing.The invention does not need dynamic and adjusts virtual machine configuration, but by laterally increasing virtual machine quantity, the traffic pressure of existing virtual machine is shared, and then achieve the purpose that lower virtual machine load.

Description

A kind of virtual machine elastic telescopic control method and control device
Technical field
The present invention relates to field of cloud computer technology, more specifically to a kind of virtual machine elastic telescopic control method and Control device.
Background technique
Openstack manages platform as instantly most popular cloud computing, more and more approvals has been obtained, no matter in political affairs Mansion or company's application, there is many successful cases.With increasing for user, openstack platform is also gradually improved.? In openstack platform, virtual machine elastic telescopic is a critical function of openstack platform intelligent management virtual resource, It can allow virtual resource to be maximally utilized, and greatly provide the utilization rate of platform resource.
In present openstack platform, for being achieved in that for elastic telescopic: passing through monitoring resources of virtual machine load Situation, dynamic adjust virtual machine configuration.But and not all operating system all support virtual machine on-line tuning resource distribution; In addition to this, online virtual machine is dynamically adjusted, the risk of delay machine can be brought, causes virtual machine operation business can not normal use.
Summary of the invention
For disadvantage mentioned above, the invention proposes a kind of virtual machine elastic telescopic control method and control devices, do not need Dynamic adjustment virtual machine configuration, but by laterally increasing virtual machine quantity, share the traffic pressure of existing virtual machine, Jin Erda To the purpose for lowering virtual machine load.
The embodiment of the invention provides a kind of virtual machine elastic telescopic control method, the method includes:
S1: one dummy load equalization server of creation, and virtual machine is mounted on dummy load equalization server;
S2: elastic telescopic strategy is set in dummy load equalization server;
S3: dummy load equalization server regulates and controls the quantity of virtual machine according to elastic telescopic strategy.
Further, the specific implementation process of step S1 are as follows: when openstack platform creates resources of virtual machine, first create A dummy load equalization server is built, newly-built resources of virtual machine is configured to a node of load-balanced server.
Further, in step S2, the elastic telescopic strategy includes the parameter for influencing resources of virtual machine configuration, the ginseng The corresponding threshold value of number and the corresponding virtual machine increase and decrease strategy of the threshold value.
Further, influence resources of virtual machine configuration parameter include: the utilization rate of virtual machine CPU, the utilization rate of memory, Disk read-write rate.
Further, the corresponding virtual machine increase and decrease strategy of threshold value are as follows:
The threshold values is divided into upper limit threshold values and lower limit threshold values again, when upper limit threshold values is arranged, to be correspondingly arranged more than valve Need to create the specification of virtual machine after value;When lower limit threshold values is arranged, maintenance needed for closing extra virtual machine node is set Time.
Further, the specific implementation process of step S3 are as follows:
Dummy load equalization server monitors the operating status of its lower virtual machine node, is more than in the setting of elastic telescopic strategy When limiting threshold values, then new virtual machine is created according to the specification for creating virtual machine in strategy, and be configured to load-balanced server, born Business access can be diverted to newly-increased virtual machine node by carrying equilibrium;When virtual machine load is lower than elastic telescopic strategy setting When lower limit threshold values, the virtual machine node in load balancing is deleted.
The embodiment of the invention also provides a kind of virtual machine elastic telescopic control device, the device includes:
Dummy load equalization server for receiving the business access information of user, and controls the increase and decrease of virtual machine quantity;
Virtual machine, including several, it is mounted on dummy load equalization server, for realizing business processing.
Further, the dummy load equalization server further include:
Strategy setting module, for elastic telescopic control strategy to be arranged;
Policy enforcement module, for monitoring the operating status of virtual machine, and it is virtual according to the adjustment of elastic telescopic control strategy The quantity of machine.
Further, the elastic telescopic control strategy of strategy setting module setting includes: the utilization rate threshold of virtual machine CPU Value, the utilization threshold of memory, disk read-write rate-valve value and the corresponding virtual machine increase and decrease strategy of each threshold value.
The effect provided in summary of the invention is only the effect of embodiment, rather than invents all whole effects, above-mentioned A technical solution in technical solution have the following advantages that or the utility model has the advantages that
Virtual machine configuration is assigned to virtual machine by load balancing in dummy load equalization server, the access of user.Together When, increase load balancing configuration, monitor the operating status of its lower node, dynamic adjusts virtual machine node number.In addition, increasing Add new virtual machine to share extra business, does not influence the operation of existing virtual machine, it is safer.
Detailed description of the invention
Fig. 1 is the method flow diagram of the embodiment of the present invention;
Fig. 2 is the schematic diagram of device of the embodiment of the present invention;
Fig. 3 is the schematic diagram of virtual machine dilatation;
Fig. 4 is the schematic diagram of virtual machine capacity reducing.
Specific embodiment
In order to clarify the technical characteristics of the invention, below by specific embodiment, and its attached drawing is combined, to this hair It is bright to be described in detail.Following disclosure provides many different embodiments or example is used to realize different knots of the invention Structure.In order to simplify disclosure of the invention, hereinafter the component of specific examples and setting are described.In addition, the present invention can be with Repeat reference numerals and/or letter in different examples.This repetition is that for purposes of simplicity and clarity, itself is not indicated Relationship between various embodiments and/or setting is discussed.It should be noted that illustrated component is not necessarily to scale in the accompanying drawings It draws.Present invention omits the descriptions to known assemblies and treatment technology and process to avoid the present invention is unnecessarily limiting.
Embodiment
As shown in Figure 1, a kind of virtual machine elastic telescopic control method of the embodiment of the present invention, the method include:
S1: one dummy load equalization server of creation, and virtual machine is mounted on dummy load equalization server.
The specific implementation principle of step S1 are as follows: when openstack platform creates resources of virtual machine, if selection is opened Elastic telescopic function, first creates a dummy load equalization server, and newly-built resources of virtual machine is configured to the one of load balancing A node.What is created for the user is virtual machine, but for platform, and the operation that user accesses virtual machine first passes through Dummy load equalization server arrives virtual machine again.
S2: elastic telescopic strategy is set in dummy load equalization server.Concrete configuration includes: the benefit of virtual machine CPU With rate threshold values, the utilization rate threshold values of memory, disk read-write rate threshold values.Threshold values is divided into upper limit threshold values and lower limit threshold values again, setting When upper limit threshold values, to be correspondingly arranged more than the specification for needing to create virtual machine after threshold values.Wherein, the specification of virtual machine includes cpu Number, memory size, disk size, resource template etc..
When lower limit threshold values is set, to be arranged and maintain how long this lower limit threshold values just closes extra virtual machine node.Example Such as, certain lower threshold continue for 3 minutes, illustrate that business enters idle state, and extra virtual machine is closed.
S3: dummy load equalization server regulates and controls the quantity of virtual machine according to elastic telescopic strategy.
The specific implementation process of step S3 are as follows:
Dummy load equalization server can monitor the operating status of its lower virtual machine node, be more than strategy setting upper limit threshold values When, then new virtual machine is created according to the specification for creating virtual machine in strategy, is configured to load-balanced server, load balancing Business access can be diverted to newly-increased virtual machine node, and then reduce the pressure of existing high load virtual machine.
It should be noted that since the resource template of creation virtual machine is the template comprising specified services system, virtual machine Once it creates successfully, it can bearer service access.
When virtual machine load is lower than the lower limit threshold values of strategy setting, the virtual machine node in load balancing is deleted, is allowed Some resources of virtual machine are maximally utilized.
As shown in Fig. 2, the embodiment of the invention also provides a kind of virtual machine elastic telescopic control device, the device packet Include: dummy load equalization server for receiving the business access information of user, and controls the increase and decrease of virtual machine quantity;Virtually Machine includes several, is mounted on dummy load equalization server, for realizing business processing.
Node of the dummy load equalization server as connecting virtual machine and user, for platform, user accesses empty The operation of quasi- machine first passes through dummy load equalization server and arrives virtual machine again.
The dummy load equalization server includes strategy setting module, for elastic telescopic control strategy to be arranged.Plan Slightly setup module setting elastic telescopic control strategy include: the utilization threshold of virtual machine CPU, the utilization threshold of memory, Disk read-write rate-valve value and the corresponding virtual machine increase and decrease strategy of each threshold value.
Threshold values is divided into upper limit threshold values and lower limit threshold values again, when upper limit threshold values is arranged, to be correspondingly arranged and need more than after threshold values Create the specification of virtual machine;When lower limit threshold values is set, to be arranged that maintain this lower limit threshold values how long just to close extra virtual Machine node.Wherein, the specification of virtual machine includes cpu number, memory size, disk size, resource template etc..
The policy enforcement module, for monitoring the operating status of virtual machine, and according to elastic telescopic control strategy tune The quantity of whole virtual machine.
Dummy load equalization server can monitor the operating status of its lower virtual machine node, be more than strategy setting upper limit threshold values When, then new virtual machine is created according to the specification for creating virtual machine in strategy, is configured to load-balanced server, load balancing Business access can be diverted to newly-increased virtual machine node, and then reduce the pressure of existing high load virtual machine, such as Fig. 3 institute Show.
When virtual machine load is lower than the lower limit threshold values of strategy setting, the virtual machine node in load balancing is deleted, is allowed Some resources of virtual machine are maximally utilized, as shown in Figure 4.
Although specification and drawings and examples have been carried out detailed description to the invention, this field skill Art personnel should be appreciated that and still can be modified or replaced equivalently to the invention;And all do not depart from wound of the present invention The technical solution and its improvement for the spirit and scope made, are encompassed by the protection scope of the invention patent.

Claims (9)

1. a kind of virtual machine elastic telescopic control method, it is characterized in that: the method includes:
S1: one dummy load equalization server of creation, and virtual machine is mounted on dummy load equalization server;
S2: elastic telescopic strategy is set in dummy load equalization server;
S3: dummy load equalization server regulates and controls the quantity of virtual machine according to elastic telescopic strategy.
2. a kind of virtual machine elastic telescopic control method according to claim 1, it is characterized in that: the specific implementation of step S1 Process are as follows: when openstack platform creates resources of virtual machine, first create a dummy load equalization server, newly-built void Quasi- machine resource distribution is a node of load-balanced server.
3. a kind of virtual machine elastic telescopic control method according to claim 1, it is characterized in that: in step S2, it is described Elastic telescopic strategy includes the parameter for influencing resources of virtual machine configuration, and the corresponding threshold value of the parameter and the threshold value are corresponding Virtual machine increase and decrease strategy.
4. a kind of virtual machine elastic telescopic control method according to claim 3 is matched it is characterized in that: influencing resources of virtual machine The parameter set includes: the utilization rate of virtual machine CPU, the utilization rate of memory, disk read-write rate.
5. a kind of virtual machine elastic telescopic control method according to claim 3, it is characterized in that: the corresponding virtual machine of threshold value Increase and decrease strategy are as follows:
The threshold values is divided into upper limit threshold values and lower limit threshold values again, when upper limit threshold values is arranged, to be correspondingly arranged more than after threshold values Need to create the specification of virtual machine;When lower limit threshold values is arranged, to be arranged needed for closing extra virtual machine node and hold time.
6. a kind of virtual machine elastic telescopic control method according to claim 1, it is characterized in that: the specific implementation of step S3 Process are as follows:
Dummy load equalization server monitors the operating status of its lower virtual machine node, is more than that elastic telescopic strategy sets upper limit valve When value, then new virtual machine is created according to the specification for creating virtual machine in strategy, and be configured to load-balanced server, load is equal Business access can be diverted to newly-increased virtual machine node by weighing apparatus;When virtual machine load is lower than the lower limit of elastic telescopic strategy setting When threshold values, the virtual machine node in load balancing is deleted.
7. a kind of virtual machine elastic telescopic control device, it is characterized in that: the device includes:
Dummy load equalization server for receiving the business access information of user, and controls the increase and decrease of virtual machine quantity;
Virtual machine, including several, it is mounted on dummy load equalization server, for realizing business processing.
8. a kind of virtual machine elastic telescopic control device according to claim 7, it is characterized in that: the dummy load is equal Weighing apparatus server include:
Strategy setting module, for elastic telescopic control strategy to be arranged;
Policy enforcement module, for monitoring the operating status of virtual machine, and according to elastic telescopic control strategy adjustment virtual machine Quantity.
9. a kind of virtual machine elastic telescopic control device according to claim 8, it is characterized in that: strategy setting module is arranged Elastic telescopic control strategy include: the utilization threshold of virtual machine CPU, the utilization threshold of memory, disk read-write rate threshold Value and the corresponding virtual machine increase and decrease strategy of each threshold value.
CN201810660668.7A 2018-06-25 2018-06-25 A kind of virtual machine elastic telescopic control method and control device Pending CN109086131A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810660668.7A CN109086131A (en) 2018-06-25 2018-06-25 A kind of virtual machine elastic telescopic control method and control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810660668.7A CN109086131A (en) 2018-06-25 2018-06-25 A kind of virtual machine elastic telescopic control method and control device

Publications (1)

Publication Number Publication Date
CN109086131A true CN109086131A (en) 2018-12-25

Family

ID=64840196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810660668.7A Pending CN109086131A (en) 2018-06-25 2018-06-25 A kind of virtual machine elastic telescopic control method and control device

Country Status (1)

Country Link
CN (1) CN109086131A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111093099A (en) * 2019-02-15 2020-05-01 杭州海康威视系统技术有限公司 Streaming media service scheduling method, device and system
CN114785793A (en) * 2022-03-15 2022-07-22 浪潮云信息技术股份公司 Elastic expansion load balancing method and system
CN114884954A (en) * 2022-06-01 2022-08-09 上海弘积信息科技有限公司 Method for performing elastic expansion business according to concurrent connection
CN115051993A (en) * 2022-06-01 2022-09-13 上海弘积信息科技有限公司 Elastic expansion method of service virtual machine based on MC centralized management system
CN115996228A (en) * 2023-03-22 2023-04-21 睿至科技集团有限公司 Energy data processing method and system based on Internet of things
CN116028930A (en) * 2023-03-28 2023-04-28 睿至科技集团有限公司 Defense detection method and system for energy data in Internet of things

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187512A (en) * 2015-08-13 2015-12-23 航天恒星科技有限公司 Method and system for load balancing of virtual machine clusters
CN107197053A (en) * 2017-07-31 2017-09-22 郑州云海信息技术有限公司 A kind of load-balancing method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187512A (en) * 2015-08-13 2015-12-23 航天恒星科技有限公司 Method and system for load balancing of virtual machine clusters
CN107197053A (en) * 2017-07-31 2017-09-22 郑州云海信息技术有限公司 A kind of load-balancing method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111093099A (en) * 2019-02-15 2020-05-01 杭州海康威视系统技术有限公司 Streaming media service scheduling method, device and system
CN114785793A (en) * 2022-03-15 2022-07-22 浪潮云信息技术股份公司 Elastic expansion load balancing method and system
CN114884954A (en) * 2022-06-01 2022-08-09 上海弘积信息科技有限公司 Method for performing elastic expansion business according to concurrent connection
CN115051993A (en) * 2022-06-01 2022-09-13 上海弘积信息科技有限公司 Elastic expansion method of service virtual machine based on MC centralized management system
CN115996228A (en) * 2023-03-22 2023-04-21 睿至科技集团有限公司 Energy data processing method and system based on Internet of things
CN116028930A (en) * 2023-03-28 2023-04-28 睿至科技集团有限公司 Defense detection method and system for energy data in Internet of things

Similar Documents

Publication Publication Date Title
CN109086131A (en) A kind of virtual machine elastic telescopic control method and control device
CN106656867B (en) A kind of dynamic SDN configuration method of the application perception based on virtual network
CN103379040B (en) A kind of high concurrent system controls the apparatus and method of number of concurrent
CN104092756B (en) A kind of resource dynamic distributing method of the cloud storage system based on DHT mechanism
WO2021022764A1 (en) Network slicing method and network slicing apparatus for 5g core network
CN104133880B (en) A kind of method and apparatus that the file cache time is set
CN109417572A (en) The system and method that chain of command function carries out tactful configuration to control plane function
CN105872079B (en) A kind of link equalization method based on domain name system DNS
US20150032977A1 (en) Memory management system, method and computer program product
CN102647760B (en) Multi-service-network-based efficient service resource management method
CN105847339A (en) Smart medical service platform
CN107015972A (en) A kind of computer room business migration methods, devices and systems
CN104104551B (en) Cloud resource need assessment method and device
CN110111092B (en) Compatible system of payment channel
CN101271444B (en) Multi-component self-organizing soft-connection cluster computer intelligence resource management method
CN105991738A (en) Method and system for cross safety domain resource sharing in cloud resource pool
CN108494788A (en) Transmission method, data transmission device and the computer readable storage medium of data
CN109218216A (en) Chain polymerization traffic distribution method, device, equipment and storage medium
CN107370686A (en) A kind of flow control methods and device
CN108023759A (en) Adaptive resource regulating method and device
CN104767741A (en) Calculation service separating and safety protecting system based on light virtual machine
CN104580018A (en) Bandwidth adjustment method and device in software-defined network
CN105426285B (en) The method and apparatus of database connection pool monitoring and management
CN102201935B (en) Access control method and device based on VIEW
CN107479974A (en) A kind of dispatching method of virtual machine and 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181225