CN108833592A - Cloud host schedules device optimization method, device, equipment and storage medium - Google Patents

Cloud host schedules device optimization method, device, equipment and storage medium Download PDF

Info

Publication number
CN108833592A
CN108833592A CN201810776439.1A CN201810776439A CN108833592A CN 108833592 A CN108833592 A CN 108833592A CN 201810776439 A CN201810776439 A CN 201810776439A CN 108833592 A CN108833592 A CN 108833592A
Authority
CN
China
Prior art keywords
physical machine
information
cloud host
physical
label
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
CN201810776439.1A
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.)
Wuxi Huayun Data Technology Service Co Ltd
Original Assignee
Wuxi Huayun Data Technology Service 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 Wuxi Huayun Data Technology Service Co Ltd filed Critical Wuxi Huayun Data Technology Service Co Ltd
Priority to CN201810776439.1A priority Critical patent/CN108833592A/en
Publication of CN108833592A publication Critical patent/CN108833592A/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/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
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • 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
    • H04L67/1004Server selection for load balancing
    • H04L67/1012Server selection for load balancing based on compliance of requirements or conditions with available server resources

Abstract

Cloud host schedules device optimization method, device, equipment and storage medium provided by the invention, belong to field of cloud calculation.When this method is included in creation cloud host specification, at least one label information entrained by the cloud host is obtained;Obtain the physical node information of each alternative physical machine;Determine that the physical node information is all satisfied the physical machine set of each label information according to each label information;Target physical machine is determined in the physical machine set, the target physical machine is the physical machine for being intended to run the cloud host.So for method in compared to the prior art, because by being first that cloud host specifies at least one label information, determine that the physical node information is all satisfied the physical machine set of each label information further according to each label information, to guarantee that the physical machine by filter inspection is all necessary inspection, rather than the inspection for hierarchical of following the prescribed order, realize the technical effect for improving the working efficiency of scheduler.

Description

Cloud host schedules device optimization method, device, equipment and storage medium
Technical field
The present invention relates to field of cloud calculation, in particular to cloud host schedules device optimization method, device, equipment and deposit Storage media.
Background technique
As the technologies such as cloud computing, big data, artificial intelligence use increasingly extensive, and openstack (the cloud meter of open source Calculate IAAS project) as a set of open source cloud computing IaaS (Infrastructure as a Service, architecture be clothes Business) solution, the integrated management of resource is provided for corporate client, is distributed according to need, out-of-the-box etc. is convenient, saves enterprise Industry client's time and resources costs, are widely used by major system integrator.As the business of corporate client increases, entire cluster Scale also can be increasing, will inevitably encounter various performance issues, for example, open cloud host process change Slowly, the problems such as adjustment cloud Host Type waits slowly, is not able to satisfy the requirement of corporate client.
However existing technology nova-scheduler (scheduler of nova) uses filter (filter) and weight (weight) obtains out optimal node.Specifically, all physical machine lists are first obtained, further according to the filters of configuration, by object Filters is crossed in the list of reason machine one by one, is removed ungratified physical machine, the physical machine of satisfaction is left, finally by weight Calculate optimal node, thus can consume a large amount of time do It is not necessary to inspection, cause batch open or batch The time for adjusting cloud host node is longer.
Summary of the invention
Cloud host schedules device optimization method, device, equipment and storage medium provided in an embodiment of the present invention can solve existing There is the technical issues of long existing scheduling time in technology and low efficiency.
In a first aspect, a kind of cloud host schedules device optimization method provided in an embodiment of the present invention, including:In creation cloud host When specification, at least one label information entrained by the cloud host is obtained;Obtain the physical node letter of each alternative physical machine Breath;Determine that the physical node information is all satisfied the physical machine collection of each label information according to each label information It closes;Target physical machine is determined in the physical machine set, the target physical machine is the physical machine for being intended to run the cloud host.
With reference to first aspect, described the embodiment of the invention provides the first possible embodiment of first aspect It determines that the physical node information is all satisfied the physical machine set of each label information according to each label information, wraps It includes:All physical machines are divided into multiple set according to default label;According to each label information from the multiple Determine that the physical node information is all satisfied the target physical machine set of each label information in set.
The possible embodiment of with reference to first aspect the first, the embodiment of the invention provides second of first aspect Possible embodiment determines that the physical node information is all satisfied according to each label information from the multiple set The target physical machine set of each label information, including:Each label letter is determined from the multiple set The first corresponding physical machine set of breath;Obtain all first physical machine intersection of sets collection;Using the intersection as described in Target physical machine set.
With reference to first aspect, described the embodiment of the invention provides the third possible embodiment of first aspect Target physical machine is determined in the physical machine set, including:Obtain the basis of each physical machine in the physical machine set Resource information;It obtains and the matched basic resource information of preset condition;If the quantity of the basic resource information is one When, using the physical machine corresponding to the basic resource information as target physical machine.
With reference to first aspect the third is possible, and the embodiment of the invention provides the 4th kind of possible implementations of first aspect Mode, it is described to obtain with after the matched basic resource information of preset condition, further include:If the basic resource letter When the quantity of breath is multiple, weight corresponding to each basic resource information is obtained;Target base is determined according to the weight Plinth resource information;Using the physical machine corresponding to the target basic resource information as target physical machine.
Second aspect, cloud host schedules device provided in an embodiment of the present invention optimize device, including:Creation module is used for When creating cloud host specification, at least one label information entrained by the cloud host is obtained;Module is obtained, it is each for obtaining The physical node information of alternative physical machine;First processing module, for determining the physics section according to each label information Point information is all satisfied the physical machine set of each label information;Second processing module, in the physical machine set Determine that target physical machine, the target physical machine are the physical machine for being intended to run the cloud host.
In conjunction with second aspect, the embodiment of the invention provides the first possible embodiment of second aspect, described One processing module is also used to:All physical machines are divided into multiple set according to default label;According to each label Information determines that the physical node information is all satisfied the target physical of each label information from the multiple set Machine set.
In conjunction with second aspect, the embodiment of the invention provides second of possible embodiment of second aspect, described Two processing modules are also used to:Obtain the basic resource information of each physical machine in the physical machine set;It obtains and default item The matched basic resource information of part;If the quantity of the basic resource information is one, by the basic resource information The corresponding physical machine is as target physical machine.
The third aspect, a kind of terminal device provided in an embodiment of the present invention, including:It memory, processor and is stored in In the memory and the computer program that can run on the processor, when the processor executes the computer program It realizes such as the step of any one of first aspect the method.
Fourth aspect, a kind of storage medium provided in an embodiment of the present invention are stored with instruction on the storage medium, work as institute Instruction is stated when running on computers, so that the computer executes such as the described in any item methods of first aspect.
Compared with prior art, cloud host schedules device optimization method, device, equipment and storage provided in an embodiment of the present invention Medium beneficial effect is:By obtaining at least one label information entrained by the cloud host when creating cloud host specification; Obtain the physical node information of each alternative physical machine;Determine that the physical node information is full according to each label information The physical machine set of each label information of foot;Target physical machine, the target physical are determined in the physical machine set Machine is the physical machine for being intended to run the cloud host.So for method in compared to the prior art, because by being first cloud master Machine specifies at least one label information, determines that the physical node information is all satisfied each institute further according to each label information The physical machine set of label information is stated, to screen out the physical machine for not needing to carry out subsequent examination, first to guarantee by filter The physical machine of inspection is all necessary inspection, rather than the inspection for hierarchical of following the prescribed order, and then effectively avoids unnecessary Physical machine enters scheduler, to realize the technical effect for improving the efficiency of scheduler, and the physics due to needing to filter The quantity of machine is reduced, and then effectively shortens scheduling time, the experience of overall operation time is promoted, so that in extensive environment Under, it opens in batches, adjusts specification, rebuilds cloud host and fault recovery cloud host uniform velocity faster.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the flow chart for the cloud host schedules device optimization method that first embodiment of the invention provides;
Fig. 2 is the functional block diagram that the cloud host schedules device that second embodiment of the invention provides optimizes device;
Fig. 3 is a kind of schematic diagram for terminal device that third embodiment of the invention provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.Therefore, The model of claimed invention is not intended to limit to the detailed description of the embodiment of the present invention provided in the accompanying drawings below It encloses, but is merely representative of selected embodiment of the invention.Based on the embodiments of the present invention, those of ordinary skill in the art are not having Every other embodiment obtained under the premise of creative work is made, shall fall within the protection scope of the present invention.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.Meanwhile of the invention In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
With reference to the accompanying drawing, it elaborates to some embodiments of the present invention.In the absence of conflict, following Feature in embodiment and embodiment can be combined with each other.
First embodiment
Referring to Fig. 1, being the flow chart of cloud host schedules device optimization method provided in an embodiment of the present invention.It below will be to figure Detailed process shown in 1 is described in detail.
Step S101 obtains at least one label information entrained by the cloud host when creating cloud host specification.
Label information can be attribute specific to the physical machine for running the cloud host, such as may be, but not limited to, solely Account for CPU (Central Processing Unit, central processing unit), sharing CPU or GPU (Graphics Processing Unit, graphics processor) information such as hardware.
In actual use, when creating cloud host specification, obtaining user is at least one label specified by cloud host Information.For example, user can be the specified one or more label informations of cloud host by drop-down list, by monitoring drop-down list Event is to get at least one label information entrained by cloud host.In another example user can input one by input frame A or multiple label informations either select the operations such as one or more label informations by check box, one specified for cloud host Or multiple label informations.Here, being not especially limited.
Step S102 obtains the physical node information of each alternative physical machine.
For physical node information for uniquely characterizing the physical machine, i.e. physical node information can be each alternative physical machine Identity information.
Optionally, the physical node information of each alternative physical machine is obtained from database.
Optionally, timing updates the physical node information of each alternative physical machine, the particular community that physical machine is had Carry out label flag update.Wherein, particular community may be, but not limited to, exclusive CPU, sharing CPU or GPU hardware etc..For example, When updating metadata information (i.e. the label information) of physical machine, metadata when default physical machine initializes is sky, passes through meter The hardware change that service poll check calculates physical machine is calculated, when discovery has new hardware to plug, that is, updates first number of physical machine It is believed that breath.
Step S103 determines that the physical node information is all satisfied each label and believes according to each label information The physical machine set of breath.
Physical machine set include at least one physics unit at set.
As a kind of possible implementation, step S103 includes:By all physical machines according to default label point For multiple set;It is each to determine that the physical node information is all satisfied from the multiple set according to each label information The target physical machine set of the label information.
Wherein, default label refers to each physical machine according to not isolabeling set by attribute difference.Specifically, please join According to step S101.
As an example it is assumed that default label includes exclusive CPU, sharing CPU and GPU.It then will be labeled as the physics of exclusive CPU Machine forms a set, will gather labeled as the physics unit of sharing CPU at one, will be labeled as the physics unit of GPU at one A set.Determine that the physical node information is all satisfied each institute from the multiple set further according to each label information State the target physical machine set of label information.
Optionally, determine that the physical node information is all satisfied from the multiple set according to each label information The target physical machine set of each label information, including:Each label letter is determined from the multiple set The first corresponding physical machine set of breath;Obtain all first physical machine intersection of sets collection;Using the intersection as described in Target physical machine set.
Continue for by taking above-mentioned example as an example, it is assumed that cloud host includes two label informations, respectively exclusive CPU and GPU. Two set, the physical machine for being respectively exclusive CPU by label information are obtained from above-mentioned set by exclusive CPU and GPU Composition one set (as the first physical machine set) and by label information be sharing CPU physics unit at one set (as the first physical machine set).Then two the first physical machine set are sought common ground, using the intersection as the mesh Mark physical machine set.
For example, it is assumed that the information of the physical machine in computing cluster is as follows:First physical machine compute01 metadata is (GPU, sharing CPU, other characteristics), the second physical machine compute02 metadata are (GPU monopolizes cpu, other characteristics), third Physical machine compute03 metadata be (sharing CPU, other characteristics), the 4th physical machine compute04 metadata be (GPU, solely CPU is accounted for, other characteristics).When two label informations entrained by the cloud host, two label informations be respectively exclusive CPU and GPU, the i.e. metadata of cloud host are (exclusive CPU and GPU), when cloud host crosses scheduler, according to the label information of cloud host (GPU monopolizes CPU), to obtain the physical machine set of satisfaction.Specifically:Physical machine is first divided into multiple collection according to default label It closes, such as by composition one set that label information is GPU, i.e., collection is combined into:[compute01, compute02, compute04], Exclusive CPU collection is combined into:[compute02, compute04], sharing CPU collection are combined into:[compute01, compute03], then The corresponding first physical machine collection of each label is obtained in above-mentioned set according to the label information (GPU, exclusive CPU) of cloud host Close to get to the first physical machine collection be combined into [compute01, compute02, compute04] and [compute02, compute04].Then intersection is taken to [compute01, compute02, compute04] and [compute02, compute04] (for example, doing a traversal i.e. in GPU again in the set of exclusive CPU), obtains target physical machine set, i.e. target physical machine set For [compute02, compute04].If to [compute01, compute02, compute04] and [compute02, Compute04] there is no when taking intersection intersection then directly to return not have.
Step S104 determines that target physical machine, the target physical machine are described to be intended to run in the physical machine set The physical machine of cloud host.
As a kind of possible implementation, step S104 includes:Obtain each physical machine in the physical machine set Basic resource information;It obtains and the matched basic resource information of preset condition;If the quantity of the basic resource information When being one, using the physical machine corresponding to the basic resource information as target physical machine.
Wherein, basic resource information includes but is not limited to the vacant value of CPU, vacant value of Memory (memory) etc..
Optionally, preset condition can refer to that the vacant value of basic resource information is greater than preset value.Obtain basic resource The corresponding vacant value of information is greater than the basic resource information of preset value.
In general, the setting of preset value can be configured according to actual needs.
Optionally, preset value is percentage, for example, 90%.The corresponding vacant value of basic resource information is obtained to be greater than 90% data.
Optionally, it is obtaining with after the matched basic resource information of preset condition, is further including:If the basis money When the quantity of source information is multiple, weight corresponding to each basic resource information is obtained;Mesh is determined according to the weight Mark basic resource information;Using the physical machine corresponding to the target basic resource information as target physical machine.
In general, the setting of the weight can be configured according to the contribution situation of CPU and Memory etc..As contribution is got over Big, weight is bigger.Here, being not especially limited.
Continue for by taking above-mentioned example as an example, further according to compute02, the basic resource information of compute04, i.e. CPU Or the vacant value of Memory (memory) determines which is optimal physical machine, specifically, works as CPU, Memory is unsatisfactory for Returning when preset condition does not have available physical machine;Work as CPU, when Memory meets, according to corresponding to each basic resource information CPU and the weight of Memory calculated, obtain calculated result corresponding to each basic resource information, choose calculated result Physical machine corresponding to a maximum basic resource information is as target physical machine.If corresponding to each basic resource information When calculated result is equal, select wherein any one as target physical machine.
Cloud host schedules device optimization method provided in an embodiment of the present invention, by obtaining institute when creating cloud host specification State at least one label information entrained by cloud host;Obtain the physical node information of each alternative physical machine;According to each institute It states label information and determines that the physical node information is all satisfied the physical machine set of each label information;In the physical machine Target physical machine is determined in set, the target physical machine is the physical machine for being intended to run the cloud host.So compared to existing For method in technology, because being believed by being first that cloud host specifies at least one label information further according to each label Breath determines that the physical node information is all satisfied the physical machine set of each label information, to not needed by first screening out The physical machine of subsequent examination is carried out, to guarantee that the physical machine Jing Guo filter inspection is all necessary inspection, rather than presses portion With regard to the inspection of class's hierarchical, and then unnecessary physical machine is effectively avoided to enter scheduler, improves scheduler to realize The technical effect of efficiency, and the quantity of the physical machine due to needing to filter is reduced, and then effectively shortens scheduling time, is promoted The overall operation time experience so that opened in batches under extensive environment, adjust specification, reconstruction cloud host and failure it is extensive Duplicatus host uniform velocity is faster.
Second embodiment
Corresponding to the cloud host schedules device optimization method in first embodiment, Fig. 2 shows using shown in first embodiment The one-to-one cloud host schedules device of cloud host schedules device optimization method optimize device.As shown in Fig. 2, the cloud host schedules Device optimizes device 400 and includes creation module 410, obtains module 420, first processing module 430 and Second processing module 440.Its In, creation module 410 obtains the realization function and first of module 420, first processing module 430 and Second processing module 440 in fact The poly- one-to-one correspondence of corresponding step in example is applied, to avoid repeating, the present embodiment is not described in detail one by one.
Creation module 410, for obtaining at least one label entrained by the cloud host when creating cloud host specification Information.
Module 420 is obtained, for obtaining the physical node information of each alternative physical machine.
First processing module 430, for determining that the physical node information is all satisfied often according to each label information The physical machine set of a label information.
Optionally, the first processing module 430 is also used to:All physical machines are divided into according to default label more A set;It is each described to determine that the physical node information is all satisfied from the multiple set according to each label information The target physical machine set of label information.
Optionally, determine that the physical node information is all satisfied from the multiple set according to each label information The target physical machine set of each label information, including:Each label letter is determined from the multiple set The first corresponding physical machine set of breath;Obtain all first physical machine intersection of sets collection;Using the intersection as described in Target physical machine set.
Second processing module 440, for target physical machine determining in the physical machine set, the target physical machine is It is intended to run the physical machine of the cloud host.
Optionally, the Second processing module 440 is also used to:Obtain the base of each physical machine in the physical machine set Plinth resource information;It obtains and the matched basic resource information of preset condition;If the quantity of the basic resource information is one When a, using the physical machine corresponding to the basic resource information as target physical machine.
In one optionally embodiment, is obtaining with after the matched basic resource information of preset condition, further including: If the quantity of the basic resource information is multiple, weight corresponding to each basic resource information is obtained;According to institute It states weight and determines target basic resource information;Using the physical machine corresponding to the target basic resource information as object Reason machine.
3rd embodiment
As shown in figure 3, being the schematic diagram of terminal device 300.The terminal device 300 includes memory 302, processor 304 and it is stored in the computer program 303 that can be run in the memory 302 and on the processor 304, the calculating The cloud host schedules device optimization method in first embodiment is realized when machine program 303 is executed by processor 304, to avoid weight Multiple, details are not described herein again.Alternatively, realizing cloud master described in second embodiment when the computer program 303 is executed by processor 304 Machine scheduler optimizes the function of each model/unit in device, and to avoid repeating, details are not described herein again.
Illustratively, computer program 303 can be divided into one or more module/units, one or more mould Block/unit is stored in memory 302, and is executed by processor 304, to complete the present invention.One or more module/units It can be the series of computation machine program instruction section that can complete specific function, the instruction segment is for describing computer program 303 Implementation procedure in terminal device 300.For example, computer program 303 can be divided into the creation mould in second embodiment Block 410 obtains module 420, first processing module 430 and Second processing module 440, and the concrete function of each module such as first is implemented Described in example or second embodiment, it will not repeat them here.
Optionally, terminal device 300 can be server.
Wherein, memory 302 may be, but not limited to, random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read- Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..Wherein, memory 302 is for storing program, and the processor 304 is after receiving and executing instruction, described in execution The method of program, the flow definition that aforementioned any embodiment of the embodiment of the present invention discloses can be applied in processor 304, or It is realized by processor 304.
Processor 304 may be a kind of IC chip, the processing capacity with signal.Above-mentioned processor 304 can To be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processor, DSP), dedicated integrated Circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor is also possible to any conventional processor etc..
It is understood that structure shown in Fig. 3 is only a kind of structural schematic diagram of terminal device 300, terminal device 300 It can also include than more or fewer components shown in Fig. 3.Each component shown in Fig. 3 can use hardware, software or its group It closes and realizes.
Fourth embodiment
The embodiment of the present invention also provides a kind of storage medium, and instruction is stored on the storage medium, when described instruction exists The cloud host schedules device in first embodiment is realized when running on computer, when the computer program is executed by processor Optimization method, to avoid repeating, details are not described herein again.Alternatively, realizing that second is real when the computer program is executed by processor The function of each model/unit in the example cloud host schedules device optimization device is applied, to avoid repeating, details are not described herein again.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can lead to Hardware realization is crossed, the mode of necessary general hardware platform can also be added to realize by software, based on this understanding, this hair Bright technical solution can be embodied in the form of software products, which can store in a non-volatile memories In medium (can be CD-ROM, USB flash disk, mobile hard disk etc.), including some instructions are used so that computer equipment (can be with It is personal computer, server or the network equipment etc.) method that executes each implement scene of the present invention.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should be noted that:Similar label and letter exist Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing It is further defined and explained.

Claims (10)

1. a kind of cloud host schedules device optimization method, which is characterized in that including:
When creating cloud host specification, at least one label information entrained by the cloud host is obtained;
Obtain the physical node information of each alternative physical machine;
Determine that the physical node information is all satisfied the physical machine collection of each label information according to each label information It closes;
Target physical machine is determined in the physical machine set, the target physical machine is the physics for being intended to run the cloud host Machine.
2. the method according to claim 1, wherein described determine the object according to each label information Reason nodal information is all satisfied the physical machine set of each label information, including:
All physical machines are divided into multiple set according to default label;
Determine that the physical node information is all satisfied each mark from the multiple set according to each label information Sign the target physical machine set of information.
3. according to the method described in claim 2, it is characterized in that, according to each label information from the multiple set Determine that the physical node information is all satisfied the target physical machine set of each label information, including:
The first physical machine set corresponding to each label information is determined from the multiple set;
Obtain all first physical machine intersection of sets collection;
Using the intersection as the target physical machine set.
4. the method according to claim 1, wherein described determine target physical in the physical machine set Machine, including:
Obtain the basic resource information of each physical machine in the physical machine set;
It obtains and the matched basic resource information of preset condition;
If the quantity of the basic resource information be one, using the physical machine corresponding to the basic resource information as Target physical machine.
5. according to the method described in claim 4, it is characterized in that, described obtaining and the matched basis of preset condition After resource information, further include:
If the quantity of the basic resource information is multiple, weight corresponding to each basic resource information is obtained;
Target basic resource information is determined according to the weight;
Using the physical machine corresponding to the target basic resource information as target physical machine.
6. a kind of cloud host schedules device optimizes device, which is characterized in that including:
Creation module, for obtaining at least one label information entrained by the cloud host when creating cloud host specification;
Module is obtained, for obtaining the physical node information of each alternative physical machine;
First processing module, for determining that the physical node information is all satisfied each mark according to each label information Sign the physical machine set of information;
Second processing module, for determining that target physical machine, the target physical machine are to be intended to run in the physical machine set The physical machine of the cloud host.
7. device according to claim 6, which is characterized in that the first processing module is also used to:
All physical machines are divided into multiple set according to default label;
Determine that the physical node information is all satisfied each mark from the multiple set according to each label information Sign the target physical machine set of information.
8. device according to claim 6, which is characterized in that the Second processing module is also used to:
Obtain the basic resource information of each physical machine in the physical machine set;
It obtains and the matched basic resource information of preset condition;
If the quantity of the basic resource information be one, using the physical machine corresponding to the basic resource information as Target physical machine.
9. a kind of terminal device, which is characterized in that including:Including processor and memory, the memory is stored with calculating The readable instruction fetch of machine, it is any in operation such as claim 1-5 when the computer-readable instruction fetch is executed by the processor Method described in claim.
10. a kind of storage medium, which is characterized in that be stored thereon with computer program, which is characterized in that the computer program The method according to claim 1 to 5 is realized when being executed by processor.
CN201810776439.1A 2018-07-13 2018-07-13 Cloud host schedules device optimization method, device, equipment and storage medium Pending CN108833592A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810776439.1A CN108833592A (en) 2018-07-13 2018-07-13 Cloud host schedules device optimization method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810776439.1A CN108833592A (en) 2018-07-13 2018-07-13 Cloud host schedules device optimization method, device, equipment and storage medium

Publications (1)

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

Family

ID=64139517

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810776439.1A Pending CN108833592A (en) 2018-07-13 2018-07-13 Cloud host schedules device optimization method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108833592A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110427250A (en) * 2019-07-30 2019-11-08 无锡华云数据技术服务有限公司 Create cloud host instances, the method, apparatus of elastic telescopic group, equipment and medium
CN110471968A (en) * 2019-07-11 2019-11-19 新华三大数据技术有限公司 Dissemination method, device, equipment and the storage medium of ETL task
CN111736915A (en) * 2020-06-05 2020-10-02 浪潮电子信息产业股份有限公司 Management method, device, equipment and medium for cloud host instance hardware acceleration equipment
CN117155804A (en) * 2023-10-27 2023-12-01 腾讯科技(深圳)有限公司 Cloud server deployment method and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105279027A (en) * 2015-11-19 2016-01-27 浪潮(北京)电子信息产业有限公司 Virtual machine disposition method and apparatus
US20160103699A1 (en) * 2014-10-13 2016-04-14 Vmware, Inc. Cloud virtual machine defragmentation for hybrid cloud infrastructure
CN105808341A (en) * 2014-12-29 2016-07-27 中国移动通信集团公司 Method, apparatus and system for scheduling resources
CN106020937A (en) * 2016-07-07 2016-10-12 腾讯科技(深圳)有限公司 Method, device and system for creating virtual machine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160103699A1 (en) * 2014-10-13 2016-04-14 Vmware, Inc. Cloud virtual machine defragmentation for hybrid cloud infrastructure
CN105808341A (en) * 2014-12-29 2016-07-27 中国移动通信集团公司 Method, apparatus and system for scheduling resources
CN105279027A (en) * 2015-11-19 2016-01-27 浪潮(北京)电子信息产业有限公司 Virtual machine disposition method and apparatus
CN106020937A (en) * 2016-07-07 2016-10-12 腾讯科技(深圳)有限公司 Method, device and system for creating virtual machine

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110471968A (en) * 2019-07-11 2019-11-19 新华三大数据技术有限公司 Dissemination method, device, equipment and the storage medium of ETL task
CN110427250A (en) * 2019-07-30 2019-11-08 无锡华云数据技术服务有限公司 Create cloud host instances, the method, apparatus of elastic telescopic group, equipment and medium
CN111736915A (en) * 2020-06-05 2020-10-02 浪潮电子信息产业股份有限公司 Management method, device, equipment and medium for cloud host instance hardware acceleration equipment
CN111736915B (en) * 2020-06-05 2022-07-05 浪潮电子信息产业股份有限公司 Management method, device, equipment and medium for cloud host instance hardware acceleration equipment
CN117155804A (en) * 2023-10-27 2023-12-01 腾讯科技(深圳)有限公司 Cloud server deployment method and related device
CN117155804B (en) * 2023-10-27 2024-01-09 腾讯科技(深圳)有限公司 Cloud server deployment method and related device

Similar Documents

Publication Publication Date Title
CN109995677B (en) Resource allocation method, device and storage medium
CN108833592A (en) Cloud host schedules device optimization method, device, equipment and storage medium
Liu et al. Multi-objective scheduling of scientific workflows in multisite clouds
CN113377540A (en) Cluster resource scheduling method and device, electronic equipment and storage medium
US10680975B2 (en) Method of dynamic resource allocation for public clouds
CN104731528B (en) A kind of construction method and system of cloud computing block storage service
WO2019085104A1 (en) Virtual machine deployment method, device, apparatus, and computer readable storage medium
CN112800095A (en) Data processing method, device, equipment and storage medium
CN110427371A (en) Server FRU field management method, device, equipment and readable storage medium storing program for executing
CN115048254B (en) Simulation test method, system, equipment and readable medium for data distribution strategy
US11914648B2 (en) Graph refactorization method and graph refactorization apparatus
CN111768096A (en) Rating method and device based on algorithm model, electronic equipment and storage medium
WO2016018352A1 (en) Platform configuration selection based on a degraded makespan
CN113568759B (en) Cloud computing-based big data processing method and system
CN109788006B (en) Data equalization method and device and computer equipment
CN111444309A (en) System for learning graph
CN116647560A (en) Method, device, equipment and medium for coordinated optimization control of Internet of things computer clusters
CN107621980A (en) A kind of virtual machine migration method, cluster control system and control device
Mansouri An effective weighted data replication strategy for data grid
CN116050159A (en) Simulation scene set generation method, device, equipment and medium
CN116302328A (en) Intelligent contract data processing method and system
CN110858199A (en) Document data distributed computing method and device
CN109558214B (en) Host machine resource management method and device in heterogeneous environment and storage medium
CN112988383A (en) Resource allocation method, device, equipment and storage medium
CN109669668B (en) Method and device for realizing simulated transaction execution in system performance test

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

Application publication date: 20181116

RJ01 Rejection of invention patent application after publication