CN107277143A - A kind of resource matched management method and device - Google Patents
A kind of resource matched management method and device Download PDFInfo
- Publication number
- CN107277143A CN107277143A CN201710480523.4A CN201710480523A CN107277143A CN 107277143 A CN107277143 A CN 107277143A CN 201710480523 A CN201710480523 A CN 201710480523A CN 107277143 A CN107277143 A CN 107277143A
- Authority
- CN
- China
- Prior art keywords
- server
- index
- virtual machine
- weight
- load
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1004—Server selection for load balancing
- H04L67/1008—Server selection for load balancing based on parameters of servers, e.g. available memory or workload
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/4557—Distribution of virtual machine instances; Migration and load balancing
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
The present invention provides a kind of resource matched management method and device, and the above method comprises the following steps:Obtain server allocation index, server load index, export server performance index;According to the important level of virtual machine, the server of corresponding server performance index is selected, had both allowed the performance of virtual machine to perform to optimal, service operation has also obtained sound assurance, allow the physical equipment of bottom to obtain optimum use again, be truly realized resource matched efficient, safety.
Description
Technical field
The invention belongs to resources control field, more particularly to a kind of resource matched management method and device.
Background technology
With the continuous maturation of cloud, miscellaneous service all will migrate on cloud and run, except saving operation cost, and
Also more convenient, safe, sea of clouds 0S (operation system, operating system) platform is one and manages the comprehensive of various cloud resources
Management software is closed, cloud resource management is the most crucial function of software, and it is responsible for the distribution and management of cloud resource, and to cloud resource
The monitoring of data.
In the physical resource equipment that cloud platform is managed, species is various, and performance is also different, and performance difference is existing greatly
One common problem of cloud environment;The difference transparence of hardware can be allowed user not perceiving by cloud platform, but for some
For business scenario, there are many problems in the processing of this transparence again.
Virtual machine is the main body operated in cloud platform, but the operation of this virtual resource, and be also falls on one
In individual property server, then the disposal ability of server directly determines the performance of virtual machine, so for the customer, he
Can should clearly know the performance difference of underlying services device, so as to allow operation key business the virtual machine property of may operate in
Can be than in more prominent property server.
It is in the technology realization of selection virtual machine operation physical machine at present:As long as disclosure satisfy that resources of virtual machine configuration will
Ask, randomly choose a property server, but thus there is following technical problem:The good server of some performance comparisions does not have
There is utilization, the server of some poor performances assume responsibility for too many operating pressure again, cause traffic handing capacity than relatively low, serious meeting
Cause system crash, influence system safety.
Therefore, above-mentioned technical problem is solved in the urgent need to a kind of resource matched Managed Solution efficiently, safe.
The content of the invention
The present invention provides a kind of resource matched management method and device, to solve the above problems.
The embodiment of the present invention provides a kind of resource matched management method.The above method comprises the following steps:Obtain server
Allocation index, server load index, export server performance index;According to the important level of virtual machine, corresponding with service is selected
The server of device performance index.
The embodiment of the present invention provides a kind of resource matched managing device, including acquisition module, selecting module;Wherein, it is described
Acquisition module is connected with the selecting module;The acquisition module, refers to for obtaining server allocation index, server load
Number, export server performance index;The selecting module, for the important level according to virtual machine, selects corresponding server
The server of energy index.
Pass through following scheme:Obtain server allocation index, server load index, export server performance index;Root
According to the important level of virtual machine, the server of corresponding server performance index is selected, had both allowed the performance of virtual machine to perform to most
Excellent, service operation has also obtained sound assurance, allows the physical equipment of bottom to obtain optimum use again, is truly realized resource
Efficient, the safety of matching.
Pass through following scheme:If the important level of virtual machine is key business or important service, to be selected from what is matched
Server performance index highest server is selected to be transported as destination server and by the destination server in the server selected
The row virtual machine, service operation has also obtained sound assurance, greatly strengthen Consumer's Experience.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this hair
Bright schematic description and description is used to explain the present invention, does not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 show the resource matched management method process chart of the embodiment of the present invention 1;
Fig. 2 show the resource matched managing device structure chart of the embodiment of the present invention 2.
Embodiment
Describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.It should be noted that not conflicting
In the case of, the feature in embodiment and embodiment in the application can be mutually combined.
Fig. 1 show the resource matched management method process chart of the embodiment of the present invention 1, comprises the following steps:
Step 101:Obtain server allocation index, server load index, export server performance index;
Further, according to server allocation index, server load index, the process of server performance index is obtained
For:
Server performance index=server allocation index * weight M+ server load index * weights N;Wherein, weight M+
Weight N=100%.
Further, the server allocation index=server CPU allocation index * weight A+ server memories configuration refers to
Number * weight B+ server storage allocation index * weights C;Wherein, weight A+ weights B+ weights C=100%.
Preferably, according to the configuration data of single physical component in server, corresponding allocation index is set;Wherein, institute
Stating single physical component includes:CPU, internal memory, storage device.
Further, the server load index=server cpu load index * weight a+ server memories load refers to
Number * weight b+ server storage load factor * weights c;Wherein, weight a+ weights b+ weights c=100%.
Preferably, by obtaining the CPU average utilizations in preset period of time, corresponding cpu busy percentage scope is determined, and then
Determine server cpu load index;
By obtaining the internal memory average utilization in preset period of time, corresponding memory usage scope is determined, and then determine
Server memory load factor;
By obtaining the storage average utilization in preset period of time, corresponding space utilisation scope is determined, and then determine
Server storage load factor.
Citing is illustrated below:
Server allocation index=server CPU allocation index * 40%+ server memory allocation index * 40%+ servers
Storage configuration index * 20%;
Server load index=server cpu load index * 30%+ server memory load factor * 50%+ servers
Store load factor * 20%;
Server performance index=server allocation index * 60%+ server load indexes * 40%.
According to above-mentioned formula it is known that server performance index is determined by server allocation index and server load factor
It is fixed.
Server allocation index refers to the disposal ability of server single physical component, in one dish of sea of clouds platform maintenance
It is single, for recording the corresponding index of different physical assemblies, such as its correspondence of the core processors of server CPU models Duo i74 tetra-
Index if 5, then the corresponding index of the core processors of Duo i5 tetra- be 4, by that analogy, according in the market to different model
CPU performance evaluating data, evaluate an exponential quantity for specified physical assemblies.Counted according to practical application, a service
The performance bottleneck of device is generally determined by the performance of CPU and internal memory, so when rating services device configures performance index, CPU
Deciding factor, which is accounted for, with memory index respectively accounts for 40%.
Server load index, this needs the server monitoring data that the monitoring function of platform dependent is provided, checks one
Section time content server CPU, internal memory, the loading condition (i.e. average utilization) of storage, to three kinds of groups of different loads situation
Part evaluates a load factor respectively, the standard evaluated as server load index.In load factor formula, internal memory load
Index accounts for 50% because in practical application statistical analysis find, internal memory be load pressure than larger component, cpu takes second place,
Storage is taken second place.
The performance of server, is largely determined by the disposal ability of server component, so being serviced in formula
Device allocation index accounts for the 60% of leveling factors.
Step 102:According to the important level of virtual machine, the server of corresponding server performance index is selected.
Further, according to the important level of virtual machine, the process for selecting the server of corresponding server performance index is:
According to the important level of virtual machine, match the server for treating selection and correspondence is selected from the server for treating selection
The server of server performance index.
Wherein, if the important level of virtual machine is key business or important service, from the service for treating selection matched
Select server performance index highest server as destination server in device and the void is run by the destination server
Plan machine.
Citing is described in detail below:
Important level is divided:Key business, important service, general business;Key business refers to assurance level highest, to property
Higher business can be required;For important service is with respect to key business, without so high performance requirement, but weight is also required to
Point is ensured;General business refers to general service, and assurance level is than relatively low.
Important level is set:When virtual machine is created, as an attribute of virtual machine, it is necessary to which client selects manually
Select.
Practical operation:After virtual machine important level and other configurations have been selected, click on and create virtual machine, first with cloud
The filter condition that platform has had, filters out the server for meeting resources of virtual machine requirement, then meets in the server of configuration,
The destination server for selecting the server of corresponding server performance index to be run as virtual machine.If the importance level of virtual machine
Not Wei key business, important service then select server performance index highest as destination server, if important level is
General business, then what selection server performance index was placed in the middle is used as destination server.
Fig. 2 show the resource matched managing device structure chart of the embodiment of the present invention 2, including acquisition module, selecting module;
Wherein, the acquisition module is connected with the selecting module;
The acquisition module, for obtaining server allocation index, server load index, export server performance refers to
Number;
The selecting module, for the important level according to virtual machine, selects the server of corresponding server performance index.
Further, the selecting module, is additionally operable to the important level according to virtual machine, matches the server for treating selection
And the server of corresponding server performance index is selected from the server for treating selection.
Pass through following scheme:Obtain server allocation index, server load index, export server performance index;Root
According to the important level of virtual machine, the server of corresponding server performance index is selected, had both allowed the performance of virtual machine to perform to most
Excellent, service operation has also obtained sound assurance, allows the physical equipment of bottom to obtain optimum use again, is truly realized resource
Efficient, the safety of matching.
Pass through following scheme:If the important level of virtual machine is key business or important service, to be selected from what is matched
Server performance index highest server is selected to be transported as destination server and by the destination server in the server selected
The row virtual machine, service operation has also obtained sound assurance, greatly strengthen Consumer's Experience.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should be included in the scope of the protection.
Claims (10)
1. a kind of resource matched management method, it is characterised in that comprise the following steps:
Obtain server allocation index, server load index, export server performance index;
According to the important level of virtual machine, the server of corresponding server performance index is selected.
2. according to the method described in claim 1, it is characterised in that according to server allocation index, server load index, obtain
The process for taking server performance index is:
Server performance index=server allocation index * weight M+ server load index * weights N;Wherein, weight M+ weights
N=100%.
3. method according to claim 2, it is characterised in that the server allocation index=server CPU configurations refer to
Number * weight A+ server memory allocation index * weight B+ server storage allocation index * weights C;Wherein, weight A+ weights B+
Weight C=100%.
4. method according to claim 3, it is characterised in that according to the configuration data of single physical component in server,
Corresponding allocation index is set;Wherein, the single physical component includes:CPU, internal memory, storage device.
5. method according to claim 2, it is characterised in that the server load index=server cpu load refers to
Number * weight a+ server memory load factor * weight b+ server storage load factor * weights c;Wherein, weight a+ weights b+
Weight c=100%.
6. method according to claim 5, it is characterised in that by obtaining the CPU average utilizations in preset period of time, really
Fixed corresponding cpu busy percentage scope, and then determine server cpu load index;
By obtaining the internal memory average utilization in preset period of time, corresponding memory usage scope is determined, and then determine service
Device internal memory load factor;
By obtaining the storage average utilization in preset period of time, corresponding space utilisation scope is determined, and then determine service
Device stores load factor.
7. according to the method described in claim 1, it is characterised in that according to the important level of virtual machine, select corresponding server
The process of the server of performance index is:
According to the important level of virtual machine, match the server for treating selection and corresponding with service is selected from the server for treating selection
The server of device performance index.
8. method according to claim 7, it is characterised in that if the important level of virtual machine is key business or important industry
Business, then from the server for treating selection matched select server performance index highest server as destination server simultaneously
The virtual machine is run by the destination server.
9. a kind of resource matched managing device, it is characterised in that including acquisition module, selecting module;Wherein, the acquisition module
It is connected with the selecting module;
The acquisition module, for obtaining server allocation index, server load index, export server performance index;
The selecting module, for the important level according to virtual machine, selects the server of corresponding server performance index.
10. device according to claim 9, it is characterised in that the selecting module, is additionally operable to according to the important of virtual machine
Grade, matches the server for treating selection and the server of corresponding server performance index is selected from the server for treating selection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710480523.4A CN107277143A (en) | 2017-06-21 | 2017-06-21 | A kind of resource matched management method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710480523.4A CN107277143A (en) | 2017-06-21 | 2017-06-21 | A kind of resource matched management method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107277143A true CN107277143A (en) | 2017-10-20 |
Family
ID=60068613
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710480523.4A Pending CN107277143A (en) | 2017-06-21 | 2017-06-21 | A kind of resource matched management method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107277143A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109144670A (en) * | 2018-08-20 | 2019-01-04 | 郑州云海信息技术有限公司 | A kind of resource regulating method and device |
CN110955519A (en) * | 2019-11-01 | 2020-04-03 | 京东数字科技控股有限公司 | Method and device for host distribution |
CN114090394A (en) * | 2022-01-19 | 2022-02-25 | 山东卓朗检测股份有限公司 | Distributed server cluster load abnormity analysis method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103780646A (en) * | 2012-10-22 | 2014-05-07 | 中国长城计算机深圳股份有限公司 | Cloud resource scheduling method and system |
CN104038540A (en) * | 2014-06-03 | 2014-09-10 | 山东乾云启创信息科技有限公司 | Method and system for automatically selecting application proxy server |
CN105279023A (en) * | 2015-11-27 | 2016-01-27 | 浪潮(北京)电子信息产业有限公司 | Virtual machine migration method and device |
CN106095531A (en) * | 2016-06-08 | 2016-11-09 | 北京航空航天大学 | A kind of dispatching method of virtual machine loaded based on grade and physical machine in cloud platform |
CN106445629A (en) * | 2016-07-22 | 2017-02-22 | 平安科技(深圳)有限公司 | Load balancing method and device |
-
2017
- 2017-06-21 CN CN201710480523.4A patent/CN107277143A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103780646A (en) * | 2012-10-22 | 2014-05-07 | 中国长城计算机深圳股份有限公司 | Cloud resource scheduling method and system |
CN104038540A (en) * | 2014-06-03 | 2014-09-10 | 山东乾云启创信息科技有限公司 | Method and system for automatically selecting application proxy server |
CN105279023A (en) * | 2015-11-27 | 2016-01-27 | 浪潮(北京)电子信息产业有限公司 | Virtual machine migration method and device |
CN106095531A (en) * | 2016-06-08 | 2016-11-09 | 北京航空航天大学 | A kind of dispatching method of virtual machine loaded based on grade and physical machine in cloud platform |
CN106445629A (en) * | 2016-07-22 | 2017-02-22 | 平安科技(深圳)有限公司 | Load balancing method and device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109144670A (en) * | 2018-08-20 | 2019-01-04 | 郑州云海信息技术有限公司 | A kind of resource regulating method and device |
CN110955519A (en) * | 2019-11-01 | 2020-04-03 | 京东数字科技控股有限公司 | Method and device for host distribution |
CN114090394A (en) * | 2022-01-19 | 2022-02-25 | 山东卓朗检测股份有限公司 | Distributed server cluster load abnormity analysis method |
CN114090394B (en) * | 2022-01-19 | 2022-04-22 | 山东卓朗检测股份有限公司 | Distributed server cluster load abnormity analysis method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107329837B (en) | Load balancing method and unit and distributed NewSQL database system | |
CN106020715B (en) | Storage pool capacity management | |
WO2019001126A1 (en) | Task management method and device, computer device and storage medium | |
CN103780646B (en) | Cloud resource scheduling method and system | |
CN103778148B (en) | Life cycle management method and equipment for data file of Hadoop distributed file system | |
CN108874640A (en) | A kind of appraisal procedure and device of clustering performance | |
CN111464583B (en) | Computing resource allocation method, device, server and storage medium | |
CN106201722A (en) | The load regulation method of server and system | |
CN106095531B (en) | A kind of dispatching method of virtual machine loaded based on grade and physical machine in cloud platform | |
CN109981702B (en) | File storage method and system | |
CN104407926B (en) | A kind of dispatching method of cloud computing resources | |
CN108337109A (en) | A kind of resource allocation methods and device and resource allocation system | |
CN106407830A (en) | Detection method and device of cloud-based database | |
CN102929961A (en) | Data processing method and device thereof based on building quick data staging channel | |
CN105357251A (en) | Resource pool management system and management method | |
CN107277143A (en) | A kind of resource matched management method and device | |
CN105872061A (en) | Server cluster management method, device and system | |
CN105468619A (en) | Resource distribution method and device used for database connection pool | |
CN109902919A (en) | Server assets management method, device, equipment and readable storage medium storing program for executing | |
CN111708629B (en) | Resource allocation method and device, electronic equipment and storage medium | |
CN115525230A (en) | Storage resource allocation method and device, storage medium and electronic equipment | |
CN104477776A (en) | A role-based crane remote graded monitoring system | |
CN102571413A (en) | Method for resource management under cluster environment | |
CN114844791A (en) | Cloud service automatic management and distribution method and system based on big data and storage medium | |
CN114629909A (en) | Cloud resource cost analysis method |
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: 20171020 |
|
RJ01 | Rejection of invention patent application after publication |