CN102437960A - Detection processing method and system of cluster mode, and network equipment - Google Patents

Detection processing method and system of cluster mode, and network equipment Download PDF

Info

Publication number
CN102437960A
CN102437960A CN2011104324523A CN201110432452A CN102437960A CN 102437960 A CN102437960 A CN 102437960A CN 2011104324523 A CN2011104324523 A CN 2011104324523A CN 201110432452 A CN201110432452 A CN 201110432452A CN 102437960 A CN102437960 A CN 102437960A
Authority
CN
China
Prior art keywords
nlb
cluster
address
nlb cluster
pattern
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
CN2011104324523A
Other languages
Chinese (zh)
Other versions
CN102437960B (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.)
Ruijie Networks Co Ltd
Original Assignee
Fujian Star Net Communication 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 Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN201110432452.3A priority Critical patent/CN102437960B/en
Publication of CN102437960A publication Critical patent/CN102437960A/en
Application granted granted Critical
Publication of CN102437960B publication Critical patent/CN102437960B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a detection processing method and a detection processing system of a cluster mode, and network equipment. The method comprises the following steps of: receiving heartbeat messages which are sent by servers in a network load balancing (NLB) cluster, and acquiring destination media access control (MAC) addresses of the heartbeat messages; according to the destination MAC addresses, detecting a current operating mode of the NLB cluster; and according to the current operating mode, updating the information of a forwarding table. The network equipment comprises a receiving module, a detection module and an updating module. The system comprises the NLB cluster, a client and the network equipment, wherein the NLB cluster comprises a plurality of servers. By the invention, the mode switching of the NLB cluster can be sensed in real time.

Description

Detection processing method, system and the network equipment of cluster mode
Technical field
The present invention relates to the communication technology, relate in particular to a kind of detection processing method, system and network equipment of cluster mode.
Background technology
Network Load Balance (Network Load Balancing; Hereinafter to be referred as: be a kind of server cluster technology NLB), can support 32 station servers to form cluster at most.Every station server in the NLB cluster is by an one's own static ip address, and the Servers-all in the NLB cluster also has common IP address, i.e. a NLB cluster address simultaneously.As user during to NLB cluster initiation request, user's request data package will send to all NLB nodes, determined whether by self handling this packet, if not the request data package that then abandons the user by the NLB service that operates on the NLB node then.In the NLB cluster network; Client computer links to each other with each server in the NLB cluster through the network equipment; Client computer, the network equipment are connected with link between the server and are actually logic and connect; Two layers switch device can be set between the NLB cluster and the network equipment, between the network equipment and the client computer the more network equipment can be set, only require between the client computer and the network equipment that three layers can reach and get final product.Usually, the NLB cluster is supported three kinds of mode of operations, i.e. unicast mode, multicast pattern and IGMP (Internet Group Management Protocol; Hereinafter to be referred as IGMP) pattern, every kind of mode of operation all has different specific requirements to the behavior of the network equipment, and therefore, mode of operation that the NLB cluster needs network equipment perception NLB cluster to be adopted is to guarantee the availability of NLB cluster.
In the prior art; When the NLB cluster switches between unicast mode, multicast pattern and three kinds of patterns of IGMP pattern; Corresponding variation can take place in the link address of NLB cluster, and this moment, the NLB cluster can send three identical free address resolution protocol (Address Resolution Protocol to the network equipment; Hereinafter to be referred as: ARP) message, with the variation of announcement link address, the network equipment upgrades its ARP list item at this moment, adopts correct NLB cluster link address to encapsulate when transmitting with the assurance subsequent packet.
Yet when network data flow was big, if the mode of operation of NLB cluster switches, the gratuitous ARP packet that the NLB cluster is sent may be lost, and made that transmitting the output encapsulation for three layers makes a mistake, thereby caused the NLB cluster can't the normal response service.
Summary of the invention
The present invention provides a kind of detection processing method, system and network equipment of cluster mode, mode switch that can real-time perception NLB cluster, thus guarantee that server can the normal response service in the NLB cluster.
First aspect of the present invention provides a kind of detection processing method of cluster mode, comprising:
Receive the heartbeat message that server sends in the Network Load Balance NLB cluster, and obtain the purpose medium access control MAC Address of said heartbeat message;
Detect the work at present pattern of said NLB cluster according to said target MAC (Media Access Control) address;
Upgrade transmitting information according to said work at present pattern.
Another aspect of the present invention provides a kind of network equipment, comprising:
Receiver module is used for receiving the heartbeat message that Network Load Balance NLB cluster server sends, and obtains the purpose medium access control MAC Address of said heartbeat message;
Detection module is used for detecting according to said target MAC (Media Access Control) address the work at present pattern of said NLB cluster;
Update module is used for upgrading transmitting information according to said work at present pattern.
Another aspect of the present invention provides a kind of detecting processing system of cluster mode, comprises Network Load Balance NLB cluster, client computer and the above-mentioned network equipment, and said NLB cluster comprises a plurality of servers.
Technique effect of the present invention is: through the target MAC (Media Access Control) address of the heartbeat message of server transmission in the NLB cluster that receives, detect the work at present pattern of NLB cluster, upgrade transmitting information according to the work at present pattern; Present embodiment can real-time perception NLB cluster mode switch, and the information of transmitting on the fast updating network equipment, thus guaranteed in the NLB cluster that server can the normal response service, improved the availability of NLB cluster.
Description of drawings
Fig. 1 is the flow chart of the detection processing method embodiment one of cluster mode of the present invention;
Fig. 2 is the NLB network topology sketch map of the detection processing method embodiment one of cluster mode of the present invention;
Fig. 3 is the flow chart of the detection processing method embodiment two of cluster mode of the present invention;
Fig. 4 is the structure chart of network equipment embodiment one of the present invention;
Fig. 5 is the structure chart of network equipment embodiment two of the present invention.
Embodiment
Fig. 1 is the flow chart of the detection processing method embodiment one of cluster mode of the present invention, and as shown in Figure 1, present embodiment provides a kind of detection processing method of cluster mode, can specifically comprise the steps:
Step 101 receives the heartbeat message that server sends in the NLB cluster, and obtains purpose medium access control (the Media Access Control of said heartbeat message; Hereinafter to be referred as: MAC) address.
Fig. 2 is for the NLB network topology sketch map of the detection processing method embodiment one of cluster mode of the present invention, and is as shown in Figure 2, server 1, server 2 ... Server n is a n server in the NLB cluster; The network equipment links to each other with server 1-n respectively through the port on it, and the network equipment here can be specially the three-layer network appliance of supporting the NLB function, can be three-tier switch, also can be router; Client computer A refers to the main process equipment of initiating services request to the NLB cluster.In the present embodiment; The NLB cluster is at run duration; Each server all can send heartbeat message to whole NLB cluster with 1pps speed, and promptly a server sends heartbeat message to other servers, also is in active state with other server announcement book servers in the NLB cluster.This step is that the network equipment receives the heartbeat message that server sends in the NLB cluster; Obtain the target MAC (Media Access Control) address of this heartbeat message according to this heartbeat message; Target MAC (Media Access Control) address can be carried in each heartbeat message, in addition, can also carry the IP address field of NLB cluster in the heartbeat message.
Step 102 detects the work at present pattern of said NLB cluster according to said target MAC (Media Access Control) address.
In the present embodiment, the mode of operation of NLB cluster can comprise unicast mode, multicast pattern and IGMP pattern usually.Wherein, the link layer address of NLB cluster adopts unicast mac address in the unicast mode, i.e. what the sender's MAC Address in the arp reply message of NLB cluster answer when response ARP request adopted is unicast mac address; Under this mode of operation, the NLB cluster requirements network equipment can send to the unicast message of NLB cluster on the Servers-all in the NLB cluster with the form of broadcasting.The link layer address of NLB cluster adopts multicast mac address in the multicast pattern, and this moment, purpose sent on the Servers-all of NLB cluster through two layers of flooding mechanism for the multicast message with the NLB cluster; Under this mode of operation, the NLB cluster requirements network equipment can support that sender's MAC Address is the ARP message of multicast.IGMP pattern and multicast pattern are similar; Adopt the link address of multicast mac address as the NLB cluster; Different with multicast pattern is; Server in the NLB cluster joins message and adds the NLB group through sending IGMP, and the network equipment is that the message of NLB cluster sends on the NLB server of appointment with destination address only, has avoided the irrelevant down equipment of the network equipment to receive the message of NLB cluster.
In the present embodiment, for the different working modes of NLB cluster, the NLB heartbeat message that server sent also has nothing in common with each other, and as shown in table 1 below is the relevant information of heartbeat message under the different mode:
The relevant information of heartbeat message under table 1 different mode
Mode of operation Target MAC (Media Access Control) address The Ethernet field
Unicast mode FFFF:FFFF:FFFF 886F
Multicast pattern 03FF:XXXX-XXXX 886F
I GMP pattern 0100:5EXX-XXXX 886F
Can find out that from last table 1 NLB cluster Ethernet field of heartbeat message under different working modes is identical, and its target MAC (Media Access Control) address is different.Therefore, present embodiment is discerned the work at present pattern of NLB cluster through the target MAC (Media Access Control) address of the heartbeat message that receives; If the target MAC (Media Access Control) address of the heartbeat message that receives is FFFF:FFFF:FFFF, the work at present pattern that then detects the NLB cluster is a unicast mode; If the target MAC (Media Access Control) address of the heartbeat message that receives is 03FF:XXXX-XXXX, the work at present pattern that then detects the NLB cluster is a multicast pattern; If the target MAC (Media Access Control) address of the heartbeat message that receives is 0100:5EXX-XXXX, the work at present pattern that then detects the NLB cluster is the IGMP pattern, and wherein, X cannot not represent fixingly.
Step 103 is upgraded transmitting information according to said work at present pattern.
After the work at present pattern that detects the NLB cluster through above-mentioned steps; If the mode of operation of NLB cluster changes; Then upgrade transmitting information according to the work at present pattern; The information of transmitting here can be the relevant information of two-layer retransmitting table, the perhaps relevant information of three layer retransmitting tables.Specifically can be for sending NLB patterns of change message; In the present embodiment since three layers transmit the variation that processing logics and IGMP Snooping processing logic all are concerned about the NLB pattern; Then can give three layers to transmit processing logic and IGMP Snooping processing logic NLB patterns of change message announcement, respectively the relevant information in three layer retransmitting tables and the two-layer retransmitting table upgraded by three layers of forwarding processing logic and IGMP Snooping processing logic.
Present embodiment provides a kind of detection processing method of cluster mode, through the target MAC (Media Access Control) address of the heartbeat message of server transmission in the NLB cluster that receives, detects the work at present pattern of NLB cluster, upgrades transmitting information according to the work at present pattern; Present embodiment can real-time perception NLB cluster mode switch, and the information of transmitting on the fast updating network equipment, thus guaranteed in the NLB cluster that server can the normal response service, improved the availability of NLB cluster.
Fig. 3 is for the flow chart of the detection processing method embodiment two of cluster mode of the present invention, and is as shown in Figure 3, present embodiment provide can a kind of cluster mode the detection processing method, can specifically comprise the steps:
Step 301, the network equipment receives the heartbeat message that server sends in the NLB cluster.
In the present embodiment; All can send heartbeat message each other between each server in the NLB cluster; And heartbeat message need pass through the forwarding of the network equipment when a server sends to other servers, as schemes then the network equipment heartbeat message that sends between server in the NLB cluster is monitored.This step is that the network equipment receives the heartbeat message that server sends in the NLB cluster, the IP address that in this heartbeat message, can carry target MAC (Media Access Control) address and NLB cluster.
Step 302, the network equipment will receive the port arrangement of said heartbeat message automatically for connecting the port of said NLB cluster.
The network equipment is after receiving heartbeat message; The port arrangement that will receive this heartbeat message automatically is for connecting the port of NLB cluster; Thereby needing in the prior art to have avoided the caused additional workload of operating personnel's manual configuration port, realized the configuration of exempting from of the network equipment.
Step 303, the network equipment are obtained the ethernet type field of said heartbeat message, and judge whether this ethernet type field is 886F, if then execution in step 304, otherwise process ends.
The network equipment can obtain the ethernet type field of this heartbeat message earlier after receiving heartbeat message, can find out from last table, and the ethernet type field of heartbeat message that is used to identify the mode of operation of NLB cluster is 886F.This step is for to judge whether the ethernet type field of this heartbeat message is 886F, if, then to carry out subsequent step 304, otherwise finish the flow process of present embodiment, other modules that this heartbeat message sent to the network equipment are carried out other processing.
Step 304, the network equipment generates the copy of a this heartbeat message.
When the ethernet type field of the heartbeat message that receives when the network equipment is 886F; The network equipment generates the copy of a this heartbeat message earlier; And the subsequent analysis that this copy gives in the present embodiment used, other modules that simultaneously this heartbeat message sent to the network equipment are carried out other processing.
Step 305, the network equipment are obtained the target MAC (Media Access Control) address of heartbeat message.
In this step, the network equipment obtains its target MAC (Media Access Control) address from heartbeat message, can find out from last table 1, can identify the work at present pattern of NLB cluster through the MAC Address of heartbeat message.
Step 306, the network equipment detect the work at present pattern of NLB cluster according to the target MAC (Media Access Control) address of heartbeat message.
This step is the work at present pattern that the network equipment passes through the target MAC (Media Access Control) address detection NLB cluster of heartbeat message; Specifically can judge whether the target MAC (Media Access Control) address of heartbeat message is F entirely for the network equipment; If the target MAC (Media Access Control) address of heartbeat message is F entirely; The work at present pattern that then detects the NLB cluster is a unicast mode, and upgrades the network equipment of preservation and the connectivity port information of NLB cluster; If the target MAC (Media Access Control) address of heartbeat message is not complete in F, judge then whether the target MAC (Media Access Control) address of heartbeat message takes the lead with 03FF; If the target MAC (Media Access Control) address of heartbeat message is taken the lead with 03FF, the work at present pattern that then detects the NLB cluster is a multicast pattern, and upgrades the network equipment of preservation and the connectivity port information of NLB cluster; If the target MAC (Media Access Control) address of heartbeat message is not to take the lead with 03FF, judge then whether the target MAC (Media Access Control) address of heartbeat message takes the lead with 0100:5E; If the target MAC (Media Access Control) address of heartbeat message is taken the lead with 0100:5E, the work at present pattern that then detects the NLB cluster is the IGMP pattern, and upgrades the network equipment of preservation and the connectivity port information of NLB cluster; If the target MAC (Media Access Control) address of heartbeat message is not to take the lead with 0100:5E, show that then this heartbeat message is not the effective heartbeat message of NLB cluster, then finishes the flow process of present embodiment.
Whether the work at present pattern that step 307, the network equipment are judged the NLB cluster is identical with mode of operation before the preservation, if, process ends then, otherwise execution in step 308.
After the work at present pattern that identifies the NLB cluster, the network equipment judges whether the work at present pattern of NLB cluster is identical with the mode of operation before of preservation, if then finish the flow process of present embodiment, otherwise carry out subsequent step 308.
Step 308, the network equipment is updated to said work at present pattern with the NLB cluster mode of preserving.
When the mode of operation before the work at present pattern of NLB cluster and the preservation is inequality, show that the pattern of NLB cluster switches, then the network equipment is updated to detected work at present pattern with the NLB cluster mode of preserving earlier.
Step 309, the network equipment are obtained the current MAC Address and the current IP address of said NLB cluster.
When the pattern that detects the NLB cluster switches; The network equipment obtains the current MAC Address and the current IP address of NLB cluster, sends to each logic that need transmit information updating in the NLB patterns of change message and handles thereby the current MAC Address of NLB cluster and current IP address be carried at.In the present embodiment; Transmit the variation that processing logic and IGMP Snooping processing logic all are concerned about the NLB pattern for three layers; After the mode of operation that detects the NLB cluster changes, give three layers to transmit processing logic NLB patterns of change message announcement, and carry out subsequent step 310-312; Perhaps give IGMP Snooping processing logic, and carry out subsequent step 313-318 NLB patterns of change message announcement.
Step 310, the network equipment is searched three corresponding layer retransmitting tables according to the current IP address of said NLB cluster.
Transmit processing logic for three layers; This step can be specially the network equipment when the mode of operation that detects the NLB cluster changes; The network equipment is searched three corresponding layer retransmitting tables according to the current IP address of this NLB cluster, if there are three corresponding layer retransmitting tables of current IP address, then continues to carry out subsequent step 311; If there are not three corresponding layer retransmitting tables of current IP address, then finish the flow process of present embodiment.
Step 311, the network equipment judge whether the MAC Address of next jumping of three layer retransmitting tables is consistent with the current MAC Address of said NLB cluster, if, process ends then, otherwise execution in step 312.
The network equipment is behind three corresponding layer retransmitting tables of the current IP address that finds the NLB cluster; Whether the MAC Address of next jumping that continues to judge three layer retransmitting tables is consistent with the current MAC Address of said NLB cluster; If consistent, then finish the flow process of present embodiment, otherwise execution in step 312.
Step 312, the network equipment are deleted current IP address described in said three layer retransmitting tables corresponding IP route prefix and next hop information.
When the current MAC Address of the MAC Address of next jumping of three layer retransmitting tables and NLB cluster is inconsistent; Network management device is deleted current IP address described in said three layer retransmitting tables corresponding IP route prefix and next hop information; The follow-up NLB cluster service request that derives from client computer will trigger the IP route again according to existing procedure and get through process, thereby make the network equipment can rebulid three layers of route table items of correct NLB cluster.
Step 313, the network equipment judge whether the NLB cluster mode of preserving is the IGMP pattern, if then execution in step 314, otherwise process ends.
For IGMP Snooping processing logic, the network equipment is after the mode of operation that detects the NLB cluster changes, and the network equipment judges whether the NLB cluster mode of preserving is the IGMP pattern, if then execution in step 314, otherwise process ends.
Step 314, the network equipment are obtained the member port tabulation of the multicast group of having created.
Knowing the NLB cluster mode of preservation when the network equipment is the IGMP pattern, when promptly the mode of operation of NLB cluster is other patterns by the IGMP patterns of change, then obtains the member port tabulation of the multicast group of having created.
Whether the port that step 315, the network equipment judge to receive heartbeat message is in said member port tabulation, if then execution in step 316, otherwise process ends.
After the member port tabulation that gets access to the multicast group of having created, the network equipment continues to judge that the port that receives heartbeat message is whether in said member port tabulation; If the port that receives heartbeat message is in said member port tabulation, then execution in step 316, if the port that receives heartbeat message not in said member port tabulation, process ends then.
Step 316, the network equipment with the status indicator of said port for withdrawing from the IGMP pattern.
The port that receives heartbeat message when the network equipment is in said member port tabulation the time, the network equipment with the status indicator of said port for withdrawing from the IGMP pattern.
Step 317, the network equipment judge whether the state of all of the port in the multicast member tabulation all is designated the IGMP pattern that withdraws from, if then execution in step 318, otherwise process ends.
This step is that the network equipment continues to judge whether the state of all of the port in the multicast member tabulation all is designated the IGMP pattern that withdraws from; If the state of all of the port in the multicast member tabulation all is designated the IGMP pattern that withdraws from, then execution in step 318, do not withdraw from IGMP pattern, then process ends if the state of all of the port in the multicast member tabulation all is designated.
Step 318, the said multicast group of having created of network equipment deletion.
When the state of all of the port in the multicast member tabulation all is designated when withdrawing from the IGMP pattern, the multicast group that network equipment deletion has been created makes the multicast message of NLB cluster can send to all of the port and exports.
Present embodiment provides a kind of detection processing method of cluster mode, through the target MAC (Media Access Control) address of the heartbeat message of server transmission in the NLB cluster that receives, detects the work at present pattern of NLB cluster, upgrades transmitting information according to the work at present pattern; Present embodiment can real-time perception NLB cluster mode switch; And the information of transmitting on the fast updating network equipment; Thereby guaranteed in the NLB cluster that server can the normal response service; Improve the availability of NLB cluster, made the network equipment can respond the mode switch of NLB cluster fast, reduced the out of service time of NLB cluster when mode switch.In addition, present embodiment has been realized the configuration of exempting from of the network equipment, and the configuration effort when having simplified the NLB clustered deploy(ment) has reduced the maintenance of later stage NLB cluster and the human input of increase-volume.
One of ordinary skill in the art will appreciate that: all or part of step that realizes above-mentioned each method embodiment can be accomplished through the relevant hardware of program command.Aforesaid program can be stored in the computer read/write memory medium.This program the step that comprises above-mentioned each method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
Fig. 4 is the structure chart of network equipment embodiment one of the present invention, and as shown in Figure 4, present embodiment provides a kind of network equipment, can specifically carry out each step among the said method embodiment one, repeats no more here.The network equipment that present embodiment provides can specifically comprise receiver module 401, detection module 402 and update module 403.Wherein, receiver module 401 is used for receiving the heartbeat message that Network Load Balance NLB cluster server sends, and obtains the purpose medium access control MAC Address of said heartbeat message.Detection module 402 is used for detecting according to said target MAC (Media Access Control) address the work at present pattern of said NLB cluster.Update module 403 is used for upgrading transmitting information according to said work at present pattern.
Fig. 5 is the structure chart of network equipment embodiment two of the present invention, and as shown in Figure 5, present embodiment provides a kind of network equipment, can specifically carry out each step among the said method embodiment two, repeats no more here.The network equipment that present embodiment provides is on above-mentioned basis shown in Figure 4; Can also comprise configuration module 501; Configuration module 501 is used for when receiving the heartbeat message of said NLB cluster server transmission, and the port arrangement that will receive said heartbeat message automatically is for connecting the port of said NLB cluster.
Further, the network equipment that provides of present embodiment can also comprise and preserves module 502.Wherein, preserve module 502 be used for when said work at present pattern when the NLB cluster mode of preserving changes, the NLB cluster mode of preservation is updated to said work at present pattern.
Particularly, the update module 403 in the network equipment that provides of present embodiment can specifically comprise first acquiring unit 413, search the unit 423 and first delete cells 433.Wherein, first acquiring unit 413 is used to obtain the current MAC Address and the current IP address of said NLB cluster.Searching unit 423 is used for searching three corresponding layer retransmitting tables according to the current IP address of said NLB cluster.First delete cells 433 is used for when the current MAC Address of the MAC Address of next jumping of said three layer retransmitting tables and said NLB cluster is inconsistent, deletes current IP address described in said three layer retransmitting tables corresponding IP route prefix and next hop information.
Particularly, the update module 403 in the network equipment that provides of present embodiment can specifically comprise second acquisition unit 443, identify unit 453 and second delete cells 463.Wherein, second acquisition unit 443 is used for when the NLB of said preservation cluster mode is Internet Group Management Protocol IGMP pattern, obtains the member port tabulation of the multicast group of having created.Identify unit 453 is used for if receiving the port of said heartbeat message tabulates at said member port, then with the status indicator of said port for withdrawing from the IGMP pattern.Second delete cells 463 is used for then deleting the said multicast group of having created if the state of all of the port of said multicast member tabulation all is designated the IGMP pattern that withdraws from.
Present embodiment provides a kind of network equipment, through the target MAC (Media Access Control) address of the heartbeat message of server transmission in the NLB cluster that receives, detects the work at present pattern of NLB cluster, upgrades transmitting information according to the work at present pattern; Present embodiment can real-time perception NLB cluster mode switch; And the information of transmitting on the fast updating network equipment; Thereby guaranteed in the NLB cluster that server can the normal response service; Improve the availability of NLB cluster, made the network equipment can respond the mode switch of NLB cluster fast, reduced the out of service time of NLB cluster when mode switch.In addition, present embodiment has been realized the configuration of exempting from of the network equipment, and the configuration effort when having simplified the NLB clustered deploy(ment) has reduced the maintenance of later stage NLB cluster and the human input of increase-volume.
Present embodiment also provides a kind of detecting processing system of cluster mode, can specifically comprise Network Load Balance NLB cluster, client computer and above-mentioned Fig. 4 or the network equipment shown in Figure 5, and said NLB cluster comprises a plurality of servers.
What should explain at last is: above each embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although the present invention has been carried out detailed explanation with reference to aforementioned each embodiment; Those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, perhaps to wherein part or all technical characteristic are equal to replacement; And these are revised or replacement, do not make the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.

Claims (11)

1. the detection processing method of a cluster mode is characterized in that, comprising:
Receive the heartbeat message that server sends in the Network Load Balance NLB cluster, and obtain the purpose medium access control MAC Address of said heartbeat message;
Detect the work at present pattern of said NLB cluster according to said target MAC (Media Access Control) address;
Upgrade transmitting information according to said work at present pattern.
2. method according to claim 1 is characterized in that, also comprises:
During server sends in receiving said NLB cluster heartbeat message, will receive the port of the port arrangement of said heartbeat message automatically for the said NLB cluster of connection.
3. method according to claim 1 and 2 is characterized in that, said according to said work at present pattern to transmitting before information upgrades, also comprise:
When said work at present pattern when the NLB cluster mode of preserving changes, the NLB cluster mode of preserving is updated to said work at present pattern.
4. method according to claim 3 is characterized in that, saidly upgrades and comprises transmitting information according to said work at present pattern:
Obtain the current MAC Address and the current IP address of said NLB cluster;
Search three corresponding layer retransmitting tables according to the current IP address of said NLB cluster;
When the current MAC Address of the MAC Address of next jumping of said three layer retransmitting tables and said NLB cluster is inconsistent, delete current IP address described in said three layer retransmitting tables corresponding IP route prefix and next hop information.
5. method according to claim 3 is characterized in that, saidly upgrades and comprises transmitting information according to said work at present pattern:
When the NLB of said preservation cluster mode is Internet Group Management Protocol IGMP pattern, obtain the member port tabulation of the multicast group of having created;
If the port that receives said heartbeat message is in said member port tabulation, then with the status indicator of said port for withdrawing from the IGMP pattern;
If the state of all of the port in the said multicast member tabulation all is designated the IGMP pattern that withdraws from, then delete the said multicast group of having created.
6. a network equipment is characterized in that, comprising:
Receiver module is used for receiving the heartbeat message that Network Load Balance NLB cluster server sends, and obtains the purpose medium access control MAC Address of said heartbeat message;
Detection module is used for detecting according to said target MAC (Media Access Control) address the work at present pattern of said NLB cluster;
Update module is used for upgrading transmitting information according to said work at present pattern.
7. equipment according to claim 6 is characterized in that, also comprises:
Configuration module is used for when receiving the heartbeat message of said NLB cluster server transmission, and the port arrangement that will receive said heartbeat message automatically is for connecting the port of said NLB cluster.
8. according to claim 6 or 7 described equipment, it is characterized in that, also comprise:
Preserve module, be used for when said work at present pattern when the NLB cluster mode of preserving changes, the NLB cluster mode of preservation is updated to said work at present pattern.
9. equipment according to claim 8 is characterized in that, said update module comprises:
First acquiring unit is used to obtain the current MAC Address and the current IP address of said NLB cluster;
Search the unit, be used for searching three corresponding layer retransmitting tables according to the current IP address of said NLB cluster;
First delete cells is used for when the current MAC Address of the MAC Address of next jumping of said three layer retransmitting tables and said NLB cluster is inconsistent, deleting current IP address described in said three layer retransmitting tables corresponding IP route prefix and next hop information.
10. equipment according to claim 8 is characterized in that, said update module comprises:
Second acquisition unit is used for when the NLB of said preservation cluster mode is Internet Group Management Protocol IGMP pattern, obtains the member port tabulation of the multicast group of having created;
Identify unit is used for if receiving the port of said heartbeat message tabulates at said member port, then with the status indicator of said port for withdrawing from the IGMP pattern;
Second delete cells is used for then deleting the said multicast group of having created if the state of all of the port of said multicast member tabulation all is designated the IGMP pattern that withdraws from.
11. the detecting processing system of a cluster mode is characterized in that, comprises each described network equipment among Network Load Balance NLB cluster, client computer and the claim 6-10, said NLB cluster comprises a plurality of servers.
CN201110432452.3A 2011-12-21 2011-12-21 Detection processing method and system of cluster mode, and network equipment Active CN102437960B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110432452.3A CN102437960B (en) 2011-12-21 2011-12-21 Detection processing method and system of cluster mode, and network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110432452.3A CN102437960B (en) 2011-12-21 2011-12-21 Detection processing method and system of cluster mode, and network equipment

Publications (2)

Publication Number Publication Date
CN102437960A true CN102437960A (en) 2012-05-02
CN102437960B CN102437960B (en) 2014-08-27

Family

ID=45985843

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110432452.3A Active CN102437960B (en) 2011-12-21 2011-12-21 Detection processing method and system of cluster mode, and network equipment

Country Status (1)

Country Link
CN (1) CN102437960B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014198202A1 (en) * 2013-06-09 2014-12-18 Hangzhou H3C Technologies Co., Ltd Load switch command including identification of source server cluster and target server cluster
CN110635963A (en) * 2018-06-25 2019-12-31 北京国双科技有限公司 Network state detection method and device
CN106789287B (en) * 2016-12-28 2020-04-03 华为技术有限公司 Front-end load balancer, back-end server and registration method
US10880381B2 (en) 2015-11-04 2020-12-29 Micro Focus Llc Direct connection limitation based on a period of time
CN113472698A (en) * 2021-06-18 2021-10-01 新华三信息安全技术有限公司 Switching equipment and message forwarding method thereof
CN113794644A (en) * 2021-10-12 2021-12-14 新华三信息安全技术有限公司 Method and device for deleting routing table items

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050076145A1 (en) * 2003-10-07 2005-04-07 Microsoft Corporation Supporting point-to-point intracluster communications between replicated cluster nodes
CN1725702A (en) * 2004-07-20 2006-01-25 联想网御科技(北京)有限公司 Network safety equipment and assemblied system and method for implementing high availability
CN101801058A (en) * 2010-03-24 2010-08-11 杭州华三通信技术有限公司 Method and device for refreshing media access control (MAC) items in Mesh mobile application network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050076145A1 (en) * 2003-10-07 2005-04-07 Microsoft Corporation Supporting point-to-point intracluster communications between replicated cluster nodes
CN1725702A (en) * 2004-07-20 2006-01-25 联想网御科技(北京)有限公司 Network safety equipment and assemblied system and method for implementing high availability
CN101801058A (en) * 2010-03-24 2010-08-11 杭州华三通信技术有限公司 Method and device for refreshing media access control (MAC) items in Mesh mobile application network

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014198202A1 (en) * 2013-06-09 2014-12-18 Hangzhou H3C Technologies Co., Ltd Load switch command including identification of source server cluster and target server cluster
CN104243337A (en) * 2013-06-09 2014-12-24 杭州华三通信技术有限公司 Method and device for cross-cluster load balancing
US9602593B2 (en) 2013-06-09 2017-03-21 Hewlett Packard Enterprise Development Lp Load switch command including identification of source server cluster and target server cluster
CN104243337B (en) * 2013-06-09 2017-09-01 新华三技术有限公司 A kind of method and device across cluster load balance
US10693953B2 (en) 2013-06-09 2020-06-23 Hewlett Packard Enterprise Development Lp Load switch command including identification of source server cluster and target server custer
US10880381B2 (en) 2015-11-04 2020-12-29 Micro Focus Llc Direct connection limitation based on a period of time
CN106789287B (en) * 2016-12-28 2020-04-03 华为技术有限公司 Front-end load balancer, back-end server and registration method
CN110635963A (en) * 2018-06-25 2019-12-31 北京国双科技有限公司 Network state detection method and device
CN110635963B (en) * 2018-06-25 2021-11-05 北京国双科技有限公司 Network state detection method and device
CN113472698A (en) * 2021-06-18 2021-10-01 新华三信息安全技术有限公司 Switching equipment and message forwarding method thereof
CN113794644A (en) * 2021-10-12 2021-12-14 新华三信息安全技术有限公司 Method and device for deleting routing table items

Also Published As

Publication number Publication date
CN102437960B (en) 2014-08-27

Similar Documents

Publication Publication Date Title
CN101459618B (en) Data packet forwarding method and device for virtual machine network
CN102437960B (en) Detection processing method and system of cluster mode, and network equipment
US9077608B2 (en) Route calculation method and master node device in virtual network element
US10142160B1 (en) System and methods for managing network hardware address requests with a controller
US9521070B2 (en) Apparatus, information processing method and information processing system
CN101610505B (en) System for realizing routing of full IP mobile wireless sensor network of next generation
US7539150B2 (en) Node discovery and communications in a network
CN101459534A (en) Network topology collecting method for tree shaped network and network equipment
CN110635987A (en) Message transmission method, device, equipment and machine readable storage medium
CN102938794A (en) Address resolution protocol (ARP) message forwarding method, exchanger and controller
CN102025630A (en) Load balancing method and load balancing system
CN102263704A (en) Topology construction method and device supporting layer 2 interconnection of data centers
CN101009662A (en) Message processing method, system and device based on the load balance technology
CN101764751A (en) Method, system and equipment for forwarding roaming messages for wireless user terminal travelling across VLAN
CN104717081A (en) Gateway function realization method and device
US20220345331A1 (en) Two-layer private line network system, configuration method, and device
CN100444586C (en) Message repeat method and device
CN104980355A (en) Source controllable multicast data transmission method and system thereof under SDN Environment
US20130343386A1 (en) First hop load balancing
US20140204730A1 (en) Implementing Gateway Redundancy in a Network
CN104486224A (en) Routing learning method and equipment
CN110178410A (en) A kind of communication path determines method and the network equipment
CN105991795A (en) ARP (address resolution protocol) table item updating method and device
CN101141409A (en) Method and equipment for implementing 6to4 relay routing device backup
CN101534255A (en) A method and device for realizing oriented processing of certain request

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
CP01 Change in the name or title of a patent holder

Address after: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee after: RUIJIE NETWORKS Co.,Ltd.

Address before: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee before: Beijing Star-Net Ruijie Networks Co.,Ltd.

CP01 Change in the name or title of a patent holder