CN102081540B - Distributed dual-master control network equipment software updating method and device - Google Patents

Distributed dual-master control network equipment software updating method and device Download PDF

Info

Publication number
CN102081540B
CN102081540B CN201110020508.4A CN201110020508A CN102081540B CN 102081540 B CN102081540 B CN 102081540B CN 201110020508 A CN201110020508 A CN 201110020508A CN 102081540 B CN102081540 B CN 102081540B
Authority
CN
China
Prior art keywords
logical device
control board
business
main control
former
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
Application number
CN201110020508.4A
Other languages
Chinese (zh)
Other versions
CN102081540A (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
Hangzhou 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201110020508.4A priority Critical patent/CN102081540B/en
Publication of CN102081540A publication Critical patent/CN102081540A/en
Application granted granted Critical
Publication of CN102081540B publication Critical patent/CN102081540B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a distributed dual-master control network equipment software updating method and a distributed dual-master control network equipment software updating method. The method comprises the following steps of: A, dividing distributed dual-master network equipment into first logical equipment and second logical equipment, wherein the first logical equipment comprises a primary master control board and a first service board group and the second logical equipment comprises a spare master control board and a second service board group; B, setting a software updating version file for the next start of the spare master control board in the second logical equipment to restart the second logical equipment for updating software; and C, after finishing restarting the second logical equipment, setting a software updating version file for the next start of the primary master control board in the first logical equipment to restart the first logical equipment for updating the software. Therefore, the software of distributed dual-master control network equipment is finished updating. The method can remain traffic flow to the maximum in a distributed dual-master control network equipment software updating process.

Description

A kind of distributed dual-master control network equipment software updating method and device
Technical field
The present invention relates to communication technical field, particularly a kind of distributed dual-master control network equipment software updating method and device.
Background technology
The distributed dual master control network equipment is generally comprised of the veneer of main control board, slave control board, business board three types at present.Main control board is for functions such as route calculating, system managements, and business board completes message repeating function.In the operational process of equipment, if main control board breaks down, slave control board can be taken over former main control board and work on, and the switching of main control board and slave control board can not affect service traffics forwarding.The equipment of this architecture has control redundancy, has improved the reliability of equipment, is therefore widely used.
The main control board of the distributed dual master control network equipment and slave control board are identical veneers, on main control board, have storage medium be used for memory device use software, when device start, main control board first loads from storage medium reading software file, after main control board starts, business board loads software version startup from main control board, and to main control board registration, complete alternately start-up course with main control board.Slave control board loads startup file from the storage medium of oneself, carries out alternately with main control board, and in the final stage of startup, from main control board, obtain state and the data of system after starting, and backs up.
When the distributed dual master control network equipment carries out software release upgrade, the software that main control board and slave control board startup next time are first set is upgraded version, and then restarts whole the network equipment.Because the network equipment is comprised of the different veneer of polylith function, the start-up time of whole equipment is longer, and in network equipment start-up course, all functions of the network equipment are all unavailable, causes service traffics to forward and interrupts, and the break period of service traffics is also long.A kind of upgrade method of optimization is: slave control board first moves upgraded version independent startup, then business board and main control board restart, former slave control board becomes main control board, business board obtains upgraded version and loads to new main control board and starts, and after former main control board operation upgraded version starts, becomes slave control board.By the method, upgrade and can save the start-up time of main control board, but need to restart business board in escalation process, service traffics still can be interrupted, especially when system configuration is more, business board completes startup needs the long time, and therefore service traffics also can interrupt the long period.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of distributed dual-master control network equipment software updating method, the method can be in the process of distributed dual-master control network equipment software upgrading retained business flow to greatest extent.
In order to achieve the above object, the invention provides a kind of distributed dual-master control network equipment software updating method, the method comprises the following steps:
A, all business boards in the distributed dual master control network equipment are carried out to multilink bundling, become a data link in logic, and the distributed dual master control network equipment is divided into the first logical device and the second logical device, described the first logical device comprises former main control board and the first business board group, and described the second logical device comprises former slave control board and the second business board group;
B, the second logical device restart carries out software upgrading, and after having restarted, closes all business interfaces in the second logical device;
C, the first logical device start to restart, and the second logical device is recovered described all business interfaces when the first logical device restarts, and former slave control board becomes new main control board; And in the first logical device restart procedure, all business boards in the first business board group load and upgrade from new main control board, former main control board completes software upgrading and becomes new slave control board.
Described in step B, the second logical device restarts the method for carrying out software upgrading and comprises: the main control board that in the reserved memory of all business boards, record starts next time in the second business board group is former slave control board, record upgrading mark in the reserved memory of former slave control board, in the second logical device, in the reserved memory of all veneers, record in the second logical device the slot number of every other veneer except self, the next startup file that former slave control board is set is software upgrading version file, restarts the second logical device; Described veneer comprises all business boards in former slave control board and the second business board group;
The method that described in step C, the first logical device starts to restart comprises: it is software upgrading version file that former main control board startup file next time is set, and restarts the first logical device.
The method that the described main control board that in the reserved memory of all business boards, record starts next time in the second business board group is former slave control board is: the slot number that the slot number of the main control board that in the reserved memory of all business boards, record starts next time in the second business board group is former slave control board.
After described in step B, the second logical device restarts and carries out software upgrading, further comprise before closing all business interfaces in the second logical device: all veneers in the second logical device are set up communication between plates link according to the slot number of every other veneer except self in the second logical device recording in reserved memory separately.
Described in step C, the second logical device is recovered further to comprise after described all business interfaces when the first logical device restarts: remove the data that record in the reserved memory of all veneers in the second logical device.
The present invention also provides a kind of software updating apparatus, and this application of installation is in the software upgrading of the distributed dual master control network equipment, and this device comprises: logical device division unit, storage unit, key control unit;
Described logical device division unit, for all business boards of the distributed dual master control network equipment are carried out to multilink bundling, become a data link in logic, and the distributed dual master control network equipment is divided into and comprises the first logical device of former main control board and the first business board group and comprise the second logical device of former slave control board and the second business board group, and logical device division information is sent to storage unit;
Described storage unit, for the logical device division information receiving and stored logic classification of equipment unit is sent;
Described key control unit, carries out software upgrading for first restarting the second logical device according to the logical device division information of cell stores, and after the second logical device has restarted, closes all business interfaces of the second logical device; After the second logical device has restarted, then restart the first logical device, recover pent all business interfaces of described the second logical device when the first logical device restarts, former slave control board becomes new main control board; And, in the first logical device restart procedure, the all business boards that restart in the first business board group make all business boards in described the first business board group load and carry out software upgrading from new main control board, restart former main control board and complete software upgrading, former main control board becomes new slave control board.
The further storing software update version document of described storage unit;
Described key control unit is when restarting the second logical device and carry out software upgrading, be used for: the slot number that the slot number that the main control board starting next time is set in the reserved memory of all business boards of the second business board group is former slave control board, upgrading mark is set in the reserved memory of former slave control board, the slot number of every other veneer except self is set in the reserved memory of all veneers in the second logical device in the second logical device, software upgrading version file in storage unit is set to the next startup file of former slave control board, restart the second logical device, described veneer comprises all business boards in former slave control board and the second business board group,
Described key control unit, when restarting the first logical device, is set to former main control board startup file next time for: the software upgrading version file of storage unit, restarts the first logical device.
Described key control unit is after the second logical device has restarted, and all business interfaces of closing the second logical device are further used for before: according to the slot number of every other veneer except self in the second logical device arranging in the reserved memory of all veneers in the second logical device, set up communication between plates link.
After described key control unit recovers pent all business interfaces of described the second logical device when the first logical device restarts, be further used for removing the data that record in the reserved memory of all veneers in the second logical device.
As shown from the above technical solution, this distributed network equipment method for upgrading software of the present invention, utilize multilink bundling technology, a distributed apparatus is divided into two virtual units in logic, by bandwidth mean allocation to two virtual unit of bundle link, substep is upgraded to two virtual units, in the process of upgrading, has retained to greatest extent service traffics.
Accompanying drawing explanation
Fig. 1 is that the present invention realizes distributed dual-master control network equipment software updating method process flow diagram;
Fig. 2 is that preferred embodiment of the present invention realizes distributed dual-master control network equipment software updating method process flow diagram;
When Fig. 3 is the distributed dual master control upgrading network equipment shown in Fig. 2, logical device is divided schematic diagram;
Fig. 4 is service traffics schematic diagram in the distributed dual master control upgrading network equipment process shown in Fig. 2;
Fig. 5 is the structural representation of preferred embodiment software updating apparatus of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with the accompanying drawing embodiment that develops simultaneously, the present invention is described in detail.
Main thought of the present invention is: utilize multilink bundling technology, a distributed apparatus is divided into two virtual units in logic, by bandwidth mean allocation to two virtual unit of bundle link, substep is upgraded to two virtual units, in the process of upgrading, has retained to greatest extent service traffics.
In fact, multilink bundling technology is that a kind of interface by multiple encapsulation same link layer protocols is bundled into together, forms the technology of a data link in logic.Multilink bundling mainly contains following three effects:
A, flow load sharing: in/out flow can be shared between multiple member interfaces;
B, increase bandwidth, the bandwidth of multilink bundling interface is the summation of each available member's interface bandwidth.
C, raising connection reliability: when certain member interface breaks down, flow can automatically switch on other available member interfaces, thereby improves the connection reliability of whole bundle link.
In technical scheme of the present invention, the distributed dual master control network equipment need to be supported multilink bundling technology, if can not support multilink bundling technology, distributed dual-master control network equipment software updating method still adopts the method for prior art to realize.In the following examples, suppose distributed dual master control network equipment support multilink bundling technology, all business boards wherein form a data link in logic by multilink bundling.
Referring to Fig. 1, Fig. 1 is that the present invention realizes distributed dual-master control network equipment software updating method process flow diagram; Mainly comprise the following steps:
Step 101, the distributed dual master control network equipment is divided into the first logical device and the second logical device, described the first logical device comprises former main control board and the first business board group, and described the second logical device comprises former slave control board and the second business board group.
Here, the method that the distributed dual master control network equipment is divided into the first logical device and the second logical device is: all business boards in the dual master control network equipment are divided into the first business board group and the second business board group, the logical device of main control board and the first business board group composition is recorded as to the first logical device, the logical device of slave control board and the second business board group composition is recorded as to the second logical device.
In actual applications, the method that all business boards in the dual master control network equipment is divided into the first business board group and the second business board group can be: by managerial personnel according to the bandwidth of the work of all business boards (UP) interface, adopt artificial mode of specifying to divide into groups to all business boards, the bandwidth that makes the bandwidth of all UP interfaces in the first business board group in all bundle links and equal all UP interfaces in the second business board group as far as possible with; Or adopt simple algorithm to divide into groups to all business boards according to the bandwidth of the UP interface of all business boards, simple algorithm described here is the problem of specific implementation, a for example small routine, can make the bandwidth of all UP interfaces in the first business board group in all bundle links and equal as far as possible all UP interfaces in the second business board group bandwidth and.Here the bandwidth of all UP interfaces in the first business board group and equal as far as possible all UP interfaces in the second business board group bandwidth and, be in order the bandwidth of all bundle links to be tried one's best to mean allocation in the first logical device and the second logical device.
Step 102, the second logical device restart carries out software upgrading, and after having restarted, closes all business interfaces in the second logical device.
Here, the second logical device restarts carries out software upgrading and comprises: the main control board that in the reserved memory of all business boards, record starts next time in the second business board group is former slave control board, record upgrading mark in the reserved memory of former slave control board, in the second logical device, in the reserved memory of all veneers, record in the second logical device the slot number of every other veneer except self, the next startup file that former slave control board is set is software upgrading version file, restarts the second logical device; Described veneer comprises all business boards in former slave control board and the second business board group.
In actual applications, after the second logical device restarts and carries out software upgrading, closing all business interfaces in the second logical device also needs to set up before the communication link between all veneers in the second logical device.
Step 103, the first logical device start to restart, and the second logical device is recovered described all business interfaces when the first logical device restarts, and former slave control board becomes new main control board; And in the first logical device restart procedure, the first business board group loads and upgrades from new main control board, former main control board completes software upgrading and becomes new slave control board.
Here, the first logical device starts to restart and comprises: it is software upgrading version file that former main control board startup file next time is set, and restarts the first logical device.
In actual applications, in the process that the first logical device restarts, former main control board carries out software upgrading as new slave control board load software upgrades version from the storage medium of self, join the second logical device, all business boards in the first business board group are also that new main control board load software upgrades version carries out software upgrading from former slave control board, add the second logical device, the first logical device and the second logical device are again as an equipment job.
The present invention is described in detail to lift preferred embodiment below.
Referring to Fig. 2, Fig. 2 is that preferred embodiment of the present invention realizes distributed dual-master control network equipment software updating method process flow diagram, and the method comprises the following steps:
Step 201, the distributed dual master control network equipment is divided into and comprises the first logical device of former main control board and the first business board group and comprise former slave control board and the second logical device of the second business board group.
Step 202, the main control board that in the reserved memory of all business boards, record starts next time in the second business board group are former slave control board, record upgrading mark in the reserved memory of former slave control board records in the second logical device the slot number of every other veneer except self in the second logical device in the reserved memory of all veneers record.
In this step, the described main control board that in the reserved memory of all business boards, record starts next time in the second business board group is that the method for current slave control board is: the slot number that the slot number of the main control board that in the reserved memory of all business boards, record starts next time in the second logical device is current slave control board.The main control board of record startup next time in the reserved memory of all business boards in the second business board group, for when start next time, the main control board that business board started according to the next time of recording in self reserved memory starts from main control board load software upgrades version, while starting, former slave control board will start as main control board next time.
In the reserved memory of master control borad, recording a upgrading mark, is mainly for when former slave control board restarts, and can also in normal work, again as slave control board, not start because of former main control board, but start as main control board; In addition, also need to be in the second logical device record in the second logical device the slot number of every other veneer except self in the reserved memory record of all veneers, described veneer comprises: all business boards in former slave control board and the second business board group.
Step 201,202, what mainly complete is the preliminary work before distributed dual master control upgrading network equipment, and in this process, the service traffics of equipment are still front identical with preparation upgrading, and all business boards are subject to the control of main control board, carry out message repeating.
Step 203, the next startup file that former slave control board is set are software upgrading version file, restart the second logical device.
In this step, after the next startup file of slave control board is set, using the second logical device being formed by slave control board and the second business board group as one independently equipment restart, also start all veneers in the second logical device.
After slave control board in the second logical device is restarted, the slot number of main control board when all business boards in the second logical device started according to the next time of recording in reserved memory, using slave control board as new main control board, from new main control board load software upgrades version, start, and complete the reciprocal processes such as registration, this is same as the prior art, repeats no more.
After the second logical device restarts, according to multilink bundling technology, in the second logical device, the service traffics of all business boards automatically switch in the business board in the first logical device.
All veneers in step 204, the second logical device are set up communication link according to the every other veneer except self in the slot number and the second logical device that record in reserved memory separately.
In this step, because before all veneers of restarting in the second logical device, in the reserved memory of all veneers, recorded in the second logical device the slot number of every other veneer except self, therefore, here, according to other veneers in slot number and second logical device of record, set up communication between plates link, former slave control board be can't see former main control board as new main control board, and the first logical device and the second logical device are independent mutually.
After business board in step 205, the second logical device has started, close business interfaces all in the second logical device.
Before the distributed dual master control network equipment is divided into the first logical device and the second logical device, all business boards have identical configuration, and when dividing after logical device, the configuration of business board is still with originally identical, therefore, after the second logical device has been restarted, as with the second separate logical device of the first logical device in business board likely can with the first logical device in business board produce service conflict, the address conflict for example causing because configuring identical MAC Address, therefore, here, simply the business interface of all business boards in the second logical device is closed, to avoid conflict, after the first logical device, recover again business interface restarting.
Step 206, former main control board startup file next time is set is software upgrading version file, restarts the first logical device.
In this step, former main control board startup file next time is set, restart the first logical device, also restart all veneers in the first logical device, all veneers in first logical device here comprise: all business boards in former main control board and the first logical device in the first logical device.
Pent business interface in step 207, recovery the second logical device, removes the data that record in the reserved memory of all veneers in the second logical device.
In this step, by after all single board startings in the first logical device, recover pent business interface in the second logical device at once, and then recover service traffics, former slave control board becomes the new main control board of the distributed dual master control network equipment.Removing the data that record in the reserved memory of all veneers in the second logical device comprises: remove in the second logical device recording in the reserved memory of all veneers in the slot number, the second logical device of the main control board starting next time of recording in the reserved memory of all business boards in the upgrading mark that records in the reserved memory of former slave control board, the second logical device the slot number of other all veneers except self.
Here, restart in the first logical device after all veneers carry out software upgrading, recover in the second logical device before pent business interface, business board in the first logical device and the second logical device all can not carry out message repeating, therefore, have very of short duration service traffics and interrupt, but with respect to whole escalation process, this break period is negligible.
After step 208, former main control board restart and have upgraded, add the second logical device to become new slave control board, after starting, all business boards in the first logical device from the former slave control board load software upgrades version of the second logical device, add the second logical device.
Here, according to the principle of work of distributed dual master control network, in all single-board starting process in the first logical device, can find that new main control board is in work, therefore, when the former main control board in the first logical device starts, can automatically as new slave control board, start the former slave control board loading upgrading software version that all business boards in the first logical device also can be in trend the second logical device.After the first logic has restarted, former main control board, former slave control board and all business boards are again as an equipment job, and distributed dual master control equipment software upgrading completes.
It should be noted that, in above-mentioned technical scheme, all operation stepss can be by managerial personnel by the mode of input command, for example order relevant to dividing logical device, with device-dependent order of enable logic etc., control the dual master control network equipment complete.
Referring to Fig. 3, when Fig. 3 is the distributed dual master control upgrading network equipment shown in Fig. 2, logical device is divided schematic diagram.Before upgrading, main control board, slave control board, all business boards that represent with slot number move as an equipment.When needs carry out software upgrading to the distributed dual master control network equipment, the logical device that the distributed dual master control network equipment is carried out is divided into: the first business board group of primary main board, slot number 1,2 representatives is divided into the first logical device, the second business board group of slave control board and slot number 3,4 representatives is divided into the second logical device, the bandwidth that makes the bandwidth of all UP interfaces in the first business board group in all bundle links and equal all UP interfaces in the second business board group as far as possible with.
Referring to Fig. 4, Fig. 4 is service traffics schematic diagram in the distributed dual master control upgrading network equipment process shown in Fig. 2.
Before the T1 moment, do the grouping work before distributed dual master control upgrading network equipment, service traffics are unaffected, and maximum traffic flow can reach the bandwidth sum that all business boards of the first logical device and the second logical device can reach, and is equivalent to step 201,202; Here and the business board cited below maximum traffic flow that can reach refer to the max-forwards ability of business board, be also bandwidth.
The T1 moment, in the second logical device, all veneers restart, in T1 arrives the T2 time, all veneers in the second logical device restart upgrading, because all business boards in the second logical device start, service traffics are the maximum traffic flow that in the first logical device, all business boards can reach to the maximum, are equivalent to step 203,204;
The T2 moment, all single board startings in the second logical device complete, at T2, arrive the T3 time, in the first logical device, all veneers restart, because all veneers need to cut out all business interfaces in the second logical device before restarting in the first logical device, in the first logical device, all veneers need to recover the pent business interface in the second logical device at once after restarting, after in the first logical device, all veneers restart, recover in the second logical device before pent business interface, service traffics have of short duration interruption, but with respect to whole escalation process, this break period is negligible, be equivalent to step 205, 206, 207,
In T3 arrives the T4 time, all veneers in the first logical device restart and carry out software upgrading, all normal working of single board in the second logical device, service traffics maximum can reach the maximum traffic flow that in the second logical device, all business boards can reach, and is equivalent to step 208.
In the T4 moment, all veneers in the first logical device complete restarts upgrading, adds the second logical device, and now, maximum traffic flow is restored to the maximum traffic flow sum that all business boards of the first logical device and the second logical device can reach.
Therefore, if the first logical device is identical with the maximum traffic flow of the business board in the second logical device, in the process of upgrading, can keep 50% service traffics, if current service traffics be less than the distributed dual master control network equipment business transfer capability 50%,, in escalation process, current service traffics can not be subject to the impact of escalation process, can complete whole forwarding work.
The present invention gives a kind of software updating apparatus, and this application of installation is in the software upgrading of the distributed dual master control network equipment.
Referring to Fig. 5, Fig. 5 is the structural representation of preferred embodiment software updating apparatus of the present invention, and this device comprises: logical device division unit 501, storage unit 502, key control unit 503; Wherein,
Logical device division unit 501, for the distributed dual master control network equipment is divided into and comprises the first logical device of former main control board and the first business board group and comprise the second logical device of former slave control board and the second business board group, and logical device division information is sent to storage unit 502;
Storage unit 502, for the logical device division information receiving and stored logic classification of equipment unit 501 is sent;
Key control unit 503, restarts the second logical device for the logical device division information of first storing according to storage unit 502 and carries out software upgrading, and after having restarted, close all business interfaces of the second logical device; After the second logical device has restarted, then restart the first logical device, recover pent all business interfaces of described the second logical device when the first logical device restarts, former slave control board becomes new main control board; And, in the first logical device restart procedure, the all business boards that restart in the first business board group make all business boards in described the first business board group load and carry out software upgrading from new main control board, restart former main control board and complete software upgrading, former main control board becomes new slave control board.
The further storing software update version document of described storage unit 502;
Described key control unit 503 is when restarting the second logical device and carry out software upgrading, be used for: it is former slave control board that the main control board starting next time is set in the reserved memory of all business boards of the second business board group, upgrading mark is set in the reserved memory of former slave control board, the slot number of every other veneer except self is set in the reserved memory of all veneers in the second logical device in the second logical device, software upgrading version file in storage unit 502 is set to the next startup file of former slave control board, restart the second logical device, described veneer comprises all business boards in former slave control board and the second business board group, .
Described key control unit 503, when restarting the first logical device, is set to former main control board startup file next time for: the software upgrading version file of storage unit 502, restarts the first logical device.
Described key control unit 503 is after the second logical device has restarted, and all business interfaces of closing the second logical device are further used for before: according to the slot number of every other veneer except self in the second logical device arranging in the reserved memory of all veneers in the second logical device, set up communication between plates link.
After described key control unit 503 recovers pent all business interfaces of described the second logical device when the first logical device restarts, be further used for removing the data that record in the reserved memory of all veneers in the second logical device.
From technical scheme above, the bandwidth of the present invention by mean allocation bundle link is by virtual two equipment that turn in logic of distributed apparatus physically, utilize link redundancy, by the mode of progressively upgrading, the transfer capability of retaining device to greatest extent in escalation process; The availability and the maintainability that have improved equipment, met client's requirement.Use the present invention to upgrade to distributed dual master control equipment software version, the compatibility requirement for the treatment of upgraded version and current operation version is lower, applied widely, and simple to operate.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, be equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.

Claims (7)

1. a distributed dual-master control network equipment software updating method, is characterized in that, the method comprises the following steps:
A, all business boards in the distributed dual master control network equipment are carried out to multilink bundling, become a data link in logic, and the distributed dual master control network equipment is divided into the first logical device and the second logical device, described the first logical device comprises former main control board and the first business board group, and described the second logical device comprises former slave control board and the second business board group;
B, the second logical device restart carries out software upgrading, and after having restarted, closes all business interfaces in the second logical device;
C, the first logical device start to restart, and the second logical device is recovered described all business interfaces when the first logical device restarts, and former slave control board becomes new main control board; And in the first logical device restart procedure, all business boards in the first business board group load and upgrade from new main control board, former main control board completes software upgrading and becomes new slave control board;
Wherein,
Described in step B, the second logical device restarts the method for carrying out software upgrading and comprises: the main control board that in the reserved memory of all business boards, record starts next time in the second business board group is former slave control board, record upgrading mark in the reserved memory of former slave control board, in the second logical device, in the reserved memory of all veneers, record in the second logical device the slot number of every other veneer except self, the next startup file that former slave control board is set is software upgrading version file, restarts the second logical device; Described veneer comprises all business boards in former slave control board and the second business board group;
The method that described in step C, the first logical device starts to restart comprises: it is software upgrading version file that former main control board startup file next time is set, and restarts the first logical device.
2. distributed dual-master control network equipment software updating method as claimed in claim 1, it is characterized in that, the method that the described main control board that in the reserved memory of all business boards, record starts next time in the second business board group is former slave control board is: the slot number that the slot number of the main control board that in the reserved memory of all business boards, record starts next time in the second business board group is former slave control board.
3. distributed dual-master control network equipment software updating method as claimed in claim 2, it is characterized in that, after described in step B, the second logical device restarts and carries out software upgrading, further comprise before closing all business interfaces in the second logical device: all veneers in the second logical device are set up communication between plates link according to the slot number of every other veneer except self in the second logical device recording in reserved memory separately.
4. the distributed dual-master control network equipment software updating method as described in arbitrary claim in claim 1-3, it is characterized in that, the second logical device is recovered further to comprise after described all business interfaces when the first logical device restarts described in step C: remove the data that record in the reserved memory of all veneers in the second logical device.
5. a software updating apparatus, is characterized in that, this application of installation is in the software upgrading of the distributed dual master control network equipment, and this device comprises: logical device division unit, storage unit, key control unit;
Described logical device division unit, for being carried out to multilink bundling, all business boards of the distributed dual master control network equipment become a data link in logic, and the distributed dual master control network equipment is divided into and comprises the first logical device of former main control board and the first business board group and comprise the second logical device of former slave control board and the second business board group, and logical device division information is sent to storage unit;
Described storage unit, for the logical device division information receiving and stored logic classification of equipment unit is sent; For storing software update version document;
Described key control unit, carries out software upgrading for first restarting the second logical device according to the logical device division information of cell stores, and after the second logical device has restarted, closes all business interfaces of the second logical device; After the second logical device has restarted, then restart the first logical device, recover pent all business interfaces of described the second logical device when the first logical device restarts, former slave control board becomes new main control board; And, in the first logical device restart procedure, the all business boards that restart in the first business board group make all business boards in described the first business board group load and carry out software upgrading from new main control board, restart former main control board and complete software upgrading, former main control board becomes new slave control board;
Wherein,
Described key control unit is when restarting the second logical device and carry out software upgrading, be used for: the slot number that the slot number that the main control board starting next time is set in the reserved memory of all business boards of the second business board group is former slave control board, upgrading mark is set in the reserved memory of former slave control board, the slot number of every other veneer except self is set in the reserved memory of all veneers in the second logical device in the second logical device, software upgrading version file in storage unit is set to the next startup file of former slave control board, restart the second logical device, described veneer comprises all business boards in former slave control board and the second business board group,
Described key control unit, when restarting the first logical device, is set to former main control board startup file next time for: the software upgrading version file of storage unit, restarts the first logical device.
6. software updating apparatus as claimed in claim 5, it is characterized in that, described key control unit is after the second logical device has restarted, and all business interfaces of closing the second logical device are further used for before: according to the slot number of every other veneer except self in the second logical device arranging in the reserved memory of all veneers in the second logical device, set up communication between plates link.
7. the software updating apparatus as described in claim as arbitrary in claim 5 to 6, it is characterized in that, described key control unit is further used for recover pent all business interfaces of described the second logical device when the first logical device restarts after: remove the data that record in the reserved memory of all veneers in the second logical device.
CN201110020508.4A 2011-01-18 2011-01-18 Distributed dual-master control network equipment software updating method and device Active CN102081540B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110020508.4A CN102081540B (en) 2011-01-18 2011-01-18 Distributed dual-master control network equipment software updating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110020508.4A CN102081540B (en) 2011-01-18 2011-01-18 Distributed dual-master control network equipment software updating method and device

Publications (2)

Publication Number Publication Date
CN102081540A CN102081540A (en) 2011-06-01
CN102081540B true CN102081540B (en) 2014-04-16

Family

ID=44087519

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110020508.4A Active CN102081540B (en) 2011-01-18 2011-01-18 Distributed dual-master control network equipment software updating method and device

Country Status (1)

Country Link
CN (1) CN102081540B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238093B (en) 2011-08-16 2015-01-28 杭州华三通信技术有限公司 Service interruption prevention method and device
CN103019752B (en) * 2011-09-20 2016-08-03 金蝶软件(中国)有限公司 The upgrade method of application program and device
CN103023673A (en) * 2011-09-21 2013-04-03 中兴通讯股份有限公司 Starting method and apparatus of control units
CN102937925B (en) * 2012-11-01 2015-08-12 中兴通讯股份有限公司 A kind of distributed communication equipment method for upgrading software and system
CN102984055B (en) * 2012-12-03 2015-11-25 杭州华三通信技术有限公司 The soft reboot upgrade method of a kind of ISSU and equipment
CN104702425A (en) * 2013-12-06 2015-06-10 上海斐讯数据通信技术有限公司 Optical line terminal equipment upgrade method
CN104794028B (en) * 2014-01-16 2017-08-08 中国移动通信集团浙江有限公司 A kind of disaster tolerance processing method, device, primary data center and preliminary data center
CN104978208B (en) * 2014-04-14 2020-05-12 新华三技术有限公司 Hot restart method and device thereof
CN104320475B (en) * 2014-10-31 2019-01-18 新华三技术有限公司 A kind of device updating method and device
CN105991678A (en) * 2015-01-30 2016-10-05 杭州迪普科技有限公司 Distributed equipment service processing method, distributed equipment service processing device and distributed equipment
CN107919976A (en) * 2016-10-10 2018-04-17 中兴通讯股份有限公司 Telecommunication apparatus upgrade-system and upgrade method
CN107678764B (en) * 2017-09-30 2020-09-08 杭州迪普科技股份有限公司 Method and device for upgrading VSM system based on ISSU
CN108845822B (en) * 2018-05-28 2022-03-01 烽火通信科技股份有限公司 Memory management method and system for realizing uninterrupted service upgrade of software
CN115378805A (en) * 2022-07-27 2022-11-22 杭州云豆豆智能科技有限公司 Communication equipment and starting method and device thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731696A (en) * 2004-08-06 2006-02-08 华为技术有限公司 System and method for realizing veneer active/standby changeover in communication equipment
CN101827035A (en) * 2010-05-19 2010-09-08 迈普通信技术股份有限公司 Method for ensuring graceful restarting and dual master control network device
CN101888304A (en) * 2009-05-15 2010-11-17 华为技术有限公司 Updating method, device and system for routing equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731696A (en) * 2004-08-06 2006-02-08 华为技术有限公司 System and method for realizing veneer active/standby changeover in communication equipment
CN101888304A (en) * 2009-05-15 2010-11-17 华为技术有限公司 Updating method, device and system for routing equipment
CN101827035A (en) * 2010-05-19 2010-09-08 迈普通信技术股份有限公司 Method for ensuring graceful restarting and dual master control network device

Also Published As

Publication number Publication date
CN102081540A (en) 2011-06-01

Similar Documents

Publication Publication Date Title
CN102081540B (en) Distributed dual-master control network equipment software updating method and device
US8499060B2 (en) Upgrading system software in a chassis without traffic loss
CN107911291B (en) VRRP router switching method, router, VRRP active-standby switch system and storage medium
CN102238093B (en) Service interruption prevention method and device
CN102821044B (en) Method and device for configuring server cluster
CN102244669B (en) Software upgrading method in stacking equipment and stacking equipment
EP3316555B1 (en) Mac address synchronization method, device and system
CN102394914A (en) Cluster brain-split processing method and device
CN101739263A (en) Method and device for realizing operating system update in multi-computer cluster system
WO2016177231A1 (en) Dual-control-based active-backup switching method and device
CN101968744A (en) Intelligent resilient framework (IRF) system-based method and system for upgrading box type equipment
WO2015154525A1 (en) Method and device for protecting hqos using multiple board cards
CN102420767A (en) Method and device for switching forwarding paths, and network equipment
CN111049682B (en) Method, system and central network equipment for realizing uninterrupted service upgrade
CN112087516A (en) Storage upgrading method and device based on Docker virtualization technology
CN111800523A (en) Management method, data processing method and system of virtual machine network
CN105591801B (en) A kind of virtual network function VNF fault handling method and VNF management equipment
CN103200092B (en) A kind of routing daemon management method and equipment based on virtual network device
CN104753714B (en) Method for processing business in the network equipment and network
CN102307113B (en) System upgrading method, system and device
CN109831326B (en) Network equipment control method and network equipment
CN114124803B (en) Device management method and device, electronic device and storage medium
CN102546313B (en) Multi-activation detection method and multi-activation detection device
CN101841428B (en) System hot standby processing method, management board and communication equipment
CN101835067A (en) ASON (Automatic Switch Optical Network) automatic backup method, reduction method and device

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.