CN108667509A - Cluster Adding Way, device and cluster device - Google Patents

Cluster Adding Way, device and cluster device Download PDF

Info

Publication number
CN108667509A
CN108667509A CN201810242646.9A CN201810242646A CN108667509A CN 108667509 A CN108667509 A CN 108667509A CN 201810242646 A CN201810242646 A CN 201810242646A CN 108667509 A CN108667509 A CN 108667509A
Authority
CN
China
Prior art keywords
cluster
slave
host apparatus
major network
web plate
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
CN201810242646.9A
Other languages
Chinese (zh)
Other versions
CN108667509B (en
Inventor
孟凡辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201810242646.9A priority Critical patent/CN108667509B/en
Publication of CN108667509A publication Critical patent/CN108667509A/en
Application granted granted Critical
Publication of CN108667509B publication Critical patent/CN108667509B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/03Arrangements for fault recovery
    • H04B10/032Arrangements for fault recovery using working and protection systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Debugging And Monitoring (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of cluster Adding Way, device and cluster devices, are related to field of communication technology, wherein the cluster Adding Way, including:First, the master control borad of host apparatus receives and responds the addition event of slave, later, the master control borad of host apparatus is one by one individually smoothed each exchange plane, until all exchange planes complete smoothing processing, wherein, a step of exchange plane includes one in a major network plate and the slave in host apparatus from web plate, specific smoothing processing is as follows:Set the operating mode of major network plate to switch mode between frame before this, it is to open major network plate and the corresponding optical fiber interface between web plate later, pass through above-mentioned processing procedure, the process for rejoining and restoring after solving slave electrifying startup can run the technical issues of business impacts to cluster, reach the technique effect of fast failure recovery under prosthetic operational circumstances.

Description

Cluster Adding Way, device and cluster device
Technical field
The present invention relates to fields of communication technology, more particularly, to a kind of cluster Adding Way, device and cluster device.
Background technology
Currently, cluster is made of at least two cluster devices, according to the difference of its member role played the part of in the cluster, two A cluster device is divided into host apparatus and slave, i.e., one of cluster device is host apparatus, and host apparatus handles industry Cluster is responsible for and controlled while business;Another cluster device is slave, and slave processing business while is made For alternate device.In use, when host apparatus breaks down, slave needs can take over rapidly host apparatus Data are handled, are a greater impact to avoid business.
Therefore, a cluster device in cluster failure or it is other due to there is power down when, another cluster device Variation can be responded simultaneously to start to work independently (as host apparatus).After the cluster device restarting of power down, need its is heavy Newly it is added in cluster.With add the case where new cluster device needs to confirm web plate and business cable card board one by one in the cluster not Together, the cluster device of restarting only needs to re-connect.But in existing processing procedure, slave weight The process of the process and recovery that are newly added can all impact the business for the cluster being currently running.
Invention content
In view of this, the purpose of the present invention is to provide a kind of cluster Adding Way, device and cluster device, reduce from Belong to the influence caused by operation business of the process for rejoining and restoring after device power starts to cluster.
In a first aspect, an embodiment of the present invention provides a kind of cluster Adding Way, set applied to comprising at least two clusters In standby cluster, at least two cluster devices include host apparatus and slave, and each cluster device includes master control borad, more A web plate and multiple business cable card boards, including:
The master control borad of host apparatus receives and responds the addition event of slave;
The master control borad of host apparatus is one by one individually smoothed each exchange plane, until all exchange planes are complete At smoothing processing, wherein an exchange plane includes one in a major network plate and slave in host apparatus from net Plate;
The step of smoothing processing, is as follows:
Set the operating mode of major network plate to switch mode between frame;
Open major network plate and the corresponding optical fiber interface between web plate.
With reference to first aspect, an embodiment of the present invention provides the first possible embodiments of first aspect, wherein Before the master control borad of host apparatus is one by one individually smoothed each exchange plane, further include:
Host apparatus to slave by sending the first IPC message, to close in the slave all from web plate Interface between business cable card board;
After the master control borad of host apparatus is one by one individually smoothed each exchange plane, further include:
The host apparatus by sending the 2nd IPC message to slave, with open in the slave all from Interface between web plate and business cable card board.
With reference to first aspect, an embodiment of the present invention provides second of possible embodiments of first aspect, wherein It sets between frame before switch mode the operating mode of major network plate to, further includes:
Close the flow between the major network plate in the business cable card board and current exchange plane of host apparatus;
Major network plate is being opened with after the corresponding optical fiber interface between web plate, is further including:
Open the flow between the business cable card board and major network plate of host apparatus.
With reference to first aspect, an embodiment of the present invention provides the third possible embodiments of first aspect, wherein beats Major network plate is opened with after the corresponding optical fiber interface between web plate, further includes:
Major network plate obtains the web plate number and interface number from web plate by link layer protocol;
The web plate number got and interface number are compared with preset connection data;
When comparison result is inconsistent, then connection error prompt message is sent out.
With reference to first aspect, an embodiment of the present invention provides the 4th kind of possible embodiments of first aspect, wherein adds Incoming event is that slave powers on reboot event or event is added in slave dilatation.
Second aspect, the embodiment of the present invention also provide a kind of cluster smoothing apparatus, the master control borad being applied in cluster device, Cluster device further includes multiple web plates and multiple business cable card boards;
Master control borad, including:
Communication module, the addition event for receiving and responding slave;
Smoothing module, for being individually smoothed to each exchange plane one by one, until all exchange planes Complete smoothing processing, wherein an exchange plane include one in a major network plate and slave in host apparatus from Web plate;
The step of smoothing processing, is as follows:
Set the operating mode of major network plate to switch mode between frame;
Open major network plate and the corresponding optical fiber interface between web plate.
In conjunction with second aspect, an embodiment of the present invention provides the first possible embodiments of second aspect, wherein also Including:
Interface closedown module, for the host apparatus by sending the first IPC message to slave, described in closing Whole interface between web plate and business cable card board in slave;
Interface opens module, for the host apparatus by sending the 2nd IPC message to slave, described in opening Whole interface between web plate and business cable card board in slave.
In conjunction with second aspect, an embodiment of the present invention provides second of possible embodiments of second aspect, wherein also Including:
Data acquisition module is used for web plate number and interface number of the major network plate by link layer protocol acquisition from web plate;
Data comparison module, for the web plate number got and interface number to be compared with preset connection data;
Reminding module, for comparison result be it is inconsistent when, then send out connection error prompt message.
The third aspect, the embodiment of the present invention also provide a kind of cluster device, are applied to comprising master control borad, multiple web plates and more A business cable card board, master control borad include memory, processor, and the computer journey that can be run on a processor is stored in memory Sequence, which is characterized in that processor executes the method for realizing any of the above-described when computer program.
Fourth aspect, the embodiment of the present invention also provide a kind of meter for the non-volatile program code that can perform with processor Calculation machine readable medium, including:Program code makes the method that processor executes any of the above-described.
The embodiment of the present invention brings following advantageous effect:
In a kind of cluster Adding Way provided by the present application, device and cluster device, it is mainly used in comprising at least two In the cluster of cluster device, at least two cluster devices include host apparatus and slave, and each cluster device includes master Plate, multiple web plates and multiple business cable card boards are controlled, specifically, the master control borad of host apparatus receives and responds the addition of slave After event, the master control borad of host apparatus is one by one individually smoothed each exchange plane, until all exchange planes are complete It at smoothing processing, needs exist for illustrating, an exchange plane includes a major network plate and subordinate in host apparatus One in equipment from being provided with multiple exchange planes between web plate, host apparatus and slave, each exchange plane The step of smoothing processing, is as follows, the master control borad side at host apparatus end:First the operating mode of major network plate is set as handing between frame Mold changing formula, i.e., in cluster, there is power down in slave, when only host apparatus is in running order, the major network plate of host apparatus Operating mode be switched to forward mode in frame, after the completion of major network plate working mode change, open major network plate with it is corresponding From the optical fiber interface between web plate, the communication port between host apparatus and slave is re-established.Therefore, in the cluster from During category equipment rejoins, by being individually smoothed to each exchange plane one by one, until all exchange is put down Face complete smoothing processing process, only an exchange plane is smoothed each time, so, when a web plate because When stopping forwarding flow for smoothing processing, the web plate of other exchange planes can still carry out the forwarding of flow, to realize The business of current cluster do not interrupt, the effect of flow not packet loss, also, smoothing processing flow is without human intervention, convenient fast It is prompt.
Other feature and advantage of the disclosure will illustrate in the following description, alternatively, Partial Feature and advantage can be with Deduce from specification or unambiguously determine, or by implement the disclosure above-mentioned technology it can be learnt that.
To enable the above objects, features, and advantages of the disclosure to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinate Appended attached drawing, is described in detail below.
Description of the drawings
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, in being described below Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor It puts, other drawings may also be obtained based on these drawings.
Fig. 1 is the networking diagram of cluster in the prior art;
Fig. 2 is the flow chart of each exchange plane in cluster Adding Way provided in an embodiment of the present invention;
Fig. 3 is the overall flow figure of cluster Adding Way provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram of cluster adding apparatus provided in an embodiment of the present invention.
Icon:1- communication modules;2- smoothing modules.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention Technical solution be clearly and completely described, it is clear that described embodiments are some of the embodiments of the present invention, rather than Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Lower obtained every other embodiment, shall fall within the protection scope of the present invention.
Cluster can be made of two cluster devices, form back-to-back cluster, and a cluster device works as host apparatus, Another cluster device is as slave equipment.When one of cluster device failure or it is other due to there is power down, Another cluster device can respond variation and simultaneously start to work independently (as host apparatus).When the cluster device of power down restarts Afterwards, it needs to rejoin the slave in cluster.In existing processing procedure, process that slave rejoins and extensive Multiple process can all impact the business for the cluster being currently running (for example, leading to the service disconnection of current cluster or making There are a large amount of packet losses etc. in the service traffics of current cluster), it is based on this, a kind of cluster Adding Way provided in an embodiment of the present invention, Device and cluster device, can solve the process that cluster device rejoins can ask the technology that cluster operation business impacts Topic.
For ease of understanding the present embodiment, first to a kind of cluster Adding Way disclosed in the embodiment of the present invention into Row is discussed in detail.
Embodiment 1
An embodiment of the present invention provides a kind of cluster Adding Ways.
According to embodiments of the present invention, a kind of more detailed embodiment of cluster Adding Way is provided, needs to illustrate It is that step shown in the flowchart of the accompanying drawings can execute in the computer system of such as a group of computer-executable instructions, Also, although logical order is shown in flow charts, and it in some cases, can be to be executed different from sequence herein Shown or described step.
Referring to Fig. 1 and Fig. 2, the cluster Adding Way that the present embodiment proposes, specifically includes following steps:
First, it is first illustrated with reference to Fig. 1 the composition situation of lower cluster, cluster is by multiple cluster devices (also referred to as cluster line card Frame, Line Card Chassis, abbreviation LCC) composition, in the present embodiment, by taking the cluster of two cluster devices composition as an example, Include master control borad, multiple business cable card boards (Line Processing Unit, abbreviation LPU) and more in each cluster device A web plate (also referred to as Cluster Line-card Chassis network board, Switch Fabric Unit, abbreviation SFU).According to cluster device angle in cluster The difference of color, two cluster devices can host apparatus and slave each other, host apparatus processing business while is responsible for pipe Reason and control cluster, as alternate device while slave processing business.When host apparatus failure, slave needs Host apparatus can be taken over rapidly to handle data, be a greater impact to avoid the business in cluster.Therefore, one in cluster Cluster device failure or it is other due to power down has occurred, another cluster device can respond change and start to work independently, After the cluster device restarting of power down, need the cluster device after restarting being added in cluster.
Step S101:The master control borad of host apparatus receives and responds the addition event of slave.
It needs to illustrate, above-mentioned addition event is that slave powers on reboot event or slave dilatation is added Event.The two the difference is that, opportunity of startup is different.When slave powers on and restarts, since it is before with cluster Pattern work, restart so can be sent after restart to host apparatus by control channel between host apparatus Notice, to restore original cluster with host apparatus.And if two cluster devices do not form cluster before this, its own can be independent It is worked with forward mode in frame, at this point, staff issues cluster to two cluster devices respectively forms instruction, two clusters are set It is standby to form cluster, and conduct an election, it determines host apparatus and slave, new cluster is built with this.Either restart or The process that dilatation is added, all can lead to flow interrupt due to being smoothed between two cluster devices or cause largely to lose The problem of packet.Herein, by addition event be power on restart for be described.
When a cluster device (for example, slave) is due to failure or other reasons power down, in host apparatus response Variation is stated, notifies major network plate to be switched to forward mode in frame by the master control borad of its own, starts to work independently (that is, primary set Standby business cable card board receiving stream amount, by the web plate of itself to another business cable card board converting flow of its own), this When, the flow that the business cable card board of host apparatus receives will not be forwarded in the cluster device of power down (that is, subordinate is set It is standby), ensure that flow can be forwarded normally.
In this course, slave can power on restarting, and power on restart after to host apparatus transmission power on Reboot event.
Include that two cluster devices (LCC1 and LCC2) illustrate with cluster, wherein LCC1 as host apparatus, LCC2 is as slave, when one of cluster device power down (assuming that LCC2 power down), there was only LCC1 in cluster at this time Also working, host apparatus LCC1.It needs to establish with LCC1 again after LCC2 is powered on and restarted and connect.
At this point, the master control borad of LCC1 receives and respond LCC2 powers on reboot event, is controlled and carried out by the master control borad of LCC1 Smoothing processing flow.
Step S102:The master control borad of host apparatus is one by one individually smoothed each exchange plane, until all Exchange plane completes smoothing processing.
It should be noted that for forming two cluster devices of cluster, including exchange plane and control plane.One A exchange plane includes the web plate (alternatively referred to as major network plate) in host apparatus, a web plate in slave (from net Plate) and major network plate and from the data channel formed between web plate.One control plane includes a master control borad of host apparatus (alternatively referred to as main control board), the master control borad (subordinate master control borad) in slave and main control board and from owner The control channel formed between control plate.
In view of between above-mentioned two LCC (i.e. host apparatus and slave), there are multiple exchange planes, in order to avoid collection The flow interrupt of group, the master control borad of LCC1 needs one by one individually to be smoothed each exchange plane, in current exchange Plane is completed smoothing processing and then is smoothed to next exchange plane, until all exchange planes are completed smoothly Processing.
The step of smoothing processing in each exchange plane, is as follows:
Step S1021:Set the operating mode of major network plate to switch mode between frame.
After LCC2 powers on reboot event to LCC1 transmissions, LCC1 is cut the operating mode of major network plate by forward mode in frame It is changed to switch mode between frame, in order to unified from the operating mode of web plate and major network plate, to be attached.
Step S1022:Open major network plate and the corresponding optical fiber interface between web plate.
After the completion of major network plate working mode change, major network plate automatically opens the optical fiber interface being connect from web plate with opposite end, from And be connected to the data channel between LCC1 and LCC2, make major network plate and passed through data channel formation exchange plane from web plate, Again flow is forwarded in a manner of cluster.
Also, in order to effectively judge whether the connection of above-mentioned optical fiber interface is correct, major network plate is being opened with corresponding from net After optical fiber interface between plate, further include:
(1) first step, major network plate obtain the web plate number and interface number from web plate by link layer protocol;Second step, will be upper The web plate number and interface number got in one step be compared with preset connection data, by connecting whether data are unanimously sentenced Whether disconnected optical fiber connection is correct, is determined as that plane inspection state is to pass through when result of the comparison is consistent.
(2) if it is not, when i.e. result of the comparison is inconsistent, then connection error prompt message is sent out.I.e. above-mentioned result of the comparison Connection error prompt message is given when inconsistent, and it is to pass through to force setting plane inspection state, to ensure the smooth place of cluster Reason flow is not interrupted, and user can carry out line adjustment again upon selection.Under normal conditions, for the feelings of LCC2 fault recoveries Condition, line will not generally change, and due to fast quick-recovery and do not interrupt restore flow needs, even if line is problematic It can not also be solved in smoothing processing flow.Unlike the above situation, be added in the cluster new cluster device dilatation at In the smoothing processing flow of cluster, line correctly can must just carry out the next item down operation.
So far, when LCC1 receives when powering on reboot event of LCC2, the exchange to it between LCC2 is flat one by one by LCC1 Face is smoothed, to make the plane that LCC1 is not smoothed can continue to work with forward mode in frame (that is, flow is forwarded along another business cable card board of business cable card board-major network plate-itself of LCC1), turns flow Hair, completes the smoothing processing of all exchange planes by this method, avoid in the prior art whole exchange planes be carried out at the same time it is flat The problem of sliding caused flow interrupt or a large amount of packet losses.
In addition, it is necessary to explanation, either power on restart or dilatation be added, be all finally by host apparatus domination set Group is smoothed.Such as power on restart in the case of, when a cluster device power down, another cluster device can be from Dynamic to be promoted as host apparatus, it will be considered as slave to power on the cluster device restarted.And in the case where dilatation is added, two A cluster device can all think it itself is host apparatus when working independently, in the formation cluster for receiving staff and issuing When instruction, the two is held consultation election, and determines that one is host apparatus according to preset strategy, another as slave, Event is added in the dilatation sent again by host apparatus response slave, is smoothed.
Embodiment 2
An embodiment of the present invention provides a kind of cluster Adding Ways.
According to embodiments of the present invention, a kind of more detailed embodiment of cluster Adding Way is provided, needs to illustrate It is that step shown in the flowchart of the accompanying drawings can execute in the computer system of such as a group of computer-executable instructions, Also, although logical order is shown in flow charts, and it in some cases, can be to be executed different from sequence herein Shown or described step.
Referring to the cluster Adding Way that Fig. 3, the present embodiment are proposed, following steps are specifically included:
Step S201:The master control borad of host apparatus receives and responds the addition event of slave.
In this embodiment, will LCC1 as host apparatus, LCC2 is as slave.This step and above-mentioned step S101 is identical, repeats no more.
Step S202:Host apparatus by sending the first IPC message to slave, with close in slave all from Interface between web plate and business cable card board.
Before determination waits for smooth exchange plane and proceeds by smoothly, the first internet mistake is sent from LCC1 to LCC2 Journey connects (Internet Process Connection, abbreviation IPC) message, closes between web plate and business cable card board Interface.In implementation process, the master control borad of LCC1 can send the first IPC message by the form of multicast.Above-mentioned first IPC message packages Purpose frame number (that is, frame number of LCC2), purpose slot position (that is, slot number of all business cable card boards in LCC2) and message are contained Content.By the first IPC message, all business cable card boards and its corresponding interface between web plate of LCC2 are closed, with The problem of breaking off interruption and the packet loss caused by possible flow forwarding and routing publication.Hereafter, the master control borad of LCC1 executes The smoothing processing of each exchange plane.
Step S203:The master control borad of host apparatus is one by one individually smoothed each exchange plane, until all Exchange plane completes smoothing processing.
Wherein, the step of master control borad of LCC1 is to smoothing processing in each exchange plane is as follows:
Step S2031:Close the flow between the major network plate in the business cable card board and current exchange plane of host apparatus.
There are the relationships that flow interacts, specific business function between the business cable card board and major network plate of LCC1 includes, Major network plate is responsible for exchanging data, and business cable card board is responsible for data traffic processing, that is to say, that for LCC1, is smoothly locating During reason, may still there be flow that can pass through the web plate that is just being smoothed, the problem of this will also result in packet loss.
After cluster is added in LCC2, the master control borad of LCC1 closes the business cable card board of itself and the master in current exchange plane Flow between web plate, capable of effectively reducing LCC2, step S2032 processes or step S2033 processes may be right when being added Influence caused by the above-mentioned flow of LCC1.Wherein, the side of interface on the business cable card board that flow can be by closing LCC1 is closed Formula or the mode for closing major network plate interface on LCC1 are realized, are not limited herein.
Step S2032:Set the operating mode of major network plate to switch mode between frame.
Step S2033:Open major network plate and the corresponding optical fiber interface between web plate.
Step S2032 and step 2033 with above-mentioned step S1021 is identical with step S1022 repeats no more.
Step S2034:Open the flow between the business cable card board and major network plate of host apparatus.
In implementation process, after exchange plane inspection passes through, the master control borad of LCC1 reopens business cable card board and major network Flow between plate, flow can normally forward between business cable card board and major network plate.
Step S204:Host apparatus by sending the 2nd IPC message to slave, with open in slave all from Interface between web plate and business cable card board.
After the completion of all exchange planes are smooth between LCC1 and LCC2, it is logical that the master control borad of LCC1 sends the 2nd IPC message Know that all business cable card boards of LCC2 are opened to all interfaces from web plate, the routing to open LCC2 is issued, so as to reality Now across the normal forwarding of frame flow, so far, cluster recovery is completed, and smoothing processing flow terminates.
View of the above, it will be seen that the master control borad of host apparatus can be by controlling the business cable card board and net of itself Flow close/open opportunity between plate and between the business cable card board and web plate of control slave, in slave plus The packet loss that flow is reduced during entering cluster, to promote the reliability in cluster forming process.This mode can be applicable in The case where cluster is added in the case where being rejoined after cluster device power down and new cluster device dilatation.
Embodiment 3
An embodiment of the present invention provides a kind of cluster smoothing apparatus.The cluster smoothing apparatus is mainly used for executing of the invention real The cluster Adding Way that the above is provided is applied, specific Jie is done to cluster smoothing apparatus provided in an embodiment of the present invention below It continues.
Referring to Fig. 4, cluster smoothing apparatus is present embodiments provided applied to the master control borad in cluster device, cluster device is also Including multiple web plates and multiple business cable card boards;
Master control borad, including:
Communication module 1, the addition event for receiving and responding slave;
Smoothing module 2, for being individually smoothed to each exchange plane one by one, until all exchange planes Complete smoothing processing, wherein an exchange plane include one in a major network plate and slave in host apparatus from Web plate;
The step of smoothing processing, is as follows:
Set the operating mode of major network plate to switch mode between frame;
Open major network plate and the corresponding optical fiber interface between web plate.
In addition, the cluster smoothing apparatus further includes:
Data acquisition module is used for web plate number and interface number of the major network plate by link layer protocol acquisition from web plate.
Data comparison module, for the web plate number got and interface number to be compared with preset connection data.
In addition, the cluster smoothing apparatus further includes:
Data acquisition module is used for web plate number and interface number of the major network plate by link layer protocol acquisition from web plate.
Data comparison module, for the web plate number got and interface number to be compared with preset connection data.
Reminding module, for comparison result be it is inconsistent when, then send out connection error prompt message.
Cluster smoothing apparatus provided in an embodiment of the present invention has identical with the cluster Adding Way that above-described embodiment provides Technical characteristic reach identical technique effect so can also solve identical technical problem.
Embodiment 4
A kind of cluster device is applied to comprising master control borad, multiple web plates and multiple business cable card boards, and master control borad includes storage Device, processor are stored with the computer program that can be run on a processor in memory, which is characterized in that processor executes meter Any of the above-described method is realized when calculation machine program.
In addition, the present embodiment additionally provide a kind of computer of non-volatile program code that can perform with processor can Medium is read, program code makes the method that processor executes any of the above-described.
In addition, in the description of the embodiment of the present invention unless specifically defined or limited otherwise, term " installation ", " phase Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can Can also be electrical connection to be mechanical connection;It can be directly connected, can also indirectly connected through an intermediary, Ke Yishi Connection inside two elements.For the ordinary skill in the art, above-mentioned term can be understood at this with concrete condition Concrete meaning in invention.
In the description of the present invention, it should be noted that term "center", "upper", "lower", "left", "right", "vertical", The orientation or positional relationship of the instructions such as "horizontal", "inner", "outside" be based on the orientation or positional relationship shown in the drawings, merely to Convenient for the description present invention and simplify description, do not indicate or imply the indicated device or element must have a particular orientation, With specific azimuth configuration and operation, therefore it is not considered as limiting the invention.In addition, term " first ", " second ", " third " is used for description purposes only, and is not understood to indicate or imply relative importance.
The computer program production of the remaining table entry processing method of progress, device and electronic equipment that the embodiment of the present invention is provided Product, including store the computer readable storage medium of the executable non-volatile program code of processor, said program code Including instruction can be used for execute previous methods embodiment described in method, specific implementation can be found in embodiment of the method, herein It repeats no more.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided by the present invention, it should be understood that disclosed systems, devices and methods, it can be with It realizes by another way.The apparatus embodiments described above are merely exemplary, for example, the division of the unit, Only a kind of division of logic function, formula that in actual implementation, there may be another division manner, in another example, multiple units or component can To combine or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or beg for The mutual coupling, direct-coupling or communication connection of opinion can be by some communication interfaces, device or unit it is indirect Coupling or communication connection can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in the executable non-volatile computer read/write memory medium of a processor.Based on this understanding, of the invention Technical solution substantially the part of the part that contributes to existing technology or the technical solution can be with software in other words The form of product embodies, which is stored in a storage medium, including some instructions use so that One computer equipment (can be personal computer, server or the network equipment etc.) executes each embodiment institute of the present invention State all or part of step of method.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read- Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with Store the medium of program code.
Finally it should be noted that:Embodiment described above, only specific implementation mode of the invention, to illustrate the present invention Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, it will be understood by those of ordinary skill in the art that:Any one skilled in the art In the technical scope disclosed by the present invention, it can still modify to the technical solution recorded in previous embodiment or can be light It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover the protection in the present invention Within the scope of.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. a kind of cluster Adding Way, which is characterized in that be applied to the cluster comprising at least two cluster devices in, it is described at least Two cluster devices include host apparatus and slave, and each cluster device includes master control borad, multiple web plates and multiple industry Business cable card board, the method includes:
The master control borad of the host apparatus receives and responds the addition event of slave;
The master control borad of the host apparatus is one by one individually smoothed each exchange plane, until all described exchange are put down Complete smoothing processing in face, wherein an exchange plane includes in a major network plate and slave in host apparatus One from web plate;
The step of smoothing processing, is as follows:
Set the operating mode of the major network plate to switch mode between frame;
Open the major network plate and the corresponding optical fiber interface between web plate.
2. according to the method described in claim 1, it is characterized in that, host apparatus master control borad one by one to each exchange plane Before being individually smoothed, further include:
The host apparatus to slave by sending the first IPC message, to close in the slave all from web plate Interface between business cable card board;
After the master control borad of host apparatus is one by one individually smoothed each exchange plane, further include:
The host apparatus to slave by sending the 2nd IPC message, to open in the slave all from web plate Interface between business cable card board.
3. according to the method described in claim 1, it is characterized in that, being set as frame in the operating mode by the major network plate Between before switch mode, further include:
Close the flow between the major network plate in the business cable card board and current exchange plane of the host apparatus;
The major network plate is opened with after the corresponding optical fiber interface between web plate described, further includes:
Open the flow between the business cable card board of the host apparatus and the major network plate.
4. according to the method described in claim 1, it is characterized in that, described open the major network plate with corresponding between web plate Optical fiber interface after, further include:
The major network plate obtains the web plate number and interface number from web plate by link layer protocol;
The web plate number got and the interface number are compared with preset connection data;
When comparison result is inconsistent, then connection error prompt message is sent out.
5. according to the method described in claim 1, it is characterized in that, the addition event powers on for the slave restarts thing Event is added in part or the slave dilatation.
6. a kind of cluster adding apparatus, which is characterized in that the master control borad being applied in cluster device, the cluster device further include Multiple web plates and multiple business cable card boards;
The master control borad, including:
Communication module, the addition event for receiving and responding slave;
Smoothing module, for being individually smoothed to each exchange plane one by one, until all exchange planes Complete smoothing processing, wherein an exchange plane includes one in a major network plate and slave in host apparatus It is a from web plate;
The step of smoothing processing, is as follows:
Set the operating mode of the major network plate to switch mode between frame;
Open the major network plate and the corresponding optical fiber interface between web plate.
7. device according to claim 6, which is characterized in that further include:
Interface closedown module, for the host apparatus by sending the first IPC message to slave, to close the subordinate Whole interface between web plate and business cable card board in equipment;
Interface opens module, for the host apparatus by sending the 2nd IPC message to slave, to open the subordinate Whole interface between web plate and business cable card board in equipment.
8. device according to claim 6, which is characterized in that further include:
Data acquisition module obtains the web plate number and interface number from web plate for the major network plate by link layer protocol;
Data comparison module, for comparing the web plate number got and the interface number with preset connection data Compared with;
Reminding module, for comparison result be it is inconsistent when, then send out connection error prompt message.
9. a kind of cluster device is applied to comprising master control borad, multiple web plates and multiple business cable card boards, the master control borad includes depositing Reservoir, processor are stored with the computer program that can be run on the processor in the memory, which is characterized in that institute It states when processor executes the computer program and realizes any one of claim 1-5 the methods.
10. a kind of computer-readable medium for the non-volatile program code that can perform with processor, which is characterized in that described Program code makes the processor execute any one of claim 1-5 the methods.
CN201810242646.9A 2018-03-22 2018-03-22 Cluster joining method and device and cluster equipment Active CN108667509B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810242646.9A CN108667509B (en) 2018-03-22 2018-03-22 Cluster joining method and device and cluster equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810242646.9A CN108667509B (en) 2018-03-22 2018-03-22 Cluster joining method and device and cluster equipment

Publications (2)

Publication Number Publication Date
CN108667509A true CN108667509A (en) 2018-10-16
CN108667509B CN108667509B (en) 2020-04-14

Family

ID=63782351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810242646.9A Active CN108667509B (en) 2018-03-22 2018-03-22 Cluster joining method and device and cluster equipment

Country Status (1)

Country Link
CN (1) CN108667509B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502470A (en) * 2019-09-09 2019-11-26 中山市天启智能科技有限公司 A kind of cluster server mainboard

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101394309A (en) * 2008-10-29 2009-03-25 华为技术有限公司 Cluster system expanding method, apparatus and cluster system
US7804769B1 (en) * 2005-12-01 2010-09-28 Juniper Networks, Inc. Non-stop forwarding in a multi-chassis router
CN101917337A (en) * 2010-08-09 2010-12-15 中兴通讯股份有限公司 Device and method for interconnecting router cluster middle plates
CN102893564A (en) * 2012-06-21 2013-01-23 华为技术有限公司 Router supporting multi-slot position
CN103117866A (en) * 2011-07-07 2013-05-22 国际商业机器公司 Midplane for blade server management
CN103152266A (en) * 2011-12-07 2013-06-12 华为技术有限公司 Synchronization method among network equipment, network equipment and system
CN105245454A (en) * 2014-07-10 2016-01-13 华为技术有限公司 Flow forwarding method and flow forwarding device for switching system
CN106850724A (en) * 2015-12-07 2017-06-13 中兴通讯股份有限公司 Data push method and device
CN107294790A (en) * 2017-07-21 2017-10-24 郑州云海信息技术有限公司 Controller node fault recovery method in a kind of group system
CN107426635A (en) * 2017-06-29 2017-12-01 北京华为数字技术有限公司 A kind of optical interconnection system
CN107547255A (en) * 2017-06-30 2018-01-05 新华三技术有限公司 Upgrade method, main control board and the group system of group system
CN107547254A (en) * 2017-06-30 2018-01-05 新华三技术有限公司 Processing method, business cable card board and the group system of web plate event

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7804769B1 (en) * 2005-12-01 2010-09-28 Juniper Networks, Inc. Non-stop forwarding in a multi-chassis router
CN101394309A (en) * 2008-10-29 2009-03-25 华为技术有限公司 Cluster system expanding method, apparatus and cluster system
CN101917337A (en) * 2010-08-09 2010-12-15 中兴通讯股份有限公司 Device and method for interconnecting router cluster middle plates
CN103117866A (en) * 2011-07-07 2013-05-22 国际商业机器公司 Midplane for blade server management
CN103152266A (en) * 2011-12-07 2013-06-12 华为技术有限公司 Synchronization method among network equipment, network equipment and system
CN102893564A (en) * 2012-06-21 2013-01-23 华为技术有限公司 Router supporting multi-slot position
CN105245454A (en) * 2014-07-10 2016-01-13 华为技术有限公司 Flow forwarding method and flow forwarding device for switching system
CN106850724A (en) * 2015-12-07 2017-06-13 中兴通讯股份有限公司 Data push method and device
CN107426635A (en) * 2017-06-29 2017-12-01 北京华为数字技术有限公司 A kind of optical interconnection system
CN107547255A (en) * 2017-06-30 2018-01-05 新华三技术有限公司 Upgrade method, main control board and the group system of group system
CN107547254A (en) * 2017-06-30 2018-01-05 新华三技术有限公司 Processing method, business cable card board and the group system of web plate event
CN107294790A (en) * 2017-07-21 2017-10-24 郑州云海信息技术有限公司 Controller node fault recovery method in a kind of group system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502470A (en) * 2019-09-09 2019-11-26 中山市天启智能科技有限公司 A kind of cluster server mainboard

Also Published As

Publication number Publication date
CN108667509B (en) 2020-04-14

Similar Documents

Publication Publication Date Title
CN104281511B (en) Intelligent-platform management interface system, baseboard management controller and implementation method
CN101714109B (en) Method and device for controlling mainboard of double CPU system
CN101917337B (en) Device and method for interconnecting router cluster middle plates
CN101594383B (en) Method for monitoring service and status of controllers of double-controller storage system
CN103532753B (en) A kind of double hot standby method of synchronization of skipping based on internal memory
CN105681077A (en) Fault processing method, device and system
CN101483540A (en) Master-slave switching method in high class data communication equipment
CN101296065A (en) Method and system for improving reliability of redundancy main station
CN105119820B (en) The more example parallel execution systems of Routing Protocol and its method is performed parallel
CN105379213A (en) Dedicated control path architecture for stacked packet switches
WO2016095341A1 (en) Link management method, device and system in virtual machine environment
CN103002065A (en) Method and device for sharing internet protocol (IP) address by host device and standby device
CN104753707B (en) A kind of system maintenance method and the network switching equipment
CN106452873A (en) Control method, control device and processor in software defined network
CN106941424B (en) Redundancy switching method and device based on TTDP protocol
CN109347755A (en) A kind of backup method and system for stack equipment
US8516102B2 (en) Computer managing method
CN108667509A (en) Cluster Adding Way, device and cluster device
CN101267351B (en) Realization method, system and device for online software upgrade based on application architecture
CN104753714A (en) Network device and network service handling method
CN104104594B (en) VSU protocol massages are sent and method of reseptance, equipment and system
CN103401708A (en) Port configuration method and device
CN109684136A (en) A kind of communication construction system of flexible configuration master control
CN101707555B (en) Data interactive method and device in stack system
CN109039754A (en) A kind of management method and device of the network equipment

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