CN107547394A - A kind of load-balancing device dispositions method more living and device - Google Patents

A kind of load-balancing device dispositions method more living and device Download PDF

Info

Publication number
CN107547394A
CN107547394A CN201710690863.XA CN201710690863A CN107547394A CN 107547394 A CN107547394 A CN 107547394A CN 201710690863 A CN201710690863 A CN 201710690863A CN 107547394 A CN107547394 A CN 107547394A
Authority
CN
China
Prior art keywords
equipment
address
message
business
route
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
CN201710690863.XA
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.)
New H3C Security Technologies Co Ltd
Original Assignee
New H3C Security 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 New H3C Security Technologies Co Ltd filed Critical New H3C Security Technologies Co Ltd
Priority to CN201710690863.XA priority Critical patent/CN107547394A/en
Publication of CN107547394A publication Critical patent/CN107547394A/en
Pending legal-status Critical Current

Links

Abstract

The application provides a kind of LB equipment dispositions method more living and device, this method are applied to LB management equipments, and LB management equipments are connected with forwarding unit, multiple LB equipment respectively, and this method is:Determine at least one first LB equipment corresponding to the first business;For each first LB equipment, to forwarding unit send the first via by, the first via as purpose IP address be the first business corresponding to the first virtual ip address, the IP address that next-hop is the first LB equipment;The IP address of multiple servers for handling the first business is issued to each first LB equipment, and secondary route corresponding to the IP address difference of this multiple server, so that the first LB equipment is when receiving the message that purpose IP address is the first virtual ip address, the IP address that the purpose IP address of the message is revised as selecting from the IP address of the plurality of server, and amended message is forwarded according to secondary route.

Description

A kind of load-balancing device dispositions method more living and device
Technical field
The application is related to communication technical field, more particularly to a kind of load-balancing device dispositions method more living and device.
Background technology
LB (LoadBlance, load balancing) equipment, is often deployed in subscriber's outlet and does multi-link load balance, or portion Server load balancing does in data center in administration.Current increasing business, such as ebanking services etc., common demands LB equipment Can possess the function of more deployment living, to provide service incessantly.
Existing LB deployed with devices mode can have following two:
The first:IRF (Intelligent Resilient Framework, intelligent elastic framework) heap is done to LB equipment It is folded.IRF can be linked together multiple equipment by IRF physical ports, and progress is necessary with postponing, and is virtualized into one " distributed apparatus ".But current IRF agreements can only realize 2 LB equipment stackings, and can only realize active and standby deployment, can not realize double Living and more deployment living.
Second:Pass through VRRP (Virtual Router Redundancy Protocol, virtual router redundance association View) to LB device configuration backup groups.VRRP can be by one group of equipment (including vehicular equipment and several are standby in LAN Alternate device) it is organized into a virtual unit, referred to as a backup group;By establishing two or more backup groups, Ke Yishi More deployment living of existing LB equipment.But configuration backup group is with can taking more IP (Internet protocol, Internet Protocol) Location, the downlink and uplink interfaces of each equipment in backup group respectively need an IP address, and each backup group to also need to two IP The downlink and uplink interfaces IP address that address is externally embodied as the backup group.If some backup group includes 2 equipment, the backup Group needs to use 2*2+2=6 IP address altogether;If some backup group includes 3 equipment, the backup group needs to use 2* altogether 3+2=8 IP address.
Thus, need a kind of simple and effective LB equipment deployment scheme more living badly now.
The content of the invention
In view of this, the application provides a kind of LB equipment dispositions method more living and device, to realize to multiple LB equipment Unified management, flow load sharing and session entry backup etc. function.
Specifically, the application is achieved by the following technical solution:
The application first aspect, there is provided a kind of LB equipment dispositions method more living, methods described are applied to LB management equipments, The LB management equipments are connected with forwarding unit, multiple LB equipment respectively, and the forwarding unit is set with the multiple LB respectively Standby connection, methods described include:
Determine at least one first LB equipment corresponding to the first business;
For each first LB equipment, to the forwarding unit send the first via by, the first via by purpose it is internet Protocol IP address is the first virtual ip address corresponding to first business, the IP address that next-hop is the first LB equipment;
The IP address of multiple servers for handling first business is issued to each first LB equipment, and it is described more The IP address of individual server respectively corresponding to secondary route so that the first LB equipment is receiving purpose IP address as described the During the message of one virtual ip address, the purpose IP address of the message is revised as selecting from the IP address of the multiple server The IP address selected, and according to the secondary route, forward amended message.
The application second aspect, there is provided a kind of LB equipment deployment device more living, described device can apply to LB management Equipment, the LB management equipments are connected with forwarding unit, multiple LB equipment respectively, and the forwarding unit respectively with it is the multiple LB equipment connects.Described device has the function of realizing the above method, and the function can be realized by hardware, can also pass through Hardware performs corresponding software and realized.The hardware or software include one or more modules corresponding with above-mentioned function phase or list Member.
In a kind of implementation, described device includes:
Determining unit, for determining at least one first LB equipment corresponding to the first business;
Route sending-down unit, for for each first LB equipment, the first via is sent by described the to the forwarding unit The purpose Internet protocol IP address of one route is that the first virtual ip address, next-hop are the first LB corresponding to first business The IP address of equipment;And the IP of multiple servers for handling first business is issued to each first LB equipment Location, and secondary route corresponding to the IP address difference of the multiple server, so that the first LB equipment is receiving purpose IP When address is the message of first virtual ip address, the purpose IP address of the message is revised as from the multiple server IP address in the IP address that selects, and according to the secondary route, forward amended message.
In another implementation, described device can include communication interface, processor, memory and bus, described logical It is connected with each other between letter interface, the processor and the memory by bus;The processor is by reading the storage The logical order stored in device, perform the LB equipment dispositions method more living described in the application first aspect.
In this application, after introducing LB management equipments, the portion how living of LB equipment just can be realized without configuration backup group Administration, and all LB equipment can keep active state simultaneously.Further, since configuration backup group is not needed, it is meant that need not The downlink and uplink interfaces IP address externally embodied exclusively for backup group configuration again, each LB equipment only take up two IP address, with VRRP deployment way is compared, it is possible to reduce the quantity of the IP address of occupancy.This programme passes through LB management equipments, LB equipment and forwarding Linkage between equipment, it is not necessary to backup group is disposed, just can realize the multiple services load balancing that can realize of LB equipment, and The linked manner is easy and effective, no technology barriers, can easily be docked with third party device.
Brief description of the drawings
Fig. 1 is a kind of networking schematic diagram for LB deployed with devices scheme that the application provides;
Fig. 2 is the method flow diagram that the application provides;
Fig. 3 is the apparatus function module frame chart that the application provides;
Fig. 4 is the hardware architecture diagram for Fig. 3 described devices that the application provides.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the application.
It is only merely for the purpose of description specific embodiment in term used in this application, and is not intended to be limiting the application. " one kind " of singulative used in the application and appended claims, " described " and "the" are also intended to including majority Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wrapped Containing the associated list items purpose of one or more, any or all may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, do not departing from In the case of the application scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining ".
The application provides a kind of new network equipment deployment scheme more living, in this application, has newly increased one and has been used to unite The management equipment of management is raised to realize more deployment living of the network equipment.The network equipment that the application provides deployment scheme more living can be with Suitable for more deployment living of three-layer network appliance, such as LB equipment, fire wall (FW), intrusion prevention system (IPS).For ease of saying It is bright, hereafter the network equipment deployment scheme more living that the application provides will be described by taking LB equipment as an example.
It is described below by Fig. 1 networkings applied to the application:
Referring to Fig. 1, the equipment in Fig. 1 may include LB equipment, forwarding unit and LB management equipments by role.
LB equipment, available for the 4 LB equipment realized in balancing link load or server load balancing, such as Fig. 1 Exactly it is used for the server load balancing for realizing intranet (intranet).
The application can realize more deployment living of the LB equipment of 2 and more than 2, and each LB equipment is connected in network Only need to configure basic downlink and uplink interfaces address, i.e., each LB equipment need to only take two IP address, and nothing is tight between LB equipment Coupled relation.Compared with the existing method that the deployment more living of LB equipment is realized by configuring VRRP backup groups, what the application provided LB equipment dispositions method more living can save the usage amount of IP address.Exemplified by realizing the deployment more living of 4 LB equipment, according to this Shen This 4 LB equipment of method please only need 8 IP address, and this 4 LB equipment can keep active state simultaneously.And according to VRRP, then need to configure 2 backup groups, each backup group includes 1 movable LB equipment and 1 backup LB equipment, each backup The downlink and uplink interfaces of each LB equipment in group respectively need an IP address, and each backup group to also need to two IP address and make The downlink and uplink interfaces IP address externally embodied for the backup group, i.e. this 4 LB equipment need 12 IP address, and only 2 altogether LB equipment can keep active state simultaneously.
Forwarding unit, can be router or interchanger (SW), position of the application according to forwarding unit in networking Forwarding unit can be divided into LB equipment forwarded upstream equipment (abbreviation forwarded upstream equipment, such as the forwarding unit 1 in Fig. 1) and LB equipment down forwards equipment (equipment referred to as being down forwarded, such as the forwarding unit 2 in Fig. 1).Forwarded upstream equipment can root According to the instruction of LB management equipments by the traffic sharing of access specified services to specified LB equipment.Down forward the interface of equipment It can open and keep upper hop function, can be handled so as to ensure to come capacity of returns by same LB equipment.
LB management equipments, a kind of equipment increased newly for the application, can be server or PC (Personal Computer, Personal computer), following functions can be achieved:
1) unified configuration distributing is carried out to LB equipment, to realize the synchronization of the configuration between each LB equipment.
Here configuration includes the configuration related to business, such as load balancing strategy, for handling the multiple of specified services The IP address of server, and route etc. corresponding to the IP address difference of the plurality of server.It can also be configured in LB management equipments There is VIP (virtual IP address) address corresponding to the business and business that server is provided.
2) unified session entry is carried out to LB equipment to collect.The session entry of collection can be in a certain LB equipment faults or super Under the scene of load, the other LB for being possible to that the service traffics in failure LB equipment can be handled are sent to by LB management equipments Equipment so that the server for the service traffics being originally responsible in processing failure LB equipment can continue to handle the service traffics.
3) health status of the health status of detection LB equipment, the health status of server and business.Wherein, LB equipment and The health status of server can include LB equipment and the current CPU of server is hung under it
The information such as (Central Processing Unit, central processing unit) utilization rate, memory usage, temperature;Business Health status can include the information such as current flow rate, concurrent connection number and the number of request per second of the business.
4) closed according to the health status of the business configured in the health status of the LB equipment detected and/or networking, generation Suitable route is sent to the forwarded upstream equipment of LB equipment so that the forwarded upstream equipment can will access the flow point of each business Carry on a shoulder pole and handled in corresponding LB equipment.According to the health status of the server detected, generate suitable route and be sent to LB equipment so that LB equipment will can be handled in the traffic sharing that access specified services to corresponding server.
It should be noted that the application is not intended to limit the deployed position of LB management equipments, as long as LB management equipments are set with LB The standby and forwarded upstream device network of LB equipment is reachable.
Based on being described above, the method provided below the application is described:
Referring to Fig. 2, Fig. 2 is the method flow diagram that the application provides.This method is applied to include LB management equipments, LB pipes Reason equipment is connected with forwarding unit, multiple LB equipment respectively, and the forwarding unit is connected with the plurality of LB equipment respectively.Such as Fig. 2 Shown, when LB equipment is reached the standard grade, LB management equipments can be handled as follows:
Step 201:LB management equipments determine at least one first LB equipment corresponding to the first business.
Here, LB management equipments can be by obtaining the health status of multiple LB equipment in networking, and according to acquisition The health status of LB equipment, determine that at least one first LB is set corresponding to the first business in the multiple LB equipment included from networking It is standby.
Wherein, the health status of LB equipment can include the current cpu busy percentage of LB equipment, memory usage, temperature etc. At least one of in parameter.
Step 202:LB management equipments are directed to each first LB equipment, are sent to the forwarding unit of the first LB equipment of connection The first via by, the first via as purpose IP address be the first business corresponding to the first VIP addresses, next-hop be the first LB equipment IP address.
The forwarded upstream equipment of forwarding unit mentioned here, in particular to the first LB equipment.
It should be noted that here the first via by next-hop in the IP address of the first LB equipment filled in, specifically should The upstream Interface IP address of first LB equipment.Unlike and, the more living of LB equipment is being realized by VRRP configuration backups group In deployment, the destination address preserved in forwarded upstream equipment is the route of the first VIP addresses, and its next-hop is some backup group pair The upstream Interface IP address of outer embodiment.It can thus be seen that need not be that multiple LB device configurations externally embody in the present embodiment Downlink and uplink interfaces IP address, each LB equipment only takes up two IP address, compared with VRRP deployment way, it is possible to reduce take IP address quantity.
Step 203:LB management equipments issue multiple servers for handling first business to each first LB equipment IP address, and the plurality of server IP address respectively corresponding to secondary route so that the first LB equipment is receiving purpose When IP address is the message of the first VIP addresses, the purpose IP address of the message is revised as the IP address from the plurality of server One IP address of middle selection, and according to secondary route, forward amended message.
By taking Fig. 1 as an example, it is assumed that the server in Fig. 1 externally provides 4 kinds of business, and VIP addresses corresponding to this 4 kinds of business are distinguished For VIP1~VIP4, after 4 LB equipment are reached the standard grade, LB management equipments find LB by detecting the health status of this 4 LB equipment The equal normal operation of equipment, then in one example, LB management equipments can issue 5 routes, this 5 routes to forwarding unit 1 Can be:
Route 1:Destination address is VIP1, and next-hop is LB1 IP address;
Route 2:Destination address is VIP2, and next-hop is LB2 IP address;
Route 3:Destination address is VIP3, and next-hop is LB2 IP address;
Route 4:Destination address is VIP3, and next-hop is LB3 IP address;
Route 5:Destination address is VIP4, and next-hop is LB4 IP address;
So, the route that the can of forwarding unit 1 issues according to LB management equipments, the traffic distribution of different business will be accessed Handled on to different LB equipment, wherein, route 3 and route 4 form equal-cost route.
Forwarding unit is based on the first via that LB management equipments issue by that can be the first VIP addresses by purpose IP address Message is forwarded to the first LB equipment and handled.When the first via is by having a plurality of, this plurality of first via is by that can form road of equal value By.Based on this plurality of equal-cost route, forwarding unit can be equal by purpose IP address by load-balancing algorithm, such as hash algorithm The first different LB equipment is forwarded to respectively and is handled for the first VIP but the incomplete same different messages of five-tuple. On the premise of the one equal normal operation of LB equipment, same first LB equipment can be forwarded to always by belonging to the message of same flow On handled.If but the first LB equipment occurs abnormal, than if any the first LB equipment faults, or there is the first LB equipment super negative Lotus and add new LB equipment and do load and undertake, then can now cause the redistribution of flow, such as, before always by LB equipment The flow of 1 processing may be subsequently forwarded in LB equipment 2.
In order to ensure that the flow of the first business will not interrupt in above-mentioned abnormal generation, the application also proposed following solution Measure:
After step 203, for each first LB equipment, LB management equipments can periodically obtain the first LB equipment The session entry of generation and have recorded in local backup, session entry the first LB equipment be responsible for processing purpose IP address be The five-tuple of the message of first VIP addresses, and the first LB equipment selected from the IP address of above-mentioned multiple servers it is negative Duty handles an IP address of this message.LB management equipments can be periodically to other first LB in addition to the first LB equipment Equipment sends the session entry of the first LB equipment;Or can also when the first LB equipment occurs abnormal, then to except this Other first LB equipment outside one LB equipment send the session entry of the first LB equipment.
Exception, including two kinds of situations of failure and excess load occur for wherein the first LB equipment.
In any first LB device fails, as one embodiment, can by the first LB equipment of non-failure Lai The flow that the LB equipment of failure the first was responsible for originally is continued with, specific implementation is as follows:Do not broken down for each First LB equipment, the session entry that LB management equipments can generate other first LB equipment in addition to the first LB equipment, It is sent to the first LB equipment.
By taking Fig. 1 as an example, it is assumed that it is VIP3, next-hop point that initial LB management equipments have issued destination address to forwarding unit Not Wei two of LB2 and LB3 routes, forwarding unit is based on this two routes, will can access VIP3 traffic sharing to LB2 with On LB3.After LB2 and LB3 operation a period of times, if LB2 breaks down, LB management equipments only need to be by the session of LB2 generations List item is sent to LB3, then subsequent access VIP3 flow all will be forwarded on LB3;Once handled for LB2 before and LB3 The flow crossed, LB3 can be forwarded the flow based on the session entry generated before the LB2 session entries generated and this equipment Continued with to original server for being responsible for handling the flow.Wherein, the LB2 session entries generated are sent into LB3 also may be used To be performed before LB2 breaks down, situation about stopping can be avoided.
As another embodiment, when any first LB equipment occurs abnormal, new LB equipment can also be added, by new LB equipment and no exceptions the first LB equipment come together processing access the first business flow, specific implementation is such as Under:LB management equipments can select at least one 2nd LB equipment from the LB equipment outside the first LB equipment;For each Two LB equipment, the session entry in each first LB equipment is sent to the 2nd LB equipment;For each 2nd LB equipment, to Forwarding unit issues the 3rd route, and the 3rd purpose IP address routeing is the first VIP addresses, next-hop is the 2nd LB equipment IP address;And issue the IP address of multiple servers for the first business of processing and the plurality of clothes to the 2nd LB equipment 4th route corresponding to the IP address difference of business device, so that the 2nd LB equipment is the first VIP receiving purpose IP address During the message of address, session entry corresponding to five-tuple lookup that can be based on the message changes the purpose IP address of the message It is the IP address recorded in respective session list item or the destination address of the message is revised as the IP from above-mentioned multiple servers The IP address selected in address, and according to the 4th route, forward amended message.
In one example, still by taking Fig. 1 as an example, it is assumed that initial LB management equipments have issued destination address to forwarding unit 1 For VIP1, next-hop is the route of LB1 IP address, and forwarding unit can be forwarded the flow for accessing VIP1 based on this route Onto LB1., can be automatically by this route break on forwarding unit when LB1 breaks down, now LB management equipments can be based on The current health status of this 3 LB equipment of LB2, LB3 and LB4, one or more LB equipment are therefrom selected to handle and access VIP1 Flow, for example have selected LB2, then after selection, the session entry that LB management equipments can generate LB1 before is sent out The LB2 chosen is given, and issues route to forwarding unit 1 again, the destination address of the new route is VIP1, next-hop is LB pipes The IP address for the LB2 that reason equipment is chosen.Afterwards, accessing VIP1 flow will be forwarded on LB2, once treated for LB1 Flow, the session entry that LB2 can be generated based on LB1, the flow is forwarded to original server for being responsible for handling this flow On continue with.
In another example, still by taking Fig. 1 as an example, it is assumed that initial LB management equipments have issued destination address to forwarding unit It is two routes that VIP3, next-hop are respectively LB2 and LB3, forwarding unit is based on this two routes, can will access VIP3 Traffic sharing on LB2 and LB3.When LB2 excess loads, LB management equipments according to the result detected, can from LB1 and One or more LB equipment are selected in LB4, for example have selected LB1, then after selection, LB management equipments can be by before The session entry of LB2 generations is sent to LB1 and LB3, and the session entries generated of LB3 before are sent into LB1 and LB2, and Actively to forwarding unit 1 issue again a destination address be VIP3, the route that next-hop is LB1.So, have on forwarding unit 1 3 equal-cost routes that purposeful address is VIP3, it is possible to achieve the load balancing function of business, avoid a LB equipment because of performance Insufficient traffic affecting operation.
So far, the flow shown in Fig. 2 is completed.
The application can be seen that by introducing LB management equipments by the flow shown in Fig. 2, realize a kind of easy and effective LB equipment deployment scheme more living.After introducing LB management equipments, the more living of LB equipment just can be realized without configuration backup group Deployment, and all LB equipment can keep active state simultaneously.Further, since configuration backup group is not needed, it is meant that be not required to The downlink and uplink interfaces IP address externally to be embodied exclusively for backup group configuration again, each LB equipment only take up two IP address, with VRRP deployment way is compared, it is possible to reduce the quantity of the IP address of occupancy.The application by between each LB equipment relation decoupling and, Configuration is issued to LB equipment from LB management equipments are unified, LB equipment only need to realize that configuration is synchronous with LB management equipments, it is not necessary to again Realize that configuration is synchronous with other LB equipment.This programme, can be with by the linkage between LB management equipments, LB equipment and forwarding unit Multiple services load balancing and session entry backup is realized, and can realize that the load balancing of identical services and session entry are standby Part, and the linked manner is easy and effective, no technology barriers, can easily be docked with third party device.
The method provided above the application is described.The device provided below the application is described.
Referring to Fig. 3, a kind of LB equipment deployment device more living provided for the application, described device is applied to LB management and set Standby, the LB management equipments are connected with forwarding unit, multiple LB equipment respectively, and the forwarding unit respectively with the multiple LB Equipment connects, and described device can include with lower unit:
Determining unit 301, for determining at least one first LB equipment corresponding to the first business.
Route sending-down unit 302, for for each first LB equipment, the first via to be sent by institute to the forwarding unit State the first via as purpose Internet protocol IP address be first business corresponding to the first virtual ip address, next-hop be this The IP address of one LB equipment;And multiple servers for handling first business are issued to each first LB equipment IP address, and secondary route corresponding to the IP address difference of the multiple server, so that the first LB equipment is receiving mesh IP address be first virtual ip address message when, the purpose IP address of the message is revised as from the multiple clothes The IP address selected in the IP address of business device, and according to the secondary route, forward amended message.
In wherein a kind of embodiment, the determining unit 301, the healthy shape of the multiple LB equipment can be obtained State;According to the health status of the LB equipment of acquisition, determined from the multiple LB equipment at least one corresponding to the first business One LB equipment.
In wherein a kind of embodiment, described device can also include session entry backup units;
The session entry backup units, for for each first LB equipment, obtaining the meeting of the first LB equipment generation Talk about list item;The session entry is sent to other first LB equipment in addition to the first LB equipment;The session entry record The purpose IP address that first LB equipment is responsible for processing is the five-tuple of the message of the first virtual ip address, and the first LB The IP address that equipment selects from the IP address of the multiple server.
In wherein a kind of embodiment, the session entry backup units, for exception to occur when the first LB equipment When, send the session entry to other first LB equipment in addition to the first LB equipment.
In wherein a kind of embodiment, described device can also include exception processing unit;
The exception processing unit, for when the first LB equipment occurs abnormal, being set from least one first LB The 2nd LB equipment of at least one no exceptions is selected in LB equipment outside standby.
The session entry backup units, for the meeting that for each 2nd LB equipment, each first LB equipment is generated Words list item is sent to the 2nd LB equipment;
The route sending-down unit 302, for for each 2nd LB equipment, the 3rd tunnel to be issued to the forwarding unit By the described 3rd purpose IP address routeing is first virtual ip address, the IP address that next-hop is the 2nd LB equipment; And issue the IP address of the multiple server to the 2nd LB equipment and the IP address of the multiple server corresponds to respectively The 4th route so that the 2nd LB equipment receive purpose IP address be first virtual ip address message when, base The purpose IP address of the message is revised as remembering in respective session list item by session entry corresponding to being searched in the five-tuple of the message The IP address of record or the IP that is revised as selecting from the IP address of the multiple server by the purpose IP address of the message Location, and according to the described 4th route, forward amended message.
It should be noted that the division in the embodiment of the present invention to unit is schematical, only a kind of logic function Division, can there is other dividing mode when actually realizing.Each functional unit in embodiments herein can be integrated in In one processing unit or unit is individually physically present, can also two or more units be integrated in one In individual unit.Above-mentioned integrated unit can both be realized in the form of hardware, can also use the form of SFU software functional unit Realize.
So far, the description of Fig. 3 shown devices is completed.
Referring to Fig. 4, the application also provides a kind of hardware architecture diagram of LB management equipments, and the LB management equipments include:Communication Interface 401, processor 402, memory 403 and bus 404;Wherein, communication interface 401, processor 402 and memory 403 are logical Cross bus 404 and complete mutual communication.
Wherein, communication interface 401, for being communicated with LB equipment and forwarding unit.Processor 402 can be a CPU, deposit Reservoir 403 can be nonvolatile memory (non-volatile memory), and LB equipment is stored with memory 403 More deployment logical orders living, processor 402 can perform the LB equipment stored in memory 403 deployment logical order more living, with Realize the function of the LB management equipments in flow shown in above-mentioned Fig. 2.
So far, the hardware configuration description shown in Fig. 4 is completed.
The preferred embodiment of the application is the foregoing is only, not limiting the application, all essences in the application God any modification, equivalent substitution and improvements done etc., should be included within the scope of the application protection with principle.

Claims (10)

1. a kind of load-balancing device dispositions method more living, it is characterised in that methods described is applied to LB management equipments, the LB Management equipment is connected with forwarding unit, multiple LB equipment respectively, and the forwarding unit is connected with the multiple LB equipment respectively, Methods described includes:
Determine at least one first LB equipment corresponding to the first business;
For each first LB equipment, to the forwarding unit send the first via by, the first via by purpose Internet protocol IP address is the first virtual ip address corresponding to first business, the IP address that next-hop is the first LB equipment;
The IP address of multiple servers for handling first business, and the multiple clothes are issued to each first LB equipment Secondary route corresponding to the IP address difference of business device, so that the first LB equipment is receiving purpose IP address as the described first void When intending the message of IP address, the purpose IP address of the message is revised as what is selected from the IP address of the multiple server One IP address, and according to the secondary route, forward amended message.
2. according to the method for claim 1, it is characterised in that at least one first LB corresponding to the first business of the determination Equipment, methods described also include:
Obtain the health status of the multiple LB equipment;
According to the health status of the LB equipment of acquisition, determined from the multiple LB equipment at least one corresponding to the first business One LB equipment.
3. according to the method for claim 1, it is characterised in that issued to each first LB equipment for handling described the After the IP address of multiple servers of one business, and secondary route corresponding to the IP address difference of the multiple server, institute Stating method also includes:
For each first LB equipment, the session entry that the first LB equipment generates is obtained;
The session entry is sent to other first LB equipment in addition to the first LB equipment;
The session entry have recorded the message that the purpose IP address that the first LB equipment is responsible for handling is the first virtual ip address Five-tuple, and the IP address that the first LB equipment selects from the IP address of the multiple server.
4. according to the method for claim 3, it is characterised in that other first LB in addition to the first LB equipment Equipment sends the session entry, specifically includes:
When the first LB equipment occurs abnormal, the session is sent to other first LB equipment in addition to the first LB equipment List item.
5. the method according to claim 3 or 4, it is characterised in that methods described also includes:
When the first LB equipment occurs abnormal, at least one is selected in the LB equipment outside at least one first LB equipment 2nd LB equipment of individual no exceptions;
For each 2nd LB equipment, the session entry that each first LB equipment generates is sent to the 2nd LB equipment;
For each 2nd LB equipment, the 3rd route is issued to the forwarding unit, the purpose IP address of the 3rd route is First virtual ip address, the IP address that next-hop is the 2nd LB equipment;And issued to the 2nd LB equipment described more 4th route corresponding to the IP address of individual server and the IP address of the multiple server difference, so that the 2nd LB equipment exists When receiving the message that purpose IP address is first virtual ip address, session corresponding to the five-tuple lookup based on the message The purpose IP address of the message is revised as the IP address that is recorded in respective session list item or by list item by the purpose IP of the message The IP address selected from the IP address of the multiple server is revised as in location, and according to the described 4th route, forwarding modification Message afterwards.
6. a kind of load-balancing device deployment device more living, it is characterised in that described device is applied to LB management equipments, the LB Management equipment is connected with forwarding unit, multiple LB equipment respectively, and the forwarding unit is connected with the multiple LB equipment respectively, Described device includes:
Determining unit, for determining at least one first LB equipment corresponding to the first business;
Route sending-down unit, for for each first LB equipment, the first via to be sent by the first via to the forwarding unit As purpose Internet protocol IP address be first business corresponding to the first virtual ip address, next-hop be the first LB equipment IP address;And the IP address of multiple servers for handling first business is issued to each first LB equipment, and The IP address of the multiple server respectively corresponding to secondary route so that the first LB equipment is receiving purpose IP address During the message of first virtual ip address, the purpose IP address of the message is revised as from the IP of the multiple server The IP address selected in location, and according to the secondary route, forward amended message.
7. device according to claim 6, it is characterised in that
The determining unit, for obtaining the health status of the multiple LB equipment;According to the health status of the LB equipment of acquisition, At least one first LB equipment corresponding to the first business is determined from the multiple LB equipment.
8. device according to claim 6, it is characterised in that described device also includes:
Session entry backup units, for for each first LB equipment, obtaining the session entry that the first LB equipment generates;To Other first LB equipment in addition to the first LB equipment send the session entry;The session entry have recorded the first LB The purpose IP address that equipment is responsible for processing is the five-tuple of the message of the first virtual ip address, and the first LB equipment is from described The IP address selected in the IP address of multiple servers.
9. device according to claim 8, it is characterised in that
The session entry backup units, for when the first LB equipment occur it is abnormal when, in addition to the first LB equipment Other first LB equipment send the session entry.
10. device according to claim 8 or claim 9, it is characterised in that described device also includes exception processing unit;
The exception processing unit, for when the first LB equipment occur it is abnormal when, from least one first LB equipment it The 2nd LB equipment of at least one no exceptions is selected in outer LB equipment;
The session entry backup units, for the conversational list that for each 2nd LB equipment, each first LB equipment is generated Item is sent to the 2nd LB equipment;
The route sending-down unit, for for each 2nd LB equipment, the 3rd route is issued to the forwarding unit, described the The purpose IP address of three routes is first virtual ip address, the IP address that next-hop is the 2nd LB equipment;And to this 2nd LB equipment issues the 4th tunnel corresponding to the IP address of the multiple server and the IP address difference of the multiple server By so that the 2nd LB equipment receive purpose IP address be first virtual ip address message when, based on the message Five-tuple search corresponding to the session entry IP that is revised as recording in respective session list item by the purpose IP address of the message Location or the IP address for being revised as selecting from the IP address of the multiple server by the purpose IP address of the message, and according to 4th route, forwards amended message.
CN201710690863.XA 2017-08-14 2017-08-14 A kind of load-balancing device dispositions method more living and device Pending CN107547394A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710690863.XA CN107547394A (en) 2017-08-14 2017-08-14 A kind of load-balancing device dispositions method more living and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710690863.XA CN107547394A (en) 2017-08-14 2017-08-14 A kind of load-balancing device dispositions method more living and device

Publications (1)

Publication Number Publication Date
CN107547394A true CN107547394A (en) 2018-01-05

Family

ID=60970774

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710690863.XA Pending CN107547394A (en) 2017-08-14 2017-08-14 A kind of load-balancing device dispositions method more living and device

Country Status (1)

Country Link
CN (1) CN107547394A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112087336A (en) * 2020-09-11 2020-12-15 杭州海康威视系统技术有限公司 Deployment and management method and device of virtual IP service system and electronic equipment
CN113794684A (en) * 2021-08-10 2021-12-14 新华三信息安全技术有限公司 Message processing method and device
CN115665049A (en) * 2022-10-11 2023-01-31 浪潮云信息技术股份公司 Method for balancing and distributing weight for multiple live loads by cloud platform

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101184039A (en) * 2007-11-30 2008-05-21 北京大学 Ethernet load balancing method
CN102143046A (en) * 2010-08-25 2011-08-03 华为技术有限公司 Load balancing method, equipment and system
CN103605772A (en) * 2013-11-27 2014-02-26 乐视网信息技术(北京)股份有限公司 Multimedia file playing control method and player
CN104468151A (en) * 2013-09-13 2015-03-25 华耀(中国)科技有限公司 System and method for keeping TCP (Transmission Control Protocol) session during cluster switching
US20150256456A1 (en) * 2014-03-06 2015-09-10 Cisco Technology, Inc. Segment routing extension headers
CN105282191A (en) * 2014-06-20 2016-01-27 中国电信股份有限公司 Load balancing system, controller and method
CN104410677B (en) * 2014-11-18 2017-12-19 北京国双科技有限公司 Server load balancing method and apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101184039A (en) * 2007-11-30 2008-05-21 北京大学 Ethernet load balancing method
CN102143046A (en) * 2010-08-25 2011-08-03 华为技术有限公司 Load balancing method, equipment and system
CN104468151A (en) * 2013-09-13 2015-03-25 华耀(中国)科技有限公司 System and method for keeping TCP (Transmission Control Protocol) session during cluster switching
CN103605772A (en) * 2013-11-27 2014-02-26 乐视网信息技术(北京)股份有限公司 Multimedia file playing control method and player
US20150256456A1 (en) * 2014-03-06 2015-09-10 Cisco Technology, Inc. Segment routing extension headers
CN105282191A (en) * 2014-06-20 2016-01-27 中国电信股份有限公司 Load balancing system, controller and method
CN104410677B (en) * 2014-11-18 2017-12-19 北京国双科技有限公司 Server load balancing method and apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112087336A (en) * 2020-09-11 2020-12-15 杭州海康威视系统技术有限公司 Deployment and management method and device of virtual IP service system and electronic equipment
CN113794684A (en) * 2021-08-10 2021-12-14 新华三信息安全技术有限公司 Message processing method and device
CN113794684B (en) * 2021-08-10 2023-07-18 新华三信息安全技术有限公司 Message processing method and device
CN115665049A (en) * 2022-10-11 2023-01-31 浪潮云信息技术股份公司 Method for balancing and distributing weight for multiple live loads by cloud platform

Similar Documents

Publication Publication Date Title
US11349722B2 (en) Method and system of connecting to a multipath hub in a cluster
CN104272708B (en) It is distributed with the stateless first order grouping to server farm and is distributed to the secondary data packets of the stateful second level grouping distribution of some server in group
CN102223365B (en) User access method and device based on SSL (Secure Socket Layer) VPN (Virtual Private Network) gateway cluster
CN105706400B (en) The method and apparatus of grouping are forwarded on network
CN104205748B (en) Has redundancy between the frame of coordinated traffic direction
CN105610632B (en) Virtual network equipment and related method
CN112470436A (en) Multi-cloud connectivity using SRV6 and BGP
CN104468358B (en) The message forwarding method and equipment of the distributed virtual switch system
CN102726021B (en) Data center network architecture flexibly
CN105262681B (en) Distributed routing framework
CN107995123A (en) A kind of SiteServer LBS and method based on interchanger
CN102291455B (en) Distributed cluster processing system and message processing method thereof
CN104954182B (en) A kind of method and apparatus for configuring Virtual Server Cluster
CN106105162A (en) Load equalizer based on switch
CN103475566A (en) Real-time message exchange platform and distributed cluster establishment method
CN107483390A (en) A kind of cloud rendering web deployment subsystem, system and cloud rendering platform
CN107846358A (en) A kind of data transmission method, device and network system
CN103078804A (en) Method and device for processing equivalent multipath list as well as network equipment
CN112217843B (en) Service unit switching method, system and equipment
CN111182022B (en) Data transmission method and device, storage medium and electronic device
CN105340230A (en) Virtual chassis topology management
CN102447639B (en) A kind of policy routing method and device
CN108777640A (en) A kind of server detection method, device, system and storage medium
CN107547394A (en) A kind of load-balancing device dispositions method more living and device
Wang et al. CFR: A cooperative link failure recovery scheme in software‐defined networks

Legal Events

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

Application publication date: 20180105