CN102789398A - Host resource self-adaptive management method and device - Google Patents

Host resource self-adaptive management method and device Download PDF

Info

Publication number
CN102789398A
CN102789398A CN2011101262116A CN201110126211A CN102789398A CN 102789398 A CN102789398 A CN 102789398A CN 2011101262116 A CN2011101262116 A CN 2011101262116A CN 201110126211 A CN201110126211 A CN 201110126211A CN 102789398 A CN102789398 A CN 102789398A
Authority
CN
China
Prior art keywords
resource
host
host resource
achievement data
resources
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
CN2011101262116A
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.)
China United Network Communications Group Co Ltd
China Unicom System Integration Ltd Corp
Original Assignee
China United Network Communications Group Co Ltd
China Unicom System Integration Ltd Corp
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 China United Network Communications Group Co Ltd, China Unicom System Integration Ltd Corp filed Critical China United Network Communications Group Co Ltd
Priority to CN2011101262116A priority Critical patent/CN102789398A/en
Publication of CN102789398A publication Critical patent/CN102789398A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention provides a host resource self-adaptive management method and a device. The method includes novel added host resources are registered when novel host resources are added in a resource pool; index data and running states of registered host resources in the resource pool are monitored in real time; running states of corresponding host resources are adjusted according to the index data; and assignments are distributed to host resources in a normal active state according to a preset scheduling strategy. According to the host resource self-adaptive management method and the device, running states of host resources are monitored and adjusted in real time, so that dynamic expansion of host resources is achieved, coupling degrees among modules of a system are reduced, and the expandability of the system is improved.

Description

Host resource adaptive management method and device
Technical field
The present invention relates to a kind of host resource adaptive management method and device, belong to system construction technique field.
Background technology
The General System first stage of construction need be calculated computing power and storage size according to the size of portfolio; Carry out system design and software and hardware type selecting again; On set basic software and hardware platform, carry out the exploitation of application software then, the degree of coupling is higher between application software module.
The subject matter of prior art systems is: because framework, processing power, the software and hardware model of system are comparatively fixing, the software and the operating system degree of coupling are higher, so extensibility is not enough.Along with the increase of portfolio, new demand and data volume also can be increasing, calculate also can become increasingly complex; Particularly for construction project of many phases; Easy extendability to system requires increasingly high; Comparatively fixing because of framework, processing power, basic software and the ardware model number of system, when carrying out System Expansion, can only select the same model and the version of existing software and hardware, dilatation is difficulty comparatively; Moreover the degree of coupling is higher between system module, disposes comparatively complicated for satisfying the new module that new demand develops.
Summary of the invention
The present invention provides a kind of host resource adaptive management method and device, in order to improve the extensibility of host resource.
One aspect of the present invention provides a kind of host resource adaptive management method, comprising:
There in resource pool, have new host resource to add to be fashionable, and initiate host resource is registered;
Achievement data and running status to registered host resource in the said resource pool are monitored in real time;
According to said achievement data adjustment respective host running states of resources;
Scheduling strategy according to preset is distributed to operation on the host resource that is in the normal activity state.
The present invention provides a kind of host resource adaptive management device on the other hand, comprising resource management module, system monitoring module and job scheduling module, wherein:
Said resource management module comprises:
Registering unit is used for that to have new host resource to add fashionable when said resource pool, and initiate host resource is registered;
Adjustment unit is used for the achievement data adjustment respective host running states of resources that arrives according to the system monitoring module monitors;
Said system monitoring module is used for said resource pool is monitored by the achievement data and the running status of the host resource of registering unit registration in real time;
Said job scheduling module is used for according to preset scheduling strategy operation being distributed on the host resource that is in the normal activity state.
The present invention has realized the dynamic expansion of host resource through the running status of monitoring in real time and adjustment host resource, has reduced the degree of coupling between system module, has improved the extensibility of system.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply; Obviously, the accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the process flow diagram of host resource adaptive management method embodiment according to the invention;
Fig. 2 is the particular flow sheet of step 300 among Fig. 1;
Fig. 3 is the structural representation of host resource adaptive management device embodiment according to the invention;
Fig. 4 is the concrete structure synoptic diagram of the resource management module 20 in the device shown in Figure 3;
Fig. 5 is the concrete structure synoptic diagram of the adjustment unit 22 in the resource management module 20 shown in Figure 4;
Fig. 6 is the inner structure synoptic diagram of each main frame in the resource pool shown in Figure 3.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer; To combine the accompanying drawing in the embodiment of the invention below; Technical scheme in the embodiment of the invention is carried out clear, intactly description; Obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Fig. 1 is the process flow diagram of host resource adaptive management method embodiment of the present invention, and as shown in the figure, this method comprises:
Step 100, there in resource pool, have new host resource to add to be fashionable, and initiate host resource is registered.
Wherein, said resource pool is meant the resource cluster that comprises a plurality of host resources, and every initiate host resource all need be registered, to constitute the scope of resource that can supply monitor.Particularly, can log-on message be recorded in the log-on message table.
Step 200 is monitored the achievement data and the running status of registered host resource in the said resource pool in real time.
Wherein, said achievement data comprises: whether the data such as occupancy of CPU, internal memory, I/O interface, memory capacity, these achievement datas can show the utilization factor of corresponding host resource and take place unusual; Said running status comprises: normal activity state and inactive state, wherein,, be not added in the job scheduling though inactive host resource is registered, and therefore can not carry out the operation of being distributed; On the contrary, the host resource that is in the normal activity state is not only registered, but also is added in the job scheduling, therefore can carry out the operation of being distributed.
Step 300 is according to said achievement data adjustment respective host running states of resources.
Wherein, the achievement data of the host resource in the said resource pool in operational process constantly changes, therefore through its running status of monitoring adjustment in real time, so that host resource is fully used.Concrete adjustment process will describe in subsequent content.
Step 400, the scheduling strategy according to preset is distributed to operation on the host resource that is in the normal activity state.
Particularly; Can step 200 be implemented to monitor resulting running status also is recorded in the said log-on message table; Just can learn the respective host running states of resources through inquiring about this log-on message table then, thereby operation is distributed on the host resource that is in the normal activity state.
Wherein, Usually also end one owing to be in the host resource of normal activity state in the resource pool; Therefore can be when carrying out the operation distribution according to preset scheduling strategy, this scheduling strategy specifically can have multiple mode, for example: the computing power algorithm; Be about to operation and be distributed in the stronger host resource of computing power, to improve the speed that operation is handled; Counting method; After being the operation of first host resource distribution predetermined quantity; The operation of distributing same quantity again to second host resource after the All hosts resource has all been distributed the operation of same quantity, begins to carry out the distribution of operation again from first host resource; Polling method promptly is followed successively by each host resource and distributes an operation one by one.
The said method of present embodiment has realized the dynamic expansion of host resource through the running status of monitoring in real time and adjustment host resource, has reduced the degree of coupling between system module, has improved the extensibility of system.
Following with reference to Fig. 2,, as shown in Figure 2 in the detailed description above-mentioned steps 300 according to the detailed process of said achievement data adjustment respective host running states of resources, comprise the steps:
Step 310 when said achievement data shows that the utilization factor of the host resource in the said resource pool surpasses preset upper limit value, is adjusted into the normal activity state with the running status of host resource inactive in the registered host resource.
Wherein, when the utilization factor of host resource surpasses preset upper limit value, show that these host resources in the resource pool are too busy, therefore need more host resource be added scheduling.Through this step, realized the application of host resource, make more host resource be in the normal activity state, so that have the ability the operation of being distributed is handled, share the working load of other host resources.
Step 311 for the host resource that is adjusted to the normal activity state assembles virtual machine, and is assembled application component on this virtual machine.
Particularly, can on the operating system of host resource, virtual machine be installed, stretch to realize using.Through use flexible can the implementation platform independence, make the operation of application software not receive the restriction of set basic software and hardware platform, and the version of basic software also need not corresponding with ardware model number, thereby the versatility of raising software.
Wherein, said application component can comprise member bodies and member agency, on virtual machine, adds the member agency, helps realizing the hot plug of member.
Need to prove that here if said host resource had assembled virtual machine and application component become the normal activity state from inactive state before, then this step also is omissible.
Step 320 when said achievement data shows that the utilization factor of the host resource in the said resource pool is lower than preset lower limit, is adjusted into inactive state with the running status that is in the host resource of active state in the registered host resource.
Wherein, when the utilization factor of host resource is lower than preset lower limit, show that these host resources in the resource pool are too idle, therefore need some host resources that has added scheduling be shifted out job scheduling.Through this step, realized the recovery of host resource, make that idle host resource is inactive, help reducing the waste of host resource.
Step 330 occurs when unusual when said achievement data shows host resource, and the application migration on the host resource that this is unusual is to other host resources that are in the normal activity state.
This step adopts the mode that the application on the host resource is moved, and has improved the reliability of system; And compare with the mode that backs up for each host resource increase in the prior art, reduced cost, improved the utilization factor of resource.
Step 331, the running status of the host resource that this is unusual is adjusted into inactive state.
Particularly; Can the respective host running states of resources that write down in the said log-on message table be adjusted into inactive state; Make in step 400 no longer to be this host resource distribution operation, to avoid because this unusual host resource can't be handled the operation of being distributed once more the application migration described in the execution in step 330 operate.
Fig. 3 is the structural representation of host resource adaptive management device embodiment according to the invention, and is as shown in the figure, and this device comprises system monitoring module 10, resource management module 20 and job scheduling module 30, and its principle of work is following:
There in said resource pool, have new host resource to add to be fashionable; Said resource management module 20 is registered through 21 pairs of initiate host resources of the registering unit shown in Fig. 4, and wherein, said resource pool is meant the resource cluster that comprises a plurality of host resources; In Fig. 3; Host A~N representes a plurality of host resources, and every initiate host resource all need be registered, to constitute the scope of resource that can supply monitor.Particularly, can log-on message be recorded in the log-on message table.
Monitor in real time by the achievement data and the running status of the host resource of registering unit 21 registration in 10 pairs of said resource pools of said system monitoring module, about specifying of achievement data and running status, can be referring to the related content of said method embodiment.
The achievement data adjustment respective host running states of resources that said resource management module 20 monitors according to system monitoring module 10 through the adjustment unit shown in Fig. 4 22; Wherein, The achievement data of host resource in the said resource pool in operational process constantly changes; Therefore through its running status of monitoring adjustment in real time, so that host resource is fully used.Concrete adjustment process will describe in subsequent content.
Then, be used for operation being distributed on the host resource that is in the normal activity state by said job scheduling module 30 according to preset scheduling strategy.Particularly; Implementing the resulting running status of monitoring by said system monitoring module 10 also is recorded in the said log-on message table; Said job scheduling module 30 just can be learnt the respective host running states of resources through inquiring about this log-on message table, thereby operation is distributed on the host resource that is in the normal activity state.Specifying of wherein relevant scheduling strategy can be referring to the related content of said method embodiment.
The said device of present embodiment has been realized the dynamic expansion of host resource through the running status of monitoring in real time and adjustment host resource, has reduced the degree of coupling between system module, has improved the extensibility of system.
Below specify the concrete adjustment process of the running status of 22 pairs of host resources of adjustment unit.As shown in Figure 5; The said achievement data that monitors when system monitoring module 10 shows when the utilization factor of the host resource in the said resource pool surpasses preset upper limit value, and this adjustment unit 22 is adjusted into the normal activity state through resource bid subelement 2201 with the running status of host resource inactive in the registered host resource.Through resource bid subelement 2201, realized the application of host resource, make more host resource be in the normal activity state, so that have the ability the operation of being distributed is handled, share the working load of other host resources.
As shown in Figure 4, can also comprise in the said resource management module 20 and use telescopic unit 23, be used to the host resource assembling virtual machine that is adjusted into the normal activity state by resource bid subelement 2201, and on this virtual machine, assemble application component.
Particularly, as shown in Figure 6, can on operating system, virtual machine be installed as each main frame of host resource, flexible to realize using.Through use flexible can the implementation platform independence, make the operation of application software not receive the restriction of set basic software and hardware platform, and the version of basic software also need not corresponding with ardware model number, thereby the versatility of raising software.Wherein, said application component can comprise a plurality of member bodies such as member agency and member bodies A~N, on virtual machine, adds the member agency, helps realizing the hot plug of member.
As shown in Figure 5; The said achievement data that monitors when system monitoring module 10 shows that adjustment unit 22 can also reclaim subelement 2202 through resource the running status that is in the host resource of active state in the registered host resource is adjusted into inactive state when the utilization factor of the host resource in the said resource pool was lower than preset lower limit.Reclaim subelement 2202 through resource, realized the recovery of host resource, make that idle host resource is inactive, help reducing the waste of host resource.
The said achievement data that monitors when system monitoring module 10 shows that host resource occurs when unusual; Adjustment unit 22 can also be through the application migration of application migration subelement 2203 on will this unusual host resource to other host resources that are in the normal activity state, and running status that will this unusual host resource is adjusted into inactive state.
This step adopts the mode of being moved by the application on 2203 pairs of host resources of application migration subelement, has improved the reliability of system; And compare with the mode that backs up for each host resource increase in the prior art, reduced cost, improved the utilization factor of resource.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be accomplished through the relevant hardware of programmed instruction; Aforesaid program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
What should explain at last is: above embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although with reference to previous embodiment the present invention has been carried out detailed explanation, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the spirit and the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.

Claims (10)

1. a host resource adaptive management method is characterized in that, comprising:
There in resource pool, have new host resource to add to be fashionable, and initiate host resource is registered;
Achievement data and running status to registered host resource in the said resource pool are monitored in real time;
According to said achievement data adjustment respective host running states of resources;
Scheduling strategy according to preset is distributed to operation on the host resource that is in the normal activity state.
2. method according to claim 1; It is characterized in that; Saidly comprise: when said achievement data shows that the utilization factor of the host resource in the said resource pool surpasses preset upper limit value, the running status of host resource inactive in the registered host resource is adjusted into the normal activity state according to said achievement data adjustment respective host running states of resources.
3. method according to claim 2; It is characterized in that; Said running status with host resource inactive in the registered host resource also comprises after being adjusted into the normal activity state: for the host resource that is adjusted to the normal activity state assembles virtual machine, and on this virtual machine, assemble application component.
4. method according to claim 1; It is characterized in that; Saidly comprise: when said achievement data shows that the utilization factor of the host resource in the said resource pool is lower than preset lower limit, the running status that is in the host resource of active state in the registered host resource is adjusted into inactive state according to said achievement data adjustment respective host running states of resources.
5. method according to claim 1; It is characterized in that; Saidly comprise: occur when unusual when said achievement data shows host resource according to said achievement data adjustment respective host running states of resources; Application migration on the host resource that this is unusual is to other host resources that are in the normal activity state, and running status that will this unusual host resource is adjusted into inactive state.
6. a host resource adaptive management device is characterized in that, comprises resource management module, system monitoring module and job scheduling module, wherein:
Said resource management module comprises:
Registering unit is used for that to have new host resource to add fashionable when said resource pool, and initiate host resource is registered;
Adjustment unit is used for the achievement data adjustment respective host running states of resources that arrives according to the system monitoring module monitors;
Said system monitoring module is used for said resource pool is monitored by the achievement data and the running status of the host resource of registering unit registration in real time;
Said job scheduling module is used for according to preset scheduling strategy operation being distributed on the host resource that is in the normal activity state.
7. device according to claim 6; It is characterized in that; Said adjustment unit comprises: the resource bid subelement; Be used for when the system monitoring module monitors to said achievement data when showing that the utilization factor of the host resource of said resource pool surpasses preset upper limit value, the running status of host resource inactive in the registered host resource is adjusted into the normal activity state.
8. device according to claim 7; It is characterized in that; Said resource management module also comprises: use telescopic unit, be used to the host resource assembling virtual machine that is adjusted into the normal activity state by the resource bid subelement, and on this virtual machine, assemble application component.
9. device according to claim 6; It is characterized in that; Said adjustment unit also comprises: resource reclaims subelement; Be used for when the system monitoring module monitors to said achievement data when showing that the utilization factor of the host resource of said resource pool is lower than preset lower limit, the running status that is in the host resource of active state in the registered host resource is adjusted into inactive state.
10. device according to claim 6; It is characterized in that; Said adjustment unit also comprises: the application migration subelement; Be used for when the system monitoring module monitors to said achievement data show that host resource occurs when unusual, the application migration on the host resource that this is unusual is to other host resources that are in the normal activity state, and running status that will this unusual host resource is adjusted into inactive state.
CN2011101262116A 2011-05-16 2011-05-16 Host resource self-adaptive management method and device Pending CN102789398A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101262116A CN102789398A (en) 2011-05-16 2011-05-16 Host resource self-adaptive management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101262116A CN102789398A (en) 2011-05-16 2011-05-16 Host resource self-adaptive management method and device

Publications (1)

Publication Number Publication Date
CN102789398A true CN102789398A (en) 2012-11-21

Family

ID=47154805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101262116A Pending CN102789398A (en) 2011-05-16 2011-05-16 Host resource self-adaptive management method and device

Country Status (1)

Country Link
CN (1) CN102789398A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279389A (en) * 2013-04-28 2013-09-04 中国工商银行股份有限公司 Scheduling method and scheduling system of host computer batch loads
CN109471705A (en) * 2017-09-08 2019-03-15 杭州海康威视数字技术股份有限公司 Method, equipment and system, the computer equipment of task schedule

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1577251A (en) * 2003-07-28 2005-02-09 国际商业机器公司 Long-distance cooperating method and system for small server program
US20090070650A1 (en) * 2007-09-11 2009-03-12 Nextwave Broadband Inc. Error correction for a persistent resource allocation
CN101488098A (en) * 2009-02-13 2009-07-22 华中科技大学 Multi-core computing resource management system based on virtual computing technology
CN101937368A (en) * 2010-08-31 2011-01-05 苏州阊亦宏环保科技有限公司 Cloud computation-oriented data center management system
CN101969391A (en) * 2010-10-27 2011-02-09 北京邮电大学 Cloud platform supporting fusion network service and operating method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1577251A (en) * 2003-07-28 2005-02-09 国际商业机器公司 Long-distance cooperating method and system for small server program
US20090070650A1 (en) * 2007-09-11 2009-03-12 Nextwave Broadband Inc. Error correction for a persistent resource allocation
CN101488098A (en) * 2009-02-13 2009-07-22 华中科技大学 Multi-core computing resource management system based on virtual computing technology
CN101937368A (en) * 2010-08-31 2011-01-05 苏州阊亦宏环保科技有限公司 Cloud computation-oriented data center management system
CN101969391A (en) * 2010-10-27 2011-02-09 北京邮电大学 Cloud platform supporting fusion network service and operating method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279389A (en) * 2013-04-28 2013-09-04 中国工商银行股份有限公司 Scheduling method and scheduling system of host computer batch loads
CN103279389B (en) * 2013-04-28 2016-06-22 中国工商银行股份有限公司 The dispatching method of a kind of host batch load and dispatching patcher
CN109471705A (en) * 2017-09-08 2019-03-15 杭州海康威视数字技术股份有限公司 Method, equipment and system, the computer equipment of task schedule

Similar Documents

Publication Publication Date Title
CN103210379A (en) Server system, management method and device
US8935491B2 (en) Memory architecture for dynamically allocated manycore processor
CN102326132A (en) Power management to maximize reduced power state for virtual machine platforms
CN102307224A (en) Method and device for realizing service isolation in cloud computing system, and cloud server
CN103647850A (en) Data processing method, device and system of distributed version control system
CN103399781A (en) Cloud server and virtual machine management method thereof
CN102567090A (en) Method and system for creating a thread of execution in a computer processor
CN102308274A (en) Method, network card and hard disk card of accessing power-off hard disk
CN103034295A (en) Input/output capability-enhanced reconfigurable micro-server
CN102419753B (en) Information processing equipment, information processing method and information processing system
CN101083532A (en) Method and system for realizing data loading
CN110633152A (en) Method and device for realizing horizontal scaling of service cluster
CN104424122A (en) Electronic equipment and memory dividing method
CN104850394A (en) Management method of distributed application program and distributed system
CN104144202A (en) Hadoop distributed file system access method, system and device
CN114138488A (en) Cloud-native implementation method and system based on elastic high-performance computing
CN102541750A (en) Implementation method and device for data snapshot
CN103530254A (en) Peripheral Component Interconnect enumeration method and device of multi-node system
CN108932112B (en) Data read-write method, device, equipment and medium for solid particles
CN104391736A (en) Method for setting up sleep mode of virtual machine and device
CN102789398A (en) Host resource self-adaptive management method and device
CN104679575A (en) Control system and control method for input and output flow
CN109062857A (en) A kind of new type of messages controller and its communication means that can be communicated between realization of High Speed multiprocessor
CN102393838A (en) Data processing method and device, PCI-E (peripheral component interface-express) bus system, and server
CN104572275A (en) Process loading method, process loading device and process loading system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20121121