CN109165045A - A kind of method and apparatus for the hardware configuration adjusting server - Google Patents
A kind of method and apparatus for the hardware configuration adjusting server Download PDFInfo
- Publication number
- CN109165045A CN109165045A CN201810905037.7A CN201810905037A CN109165045A CN 109165045 A CN109165045 A CN 109165045A CN 201810905037 A CN201810905037 A CN 201810905037A CN 109165045 A CN109165045 A CN 109165045A
- Authority
- CN
- China
- Prior art keywords
- server
- hardware
- value
- peak
- hardware configuration
- 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
-
- 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/4401—Bootstrapping
- G06F9/4411—Configuring for operating with peripheral devices; Loading of device drivers
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Debugging And Monitoring (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a kind of method and apparatus of hardware configuration for adjusting server, belong to field of computer technology.The described method includes: periodically acquiring the operation data of each specified hardware on Servers-all;Count the peak W value of the operation data of each specified hardware on each server in day part, wherein the peak W value is the average value of the maximum preceding W% data of numerical value;According to the peak W value, the hardware configuration of each server is adjusted.Using the present invention, the really necessary hardware resource of server can be effectively measured, and the hardware configuration of server is accurately adjusted, so that the resource for realizing device hardware saves hardware cost using maximizing.
Description
Technical field
The present invention relates to field of computer technology, in particular to a kind of the method and dress of the hardware configuration for adjusting server
It sets.
Background technique
With the continuous development of internet and computer technology, becoming increasingly complex of network service, diversification, correspondingly,
Network service also increasingly increases the hardware configuration demand of server.For effective distributing equipment resource, need constantly for clothes
The redundancy of the hardware configuration of business device or insufficient problem are adjusted.
Under normal circumstances, the technical staff of network service side can be with the operating parameter of timing acquiring server, then basis
Collected operating parameter come directly judge current server hardware configuration whether redundancy or deficiency.However, due to not of the same trade or business
The corresponding hardware resource consumption of the server of service type is different, and (such as peak traffic phase and business are low in different periods for same business
The paddy phase) in hardware utilization rate there is also fluctuations, meanwhile, in actual moving process server also will appear sporadic race it is high or
Run dead phenomenon.So the really necessary hardware resource of server can effectively be measured by needing one kind at present, and to the hard of server
Part configures the method accurately adjusted, to accomplish resource using maximizing, to achieve the purpose that save the cost.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of sides of hardware configuration for adjusting server
Method and device.The technical solution is as follows:
In a first aspect, providing a kind of method of hardware configuration for adjusting server, which comprises
The operation data of each specified hardware periodically on acquisition Servers-all;
Count the peak W value of the operation data of each specified hardware on each server in day part, wherein the peak W
Value is the average value of the maximum preceding W% data of numerical value;
According to the peak W value, the hardware configuration of each server is adjusted.
Optionally, the operation data of the specified hardware includes at least: hard disk utilization rate, CPU usage, memory usage
With it is one or more in network interface card utilization rate.
Optionally, described according to the peak W value, the hardware configuration of each server is adjusted, comprising:
According to the peak W value in multiple periods, the variation of the hardware configuration demand of each server is determined
Trend;
The hardware redundancy situation in the following different periods is determined in conjunction with the variation tendency and preset hardware configuration efficiency,
And it is adjusted according to hardware configuration of the hardware redundancy situation to each server.
Optionally, described according to the peak W value, the hardware configuration of each server is adjusted, comprising:
According to the money of the peak W value and the corresponding each server of average unit cost ratio-dependent of each specified hardware
Source availability;
According to each specified corresponding base peak W value of hardware and the average unit cost ratio-dependent resource rational utilization
Degree;
Resource utilization and the resource rational utilization degree based on each server, to each server
Hardware configuration is adjusted.
Optionally, described according to the peak W value, the hardware configuration of each server is adjusted, comprising:
Classify to the Servers-all according to type of service, according to the corresponding peak W value of server described in every class, returns
Receive the hardware resource consumption feature of server described in every class;
It is adjusted according to the hardware configuration of hardware resource consumption feature server described in every class.
Second aspect, provides a kind of device of hardware configuration for adjusting server, and described device includes:
Acquisition module, for periodically acquiring the operation data of each specified hardware on Servers-all;
Statistical module, for counting the peak W value of the operation data of each specified hardware on each server in day part,
Wherein, the peak W value is the average value of the maximum preceding W% data of numerical value;
Module is adjusted, for being adjusted to the hardware configuration of each server according to the peak W value.
Optionally, the operation data of the specified hardware includes at least: hard disk utilization rate, CPU usage, memory usage
With it is one or more in network interface card utilization rate.
Optionally, the adjustment module, is specifically used for:
According to the peak W value in multiple periods, the variation of the hardware configuration demand of each server is determined
Trend;
The hardware redundancy situation in the following different periods is determined in conjunction with the variation tendency and preset hardware configuration efficiency,
And it is adjusted according to hardware configuration of the hardware redundancy situation to each server.
Optionally, the adjustment module, is specifically used for:
According to the money of the peak W value and the corresponding each server of average unit cost ratio-dependent of each specified hardware
Source availability;
According to each specified corresponding base peak W value of hardware and the average unit cost ratio-dependent resource rational utilization
Degree;
Resource utilization and the resource rational utilization degree based on each server, to each server
Hardware configuration is adjusted.
Optionally, the adjustment module, is specifically used for:
Classify to the Servers-all according to type of service, according to the corresponding peak W value of server described in every class, returns
Receive the hardware resource consumption feature of server described in every class;
It is adjusted according to the hardware configuration of hardware resource consumption feature server described in every class.
The third aspect, provides a kind of management server, and the management server includes processor and memory, described to deposit
Be stored at least one instruction, at least one section of program, code set or instruction set in reservoir, at least one instruction, it is described extremely
Few one section of program, the code set or instruction set are loaded by the processor and are executed to realize adjustment as described in relation to the first aspect
The method of the hardware configuration of server.
Fourth aspect provides a kind of computer readable storage medium, at least one finger is stored in the storage medium
Enable, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or
The method that instruction set is loaded by processor and executed to realize the hardware configuration of adjustment server as described in relation to the first aspect.
Technical solution provided in an embodiment of the present invention has the benefit that
In the embodiment of the present invention, the operation data of each specified hardware on Servers-all is periodically acquired;Count day part
The peak W value of the operation data of each specified hardware on interior each server, wherein peak W value is the flat of the maximum preceding W% data of numerical value
Mean value;According to peak W value, the hardware configuration of each server is adjusted.In this way, passing through each hardware operation data of server
Peak W value carries out the adjustment of server hardware configuration, fully takes into account the server hardware load of peak period in operation data,
Server can be forgone when by attack or abnormal conditions, it is high as sporadic race, to run operation data caused by reason of waiting indefinitely excessively high
And the invalid data generated, to effectively measure the really necessary hardware resource of server, and to the hardware configuration of server
It is accurately adjusted, realizes that the resource of device hardware using maximizing, saves hardware cost.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of method flow diagram of hardware configuration for adjusting server provided in an embodiment of the present invention;
Fig. 2 is a kind of apparatus structure schematic diagram of hardware configuration for adjusting server provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of management server provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
The embodiment of the invention provides a kind of method of hardware configuration for adjusting server, the executing subject of this method can be with
It is management server, wherein management server can be the center management server of aol server cluster, aol server collection
It can be made of the server for being largely used to provide network service in group, every server may include multiple hardwares, and rely on
The correlation function of network service is supported in hardware.Management server can monitor Servers-all in aol server cluster
Operating status, and independently management is carried out to individual server based on the operating status monitored and is operated, or more are serviced
Device is managed collectively.Above-mentioned management server may include processor, memory, transceiver, and processor can be used for carrying out
The processing of the hardware configuration of adjustment server in following processes, memory, which can be used for storing, to be needed in following treatment processes
Data and the data of generation, such as the operation data and its peak W value of hardware are specified for storing each server, transceiver can be with
For sending and receiving the related data in following treatment processes, such as acquiring data.
Below in conjunction with specific embodiment, process flow shown in FIG. 1 is described in detail, content can be as
Under:
Step 101, the operation data of each specified hardware on Servers-all is periodically acquired.
In an implementation, the management server of aol server cluster under operation, can be to aol server cluster
In Servers-all be monitored, and periodically acquire Servers-all on each specified hardware operation data, it is then whole
Collected operation data is managed, the operation data after arrangement is stored in the database of management server.Herein, management service
Device acquires the period of operation data, can be by technical staff's sets itself according to demand of aol server cluster side, such as can be with
It is set as one minute for a period.
Step 102, the peak W value of the operation data of each specified hardware on each server in day part is counted.
Wherein, W value in peak is the average value of the maximum preceding W% data of numerical value.
In an implementation, management server acquires and stores in aol server cluster each specified hardware on Servers-all
It, can be based on the operation data of each specified hardware on each server in these operation datas statistics day part after operation data
Peak W value extracts the operation data in all collection period of each period that is, for specifying hardware each of on each server
The operation data of the middle maximum preceding W% of numerical value, then mean value is taken for the operation data of these preceding W%, thus the mean value that will be obtained
As respective server specified hardware each period peak W value.Period herein can also be by aol server cluster side
Technical staff's sets itself according to demand, can such as set one day as a period.Specifically, as adopted in period A comprising n
Collect the period, for specifying hardware " first ", the operation data in this n collection period can be sorted as follows from big to small:
x1≥x2≥x3…≥xk≥…xn, then W value in peak can be calculated as follows to obtain:
Wherein, K=| W%*n |, n is the total number of x, and W is " W " of required " peak W value ", if " ten value of peak " W
Value is 10.
Step 103, according to peak W value, the hardware configuration of each server is adjusted.
It in an implementation, can after management server has counted the peak W value of the operation data of each specified hardware on each server
To analyze above-mentioned peak W value, so that the hardware configuration redundancy and deficiency of server are identified, from entirety to the determination of part
The hardware load situation and resource service condition of server, and reasonable measure is pointedly taken constantly to adjust each server
Hardware configuration achieve the purpose that scientific and reasonable distribution hardware resource to step up the hardware utilization rate of server.It is worth one
It is mentioned that, the mode that management server adjusts the hardware configuration of each server, which can be, periodically sends hardware to each server
Configuration adjustment notice, so that after each server receives hardware configuration adjustment notice, it is automatic according to hardware configuration adjustment notice
Adjust the hardware configuration of the machine.
Optionally, the operation data for the specified hardware for needing to acquire on each server includes at least: hard disk utilization rate, CPU
It is one or more in utilization rate, memory usage and network interface card utilization rate.
In an implementation, it is several hard can mainly to acquire hard disk, CPU, memory, network interface card of each server etc. for management server
The operation data of part.It is specific:
The operation data of hard disk is broadly divided into the operation data of monolithic hard disk and whole equipment hard disk, wherein can calculate
In monolithic hard disk per period in the peak period (i.e. by before high to Low | W%*n | calculate) average hard disk utilization rate, be denoted as
" the peak W value " of monolithic hard disk utilization rate may further obtain whole by the average value of " the peak W value " of monolithic hard disk utilization rate and set
" the peak W value " of the hard disk utilization rate of standby hard disk;In addition hard disk can also go acquisition to run from different dimensions such as IOWAIT, IOUTIL
Data and statistics are corresponding " peak W value ".
The operation data of CPU is broadly divided into the operation data of monokaryon CPU and whole equipment CPU, wherein can calculate monokaryon
In CPU per period in the peak period (i.e. by before high to Low | W%*n | calculate) average CPU usage, be denoted as monokaryon CPU
" the peak W value " of utilization rate may further obtain whole equipment CPU's by the average value of " the peak W value " of monokaryon CPU usage
" the peak W value " of CPU usage.
For memory, can calculate in memory per period in the peak period (i.e. before high to Low | W%*n | based on
Calculate) average memory usage, be denoted as " the peak W value " of memory usage.
For network interface card, can calculate in network interface card per period in the peak period (i.e. before high to Low | W%*n | based on
Calculate) average network interface card utilization rate, be denoted as " the peak W value " of network interface card utilization rate.
Optionally, the hardware configuration of server can be adjusted by the variation tendency of peak W value, correspondingly, step 103
Processing can be specific as follows: according to the peak W value in multiple periods, determining that the variation of the hardware configuration demand of each server becomes
Gesture;The hardware redundancy situation in the following different periods is determined in conjunction with variation tendency and preset hardware configuration efficiency, and according to hard
Part redundancy condition is adjusted the hardware configuration of each server.
It in an implementation, can after management server has counted the peak W value of the operation data of each specified hardware on each server
Further to count the variation tendency of the peak W value of the operation data of each specified hardware on each server in multiple periods, thus
Determine the variation tendency of the hardware configuration demand of each server.Later, management server can combine hardware configuration demand
Variation tendency and preset hardware configuration efficiency determine the hardware redundancy situation in the following different periods.Finally, management service
Device can match the hardware of each server according to hardware redundancy situation of the determining each server in the following different periods
It sets and is adjusted.For example, the peak W value of the memory usage in multiple periods can be counted to the memory of Mr. Yu's platform server, when
It was found that when being stepped up of peak W value, can determine that the memory configurations demand of the server is to be stepped up;Further, such as work as
Preceding memory usage is 70%, it has been determined that the memory configurations demand of server be it is daily increase by 5% memory usage, and it is pre-
If memory configurations efficiency be the amount of ram for increasing 50% newly weekly, in this way, can then determine the following daily memory redundancy situation,
Memory redundancy is gradually reduced by 30% to 0% in i.e. one week, and increasing in one week last day memory redundancy is 45%;Therefore,
If server works normally, memory redundancy need at least keep 10%, then the memory configurations efficiency of the server can be improved,
Or it is temporarily increased the current memory size etc. of the server.
Optionally, the resource utilization that server can be determined in conjunction with hardware cost is adjusted further according to resource utilization
Corresponding hardware configuration, correspondingly, the processing of step 103 can be such that according to peak W value and each specified hardware it is corresponding it is average at
The resource utilization of each server of this ratio-dependent;According to each specified corresponding base peak W value of hardware and average cost ratio
Determine resource rational utilization degree;Resource utilization and resource rational utilization degree based on each server, to each server
Hardware configuration is adjusted.
It in an implementation, can after management server has counted the peak W value of the operation data of each specified hardware on each server
First to obtain the corresponding average unit cost ratio of each specified hardware on Servers-all, then by the operation data of each specified hardware
The resource utilization of peak W value and the corresponding each server of average unit cost ratio-dependent.Later, management server can be according to each
The corresponding average unit cost ratio of each specified hardware of the specified corresponding base peak W value of hardware and above-mentioned Servers-all, is determined
Resource rational utilization degree.The corresponding base peak W value of each specified hardware can be technical staff's root of aol server cluster herein
According to the value summarized the experience out.Finally, management server can resource utilization and resource rational utilization based on each server
Degree, analyzes the equiping actulity of each hardware, is then adjusted by analysis result to the hardware configuration of each server
It is whole, degree is used to step up the resource of each server.For example, the average unit cost ratio of the hardware 1 of Servers-all is b1,
The average unit cost ratio of hardware 2 is b2, and the average unit cost ratio of hardware 3 is b3, and the average unit cost ratio of hardware 4 is b4, and certain
The hardware 1 of server, the peak W value of the operation data of hardware 2, hardware 3, hardware 4 are respectively a1, a2, a3, a4, in this way, the service
The resource utilization of device are as follows: M1=a1*b1+a2*b2+a3*b3+a4*b4;Meanwhile hardware 1, hardware 2, hardware 3, hardware 4 are corresponding
Base peak W value be respectively c1, c2, c3, c4, then resource rational utilization degree are as follows: M2=c1*b1+c2*b2+c3*b3+c4*b4;
So as to which the resource utilization of every server to be compared with resource rational utilization degree, money is less than for resource utilization
The server of the reasonable availability in source can control the quantity of its hardware or increasing newly for capacity, and be greater than money for resource utilization
The server of the reasonable availability in source can actively improve quantity or capacity of the hardware of server etc..
Optionally, different adjustment can be carried out according to hardware configuration of the type of service to Servers-all, correspondingly, step
Rapid 103 processing, which can be such that, classifies to Servers-all according to type of service, according to the corresponding peak W of every class server
Value, concludes the hardware resource consumption feature of every class server;Match according to hardware of the hardware resource consumption feature to every class server
It sets and is adjusted.
It in an implementation, can after management server has counted the peak W value of the operation data of each specified hardware on each server
First to classify to the Servers-all in aol server cluster according to type of service, then own according under each type
The corresponding peak W value of each specified hardware of server, concludes the hardware resource consumption feature of every class hardware server, in turn, can be by
According to the hardware resource consumption feature summarized, unified adjustment is carried out come the hardware configuration to Servers-all under each type.Example
Such as, the corresponding peak W value of the hard disk of certain class server is generally higher, and the corresponding peak W value of memory is generally lower, then can determine this
The consumption of class server hard disc resource is larger, and the consumption of memory source is smaller, so the hard disk that such server can be improved holds
Amount or quantity control the newly-increased of the memory of such server, or actively reduce the memory source of the type server.Further
, for the server of different service types, business can also be set according to the hardware resource consumption feature of all kinds of servers
Standby framework is adjusted, if the peak traffic phase of network service A is daily 9 points to 14 points, and the peak traffic phase of network service B
It is daily 16 points to 22 points, then part server can be set while supporting network service A and network service B, thus sufficiently benefit
With the hardware resource of server.
In the embodiment of the present invention, the operation data of each specified hardware on Servers-all is periodically acquired;Count day part
The peak W value of the operation data of each specified hardware on interior each server, wherein peak W value is the flat of the maximum preceding W% data of numerical value
Mean value;According to peak W value, the hardware configuration of each server is adjusted.In this way, passing through each hardware operation data of server
Peak W value carries out the adjustment of server hardware configuration, fully takes into account the server hardware load of peak period in operation data,
Server can be forgone when by attack or abnormal conditions, it is high as sporadic race, to run operation data caused by reason of waiting indefinitely excessively high
And the invalid data generated, to effectively measure the really necessary hardware resource of server, and to the hardware configuration of server
It is accurately adjusted, realizes that the resource of device hardware using maximizing, saves hardware cost.
Based on the same technical idea, the embodiment of the invention also provides a kind of dresses of hardware configuration for adjusting server
It sets, as shown in Fig. 2, described device includes
Acquisition module 201, for periodically acquiring the operation data of each specified hardware on Servers-all;
Statistical module 202, for counting the peak W of the operation data of each specified hardware on each server in day part
Value, wherein the peak W value is the average value of the maximum preceding W% data of numerical value;
Module 203 is adjusted, for being adjusted to the hardware configuration of each server according to the peak W value.
Optionally, the operation data of the specified hardware includes at least: hard disk utilization rate, CPU usage, memory usage
With it is one or more in network interface card utilization rate.
Optionally, the adjustment module 203, is specifically used for:
According to the peak W value in multiple periods, the variation of the hardware configuration demand of each server is determined
Trend;
The hardware redundancy situation in the following different periods is determined in conjunction with the variation tendency and preset hardware configuration efficiency,
And it is adjusted according to hardware configuration of the hardware redundancy situation to each server.
Optionally, the adjustment module 203, is specifically used for:
According to the money of the peak W value and the corresponding each server of average unit cost ratio-dependent of each specified hardware
Source availability;
According to each specified corresponding base peak W value of hardware and the average unit cost ratio-dependent resource rational utilization
Degree;
Resource utilization and the resource rational utilization degree based on each server, to each server
Hardware configuration is adjusted.
Optionally, the adjustment module 203, is specifically used for:
Classify to the Servers-all according to type of service, according to the corresponding peak W value of server described in every class, returns
Receive the hardware resource consumption feature of server described in every class;
It is adjusted according to the hardware configuration of hardware resource consumption feature server described in every class.
In the embodiment of the present invention, the operation data of each specified hardware on Servers-all is periodically acquired;Count day part
The peak W value of the operation data of each specified hardware on interior each server, wherein peak W value is the flat of the maximum preceding W% data of numerical value
Mean value;According to peak W value, the hardware configuration of each server is adjusted.In this way, passing through each hardware operation data of server
Peak W value carries out the adjustment of server hardware configuration, fully takes into account the server hardware load of peak period in operation data,
Server can be forgone when by attack or abnormal conditions, it is high as sporadic race, to run operation data caused by reason of waiting indefinitely excessively high
And the invalid data generated, to effectively measure the really necessary hardware resource of server, and to the hardware configuration of server
It is accurately adjusted, realizes that the resource of device hardware using maximizing, saves hardware cost.
It should be understood that the device of the hardware configuration of adjustment server provided by the above embodiment is in adjustment server
When hardware configuration, only the example of the division of the above functional modules, in practical application, can according to need and will be upper
It states function distribution to be completed by different functional modules, i.e., the internal structure of device is divided into different functional modules, to complete
All or part of function described above.In addition, it is provided by the above embodiment adjustment server hardware configuration device with
The embodiment of the method for adjusting the hardware configuration of server belongs to same design, and specific implementation process is detailed in embodiment of the method, this
In repeat no more.
Fig. 3 is the structural schematic diagram of management server provided in an embodiment of the present invention.The management server 300 can be because of configuration
Or performance is different and generate bigger difference, may include one or more central processing units 322 (for example, one or
More than one processor) and memory 332, the storage medium of one or more storage application programs 342 or data 333
330 (such as one or more mass memory units).Wherein, memory 332 and storage medium 330 can be of short duration storage
Or persistent storage.The program for being stored in storage medium 330 may include one or more modules (diagram does not mark), each
Module may include to the series of instructions operation in management server.Further, central processing unit 322 can be set to
It is communicated with storage medium 330, the series of instructions operation in storage medium 330 is executed in management server 300.
Management server 300 can also include one or more power supplys 326, one or more are wired or wireless
Network interface 350, one or more input/output interfaces 358, one or more keyboards 356, and/or, one or
More than one operating system 331, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD etc..
Management server 300 may include have memory and one perhaps more than one program one of them or
More than one program is stored in memory, and be configured to be executed by one or more than one processor it is one or
More than one program includes the instruction for carrying out the hardware configuration of above-mentioned adjustment server.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (12)
1. a kind of method for the hardware configuration for adjusting server, which is characterized in that the described method includes:
The operation data of each specified hardware periodically on acquisition Servers-all;
Count the peak W value of the operation data of each specified hardware on each server in day part, wherein the peak W value is
The average value of the maximum preceding W% data of numerical value;
According to the peak W value, the hardware configuration of each server is adjusted.
2. the method according to claim 1, wherein the operation data of the specified hardware includes at least: hard disk
It is one or more in utilization rate, CPU usage, memory usage and network interface card utilization rate.
3. the method according to claim 1, wherein described according to the peak W value, to each server
Hardware configuration is adjusted, comprising:
According to the peak W value in multiple periods, the variation tendency of the hardware configuration demand of each server is determined;
The hardware redundancy situation in the following different periods, and root are determined in conjunction with the variation tendency and preset hardware configuration efficiency
It is adjusted according to hardware configuration of the hardware redundancy situation to each server.
4. the method according to claim 1, wherein described according to the peak W value, to each server
Hardware configuration is adjusted, comprising:
According to the resource benefit of the peak W value and the corresponding each server of average unit cost ratio-dependent of each specified hardware
Expenditure;
According to each specified corresponding base peak W value of hardware and the average unit cost ratio-dependent resource rational utilization degree;
Resource utilization and the resource rational utilization degree based on each server, to the hardware of each server
Configuration is adjusted.
5. the method according to claim 1, wherein described according to the peak W value, to each server
Hardware configuration is adjusted, comprising:
Classify to the Servers-all according to type of service, according to the corresponding peak W value of server described in every class, concludes every
The hardware resource consumption feature of server described in class;
It is adjusted according to the hardware configuration of hardware resource consumption feature server described in every class.
6. a kind of device for the hardware configuration for adjusting server, which is characterized in that described device includes:
Acquisition module, for periodically acquiring the operation data of each specified hardware on Servers-all;
Statistical module, for counting the peak W value of the operation data of each specified hardware on each server in day part,
In, the peak W value is the average value of the maximum preceding W% data of numerical value;
Module is adjusted, for being adjusted to the hardware configuration of each server according to the peak W value.
7. device according to claim 6, which is characterized in that the operation data of the specified hardware includes at least: hard disk
It is one or more in utilization rate, CPU usage, memory usage and network interface card utilization rate.
8. device according to claim 6, which is characterized in that the adjustment module is specifically used for:
According to the peak W value in multiple periods, the variation tendency of the hardware configuration demand of each server is determined;
The hardware redundancy situation in the following different periods, and root are determined in conjunction with the variation tendency and preset hardware configuration efficiency
It is adjusted according to hardware configuration of the hardware redundancy situation to each server.
9. device according to claim 6, which is characterized in that the adjustment module is specifically used for:
According to the resource benefit of the peak W value and the corresponding each server of average unit cost ratio-dependent of each specified hardware
Expenditure;
According to each specified corresponding base peak W value of hardware and the average unit cost ratio-dependent resource rational utilization degree;
Resource utilization and the resource rational utilization degree based on each server, to the hardware of each server
Configuration is adjusted.
10. device according to claim 6, which is characterized in that the adjustment module is specifically used for:
Classify to the Servers-all according to type of service, according to the corresponding peak W value of server described in every class, concludes every
The hardware resource consumption feature of server described in class;
It is adjusted according to the hardware configuration of hardware resource consumption feature server described in every class.
11. a kind of management server, which is characterized in that the management server includes processor and memory, the memory
In be stored at least one instruction, at least one section of program, code set or instruction set, at least one instruction, described at least one
Duan Chengxu, the code set or instruction set are loaded by the processor and are executed as claimed in claim 1 to 5 to realize
The method for adjusting the hardware configuration of server.
12. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, extremely in the storage medium
Few one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or the instruction
The method that collection is loaded by processor and executed to realize the hardware configuration of adjustment server as claimed in claim 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810905037.7A CN109165045A (en) | 2018-08-09 | 2018-08-09 | A kind of method and apparatus for the hardware configuration adjusting server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810905037.7A CN109165045A (en) | 2018-08-09 | 2018-08-09 | A kind of method and apparatus for the hardware configuration adjusting server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109165045A true CN109165045A (en) | 2019-01-08 |
Family
ID=64895384
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810905037.7A Pending CN109165045A (en) | 2018-08-09 | 2018-08-09 | A kind of method and apparatus for the hardware configuration adjusting server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109165045A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110069349A (en) * | 2019-05-05 | 2019-07-30 | 重庆天蓬网络有限公司 | A kind of resource consumption accounting system based on big data platform |
CN111682971A (en) * | 2020-07-23 | 2020-09-18 | 拉货宝网络科技有限责任公司 | Logistics system resource automatic management method |
CN111881004A (en) * | 2020-09-27 | 2020-11-03 | 苏宁金融科技(南京)有限公司 | Hardware resource control method, device, equipment and storage medium |
CN113076231A (en) * | 2021-03-26 | 2021-07-06 | 山东英信计算机技术有限公司 | Server application scene setting method, system, terminal and storage medium |
Citations (32)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101374076A (en) * | 2008-10-06 | 2009-02-25 | ***通信集团设计院有限公司 | Method for forecasting and planning server handling ability of telecom business support system |
CN101505243A (en) * | 2009-03-10 | 2009-08-12 | 中国科学院软件研究所 | Performance exception detecting method for Web application |
CN101533366A (en) * | 2009-03-09 | 2009-09-16 | 浪潮电子信息产业股份有限公司 | Method for acquiring and analyzing performance data of server |
CN102131298A (en) * | 2011-04-20 | 2011-07-20 | 新邮通信设备有限公司 | Method for allocating downlink resources |
CN102253883A (en) * | 2011-07-29 | 2011-11-23 | 国网信息通信有限公司 | Method and system for evaluating performance of server |
CN102681902A (en) * | 2012-05-15 | 2012-09-19 | 浙江大学 | Load balancing method based on task distribution of multicore system |
CN103248659A (en) * | 2012-02-13 | 2013-08-14 | 北京华胜天成科技股份有限公司 | Method and system for dispatching cloud computed resources |
CN103309843A (en) * | 2012-03-06 | 2013-09-18 | 百度在线网络技术(北京)有限公司 | Configuration method and system for servers |
CN103414784A (en) * | 2013-08-26 | 2013-11-27 | 浙江大学 | Cloud computing resource scheduling method allowing emergency mode |
CN103744735A (en) * | 2014-01-09 | 2014-04-23 | 福建星网锐捷网络有限公司 | Method and device for scheduling multi-core resource |
CN104142861A (en) * | 2013-05-10 | 2014-11-12 | 中国电信股份有限公司 | Processing method and processing device for configuration of server resources |
CN104283946A (en) * | 2014-09-26 | 2015-01-14 | 东北大学 | Resource self-adaptive adjusting system and method of multiple virtual machines under single physical machine |
CN104348887A (en) * | 2013-08-09 | 2015-02-11 | 中国电信股份有限公司 | Method and device for resource distributing in cloud management platform |
CN104507166A (en) * | 2014-12-23 | 2015-04-08 | 西安电子科技大学 | Method for sharing virtual resource configuration in baseband pooling |
CN104679444A (en) * | 2013-11-27 | 2015-06-03 | 中国电信股份有限公司 | Dynamic adjustment method and device for virtualized storage resources |
CN104834569A (en) * | 2015-05-11 | 2015-08-12 | 北京京东尚科信息技术有限公司 | Cluster resource scheduling method and cluster resource scheduling system based on application types |
CN104991854A (en) * | 2015-06-12 | 2015-10-21 | 北京奇虎科技有限公司 | Method and system for monitoring and statistics of server sources |
CN105320559A (en) * | 2014-07-30 | 2016-02-10 | ***通信集团广东有限公司 | Scheduling method and device of cloud computing system |
CN105323320A (en) * | 2015-11-11 | 2016-02-10 | 中国联合网络通信集团有限公司 | Content distribution method and device |
CN105611572A (en) * | 2016-02-17 | 2016-05-25 | 河南工业大学 | Reconfiguration method and reconfiguration system of relay subframes |
CN105718364A (en) * | 2016-01-15 | 2016-06-29 | 西安交通大学 | Dynamic assessment method for ability of computation resource in cloud computing platform |
CN105743677A (en) * | 2014-12-10 | 2016-07-06 | ***通信集团公司 | Resource configuration method and apparatus |
CN105900064A (en) * | 2014-11-19 | 2016-08-24 | 华为技术有限公司 | Method and apparatus for scheduling data flow task |
CN106058851A (en) * | 2016-05-27 | 2016-10-26 | 南方电网科学研究院有限责任公司 | Power resource configuration method and system based on demand response |
CN106227601A (en) * | 2016-07-26 | 2016-12-14 | 东软集团股份有限公司 | Method and apparatus for the resource distribution of virtual platform |
CN107197530A (en) * | 2017-04-20 | 2017-09-22 | 西安交通大学 | The downlink resource allocation algorithm that the fluctuation of LTE system lower channel is perceived |
CN107196875A (en) * | 2017-05-18 | 2017-09-22 | 上海喆之信息科技有限公司 | A kind of network resource scheduling system based on Consumer's Experience |
CN107203413A (en) * | 2017-05-27 | 2017-09-26 | 北京思特奇信息技术股份有限公司 | A kind of resource data dispatches system and method |
CN107608762A (en) * | 2017-09-26 | 2018-01-19 | 三盟科技股份有限公司 | It is a kind of that the flexible method and system of service dynamic are realized based on virtual machine performance |
CN107886202A (en) * | 2017-12-01 | 2018-04-06 | 南京熊猫电子股份有限公司 | Effectively solve the problems, such as the method for shared resource tide and scheduling system |
CN108241535A (en) * | 2016-12-27 | 2018-07-03 | 阿里巴巴集团控股有限公司 | The method, apparatus and server apparatus of resource management |
CN108347776A (en) * | 2017-01-25 | 2018-07-31 | 华为技术有限公司 | The method and apparatus of resource allocation in a kind of communication system |
-
2018
- 2018-08-09 CN CN201810905037.7A patent/CN109165045A/en active Pending
Patent Citations (32)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101374076A (en) * | 2008-10-06 | 2009-02-25 | ***通信集团设计院有限公司 | Method for forecasting and planning server handling ability of telecom business support system |
CN101533366A (en) * | 2009-03-09 | 2009-09-16 | 浪潮电子信息产业股份有限公司 | Method for acquiring and analyzing performance data of server |
CN101505243A (en) * | 2009-03-10 | 2009-08-12 | 中国科学院软件研究所 | Performance exception detecting method for Web application |
CN102131298A (en) * | 2011-04-20 | 2011-07-20 | 新邮通信设备有限公司 | Method for allocating downlink resources |
CN102253883A (en) * | 2011-07-29 | 2011-11-23 | 国网信息通信有限公司 | Method and system for evaluating performance of server |
CN103248659A (en) * | 2012-02-13 | 2013-08-14 | 北京华胜天成科技股份有限公司 | Method and system for dispatching cloud computed resources |
CN103309843A (en) * | 2012-03-06 | 2013-09-18 | 百度在线网络技术(北京)有限公司 | Configuration method and system for servers |
CN102681902A (en) * | 2012-05-15 | 2012-09-19 | 浙江大学 | Load balancing method based on task distribution of multicore system |
CN104142861A (en) * | 2013-05-10 | 2014-11-12 | 中国电信股份有限公司 | Processing method and processing device for configuration of server resources |
CN104348887A (en) * | 2013-08-09 | 2015-02-11 | 中国电信股份有限公司 | Method and device for resource distributing in cloud management platform |
CN103414784A (en) * | 2013-08-26 | 2013-11-27 | 浙江大学 | Cloud computing resource scheduling method allowing emergency mode |
CN104679444A (en) * | 2013-11-27 | 2015-06-03 | 中国电信股份有限公司 | Dynamic adjustment method and device for virtualized storage resources |
CN103744735A (en) * | 2014-01-09 | 2014-04-23 | 福建星网锐捷网络有限公司 | Method and device for scheduling multi-core resource |
CN105320559A (en) * | 2014-07-30 | 2016-02-10 | ***通信集团广东有限公司 | Scheduling method and device of cloud computing system |
CN104283946A (en) * | 2014-09-26 | 2015-01-14 | 东北大学 | Resource self-adaptive adjusting system and method of multiple virtual machines under single physical machine |
CN105900064A (en) * | 2014-11-19 | 2016-08-24 | 华为技术有限公司 | Method and apparatus for scheduling data flow task |
CN105743677A (en) * | 2014-12-10 | 2016-07-06 | ***通信集团公司 | Resource configuration method and apparatus |
CN104507166A (en) * | 2014-12-23 | 2015-04-08 | 西安电子科技大学 | Method for sharing virtual resource configuration in baseband pooling |
CN104834569A (en) * | 2015-05-11 | 2015-08-12 | 北京京东尚科信息技术有限公司 | Cluster resource scheduling method and cluster resource scheduling system based on application types |
CN104991854A (en) * | 2015-06-12 | 2015-10-21 | 北京奇虎科技有限公司 | Method and system for monitoring and statistics of server sources |
CN105323320A (en) * | 2015-11-11 | 2016-02-10 | 中国联合网络通信集团有限公司 | Content distribution method and device |
CN105718364A (en) * | 2016-01-15 | 2016-06-29 | 西安交通大学 | Dynamic assessment method for ability of computation resource in cloud computing platform |
CN105611572A (en) * | 2016-02-17 | 2016-05-25 | 河南工业大学 | Reconfiguration method and reconfiguration system of relay subframes |
CN106058851A (en) * | 2016-05-27 | 2016-10-26 | 南方电网科学研究院有限责任公司 | Power resource configuration method and system based on demand response |
CN106227601A (en) * | 2016-07-26 | 2016-12-14 | 东软集团股份有限公司 | Method and apparatus for the resource distribution of virtual platform |
CN108241535A (en) * | 2016-12-27 | 2018-07-03 | 阿里巴巴集团控股有限公司 | The method, apparatus and server apparatus of resource management |
CN108347776A (en) * | 2017-01-25 | 2018-07-31 | 华为技术有限公司 | The method and apparatus of resource allocation in a kind of communication system |
CN107197530A (en) * | 2017-04-20 | 2017-09-22 | 西安交通大学 | The downlink resource allocation algorithm that the fluctuation of LTE system lower channel is perceived |
CN107196875A (en) * | 2017-05-18 | 2017-09-22 | 上海喆之信息科技有限公司 | A kind of network resource scheduling system based on Consumer's Experience |
CN107203413A (en) * | 2017-05-27 | 2017-09-26 | 北京思特奇信息技术股份有限公司 | A kind of resource data dispatches system and method |
CN107608762A (en) * | 2017-09-26 | 2018-01-19 | 三盟科技股份有限公司 | It is a kind of that the flexible method and system of service dynamic are realized based on virtual machine performance |
CN107886202A (en) * | 2017-12-01 | 2018-04-06 | 南京熊猫电子股份有限公司 | Effectively solve the problems, such as the method for shared resource tide and scheduling system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110069349A (en) * | 2019-05-05 | 2019-07-30 | 重庆天蓬网络有限公司 | A kind of resource consumption accounting system based on big data platform |
CN111682971A (en) * | 2020-07-23 | 2020-09-18 | 拉货宝网络科技有限责任公司 | Logistics system resource automatic management method |
CN111881004A (en) * | 2020-09-27 | 2020-11-03 | 苏宁金融科技(南京)有限公司 | Hardware resource control method, device, equipment and storage medium |
CN113076231A (en) * | 2021-03-26 | 2021-07-06 | 山东英信计算机技术有限公司 | Server application scene setting method, system, terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11140056B2 (en) | Flexible and safe monitoring of computers | |
CN109165045A (en) | A kind of method and apparatus for the hardware configuration adjusting server | |
CN112162865B (en) | Scheduling method and device of server and server | |
CN108776934B (en) | Distributed data calculation method and device, computer equipment and readable storage medium | |
CN102081622B (en) | Method and device for evaluating system health degree | |
CN104102543B (en) | The method and apparatus of adjustment of load in a kind of cloud computing environment | |
CN104820630B (en) | System resource supervising device based on business variable quantity | |
CN102508709B (en) | Distributed-cache-based acquisition task scheduling method in purchase, supply and selling integrated electric energy acquiring and monitoring system | |
CN109672627A (en) | Method for processing business, platform, equipment and storage medium based on cluster server | |
CN109597685A (en) | Method for allocating tasks, device and server | |
CN110795203B (en) | Resource scheduling method, device, system and computing equipment | |
CN106156115B (en) | A kind of resource regulating method and device | |
CN107733676A (en) | A kind of method and system of flexible scheduling resource | |
CN106453125A (en) | Load balancing system for remote service calling based on real-time load rate | |
CN104298550A (en) | Hadoop-oriented dynamic scheduling method | |
CN103684916A (en) | Method and system for intelligent monitoring and analyzing under cloud computing | |
CN109901927A (en) | Intelligent Task dynamic scheduling system and its method | |
CN111160873A (en) | Batch processing device and method based on distributed architecture | |
CN108809760A (en) | The control method and device in sampling period in sampled-data system | |
CN109495343A (en) | Processing method, device and the server of abnormal flow data | |
CN112002949A (en) | Monitoring management method and system for active equalization of power battery | |
CN204066111U (en) | A kind of quick retrieval system of magnanimity electric-power metering data | |
CN105740077B (en) | Task allocation method suitable for cloud computing | |
CN109117285B (en) | Distributed memory computing cluster system supporting high concurrency | |
CN107479974A (en) | A kind of dispatching method of virtual machine and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190108 |
|
RJ01 | Rejection of invention patent application after publication |