CN108833528A - A kind of cloud platform colony dispatching method and apparatus - Google Patents

A kind of cloud platform colony dispatching method and apparatus Download PDF

Info

Publication number
CN108833528A
CN108833528A CN201810592411.2A CN201810592411A CN108833528A CN 108833528 A CN108833528 A CN 108833528A CN 201810592411 A CN201810592411 A CN 201810592411A CN 108833528 A CN108833528 A CN 108833528A
Authority
CN
China
Prior art keywords
cloud platform
host
colony
strategy
scheduling strategy
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
CN201810592411.2A
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 CN201810592411.2A priority Critical patent/CN108833528A/en
Publication of CN108833528A publication Critical patent/CN108833528A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/76Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers

Abstract

The embodiment of the invention discloses a kind of cloud platform colony dispatching method and apparatus, the method includes:According to the demand of different user, corresponding scheduling strategy in the colony scheduling strategy of preset cloud platform is selected;Cluster is scheduled according to the parameter of the corresponding scheduling strategy.Method through the embodiment of the present invention can apply corresponding scheduling strategy according to different user demands, realize the dynamic allocation to cluster resource.

Description

A kind of cloud platform colony dispatching method and apparatus
Technical field
The present invention relates to cloud computing technology, espespecially a kind of cloud platform colony dispatching method and apparatus.
Background technique
It in cloud platform, needs to access a large amount of cluster resource, and disposes a large amount of virtual machine in the cluster.And in order to more It is effective to utilize, distribute cluster resource, reasonable, the flexible colony dispatching strategy using a kind of comparison is needed, realizes the dynamic of resource State distribution, improves the utilizability of cluster resource.
However the technical solution of the prior art can not effectively apply corresponding scheduling according to different user demands Strategy realizes the dynamic allocation to cluster resource.Therefore, the prior art cannot carry out reasonable distribution, cloud platform to cluster resource The flexibility of cluster resource scheduling and validity are poor, and the operation stability of cloud platform is poor.
Summary of the invention
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of cloud platform colony dispatching method and apparatus, Corresponding scheduling strategy can be applied according to different user demands, realize the dynamic allocation to cluster resource.
In order to reach the object of the invention, on the one hand, the embodiment of the invention provides a kind of cloud platform colony dispatching method, packets It includes:
According to the demand of different user, corresponding scheduling plan in the colony scheduling strategy of preset cloud platform is selected Slightly;
Cluster is scheduled according to the parameter of the corresponding scheduling strategy.
Further, the colony scheduling strategy of the preset cloud platform includes:
It is to fill up strategy, diversification strategies and load balancing by colony dispatching policy definition.
Further, the demand according to different user, selects in the colony scheduling strategy of preset cloud platform Corresponding scheduling strategy further includes:
It is maximum if necessary to host computer rate in cluster, strategy is filled up using described;
By deploying virtual machine in same host, until the host is filled.
Further, the demand according to different user, selects in the colony scheduling strategy of preset cloud platform Corresponding scheduling strategy further includes:
If necessary to virtual machine stable operation, using the diversification strategies;
Virtual machine equalization is deployed in different hosts.
Further, the demand according to different user, selects in the colony scheduling strategy of preset cloud platform Corresponding scheduling strategy further includes:
If necessary to the load balancing of host in cluster, using the load balancing;
The load of each host under system automatic detection group, and the virtual machine (vm) migration disposed on high load host is born to low Carry host.
On the other hand, the embodiment of the invention also provides a kind of cloud platform colony dispatching devices, including:
Selecting module selects in the colony scheduling strategy of preset cloud platform for the demand according to different user Corresponding scheduling strategy;
Scheduler module is scheduled for cluster according to the parameter of the corresponding scheduling strategy.
Further, the selecting module is also used to:
It is to fill up strategy, diversification strategies and load balancing by colony dispatching policy definition.
Further, the scheduler module is also used to:
It is maximum if necessary to host computer rate in cluster, strategy is filled up using described;
By deploying virtual machine in same host, until the host is filled.
Further, the scheduler module is also used to:
If necessary to virtual machine stable operation, using the diversification strategies;
Virtual machine equalization is deployed in different hosts.
Further, the scheduler module is also used to:
If necessary to the load balancing of host in cluster, using the load balancing;
The load of each host under system automatic detection group, and the virtual machine (vm) migration disposed on high load host is born to low Carry host.
For the embodiment of the present invention according to the demand of different user, it is right in the colony scheduling strategy of preset cloud platform to select The scheduling strategy answered;Cluster is scheduled according to the parameter of the corresponding scheduling strategy.Method through the embodiment of the present invention, Corresponding scheduling strategy can be applied according to different user demands, realize the dynamic allocation to cluster resource.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by specification, right Specifically noted structure is achieved and obtained in claim and attached drawing.
Detailed description of the invention
Attached drawing is used to provide to further understand technical solution of the present invention, and constitutes part of specification, with this The embodiment of application technical solution for explaining the present invention together, does not constitute the limitation to technical solution of the present invention.
Fig. 1 is the flow chart of cloud platform of embodiment of the present invention colony dispatching method;
Fig. 2 is the schematic diagram of cloud platform of embodiment of the present invention colony dispatching method;
Fig. 3 is the structure chart of cloud platform of embodiment of the present invention colony dispatching device.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application Feature can mutual any combination.
Step shown in the flowchart of the accompanying drawings can be in a computer system such as a set of computer executable instructions It executes.Also, although logical order is shown in flow charts, and it in some cases, can be to be different from herein suitable Sequence executes shown or described step.
Fig. 1 is the flow chart of cloud platform of embodiment of the present invention colony dispatching method, as shown in Figure 1, the embodiment of the present invention Method includes the following steps:
Step 100:According to the demand of different user, select corresponding in the colony scheduling strategy of preset cloud platform Scheduling strategy;
Step 101:Cluster is scheduled according to the parameter of the corresponding scheduling strategy.
Specifically, the technical solution that the embodiment of the present invention proposes is a kind of based on cloud platform ICOS (Include OpenStack), the specially colony dispatching strategy of tide sea of clouds cloud data center operating system.
Colony dispatching strategy is divided by the embodiment of the present invention fills up strategy, diversification strategies and load balancing, Ke Yifen Different performance indicators is not realized.
Further, the colony scheduling strategy of the preset cloud platform includes:
It is to fill up strategy, diversification strategies and load balancing by colony dispatching policy definition.
Further, the demand according to different user, selects in the colony scheduling strategy of preset cloud platform Corresponding scheduling strategy further includes:
It is maximum if necessary to host computer rate in cluster, strategy is filled up using described;
By deploying virtual machine in same host, until the host is filled.
Wherein, host computer rate maximum for example including:Pass through the calculated host cpu (Central of process Processing Unit, CPU) utilization rate maximum.
Further, the demand according to different user, selects in the colony scheduling strategy of preset cloud platform Corresponding scheduling strategy further includes:
If necessary to virtual machine stable operation, using the diversification strategies;
Virtual machine equalization is deployed in different hosts.
Further, the demand according to different user, selects in the colony scheduling strategy of preset cloud platform Corresponding scheduling strategy further includes:
If necessary to the load balancing of host in cluster, using the load balancing;
The load of each host under system automatic detection group, and the virtual machine (vm) migration disposed on high load host is born to low Carry host.For example, high load host is the host for being higher than preset load on host computers upper limit value in the load balancing, low-load Host is the host for being lower than preset load on host computers lower limit value in the load balancing, in this way, highest can be loaded host On the virtual machine (vm) migration of upper deployment to minimum load host.
As it can be seen that filling up after strategy can ensure that virtual machine fills up current hosts in cluster, it can just be deployed to another host, it is ensured that The high usage of host resource;Numerous deploying virtual machines in different hosts, is ensured the steady of virtual machine operation by diversification strategies It is qualitative;Dynamic Load-Balancing Strategy can make the load of each host under system automatic detection group, and will dispose on high load host Virtual machine (vm) migration to low-load host, it is ensured that the load balancing of host in cluster.
The embodiment of the present invention is mainly used in the colony dispatching of cloud platform, method through the embodiment of the present invention, Ke Yigen Corresponding scheduling strategy is applied according to different user demands, realizes the dynamic allocation to cluster resource.
Technical solution of the embodiment of the present invention is elaborated as follows:
According to different user demands, defining colony dispatching strategy is to fill up strategy, diversification strategies and load balancing;
Ensure that the utilization rate of host in cluster is maximum using strategy is filled up;
Ensure the stability of virtual machine operation using diversification strategies;
Application load balancing strategy ensures the load balancing of host in cluster;
Technical solution of the embodiment of the present invention realize specific embodiment be:
Fig. 2 is the schematic diagram of cloud platform of embodiment of the present invention colony dispatching method, as shown in Fig. 2, the embodiment of the present invention It is to fill up strategy, diversification strategies and load balancing by the colony dispatching policy definition based on ICOS, specific implementation process is such as Under:
S1, the actual demand according to user, using different scheduling strategies:
It is maximum if necessary to host computer rate in cluster, using filling up strategy;
If necessary to virtual machine stable operation, using diversification strategies;
If required to ensure that in cluster host load balancing, application load balancing strategy.
S2, strategy is filled up when cluster application, by deploying virtual machine in same host, until the host is filled;
S3, when cluster application diversification strategies, virtual machine equalization is deployed in different hosts;
S4, when the load of each host under cluster application load balancing, system automatic detection group, and by high load master The virtual machine (vm) migration disposed on machine is to low-load host;
S5, system carry out detailed log recording to the scheduling of cluster resource.
The reasonable distribution of cluster resource may be implemented in the embodiment of the present invention, greatly improves the scheduling of cloud platform cluster resource Flexibility and validity, it is ensured that the stable operation of cloud platform.
Fig. 3 is the structure chart of cloud platform of embodiment of the present invention colony dispatching device, as shown in figure 3, the embodiment of the present invention is another On the one hand a kind of cloud platform colony dispatching device provided, including:
Selecting module 301 selects the colony scheduling strategy of preset cloud platform for the demand according to different user In corresponding scheduling strategy;
Scheduler module 302 is scheduled for cluster according to the parameter of the corresponding scheduling strategy.
Further, the selecting module 301 is also used to:
It is to fill up strategy, diversification strategies and load balancing by colony dispatching policy definition.
Further, the scheduler module 302 is also used to:
It is maximum if necessary to host computer rate in cluster, strategy is filled up using described;
By deploying virtual machine in same host, until the host is filled.
Further, the scheduler module 302 is also used to:
If necessary to virtual machine stable operation, using the diversification strategies;
Virtual machine equalization is deployed in different hosts.
Further, the scheduler module 302 is also used to:
If necessary to the load balancing of host in cluster, using the load balancing;
The load of each host under system automatic detection group, and the virtual machine (vm) migration disposed on high load host is born to low Carry host.
Specifically, the embodiment of the present invention designs reasonable colony dispatching strategy according to different customer demands, and then makes to collect The Land use systems of group are more rationally effective, improve the flexibility and validity of cluster resource scheduling.
Described device improves cluster resource scheduling to the corresponding scheduling strategy of cluster application according to different customer demands Flexibility and validity;
Colony dispatching policy definition is to fill up strategy, diversification strategies and load balancing by described device, according to user Actual demand, using different scheduling strategies, cluster carries out rationalization scheduling according to policing parameter;
Described device applies different scheduling strategies, and cluster carries out rationalization scheduling according to policing parameter, and main includes such as Under several steps:
It is maximum if necessary to host computer rate in cluster, using filling up strategy, by deploying virtual machine in same host, until The host is filled;
Virtual machine equalization is deployed in different hosts using diversification strategies if necessary to virtual machine stable operation;
If required to ensure that in cluster host load balancing, application load balancing strategy, under system automatic detection group The load of each host, and by the virtual machine (vm) migration disposed on high load host to low-load host;
System records the scheduling of cluster resource in detail.
For the embodiment of the present invention according to the demand of different user, it is right in the colony scheduling strategy of preset cloud platform to select The scheduling strategy answered;Cluster is scheduled according to the parameter of the corresponding scheduling strategy.Method through the embodiment of the present invention, Corresponding scheduling strategy can be applied according to different user demands, realize the dynamic allocation to cluster resource.
In conclusion the embodiment of the present invention is mainly used in the colony dispatching of cloud platform, it can be according to different user's need It asks using corresponding scheduling strategy, realizes the dynamic allocation to cluster resource.
Colony dispatching strategy is divided by the embodiment of the present invention according to different user demands:Fill up strategy, diversification strategies and Load balancing realizes different colony dispatching indexs respectively.
The reasonable distribution of cluster resource may be implemented in the embodiment of the present invention, greatly improves the scheduling of cloud platform cluster resource Flexibility and validity, it is ensured that the stable operation of cloud platform.
Although disclosed herein embodiment it is as above, the content only for ease of understanding the present invention and use Embodiment is not intended to limit the invention.Technical staff in any fields of the present invention is taken off not departing from the present invention Under the premise of the spirit and scope of dew, any modification and variation, but the present invention can be carried out in the form and details of implementation Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.

Claims (10)

1. a kind of cloud platform colony dispatching method, which is characterized in that including:
According to the demand of different user, corresponding scheduling strategy in the colony scheduling strategy of preset cloud platform is selected;
Cluster is scheduled according to the parameter of the corresponding scheduling strategy.
2. cloud platform colony dispatching method according to claim 1, which is characterized in that the preset cloud platform it is a variety of Colony dispatching strategy includes:
It is to fill up strategy, diversification strategies and load balancing by colony dispatching policy definition.
3. cloud platform colony dispatching method according to claim 2, which is characterized in that the need according to different user It asks, selects the corresponding scheduling strategy in the colony scheduling strategy of preset cloud platform to further include:
It is maximum if necessary to host computer rate in cluster, strategy is filled up using described;
By deploying virtual machine in same host, until the host is filled.
4. cloud platform colony dispatching method according to claim 2, which is characterized in that the need according to different user It asks, selects the corresponding scheduling strategy in the colony scheduling strategy of preset cloud platform to further include:
If necessary to virtual machine stable operation, using the diversification strategies;
Virtual machine equalization is deployed in different hosts.
5. cloud platform colony dispatching method according to claim 2, which is characterized in that the need according to different user It asks, selects the corresponding scheduling strategy in the colony scheduling strategy of preset cloud platform to further include:
If necessary to the load balancing of host in cluster, using the load balancing;
The load of each host under system automatic detection group, and by the virtual machine (vm) migration disposed on high load host to low-load master Machine.
6. a kind of cloud platform colony dispatching device, which is characterized in that including:
Selecting module selects corresponding in the colony scheduling strategy of preset cloud platform for the demand according to different user Scheduling strategy;
Scheduler module is scheduled for cluster according to the parameter of the corresponding scheduling strategy.
7. cloud platform colony dispatching device according to claim 6, which is characterized in that the selecting module is also used to:
It is to fill up strategy, diversification strategies and load balancing by colony dispatching policy definition.
8. cloud platform colony dispatching device according to claim 7, which is characterized in that the scheduler module is also used to:
It is maximum if necessary to host computer rate in cluster, strategy is filled up using described;
By deploying virtual machine in same host, until the host is filled.
9. cloud platform colony dispatching device according to claim 7, which is characterized in that the scheduler module is also used to:
If necessary to virtual machine stable operation, using the diversification strategies;
Virtual machine equalization is deployed in different hosts.
10. cloud platform colony dispatching device according to claim 7, which is characterized in that the scheduler module is also used to:
If necessary to the load balancing of host in cluster, using the load balancing;
The load of each host under system automatic detection group, and by the virtual machine (vm) migration disposed on high load host to low-load master Machine.
CN201810592411.2A 2018-06-11 2018-06-11 A kind of cloud platform colony dispatching method and apparatus Pending CN108833528A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810592411.2A CN108833528A (en) 2018-06-11 2018-06-11 A kind of cloud platform colony dispatching method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810592411.2A CN108833528A (en) 2018-06-11 2018-06-11 A kind of cloud platform colony dispatching method and apparatus

Publications (1)

Publication Number Publication Date
CN108833528A true CN108833528A (en) 2018-11-16

Family

ID=64143875

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810592411.2A Pending CN108833528A (en) 2018-06-11 2018-06-11 A kind of cloud platform colony dispatching method and apparatus

Country Status (1)

Country Link
CN (1) CN108833528A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113079169A (en) * 2021-04-13 2021-07-06 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Two-stage multi-layer resource scheduling method and system for mimicry defense
CN115904717A (en) * 2022-11-30 2023-04-04 湖南长银五八消费金融股份有限公司 Method and device for deploying application system in cloud platform and computer equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262567A (en) * 2010-05-24 2011-11-30 中兴通讯股份有限公司 Virtual machine scheduling decision system, platform and method
CN102662754A (en) * 2012-04-20 2012-09-12 浙江大学 Multi-field supportable virtual machine dispatching device and multi-field supportable virtual machine dispatching method
CN104239159A (en) * 2013-06-11 2014-12-24 鸿富锦精密工业(深圳)有限公司 Virtual machine maintenance system and method
US20170352006A1 (en) * 2013-01-18 2017-12-07 Robert Yu Optimized online marketing and scheduling systems and methods that are based on driving demand for services
CN107479947A (en) * 2017-08-18 2017-12-15 郑州云海信息技术有限公司 A kind of energy consumption of virtual machine optimization method and system
CN107689892A (en) * 2017-09-12 2018-02-13 中国人民解放军信息工程大学 Virtual machine Placement Strategy selecting device, attack defense method and virtual machine deployment method, device coexists

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262567A (en) * 2010-05-24 2011-11-30 中兴通讯股份有限公司 Virtual machine scheduling decision system, platform and method
CN102662754A (en) * 2012-04-20 2012-09-12 浙江大学 Multi-field supportable virtual machine dispatching device and multi-field supportable virtual machine dispatching method
US20170352006A1 (en) * 2013-01-18 2017-12-07 Robert Yu Optimized online marketing and scheduling systems and methods that are based on driving demand for services
CN104239159A (en) * 2013-06-11 2014-12-24 鸿富锦精密工业(深圳)有限公司 Virtual machine maintenance system and method
CN107479947A (en) * 2017-08-18 2017-12-15 郑州云海信息技术有限公司 A kind of energy consumption of virtual machine optimization method and system
CN107689892A (en) * 2017-09-12 2018-02-13 中国人民解放军信息工程大学 Virtual machine Placement Strategy selecting device, attack defense method and virtual machine deployment method, device coexists

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
袁金艳: ""多虚拟机快速部署机制的研究"", 《中国优秀硕士学位论文全文数据库(信息科技辑)》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113079169A (en) * 2021-04-13 2021-07-06 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Two-stage multi-layer resource scheduling method and system for mimicry defense
CN115904717A (en) * 2022-11-30 2023-04-04 湖南长银五八消费金融股份有限公司 Method and device for deploying application system in cloud platform and computer equipment
CN115904717B (en) * 2022-11-30 2023-11-17 湖南长银五八消费金融股份有限公司 Application system deployment method and device in cloud platform and computer equipment

Similar Documents

Publication Publication Date Title
CN108701059B (en) Multi-tenant resource allocation method and system
US10693806B2 (en) Network bandwidth reservations for system traffic and virtual computing instances
US9866450B2 (en) Methods and apparatus related to management of unit-based virtual resources within a data center environment
EP3577558B1 (en) Resource management for virtual machines in cloud computing systems
US9052932B2 (en) Hybrid virtual machine configuration management
CN103810016B (en) Realize method, device and the group system of virtual machine (vm) migration
CN108667859A (en) A kind of method and device for realizing scheduling of resource
CN105159775A (en) Load balancer based management system and management method for cloud computing data center
US11740921B2 (en) Coordinated container scheduling for improved resource allocation in virtual computing environment
CN116541134B (en) Method and device for deploying containers in multi-architecture cluster
CN107479947A (en) A kind of energy consumption of virtual machine optimization method and system
CN103503412A (en) Method and device for scheduling resources
CN112087332B (en) Virtual network performance optimization system under cloud edge cooperation
US8458719B2 (en) Storage management in a data processing system
CN108833528A (en) A kind of cloud platform colony dispatching method and apparatus
CN110162397A (en) Resource allocation methods, apparatus and system
CN107682391A (en) Electronic installation, server-assignment control method and computer-readable recording medium
US10990519B2 (en) Multi-tenant cloud elastic garbage collector
CN109656714A (en) A kind of GPU resource dispatching method virtualizing video card
CN108388471A (en) A kind of management method constraining empty machine migration based on double threshold
Di Stefano et al. Improving the allocation of communication-intensive applications in clouds using time-related information
Kyi et al. An efficient approach for virtual machines scheduling on a private cloud environment
CN114090199A (en) Multi-tenant application program isolation method and device based on SOC intelligent network card
CN106874069A (en) A kind of resources of virtual machine distribution method and device
CN107562510A (en) The management method and management equipment of a kind of application example

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: 20181116