CN107453899A - The upgrade method and device of virtual switch unit VSU systems - Google Patents

The upgrade method and device of virtual switch unit VSU systems Download PDF

Info

Publication number
CN107453899A
CN107453899A CN201710609793.0A CN201710609793A CN107453899A CN 107453899 A CN107453899 A CN 107453899A CN 201710609793 A CN201710609793 A CN 201710609793A CN 107453899 A CN107453899 A CN 107453899A
Authority
CN
China
Prior art keywords
main frame
slave
port
ports
upgraded version
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.)
Pending
Application number
CN201710609793.0A
Other languages
Chinese (zh)
Inventor
赖鹏飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks 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 Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN201710609793.0A priority Critical patent/CN107453899A/en
Publication of CN107453899A publication Critical patent/CN107453899A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/22Arrangements for detecting or preventing errors in the information received using redundant apparatus to increase reliability
    • 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/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements

Abstract

The invention discloses a kind of upgrade method and device of VSU systems, this method includes:Upgraded version is synchronized to the main frame and the slave;Indicate that the slave upgrades according to the upgraded version;By in the service switching of the main frame to the slave;After indicating that the main frame upgrades according to the upgraded version, heat adds the slave;The main frame and the slave is notified to carry out hot standby switch;By in the service switching of the slave to the main frame.Program applicability is very strong.

Description

The upgrade method and device of virtual switch unit VSU systems
Technical field
The present invention relates to communication technical field, espespecially a kind of virtual switch unit (Virtual Switching Unit, VSU) the upgrade method and device of system.
Background technology
VSU is a kind of network system virtualization technology, and two group of switches are combined into single virtual switch unit, so as to Simplify network topology, reduce the complexity of network, shorten the time of application recovery and the time of service disconnection, improve Internet resources Utilization rate.As shown in figure 1, interchanger S1 and interchanger S2 composition VSU systems, interchanger S3 and interchanger S4 composition VSU systems System, passes through virtual switch link (Virtual between interchanger S1 and interchanger S2, between interchanger S3 and interchanger S4 Switching Link, VSL) connection, wherein, S5, S6, S7, S8 are other network equipments in network topology.Sometimes it is because soft The failure of part version or regularly release maintenance to VSU systems, it is necessary to upgrade.
According to existing VSU method for upgrading system, the slave of VSU systems first upgrades, and heat adds VSU systems, VSU after restarting The main frame and slave hot standby switch of system, slave before are changed into main frame, and main frame before is changed into slave, and the slave after switching is again Upgrading, heat adds VSU systems after restarting.
In the above method, due to slave needed during upgrading heat add VSU systems, this require existing version and Upgraded version must be very close, if existing version and upgraded version differ greatly, slave can not be built after upgrading with main frame Vertical VSU systems, this may result in VSU upgrading failures.Therefore, the upgrade method applicability of above-mentioned VSU systems is very poor.
The content of the invention
The embodiment of the present invention provides a kind of upgrade method and device of VSU systems, to solve the upgrading of existing VSU systems The problem of applicability is very poor present in method.
According to embodiments of the present invention, there is provided a kind of upgrade method of VSU systems, the VSU systems include main frame and slave, Methods described is applied in SDN controllers, and methods described includes:
Upgraded version is synchronized to the main frame and the slave;
Indicate that the slave upgrades according to the upgraded version;
By in the service switching of the main frame to the slave;
After indicating that the main frame upgrades according to the upgraded version, heat adds the slave;
The main frame and the slave is notified to carry out hot standby switch;
By in the service switching of the slave to the main frame.
Specifically, indicating that the slave upgrades according to the upgraded version, specifically include:
To the slave issue other port shutdowns instruction so that the slave close except the first outband management port it The intermediate configurations information of the slave is preserved after first outer other ports, first other ports include the first first line of a couplet end Mouth, the first second line of a couplet port and the first virtual switch link VSL ports;
Issue upgrade command to the slave so that the slave according to the upgraded version upgrade after according to the slave Intermediate configurations information restart.
Specifically, by the service switching of the main frame to the slave, specifically include:
The flow table of the main frame is synchronized to the slave;
The instruction of other port opens is issued to the slave, so that the slave opens first other ports, and passes through institute State after first other ports receive the business of the main frame and the business of the main frame is handled according to the flow table of the main frame.
Specifically, after indicating that the main frame upgrades according to the upgraded version, heat adds the slave, specifically includes:
To the main frame issue other port shutdowns instruction so that the main frame close except the second outband management port it The intermediate configurations information of the main frame is preserved after second outer other ports, second other ports include the second first line of a couplet end Mouth, the second second line of a couplet port and the 2nd VSL ports;
Issue upgrade command to the main frame so that the main frame upgraded according to the upgraded version after according to described in The intermediate configurations information of main frame is restarted;
The instruction of VSL port opens is issued to the main frame, so that the main frame opens the 2nd VSL ports;
Heating adds instruction under to the main frame, so that main frame heat adds the slave;
Issue the instruction of upper and lower port open to the main frame so that the main frame open second first line of a couplet port and Second second line of a couplet port.
Specifically, the slave is specifically included in service switching to the main frame:
The instruction of original configuration Information recovering is issued to the main frame and slave, so that the slave recovers the original of the slave Beginning configuration information, and make the original configuration information of the main frame recovery main frame, and other ports connect by described second Handled after receiving the business of the slave.
Optionally, in addition to:
Calculate the first check value of the upgraded version;
First check value is synchronized to the main frame and the slave, so that the main frame and the slave are counted respectively The second check value of the upgraded version is calculated, and it is determined that first check value is consistent with second check value to distinguish root afterwards Upgraded according to the upgraded version.
According to embodiments of the present invention, a kind of update device of VSU systems is also provided, the VSU systems include main frame and from Machine, described device are applied in SDN controllers, and described device includes:
First synchronization module, for upgraded version to be synchronized into the main frame and the slave;
First indicating module, for indicating that the slave upgrades according to the upgraded version;
First handover module, for by the service switching of the main frame to the slave;
Second indicating module, after indicating that the main frame upgrades according to the upgraded version, heat adds the slave;
Notification module, for notifying the main frame and the slave to carry out hot standby switch;
Second handover module, for by the service switching of the slave to the main frame.
Specifically, first indicating module, is specifically used for:
To the slave issue other port shutdowns instruction so that the slave close except the first outband management port it The intermediate configurations information of the slave is preserved after first outer other ports, first other ports include the first first line of a couplet end Mouth, the first second line of a couplet port and the first virtual switch link VSL ports;
Issue upgrade command to the slave so that the slave according to the upgraded version upgrade after according to the slave Intermediate configurations information restart.
Specifically, first handover module, is specifically used for:
The flow table of the main frame is synchronized to the slave;
The instruction of other port opens is issued to the slave, so that the slave opens first other ports, and passes through institute State after first other ports receive the business of the main frame and the business of the main frame is handled according to the flow table of the main frame.
Specifically, second indicating module, is specifically used for:
To the main frame issue other port shutdowns instruction so that the main frame close except the second outband management port it The intermediate configurations information of the main frame is preserved after second outer other ports, second other ports include the second first line of a couplet end Mouth, the second second line of a couplet port and the 2nd VSL ports;
Issue upgrade command to the main frame so that the main frame upgraded according to the upgraded version after according to described in The intermediate configurations information of main frame is restarted;
The instruction of VSL port opens is issued to the main frame, so that the main frame opens the 2nd VSL ports;
Heating adds instruction under to the main frame, so that main frame heat adds the slave;
Issue the instruction of upper and lower port open to the main frame so that the main frame open second first line of a couplet port and Second second line of a couplet port.
Specifically, second handover module, is specifically used for:
The instruction of original configuration Information recovering is issued to the main frame and slave, so that the slave recovers the original of the slave Beginning configuration information, and make the original configuration information of the main frame recovery main frame, and other ports connect by described second Handled after receiving the business of the slave.
Optionally, in addition to:
Computing module, for calculating the first check value of the upgraded version;
Second synchronization module, for first check value to be synchronized into the main frame and the slave, so that the master Machine and the slave calculate the second check value of the upgraded version respectively, and it is determined that first check value and described second Upgraded respectively according to the upgraded version after check value is consistent.
The present invention has the beneficial effect that:
The embodiment of the present invention provides a kind of upgrade method and device of VSU systems, the VSU systems include main frame and from Machine, methods described are applied in SDN controllers, and upgraded version is synchronized into the main frame and the slave;Indicate the slave Upgraded according to the upgraded version;By in the service switching of the main frame to the slave;Indicate the main frame according to the liter After level edition upgrading, heat adds the slave;The main frame and the slave is notified to carry out hot standby switch;By the industry of the slave Business is switched on the main frame.In the program, main frame and the slave upgrading in VSU systems, escalation process are controlled by controller Independent of main frame and the existing version and upgraded version of slave, even if the existing version and upgraded version difference of main frame and slave It is larger, it can also be smoothed out upgrading, therefore, applicability is very strong;Also, after slave has upgraded, controller can be by main frame To slave processing, main frame upgrades again for service switching, and after main frame completes upgrading, then by service switching to host process, this is ensured that Business is not interrupted, that is to say, that in the case of not suspension, completes the upgrading of VSU systems.
Brief description of the drawings
Fig. 1 is the schematic diagram of VSU systematic differences scene in the prior art;
Fig. 2 is a kind of flow chart of the upgrade method of VSU systems in the embodiment of the present invention;
Fig. 3 is the flow chart of S22 in the embodiment of the present invention;
Fig. 4 is the flow chart of S23 in the embodiment of the present invention;
Fig. 5 is the flow chart of S24 in the embodiment of the present invention;
Fig. 6 is a kind of structural representation of the update device of VSU systems in the embodiment of the present invention.
Embodiment
The problem of applicability present in upgrade method for existing VSU systems is very poor, the embodiment of the present invention provide one The upgrade method of kind VSU systems, VSU systems include main frame and slave, and this method can be, but not limited to apply in software defined network In network (Software Defined Network, SDN) controller.The flow of this method is as shown in Fig. 2 execution step is as follows:
S21:Upgraded version is synchronized to main frame and slave.
S22:Instruction slave upgrades according to upgraded version.
S23:By in the service switching of main frame to slave.
S24:After instruction main frame upgrades according to upgraded version, heat adds slave.
S25:Main frame and slave is notified to carry out hot standby switch.
S26:By in the service switching of slave to main frame.
In the program, main frame and the slave upgrading in VSU systems are controlled by controller, escalation process is independent of main frame With the existing version and upgraded version of slave, even if the existing version and upgraded version of main frame and slave differ greatly, also can It is smoothed out upgrading, therefore, applicability is very strong;Also, after slave has upgraded, controller can by the service switching of main frame to from Machine processing, main frame upgrades again, and after main frame completes upgrading, then by service switching to host process, this ensures that business is not interrupted, That is in the case of not suspension, the upgrading of VSU systems is completed.
Specifically, indicating that slave upgrades according to upgraded version in above-mentioned S22, implementation process is as shown in figure 3, specifically include:
S221:Other port shutdowns instruction is issued to slave, so that slave is being closed in addition to the first outband management port First other ports after preserve slave intermediate configurations information.
In the prior art, during VSU system upgrades, main frame and slave are not turned off any port, and in present example, Controller can send other port shutdowns instruction to slave, close other ports in addition to outband management port from chance, band is outer Management port needs to be used to be communicated with controller, therefore, can not close.In order to which the business after VSU system upgrades is normally entered OK, slave also needs to preserve configuration information now, and because the port status of slave changes, configuration information now is relative Changed in original configuration information, therefore, configuration information now can be defined as intermediate configurations information.
For the ease of distinguishing, the outband management port definition of slave is the first outband management port, other ports of slave First other ports are defined as, first other ports include the first first line of a couplet port, the first second line of a couplet port and the first VSL ports.Such as Shown in Fig. 1, it is assumed that interchanger S2 and interchanger S4 is slave, then interchanger S2, interchanger S4 the first first line of a couplet port are and friendship To change planes S5, the port of interchanger S6 connections, interchanger S2 the first second line of a couplet port is the port being connected with P1, the of interchanger S4 One second line of a couplet port is the port being connected with P2.
S222:Issue upgrade command to slave so that slave upgraded according to upgraded version after according to the intermediate configurations of slave Information is restarted.
Slave closes first other ports in addition to the first outband management port, preserves the intermediate configurations information of slave Afterwards, controller can issue upgrade command to slave, after slave receives the upgrade command, according to the upgraded version received before Upgraded, and restarted, so that upgraded version comes into force.
It can realize that controller indicates that slave is upgraded according to upgraded version by S221 and S222.
Specifically, by the service switching of main frame to slave in above-mentioned S23, implementation process is as shown in figure 4, specifically include:
S231:The flow table of main frame is synchronized to slave.
Flow table all on main frame, therefore, controller will be must have in the service switching of main frame to slave, on slave The flow table of main frame can be collected, and the flow table is synchronized to slave.
S232:To slave issue other port opens instruction so that slave open first other ports, and by first its The business of main frame is handled according to the flow table of main frame after the business of his port Receiving Host.
After the flow table of main frame is synchronized into slave, the instruction of other port opens can be issued to slave, slave receives it After his port open instruction, first other ports are opened, and by the business of first other port Receiving Hosts, and located Reason.
Wherein it is possible to the business by the first second line of a couplet port Receiving Host in first port.
By S231-S232 controller can be realized in the service switching of main frame to slave.
Specifically, after above-mentioned S24 instructions main frame upgrades according to upgraded version, heat adds slave, implementation process such as Fig. 5 institutes Show, specifically include:
S241:Other port shutdowns instruction is issued to main frame, so that main frame is being closed in addition to the second outband management port Second other ports after preserve main frame intermediate configurations information.
In the prior art, during VSU system upgrades, main frame and slave are not turned off any port, and in present example, Controller can send other port shutdowns instruction to main frame, and main frame can close other ports in addition to outband management port, and band is outer Management port needs to be used to be communicated with controller, therefore, can not close.In order to which the business after VSU system upgrades is normally entered OK, main frame also needs to preserve configuration information now, because the port status of main frame has occurred and that change, configuration information now Changed relative to original configuration information, therefore, configuration information now can be defined as intermediate configurations information.
For the ease of distinguishing, the outband management port definition of main frame is the second outband management port, other ports of main frame Second other ports are defined as, second other ports include the second first line of a couplet port, the second second line of a couplet port and the 2nd VSL ports.Such as Shown in Fig. 1, it is assumed that interchanger S1 and interchanger S3 is slave, then interchanger S1, interchanger S3 the second first line of a couplet port are and friendship To change planes S5, the port of interchanger S6 connections, interchanger S1 the second second line of a couplet port is the port being connected with P1, the of interchanger S3 Two second line of a couplet ports are the ports being connected with P2.
S242:Issue upgrade command to main frame so that main frame upgraded according to upgraded version after according to the centre of main frame Configuration information is restarted.
In second other ports of the Host Shutdown in addition to the second outband management port, the intermediate configurations information of main frame is preserved Afterwards, controller issues upgrade command to main frame, after main frame receives upgrade command, according to the upgraded version liter received before Level, then restarts, so that upgraded version comes into force.
S243:The instruction of VSL port opens is issued to main frame, so that main frame opens the 2nd VSL ports.
Second other port due to Host Shutdown, therefore, after main frame completes upgrading, controller issues VSL to main frame Port open instructs, and after main frame receives the instruction of VSL port opens, opens the 2nd VSL ports.
S244:Heating adds instruction under to main frame, so that main frame heat adds slave.
After main frame opens the 2nd VSL ports, main frame can with slave communicate, and now, controller is to main frame Lower heating adds instruction, and after main frame receives heat addition instruction, heat adds slave, main frame and slave machine VSU systems.At this moment VSU systems in, the role of main frame is from the role of slave is main.
S245:Upper and lower port open instruction is issued to main frame, so that main frame opens the second first line of a couplet port and second second line of a couplet Port.
After main frame and slave machine VSU systems, controller issues upper and lower port open to main frame and instructed, and main frame receives After being instructed to upper and lower port open, the second first line of a couplet port and the second second line of a couplet port are opened.So far, it is possible to achieve controller refers to After showing that main frame upgrades according to upgraded version, heat adds slave.
Correspondingly, in above-mentioned S25 by slave by service switching to main frame, implementation process specifically includes:To main frame and from Machine issues the instruction of original configuration Information recovering, so that slave recovers the original configuration information of slave, and main frame is recovered main frame Original configuration information, and handled after receiving the business of slave by second other ports.
In S244, after main frame and slave machine VSU systems, the role of main frame be from, the role of slave is main, in order that Main frame and slave recover the state to upgrading, and therefore, controller issues the instruction of original configuration Information recovering to main frame and slave, Because main frame and slave can all preserve respective original configuration information, therefore, main frame and slave can recover what is each preserved Original configuration information, and main frame can be handled after the business by second other ports reception slave.It is wherein it is possible to logical The second second line of a couplet port crossed in second other ports receives the business of slave.
Optionally, in order to ensure the upgraded version on controller is consistent with the upgraded version on main frame, slave, controller is also Including:Calculate the first check value of upgraded version;First check value is synchronized to main frame and slave, so that main frame and slave difference The second check value of upgraded version is calculated, and it is determined that respectively according to upgraded version after the first check value is consistent with the second check value Upgraded.
The check value of upgraded version can be, but not limited to as Message Digest Algorithm 5 (Message Digest Algorithm, MD5) value, the check value that controller calculates is defined as the first check value, and what main frame and slave calculated should Check value is defined as the second check value.First check value can be sent to main frame and slave by controller, can be with upgraded version Send, can also individually send together, main frame and slave can calculate the second check value respectively, it is then determined that calculate second Whether check value is identical with the first check value, if identical, main frame and slave determine the liter of current upgraded version and controller Level version is consistent, then can be upgraded according to the upgraded version;If it is different, then main frame and slave determine current upgraded version It is inconsistent with the upgraded version of controller, it can be upgraded again after newly upgraded version is obtained from controller.
Optionally, after VSU systems complete upgrading, controller can also further confirm that the upgraded version of main frame and slave It is whether consistent, specifically include:Obtain the first version mark of the upgraded version of main frame and the second edition of the upgraded version of slave Mark;It is identical to determine that first version mark identifies whether with the second edition;If first version mark is identical with second edition mark, Then determine that main frame is consistent with the upgraded version of slave.
Upgraded version has a version identifier (Identification, ID), and the version identifier of the upgraded version of main frame can be with It is defined as first version mark, the version identifier of the upgraded version of slave can be defined as second edition mark, and controller can be with By determine first version mark and the second edition identify whether it is identical determine whether the upgraded version of main frame and slave consistent, If first version is identified with second edition mark unanimously, illustrate that main frame is consistent with the upgraded version of slave;If first version identifies It is inconsistent with second edition mark, illustrate that the upgraded version of main frame and slave is inconsistent, now need to re-execute above-mentioned VSU systems The escalation process of system, to ensure that VSU is upgraded successfully.
Based on same inventive concept, the embodiment of the present invention also provides a kind of update device of VSU systems, and VSU systems include Main frame and slave, the device can be applied in the controller, and the structure of the device is as shown in fig. 6, specifically include:
First synchronization module 61, for upgraded version to be synchronized into main frame and slave;
First indicating module 62, for indicating that slave upgrades according to upgraded version;
First handover module 63, for by the service switching of main frame to slave;
Second indicating module 64, after indicating that main frame upgrades according to upgraded version, heat adds slave;
Notification module 65, for notifying main frame and slave to carry out hot standby switch;
Second handover module 66, for by the service switching of slave to main frame.
In the program, main frame and the slave upgrading in VSU systems are controlled by controller, escalation process is independent of main frame With the existing version and upgraded version of slave, even if the existing version and upgraded version of main frame and slave differ greatly, also can It is smoothed out upgrading, therefore, applicability is very strong;Also, after slave has upgraded, controller can by the service switching of main frame to from Machine processing, main frame upgrades again, and after main frame completes upgrading, then by service switching to host process, this ensures that business is not interrupted, That is in the case of not suspension, the upgrading of VSU systems is completed.
Specifically, the first indicating module 62, is specifically used for:
Other port shutdowns instruction is issued to slave, so that slave is closing first in addition to the first outband management port The intermediate configurations information of slave is preserved after other ports, first other ports include the first first line of a couplet port, the first second line of a couplet port With the first VSL ports;
Issue upgrade command to slave so that slave upgraded according to upgraded version after according to the intermediate configurations information weight of slave Open.
Specifically, the first handover module 63, is specifically used for:
The flow table of main frame is synchronized to slave;
The instruction of other port opens is issued to slave, so that slave opens first other ports, and passes through first other ends The business of main frame is handled according to the flow table of main frame after the business of mouth Receiving Host.
Specifically, the second indicating module 64, is specifically used for:
Other port shutdowns instruction is issued to main frame, so that main frame is closing second in addition to the second outband management port The intermediate configurations information of main frame is preserved after other ports, second other ports include the second first line of a couplet port, the second second line of a couplet port With the 2nd VSL ports;
Upgrade command is issued to main frame, so that main frame is believed after being upgraded according to upgraded version according to the intermediate configurations of main frame Breath is restarted;
The instruction of VSL port opens is issued to main frame, so that main frame opens the 2nd VSL ports;
Heating adds instruction under to main frame, so that main frame heat adds slave;
Upper and lower port open instruction is issued to main frame, so that main frame opens the second first line of a couplet port and the second second line of a couplet port.
Specifically, the second handover module 66, is specifically used for:
The instruction of original configuration Information recovering is issued to main frame and slave, so that slave recovers the original configuration information of slave, And main frame is recovered the original configuration information of main frame, and handled after receiving the business of slave by second other ports.
Optionally, in addition to:
Computing module, for calculating the first check value of upgraded version;
Second synchronization module, for the first check value to be synchronized into main frame and slave, so that main frame and slave calculate respectively Second check value of upgraded version, and after it is determined that the first check value is consistent with the second check value, risen according to upgraded version Level.
Optionally, in addition to:
Acquisition module, for the first version mark and the second edition of the upgraded version of slave of the upgraded version for obtaining main frame This mark;
First determining module, for determining that it is identical that first version mark identifies whether with the second edition;
Second determining module, if being identified for first version identical with second edition mark, it is determined that main frame and slave Upgraded version is consistent.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Although having been described for the alternative embodiment of the present invention, those skilled in the art once know basic creation Property concept, then can make other change and modification to these embodiments.So be intended to be construed to include can for appended claims Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification without departing from this hair to the embodiment of the present invention The spirit and scope of bright embodiment.So, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention And its within the scope of equivalent technologies, then the present invention is also intended to comprising including these changes and modification.

Claims (12)

1. a kind of upgrade method of virtual switch unit VSU systems, the VSU systems include main frame and slave, and methods described should In software defined network SDN controllers, it is characterised in that methods described includes:
Upgraded version is synchronized to the main frame and the slave;
Indicate that the slave upgrades according to the upgraded version;
By in the service switching of the main frame to the slave;
After indicating that the main frame upgrades according to the upgraded version, heat adds the slave;
The main frame and the slave is notified to carry out hot standby switch;
By in the service switching of the slave to the main frame.
2. the method as described in claim 1, it is characterised in that indicate that the slave upgrades according to the upgraded version, specifically Including:
Other port shutdowns instruction is issued to the slave, so that the slave is being closed in addition to the first outband management port Preserve the intermediate configurations information of the slave after first other ports, first other ports include the first first line of a couplet port, First second line of a couplet port and the first virtual switch link VSL ports;
Issue upgrade command to the slave so that the slave according to the upgraded version upgrade after according in the slave Between configuration information restart.
3. the method as described in claim 1, it is characterised in that by the service switching of the main frame to the slave, specifically Including:
The flow table of the main frame is synchronized to the slave;
The instruction of other port opens is issued to the slave, so that the slave opens first other ports, and passes through described the One other ports are handled the business of the main frame after receiving the business of the main frame according to the flow table of the main frame.
4. the method as described in claim 1, it is characterised in that after indicating that the main frame upgrades according to the upgraded version, heat The slave is added, is specifically included:
Other port shutdowns instruction is issued to the main frame, so that the main frame is being closed in addition to the second outband management port Preserve the intermediate configurations information of the main frame after second other ports, second other ports include the second first line of a couplet port, Second second line of a couplet port and the 2nd VSL ports;
Issue upgrade command to the main frame so that the main frame upgraded according to the upgraded version after according to the main frame Intermediate configurations information restart;
The instruction of VSL port opens is issued to the main frame, so that the main frame opens the 2nd VSL ports;
Heating adds instruction under to the main frame, so that main frame heat adds the slave;
The instruction of upper and lower port open is issued to the main frame, so that the main frame opens second first line of a couplet port and described Second second line of a couplet port.
5. method as claimed in claim 4, it is characterised in that by the slave by service switching to the main frame, specifically Including:
The instruction of original configuration Information recovering is issued to the main frame and slave, is matched somebody with somebody so that the slave recovers the original of slave Confidence ceases, and the main frame is recovered the original configuration information of the main frame, and receives institute by described second other ports Handled after stating the business of slave.
6. the method as described in claim 1-5 is any, it is characterised in that also include:
Calculate the first check value of the upgraded version;
First check value is synchronized to the main frame and the slave, so that the main frame and the slave calculate institute respectively The second check value of upgraded version is stated, and it is determined that respectively according to institute after first check value is consistent with second check value Upgraded version is stated to be upgraded.
7. a kind of update device of VSU systems, the VSU systems include main frame and slave, and described device is applied in SDN controllers In, it is characterised in that described device includes:
First synchronization module, for upgraded version to be synchronized into the main frame and the slave;
First indicating module, for indicating that the slave upgrades according to the upgraded version;
First handover module, for by the service switching of the main frame to the slave;
Second indicating module, after indicating that the main frame upgrades according to the upgraded version, heat adds the slave;
Notification module, for notifying the main frame and the slave to carry out hot standby switch;
Second handover module, for by the service switching of the slave to the main frame.
8. device as claimed in claim 7, it is characterised in that first indicating module, be specifically used for:
Other port shutdowns instruction is issued to the slave, so that the slave is being closed in addition to the first outband management port Preserve the intermediate configurations information of the slave after first other ports, first other ports include the first first line of a couplet port, First second line of a couplet port and the first virtual switch link VSL ports;
Issue upgrade command to the slave so that the slave according to the upgraded version upgrade after according in the slave Between configuration information restart.
9. device as claimed in claim 7, it is characterised in that first handover module, be specifically used for:
The flow table of the main frame is synchronized to the slave;
The instruction of other port opens is issued to the slave, so that the slave opens first other ports, and passes through described the One other ports are handled the business of the main frame after receiving the business of the main frame according to the flow table of the main frame.
10. device as claimed in claim 7, it is characterised in that second indicating module, be specifically used for:
Other port shutdowns instruction is issued to the main frame, so that the main frame is being closed in addition to the second outband management port Preserve the intermediate configurations information of the main frame after second other ports, second other ports include the second first line of a couplet port, Second second line of a couplet port and the 2nd VSL ports;
Issue upgrade command to the main frame so that the main frame upgraded according to the upgraded version after according to the main frame Intermediate configurations information restart;
The instruction of VSL port opens is issued to the main frame, so that the main frame opens the 2nd VSL ports;
Heating adds instruction under to the main frame, so that main frame heat adds the slave;
The instruction of upper and lower port open is issued to the main frame, so that the main frame opens second first line of a couplet port and described Second second line of a couplet port.
11. device as claimed in claim 10, it is characterised in that second handover module, be specifically used for:
The instruction of original configuration Information recovering is issued to the main frame and slave, is matched somebody with somebody so that the slave recovers the original of slave Confidence ceases, and the main frame is recovered the original configuration information of the main frame, and receives institute by described second other ports Handled after stating the business of slave.
12. the device as described in claim 7-11 is any, it is characterised in that also include:
Computing module, for calculating the first check value of the upgraded version;
Second synchronization module, for first check value to be synchronized into the main frame and the slave so that the main frame and The slave calculates the second check value of the upgraded version respectively, and it is determined that first check value and the described second verification Upgraded respectively according to the upgraded version after value is consistent.
CN201710609793.0A 2017-07-25 2017-07-25 The upgrade method and device of virtual switch unit VSU systems Pending CN107453899A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710609793.0A CN107453899A (en) 2017-07-25 2017-07-25 The upgrade method and device of virtual switch unit VSU systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710609793.0A CN107453899A (en) 2017-07-25 2017-07-25 The upgrade method and device of virtual switch unit VSU systems

Publications (1)

Publication Number Publication Date
CN107453899A true CN107453899A (en) 2017-12-08

Family

ID=60487265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710609793.0A Pending CN107453899A (en) 2017-07-25 2017-07-25 The upgrade method and device of virtual switch unit VSU systems

Country Status (1)

Country Link
CN (1) CN107453899A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109104333A (en) * 2018-08-21 2018-12-28 杭州安恒信息技术股份有限公司 The synchronous method and device of distributed type assemblies based on GIT

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103412771A (en) * 2013-07-29 2013-11-27 福建星网锐捷网络有限公司 Software upgrading processing method, device and system
US9253026B2 (en) * 2013-12-18 2016-02-02 International Business Machines Corporation Software-defined networking disaster recovery
CN105591802A (en) * 2015-08-24 2016-05-18 杭州华三通信技术有限公司 Switch upgrading method and device
CN106411540A (en) * 2015-07-27 2017-02-15 中兴通讯股份有限公司 Software version management method and device
CN106470121A (en) * 2016-08-30 2017-03-01 锐捷网络股份有限公司 The upgrade method of virtual switch unit VSU system, device and VSU system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103412771A (en) * 2013-07-29 2013-11-27 福建星网锐捷网络有限公司 Software upgrading processing method, device and system
US9253026B2 (en) * 2013-12-18 2016-02-02 International Business Machines Corporation Software-defined networking disaster recovery
CN106411540A (en) * 2015-07-27 2017-02-15 中兴通讯股份有限公司 Software version management method and device
CN105591802A (en) * 2015-08-24 2016-05-18 杭州华三通信技术有限公司 Switch upgrading method and device
CN106470121A (en) * 2016-08-30 2017-03-01 锐捷网络股份有限公司 The upgrade method of virtual switch unit VSU system, device and VSU system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109104333A (en) * 2018-08-21 2018-12-28 杭州安恒信息技术股份有限公司 The synchronous method and device of distributed type assemblies based on GIT
CN109104333B (en) * 2018-08-21 2020-09-04 杭州安恒信息技术股份有限公司 GIT-based distributed cluster synchronization method and device

Similar Documents

Publication Publication Date Title
CN105974879B (en) Redundant control device, system and control method in digital I&C system
CN103532753B (en) A kind of double hot standby method of synchronization of skipping based on internal memory
CN104570721B (en) Redundant manipulator master slave mode determines method
CN105306605B (en) A kind of double host server systems
CN101968744B (en) Intelligent resilient framework (IRF) system-based method and system for upgrading box type equipment
CN102724083A (en) Degradable triple-modular redundancy computer system based on software synchronization
WO2021057438A1 (en) Main/standby switching method and apparatus, bras device, and storage medium
CN106627668B (en) Multiply the two train supervision server systems and control method for taking two frameworks based on two
CN109245926B (en) Intelligent network card, intelligent network card system and control method
CN105933253A (en) Switch configuration recovery method in SDN (Software Defined Networking)
CN104484243B (en) A kind of highly reliable system and device and method of virtual machine fault-toleranr technique and the combination of high-availability cluster technology
CN106470121B (en) Upgrade method, device and the VSU system of virtual switch unit VSU system
CN105516292A (en) Hot standby method of cloud platform of intelligent substation
CN104486394A (en) Non-interrupting service software upgrading method and device
CN104536842A (en) Virtual machine fault-tolerant method based on KVM virtualization
CN103441878B (en) The ownership processing method of PE equipment and equipment in VCF network
CN105471653A (en) Airborne dual channel seamless switching method and system
CN105812169A (en) Host and standby machine switching method and device
CN112948063A (en) Cloud platform creation method and device, cloud platform and cloud platform implementation system
CN109194497A (en) Double SRIO Network Backup Systems of software-oriented radio system
CN101960435B (en) Method and apparatus for performing a host enumeration process
CN107453899A (en) The upgrade method and device of virtual switch unit VSU systems
CN104780068B (en) A kind of method for switching network, the apparatus and system of computer room migration
CN104170307B (en) Failover methods, devices and systems
CN105068763A (en) Virtual machine fault-tolerant system and method for storage faults

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20171208

RJ01 Rejection of invention patent application after publication