CN101183992A - Equipment management method in stacked system - Google Patents
Equipment management method in stacked system Download PDFInfo
- Publication number
- CN101183992A CN101183992A CNA2007103014985A CN200710301498A CN101183992A CN 101183992 A CN101183992 A CN 101183992A CN A2007103014985 A CNA2007103014985 A CN A2007103014985A CN 200710301498 A CN200710301498 A CN 200710301498A CN 101183992 A CN101183992 A CN 101183992A
- Authority
- CN
- China
- Prior art keywords
- equipment
- main equipment
- main
- notification packet
- management method
- 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
Links
- 238000007726 management method Methods 0.000 title claims abstract description 14
- 238000000034 method Methods 0.000 claims abstract description 9
- 238000002955 isolation Methods 0.000 abstract description 2
- 238000005516 engineering process Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000007257 malfunction Effects 0.000 description 4
- 230000008034 disappearance Effects 0.000 description 2
- 239000012636 effector Substances 0.000 description 2
- 230000001131 transforming effect Effects 0.000 description 2
- 238000011144 upstream manufacturing Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
Abstract
The invention discloses an equipment management method within a stacking system, which comprises the following steps: the main equipment operating inside the stacking system regularly sends announcements and messages of the main equipment, the equipment with equipment numbers of the minimum value and the maximum value is at temporary status at the time of power-up initialization and then judges whether the announcements and messages from the main equipment can be received by the equipment at temporary status during the set-up timing period; if received, the equipment is switched into a standby equipment, and if not, the equipment is switched into the main equipment. Due to adoption of the method, the invention can automatically complete the competition between the main and standby equipments at the establishment of the stacking system according to the operation status of equipment without the manual intervention, and can realize the main and standby switching when the main equipment is invalid in the operation of the stacking system, so as to realize the automatic selection and switching of the stacking members. The invention can also avoid the existence of multiple main or standby equipments in topology and realize the isolation among stacking systems.
Description
Technical field
The Ethernet switch that the present invention relates to data communication field piles up technology, relates in particular to a kind of equipment management method in stacked system.
Background technology
Along with fast development of information technology, network size sharply enlarges, often in the current network planning, be difficult to the network size in future is expected very accurately, when the switch ports themselves lazy weight of planning when satisfying the network application demand, preferably can under the situation that does not change legacy network planning topology, increase the port number of switch, do not increase simultaneously the burden of webmaster again, in order to satisfy above-mentioned requirements, the technology of piling up of switch is arisen at the historic moment, so-called piling up of switch is meant, many stackable switches are coupled together by piling up interface with cable, realize the expansion of separate unit switch ports themselves quantity with this.
The technology of piling up is different from the simple cascade of switch, because the equipment of cascade logically is separate, and many exchange pilings together, and from logic, they are equivalent to same equipment.Therefore, the technology of piling up can increase the port density of switch, and, a pile system only needs an administration portal, increase after the port by piling up, original network topology structure and configuration can be changed, and then the efficient interconnected and unified management of inter-exchange can be realized, significant for the network operation and the management of reality.
Pile system is made up of many stacked switch (stack member) that possess standalone feature, in pile system, need a switch and serve as effector and gerentocratic role in the pile system, be called main equipment, simultaneously, in order to guarantee the stability of pile system, avoid the influence of master-failure to greatest extent to whole pile system, need one and be equipped with equipment, service data and configuration data to pile system are backed up in realtime, and automatically switch into main equipment when master malfunction or disappearance.
In the prior art,, generally adopt manual mode that the function that each stack member will be realized is set for pile system, promptly, adopt the mode of human configuration to manage to the equipment in the pile system, need manual intervention too many like this, the concrete operations flexibility of getting up is too poor.
Summary of the invention
The objective of the invention is to propose a kind of equipment management method in stacked system, automatically the function that realizes equipment room in the pile system is switched, and overcomes in the prior art with this to rely on manual intervention to finish the problem of the very flexible that administrative institute brings to equipment in the pile system.
In order to realize the foregoing invention purpose, the present invention specifically is achieved in that
A kind of equipment management method in stacked system, comprise the steps, the main equipment timed sending main equipment notification packet that in pile system, moves, set device number is in interim state for minimum value and peaked equipment when power-up initializing, judge in the timing cycle of setting then whether the equipment that is in interim state receives the main equipment notification packet, if then switch to equipment fully, otherwise, switch to main equipment.
In described method, the timing cycle that the timing cycle that the device number of the described equipment that is in interim state is set during for minimum value is set during for maximum greater than device number.
In described method, in the fixed time interval of setting, the equipment continuous several times that is equipped with in the pile system is not received the main equipment notification packet, then switches to main equipment;
Described fixed time interval is consistent with the time interval that main equipment sends the main equipment notification packet.
In described method, the described equipment that is equipped with does not receive that the number of times of main equipment notification packet is to determine according to the topological structure and the complexity of pile system.
In described method, the equipment that is equipped with equipment, slave unit and is in interim state in the described pile system is transmitted the main equipment notification packet of receiving;
Described main equipment abandons the main equipment notification packet of receiving.
In described method, when being forwarded or sending, described main equipment notification packet starts a counter;
Described message whenever is sent out or transmits once, and then the value of counter subtracts 1, when the value of counter is zero, then stops forwarding and dropping packets;
Described main equipment notification packet is a unicast message, is sent or is transmitted by the CPU of equipment in the pile system.
Adopt the method for the invention, can be under the situation of not needs manual intervention according to equipment running status, main and standby competition when finishing pile system automatically and setting up, and when pile system moves, the active and standby switchover policy of master malfunction, realize the automatic selection and the switching of stack member, can also avoid existing in the topology situation of a plurality of main equipments or stand-by equipment, and realize the isolation between pile system.
Description of drawings
Fig. 1 is the exemplary stack topological structure schematic diagram that the present invention uses;
Fig. 2 is the realization flow figure of specific embodiments of the invention;
Fig. 3 is an active and standby role transforming schematic diagram in the specific embodiments of the invention.
Embodiment
Below in conjunction with the drawings and specific embodiments the method for the invention is elaborated.
Fig. 1 is the exemplary stack topology diagram that the present invention uses, this is a single annular structure, every switch device (stack member) has two stack ports, connect upstream equipment and upstream device respectively, each switch device has a unique device ID (member number or device number), and A as shown in FIG., B, C, D, E, F are every device ID that equipment is unique.The P25/P11 of the B equipment left and right sides represents the numbering of two stack ports of B equipment among the figure, is respectively 25 and 11.General deviceID number also be digital in the actual pile system, at this in order to distinguish device number and stack port number, with the device number letter representation.
In general, the connection of pile system, mononuclear type structure optimum, it can satisfy the establishment of pile system, and every equipment only need provide 2 stack ports.The annular link can carry out link backup, having under the situation of equipment failure, can move with single-stranded structure, and during actual enforcement, the topology of pile system can be handled flexibly.
Below be elaborated at a specific embodiment of the present invention, Fig. 2 is the realization flow figure of specific embodiments of the invention, when specific implementation, carries out following setting in advance:
Stack member is divided into, main equipment, is equipped with equipment and slave unit, wherein, main equipment (Master) is realized effector and gerentocratic function in pile system; Slave unit (Slave) is realized controlled person and by gerentocratic function in pile system; Being equipped with equipment (Backup) is the alternate device of described main equipment, in order to the identity operation of equipment, automatically switches into main equipment when master malfunction in the pile system or disappearance when in the pile system main equipment being arranged; The main equipment number is 1 in a pile system, and slave unit can be many (limiting case also can be 0), is equipped with number of devices smaller or equal to 1;
For each stack member is specified a unique device number (deviceID), wherein, the member of device number minimum (MinDevid) or device number maximum (MaxDevid) may become main equipment or be equipped with equipment; With device number is that the equipment of the maximum MaxDevid of MinDevid or device number was defined as MasterOrBackup before finishing main and standby competition, be called the equipment that is in interim state, this equipment carries out main and standby competition after carrying out power-up initializing, have only device number to be that minimum value and peaked equipment are just qualified and carry out main and standby competition and active and standby switching.
In pile system; stack member timed sending main equipment notification packet as the Master operation; and transmit by equipment Slave, Backup or MasterOrBackup; and Master receives any main equipment notification packet; all abandon; equipment Slave, Backup determine to be connected with the keep-alive of main equipment by described message, and transmit the main equipment notification packet according to the topological structure of pile system.
Carry out following processing then:
Step 1, device number are that MinDevid and device number are that the MasterOrBackup of MaxDevid carries out power-up initializing;
Step 2 judges that the device number of MasterOrBackup equipment is MaxDevid or MinDevid, if MaxDevid then changes step 3 over to, otherwise changes step 4 over to;
Step 3, device number is the MasterOrBackup of MaxDevid, after electrifying startup is finished, start a timer immediately, if in the timing MaxDevTimer that sets, do not receive the main equipment notification packet, then switch to Master, otherwise, then switch to Backup by the main equipment notification packet if receive;
Step 4, device number is the MasterOrBackup of MinDevid, after electrifying startup is finished, start a timer immediately, if in the timer time MinDevTimer that sets, do not receive the main equipment notification packet, then switch to Master, otherwise, then switch to Backup by the main equipment notification packet if receive;
Wherein, in described step 4, MinDevTimer should be greater than MaxDevTimer, and under the situation that guarantees to power at the same time, device number is that the equipment of MaxDevid has an opportunity prior to device number is that the equipment of MinDevid becomes main equipment.
Step 5, Backup then thinks master malfunction to switch to main equipment if can not receive the main equipment notification packet continuous 5 times in timing.
The number of times that described equipment fully can not receive the main equipment notification packet continuously is relevant with the topological scale and the complexity of actual pile system, and described timing is consistent with the transmission time interval of main equipment notification packet at interval.
Described main equipment notification packet carries the hop count counter, and message whenever is sent out or transmits once, and the value of described counter just subtracts 1, when the value of described counter is zero, then stops forwarding and dropping packets.Described message is unicast message, is sent or is transmitted by the CPU of stack member.
In pile system, if be initialized as MasterOrBackup after described Master or Backup are restarted, change step 2 over to, operate.
Fig. 3 is an active and standby role transforming schematic diagram in the specific embodiments of the invention, as can be seen from the figure, MasterOrBackup equipment can convert Master equipment or Backup equipment to, Master equipment or Backup equipment can convert MasterOrBackup equipment to, Backup equipment can convert Master equipment to, Slave equipment is fixed, and any conversion does not take place.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.
Claims (6)
1. equipment management method in stacked system, the main equipment timed sending main equipment notification packet that moves in pile system is characterized in that:
Set device number is in interim state for minimum value and peaked equipment when power-up initializing, judge in the timing cycle of setting then whether the equipment that is in interim state receives the main equipment notification packet, if then switch to equipment fully, otherwise, switch to main equipment.
2. equipment management method in stacked system as claimed in claim 1 is characterized in that:
The timing cycle that the timing cycle that the device number of the described equipment that is in interim state is set during for minimum value is set during for maximum greater than device number.
3. equipment management method in stacked system as claimed in claim 1 or 2 is characterized in that:
In the fixed time interval of setting, the equipment continuous several times that is equipped with in the pile system is not received the main equipment notification packet, then switches to main equipment;
Described fixed time interval is consistent with the time interval that main equipment sends the main equipment notification packet.
4. equipment management method in stacked system as claimed in claim 3 is characterized in that:
The described equipment that is equipped with does not receive that the number of times of main equipment notification packet is to determine according to the topological structure and the complexity of pile system.
5. equipment management method in stacked system as claimed in claim 3 is characterized in that:
In described method, the equipment that is equipped with equipment, slave unit and is in interim state in the described pile system is transmitted the main equipment notification packet of receiving;
Described main equipment abandons the main equipment notification packet of receiving.
6. equipment management method in stacked system as claimed in claim 5 is characterized in that:
When being forwarded or sending, described main equipment notification packet starts a counter;
Described message whenever is sent out or transmits once, and then the value of counter subtracts 1, when the value of counter is zero, then stops forwarding and dropping packets;
Described main equipment notification packet is a unicast message, is sent or is transmitted by the CPU of equipment in the pile system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007103014985A CN101183992B (en) | 2007-12-28 | 2007-12-28 | Equipment management method in stacked system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007103014985A CN101183992B (en) | 2007-12-28 | 2007-12-28 | Equipment management method in stacked system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101183992A true CN101183992A (en) | 2008-05-21 |
CN101183992B CN101183992B (en) | 2010-06-16 |
Family
ID=39449086
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007103014985A Expired - Fee Related CN101183992B (en) | 2007-12-28 | 2007-12-28 | Equipment management method in stacked system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101183992B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101841735A (en) * | 2009-03-17 | 2010-09-22 | 华为技术有限公司 | Frame-type switch, stack system and fault treatment method after stack |
CN101557307B (en) * | 2009-05-07 | 2011-06-15 | 国电南瑞科技股份有限公司 | Dispatch automation system application state management method |
CN104486251A (en) * | 2014-12-12 | 2015-04-01 | 杭州华三通信技术有限公司 | Campaigning method, equipment and system of master equipment master in intelligent resilient framework IRF |
CN104518995A (en) * | 2013-09-26 | 2015-04-15 | 中国电信股份有限公司 | Switch virtualization system based on distributed architecture |
WO2016106969A1 (en) * | 2014-12-29 | 2016-07-07 | 中兴通讯股份有限公司 | Switching device stacking method and apparatus |
CN107528788A (en) * | 2016-06-20 | 2017-12-29 | 新华三技术有限公司 | Realize the method and apparatus stacked automatically between the network equipment |
CN107547276A (en) * | 2017-08-24 | 2018-01-05 | 新华三技术有限公司 | Automatic stacking method, device, equipment and machinable medium |
CN112073236A (en) * | 2020-09-01 | 2020-12-11 | 深信服科技股份有限公司 | Failure processing method of stacking system, frame switch, stacking system and medium |
WO2023202565A1 (en) * | 2022-04-20 | 2023-10-26 | 华为技术有限公司 | Communication method and apparatus |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1147803C (en) * | 1999-12-29 | 2004-04-28 | 上海龙林通信技术有限公司 | Thermal backup method of IP network equipment |
CN100370740C (en) * | 2004-03-06 | 2008-02-20 | 鸿富锦精密工业(深圳)有限公司 | Management method of stacked switch |
-
2007
- 2007-12-28 CN CN2007103014985A patent/CN101183992B/en not_active Expired - Fee Related
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101841735A (en) * | 2009-03-17 | 2010-09-22 | 华为技术有限公司 | Frame-type switch, stack system and fault treatment method after stack |
CN101557307B (en) * | 2009-05-07 | 2011-06-15 | 国电南瑞科技股份有限公司 | Dispatch automation system application state management method |
CN104518995B (en) * | 2013-09-26 | 2018-09-21 | 中国电信股份有限公司 | Interchanger virtualization system based on distributed structure/architecture |
CN104518995A (en) * | 2013-09-26 | 2015-04-15 | 中国电信股份有限公司 | Switch virtualization system based on distributed architecture |
CN104486251A (en) * | 2014-12-12 | 2015-04-01 | 杭州华三通信技术有限公司 | Campaigning method, equipment and system of master equipment master in intelligent resilient framework IRF |
CN104486251B (en) * | 2014-12-12 | 2017-08-11 | 新华三技术有限公司 | Main equipment master polling method, equipment and system in intelligent elastic framework IRF |
WO2016106969A1 (en) * | 2014-12-29 | 2016-07-07 | 中兴通讯股份有限公司 | Switching device stacking method and apparatus |
CN107528788A (en) * | 2016-06-20 | 2017-12-29 | 新华三技术有限公司 | Realize the method and apparatus stacked automatically between the network equipment |
CN107528788B (en) * | 2016-06-20 | 2020-12-04 | 新华三技术有限公司 | Method and device for realizing automatic stacking between network devices |
CN107547276A (en) * | 2017-08-24 | 2018-01-05 | 新华三技术有限公司 | Automatic stacking method, device, equipment and machinable medium |
CN107547276B (en) * | 2017-08-24 | 2021-06-29 | 新华三技术有限公司 | Automatic stacking method, device, equipment and machine readable storage medium |
CN112073236A (en) * | 2020-09-01 | 2020-12-11 | 深信服科技股份有限公司 | Failure processing method of stacking system, frame switch, stacking system and medium |
CN112073236B (en) * | 2020-09-01 | 2023-09-08 | 深信服科技股份有限公司 | Fault processing method of stacking system, frame type switch, stacking system and medium |
WO2023202565A1 (en) * | 2022-04-20 | 2023-10-26 | 华为技术有限公司 | Communication method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN101183992B (en) | 2010-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101183992B (en) | Equipment management method in stacked system | |
CN100589451C (en) | System management piling method used for Ethernet switchboard | |
CN101160836B (en) | Redundancy protection method for bridge mode resilient packet ring | |
US8000336B2 (en) | Spanning tree root selection in a hierarchical network | |
CN101141404B (en) | Stack system topological management method and topological alteration notifying method | |
CN102082695B (en) | Hot standby redundancy network system and redundancy realization method | |
CN102724030A (en) | Stacking system with high reliability | |
CN101001165A (en) | Network failure recovery method with redundancy port | |
CN101018180A (en) | A method for implementing the forward table in the stack system | |
CN101695043A (en) | Method for multiplexing hot backup port and network system | |
CN101141381B (en) | Network node and method of reducing medium access control address learning in looped network thereof | |
CN101841450B (en) | Method and system for realizing stable communication by forming multiple ring topologies into intersecting ring | |
CN101841432A (en) | Port backup method, device and system for service access router | |
CN102148744A (en) | Method and system for reducing package loss during restarting process of stacking device | |
CN1825832B (en) | Ring rapid spanning tree protocol | |
CN102209035B (en) | Traffic forwarding method and devices | |
CN108702804A (en) | Wireless communication system for industrial automation system, the method and radio transceiver station for its operation | |
CN102546391B (en) | energy efficient networking | |
CN101641915B (en) | Method for reconfiguring a communication network | |
CN101090298B (en) | Setting of RRH base station O&M channel | |
CN101771593B (en) | Ethernet ring network interconnecting method | |
CN102118266A (en) | Industrial Ethernet dual-link redundancy technology | |
CN102281195B (en) | Switch and switch system | |
CN101567892A (en) | Method and device for realizing MSTP multiprocess | |
US20120147785A1 (en) | Method for Establishing Topology Structure of Switching Equipment, Switching Equipment and Stacking System |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100616 |
|
CF01 | Termination of patent right due to non-payment of annual fee |