CN100396006C - Method of internodal loading transfer in network accounting - Google Patents

Method of internodal loading transfer in network accounting Download PDF

Info

Publication number
CN100396006C
CN100396006C CNB2005101318493A CN200510131849A CN100396006C CN 100396006 C CN100396006 C CN 100396006C CN B2005101318493 A CNB2005101318493 A CN B2005101318493A CN 200510131849 A CN200510131849 A CN 200510131849A CN 100396006 C CN100396006 C CN 100396006C
Authority
CN
China
Prior art keywords
node
service
source
grid
destination
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.)
Expired - Fee Related
Application number
CNB2005101318493A
Other languages
Chinese (zh)
Other versions
CN1870526A (en
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2005101318493A priority Critical patent/CN100396006C/en
Publication of CN1870526A publication Critical patent/CN1870526A/en
Application granted granted Critical
Publication of CN100396006C publication Critical patent/CN100396006C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The present invention relates to a method of internodal loading transference in grid calculation, which relates to the technical field of grid calculation. The present invention overcomes the defect that after the load of serving nodes is higher than a threshold value, the loading transference can not be carried out in the prior art. The present invention comprises the following steps: firstly, source nodes determine the service with transferring requirements and destination nodes of service transference, secondly, the service is created on the destination nodes, and finally, the state of the service in the source nodes is synchronized to the destination nodes.

Description

The method of load transfer between node in a kind of grid computing
Technical field
The present invention relates to the grid computing technology field, especially relate in a kind of grid computing the method for load transfer between node.
Background technology
Along with the Internet is widely used in ecommerce and constantly development forward, online main frame rolls up, but its utilance is generally not high.And the application demand of high-performance calculation can not obtain computing capability on single computer, must satisfy its superpower computing capability by the building network virtual supercomputer.Therefore grid computing technology arises at the historic moment, and this technology connects geographical all kinds of computers, database, various kinds of equipment and the memory device etc. that distribute of going up by network, forms the transparent relatively virtual high-performance computing environment of user.This technology is used and is comprised that Distributed Calculation, high-throughput calculating, collaborative engineering and data query etc. are all multi-functional.Say that simply grid computing technology is exactly that whole internet is integrated into a huge supercomputer, realize the overall sharing of computational resource, storage resources, data resource, information resources, knowledge resource, Expert Resources.Now, grid computing pattern develops into a kind of foundation structure that connects with unified all kinds of different remote resources.
Grid architecture is just in standardization at present, OASIS (Organization for theAdvancement of Structured Information Standards, structured message standard promotion tissue) provides a nested grid resource framework WSRF (Web Service ResourceFramework, WEB Service Source framework), this frame table is shown with the resource of state and the contact between the WEB service.WSRF is a series of standard, is used to support mesh services, belongs to the fusion of grid and WEB service structure.The purpose that WSRF releases is to define a general and open framework, utilizes Web service that the resource with status attribute is carried out access, and comprises the mechanism of describing status attribute, also comprises the mode that how mechanism is extended in the Web service in addition.
Globus Toolkit 4.0 provides the implementation of a WSRF, and this scheme has intactly adopted the WEB service, and uses WS-Resource (Web Service Resource, WEB Service Source) to come the service of the state that provides to the user.WS-Resource is by Web service and the entity that has the resource of state to constitute, has the resource of state to use in the Web service message.WS-Resource can be created and destroy, and can or change its state by the message inquiry.
In grid, load balancing is crucial function.Problem of load balancing is because the dispersing characteristic of operating load in grid system resource is caused.When operation was submitted in the gridding task manager, operating load can distribute by push-model, pull-mode or integrated mode.Push-model is by the mode that circulates task to be sent on the gridding resource; Pull-mode is that gridding resource obtains task from task queue; In the integrated mode of push-model and pull-mode, each gridding resource can determine when can receive more work, and sends work request to the gridding task server, and then, task server just sends new work to it.Under above-mentioned load-sharing mode, all need to consider the condition of fault recovery, need detect which gridding resource and can't continue to have operated.
Typically as shown in Figure 1 based on the load-balancing method of WSRF standard among the Globus Toolki t 4.0.This system comprises five client node C1, C2, C3, C4 and C5, and grid is found node G1, three service node N1, N2 and N3.Client node C1, C2, C3, C4, C5 are respectively by finding that information D 1, D2, D3, D4, D5 and grid discovery node G1 communicate, service node N1, N2, N3 are respectively by finding that information D 6, D7, D8 and grid discovery node G1 communicate, service node N1 accepts the task requests of client node C1 by information on services S1, service node N2 accepts the task requests of client node C1, C2, C5 respectively by information on services S2, S3, S5, service node N3 accepts the task requests of client node C4 by information on services S4.On service node, the load that the task requests of client node is indicated in order to the percentage mode represents that the load tolerance value of service node is represented with threshold value.Among Fig. 1, the threshold value of service node N1 is 70%, load is 65%, and the threshold value of service node N2 is 65%, load is 70%, and the threshold value of service node N3 is 80%, load is 55%.Loading condition safeguards that by local load notification service in case the load on the service node surpasses threshold value, this service node will no longer be accepted new task requests, till existing load is reduced to below the threshold value.According to OGSA (Open GRID Services Architecture, Open Grid Services Architecture) description, said process can refresh the grid discovery node of resident VOLI (VirtualOrganization Level Index, Virtual Organization's level index) and the load information in the Resource Scheduler of upper strata.
Adopt above-mentioned load-balancing method, accept the task requests of client node when service node after, this client node can only communicate with this service node and finish institute's tasks requested, and this service node can not be transferred to the task requests of this client node on other node.The load of service node N2 has surpassed threshold value among Fig. 1, so just is easy to cause that service node N2 goes up the disabled fault of service of operation.
Summary of the invention
The purpose of this invention is to provide in a kind of grid computing the method for load transfer between node, service node can not transfer load to the defective of other node in the prior art after load surpasses threshold value to overcome.
The present invention includes following steps:
A, source node need to determine the service of transfer;
B, source node are determined the destination node that service is shifted;
C, the described service of establishment on destination node;
D, with the state synchronized of serving described in the source node to destination node.
According to one aspect of the present invention, steps A is specially: the local load balancing device of source node is monitored local load by local load notification service, when definite this node transships, need to select the service of transfer from the service that is in active state.
According to another aspect of the present invention, step B further comprises:
At first, the local load balancing device of source node finds that to network the node request can move the underloading node of described service; Then, network is found the information of node collection service node, selects a node that can move described service and not transship as serving the destination node that shifts and returning to source node.
According to another aspect of the present invention, step D further comprises:
At first, the local load balancing device of source node sends to the Service Source of source node state information is set, the Service Source of source node with the additivity information setting in the attribute of described Service Source; Then, the load equalizer of source node upgrades the respective attributes of the Service Source of destination node with the attribute of described Service Source; Then, source node notice destination node is carried out recovering state; At last, destination node is according to the state of the described service of described additivity information recovery purposes node.
Compared with prior art, the present invention has the following advantages:
Under the situation of service node overload, need to all the other nodes, remove the existing load transfer of part, so client's resource status is kept between source node and destination node synchronously, and this transfer method is transparent to the client, carries out at server end fully.Use the present invention, client node can not bound concrete service node, as long as having not, the service node that can move task that this client node is asked of overload exists, just can continue to finish this client node institute tasks requested, transship caused fault thereby evaded, make grid computing environment healthy and strong more by service node.
Description of drawings
Fig. 1 is based on the system schematic of the load-balancing method of WSRF standard among the Globus Toolkit 4.0.
Fig. 2 is the system schematic of the method for load transfer between node among the present invention.
Embodiment
Core concept of the present invention is that the correlation behavior information of the service that will be transferred is synchronized to the destination node from source node, thereby can proceed smoothly after making described service be transferred to new node.Described correlation behavior information is called additivity information in the present invention, can be that the database that this service is used connects, file or the like, and relevant with concrete service, the present invention does not limit.
The present invention includes following steps:
Step s101, source node need to determine the service of transfer.
Whether certain service needs to shift can be determined by the keeper and initiate as required, also can pass through alternate manner, local load balancing device as source node is monitored local load by local load notification service, when definite source node transships, from the service that is in active state, need to select the service of transfer.
Step s102, source node is determined the destination node that service is shifted.
The destination node that service is shifted can be to be determined by artificial, but more excellent scheme is to find that by grid node is definite, find that as the grid that the local load balancing device request of source node is connected with source node node provides the underloading that can move selected service node, as the destination node of carrying out load transfer, this grid finds that node returns to the destination node information that meets the demands the local load balancing device of source node.
Step s103 creates described service on destination node.
At first, source local load balancing device sends establishing resource message to purpose local load balancing device, and indicates the service that needs transfer; Then, purpose local load balancing device is according to the corresponding WEB service of this message establishing.
Step s104, with the state synchronized of serving described in the source node to destination node.
At first, the local load balancing device of source node sends to the Service Source of source node state information is set, the Service Source of source node with the additivity information setting in the attribute of described Service Source; Then, the load equalizer of source node upgrades the respective attributes of the Service Source of destination node with the attribute of described Service Source; Then, source node notice destination node is carried out recovering state; Destination node is again according to the state of the described service of described additivity information recovery purposes node.
Promptly finished internodal load transfer in the grid computing by above step.Repeat above process, can all carry out state synchronized all services that need shift.
Describe the specific embodiment of the present invention again in detail below in conjunction with Fig. 2.Consult Fig. 2, this system comprises five client node C1, C2, C3, C4 and C5, and grid is found node G1, three service node N1, N2 and N3.Wherein N2 is the source node that carries out state synchronized, and N3 is the destination node of carrying out state synchronized.Client node C1, C2, C3, C4, C5 are respectively by finding that information D 1, D2, D3, D4, D5 and grid discovery node G1 communicate, service node N1, N2, N3 are respectively by finding that information D 6, D7, D8 and grid discovery node G1 communicate, service node N1 accepts the task requests of client node C1 by information on services S1, source node N2 accepts the task requests of client node C1, C2, C5 respectively by information on services S2, S3, S5, destination node N3 accepts the task requests of client node C4 by information on services S4.Source node N2 comprises the local load balancing device LLB of source node SWith source WEB Service Source R A1, destination node N3 comprises the local load balancing device LLB of destination node DWith purpose WEB Service Source R A2LLB SFind that by finding information D 9 and grid node G1 communicates LLB SBy state synchronization SS1 and LLB DCommunicate.The threshold value of service node N1 is 70% among Fig. 2, load is 65%, and the threshold value of source node N2 is 65%, load is 70%, and the threshold value of destination node N3 is 80%, load is 55%.The load of source node N2 has surpassed threshold value, fractional load need be transferred on the destination node N3, carries out load transfer between source node N2 and destination node N3, may further comprise the steps:
Step s201, LLB SIdentification source node N2 go up current all be in the service of active state;
Step s202, LLB SObtain the loading condition of each service from local load notification service;
Step s203, LLB SConstruct a service inventory tabulation of arranging, can be configured to the load recruitment from high to low or from low to high according to the load recruitment;
Step s204, LLB SRequest grid discovery node G1 provides and can move the underloading node of serving in the inventory list, as the destination node of carrying out load transfer;
Step s205, grid find that node gives LLB with the information-reply of the destination node N3 that meets the demands S
Step s206, LLB STo source WEB Service Source R A1Send the SET_STATE message that needs and destination node N3 carry out state synchronized;
Step s207 receives LLB SAfter the SET_STATE message of sending, source WEB Service Source R A1Mode with XML (Extensible Markup Language, XML (extensible Markup Language)) is ready to additivity information, and is set to source WEB Service Source R A1The ADD_STATE Resource Properties in, if source WEB Service Source R A1Do not have additivity, the ADD_STATE Resource Properties will be set to<empty 〉;
Step s208, LLB SObtain source WEB Service Source R in the mode that defines in the WEB Service Source specification of attribute A1Resource Properties;
Step s209, LLB STo LLB DSend CREATE_RESOURCE message, indicate the service that needs transfer by URL (UniformResource Locator, uniform resource locator), this service is by using decision;
Step s210, LLB DWill be corresponding to the purpose WEB Service Source R of this service A2Go up the new reference end points of creating and return to LLB S:
Step s211, LLB SReceive LLB DBehind the reference end points that returns, use this information to upgrade purpose WEB Service Source R with reference to end points A2Resource Properties;
Step s212, LLB STo purpose WEB Service Source R A2Send RESTORE_STATE message;
Step s213 receives from LLB SRESTORE_STATE message after, purpose WEB Service Source R A2Recover the additivity that it is safeguarded according to the value of ADD_STATE Resource Properties, if purpose WEB Service Source R A2In the value of ADD_STATE Resource Properties be<empty, then do not recover;
Step s214 repeats step s206 to step s213 at all services that need shift.
Through above-mentioned steps, the task requests of client node is by LLB SHand to destination node and finish load transfer between source node and the destination node.
If destination node N3 can not finish all services that source node N2 need shift, then source node elder generation transfers to the service that destination node N3 can finish on the destination node N3, source node is found new underloading node that can move respective service of node request to grid more then, continues to shift the residue service.
According to WEB Service Source life cycle standard, above-mentioned source WEB Service Source R A1Can keep survival or deleted after being transferred.
When method provided by the invention not only can be used for node overload service is shifted, also be can be used for the situation that other need shift service, shift as the service that when using handoff scenario, application is related to.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (6)

1. the method for load transfer between node in the grid computing is applicable to it is characterized in that in the grid system, may further comprise the steps:
A, source node need to determine the service of transfer;
B, source node are determined the destination node that service is shifted, and described destination node is to find the node that moves described service that node is selected by grid;
C, source node notify described destination node to create described service;
D, source node with the state synchronized of described service to destination node.
2. the method for claim 1 is characterized in that, described step B specifically may further comprise the steps:
B1, source node find that to grid the node request can move the node of described service;
B2, source node find that from grid node obtains the destination node that can move the node of described service as the service transfer.
3. method as claimed in claim 2 is characterized in that, described step B2 is specially:
Source node finds that from grid node obtains the destination node that a node that can move described service and not transship shifts as service.
4. the method for claim 1 is characterized in that, described step D specifically may further comprise the steps:
D1, source node send to destination node with the additivity information of described service;
D2, source node notice destination node are carried out recovering state;
D3, destination node are according to the state of the described service of described additivity information recovery purposes node.
5. method as claimed in claim 4 is characterized in that, described step D1 specifically may further comprise the steps:
The load equalizer of D11, source node is provided with state information to the Service Source transmission of source node;
The Service Source of D12, source node with the additivity information setting in the attribute of described Service Source;
The load equalizer of D13, source node upgrades the respective attributes of the Service Source of destination node with the attribute of described Service Source.
6. the method for claim 1 is characterized in that, described steps A is specially:
The local load balancing device of source node is monitored local load by local load notification service, when definite this node transships, need to select the service of transfer from the service that is in active state.
CNB2005101318493A 2005-12-20 2005-12-20 Method of internodal loading transfer in network accounting Expired - Fee Related CN100396006C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101318493A CN100396006C (en) 2005-12-20 2005-12-20 Method of internodal loading transfer in network accounting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101318493A CN100396006C (en) 2005-12-20 2005-12-20 Method of internodal loading transfer in network accounting

Publications (2)

Publication Number Publication Date
CN1870526A CN1870526A (en) 2006-11-29
CN100396006C true CN100396006C (en) 2008-06-18

Family

ID=37444083

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101318493A Expired - Fee Related CN100396006C (en) 2005-12-20 2005-12-20 Method of internodal loading transfer in network accounting

Country Status (1)

Country Link
CN (1) CN100396006C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014042A (en) * 2009-09-08 2011-04-13 中兴通讯股份有限公司 Web load balancing method, grid server and system
CN103036928A (en) * 2011-10-10 2013-04-10 中兴通讯股份有限公司 Network overload processing method and network overload processing device
US8886781B2 (en) * 2011-12-13 2014-11-11 Microsoft Corporation Load balancing in cluster storage systems
CN105159925B (en) * 2015-08-04 2019-08-30 北京京东尚科信息技术有限公司 A kind of data-base cluster data distributing method and system
CN108781189B (en) * 2016-09-26 2020-12-22 华为技术有限公司 Load balancing method and related equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1523844A (en) * 2003-02-20 2004-08-25 国际商业机器公司 Method and system for creating service instance in computational grid
CN1581806A (en) * 2003-08-05 2005-02-16 国际商业机器公司 Method and system for balancing working load in network computing environment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1523844A (en) * 2003-02-20 2004-08-25 国际商业机器公司 Method and system for creating service instance in computational grid
CN1581806A (en) * 2003-08-05 2005-02-16 国际商业机器公司 Method and system for balancing working load in network computing environment

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
推动5大重点领域--IBM网格战略谈. 每周电脑报. 2004
推动5大重点领域--IBM网格战略谈. 每周电脑报. 2004 *
计算网格中基于数据迁移的负载平衡方法研究. 孟繁二.吉林大学硕士学位论文. 2004
计算网格中基于数据迁移的负载平衡方法研究. 孟繁二.吉林大学硕士学位论文. 2004 *

Also Published As

Publication number Publication date
CN1870526A (en) 2006-11-29

Similar Documents

Publication Publication Date Title
US10567303B2 (en) System and method for routing service requests
AU2009223346B2 (en) Web-based multiuser collaboration
JP4374378B2 (en) Operation performance evaluation apparatus, operation performance evaluation method, and program
JP5221151B2 (en) Process configuration in the network
CN105094997B (en) Physical memory sharing method and system between a kind of cloud computing host node
US20050160413A1 (en) Method and system for a grid-enabled virtual machine with movable objects
US20050160424A1 (en) Method and system for grid-enabled virtual machines with distributed management of applications
US20040243915A1 (en) Autonomic failover of grid-based services
CN100396006C (en) Method of internodal loading transfer in network accounting
CN109783151B (en) Method and device for rule change
Khanli et al. FRDT: footprint resource discovery tree for grids
JP3944176B2 (en) Search request transmitting apparatus and program
CN101753359B (en) Method and system for dynamically distributing components
US7805503B2 (en) Capability requirements for group membership
Islam et al. Tree-based consistency approach for cloud databases
CN103186536A (en) Method and system for scheduling data shearing devices
CN114900449B (en) Resource information management method, system and device
JP2004302564A (en) Name service providing method, execution device of the same, and processing program of the same
Coulson et al. A component‐based middleware framework for configurable and reconfigurable Grid computing
JPWO2009034994A1 (en) Load distribution system, service processing server, load distribution method, and load distribution program
JP2010527475A (en) Information appliance data storage system and data processing method
US10866876B2 (en) Dynamically configurable operation information collection
JP2005038339A (en) Grid computing system and computing resource collection method for grid computing system
CN117632531A (en) Method, device and storage medium for processing messages in cluster
CN116389496A (en) Multi-cluster queue dynamic shunting method and device and cluster acquisition method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080618

Termination date: 20171220

CF01 Termination of patent right due to non-payment of annual fee