CN105391565A - Method for achieving synchronization of backup business configuration - Google Patents
Method for achieving synchronization of backup business configuration Download PDFInfo
- Publication number
- CN105391565A CN105391565A CN201410367996.XA CN201410367996A CN105391565A CN 105391565 A CN105391565 A CN 105391565A CN 201410367996 A CN201410367996 A CN 201410367996A CN 105391565 A CN105391565 A CN 105391565A
- Authority
- CN
- China
- Prior art keywords
- configuration information
- backup group
- backup
- business configuration
- service configuration
- 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
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention proposes a method for achieving the synchronization of backup business configuration, and the method comprises the steps: carrying out the business configuration of a port in a command line of a host, wherein the business configuration of the port needs to be carried out; storing the business configuration information after the business configuration information is set; inputting a synchronization configuration command in the command line of the host; storing the business configuration information in a file through the host, setting a timestamp, and then transmitting the business configuration information file to on-line members of a backup group; enabling the backup group to employ the business configuration information, and storing the business configuration information into a file at the same time. The method just needs to carry out one-time business configuration of the host, shares the set business configuration information file to all members of the backup group, and achieves the synchronous configuration of the business configuration information to all members of the backup group. Compared with the prior art, the method does not need to carry out the tedious input of the business configuration information for each member of the backup group, saves manpower, and reduces the error rate.
Description
Technical field
The present invention relates in a kind of network communications environment the method realizing backing up, particularly relate to the method realizing business configuration backed up in synchronization.
Background technology
In current networking application, the requirement of user to network reliability is more and more higher, the ingress for service important for some or access point (the Internet access point of such as enterprise, the database server etc. of bank), how to ensure the interrupted transmission of network, become the problem being badly in need of solving.At the access point of intranet and extranet, the Network between intranet and extranet just can be caused all to interrupt when the gateway device of upstream breaks down.If only use a switch device on this key business point, no matter how high its reliability is, and system all must bear the risk causing network interruption because of Single Point of Faliure.
Industry is proposed conventional backup networking plan to avoid this risk, the program forms backup at access point deployment multiple devices, by VRRP (VirtualRouterRedundancyProtocol, Virtual Router Redundancy Protocol) or the mechanism such as dynamic routing carry out link switching, after realizing an equipment fault, flow automatically switches to the equipment of another normal work.
When two or more switch forms a backup group time, need to configure identical service configuration information on all switches, as the speed limit of port, the monitoring of port, or identical port speed etc.Need to do identical configuration on two or multiple stage backup group member, not only loaded down with trivial detailsly add working strength, and repeatedly configure, manual operation is difficult to avoid going wrong.
Summary of the invention
The technical problem that the present invention need solve be to provide a kind of simple, avoid the backup traffic configuration gone wrong to realize synchronous method.
For solving above-mentioned technical problem, the present invention devises the configuration of a kind of backup traffic and realizes synchronous method, and it comprises the following steps: step 1: carry out business configuration in the order line of main frame to needing the port carrying out business configuration, setting service configuration information; Step 2: after completing setting service configuration information, preserve described service configuration information, and input synchronous configuration order in the order line of main frame; Step 3: described service configuration information is preserved into file by main frame, and stamps timestamp, and then service configuration information file is sent to the online member of backup group; Step 4: the online member of backup group receives described service configuration information file, applied business configuration information, and preserves into file simultaneously.
Improving further as the present invention, in step 1, to needing the port carrying out business configuration to put on mark, showing that the service configuration information needs of this port synchronously configure.
Improve further as the present invention, the online member of described backup group is all online standby host in described backup group.
Improve further as the present invention, input synchronous configuration order for " configsyn " in the order line of main frame.
Improve further as the present invention, after standby host has just started and enters operational environment, standby host has sent backup group configuring request message to main frame; Service configuration information file is sent to described standby host after receiving described backup group configuring request message by main frame; After described standby host receives, applied business configuration information, and preserve into file simultaneously.
Improve further as the present invention, when again carrying out business configuration to main frame, set new service configuration information, preserve described new service configuration information and replace original service configuration information file, and stamp timestamp, and then new service configuration information file is sent to the online member of backup group.
The present invention only needs first to carry out a business configuration to main frame, then by the service configuration information file-sharing of setting to all members of backup group, realizes this service configuration information to be synchronously configured on all members of backup group.Compared with prior art, the present invention does not need to carry out loaded down with trivial details incoming traffic configuration information to every platform backup group member, saves manpower, reduces error rate.
Accompanying drawing explanation
Fig. 1 is the LAN schematic diagram that the present invention is provided with backup group.
Embodiment
Technical scheme of the present invention is understood better in order to make relevant technical staff in the field, below in conjunction with accompanying drawing and embodiment of the present invention, technical scheme in embodiment of the present invention is clearly and completely described, obviously, described execution mode is only the present invention's part execution mode, instead of whole execution modes.
The invention provides the configuration of a kind of backup traffic and realize synchronous method, only need first to carry out a business configuration to main frame, again by setting service configuration information file-sharing to all members of backup group, realize this service configuration information to be synchronously configured on all members of backup group.The inventive method is not only applicable to switch, is also applicable to other gateway devices in network communications environment.In the present embodiment, backup group member is switch.
As shown in Figure 1, in the present embodiment, have 2 members in backup group, one is main frame, and one is standby host, and certainly, the state of main frame and standby host is unstable, and when breaking down for one, another switches to main frame as standby host and realizes forwarding data flow.In other embodiments of the present invention, the member of backup group may be not limited to 2, but the member of more than 3 or 3.The present embodiment realizes that the configuration of the backup traffic of each for backup group member is realized synchronous method and specifically comprises the following steps:
Step 1: first carry out business configuration in the order line of main frame to needing the port carrying out business configuration, setting service configuration information.And, " hotstandby " mark is put on to needing the port carrying out business configuration, " hotstandby " meaning is hot standby group of equipment, shows that the service configuration information needs of this port synchronously configure, can distinguish the business configuration situation of other ports like this.The service configuration information of setting comprises the speed limit of port, the monitoring of port, or identical port speed etc. information.The service configuration information herein set will share to the online all members of backup group.
Step 2: after completing setting service configuration information, preserve described service configuration information, and input synchronous configuration order " configsyn " in the order line of main frame.Like this, namely show that the service configuration information set synchronously is configured on the online all members of backup group by needs.
Step 3: after the synchronous configuration order of input " configsyn ", described service configuration information is preserved into file by main frame, and stamps timestamp, and then service configuration information file is sent to the online member of backup group.That is, the service configuration information set before this is shared to the online all members of backup group.
Step 4: the online member of backup group receives described service configuration information file, applied business configuration information, and also preserve into file simultaneously.Like this, also complete at the service configuration information of host configuration and be synchronously configured on the online member of backup group, incoming traffic configuration information need not be removed at backup group first member, reduce loaded down with trivial details workload and error rate.Further, service configuration information is also kept in the online member of backup group, achieves the service configuration information shared and need synchronous configuration.
In above-mentioned technical scheme, the online member of backup group refers to the standby host worked online in backup group, and certain main frame also works online, and synchronous service configuration is active synchronization configuration in each member of backup group works online.If, when a certain online member of backup group or backup group newly increase a member just started enter operational environment time, first it send backup group configuring request message as standby host to main frame, and service configuration information file is sent to standby host after receiving described backup group configuring request message by main frame; After standby host receives, applied business configuration information, and preserve into file simultaneously.A certain not online member or backup group newly increase a member and realize service synchronization configuration as standby host is passive.
The present invention is when original main frame breaks down, and the online a certain standby host of backup group will become new main frame, also preserve service configuration information file in new main frame.Therefore when occurring that a certain online member of backup group or backup group newly increase a member, both also can be and send backup group configuring request message to new main frame after entering operational environment as standby host startup, realize service synchronization configuration.
The present invention is when again carrying out business configuration to main frame, set new service configuration information, preserve new service configuration information and can replace original service configuration information file, and new service configuration information file can send to the online member of backup group to realize sharing.
The present invention only needs first to carry out a business configuration to main frame, by the service configuration information file-sharing of setting to all members of backup group, realizes this service configuration information to be synchronously configured on all members of backup group.Compared with prior art, the present invention does not need to carry out loaded down with trivial details incoming traffic configuration information to every platform backup group member, saves manpower, reduces error rate.
Below only have expressed one embodiment of the present invention, it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.
Claims (6)
1. backup traffic configuration realizes a synchronous method, it is characterized in that, comprises the following steps:
Step 1: carry out business configuration to needing the port carrying out business configuration in the order line of main frame, setting service configuration information;
Step 2: after completing setting service configuration information, preserve described service configuration information, and input synchronous configuration order in the order line of main frame;
Step 3: described service configuration information is preserved into file by main frame, and stamps timestamp, and then service configuration information file is sent to the online member of backup group;
Step 4: the online member of backup group receives described service configuration information file, applied business configuration information, and preserves into file simultaneously.
2. backup traffic configuration according to claim 1 realizes synchronous method, it is characterized in that, in step 1, to needing the port carrying out business configuration to put on mark, showing that the service configuration information needs of this port synchronously configure.
3. backup traffic configuration according to claim 1 realizes synchronous method, and it is characterized in that, the online member of described backup group is all online standby host in described backup group.
4. backup traffic configuration according to claim 1 realizes synchronous method, it is characterized in that, inputs synchronous configuration order for " configsyn " in the order line of main frame.
5. backup traffic according to claim 1 configuration realizes synchronous method, it is characterized in that, after standby host has just started and enters operational environment, standby host sends backup group configuring request message to main frame; Service configuration information file is sent to described standby host after receiving described backup group configuring request message by main frame; After described standby host receives, applied business configuration information, and preserve into file simultaneously.
6. backup traffic configuration according to claim 1 realizes synchronous method, it is characterized in that, when again carrying out business configuration to main frame, set new service configuration information, preserve described new service configuration information and replace original service configuration information file, and stamp timestamp, and then new service configuration information file is sent to the online member of backup group.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410367996.XA CN105391565A (en) | 2014-07-30 | 2014-07-30 | Method for achieving synchronization of backup business configuration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410367996.XA CN105391565A (en) | 2014-07-30 | 2014-07-30 | Method for achieving synchronization of backup business configuration |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105391565A true CN105391565A (en) | 2016-03-09 |
Family
ID=55423419
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410367996.XA Pending CN105391565A (en) | 2014-07-30 | 2014-07-30 | Method for achieving synchronization of backup business configuration |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105391565A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105634832A (en) * | 2016-03-16 | 2016-06-01 | 浙江宇视科技有限公司 | Server backup method and device |
CN106209480A (en) * | 2016-09-05 | 2016-12-07 | 杭州迪普科技有限公司 | Synchronize the method and device of configuration information |
CN111405216A (en) * | 2019-10-25 | 2020-07-10 | 杭州海康威视系统技术有限公司 | Configuration method, device and equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1862504A (en) * | 2005-05-11 | 2006-11-15 | 华为技术有限公司 | Method of multi-computer back-up |
CN102769627A (en) * | 2012-07-26 | 2012-11-07 | 北京神州绿盟信息安全科技股份有限公司 | Configuration file synchronizing method and device |
CN103297459A (en) * | 2012-02-28 | 2013-09-11 | 腾讯科技(深圳)有限公司 | Synchronizing system of application configuration information, access server, clients and synchronizing method of application configuration information |
CN103414706A (en) * | 2013-07-30 | 2013-11-27 | 曙光信息产业(北京)有限公司 | Method and device for managing double-firewall system |
-
2014
- 2014-07-30 CN CN201410367996.XA patent/CN105391565A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1862504A (en) * | 2005-05-11 | 2006-11-15 | 华为技术有限公司 | Method of multi-computer back-up |
CN103297459A (en) * | 2012-02-28 | 2013-09-11 | 腾讯科技(深圳)有限公司 | Synchronizing system of application configuration information, access server, clients and synchronizing method of application configuration information |
CN102769627A (en) * | 2012-07-26 | 2012-11-07 | 北京神州绿盟信息安全科技股份有限公司 | Configuration file synchronizing method and device |
CN103414706A (en) * | 2013-07-30 | 2013-11-27 | 曙光信息产业(北京)有限公司 | Method and device for managing double-firewall system |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105634832A (en) * | 2016-03-16 | 2016-06-01 | 浙江宇视科技有限公司 | Server backup method and device |
CN105634832B (en) * | 2016-03-16 | 2019-07-16 | 浙江宇视科技有限公司 | A kind of backup method and device of server |
CN106209480A (en) * | 2016-09-05 | 2016-12-07 | 杭州迪普科技有限公司 | Synchronize the method and device of configuration information |
CN106209480B (en) * | 2016-09-05 | 2019-11-12 | 杭州迪普科技股份有限公司 | The method and device of synchronous configuration information |
CN111405216A (en) * | 2019-10-25 | 2020-07-10 | 杭州海康威视系统技术有限公司 | Configuration method, device and equipment and storage medium |
CN111405216B (en) * | 2019-10-25 | 2022-06-28 | 杭州海康威视系统技术有限公司 | Configuration method, device and equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11323307B2 (en) | Method and system of a dynamic high-availability mode based on current wide area network connectivity | |
CN101557317B (en) | Active dialogue backup system, equipment and method in dual-server hot-backup network | |
US8886831B2 (en) | System and methodology for fast link failover based on remote upstream failures | |
CN101217353B (en) | A control method on multi-point dual redundancy system of call center | |
CN104104570A (en) | Aggregation processing method in IRF (Intelligent Resilient Framework) system and device | |
CN101917294B (en) | Method and equipment for updating anti-replay parameter during master and slave switching | |
CN104243205A (en) | Message processing method and device used during virtual switch fault | |
KR20150051107A (en) | Method for fast flow path setup and failure recovery | |
CN105933253A (en) | Switch configuration recovery method in SDN (Software Defined Networking) | |
EP2696542A1 (en) | Method, ToR switch, and system for implementing protection switchover based on TRILL network | |
CN103051534A (en) | Message processing method and device | |
CN102957623B (en) | A kind of maintaining method of neighborhood of border gate protocol and equipment | |
CN104869057A (en) | OpeFlow switch graceful restart processing method, device and OpeFlow controller | |
CN106789630B (en) | A kind of network protection method and system, controller, equipment | |
WO2015154525A1 (en) | Method and device for protecting hqos using multiple board cards | |
US10929254B2 (en) | Data processing system providing service continuity protection | |
WO2016095344A1 (en) | Link switching method and device, and line card | |
CN106341249A (en) | Redundant port switching method and device | |
CN101753401A (en) | A method for realizing backup and load of IPSec virtual private network tunnel | |
CN104301449A (en) | Method and device for modifying IP address | |
CN105072101A (en) | SDN controller end system based on intrusion tolerance and safety communication method | |
CN105391565A (en) | Method for achieving synchronization of backup business configuration | |
CN104168200A (en) | Open vSwitch-based method and system for realizing ACL function | |
WO2016101409A1 (en) | Data switching method, device and system | |
CN105515869A (en) | Out-of-band management method and device for virtual switching unit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160309 |