CN107547255B - Cluster system upgrading method, main control board and cluster system - Google Patents
Cluster system upgrading method, main control board and cluster system Download PDFInfo
- Publication number
- CN107547255B CN107547255B CN201710526956.9A CN201710526956A CN107547255B CN 107547255 B CN107547255 B CN 107547255B CN 201710526956 A CN201710526956 A CN 201710526956A CN 107547255 B CN107547255 B CN 107547255B
- Authority
- CN
- China
- Prior art keywords
- upgraded
- data plane
- frame
- line card
- board
- 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.)
- Active
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The disclosure relates to an upgrading method of a cluster system, a main control board and the cluster system. The method comprises the following steps: after receiving a smooth upgrading instruction for a data plane to be upgraded in a cluster system, informing a service line card board of an original line card frame to close a flow output port corresponding to the data plane to be upgraded; checking the line connection information of the data plane to be upgraded; and under the condition that the line connection check of the data plane to be upgraded is determined to pass, informing the service line card board of the original line card frame to open a flow output port corresponding to the data plane to be upgraded. The method and the device can realize zero packet loss in the cluster system upgrading process, thereby ensuring the reliability of the cluster system and ensuring the line speed forwarding in the cluster system upgrading process.
Description
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to an upgrade method for a cluster system, a main master control board, and a cluster system.
Background
Fig. 1 shows a schematic diagram of a related art stand-alone forwarding system. As shown in fig. 1, in a single forwarding system, each Line (Line) of an SFU (Switching Fabric Unit, also called Line card frame Switching network board) is connected to an LPU (Line Processing Unit, also called service Line card board) of the frame, so as to implement intercommunication of the frame traffic across LPUs through a Switching network. After the SFU startup is complete, all lines are turned on by default. When a certain SFU is abnormal in state (such as power-off or restart), the SFU with the abnormal current state is isolated firstly, so that all lines are not reachable. After the SFU is isolated, the LPU no longer sends data to the SFU. And after the SFU is recovered, the SFU is isolated, and the LPU can send data to the SFU again. The SFU restart and power-off preprocessing of the single-machine forwarding system adopts an SFU isolation scheme so as to realize zero packet loss in the abnormal process of the SFU.
Fig. 2 shows a schematic diagram of a 1+2 cluster system. As shown in fig. 2, the 1+2 cluster system includes 1 FCC (Fabric Card sessions) and 2 LCCs (Line Card sessions). Fig. 3 shows a schematic diagram of a 2+4 cluster system. As shown in fig. 3, the 2+4 cluster system includes 2 FCC and 4 LCC. In the related art, a 1+2 cluster system is upgraded to a 2+4 cluster system according to a method for isolating an SFU by a single machine forwarding system. Since it cannot be guaranteed that SFU1 of LCC2 and SFU1 of LCC1 are isolated at the same time, if SFU1 of LCC2 is isolated earlier than SFU1 of LCC1, then LPU and FCU1(Fabric Connection Unit, also called exchange frame exchange network board) directly connected to SFU1 of LCC2 will no longer transmit data to SFU1 of LCC2, but LPU of LCC1 cannot sense that SFU1 of LCC2 is isolated, and will continue to transmit cross-frame data to LCC2 through the data plane where SFU1 is located, and FCU1 will determine that SFU1 of LCC2 is unreachable and discard data from LCC1 until the routing converges, and each LPU will no longer transmit data to SFU1 of LCC 2.
In the related art, packet loss may be caused by cluster system upgrade, reliability of the cluster system cannot be guaranteed, and forwarding capability of the cluster system is affected.
Disclosure of Invention
In view of this, the present disclosure provides an upgrading method and device for a cluster system, so as to ensure reliability and forwarding capability of the cluster system in the upgrading process of the cluster system.
According to an aspect of the present disclosure, there is provided an upgrade method of a cluster system, including:
after receiving a smooth upgrading instruction for a data plane to be upgraded in a cluster system, informing a service line card board of an original line card frame to close a flow output port corresponding to the data plane to be upgraded;
checking the line connection information of the data plane to be upgraded;
and under the condition that the line connection check of the data plane to be upgraded is determined to pass, informing the service line card board of the original line card frame to open a flow output port corresponding to the data plane to be upgraded.
In a possible implementation manner, after receiving a smooth upgrade instruction for a data plane to be upgraded in a cluster system, the method further includes:
the service line card board newly added in the line card frame is informed to forbid the routing issuing,
and under the condition that the circuit connections of all data planes of the cluster system are determined to pass the check, informing the service line card board newly added with the line card frame to carry out routing issue.
In a possible implementation manner, checking the line connection information of the data plane to be upgraded includes:
obtaining the line connection information between each exchange network board in the data plane to be upgraded;
and comparing the line connection information between the exchange network boards in the data plane to be upgraded with the line connection standard corresponding to the data plane to be upgraded in the new cluster mode.
In a possible implementation manner, after receiving a smooth upgrade instruction for a data plane to be upgraded in a trunking system, before notifying a service line card board of an original line card frame to close a traffic output port corresponding to the data plane to be upgraded, the method further includes:
and informing an original frame to set a new cluster mode, wherein the original frame comprises the original line card frame and an original exchange frame.
In a possible implementation manner, after notifying a service line card board of an original line card frame to close a traffic output port corresponding to the data plane to be upgraded, before checking line connection information of the data plane to be upgraded, the method further includes:
and informing a user to carry out line reconnection on the data plane to be upgraded.
According to another aspect of the present disclosure, there is provided an active main control board, including:
the first notification module is used for notifying a service cable clamping plate of an original cable clamping frame to close a flow output port corresponding to a data plane to be upgraded after receiving a smooth upgrading instruction aiming at the data plane to be upgraded in the cluster system;
the inspection module is used for inspecting the line connection information of the data plane to be upgraded;
and the second notification module is used for notifying the service line card board of the original line card frame to open a flow output port corresponding to the data plane to be upgraded under the condition that the line connection check of the data plane to be upgraded is determined to pass.
In a possible implementation manner, the active main control board further includes:
and the third notification module is used for notifying the service line card board newly added with the line card frame of prohibiting routing issue and notifying the service line card board newly added with the line card frame of performing routing issue under the condition that the line connections of all the data planes of the cluster system are determined to pass the check.
In one possible implementation, the checking module includes:
the obtaining submodule is used for obtaining the line connection information among all the exchange network boards in the data plane to be upgraded;
and the comparison submodule is used for comparing the line connection information between the exchange network boards in the data plane to be upgraded with the line connection standard corresponding to the data plane to be upgraded in the new cluster mode.
In a possible implementation manner, the active main control board further includes:
and the fourth notification module is used for notifying an original frame of setting a new cluster mode, wherein the original frame comprises the original line card frame and the original exchange frame.
In a possible implementation manner, the active main control board further includes:
and the fifth communication module is used for notifying a user of performing line reconnection on the data plane to be upgraded.
According to another aspect of the present disclosure, there is provided a cluster system including: at least two wire clamp frames; and at least one exchange frame respectively connected with the wire clamp frame;
wherein, the line card frame includes: at least one service line card board; at least one wire card frame exchange network board connected with the service wire card board; and at least one main control board respectively connected with the service line card board and the line card frame exchange network board;
the exchange frame includes: at least one exchange frame exchange network board connected with the wire card frame exchange network board; and at least one main control board connected with the exchange frame exchange network board;
one of the master control boards is used as a master control board for the cluster system, and the master control board is used for executing the upgrading method of the cluster system.
After receiving a smooth upgrade instruction for a data plane to be upgraded in a trunking system, notifying a service line clamping board of an original line clamping frame to close a flow output port corresponding to the data plane to be upgraded, checking line connection information of the data plane to be upgraded, and notifying the service line clamping board of the original line clamping frame to open the flow output port corresponding to the data plane to be upgraded under the condition that the line connection check of the data plane to be upgraded is passed.
Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.
Fig. 1 shows a schematic diagram of a related art stand-alone forwarding system.
Fig. 2 shows a schematic diagram of a 1+2 cluster system.
Fig. 3 shows a schematic diagram of a 2+4 cluster system.
Fig. 4 shows a flowchart of an upgrade method of a cluster system according to an embodiment of the present disclosure.
Fig. 5 shows an exemplary flowchart of step S42 of the upgrading method of the cluster system according to an embodiment of the present disclosure.
Fig. 6 shows an exemplary flowchart of an upgrade method of a cluster system according to an embodiment of the present disclosure.
Fig. 7 shows a block diagram of an active master control board according to an embodiment of the present disclosure.
Fig. 8 illustrates an exemplary block diagram of an active master control board according to an embodiment of the present disclosure.
Fig. 9 is a block diagram illustrating an active master control board 900 according to an example embodiment.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present disclosure.
The embodiment provides a cluster system. The cluster system may include at least two wire-clip boxes; and at least one exchange frame respectively connected with the line card frame. And the line card frame is communicated with the line card frame through the exchange frame.
Wherein, the line card frame includes: at least one service line card board; at least one wire card frame exchange network board connected with the service wire card board; and at least one main control board respectively connected with the service line card board and the line card frame exchange network board.
The exchange frame includes: at least one exchange frame exchange network board connected with the line card frame exchange network board; and at least one main control board connected with the exchange frame exchange network board.
In the trunking system, each frame may have one or two main control boards, and the main control board in each frame may be connected to each board in each frame of the trunking system, where the frame of the trunking system includes a line card frame and a switching frame, and the boards of the trunking system include a service line card board, a switching frame switching network board, a line card frame switching network board, and a main control board. The cluster system takes one main control board of all the main control boards as a main control board of the cluster system. The main master control board may be used to execute the upgrading method of the cluster system. The cluster system upgrading method can be used for upgrading an a + b cluster system to a c + d cluster system, wherein a, b, c and d are positive integers, a is smaller than or equal to c, and b is smaller than or equal to d. And, in case a is equal to c, b is smaller than d; in case b is equal to d, a is smaller than c. For example, it is possible to upgrade from the 1+2 cluster system shown in fig. 2 to the 2+4 cluster system shown in fig. 3.
The cluster system will be described below by taking the 2+4 cluster system shown in fig. 3 as an example. As shown in fig. 3, in the 2+4 cluster system, the data planes are divided according to the SFUs of the LCCs, and the SFUs correspond to the data planes one to one. There are n data planes in the 2+4 cluster system shown in fig. 3, where n is a positive integer. Flow in the same data plane is communicated across frames, namely data can be forwarded across frames in the same data plane; the traffic between different data planes cannot be intercommunicated, i.e. data cannot be forwarded between different data planes. There is at least one SFU on each LCC and at least one FCU on each FCC. Default SFU on all LCCiAnd FCU over all FCCiConstituting a data plane i, only SFUiAnd FCUiWhere i may be an integer from 1 to n. i represents the logical number of the data plane corresponding to SFU and FCU. For example, SFU on all LCC2And FCU over all FCC2Constituting data plane 2, only SFU2And FCU2Can forward data across frames. The main master control board of the cluster system can record the corresponding relationship between the logic number of each SFU and the frame number and slot number of the SFU, and the corresponding relationship between the logic number of each FCU and the frame number and slot number of the FCU. The LPUs may forward traffic with other LPUs via any one of the data planes.
The trunking system provided by this embodiment can realize zero packet loss in the process of upgrading the trunking system, thereby ensuring reliability of the trunking system and ensuring wire speed forwarding in the process of upgrading the trunking system.
Fig. 4 shows a flowchart of an upgrade method of a cluster system according to an embodiment of the present disclosure. The method may be applied to an active main control board of a cluster system, and is not limited herein. As shown in fig. 4, the method includes steps S41 through S43.
In step S41, after receiving the smooth upgrade instruction for the data plane to be upgraded in the cluster system, the service line card board of the original line card frame is notified to close the traffic output port corresponding to the data plane to be upgraded.
In this embodiment, the original box represents a box included before the cluster system is upgraded, the original line card box represents a line card box included before the cluster system is upgraded, and the original exchange box represents an exchange box included before the cluster system is upgraded. The newly added frame represents a newly added frame of the cluster system, and the newly added frame may include a newly added line card frame and/or a newly added exchange frame. The newly added line card frame represents a newly added line card frame of the cluster system in the current upgrade, and the newly added exchange frame represents a newly added exchange frame of the cluster system in the current upgrade. For example, in fig. 3, the original boxes include FCC1, LCC1, and LCC2, and the newly added boxes include FCC2, LCC3, and LCC 4.
In a possible implementation manner, in the upgrading process of the cluster system, M data planes may be upgraded each time, that is, M data planes to be upgraded are provided at the same time, so that the upgrading speed of the cluster system can be increased. Wherein M is an integer greater than or equal to 2. However, upgrading multiple data planes at the same time may cause insufficient bandwidth of the device and packet loss.
Therefore, in a preferred implementation, during the upgrading process of the cluster system, only one data plane is upgraded at a time, that is, only one data plane to be upgraded is provided at the same time. By upgrading the data planes one by one, the line speed forwarding can be ensured in the upgrading process of the cluster system.
In a possible implementation manner, the main control board may record the logic numbers of the switching network boards in each line card frame and the switching frame, and may determine the interactive network boards belonging to the same data plane in each line card frame and the switching frame according to the logic numbers of each switching network board. For example, SFU in LCC13Is 3, the SFU in LCC1 can be determined3The data plane to which it belongs is the data plane 3. In this embodiment, the main control board records the logic numbers of the switch network boards in each line card frame and the switch frameThe corresponding relationship between the logic number and the port number of the traffic output port is also recorded, and the traffic line card board can determine the traffic output port corresponding to the data plane to be upgraded in step S41 by obtaining the corresponding relationship.
As shown in fig. 2 and 3, for example, each SFU may have m ports, each of which may connect multiple FCU lines. In a 1+2 cluster system, all of the ports' FCU lines of each SFU1 are connected to the FCU1 of FCC 1. In an upgraded 2+4 cluster system, each SFU1 may have half of its ports connected to the FCU1 of the FCC1 box and the other half of its ports connected to the FCU1 of the FCC2 box to ensure that the SFUs 1 of all LCC boxes can forward data to each other.
For example, in an upgraded 2+4 cluster system, the FCU lines of the 1 st to m/2 nd ports of each SFU1 may be connected to the FCU1 of the FCC1 box, and the FCU lines of the m/2+1 th to m th ports may be connected to the FCU1 of the FCC2 box, where m is the number of ports of the SFU1 and m is an even number greater than or equal to 2. Each trunked mode has a specified line connection standard, e.g. SFU per LCCiAre connected to the FCU of the same switch box. For example, port 3 of the SFU1 of each LCC should be connected to the FCU1 of FCC1, and port 7 of the SFU1 of each LCC should be connected to the FCU1 of FCC 2. The line connection standard comprises the following steps: and the corresponding relation between the SFU in each line card frame and the logic number of the FCC in the exchange frame can determine the connection relation between the SFU and the FCU according to the corresponding relation.
Specifically, when determining line connection, the main master control board may obtain physical slot numbers, frame numbers, and port numbers of SFUs and FCUs in the original frame, and may determine logical numbers corresponding to the physical slot numbers, frame numbers, and port numbers according to corresponding algorithms; and comparing the logic number with a logic number in a line connection standard to determine whether the line is connected correctly.
When all the lines of the data plane to be upgraded are correctly connected, the data of the data plane to be upgraded can be normally forwarded. Therefore, in the process of performing circuit reconnection on the data plane to be upgraded, the service line card board needs to close the traffic output port corresponding to the data plane to be upgraded. For example, the original line card box includes LCC1 and LCC2, and in the case of detecting a smooth upgrade instruction for data plane 1 of the cluster system, notifies the LPUs of LCC1 and LCC2 to close the traffic egress ports of corresponding SFU1, that is, the LPUs close the traffic in the LPU to SFU1 direction, so that the LPUs of LCC1 and LCC2 do not forward data through SFU1, but can forward data through other data planes.
As an example of this embodiment, before the circuit reconnection is performed on the switch network board of the data plane to be upgraded, the service line card board of the original line card frame may receive the traffic from the switch network board of the same line card frame. For example, before the line reconnection of the switch network board of the data plane 1 to be upgraded, the LPU does not close the traffic ingress port of the corresponding SFU1, in other words, the LPU does not close the traffic in the direction from the SFU1 to the LPU. The LPUs of the LCCs 1 and 2 may continue to receive and process the remaining data from the SFU1, so that the LPUs may forward the received remaining data through other data planes, thereby ensuring zero packet loss of the data.
In step S42, the line connection information of the data plane to be upgraded is checked.
The line connection of the data plane to be upgraded comprises line connection between the exchange network board of each wire card frame in the data plane to be upgraded and the exchange network board of the exchange frame. For example, the wireline connections of data plane 1 include wireline connections between the SFU1 of each LCC and the FCU1 of each FCC.
In step S43, when it is determined that the line connection check of the data plane to be upgraded passes, the service line card board of the original line card frame is notified to open the traffic output port corresponding to the data plane to be upgraded.
For example, in the event that it is determined that the line connection check of data plane 1 passes, the LPUs of LCC1 and LCC2 are notified to open the traffic egress ports of the corresponding SFU1, so that the LPUs of LCC1 and LCC2 can forward data through SFU 1.
As an example of this embodiment, when it is determined that the line connection check of the data plane to be upgraded passes, the service line card board of each original line card frame may be notified in a multicast manner to open a traffic output port of the switching network board corresponding to the data plane to be upgraded.
In one possible implementation, the method may further include: and sending prompt information for checking the line connection of the data plane to be upgraded to a user under the condition that the line connection check of the data plane to be upgraded is determined not to pass so that the user can check the line connection of the data plane to be upgraded.
In this embodiment, in the process of smoothly upgrading the cluster system, the steps S41 to S43 are sequentially performed for each data plane of the cluster system, so that smooth upgrading of all data planes of the cluster system is completed.
In the prior art, when a network board (SFU, FCU) of a data plane is upgraded, messages (including messages on local cache and link) which cannot be processed by the network board of the original frame of the cluster system in time are lost, and after receiving the smooth upgrade instruction for the data plane to be upgraded in the cluster system, informing the service line card board of the original line card frame to close the flow output port corresponding to the data plane to be upgraded, i.e. closing the flow of the data plane before the system is upgraded, and further, checking the line connection information of the data plane to be upgraded, and under the condition that the circuit connection check of the data plane to be upgraded is passed, the service line card board of the original line card frame is informed to open the flow outlet port corresponding to the data plane to be upgraded, the message can be forwarded through other data planes, so that the occurrence of packet loss events of the message is avoided. Therefore, zero packet loss can be realized in the cluster system upgrading process, the reliability of the cluster system can be guaranteed, and the line speed forwarding can be guaranteed in the cluster system upgrading process.
In a possible implementation manner, after receiving a smooth upgrade instruction for a data plane to be upgraded in a cluster system, the method further includes: and informing the service line card board newly added with the line card frame of forbidding routing release, and informing the service line card board newly added with the line card frame of routing release under the condition that the circuit connection of all data planes of the cluster system is determined to pass. For example, after it is determined that the newly added frame is started according to the new trunking mode, the service line card board of the newly added line card frame is notified to prohibit routing issue, so that the service line card board of the newly added line card frame does not perform routing issue in the process of upgrading the trunking system, and thus, the influence of the newly added frame on the routing of the original frame due to wrong connection in the process of upgrading the trunking system can be prevented.
As an example of the implementation manner, after receiving a smooth upgrade instruction for a data plane to be upgraded in a cluster system, the service line card board newly added to the line card frame may be notified in a multicast manner to prohibit routing issue, and in a case that it is determined that line connections of all data planes of the cluster system pass through inspection, the service line card board newly added to the line card frame may be notified in a multicast manner to perform routing issue.
Fig. 5 shows an exemplary flowchart of step S42 of the upgrading method of the cluster system according to an embodiment of the present disclosure. As shown in fig. 5, step S42 may include step S421 and step S422.
In step S421, the line connection information between the switching network boards in the data plane to be upgraded is obtained.
As an example of this embodiment, the line card frame switch network board may obtain information of the switch frame switch network board connected thereto, and may report a connection relationship between the line card frame switch network board and the switch frame switch network board to the main control board, so that the main control board may obtain line connection information between each switch network board in the data plane to be upgraded.
In step S422, the line connection information between the switch network boards in the data plane to be upgraded is compared with the line connection standard corresponding to the data plane to be upgraded in the new trunking mode.
In the present embodiment, each cluster mode has a specified line connection standard. For example, the 2+4 cluster mode specifies the connection relationship between each port of each card cage switch board and the switch board of the switch cage. After the main master control board obtains the line connection information between each exchange network board in the data plane to be upgraded, the line connection information between each exchange network board in the data plane to be upgraded is compared with the line connection standard corresponding to the data plane to be upgraded in the new cluster mode. If the line connection information between each exchange network board in the data plane to be upgraded is the same as the line connection standard corresponding to the data plane to be upgraded in the new cluster mode, the line connection check of the data plane to be upgraded can be determined to pass; if the line connection information between each exchange network board in the upgrading data plane is different from the line connection standard corresponding to the data plane to be upgraded in the new cluster mode, it can be determined that the line connection check of the data plane to be upgraded fails.
Generally, when a system is smoothly upgraded, if the main control board of the original frame is not notified, the original frame still operates according to the original cluster mode, and the access of a new frame is rejected.
In a possible implementation manner, after receiving a smooth upgrade instruction for a data plane to be upgraded in a trunking system, before notifying a service line card board of an original line card frame to close a traffic output port corresponding to the data plane to be upgraded, the method further includes: and informing the original frame to set a new cluster mode, wherein the original frame comprises an original line card frame and an original exchange frame. For example, the original cluster mode is a 1+2 cluster mode, and the new cluster mode is a 2+4 cluster mode. For example, the original box includes FCC1, LCC1 and LCC2, then FCC1, LCC1 and LCC2 may be informed to set the new cluster mode to 2+4 cluster mode in case it is detected that the cluster system needs to be upgraded to 2+4 cluster mode. Specifically, the main control board of the cluster system notifies the main control board in each original frame, and after the main control board of each original frame sets a new cluster mode, the main control board of the original frame can obtain the line connection standard of the new cluster mode, so that the main control board of the original frame allows access when detecting that a new network board is accessed. As an example of the implementation manner, when receiving a new instruction of the cluster mode input by the user, the active main control board may send the new instruction of the cluster mode to each original frame to notify each original frame of setting the new cluster mode.
In this embodiment, the newly added frame is added to the cluster system to which the original frame belongs after being started according to the new cluster mode. For example, the newly added box includes FCC2, LCC3, and LCC4, and is added to the cluster system to which FCC1, LCC1, and LCC2 belong after FCC2, LCC3, and LCC4 are started up in the new cluster mode.
In a possible implementation manner, after notifying the service line card board of the original line card frame to close the traffic output port corresponding to the data plane to be upgraded, before checking the line connection information of the data plane to be upgraded, the method further includes: and informing the user to carry out line reconnection on the data plane to be upgraded. When the data plane to be upgraded is one data plane in the cluster system, the user may be notified to perform line reconnection only on the data plane. Therefore, in the process of the user performing the line reconnection on the data plane to be upgraded, the traffic service of other data planes is not affected, that is, in the process of the user performing the line reconnection on the data plane to be upgraded, the other data planes can still perform the in-frame and cross-frame traffic forwarding, so that the forwarding capability of the cluster system can be ensured.
For example, rerouting data plane 1 may include: the FCU lines for one half of the ports of the SFU1 of LCC1 and LCC2 are connected to the FCU1 of FCC2, the FCU lines for one half of the ports of the SFU1 of LCC3 and LCC4 are connected to the FCU1 of FCC1, and the FCU lines for the other half of the ports of the SFU1 of LCC3 and LCC4 are connected to the FCU1 of FCC 2. After rerouting data plane 1, each LCC's SFU1 may have half of the FCU lines connected to the FCU1 of the FCC1 box and the other half of the FCU lines connected to the FCU1 of the FCC2 box.
In one possible implementation, the method may further include: and sending a prompt message of finishing the upgrading of the cluster system to the user under the condition that the line connections of all the data planes are determined to pass the checking.
Fig. 6 shows an exemplary flowchart of an upgrade method of a cluster system according to an embodiment of the present disclosure. As shown in fig. 6, the method may include steps S61 through S67.
In step S61, after receiving a smooth upgrade instruction for a data plane to be upgraded in the cluster system, the original box is notified to set a new cluster mode.
In step S62, the service line card board newly added to the line card box is notified that the routing release is prohibited.
In step S63, the service line card board of the original line card frame is notified to close the traffic output port corresponding to the data plane to be upgraded.
In step S64, the user is notified to perform a line reconnect to the data plane to be upgraded.
In step S65, the line connection information of the data plane to be upgraded is checked.
In step S66, when it is determined that the line connection check of the data plane to be upgraded passes, the service line card board of the original line card frame is notified to open the traffic output port corresponding to the data plane to be upgraded.
In step S67, if it is determined that the line connections of all the data planes of the cluster system pass the check, the service line card board newly added to the line card box is notified to perform routing distribution.
Fig. 7 shows a block diagram of an active master control board according to an embodiment of the present disclosure. As shown in fig. 7, the main master control board includes a first notification module 71, a check module 72, and a second notification module 73.
The first notifying module 71 is configured to notify the service line card board of the original line card frame to close the flow output port corresponding to the data plane to be upgraded after receiving the smooth upgrade instruction for the data plane to be upgraded in the cluster system;
the checking module 72 is configured to check the line connection information of the data plane to be upgraded;
the second notifying module 73 is configured to notify the service line card board of the original line card frame to open the flow output port corresponding to the data plane to be upgraded, when it is determined that the line connection check of the data plane to be upgraded passes.
Fig. 8 illustrates an exemplary block diagram of an active master control board according to an embodiment of the present disclosure. As shown in fig. 8:
in a possible implementation manner, the main control board further includes a third notification module 74.
The third notifying module 74 is configured to notify the service line card board newly added with the line card frame of prohibiting performing routing issue, and notify the service line card board newly added with the line card frame of performing routing issue when it is determined that the line connections of all the data planes of the trunking system pass the check.
In one possible implementation, the checking module 72 includes an obtaining sub-module 721 and a comparing sub-module 722.
The obtaining sub-module 721 is configured to obtain line connection information between each switch network board in the data plane to be upgraded.
The comparing submodule 722 is configured to compare the line connection information between the switch network boards in the data plane to be upgraded with the line connection standard corresponding to the data plane to be upgraded in the new trunking mode.
In a possible implementation manner, the main control board further includes a fourth notification module 75.
The fourth notifying module 75 is configured to notify the original frame to set a new cluster mode, where the original frame includes the original line card frame and the original exchange frame.
In a possible implementation manner, the main master control board further includes a fifth notification module 76.
The fifth notification module 76 is configured to notify the user of the line reconnection of the data plane to be upgraded.
In this embodiment, after receiving a smooth upgrade instruction for a data plane to be upgraded in a trunking system, the service line card board of the original line card frame is notified to close a flow output port corresponding to the data plane to be upgraded, the line connection information of the data plane to be upgraded is checked, and the service line card board of the original line card frame is notified to open a flow output port corresponding to the data plane to be upgraded under the condition that it is determined that the line connection check of the data plane to be upgraded passes, so that zero packet loss can be realized in the process of upgrading the trunking system, thereby ensuring the reliability of the trunking system, and ensuring the line speed forwarding in the process of upgrading the trunking system.
Fig. 9 is a block diagram illustrating an active master control board 900 according to an example embodiment. Referring to fig. 9, the primary master control board 900 may include a processor 901, a machine-readable storage medium 902 storing machine-executable instructions. The processor 901 and the machine-readable storage medium 902 may communicate via a system bus 903. Also, the processor 901 performs the above-described upgrading method of the cluster system by reading machine-executable instructions in the machine-readable storage medium 902 corresponding to the upgrading logic of the cluster system.
The machine-readable storage medium 902 referred to herein may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and the like. For example, the machine-readable storage medium may be: a RAM (random Access Memory), a volatile Memory, a non-volatile Memory, a flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, a dvd, etc.), or similar storage medium, or a combination thereof.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein were chosen in order to best explain the principles of the embodiments, the practical application, or technical improvements to the techniques in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.
Claims (9)
1. A method for upgrading a cluster system, comprising:
after receiving a smooth upgrading instruction for a data plane to be upgraded in a cluster system, informing a service line card board of an original line card frame to close a flow output port corresponding to the data plane to be upgraded;
checking the line connection information of the data plane to be upgraded; wherein, the checking the line connection information of the data plane to be upgraded includes: obtaining the line connection information between each exchange network board in the data plane to be upgraded; comparing the line connection information between each exchange network board in the data plane to be upgraded with the line connection standard corresponding to the data plane to be upgraded in a new cluster mode, wherein the new cluster mode represents the cluster mode after the cluster system is upgraded;
and under the condition that the line connection check of the data plane to be upgraded is determined to pass, informing the service line card board of the original line card frame to open a flow output port corresponding to the data plane to be upgraded.
2. The method of claim 1, wherein after receiving a smooth upgrade instruction for a data plane to be upgraded in a cluster system, the method further comprises:
the service line card board newly added in the line card frame is informed to forbid the routing issuing,
and under the condition that the circuit connections of all data planes of the cluster system are determined to pass the check, informing the service line card board newly added with the line card frame to carry out routing issue.
3. The method according to claim 1, wherein after receiving a smooth upgrade instruction for a data plane to be upgraded in a trunking system, before notifying a service line card board of an original line card frame to close a traffic output port corresponding to the data plane to be upgraded, the method further comprises:
and informing an original frame to set a new cluster mode, wherein the original frame comprises the original line card frame and an original exchange frame.
4. The method according to claim 1, wherein after notifying the service line card board of the original line card frame to close the traffic output port corresponding to the data plane to be upgraded, before checking the line connection information of the data plane to be upgraded, the method further comprises:
and informing a user to carry out line reconnection on the data plane to be upgraded.
5. A master control board, comprising:
the first notification module is used for notifying a service cable clamping plate of an original cable clamping frame to close a flow output port corresponding to a data plane to be upgraded after receiving a smooth upgrading instruction aiming at the data plane to be upgraded in the cluster system;
the inspection module is used for inspecting the line connection information of the data plane to be upgraded; the inspection module includes: the obtaining submodule is used for obtaining the line connection information among all the exchange network boards in the data plane to be upgraded; a comparison submodule, configured to compare line connection information between each switch network board in the data plane to be upgraded with a line connection standard corresponding to the data plane to be upgraded in a new cluster mode, where the new cluster mode represents a cluster mode after the cluster system is upgraded;
and the second notification module is used for notifying the service line card board of the original line card frame to open a flow output port corresponding to the data plane to be upgraded under the condition that the line connection check of the data plane to be upgraded is determined to pass.
6. The active main control board according to claim 5, further comprising:
and the third notification module is used for notifying the service line card board newly added with the line card frame of prohibiting routing issue and notifying the service line card board newly added with the line card frame of performing routing issue under the condition that the line connections of all the data planes of the cluster system are determined to pass the check.
7. The active main control board according to claim 5, further comprising:
and the fourth notification module is used for notifying an original frame of setting a new cluster mode, wherein the original frame comprises the original line card frame and the original exchange frame.
8. The active main control board according to claim 5, further comprising:
and the fifth communication module is used for notifying a user of performing line reconnection on the data plane to be upgraded.
9. A cluster system, comprising: at least two wire clamp frames; and at least one exchange frame respectively connected with the wire clamp frame;
wherein, the line card frame includes: at least one service line card board; at least one wire card frame exchange network board connected with the service wire card board; and at least one main control board respectively connected with the service line card board and the line card frame exchange network board;
the exchange frame includes: at least one exchange frame exchange network board connected with the wire card frame exchange network board; and at least one main control board connected with the exchange frame exchange network board;
wherein one of the master control boards is used as an active master control board of the cluster system, and the active master control board is configured to execute the method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710526956.9A CN107547255B (en) | 2017-06-30 | 2017-06-30 | Cluster system upgrading method, main control board and cluster system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710526956.9A CN107547255B (en) | 2017-06-30 | 2017-06-30 | Cluster system upgrading method, main control board and cluster system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107547255A CN107547255A (en) | 2018-01-05 |
CN107547255B true CN107547255B (en) | 2020-12-01 |
Family
ID=60970333
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710526956.9A Active CN107547255B (en) | 2017-06-30 | 2017-06-30 | Cluster system upgrading method, main control board and cluster system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107547255B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108667509B (en) * | 2018-03-22 | 2020-04-14 | 新华三技术有限公司 | Cluster joining method and device and cluster equipment |
CN112636943B (en) * | 2019-10-08 | 2023-08-01 | 中兴通讯股份有限公司 | Optical transport network cluster upgrading method, device, equipment and storage medium |
CN118509745B (en) * | 2024-07-17 | 2024-09-17 | 深圳市鸿升光通讯设备有限公司 | Line card management method and system based on OLT equipment of distributed system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1479452A (en) * | 2002-08-28 | 2004-03-03 | 华为技术有限公司 | Method of data on line exchange between main control plate and business plate in main control plate thermal redundancy |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101355430B (en) * | 2007-07-27 | 2012-02-29 | 华为技术有限公司 | Exchange frame, cluster router |
CN101394309A (en) * | 2008-10-29 | 2009-03-25 | 华为技术有限公司 | Cluster system expanding method, apparatus and cluster system |
CN101917337B (en) * | 2010-08-09 | 2015-06-03 | 中兴通讯股份有限公司 | Device and method for interconnecting router cluster middle plates |
WO2011113394A2 (en) * | 2011-04-27 | 2011-09-22 | 华为技术有限公司 | Router, virtual cluster router system and establishion method thereof |
-
2017
- 2017-06-30 CN CN201710526956.9A patent/CN107547255B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1479452A (en) * | 2002-08-28 | 2004-03-03 | 华为技术有限公司 | Method of data on line exchange between main control plate and business plate in main control plate thermal redundancy |
Also Published As
Publication number | Publication date |
---|---|
CN107547255A (en) | 2018-01-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101309185B (en) | Processing method of multi-host apparatus in stacking system and stacking member equipment | |
CN107547255B (en) | Cluster system upgrading method, main control board and cluster system | |
CN102474515B (en) | Connection device certification | |
RU2526719C2 (en) | Network system and network redundancy method | |
CN108933744B (en) | Message forwarding method and device | |
CN108600069B (en) | Link switching method and device | |
CN108804260B (en) | SRIO system switching method and device | |
US20220345401A1 (en) | Video router | |
WO2015088324A2 (en) | System and method for managing a faulty node in a distributed computing system | |
CN109167700A (en) | The detection method and device in the section routing tunnel SR | |
US11171810B1 (en) | Misconfigured uplink identification | |
CN109617716B (en) | Data center exception handling method and device | |
CN108234358B (en) | Multicast message transmission method, device and machine readable storage medium | |
CN112134775B (en) | Switch loop detection method and device | |
CN105718589A (en) | File access method and device | |
CN110661599B (en) | HA implementation method, device and storage medium between main node and standby node | |
US10516625B2 (en) | Network entities on ring networks | |
CN116436648A (en) | Verification information sending method, verification table item obtaining method, device and equipment | |
JP2013223077A (en) | Chassis type switch | |
CN107547254B (en) | Method for processing network board event, service line card board and cluster system | |
US8885462B2 (en) | Fast repair of a bundled link interface using packet replication | |
US20230224780A1 (en) | Network slice reselection method and device, electronic device and storage medium | |
CN107959603B (en) | Forwarding control method and device | |
CN114173223A (en) | Service scheduling method, packet optical transport network device and storage medium | |
CN103607294A (en) | Recovery method of network division, equipment and system thereof |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |