CN1852502A - Method for realizing load uniform in clustering system, system and storage controller - Google Patents

Method for realizing load uniform in clustering system, system and storage controller Download PDF

Info

Publication number
CN1852502A
CN1852502A CN 200610083604 CN200610083604A CN1852502A CN 1852502 A CN1852502 A CN 1852502A CN 200610083604 CN200610083604 CN 200610083604 CN 200610083604 A CN200610083604 A CN 200610083604A CN 1852502 A CN1852502 A CN 1852502A
Authority
CN
China
Prior art keywords
storage control
load
storage
iscsi
information
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.)
Granted
Application number
CN 200610083604
Other languages
Chinese (zh)
Other versions
CN100389392C (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou Huawei 3Com Technology 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 Hangzhou Huawei 3Com Technology Co Ltd filed Critical Hangzhou Huawei 3Com Technology Co Ltd
Priority to CNB2006100836042A priority Critical patent/CN100389392C/en
Publication of CN1852502A publication Critical patent/CN1852502A/en
Application granted granted Critical
Publication of CN100389392C publication Critical patent/CN100389392C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The method includes steps: client end sends out request of ISCSI registration; using loading condition of each memory controller, main memory controller selects memory controller with minimal load for client end to carry out registration. Comparing information of load of each memory controller queried from load despatcher, the selects memory controller with minimal load for client end to carry out registration so as to balance load of each memory controller in group system.

Description

Realize method, system and the storage control of load balancing in a kind of group system
Technical field
The present invention relates to the computer cluster technical field, be meant method, system and the storage control of realizing load balancing in a kind of group system especially.
Background technology
Cluster is meant a sets of computer, and doing as a wholely provides a group network resource to the user.These single computer systems are exactly the node of cluster.A desirable cluster is the node that the user never can be appreciated that the group system bottom, and In the view of them, cluster is a system, but not a plurality of computer system, and the keeper of group system can arbitrarily increase and delete the node of group system.
Internet Small Computer Systems Interface (ISCSI, Internet Small ComputerSystem Interface) is widely used in group system at present.The ISCSI agreement is based upon small computer system interface (SCSI, Small Computer SystemInterface) on agreement and transmission control protocol/Internet protocol (TCP/IP, the TransmissionControl Protocol/Internet Protocol) basis.Scsi interface allows to connect many different types of equipment, but can only support 16 equipment at most, and the bus limited length of interface.ISCSI has increased one deck key-course, utilize the network advantage of TCP/IP, not only solved original SCSI bus limited length, the hypodynamic problem of memory device propagation energy, can also utilize the Internet protocol (IP of existing Ethernet network realization based on ICP/IP protocol, InternetProtocol) storage area network has reduced the spending of enterprise aspect storage.
In the ISCSI field of storage, provide the group system of the mode of operation of service simultaneously for a plurality of clustered nodes, be to dispatch the load balancing that realizes in the cluster at present with static equilibrium.As shown in Figure 1, client 101 comprises m main frame, links to each other with clustered node 104 by ISCSI/IP network 103 respectively, and clustered node 104 comprises n clustered node, and one of them clustered node is set at host node.The respective modules that create for Various types of data office terminal 102 is called ISCSI object machine 105.The information stores of ISCSI object machine 105 is in the database of each clustered node.(ID, Identification) information inquiry is to corresponding data for the sign of each ISCSI object machine that sends when clustered node is logined by client.But the one or more ISCSI object machines of load on each clustered node, each ISCSI object machine correspondence the data on one or more disk arrays.
Adopt the implementation procedure of static equilibrium scheduling as follows: 1) the corresponding ISCSI object machine 105 of client 101 desired datas is created by graphic user interface or order line in office terminal 102, and host node is with a plurality of ISCSI object machine mean allocation of being created and load on each clustered node in the clustered node 104.When 2) client need be operated data in magnetic disk, the id information of ISCSI object machine when host node is logined by terminal in the cluster inquired this ISCSI object machine and loads on which clustered node, and changeing provides service by this clustered node.
Though the ISCSI object machine that create the office terminal in the cluster has obtained mean allocation on each server.But according to user's actual needs, some main frame may be on the shelf always in running, and some main frame may often be visited the same clustered node at a plurality of ISCSI object machines place, and the clustered node at some ISCSI object machine place is asked without frequentation.Thereby the clustered node load size of host access is different.Cause some clustered node busier like this, and some clustered node is relatively more idle, does not reach real load balancing, usage factor of system resource is lower.
Summary of the invention
The technical problem that the present invention solves is to provide method, system and the storage control of realizing load balancing in a kind of group system.It is not of uniform size to have solved in the system that server mean allocation client resource causes in the group system load.
For solving prior art problems, the invention provides the method that realizes load balancing in a kind of group system, comprising:
Client is sent logging request to the primary storage controller in a, the group system;
B, primary storage controller inquiry self load information also obtains respectively from the load information of storage control, and more described load information to be determining the storage control of load minimum, and the information of this storage control is offered client;
C, client are logined the storage control of aforementioned load minimum.
Wherein, further comprise before the described step a: setting a storage control in each storage control of group system is the primary storage controller.
Wherein, client is sent logging request to primary storage controller to send logging request be client by the primary storage controller virtual Internet protocol IP address and Internet Small Computer Systems Interface ISCSI port among the described step a.
Wherein, step b is:
The load of the central processing unit CPU of primary storage controller inquiry self is inquired about the load of CPU separately respectively and it offers the primary storage controller from storage control in described other each work;
The primary storage controller compares self cpu load and the cpu load of storage control in described each work determining the storage control of cpu load minimum, and the information of this storage control is offered client.
Wherein, described primary storage controller compares cpu load further and comprises:
Described cpu load is compared with assign thresholds respectively, the storage control part ISCSI session of cpu load greater than threshold value is transferred on the storage control of cpu load less than threshold value.
Wherein, the described storage control that cpu load is compared to determine the cpu load minimum further comprises:
Judge whether to exist the minimum and identical storage control of a plurality of cpu loads, if, then the primary storage controller compares the ISCSI session number of these storage controls, selects the storage control of the storage control of session number minimum as described cpu load minimum.
Wherein, the ISCSI session number of described these storage controls of primary storage controller comparison further comprises:
Judge whether to exist the minimum and identical storage control of a plurality of ISCSI session numbers, if then select the storage control of a storage control therein at random as described cpu load minimum.
Wherein, in step b, described information with this storage control offers client and is:
The real ip address and the ISCSI port of described storage control are offered client;
Among the step c, client is logined according to this real ip address and ISCSI port.
Wherein, send among logging request and the step c login that login is based on the ISCSI agreement among the described step a and be redirected characteristic.
Wherein, being in operation to break down from storage control and further comprising in described each work:
Break down from storage control recover normal after, again this storage control is joined in the cluster by the office terminal, the primary storage controller is given an order to the big storage control of load information according to load information, disconnect the ISCSI session that the respective stored controller connects, shift these sessions to initiate from storage control.
The present invention also provides the storage control of realizing load balancing in a kind of group system, and this storage control further comprises the load dispatch device, wherein:
Described load dispatch device is used to inquire about the load information of the storage control of self correspondence, and the load information that inquiry obtains is offered the load dispatch device of primary storage controller;
When described storage control is the primary storage controller, this storage control is further used for that himself load dispatch device is inquired about the load information that the load dispatch device of the load information that obtains and other storage control inquired and compares, and the information that will compare the storage control of the determined load minimum in back offers client.
Wherein, described load dispatch device is used to inquire about and provides the cpu load of the storage control of self correspondence;
When described storage control was the primary storage controller, the load information comparing function that this storage control is realized was the comparison of cpu load.
Wherein, when described storage control was the primary storage controller, this storage control was further used for:
With self and respectively compare with assign thresholds respectively, the storage control part ISCSI session of cpu load greater than threshold value is transferred on the storage control of cpu load less than threshold value from the cpu load of storage control.
Wherein, described storage control further comprises ISCSI object machine service unit, described load dispatch device is further used for inquiring about current session number and offering the primary storage controller by ISCSI object machine service unit, when described storage control was the primary storage controller, this storage control was further used for:
When judgement obtained existing the minimum and identical storage control of a plurality of cpu loads, relatively the ISCSI session number of these storage controls was selected the storage control of the storage control of session number minimum as described load minimum.
Wherein, when described storage control was the primary storage controller, this storage control was further used for:
When judgement obtains existing the minimum and identical storage control of a plurality of ISCSI session numbers, in these storage controls, select the storage control of a storage control at random as described load minimum.
Wherein, after the office terminal joined new storage control in the cluster, the primary storage controller was further used for:
Give an order to the big storage control of load according to load information, disconnect the ISCSI session of respective stored controller, shift these sessions to initiate storage control.
Wherein, described storage control has the load comparing unit, and the described comparing function of storage control is realized in this unit.
The present invention also provides the system that realizes load balancing in a kind of group system, and this system comprises at least two storage controls, and wherein a storage control is the primary storage controller, and all the other storage controls are from storage control, wherein:
Primary storage controller in the described storage control is used to receive the logging request from client, inquire about self load information and obtain respectively load information from storage control, more described load information to be determining the storage control of load minimum, and the information of this storage control is offered client;
Be used to inquire about self load information from storage control in the described storage control;
Wherein, described storage control further comprises the load dispatch device, wherein:
Described load dispatch device is used to inquire about the load information of the storage control of self correspondence, and the load information that inquiry obtains is offered the load dispatch device of primary storage controller;
When described storage control is the primary storage controller, this storage control is further used for that himself load dispatch device is inquired about the load information that the load dispatch device of the load information that obtains and other storage control inquired and compares, and the information that will compare the storage control of the determined load minimum in back offers client.
Wherein, described storage control has the load comparing unit, and the described comparing function of storage control is realized in this unit.
The inventive method is compared with the static equilibrium dispatching method of prior art, utilizes that loading condition decides the storage control that service is provided to client in the group system.When having avoided employing static equilibrium dispatching method,, each clustered node load occurs when causing client login clustered node and differ bigger, the system resource waste condition with higher because each ISCSI object machine mean allocation arrives each clustered node.The load information of each storage control that primary storage controller comparison load dispatch device inquires in the system of the present invention, select the storage control of load minimum to provide login service, make that the load of each storage control has reached equilibrium in the group system to client.
Description of drawings
Fig. 1 is the system schematic that adopts the static equilibrium scheduling;
Fig. 2 is the flow chart of the inventive method;
Fig. 3 is the schematic diagram of the inventive method embodiment;
Fig. 4 is that the ISCSI login is redirected schematic diagram;
Fig. 5 is the flow chart of the inventive method embodiment;
Fig. 6 is the structure chart of system of the present invention in group system.
Embodiment
Method of the present invention can be that client is distributed the storage control of being logined according to the loading condition of the storage control of each server in the group system, can solve prior art is that the load size that each ISCSI object machine of clustered node mean allocation brings differs bigger, the system resource waste condition with higher with the static equilibrium dispatching method.
Referring to Fig. 2, the present invention realizes that the method for load balancing comprises:
Step S201: client is sent logging request to the primary storage controller;
Step S202: the primary storage controller utilizes each storage control loading condition to select the storage control login of load minimum for client.
Step S203: client is logined aforementioned storage control.
Schematic diagram below in conjunction with method embodiment of the present invention is described in detail method of the present invention.Referring to Fig. 3,
Step S301: the ISCSI object machine is created to the primary storage controller in the office terminal, and the primary storage controller receives order.
Step S302: the primary storage controller preserve the configuration information created the office terminal in the CONFIG.SYS of disk array after, upgrade self database, and be sent to other and respectively upgrade its database from storage control.
Step S303: the primary storage controller returns the successful information of creating to the office terminal.
Step S304:ISCSI client is sent the ISCSI logging request by the virtual ip address and the ISCSI port of primary storage controller to the primary storage controller.
Step S305: the information inquiry of primary storage controller ISCSI logging request from the ISCSI port goes out to provide the ISCSI object machine of service.
Step S306: the load information of each storage control that the load comparing unit comparison load dispatch device in the primary storage controller inquires finds out the storage control of CPU (CPU, CenterProcess Unit) load minimum; If there is the minimum and identical storage control of a plurality of loads, then compare the current I SCSI session number of these storage controls, find out the storage control of current I SCSI session number minimum; If have the minimum and identical storage control of a plurality of current I SCSI session numbers, then select a storage control at random.
Step S307: the primary storage controller is sent to the ISCSI client with IP address information and the ISCSI port numbers of the storage control k of finding out present load minimum.
Step S308:ISCSI client sends landing request information by IP address and the ISCSI port of storage control k to this storage control.
Step S309:ISCSI storage control k returns the successful information of login to the ISCSI client, provides service to the ISCSI client.
In the implementation of step S306, the load dispatch device of primary storage controller is regularly inquired about its loading condition to the load dispatch device from storage control respectively.
The ISCSI login part of the load dispatch device of each storage control timing from ISCSI object machine service unit obtained current ISCSI session number in the running of group system, regularly inquires about the load of current central processing unit CPU to storage control operating system.In the implementation of step S306, load information is fed back to the load dispatch device of primary storage controller.
In the running of group system, after the load dispatch device of primary storage controller regularly inquires the load information of load dispatch device, the assign thresholds scope, the load comparing unit compares each storage control cpu load and CPU threshold value, and ISCSI object machine service unit is transferred to the storage control part ISCSI session of cpu load greater than threshold value on the storage control of cpu load less than threshold value.
In the running of group system, if storage control t breaks down, then the ISCSI session that is connected with client will be restarted automatically, logins the primary storage controller again.
In the running of group system, join in the cluster if need rebulid by the office terminal after storage control m recovers from fault.After the adding, the load dispatch device of primary storage controller is given an order to the load dispatch device of other storage control, and breaking part ISCSI session is shifted these sessions to newly-increased storage control.
To the implementation of step S308, the login process of client login storage control is based on the redirected characteristic of ISCSI agreement login and logins at step S305.Be redirected flow process figure below in conjunction with the ISCSI login and describe this login process.Referring to Fig. 4, have only master server to set virtual ip address in the server.Sign in to master server by virtual address during the client login.Each server contains a real IP address.
Step S401: client is set up TCP with master server and is connected.
Step S402: client is by the virtual ip address 10.0.0.1 and the port 3260 login master servers of master server.
Step S403: master server returns the IP address 10.0.0.3 and the port 3260 of the server that service is provided to client.
Step S404: client is according to address and this server of port login of returning.
Step S405: server returns the login successful information and service is provided to client.
In the method for the present invention, behind the client login primary storage controller,, network is redirected characteristic, IP address information and this storage control of ISCSI port login in the address information that client can be returned according to the primary storage controller because having the ISCSI login.
Provide the preferred embodiment that the inventive method realizes below.
Suppose that client comprises 8 main frames in the group system, 4 storage controls.Referring to Fig. 5,
Step S501: group system starts, and finishes initial configuration.
After group system starts, at first to carry out initial configuration, 4 storage controls are set out the primary storage controller by connection separately, suppose the 1st storage control setting becoming primary storage controller, and other 3 storage controls are set and become from storage control.The primary storage controller provides unique virtual ip address and ISCSI port to client.The primary storage controller reads group system from disk array CONFIG.SYS upgrades self database.
Step S502: the configuration information of ISCSI object machine is preserved and upgraded to group system.
After the group system operation, the keeper has created 20 ISCSI object machines by the office terminal, names ISCSI object machine 1 to ISCSI object machine 20 respectively.The configuration information of these object machines upgrades self database be saved in the CONFIG.SYS of disk array by the primary storage controller after, and is sent to other 3 and upgrades its database from storage control.
Step S503: client is sent logging request to group system.
The 2nd main frame sends logging request by the virtual ip address and the port numbers of primary storage controller to the primary storage controller.
Step S504: the primary storage controller finds out the ISCSI object machine.
The primary storage controller is according to landing request information, and for example, what find out in database that the 2nd main frame require service is provided is ISCSI object machine 15.
Step S505: the primary storage controller is load information relatively.
Load comparing unit comparison load dispatch device in primary storage controller load information that regularly the load dispatch device from storage control inquires from other 3 and the load information of self compare.It is minimum judging the 3rd load from storage control at the load information of CPU after relatively.
Step S506: the primary storage controller returns the address information of login.
The primary storage controller adds the 3rd IP address information and the ISCSI port from storage control in the return information of the 2nd main frame.
Step S507: be redirected login.
The 2nd main frame sends logging request to the 3rd from storage control according to the IP address information and the port that return.This storage control reads its data storehouse CONFIG.SYS, finds out the position of data on disk of ISCSI object machine 15 correspondences.Finish follow-up login process with the 2nd main frame, main frame is finished the data write operation.
In the running of said system, if the 3rd from storage control fault has taken place and can not provide service for the 2nd main frame, ISCSI session meeting between them is interrupted automatically so, again send logging request to the primary storage controller, the primary storage controller also can learn that the 3rd breaks down from storage control in constantly detecting, the logging request of the 2nd main frame is turned on other storage control.
When the 3rd after storage control recovers from fault, need to join in the group system again by the office terminal.The primary storage controller is according to the load information of cluster, and the ISCSI session of the storage control that load is big is transferred on this storage control.This process can be carried out repeatedly, till the load of these 4 storage controls is roughly the same.
Provide an embodiment who realizes that system of the present invention uses in group system below.Referring to Fig. 6, this group system comprises:
Client 601, office terminal 602, ISCSI/IP network 603, primary storage controller 604, from storage control 607, load comparing unit 610, load dispatch device 605, ISCSI object machine service unit 606, storage area switching network 608, disk array 609.Wherein,
Client 601 comprises main frame 1 to n, by ISCSI/IP network 603 login primary storage controllers 604 or from storage control 607, operates by the data in magnetic disk on 608 pairs of disk arrays 609 of storage area switching network.
ISCSI/IP network 603 is used to connect client 601 and primary storage controller 604, from storage control 607, finish client 601 to primary storage controller 604, from the login of storage control 607 and the exchange of information by the redirected characteristic that network self has.
Primary storage controller 604 is that storage control of setting is the primary storage controller in each storage control, primary storage control contains a virtual ip address, a real ip address, ISCSI port that is useful on the client login, three modules that are used for load balancing, load comparing unit 610, load dispatch device 605, ISCSI object machine service unit 606.The ISCSI object machine information that primary storage controller 604 is sent when being used to inquire client 601 logins, and inquiring the load information of each storage control in the network by its load dispatch device 605, load comparing unit 610 is used for the load information that comparison load dispatch device 605 is inquired.Primary storage controller 604 is sent to client with the storage control IP address and the ISCSI port of load minimum.
Load comparing unit 610 is used for the load information of comparison load dispatch device 605, has only when this place, unit storage control is primary storage controller 604, and this unit is just effective.
Load dispatch device 605 is used for regularly obtaining current ISCSI session number from the ISCSI login part of ISCSI object machine service unit 606, regularly inquires about the load of current C PU to storage control operating system.Wherein, the load dispatch device of primary storage controller 604 be used for regularly inquiring about self with other respectively from storage control 607 load dispatch loads that device inquires.
ISCSI object machine service unit 606 is used for the login and the login redirection process of client 601 and each storage control, assists storage control to identify the ISCSI object machine that service is provided for client.
Comprise storage control 2 to m from storage control 607, be used to receive the landing request information of client, assist client 601 to operate by the data of 608 pairs of disk arrays 609 of storage area switching network.Contain real ip address and ISCSI port, load comparing unit 610, load dispatch device 605 and the ISCSI object machine service unit 606 that is useful on client login from storage control.Wherein, load comparing unit 610 is inoperative from storage control.
Storage area switching network 608 is used to connect disk array 609 and primary storage controller 604, from storage control 607, and between these equipment transmission information.
Disk array 609 is used to preserve the required all types of user data of client, the configuration file of ISCSI object machine.
Describe storage control of the present invention in detail below in conjunction with accompanying drawing 6.
The basic function that storage control of the present invention and current cluster node can be realized is identical, and different is that device of the present invention has added load comparing unit 610, load dispatch unit 605, ISCSI object machine service unit 606.Wherein, storage control is used to client 601 that login is provided, and the ISCSI object machine information that is sent when inquiring client 601 logins assists client 601 to operate by the data of 608 pairs of disk arrays 609 of storage area switching network.
When this storage control is set at primary storage controller 604, the primary storage controller contains a virtual ip address, a real ip address, ISCSI port that is useful on the client login, and inquiring the load information of each storage control in the network by its load dispatch device 605, load comparing unit 610 is the load information that inquired of load dispatch devices 605 relatively.Primary storage controller 604 is sent to client with the storage control IP address and the ISCSI port of load minimum.
When this storage control is during from storage control 607, be used to receive the landing request information of client, contain real ip address and ISCSI port, load comparing unit 610, load dispatch device 605 and the ISCSI object machine service unit 606 that is useful on client login from storage control.Wherein, load comparing unit 610 is inoperative from storage control.
Load comparing unit 610 is used for the load information of comparison load dispatch device 605, has only when this place, unit storage control is primary storage controller 604, and this unit is just effective.This unit is used for the load information that comparison load dispatch device 605 is inquired, and compares the storage control of cpu load minimum; If there is the identical CPU storage control of a plurality of load minimums and load, then compare the ISCSI session number of cpu load minimum and identical storage control, compare the storage control of session number minimum; If have the minimum and identical storage control of a plurality of ISCSI session numbers, then select one therein at random.This unit also is used for the cpu load of each storage control that the load dispatch device of primary storage controller inquired and the comparison of assign thresholds.
Load dispatch device 605 is used for regularly obtaining current ISCSI session number from the ISCSI login part of ISCSI object machine service unit 606, regularly inquires about the load of current C PU to storage control operating system.Wherein, when this load dispatch device was in primary storage controller 604, this load dispatch device was regularly inquired about self and other cpu load that respectively the load dispatch device is inquired from storage control 607 and current I SCSI session number, and the assign thresholds scope.
ISCSI object machine service unit 606 is used for the login and the login redirection process of client 601 and each storage control, assists storage control to identify the ISCSI object machine that service is provided for client.The storage control part ISCSI session of cpu load greater than threshold value is transferred on the storage control of cpu load less than threshold value.
This equipment is a preferred embodiment of the present invention, and in this embodiment, load dispatch device 605 also can only be inquired about cpu load, thereby realizes purpose of the present invention.But the present invention considers and may have the minimum and identical situation of a plurality of cpu loads, add ISCSI conversation element 606, the load information of each each storage control of storage control ISCSI session number comparison that the load dispatch device 605 that load comparing unit 610 compares the primary storage controller inquires is further judged the storage control of load minimum, thereby realizes goal of the invention.
This also can obtain the application of expansion for the system of method of the present invention and this method of realization in the colony system.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (20)

1, realize the method for load balancing in a kind of group system, it is characterized in that, comprising:
Client is sent logging request to the primary storage controller in a, the group system;
B, primary storage controller inquiry self load information also obtains respectively from the load information of storage control, and more described load information to be determining the storage control of load minimum, and the information of this storage control is offered client;
C, client are logined the storage control of aforementioned load minimum.
2, method according to claim 1 is characterized in that, further comprises before the described step a: setting a storage control in each storage control of group system is the primary storage controller.
3, method according to claim 1, it is characterized in that client is sent logging request to primary storage controller to send logging request be client by the primary storage controller virtual Internet protocol IP address and Internet Small Computer Systems Interface ISCSI port among the described step a.
4, method according to claim 1 is characterized in that, step b is:
The load of the central processing unit CPU of primary storage controller inquiry self is inquired about the load of CPU separately respectively and it offers the primary storage controller from storage control in described other each work;
The primary storage controller compares self cpu load and the cpu load of storage control in described each work determining the storage control of cpu load minimum, and the information of this storage control is offered client.
5, method according to claim 4 is characterized in that, described primary storage controller compares cpu load further and comprises:
Described cpu load is compared with assign thresholds respectively, the storage control part ISCSI session of cpu load greater than threshold value is transferred on the storage control of cpu load less than threshold value.
6, method according to claim 4 is characterized in that, the described storage control that cpu load is compared to determine the cpu load minimum further comprises:
Judge whether to exist the minimum and identical storage control of a plurality of cpu loads, if, then the primary storage controller compares the ISCSI session number of these storage controls, selects the storage control of the storage control of session number minimum as described cpu load minimum.
7, method according to claim 6 is characterized in that, the ISCSI session number of described these storage controls of primary storage controller comparison further comprises:
Judge whether to exist the minimum and identical storage control of a plurality of ISCSI session numbers, if then select the storage control of a storage control therein at random as described cpu load minimum.
8, method according to claim 1 is characterized in that, in step b, described information with this storage control offers client and is:
The real ip address and the ISCSI port of described storage control are offered client;
Among the step c, client is logined according to this real ip address and ISCSI port.
9, method according to claim 1 is characterized in that, sends among the described step a and logins the redirected characteristic of the login that is based on the ISCSI agreement among logging request and the step c.
10, method according to claim 1 is characterized in that, being in operation to break down from storage control and further comprising in described each work:
Break down from storage control recover normal after, again this storage control is joined in the cluster by the office terminal, the primary storage controller is given an order to the big storage control of load information according to load information, disconnect the ISCSI session that the respective stored controller connects, shift these sessions to initiate from storage control.
11, realize the storage control of load balancing in a kind of group system, it is characterized in that this storage control further comprises the load dispatch device, wherein:
Described load dispatch device is used to inquire about the load information of the storage control of self correspondence, and the load information that inquiry obtains is offered the load dispatch device of primary storage controller;
When described storage control is the primary storage controller, this storage control is further used for that himself load dispatch device is inquired about the load information that the load dispatch device of the load information that obtains and other storage control inquired and compares, and the information that will compare the storage control of the determined load minimum in back offers client.
12, storage control according to claim 11 is characterized in that, described load dispatch device is used to inquire about and provides the cpu load of the storage control of self correspondence;
When described storage control was the primary storage controller, the load information comparing function that this storage control is realized was the comparison of cpu load.
13, storage control according to claim 12 is characterized in that, when described storage control was the primary storage controller, this storage control was further used for:
With self and respectively compare with assign thresholds respectively, the storage control part ISCSI session of cpu load greater than threshold value is transferred on the storage control of cpu load less than threshold value from the cpu load of storage control.
14, storage control according to claim 12, it is characterized in that, described storage control further comprises ISCSI object machine service unit, described load dispatch device is further used for inquiring about current session number and offering the primary storage controller by ISCSI object machine service unit, when described storage control was the primary storage controller, this storage control was further used for:
When judgement obtained existing the minimum and identical storage control of a plurality of cpu loads, relatively the ISCSI session number of these storage controls was selected the storage control of the storage control of session number minimum as described load minimum.
15, storage control according to claim 14 is characterized in that, when described storage control was the primary storage controller, this storage control was further used for:
When judgement obtains existing the minimum and identical storage control of a plurality of ISCSI session numbers, in these storage controls, select the storage control of a storage control at random as described load minimum.
16, storage control according to claim 11 is characterized in that, after the office terminal joined new storage control in the cluster, the primary storage controller was further used for:
Give an order to the big storage control of load according to load information, disconnect the ISCSI session of respective stored controller, shift these sessions to initiate storage control.
17, according to any described storage control of claim 11 to 16, it is characterized in that described storage control has the load comparing unit, the described comparing function of storage control is realized in this unit.
18, realize the system of load balancing in a kind of group system, this system comprises at least two storage controls, and wherein a storage control is the primary storage controller, and all the other storage controls are from storage control, it is characterized in that:
Primary storage controller in the described storage control is used to receive the logging request from client, inquire about self load information and obtain respectively load information from storage control, more described load information to be determining the storage control of load minimum, and the information of this storage control is offered client;
Be used to inquire about self load information from storage control in the described storage control;
19, system according to claim 18 is characterized in that, described storage control further comprises the load dispatch device, wherein:
Described load dispatch device is used to inquire about the load information of the storage control of self correspondence, and the load information that inquiry obtains is offered the load dispatch device of primary storage controller;
When described storage control is the primary storage controller, this storage control is further used for that himself load dispatch device is inquired about the load information that the load dispatch device of the load information that obtains and other storage control inquired and compares, and the information that will compare the storage control of the determined load minimum in back offers client.
20, system according to claim 19 is characterized in that, described storage control has the load comparing unit, and the described comparing function of storage control is realized in this unit.
CNB2006100836042A 2006-05-29 2006-05-29 Method for realizing load uniform in clustering system, system and storage controller Active CN100389392C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100836042A CN100389392C (en) 2006-05-29 2006-05-29 Method for realizing load uniform in clustering system, system and storage controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100836042A CN100389392C (en) 2006-05-29 2006-05-29 Method for realizing load uniform in clustering system, system and storage controller

Publications (2)

Publication Number Publication Date
CN1852502A true CN1852502A (en) 2006-10-25
CN100389392C CN100389392C (en) 2008-05-21

Family

ID=37133967

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100836042A Active CN100389392C (en) 2006-05-29 2006-05-29 Method for realizing load uniform in clustering system, system and storage controller

Country Status (1)

Country Link
CN (1) CN100389392C (en)

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841565A (en) * 2010-04-20 2010-09-22 中国科学院软件研究所 Database cluster system load balancing method and database cluster system
CN101076012B (en) * 2007-07-20 2010-12-15 华为技术有限公司 Date telecommunication system and method and interface controller of Internet microcomputer system
CN101924655A (en) * 2010-08-23 2010-12-22 中兴通讯股份有限公司 Method and device for supporting login of multi-serial port terminal
CN101500201B (en) * 2008-02-03 2011-05-11 中兴通讯股份有限公司 Method and system for cluster call distribution customer terminal
CN101227378B (en) * 2008-01-24 2011-05-11 创新科存储技术(深圳)有限公司 Communication service establishing method based on network storage and storage device thereof
CN102111436A (en) * 2010-12-20 2011-06-29 深圳市创新科信息技术有限公司 Storage device and method for accessing storage device through internet small computer system interface (iSCSI)
CN102118389A (en) * 2010-12-28 2011-07-06 深圳市创新科信息技术有限公司 Method for accessing storage device through internet small computer system interface (iSCSI) in multipath manner and storage device
CN102694786A (en) * 2011-03-25 2012-09-26 株式会社野村综合研究所 Session management system
CN103186536A (en) * 2011-12-27 2013-07-03 中兴通讯股份有限公司 Method and system for scheduling data shearing devices
CN103618621A (en) * 2013-11-21 2014-03-05 华为技术有限公司 Method, device and system for automatic configuration of SDN
CN103812867A (en) * 2014-02-17 2014-05-21 华中科技大学 Self-adaption encryption and decryption security storage system and method based on ISCSI
CN102132577B (en) * 2008-07-10 2014-11-05 瞻博网络公司 Model-based resource allocation
CN104365069A (en) * 2012-06-14 2015-02-18 日本电气株式会社 Communication system, control apparatus, communication method, control method and program
CN104935664A (en) * 2015-06-19 2015-09-23 中国铁道科学研究院电子计算技术研究所 Seat automatic load balancing method and system
CN105207808A (en) * 2015-08-24 2015-12-30 浪潮(北京)电子信息产业有限公司 Data processing method and system
CN105847171A (en) * 2016-03-28 2016-08-10 乐视控股(北京)有限公司 Network device overload protection method
CN103618738B (en) * 2013-12-09 2017-05-03 惠州华阳通用电子有限公司 Intelligent load distribution system and method for achieving TCP long connection and communication
CN107645421A (en) * 2017-11-09 2018-01-30 郑州云海信息技术有限公司 A kind of ISCSI protocol implementing methods of distributed storage
CN108055338A (en) * 2017-12-22 2018-05-18 创新科存储技术有限公司 A kind of ISCSI accesses load-balancing method
CN108200218A (en) * 2018-03-09 2018-06-22 北京奇艺世纪科技有限公司 A kind of method, apparatus and electronic equipment for realizing load balancing
CN109474700A (en) * 2018-12-18 2019-03-15 创新科存储技术有限公司 Cut-in method, storage medium, client and the memory node of iSCSI client
CN110022337A (en) * 2018-01-09 2019-07-16 阿里巴巴集团控股有限公司 Resource regulating method, device, equipment and system
WO2021174466A1 (en) * 2020-03-04 2021-09-10 深圳市大疆创新科技有限公司 Self-adaptive load balancing method and system, and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101702666A (en) * 2009-11-12 2010-05-05 中兴通讯股份有限公司 Method and system for realizing load balance of media transcoding network and media transcoding units

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2309558A (en) * 1996-01-26 1997-07-30 Ibm Load balancing across the processors of a server computer
US20050160424A1 (en) * 2004-01-21 2005-07-21 International Business Machines Corporation Method and system for grid-enabled virtual machines with distributed management of applications
US7299231B2 (en) * 2004-07-29 2007-11-20 International Business Machines Corporation Method and system of subsetting a cluster of servers

Cited By (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101076012B (en) * 2007-07-20 2010-12-15 华为技术有限公司 Date telecommunication system and method and interface controller of Internet microcomputer system
CN101227378B (en) * 2008-01-24 2011-05-11 创新科存储技术(深圳)有限公司 Communication service establishing method based on network storage and storage device thereof
CN101500201B (en) * 2008-02-03 2011-05-11 中兴通讯股份有限公司 Method and system for cluster call distribution customer terminal
CN102132577B (en) * 2008-07-10 2014-11-05 瞻博网络公司 Model-based resource allocation
CN101841565A (en) * 2010-04-20 2010-09-22 中国科学院软件研究所 Database cluster system load balancing method and database cluster system
CN101841565B (en) * 2010-04-20 2013-07-31 中国科学院软件研究所 Database cluster system load balancing method and database cluster system
CN101924655A (en) * 2010-08-23 2010-12-22 中兴通讯股份有限公司 Method and device for supporting login of multi-serial port terminal
WO2012024967A1 (en) * 2010-08-23 2012-03-01 中兴通讯股份有限公司 Method and apparatus for supporting multiple serial interface terminals entry
CN101924655B (en) * 2010-08-23 2015-06-03 中兴通讯股份有限公司 Method and device for supporting login of multi-serial port terminal
CN102111436B (en) * 2010-12-20 2013-09-18 深圳市安云信息科技有限公司 Storage device and method for accessing storage device through internet small computer system interface (iSCSI)
CN102111436A (en) * 2010-12-20 2011-06-29 深圳市创新科信息技术有限公司 Storage device and method for accessing storage device through internet small computer system interface (iSCSI)
CN102118389A (en) * 2010-12-28 2011-07-06 深圳市创新科信息技术有限公司 Method for accessing storage device through internet small computer system interface (iSCSI) in multipath manner and storage device
CN102118389B (en) * 2010-12-28 2014-01-22 深圳市安云信息科技有限公司 Method for accessing storage device through internet small computer system interface (iSCSI) in multipath manner and storage device
CN102694786A (en) * 2011-03-25 2012-09-26 株式会社野村综合研究所 Session management system
CN103186536A (en) * 2011-12-27 2013-07-03 中兴通讯股份有限公司 Method and system for scheduling data shearing devices
CN104365069A (en) * 2012-06-14 2015-02-18 日本电气株式会社 Communication system, control apparatus, communication method, control method and program
US10212084B2 (en) 2012-06-14 2019-02-19 Nec Corporation Communication system, control apparatus, communication method, control method and program
CN103618621A (en) * 2013-11-21 2014-03-05 华为技术有限公司 Method, device and system for automatic configuration of SDN
CN103618621B (en) * 2013-11-21 2017-08-11 华为技术有限公司 A kind of software defined network SDN method of automatic configuration, equipment and system
CN103618738B (en) * 2013-12-09 2017-05-03 惠州华阳通用电子有限公司 Intelligent load distribution system and method for achieving TCP long connection and communication
CN103812867A (en) * 2014-02-17 2014-05-21 华中科技大学 Self-adaption encryption and decryption security storage system and method based on ISCSI
CN103812867B (en) * 2014-02-17 2017-04-19 华中科技大学 Self-adaption encryption and decryption security storage system and method based on ISCSI
CN104935664B (en) * 2015-06-19 2018-12-21 中国铁道科学研究院集团有限公司电子计算技术研究所 Seat automatic load balancing method and system
CN104935664A (en) * 2015-06-19 2015-09-23 中国铁道科学研究院电子计算技术研究所 Seat automatic load balancing method and system
CN105207808A (en) * 2015-08-24 2015-12-30 浪潮(北京)电子信息产业有限公司 Data processing method and system
CN105847171A (en) * 2016-03-28 2016-08-10 乐视控股(北京)有限公司 Network device overload protection method
CN107645421A (en) * 2017-11-09 2018-01-30 郑州云海信息技术有限公司 A kind of ISCSI protocol implementing methods of distributed storage
CN108055338A (en) * 2017-12-22 2018-05-18 创新科存储技术有限公司 A kind of ISCSI accesses load-balancing method
CN110022337A (en) * 2018-01-09 2019-07-16 阿里巴巴集团控股有限公司 Resource regulating method, device, equipment and system
CN108200218A (en) * 2018-03-09 2018-06-22 北京奇艺世纪科技有限公司 A kind of method, apparatus and electronic equipment for realizing load balancing
CN109474700A (en) * 2018-12-18 2019-03-15 创新科存储技术有限公司 Cut-in method, storage medium, client and the memory node of iSCSI client
CN109474700B (en) * 2018-12-18 2021-09-24 创新科技术有限公司 Access method of iSCSI client, storage medium, client and storage node
WO2021174466A1 (en) * 2020-03-04 2021-09-10 深圳市大疆创新科技有限公司 Self-adaptive load balancing method and system, and storage medium

Also Published As

Publication number Publication date
CN100389392C (en) 2008-05-21

Similar Documents

Publication Publication Date Title
CN1852502A (en) Method for realizing load uniform in clustering system, system and storage controller
CN1851657A (en) Dual-machine back-up realizing method and system
CN1812345A (en) Virtual network storing system and network storing equipment thereof
CN1224905C (en) Resource action in clustered computer system incorporating prepare operation
CN1943206A (en) System and method for maximizing connectivity during network failures in a cluster system
CN1685326A (en) Bus connection system
CN101030873A (en) Method and system for downloading data
CN1495634A (en) Server clustering load balancing method and system
CN1744572A (en) Switchnig equipment and method for controlling multicasting data forwarding
CN101035039A (en) USB mapping method
CN101075879A (en) Method for downloading data
CN1852101A (en) Parallel downloading method and terminal
CN1324856C (en) Data transmission method of network equipment based on multinetwork card and device
CN105138389A (en) Method and system for managing virtual devices in cluster
CN1960452A (en) Separate-type signal processing apparatus and software version updating method thereof
CN1852105A (en) Method and system for realizing end-to-end data sharing
CN1889572A (en) Internet protocol address distributing method and dynamic main machine configuration protocol relay
CN101047487A (en) Method and system for solving equipment redundant in industrial control network
CN1866854A (en) Method for updating and recovering terminal device data in device management
CN112134964B (en) Controller distribution method, computer equipment, storage medium and network service system
CN1852261A (en) Method for maintenance of neighbor entry
CN1773935A (en) Computer and method for executing Web application control communication
CN1913692A (en) Method for loading equipment software according to allocation
CN1725707A (en) Method for managing distribution network equipment
CN1870660A (en) Method and node equipment for updating address analytic protocol table entry

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.