CN106470121A - The upgrade method of virtual switch unit VSU system, device and VSU system - Google Patents

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

Info

Publication number
CN106470121A
CN106470121A CN201610771970.0A CN201610771970A CN106470121A CN 106470121 A CN106470121 A CN 106470121A CN 201610771970 A CN201610771970 A CN 201610771970A CN 106470121 A CN106470121 A CN 106470121A
Authority
CN
China
Prior art keywords
main frame
slave
port
business
configuration file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610771970.0A
Other languages
Chinese (zh)
Other versions
CN106470121B (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.)
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 CN201610771970.0A priority Critical patent/CN106470121B/en
Publication of CN106470121A publication Critical patent/CN106470121A/en
Application granted granted Critical
Publication of CN106470121B publication Critical patent/CN106470121B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of upgrade method of VSU system, device and VSU system, the method includes:After slave receives the first upgrade command of main frame transmission, close the other ports in addition to double Host Detection ports on slave;Upgraded according to the upgraded version obtaining in advance and shadow configuration file, the IP address that shadow configuration file is included from original configuration file is different;Open after first line of a couplet port carries out route learning, arranged for the first business switching time by double Host Detection ports with main frame;Monitor after the first business switching time expired, open second line of a couplet port, take over the business of execution mian engine changeover, so that main frame is upgraded;After main frame upgrading, arranged for the second business switching time by double Host Detection ports with main frame;Monitor after the second business switching time expired, the business of slave is switched to main frame execution;After restarting according to original configuration file, open VSL port, set up VSU system with main frame.The program suitability is very good.

Description

The upgrade method of virtual switch unit VSU system, device and VSU system
Technical field
The present invention relates to communication technical field, espespecially a kind of virtual switch unit (Virtual Switching Unit, VSU) the upgrade method of system, device and VSU system.
Background technology
VSU is a kind of network system Intel Virtualization Technology, and two group of switches are combined into single virtual switch unit, thus 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, S1 and S2 forms VSU system, S3 and S4 forms VSU system, between S1 and S2, between S3 and S4 Connected by virtual switch link (Virtual Switching Link, VSL).Sometimes because the fault of software version or fixed The release maintenance of phase, needs VSU system is upgraded.
According to existing VSU method for upgrading system, the slave of VSU system is first upgraded, and after restarting, heat adds VSU system, VSU The main frame of system and slave hot standby switch, slave before is changed into main frame, and main frame before is changed into slave, and the slave after switching is again Upgrading, after restarting, heat adds VSU system.
In said method, due to slave upgrading during need heat add VSU system, this require existing version and Upgraded version must be very close, if existing version and upgraded version differ greatly, slave cannot be built with main frame after upgrading Vertical VSU system, this may result in VSU and upgrades unsuccessfully.Therefore, the upgrade method suitability of above-mentioned VSU system is very poor.
Content of the invention
The embodiment of the present invention provides a kind of upgrade method of VSU system, device and VSU system, in order to solve existing VSU system The very poor problem of the suitability present in the upgrade method of system.
According to embodiments of the present invention, provide a kind of upgrade method of VSU system, described VSU system includes main frame and slave, Methods described is applied in described slave, and methods described includes:
After receiving the first upgrade command that described main frame sends, on the described slave of closing in addition to double Host Detection ports Other ports, described other ports include first line of a couplet port, second line of a couplet port and virtual switch link VSL port;
Upgraded according to the upgraded version obtaining in advance and shadow configuration file, described shadow configuration file is joined with original Put the internet protocol address difference that file includes;
Open after described first line of a couplet port carries out route learning, by described pair of Host Detection port and described main frame agreement the One business switching time;
Monitor after described first business switching time expires, open described second line of a couplet port, take over the described main frame of execution and cut The business changed, so that described main frame is upgraded according to described upgraded version and described original configuration file;
After the upgrading of described main frame, during by described pair of Host Detection port with described main frame agreement the second business switching Between;
Monitor after described second business switching time expires, the business of described slave is switched to described main frame execution;
After being restarted according to described original configuration file, open described VSL port, set up VSU system with described main frame.
Specifically, upgraded according to the upgraded version obtaining in advance and shadow configuration file, specifically included:
Load described upgraded version;
Restart;
Load described shadow configuration file.
Specifically, the first business switching time was arranged with described main frame by described pair of Host Detection port, specifically include:
By described pair of Host Detection port to described main frame tranmitting data register signal synchronization request;
After receiving the clock signal synchronization response that described main frame sends, send to described main frame and carry described first business The provisioning request of switching time;
Receive the about provisioning response that described main frame sends.
According to embodiments of the present invention, a kind of upgrade method of VSU system is also provided, described VSU system include main frame and from Machine, methods described is applied in described main frame, and methods described includes:
After receiving the second upgrade command, send the first upgrade command to described slave, so that described slave is according in advance The upgraded version obtaining and shadow configuration file are upgraded;
After the upgrading of described slave, arranged for the first business switching time by double Host Detection ports with described slave;
Monitor after described first business switching time expires, close on described main frame in addition to double Host Detection ports Other ports, described other port includes first line of a couplet port, second line of a couplet port and virtual switch link VSL port;
The business of described main frame is switched to described slave execution, is carried out according to described upgraded version and original configuration file Upgrading;
Open after described first line of a couplet port carries out route learning, by described pair of Host Detection port and described slave agreement the Two business switching times;
Monitor after described second business switching time expires, open described second line of a couplet port, take over the described slave of execution and cut The business changed, so that described restart according to described original configuration file slave;
After described slave is restarted, open described VSL port, set up VSU system with described slave.
Specifically, arrange described first business switching time by double Host Detection ports with described slave, specifically include:
The clock signal synchronization request that described slave sends is received by described pair of Host Detection port;
After described slave synchronizing clock signals, to described slave tranmitting data register signal syn ack;
Receive the provisioning request carrying described first business switching time that described slave sends;
After preserving described first business switching time, send about provisioning response to described slave.
According to embodiments of the present invention, a kind of update device of VSU system is also provided, described VSU system include main frame and from Machine, described device is applied in described slave, and described device includes:
First closedown module, for receiving after the first upgrade command that described main frame sends, closes and removes on described slave Other ports outside double Host Detection ports, described other port includes first line of a couplet port, second line of a couplet port and virtual switch link VSL port;
First upgraded module, for being upgraded according to the upgraded version obtaining in advance and shadow configuration file, described shadow The internet protocol address that sub- configuration file is included from original configuration file is different;
First provisioning modules, are used for opening after described first line of a couplet port carries out route learning, by described pair of Host Detection end Mouth arranged for the first business switching time with described main frame;
First performing module, is used for monitoring after described first business switching time expires, opens described second line of a couplet port, connect For the business executing described mian engine changeover, so that described main frame is risen according to described upgraded version and described original configuration file Level;
Second provisioning modules, for after the upgrading of described main frame, by described pair of Host Detection port and described main frame about Fixed second business switching time;
Handover module, is used for monitoring after described second business switching time expires, the business of described slave is switched to Described main frame execution;
First sets up module, after restarting according to described original configuration file, opens described VSL port, with described master VSU system set up by machine.
Specifically, described first upgraded module, for carrying out according to the upgraded version obtaining in advance and shadow configuration file Upgrading, specifically for:
Load described upgraded version;
Restart;
Load described shadow configuration file.
Specifically, described first provisioning modules, for by described pair of Host Detection port and described main frame agreement first Business switching time, specifically for:
By described pair of Host Detection port to described main frame tranmitting data register signal synchronization request;
After receiving the clock signal synchronization response that described main frame sends, send to described main frame and carry described first business The provisioning request of switching time;
Receive the about provisioning response that described main frame sends.
According to embodiments of the present invention, also by a kind of update device of VSU system, described VSU system include main frame and from Machine, described device is applied in described main frame, and described device includes:
Sending module, after being used for receiving the second upgrade command, sends the first upgrade command to described slave, so that described Slave is upgraded according to the upgraded version obtaining in advance and shadow configuration file;
3rd provisioning modules, for after the upgrading of described slave, by double Host Detection ports and described slave agreement the One business switching time;
Second closedown module, is used for monitoring after described first business switching time expires, closes on described main frame except double Other ports outside Host Detection port, described other port includes first line of a couplet port, second line of a couplet port and virtual switch link VSL Port;
Second upgraded module, for the business of described main frame is switched to described slave execution, according to described upgraded version Upgraded with original configuration file;
4th provisioning modules, are used for opening after described first line of a couplet port carries out route learning, by described pair of Host Detection end Mouth arranged for the second business switching time with described slave;
Second performing module, is used for monitoring after described second business switching time expires, opens described second line of a couplet port, connect For the business of execution described slave switching, so that described slave is restarted according to described original configuration file;
Second sets up module, for after described slave is restarted, opening described VSL port, sets up VSU system with described slave System.
Specifically, described 3rd provisioning modules, for by double Host Detection ports and described slave agreement described first Business switching time, specifically for:
The clock signal synchronization request that described slave sends is received by described pair of Host Detection port;
After described slave synchronizing clock signals, to described slave tranmitting data register signal syn ack;
Receive the provisioning request carrying described first business switching time that described slave sends;
After preserving described first business switching time, send about provisioning response to described slave.
According to embodiments of the present invention, also provide a kind of VSU system, including the update device of above-mentioned VSU system.
The present invention has the beneficial effect that:
The embodiment of the present invention provides a kind of upgrade method of VSU system, device and VSU system, and slave receives described master After the first upgrade command that machine sends, close the other ports in addition to double Host Detection ports, described other on described slave Port includes first line of a couplet port, second line of a couplet port and VSL port;Risen according to the upgraded version obtaining in advance and shadow configuration file Level, described shadow configuration file is different from the IP address that original configuration file includes;Open described first line of a couplet port and carry out route After habit, the first business switching time was arranged with described main frame by described pair of Host Detection port;Monitor described first business After switching time expires, open described second line of a couplet port, take over the business executing described mian engine changeover, so that described main frame is according to institute State upgraded version and described original configuration file is upgraded;After the upgrading of described main frame, by described pair of Host Detection port Arranged for the second business switching time with described main frame;Monitor after described second business switching time expires, by described slave Business is switched to described main frame execution;After restarting according to described original configuration file, open described VSL port, with described main frame Set up VSU system.In the program, the IP address being included with original configuration file due to shadow configuration file when slave is upgraded is not With slave is equivalent to another independent equipment after upgrading it is not necessary to heat adds VSU system it is not required that carrying out heat with main frame It is possible to be followed by the business for execution mian engine changeover in upgrading, then main frame starts to upgrade for standby switching, completes in main frame upgrading Afterwards, business is switched to main frame by slave again, and slave is restarted afterwards further according to original configuration file and VSU system set up by main frame, this VSU System upgrade process is not limited by original version and upgraded version, even if original version is widely different with upgraded version, also can Guarantee that VSU system is successfully upgraded, the suitability is very good.
Brief description
Fig. 1 is the schematic diagram of VSU systematic difference scene in prior art;
Fig. 2 is the flow chart of the upgrade method of VSU system in the embodiment of the present invention with slave as executive agent;
Fig. 3 is the flow chart of the upgrade method of VSU system in the embodiment of the present invention with main frame as executive agent;
Fig. 4 is the structural representation applying the update device of VSU system in slave in the embodiment of the present invention;
Fig. 5 is the structural representation applying the update device of VSU system in main frame in the embodiment of the present invention.
Specific embodiment
The very poor problem of the suitability present in upgrade method for existing VSU system, the embodiment of the present invention provides one Plant the upgrade method of VSU system, VSU system includes main frame and slave, separately below with slave and main frame for executive agent introduction The upgrade method of VSU system.
When executive agent is for slave, the flow process of the upgrade method of this VSU system is as shown in Fig. 2 execution step is as follows:
S21:After receiving the first upgrade command of main frame transmission, close its in addition to double Host Detection ports on slave Its port, other ports include first line of a couplet port, second line of a couplet port and VSL port.
In VSU system, it is all generally that upgrade command is sent to slave from main frame, this upgrade command is defined as the first upgrading Instruction.
In prior art, during VSU system upgrade, main frame and slave are not turned off any port, and in present example, After slave receives the first upgrade command, the other ports outside double Host Detection ports can be closed out, as shown in Figure 1 it is assumed that S2 It is slave with S4, then the first line of a couplet port of S2, S4 is the port being connected with S5, S6, the second line of a couplet port of S2 is the port being connected with P1, The second line of a couplet port of S4 is the port being connected with P2.
S22:Upgraded according to the upgraded version obtaining in advance and shadow configuration file, shadow configuration file only with original Internet protocol (Internet Protocol, the IP) address that configuration file includes is different.
Need before VSU system upgrade to obtain shadow configuration file and upgraded version, shadow configuration file is exactly a independent Configuration file, the unique difference from original configuration file of slave is exactly that IP address is different, and other information is just as.
When VSU system is more, can be, but not limited to preserve upgraded version using single upgrade server and shadow is joined Put file, VSU system actively can obtain upgraded version and shadow configuration file it is also possible to by upgrade service from upgrade server Upgraded version and shadow configuration file are pushed to VSU system by device, and wherein, main frame only need to obtain upgraded version, from confidential acquisition Upgraded version and shadow configuration file.
Slave is upgraded according to upgraded version and shadow configuration file, due to shadow configuration file and original configuration file Including IP address different, therefore, after slave upgrading, be equivalent to an independent equipment, be not and main frame composition VSU system System.
S23:Open after first line of a couplet port carries out route learning, the first business is arranged by double Host Detection ports and main frame and cuts Change the time.
In order to ensure after slave upgrading can to need to open first line of a couplet port after slave upgrading and route with normal process business Study, after the completion of convergence, made a reservation for for the first business switching time by double Host Detection ports with main frame.
First business switching time referred to the time of main frame and slave service switchover, in order to ensure that business do not interrupt, first Business switching time is at least accurate to Millisecond.
S24:Monitor after the first business switching time expired, open second line of a couplet port, take over the business of execution mian engine changeover, So that main frame is upgraded according to upgraded version and original configuration file.
After the completion of slave upgrading, monitor after the first business switching time expired, slave opens second line of a couplet port, main frame is by industry Business is switched to slave execution, and main frame starts to upgrade.
S25:After main frame upgrading, arranged for the second business switching time by double Host Detection ports with main frame.
In order to ensure that main frame and slave set up VSU system, after main frame upgrading, slave needs again according to original configuration file Restart, at this moment need slave to pass through double Host Detection ports and made a reservation for for the second business switching time with main frame.
S26:Monitor after the second business switching time expired, the business of slave is switched to main frame execution.
S27:After restarting according to original configuration file, open VSL port, set up VSU system with main frame.
Because slave is restarted according to original configuration file, original configuration file is identical with the configuration file on main frame, therefore, Slave can open VSL port, is successfully established VSU system with main frame, thus realizing the upgrading of VSU system.
In the program, because shadow configuration file when slave is upgraded is different from the IP address that original configuration file includes, Be equivalent to another independent equipment it is not necessary to heat adds VSU system it is not required that carrying out hot standby cutting with main frame after slave upgrading Change it is possible to be followed by the business for execution mian engine changeover in upgrading, then main frame starts to upgrade, after the completion of main frame upgrading, from Business is switched to main frame by machine again, and slave is restarted afterwards further according to original configuration file and VSU system set up by main frame, this VSU system Escalation process is not limited by original version and upgraded version, even if original version is widely different with upgraded version, also ensures that VSU system is successfully upgraded, and the suitability is very good.
Specifically, the realization upgraded according to the upgraded version obtaining in advance and shadow configuration file in above-mentioned S22 Process, specifically includes:Loading upgrading version;Restart;Load shadow configuration file.
After slave gets upgraded version and shadow configuration file, it is shadow configuration file in order to ensure load after restarting Rather than original configuration file, shadow configuration file and original configuration file can be saved under same path, and by shadow Configuration file is named as the name of original configuration file, after the completion of loading, can delete shadow configuration file, and recover original and join Put the name of file.
Specifically, the realization arranging for the first business switching time by double Host Detection ports and main frame in above-mentioned S25 Process, specifically includes:By double Host Detection ports to main frame tranmitting data register signal synchronization request;Receive main frame transmission when After clock signal syn ack, send the provisioning request carrying for the first business switching time to main frame;The agreement that Receiving Host sends Response.This process is equally applicable to arrange for the second business switching time.
Because main frame arranged for the first business switching time with slave, so ensure that main frame and slave enter industry simultaneously Business switching, thus ensure that business is not interrupted.
When executive agent is for main frame, the flow process of the upgrade method of this VSU system is as shown in figure 3, execution step is as follows:
S31:After receiving the second upgrade command, send the first upgrade command to slave, so that slave is according to obtaining in advance Upgraded version and shadow configuration file upgraded.
Second upgrade command can send by user input or because main frame is provided with automatic upgrading.
S32:After slave upgrading, arranged for the first business switching time by double Host Detection ports with slave.
During in order to ensure main frame upgrading, business is not interrupted, can be after slave upgrading, and main frame arranges the first industry with slave Business switching time.
S33:Monitor after the first business switching time expired, close other in addition to double Host Detection ports on main frame Port, other ports include first line of a couplet port, second line of a couplet port and VSL port.
The setting of this step is identical with S21, may be referred to the description of S21.
S34:The business of main frame is switched to slave execution, is upgraded according to upgraded version and original configuration file.
During in order to ensure main frame upgrading, business is not interrupted, and the business of main frame is switched to slave execution, then main frame Upgraded further according to upgraded version and original configuration file.Upgrading process be:Main frame loading upgrading version, after restarting, then Load original configuration file.
S35:Open after first line of a couplet port carries out route learning, the second business is arranged by double Host Detection ports and slave and cuts Change the time.
In order to ensure after main frame upgrading can to need to open first line of a couplet port after main frame upgrading and route with normal process business Study, after the completion of convergence, made a reservation for for the second business switching time by double Host Detection ports with main frame.
S36:Monitor after the second business switching time expired, open second line of a couplet port, take over the business of execution slave switching, So that slave is restarted according to original configuration file.
After the completion of main frame upgrading, monitor after the second business switching time expired, second line of a couplet port can be opened, slave is by industry Business is switched to main frame execution, and slave is restarted.
S37:After slave is restarted, open VSL port, set up VSU system with slave.
After slave is restarted, main frame can open VSL port, is successfully established VSU system with slave, thus realizing VSU system Upgrading.
In the program, because shadow configuration file when slave is upgraded is different from the IP address that original configuration file includes, Be equivalent to another independent equipment it is not necessary to heat adds VSU system it is not required that carrying out hot standby cutting with main frame after slave upgrading Change it is possible to be followed by the business for execution mian engine changeover in upgrading, then main frame starts to upgrade, after the completion of main frame upgrading, from Business is switched to main frame by machine again, and slave is restarted afterwards further according to original configuration file and VSU system set up by main frame, this VSU system Escalation process is not limited by original version and upgraded version, even if original version is widely different with upgraded version, also ensures that VSU system is successfully upgraded, and the suitability is very good.
Specifically, being arranged for the first business switching time with slave by double Host Detection ports in above-mentioned S32, concrete bag Include realizes process, specifically includes:Receive the clock signal synchronization request that slave sends by double Host Detection ports;With slave After synchronizing clock signals, to slave tranmitting data register signal syn ack;Receive slave transmission carried for the first business switching time Provisioning request;After preserving for the first business switching time, send about provisioning response to slave.This process is equally applicable to arrange second Business switching time.
Because main frame arranged for the first business switching time with slave, so ensure that main frame and slave enter industry simultaneously Business switching, thus ensure that business is not interrupted.
Below describe the upgrade method of the VSU system with slave and main frame as executive agent respectively, main frame is described below The upgrade method of interactive VSU system with slave, detailed process is as follows:
First, after main frame receives the second upgrade command, send the first upgrade command to slave.
2nd, after slave receives the first upgrade command of main frame transmission, on closing slave in addition to double Host Detection ports Other ports;Upgraded according to the upgraded version obtaining in advance and shadow configuration file, shadow configuration file is joined with original Put the IP address difference that file includes;Open after first line of a couplet port carries out route learning, by double Host Detection ports with main frame about Fixed first business switching time.
3rd, main frame passes through double Host Detection ports and slave arranged for the first business switching time;First business that monitors is cut After the time of changing expires, close the other ports in addition to double Host Detection ports on main frame;The business of main frame is switched to slave Execution, is upgraded according to upgraded version and original configuration file.Slave monitors after the first business switching time expired, and opens Second line of a couplet port, takes over the business of execution mian engine changeover.
4th, after main frame upgrading, open after first line of a couplet port carries out route learning, arranged with main frame by double Host Detection ports Second business switching time.Slave monitors after the second business switching time expired, and the business of slave is switched to main frame execution. After host monitor expired to the second business switching time, open second line of a couplet port, take over the business of execution slave switching.
5th, after slave is restarted according to original configuration file, open VSL port, set up VSU system with main frame.Main frame is opened VSL port, sets up VSU system with slave.
The process of above-mentioned whole upgrading, there occurs business switching twice, because the first line of a couplet port of main frame and slave shifts to an earlier date Convergence, simply second line of a couplet port open and the process closed, cutout time of this process control should very short or hardly in Disconnected, this ensures that business is not interrupted, that is, not suspension.It should be noted that shadow configuration file and original configuration file Difference is relevant with the role of VSU system, if VSU system is as two layers of server access device, then only change original configuration The IP address that file includes can be obtained by shadow configuration file;If VSU system is as the gateway of server, because server IP address can not possibly change, and slave there is a need for being able to carry original server after loading shadow file and continues to run with, because This when configuring shadow configuration file, in addition it is also necessary to according to server in addition to changing the IP address that includes of original configuration file Function change original configuration file just can obtain shadow configuration file.
Based on same inventive concept, the embodiment of the present invention provides a kind of update device of VSU system, and VSU system includes leading Machine and slave, this device is applied in slave, and the structure of this device is as shown in figure 4, specifically include:
First closedown module 41, for receiving after the first upgrade command that main frame sends, closes on slave except double main frames Other ports outside detection port, other ports include first line of a couplet port, second line of a couplet port and VSL port;
First upgraded module 42, for being upgraded according to the upgraded version obtaining in advance and shadow configuration file, shadow The IP address that configuration file is included from original configuration file is different;
First provisioning modules 43, are used for opening after first line of a couplet port carries out route learning, by double Host Detection ports and master Machine arranged for the first business switching time;
First performing module 44, is used for monitoring after the first business switching time expired, opens second line of a couplet port, take over execution The business of mian engine changeover, so that main frame is upgraded according to upgraded version and original configuration file;
Second provisioning modules 45, for, after main frame is upgraded, arranging the second business by double Host Detection ports with main frame Switching time;
Handover module 46, is used for monitoring after the second business switching time expired, the business of slave is switched to main frame and holds OK;
First sets up module 47, after restarting according to original configuration file, opens VSL port, sets up VSU system with main frame System.
In the program, because shadow configuration file when slave is upgraded is different from the IP address that original configuration file includes, Be equivalent to another independent equipment it is not necessary to heat adds VSU system it is not required that carrying out hot standby cutting with main frame after slave upgrading Change it is possible to be followed by the business for execution mian engine changeover in upgrading, then main frame starts to upgrade, after the completion of main frame upgrading, from Business is switched to main frame by machine again, and slave is restarted afterwards further according to original configuration file and VSU system set up by main frame, this VSU system Escalation process is not limited by original version and upgraded version, even if original version is widely different with upgraded version, also ensures that VSU system is successfully upgraded, and the suitability is very good.
Specifically, above-mentioned first upgraded module 42, for entering according to the upgraded version obtaining in advance and shadow configuration file Row upgrading, specifically for:
Loading upgrading version;
Restart;
Load shadow configuration file.
Specifically, above-mentioned first provisioning modules 43, cut for arranging the first business by double Host Detection ports and main frame Change the time, specifically for:
By double Host Detection ports to main frame tranmitting data register signal synchronization request;
After receiving the clock signal synchronization response of main frame transmission, send the pact carrying for the first business switching time to main frame Fixed request;
The about provisioning response that Receiving Host sends.
Based on same inventive concept, the embodiment of the present invention provides the update device of another kind of VSU system, and VSU system includes Main frame and slave, this device is applied in main frame, and the structure of this device is as shown in figure 5, specifically include:
Sending module 51, after being used for receiving the second upgrade command, sends the first upgrade command to slave, so that slave root Upgraded according to the upgraded version obtaining in advance and shadow configuration file;
3rd provisioning modules 52, for, after slave is upgraded, arranging the first business by double Host Detection ports with slave Switching time;
Second closedown module 53, is used for monitoring after the first business switching time expired, closes on main frame except double main frames inspections Other ports outside survey port, other ports include first line of a couplet port, second line of a couplet port and virtual switch link VSL port;
Second upgraded module 54, for the business of main frame is switched to slave execution, according to upgraded version and original configuration File is upgraded;
4th provisioning modules 55, are used for opening after first line of a couplet port carries out route learning, by double Host Detection ports with from Machine arranged for the second business switching time;
Second performing module 56, is used for monitoring after the second business switching time expired, opens second line of a couplet port, take over execution The business of slave switching, so that slave is restarted according to original configuration file;
Second sets up module 57, for after slave is restarted, opening VSL port, sets up VSU system with slave.
In the program, because shadow configuration file when slave is upgraded is different from the IP address that original configuration file includes, Be equivalent to another independent equipment it is not necessary to heat adds VSU system it is not required that carrying out hot standby cutting with main frame after slave upgrading Change it is possible to be followed by the business for execution mian engine changeover in upgrading, then main frame starts to upgrade, after the completion of main frame upgrading, from Business is switched to main frame by machine again, and slave is restarted afterwards further according to original configuration file and VSU system set up by main frame, this VSU system Escalation process is not limited by original version and upgraded version, even if original version is widely different with upgraded version, also ensures that VSU system is successfully upgraded, and the suitability is very good.
Specifically, above-mentioned 3rd provisioning modules 52, cut for arranging the first business by double Host Detection ports and slave Change the time, specifically for:
Receive the clock signal synchronization request that slave sends by double Host Detection ports;
After slave synchronizing clock signals, to slave tranmitting data register signal syn ack;
Receive the provisioning request carrying for the first business switching time that slave sends;
After preserving for the first business switching time, send about provisioning response to slave.
The present invention is the flow process with reference to method according to embodiments of the present invention, equipment (system) and computer program Figure and/or block diagram are describing.It should be understood that can be by each stream in computer program instructions flowchart and/or block diagram Flow process in journey and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided Instruct general purpose computer, the processor of special-purpose computer, Embedded Processor or other programmable data processing device to produce A raw machine is so that produced for reality by the instruction of computer or the computing device of other programmable data processing device The device of the function of specifying in present one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide computer or other programmable data processing device with spy Determine in the computer-readable memory that mode works so that the instruction generation inclusion being stored in this computer-readable memory refers to Make the manufacture of device, this command device realize in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or The function of specifying in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing device so that counting On calculation machine or other programmable device, execution series of operation steps to be to produce computer implemented process, thus in computer or On other programmable devices, the instruction of execution is provided for realizing in one flow process of flow chart or multiple flow process and/or block diagram one The step of the function of specifying in individual square frame or multiple square frame.
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, claims are intended to be construed to including can Select embodiment and fall into being had altered and changing of the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification without deviating from this to the embodiment of the present invention The spirit and scope of bright embodiment.So, if these modifications of the embodiment of the present invention and modification belong to the claims in the present invention And its within the scope of equivalent technologies, then the present invention is also intended to comprise these changes and modification.

Claims (11)

1. a kind of upgrade method of virtual switch unit VSU system, described VSU system includes main frame and slave, and methods described should It is characterised in that methods described includes in described slave:
After receiving the first upgrade command that described main frame sends, close its in addition to double Host Detection ports on described slave Its port, described other port includes first line of a couplet port, second line of a couplet port and virtual switch link VSL port;
Upgraded according to the upgraded version obtaining in advance and shadow configuration file, described shadow configuration file is civilian with original configuration The internet protocol address that part includes is different;
Open after described first line of a couplet port carries out route learning, the first industry is arranged with described main frame by described pair of Host Detection port Business switching time;
Monitor after described first business switching time expires, open described second line of a couplet port, take over and execute described mian engine changeover Business, so that described main frame is upgraded according to described upgraded version and described original configuration file;
After the upgrading of described main frame, the second business switching time was arranged with described main frame by described pair of Host Detection port;
Monitor after described second business switching time expires, the business of described slave is switched to described main frame execution;
After being restarted according to described original configuration file, open described VSL port, set up VSU system with described main frame.
2. the method for claim 1 is it is characterised in that enter according to the upgraded version obtaining in advance and shadow configuration file Row upgrading, specifically includes:
Load described upgraded version;
Restart;
Load described shadow configuration file.
3. method as claimed in claim 1 or 2 is it is characterised in that pass through described pair of Host Detection port with described main frame about Fixed first business switching time, specifically include:
By described pair of Host Detection port to described main frame tranmitting data register signal synchronization request;
After receiving the clock signal synchronization response that described main frame sends, send to described main frame and carry described first business switching The provisioning request of time;
Receive the about provisioning response that described main frame sends.
4. a kind of upgrade method of VSU system, described VSU system includes main frame and slave, and methods described is applied in described main frame In it is characterised in that methods described includes:
After receiving the second upgrade command, send the first upgrade command to described slave, so that described slave is according to obtaining in advance Upgraded version and shadow configuration file upgraded;
After the upgrading of described slave, arranged for the first business switching time by double Host Detection ports with described slave;
Monitor after described first business switching time expires, close other in addition to double Host Detection ports on described main frame Port, described other port includes first line of a couplet port, second line of a couplet port and virtual switch link VSL port;
The business of described main frame is switched to described slave execution, is risen according to described upgraded version and original configuration file Level;
Open after described first line of a couplet port carries out route learning, the second industry is arranged with described slave by described pair of Host Detection port Business switching time;
Monitor after described second business switching time expires, open described second line of a couplet port, take over execution described slave switching Business, so that described slave is restarted according to described original configuration file;
After described slave is restarted, open described VSL port, set up VSU system with described slave.
5. method as claimed in claim 4 is it is characterised in that by double Host Detection ports described with described slave agreement the One business switching time, specifically include:
The clock signal synchronization request that described slave sends is received by described pair of Host Detection port;
After described slave synchronizing clock signals, to described slave tranmitting data register signal syn ack;
Receive the provisioning request carrying described first business switching time that described slave sends;
After preserving described first business switching time, send about provisioning response to described slave.
6. a kind of update device of VSU system, described VSU system includes main frame and slave, and described device is applied in described slave In it is characterised in that described device includes:
First closedown module, for receiving after the first upgrade command that described main frame sends, closes on described slave except double main Other ports outside machine testing port, described other port includes first line of a couplet port, second line of a couplet port and virtual switch link VSL end Mouthful;
First upgraded module, for being upgraded according to the upgraded version obtaining in advance and shadow configuration file, described shadow is joined It is different from the internet protocol address that original configuration file includes to put file;
First provisioning modules, are used for opening after described first line of a couplet port carries out route learning, by described pair of Host Detection port with Described main frame arranged for the first business switching time;
First performing module, is used for monitoring after described first business switching time expires, opens described second line of a couplet port, take over and hold The business of the described mian engine changeover of row, so that described main frame is upgraded according to described upgraded version and described original configuration file;
Second provisioning modules, for after the upgrading of described main frame, by described pair of Host Detection port and described main frame agreement the Two business switching times;
Handover module, is used for monitoring after described second business switching time expires, the business of described slave is switched to described Main frame executes;
First sets up module, after being restarted according to described original configuration file, opens described VSL port, builds with described main frame Vertical VSU system.
7. device as claimed in claim 6 is it is characterised in that described first upgraded module, for according to the liter obtaining in advance Level version and shadow configuration file are upgraded, specifically for:
Load described upgraded version;
Restart;
Load described shadow configuration file.
8. device as claimed in claims 6 or 7 is it is characterised in that described first provisioning modules, for by described pair of main frame Detection port and described main frame arranged for the first business switching time, specifically for:
By described pair of Host Detection port to described main frame tranmitting data register signal synchronization request;
After receiving the clock signal synchronization response that described main frame sends, send to described main frame and carry described first business switching The provisioning request of time;
Receive the about provisioning response that described main frame sends.
9. a kind of update device of VSU system, described VSU system includes main frame and slave, and described device is applied in described main frame In it is characterised in that described device includes:
Sending module, after being used for receiving the second upgrade command, sends the first upgrade command to described slave, so that described slave Upgraded according to the upgraded version obtaining in advance and shadow configuration file;
3rd provisioning modules, for, after the upgrading of described slave, arranging the first industry by double Host Detection ports with described slave Business switching time;
Second closedown module, is used for monitoring after described first business switching time expires, closes on described main frame except double main frames Other ports outside detection port, described other port includes first line of a couplet port, second line of a couplet port and virtual switch link VSL end Mouthful;
Second upgraded module, for the business of described main frame is switched to the execution of described slave, according to described upgraded version and former Configuration file is had to be upgraded;
4th provisioning modules, are used for opening after described first line of a couplet port carries out route learning, by described pair of Host Detection port with Described slave arranged for the second business switching time;
Second performing module, is used for monitoring after described second business switching time expires, opens described second line of a couplet port, take over and hold The business of row described slave switching, so that described slave is restarted according to described original configuration file;
Second sets up module, for after described slave is restarted, opening described VSL port, sets up VSU system with described slave.
10. device as claimed in claim 9 is it is characterised in that described 3rd provisioning modules, for by double Host Detection ends Mouth arranges described first business switching time with described slave, specifically for:
The clock signal synchronization request that described slave sends is received by described pair of Host Detection port;
After described slave synchronizing clock signals, to described slave tranmitting data register signal syn ack;
Receive the provisioning request carrying described first business switching time that described slave sends;
After preserving described first business switching time, send about provisioning response to described slave.
A kind of 11. VSU systems it is characterised in that include the described update device of VSU system as arbitrary in claim 6-8 and The update device of described VSU system as arbitrary in claim 9-10.
CN201610771970.0A 2016-08-30 2016-08-30 Upgrade method, device and the VSU system of virtual switch unit VSU system Active CN106470121B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610771970.0A CN106470121B (en) 2016-08-30 2016-08-30 Upgrade method, device and the VSU system of virtual switch unit VSU system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610771970.0A CN106470121B (en) 2016-08-30 2016-08-30 Upgrade method, device and the VSU system of virtual switch unit VSU system

Publications (2)

Publication Number Publication Date
CN106470121A true CN106470121A (en) 2017-03-01
CN106470121B CN106470121B (en) 2019-09-20

Family

ID=58230404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610771970.0A Active CN106470121B (en) 2016-08-30 2016-08-30 Upgrade method, device and the VSU system of virtual switch unit VSU system

Country Status (1)

Country Link
CN (1) CN106470121B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107453899A (en) * 2017-07-25 2017-12-08 锐捷网络股份有限公司 The upgrade method and device of virtual switch unit VSU systems
CN109450676A (en) * 2018-10-29 2019-03-08 锐捷网络股份有限公司 A kind of switch upgrades method and device, electronic equipment, computer-readable medium
CN109861839A (en) * 2017-11-30 2019-06-07 华为技术有限公司 The unbroken virtual switch upgrade method of business and relevant device
CN110166355A (en) * 2018-02-13 2019-08-23 华为技术有限公司 A kind of message forwarding method and device
CN110209405A (en) * 2019-06-04 2019-09-06 杭州安恒信息技术股份有限公司 The automatic updating method and device of distributed system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247213A (en) * 2007-02-16 2008-08-20 华为技术有限公司 Method and system for master/standby rearrangement
US7660684B2 (en) * 2004-07-22 2010-02-09 Electro Industries/Gauge Tech System and method utilizing virtual switching for substation automation
CN101968744A (en) * 2010-11-01 2011-02-09 杭州华三通信技术有限公司 Intelligent resilient framework (IRF) system-based method and system for upgrading box type equipment
CN102724069A (en) * 2012-06-14 2012-10-10 福建星网锐捷网络有限公司 Collision detection method, device and network device of dual-master device in thermal staking system
CN103412771A (en) * 2013-07-29 2013-11-27 福建星网锐捷网络有限公司 Software upgrading processing method, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7660684B2 (en) * 2004-07-22 2010-02-09 Electro Industries/Gauge Tech System and method utilizing virtual switching for substation automation
CN101247213A (en) * 2007-02-16 2008-08-20 华为技术有限公司 Method and system for master/standby rearrangement
CN101968744A (en) * 2010-11-01 2011-02-09 杭州华三通信技术有限公司 Intelligent resilient framework (IRF) system-based method and system for upgrading box type equipment
CN102724069A (en) * 2012-06-14 2012-10-10 福建星网锐捷网络有限公司 Collision detection method, device and network device of dual-master device in thermal staking system
CN103412771A (en) * 2013-07-29 2013-11-27 福建星网锐捷网络有限公司 Software upgrading processing method, device and system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107453899A (en) * 2017-07-25 2017-12-08 锐捷网络股份有限公司 The upgrade method and device of virtual switch unit VSU systems
CN109861839A (en) * 2017-11-30 2019-06-07 华为技术有限公司 The unbroken virtual switch upgrade method of business and relevant device
CN110166355A (en) * 2018-02-13 2019-08-23 华为技术有限公司 A kind of message forwarding method and device
CN110166355B (en) * 2018-02-13 2021-06-22 华为技术有限公司 Message forwarding method and device
CN109450676A (en) * 2018-10-29 2019-03-08 锐捷网络股份有限公司 A kind of switch upgrades method and device, electronic equipment, computer-readable medium
CN109450676B (en) * 2018-10-29 2022-04-26 锐捷网络股份有限公司 Switch upgrading method and device, electronic equipment and computer readable medium
CN110209405A (en) * 2019-06-04 2019-09-06 杭州安恒信息技术股份有限公司 The automatic updating method and device of distributed system
CN110209405B (en) * 2019-06-04 2023-06-16 杭州安恒信息技术股份有限公司 Automatic upgrading method and device for distributed system

Also Published As

Publication number Publication date
CN106470121B (en) 2019-09-20

Similar Documents

Publication Publication Date Title
CN106470121A (en) The upgrade method of virtual switch unit VSU system, device and VSU system
KR101979362B1 (en) Method for upgrading virtualized network function and network function virtualization orchestrator
US10341429B2 (en) Apparatus and method for configuring service function path of service function chain based on software defined network
EP2793428B1 (en) Pcie switch-based server system and switching method and device thereof
CN103117876B (en) The synchronous method and device of user state information
CN102355366B (en) Member-stacking device and method for managing member-stacking device at split stacking moment
CN106301876B (en) Physical machine upgrade method, business migration method and device
CN103532753B (en) A kind of double hot standby method of synchronization of skipping based on internal memory
CN101968744B (en) Intelligent resilient framework (IRF) system-based method and system for upgrading box type equipment
US20180115457A1 (en) High availability input/output management nodes
CN102957623B (en) A kind of maintaining method of neighborhood of border gate protocol and equipment
US20170293500A1 (en) Method for optimal vm selection for multi data center virtual network function deployment
EP2999168A1 (en) Collaboration method and system in distributed resilient network interconnect system
US20230132861A1 (en) Switching method and apparatus, device, and storage medium
CN104486394A (en) Non-interrupting service software upgrading method and device
WO2017113848A1 (en) Testing method, testing platform and simulated testing device for test case
CN101064687B (en) Routing convergence method
CN108984195A (en) A kind of method for upgrading software and device
US20240106708A1 (en) Fabric availability and synchronization
WO2015101100A1 (en) Network device and service processing method in network
US20160197856A1 (en) Port Status Synchronization Method, Related Device, and System
CN107005434B (en) Method, device and equipment for synchronizing Virtual Network Function (VNF) state
CN106569858A (en) Method for updating configuration files and circuit board
EP4221117A1 (en) Broadband connection method and device
CN111181766B (en) Redundant FC network system and method for realizing dynamic configuration of switch

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant