Nothing Special   »   [go: up one dir, main page]

CN104639615B - Data processing method and device in a kind of controller cluster - Google Patents

Data processing method and device in a kind of controller cluster Download PDF

Info

Publication number
CN104639615B
CN104639615B CN201510006688.9A CN201510006688A CN104639615B CN 104639615 B CN104639615 B CN 104639615B CN 201510006688 A CN201510006688 A CN 201510006688A CN 104639615 B CN104639615 B CN 104639615B
Authority
CN
China
Prior art keywords
management equipment
equipment
member device
management
standby
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510006688.9A
Other languages
Chinese (zh)
Other versions
CN104639615A (en
Inventor
刘峰
王伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201510006688.9A priority Critical patent/CN104639615B/en
Publication of CN104639615A publication Critical patent/CN104639615A/en
Application granted granted Critical
Publication of CN104639615B publication Critical patent/CN104639615B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • 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)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Hardware Redundancy (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention provides data processing method in a kind of controller cluster, the method includes:When controller cluster division remerges, for the SDN controllers as management equipment, the operation data of the member device currently managed using the other management equipments and other management equipments of acquisition updates the operation data for the correspondence equipment being locally stored;The configuration data being locally stored using the latest configuration data update in the configuration data in all management equipments, and updated operation data and configuration data are synchronized to the member device of this SDN controller managements.Based on same inventive concept, the application also proposes data processing equipment in a kind of controller cluster, can solve the problems, such as that the division of controller cluster remerges rear loss of data.

Description

Data processing method and device in a kind of controller cluster
Technical field
The present invention relates to field of communication technology, more particularly to data processing method and device in a kind of controller cluster.
Background technology
In software defined network (Soft Define Network, SDN) network, in order to improve reliability and extend whole The scale of a SDN network, often multiple SDN controllers form a cluster.But a problem is thus introduced, due to certain Failure, for example network failure is managed, a controller cluster can be caused to be split into multiple controller clusters, there are multiple masters at this time Manager, when merging into a controller cluster after fault recovery, since the data of multiple controller clusters may have occurred Change, can determine whether unique management equipment when merging, and with the operation data of the management equipment with configuration data for synchronous foundation, Thus cause the loss of data.
Invention content
In view of this, data processing method and device in a kind of controller cluster of the application offer, to solve controller collection The problem of group's division remerges rear loss of data.
In order to solve the above technical problems, what the technical solution of the application was realized in:
Data processing method in a kind of controller cluster, network SDN is defined applied to any software in controller cluster On controller, the method includes:
The SDN controllers provide cluster interface as main management equipment, and are each member device point in a manner of load balancing With management equipment, the management equipment includes main management equipment and standby management equipment;Alternatively, the SDN controllers are used as standby management Equipment is established with the member device of this SDN controller managements distributed by main management equipment and is connected, and manages corresponding member and set It is standby;
When controller cluster division remerges, which obtains other management equipments as management equipment The operation data for the member device that configuration data and operation data and other management equipments currently manage, uses acquisition Other management equipments and the operation data of member device that currently manages of other management equipments update the correspondence being locally stored The operation data of equipment;The configuration being locally stored using the latest configuration data update in the configuration data in all management equipments Data, and updated operation data and configuration data are synchronized to the member device of this SDN controller managements.
Data processing equipment in a kind of controller cluster, network SDN is defined applied to any software in controller cluster In controller, described device includes:
Processing unit, if providing cluster interface, and as main management equipment with load balancing side for this SDN controllers Formula is that each member device allocates management of equipment, and the management equipment includes main management equipment and standby management equipment;If alternatively, originally SDN controllers are used as standby management equipment, establish and connect with the member device of this SDN controller managements distributed by main management equipment It connects, and manages corresponding member device;When controller cluster division remerges, this SDN controllers are obtained as management equipment Take the configuration data of other management equipments and the fortune of member device that operation data and other management equipments currently manage Row data, the operation data of the member device currently managed using the other management equipments and other management equipments of acquisition is more The operation data for the correspondence equipment being newly locally stored;More using the latest configuration data in the configuration data in all management equipments The configuration data being newly locally stored;
Transmission unit, for the updated operation data of the processing unit and configuration data to be synchronized to this SDN controls The member device of device management.
As can be seen from the above technical solution, each by main management equipment and standby management equipment load balancing management in the application Member device, after controller cluster split degree, the operation data of the member device managed using each management equipment updates this The operation data of the correspondence equipment of ground storage, the configuration data being locally stored is updated using newest configuration data, can be solved The problem of division of controller cluster remerges rear loss of data.
Description of the drawings
Fig. 1 is data processing method flow diagram in controller cluster in the embodiment of the present application one;
Fig. 2 is data processing method flow diagram in controller cluster in the embodiment of the present application two;
Fig. 3 is the embodiment of the present application controller cluster networking schematic diagram;
Fig. 4 is the switching equipment 1 in Fig. 3 and the networking schematic diagram after the link failure between switching equipment 2;
Fig. 5 is the data processing equipment structural diagram for being applied to above-mentioned technology in the embodiment of the present application.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, below in conjunction with the accompanying drawings and according to embodiment, Technical scheme of the present invention is described in detail.
Data processing method in a kind of controller cluster provided in the embodiment of the present application is applied in controller cluster On any SDN controllers.A part of SDN controllers configured in the controller cluster are as management equipment, a part of SDN controls Device processed is as member device, and the realization of the process is compared with realization.
In each SDN controllers for being configured to management equipment, main management is elected to set according to the priority of each SDN controllers Standby, when the highest priority of the SDN controllers, the SDN controllers are as main management equipment;It is preferential when the SDN controllers When grade is not highest, which is used as standby management equipment.
In the embodiment of the present application, when SDN controllers are as main management equipment, cluster interface is provided, and with load balancing side Formula is that each member device allocates management of equipment, and the management equipment includes main management equipment and standby management equipment.The application is specific When realization, the mode of load balancing is not limited.
When the SDN controllers are used as standby management equipment, the member with this SDN controller managements distributed by main management equipment Equipment establishes connection;Only management main management equipment distributes to the member device of this SDN controllers, for controller cluster, display For a member device.
After controller cluster divides, the management equipment in each controller cluster after division determines itself by priority Main management equipment for the controller cluster after the division that is currently located or standby management equipment, specially:
When controller cluster divides, pipe of the SDN controllers if highest priority in the controller cluster after division Equipment is managed, then the main management equipment as the controller cluster after the division;Otherwise, as the controller cluster after the division Standby management equipment.
Due to the division of controller cluster, some member devices may be caused to be disconnected with the management equipment connecting originally and connected It connects, then the member device main management device request can be accessed into the controller cluster being currently located.
The SDN controllers of main management equipment as the controller cluster after division, when there are the requests of new member device When access, equipment is allocated management of for the new member device in a manner of load balancing in the controller cluster after the division, And notify the member device, and be the management equipment of member device distribution.The member device is set with the management for its distribution It is standby to establish connection, subsequently the member device is managed by the management equipment.
It is remerged when the controller cluster divides, i.e., after being split into several sub-controller clusters into group by a controller, It is specific as follows to the processing mode of data in the embodiment of the present application when these sub-controller clusters merge:
Embodiment one
It is data processing method flow diagram in controller cluster in the embodiment of the present application one referring to Fig. 1, Fig. 1.Specifically Step is:
Step 101, when the division of controller cluster remerges, SDN controllers obtain other management and set as management equipment The operation data for the member device that standby configuration data and operation data and other management equipments currently manage.
Step 102, which is currently managed using the other management equipments and other management equipments that obtain The operation data for the correspondence equipment that the operation data update of member device is locally stored;Use the configuration number in all management equipments The configuration data that latest configuration data update in is locally stored.
In specific implementation, timestamp can be increased when configuring configuration data, when updating configuration data, relatively more each pipe The corresponding timestamp of configuration data in equipment is managed, the corresponding configuration data of the timestamp of time rearward is newest configuration number According to.
Step 103, which is synchronized to this SDN controller managements by updated operation data and configuration data Member device.
Embodiment two
It is data processing method flow diagram in controller cluster in the embodiment of the present application two referring to Fig. 2, Fig. 2.Specifically Step is:
Step 201, controller cluster division remerges.
Step 202, SDN controllers determine that this SDN is controlled in all management equipments in controller cluster after merging Whether device is the management equipment of highest priority, if so, executing step 203;Otherwise, step 205 is executed.
After the division of controller cluster remerges, there are multiple main management equipment, each masters in the controller cluster after merging The priority of this management equipment is mutually synchronized between management equipment, when any main management equipment determines the excellent of all main management equipment When first grade is below the priority of this main management equipment, determine that this main management equipment is the main management equipment of current cluster;When appoint One management equipment determines that this main management equipment is downgraded to currently there are when the main management equipment that priority is higher than this main management equipment The standby management equipment of cluster.
Step 203, which receives standby management and sets as the main management equipment in the controller cluster after merging The configuration data and operation data for management equipment that preparation is sent and the member device currently managed for management equipment Operation data.
Step 204, which uses standby management equipment and the member device currently managed for management equipment The operation data of correspondence equipment that is locally stored of operation data update;Using in the configuration data in all management equipments most New configuration data updates the configuration data being locally stored, and updated operation data and configuration data are sent to each standby management The member device of equipment and this SDN controller managements, terminates this flow.
Step 205, the SDN controllers are as the standby management equipment in the controller cluster after merging, to main management equipment Send the configuration data of this SDN controllers and the operation number of member device that operation data and this SDN controllers currently manage According to.
Step 206, which is receiving the operation data of main management equipment transmission and when latest configuration data, The operation data and configuration data being locally stored are updated, and is sent to the member device of this SDN controller managements.
Since link failure or controller cluster divide, as main management equipment SDN controllers determine it is any at After member's equipment is disconnected with the management equipment for managing the member device, and this SDN controllers are in same with the member device When in cluster controller, other management equipments in the cluster controller are distributed for the member device;
The SDN controllers are maintained when determining that the connection of management equipment of the member device and disconnection can be used again Present connection is constant;Or distribute the management equipment that available management equipment again is the member device.I.e. basis is specifically matched Setting can be by the member device switchback of handover management equipment, can not also switchback.
Member device in the embodiment of the present application and its management equipment synchrodata of management.
Below in conjunction with the accompanying drawings, the application is described in detail with specific embodiment and realizes data handling procedure in controller cluster.
It is the embodiment of the present application controller cluster networking schematic diagram referring to Fig. 3, Fig. 3.1 He of SDN controllers is configured in Fig. 3 SDN controllers 2 are management equipment, and SDN controllers 3, SDN controllers 4, SDN controllers 5 and SDN controllers 6 are configured to member and set Standby, the priority of SDN controllers 1 is higher than the priority of SDN controllers 2, and SDN controllers 1 are used as main management equipment, SDN2 conducts Standby management equipment.
SDN controllers 1 can receive member SDN controllers 3, SDN controllers 4, SDN controllers 5 and SDN controllers 6 Request is added, can be each SDN controllers load balancing management equipment, it is assumed that 5 load balancing of SDN controllers 3 and SDN controllers To SDN controllers 1, SDN controllers 4 and 6 load balancing of SDN controllers to SDN controllers 2.Controller cluster is configured in configuration When data, while recording the timestamp for configuring the configuration data.
When the operation data of SDN controls 3 and configuration data change, notice will to SDN controllers 1, SDN controllers 1 Related data is synchronized to other member devices (SDN controllers 5) of its management and standby management equipment (SDN controllers 2);SDN is controlled Device 2 processed resynchronizes related data to the member device (SDN controllers 4 and SDN controllers 6) of its management.
Wherein, operation data such as, under connect the information of virtual switch, the information of virtual port, the corresponding void of virtual port Information and flow table information of quasi- machine etc..
Configuration data such as, the priority of each management equipment, flow table ageing time, the network segment, gateway device of virtual network etc..
Assuming that the link failure between the switching equipment 1 in Fig. 3 and switching equipment 2.It is the friendship in Fig. 3 referring to Fig. 4, Fig. 4 The networking schematic diagram after link failure between exchange device 1 and switching equipment 2.Fig. 4 includes two controller clusters, respectively Controller cluster 1 and controller cluster 2.SDN controllers 1 in controller cluster 1 are used as main management equipment, since there is no Other management equipments, therefore, there is no standby management equipments in the controller cluster 1.In cluster controller 2, SDN controllers 2 As main management equipment.
At this point, SDN controllers 4 lose the connection with SDN controllers 2, the master in the controller cluster 1 being currently located to it Management equipment (SDN controllers 1) request access itself will be assigned as SDN controllers 4 since only there are one management equipments Management equipment, after establishing connection, management SDN controllers 4.For SDN controllers 5 processing with SDN controllers 4 processing class As, it no longer repeats one by one here.
By taking the SDN controllers in cluster controller 2 as an example, it is assumed that data (operation data and/or the configuration of SDN controllers 5 Data) it changes, then the data after variation are synchronized to SDN controllers 2.
Link failure recovery between switching equipment 1 and switching equipment 2, controller cluster 1 and controller cluster 2 close And there are two main management equipment, respectively SDN controllers 1 and SDN controllers 2 in the controller cluster after merging.
SDN controllers 1 determine that the priority of itself is higher than the priority of SDN controllers 2, and therefore, SDN controllers are as conjunction The main management equipment of controller cluster after and maintains the role of main management equipment.
SDN controllers 2 determine that the priority of itself is less than the priority of SDN controllers 1, then as the controller after merging The standby management equipment of cluster is downgraded to standby management equipment role by main management device role.
SDN controllers 2 by the latest configuration data and operation data of SDN controllers 2 and SDN controllers 2 manage at The operation data of member's equipment (SDN controllers 5 and SDN controllers 6) is sent to main management equipment (SDN controllers 1).Match synchronizing When setting data, the corresponding timestamp of configuration data is synchronized, so that main management equipment knows that the configuration data in which equipment is most New.
Main management equipment (SDN controllers 1) maintains this equipment and member device (the SDN controllers 3 of this equipment management With SDN controllers 4) operation data it is constant, using SDN controllers 2 receive SDN controllers 2 transmission operation data update The corresponding operation data of the SDN controllers 2, SDN controllers 5 and the SDN controllers 6 that are locally stored.
Main management equipment (SDN controllers 1) is locally stored using the configuration data update for receiving the transmission of SDN controllers 2 Configuration data remain unchanged if determining that the configuration data that is locally stored has been newest configuration data according to timestamp .
After main management equipment (SDN controllers 1) updates operation data and configuration data, all operation numbers for will being locally stored According to the member device (SDN controllers 3 and SDN controllers 4) for being synchronized to self-management with configuration data, and standby management equipment (SDN controllers 2).
When SDN controllers 3 and SDN controllers 4 receive the operation data and configuration data of the transmission of SDN controllers 1, update The operation data and configuration data being locally stored.
When standby management equipment (SDN controllers 2) receives the operation data and configuration data of the transmission of SDN controllers 1, update The operation data and configuration data being locally stored, and it is synchronized to member device (SDN controllers 5 and the SDN controllers of self-management 6)。
When SDN controllers 5 and SDN controllers 6 receive the operation data and configuration data of the transmission of SDN controllers 2, update The operation data and configuration data being locally stored.
It, again can be with original if being configured with member device in the main management equipment in controller cluster has switched management equipment When the management equipment connection first connected, then when switching back into the management equipment originally connecting, the present embodiment also needs to be located as follows Reason:
SDN controllers 1 notify SDN controllers 4 to disconnect the connection with this SDN controllers, and are connect with SDN controllers 2, by SDN controllers 2 are managed SDN controllers 4;It notifies SDN controllers 5 to disconnect the connection for controlling 2 devices with SDN, and is controlled with SDN Device 1 processed connects, and is managed to SDN controllers 5 by SDN controllers 1.
If not carrying out above-mentioned configuration, without switchback processing, directly terminate this flow.
Data processing equipment in a kind of controller cluster is also proposed based on same inventive concept, in the embodiment of the present application, Applied in any SDN controllers in controller cluster.Referring to Fig. 5, Fig. 5 is to be applied to above-mentioned technology in the embodiment of the present application Data processing equipment structural diagram.The device includes:
Processing unit 501, if providing cluster interface, and as main management equipment with load balancing for this SDN controllers Mode is that each member device allocates management of equipment, and the management equipment includes main management equipment and standby management equipment;If alternatively, originally SDN controllers are used as standby management equipment, establish and connect with the member device of this SDN controller managements distributed by main management equipment It connects, and manages corresponding member device;When controller cluster division remerges, this SDN controllers are obtained as management equipment Take the latest configuration data of other management equipments and member device that operation data and other management equipments currently manage Operation data, use the operation number for the member device that the other management equipments and other management equipments of acquisition currently manage According to the operation data for the correspondence equipment that update is locally stored;Use the latest configuration number in the configuration data in all management equipments The configuration data being locally stored according to update;
Transmission unit 502, for 501 updated operation data of processing unit and configuration data to be synchronized to this SDN controls The member device of device management processed.
Preferably,
Processing unit 501 is further used for, when controller cluster division remerges, determining that this SDN controllers are closing In all management equipments in controller cluster after and this SDN controllers whether be highest priority management equipment, if It is that this SDN controllers are as the main management equipment in the controller cluster after merging;Otherwise, after this SDN controllers are as merging Controller cluster in standby management equipment.
Preferably,
Transmission unit 502 is further used for this SDN controllers and is set as the standby management in the controller cluster after merging It is standby, this is sent for the configuration data and operation data of management equipment to main management equipment, and this standby management equipment currently manages Member device operation data;
Processing unit 501 is received for this SDN controllers as the main management equipment in the controller cluster after merging The configuration data and operation data for management equipment that standby management equipment is sent and this for management equipment currently manage at The operation data of member's equipment;And the management equipment sent using the standby management equipment that the receiving unit receives, and management The operation data for the correspondence equipment that the operation data update for the member device that equipment currently manages is locally stored;Use all management The configuration data that latest configuration data update in configuration data in equipment is locally stored;And trigger transmission unit 502 will more Operation data and configuration data after new are sent to the member device of each standby management equipment and this SDN controller managements;This SDN controllers as merge after controller cluster in standby management equipment, receive main management equipment send operation data with Configuration data;When receiving the operation data and configuration data of the transmission of main management equipment, the operation data being locally stored is updated And configuration data, and it is synchronized to the member device of this SDN controller managements.
Preferably,
Processing unit 501 is further used for when controller cluster divides, this SDN controllers are if the control after division The management equipment of highest priority in device cluster, then the main management equipment as the controller cluster after the division;It is new when existing Member device request access when, in a manner of load balancing be the new member device in the controller cluster after the division Allocate management of equipment;Otherwise, the standby management equipment as the controller cluster after the division.
Preferably,
Processing unit 501, is further used for this SDN controllers as the main management equipment in controller cluster where it, After determining that any member equipment is disconnected with the management equipment for managing the member device, load balancing is pressed for the member device Mode distributes other management equipments;When determining that the connection of management equipment of the member device and disconnection can be used again, dimension It is constant to hold present connection;Or distribution connects the management equipment that available management equipment again is the member device.
The unit of above-described embodiment can be integrated in one, and can also be deployed separately;A unit is can be merged into, also may be used To be further split into multiple subelements.
In conclusion each member device is managed by main management equipment and standby management equipment load balancing in the application, After controller cluster split degree, the operation data of the member device managed using each management equipment updates the correspondence being locally stored The operation data of equipment updates the configuration data being locally stored using newest configuration data, can solve controller cluster point Split the problem of remerging rear loss of data.And due to carrying out load balancing between each management equipment, divided in controller cluster Smaller on the influence of the member device of each management equipment management when with merging, most of member device still can be set by original management Standby management from main management equipment will not become standby management equipment due to management equipment, and standby management equipment becomes main management equipment And large area replaces the connection between member device and management equipment.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention With within principle, any modification, equivalent substitution, improvement and etc. done should be included within the scope of protection of the invention god.

Claims (10)

1. data processing method in a kind of controller cluster defines network SDN controls applied to any software in controller cluster On device processed, which is characterized in that the method includes:
The SDN controllers provide cluster interface as main management equipment, and are each member device distribution pipe in a manner of load balancing Equipment is managed, the management equipment includes main management equipment and standby management equipment;Alternatively, the SDN controllers are used as standby management equipment, It establishes and connects with the member device of this SDN controller managements distributed by main management equipment, and manage corresponding member device;Its In, the member device is the SDN controllers as member device;
When controller cluster division remerges, which obtains other standby management equipments as main management equipment The operation data for the member device that configuration data and operation data and other standby management equipments currently manage, using obtaining The operation data update for the member device that the other standby management equipments and other standby management equipments taken currently manage is locally stored Correspondence equipment operation data;It is locally stored using the latest configuration data update in the configuration data in all management equipments Configuration data, and updated operation data and configuration data are synchronized to each standby management equipment and this SDN controller pipes The member device of reason.
2. according to the method described in claim 1, it is characterized in that, the configuration data and fortune for obtaining other standby management equipments Before the operation data for the member device that row data and other standby management equipments currently manage, the method is further Including:
The SDN controllers determine whether this SDN controllers are excellent in all management equipments in controller cluster after merging The first highest management equipment of grade, if so, the SDN controllers are as the main management equipment in the controller cluster after merging;It is no Then, the SDN controllers are as the standby management equipment in the controller cluster after merging.
3. according to the method described in claim 2, it is characterized in that, the SDN controllers obtain other standby as main management equipment The operation number for the member device that the configuration data and operation data of management equipment and other standby management equipments currently manage According to the operation data of the member device currently managed using the other standby management equipments and other standby management equipments of acquisition is more The operation data for the correspondence equipment being newly locally stored;More using the latest configuration data in the configuration data in all management equipments The configuration data being newly locally stored, and by updated operation data and configuration data be synchronized to each standby management equipment with, and The member device of this SDN controller managements, including:
The SDN controllers receive standby for this of management equipment transmission as the main management equipment in the controller cluster after merging The configuration data and operation data of management equipment and the operation data of the member device currently managed for management equipment;And Using the standby management equipment received, and the operation data update of member device that standby management equipment currently manages is locally stored Correspondence equipment operation data;It is locally stored using the latest configuration data update in the configuration data in all management equipments Configuration data, and updated operation data and configuration data are sent to each standby management equipment and this SDN controller pipes The member device of reason;
Wherein, the method further includes:
The SDN controllers send this SDN controls as the standby management equipment in the controller cluster after merging, to main management equipment The operation data for the member device that the configuration data and operation data and this SDN controllers of device currently manage;Receiving master When configuration data and operation data that management equipment is sent, the operation data and configuration data being locally stored are updated, and be synchronized to The member device of this SDN controller managements.
4. according to the method described in claim 1-3 any one, which is characterized in that the method further includes:
When controller cluster divides, which sets if the management of highest priority in the controller cluster after division It is standby, then the main management equipment as the controller cluster after the division;Otherwise, the standby pipe as the controller cluster after the division Manage equipment;
If main management equipment of the SDN controllers as the controller cluster after the division, when there are the requests of new member device When access, equipment is allocated management of for the new member device in the controller cluster after the division in a manner of load balancing.
5. according to the method described in claim 1-3 any one, which is characterized in that the method further includes:
The SDN controllers are somebody's turn to do as the main management equipment in controller cluster where it when determining any member equipment and managing After the management equipment of member device disconnects, other management equipments are distributed by load balancing mode for the member device;
The SDN controllers remain current when determining that the connection of management equipment of the member device and disconnection can be used again Connection relation is constant;Or distribution connects the management equipment that available management equipment again is the member device.
6. data processing equipment in a kind of controller cluster defines network SDN controls applied to any software in controller cluster In device processed, which is characterized in that described device includes:
Processing unit, if providing cluster interface, and be in a manner of load balancing as main management equipment for this SDN controllers Each member device allocates management of equipment, and the management equipment includes main management equipment and standby management equipment;Alternatively, if this SDN is controlled Device processed is used as standby management equipment, establishes and connects with the member device of this SDN controller managements distributed by main management equipment, and manages Manage corresponding member device;When controller cluster division remerges, this SDN controllers obtain it as main management equipment The fortune for the member device that it is currently managed for the configuration data and operation data of management equipment and other standby management equipments Row data use the operation number for the member device that the other standby management equipments and other standby management equipments of acquisition currently manage According to the operation data for the correspondence equipment that update is locally stored;Use the latest configuration number in the configuration data in all management equipments The configuration data being locally stored according to update;Wherein, the member device is the SDN controllers as member device;
Transmission unit, for the updated operation data of the processing unit and configuration data to be synchronized to each standby management equipment, And the member device of this SDN controller managements.
7. device according to claim 6, which is characterized in that
The processing unit is further used for, when controller cluster division remerges, determining this SDN controllers after merging Controller cluster in all management equipments in this SDN controllers whether be highest priority management equipment, if so, this SDN controllers are as the main management equipment in the controller cluster after merging;Otherwise, this SDN controllers are as the control after merging Standby management equipment in device cluster processed.
8. device according to claim 7, which is characterized in that described device further comprises:Receiving unit;
The transmission unit, be further used for this SDN controllers as merge after controller cluster in standby management equipment, to Main management equipment sends this for the configuration data and operation data of management equipment, and the member that this standby management equipment currently manages The operation data of equipment;
The receiving unit receives standby pipe for this SDN controllers as the main management equipment in the controller cluster after merging The configuration data and operation data for management equipment that reason equipment is sent and this set for the member that management equipment currently manages Standby operation data;This SDN controllers receive main management equipment hair as the standby management equipment in the controller cluster after merging The updated operation data and configuration data sent;
The processing unit, for this SDN controllers as the main management equipment in the controller cluster after merging, using described The standby management equipment that standby management equipment that receiving unit receives is sent, and the member device that currently manages for management equipment The operation data for the correspondence equipment that operation data update is locally stored;Using newest in the configuration data in all management equipments Configuration data updates the configuration data being locally stored;And the transmission unit is triggered by updated operation data and configuration data It is sent to the member device of each standby management equipment and this SDN controller managements;This SDN controllers are as the control after merging Standby management equipment in device cluster receives the updated operation data of main management equipment transmission in the receiving unit and matches When setting data, the operation data and configuration data being locally stored are updated, and be synchronized to the member device of this SDN controller managements.
9. according to the device described in claim 6-8 any one, which is characterized in that
The processing unit is further used for when controller cluster divides, this SDN controllers are if the controller collection after division The management equipment of highest priority, then the main management equipment as the controller cluster after the division in group;When exist it is new at When member's device request access, distributed for the new member device in a manner of load balancing in the controller cluster after the division Management equipment;Otherwise, the standby management equipment as the controller cluster after the division.
10. according to the device described in claim 6-8 any one, which is characterized in that
The processing unit is further used for this SDN controllers as the main management equipment in controller cluster where it, when true It is that the member device presses load balancing mode after the management equipment disconnection for determining any member equipment with the management member device Distribute other management equipments;When determining that the connection of management equipment of the member device and disconnection can be used again, maintain to work as Preceding connection relation is constant;Or distribution connects the management equipment that available management equipment again is the member device.
CN201510006688.9A 2015-01-07 2015-01-07 Data processing method and device in a kind of controller cluster Active CN104639615B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510006688.9A CN104639615B (en) 2015-01-07 2015-01-07 Data processing method and device in a kind of controller cluster

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510006688.9A CN104639615B (en) 2015-01-07 2015-01-07 Data processing method and device in a kind of controller cluster

Publications (2)

Publication Number Publication Date
CN104639615A CN104639615A (en) 2015-05-20
CN104639615B true CN104639615B (en) 2018-10-09

Family

ID=53217916

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510006688.9A Active CN104639615B (en) 2015-01-07 2015-01-07 Data processing method and device in a kind of controller cluster

Country Status (1)

Country Link
CN (1) CN104639615B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106533751B (en) * 2016-11-07 2020-12-25 新华三技术有限公司 SDN controller cluster merging method and device
CN108092829B (en) * 2018-01-31 2021-07-06 深信服科技股份有限公司 Cluster splitting processing method, SDN controller and storage medium
CN108572845B (en) * 2018-03-15 2022-05-31 华为技术有限公司 Upgrading method of distributed micro-service cluster and related system
CN110086581A (en) * 2019-05-30 2019-08-02 深圳市中航比特通讯技术有限公司 The synchronous method and apparatus of a main prepare more data under a kind of network integration scene
CN110391944A (en) * 2019-08-02 2019-10-29 山东超越数控电子股份有限公司 Policy synchronization control method between a kind of SDN inter-trust domain
CN110661651A (en) * 2019-09-06 2020-01-07 北京浪潮数据技术有限公司 SDN controller data management method, system, device and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401786A (en) * 2013-07-12 2013-11-20 华为技术有限公司 Method, device and system for establishing network topology, controlling path and transmitting message
CN103596652A (en) * 2013-07-30 2014-02-19 华为技术有限公司 Network control method and device
CN104158642A (en) * 2014-08-08 2014-11-19 上海斐讯数据通信技术有限公司 Method and system for providing backup for software defined network controller

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401786A (en) * 2013-07-12 2013-11-20 华为技术有限公司 Method, device and system for establishing network topology, controlling path and transmitting message
CN103596652A (en) * 2013-07-30 2014-02-19 华为技术有限公司 Network control method and device
CN104158642A (en) * 2014-08-08 2014-11-19 上海斐讯数据通信技术有限公司 Method and system for providing backup for software defined network controller

Also Published As

Publication number Publication date
CN104639615A (en) 2015-05-20

Similar Documents

Publication Publication Date Title
CN104639615B (en) Data processing method and device in a kind of controller cluster
CN106331098B (en) Server cluster system
CN108632067B (en) Disaster recovery deployment method, device and system
CN104468397B (en) The method and apparatus that a kind of live migration of virtual machine forwards not packet loss
EP3016316A1 (en) Network control method and apparatus
CN104202364B (en) A kind of automatic discovery of controller and configuration method and equipment
CN102882989B (en) A kind of method and apparatus of many NVR monitoring network allocation IP address
CN105187256B (en) A kind of disaster recovery method, equipment and system
CN105099761A (en) Method and system for concentratedly managing configuration information of client
CN109698757A (en) Switch master/slave device, the method for restoring user data, server and the network equipment
EP3684032A1 (en) Method and system for executing distributed transaction resources
CN108600322B (en) Comprehensive video monitoring cloud service system and method based on railway video technical specification
CN107015972B (en) Method, device and system for migrating machine room services
CN107682411A (en) A kind of extensive SDN controllers cluster and network system
CN102710438B (en) Node management method, device and system
CN101005398B (en) Double machine work method on single frame device
CN104468633A (en) SDN southing security proxy product
CN105591801B (en) A kind of virtual network function VNF fault handling method and VNF management equipment
CN103441987A (en) Method and device for managing dual-computer firewall system
JP5647561B2 (en) Power system supervisory control system
CN103248656A (en) Method for achieving data reading and writing as well as DSF (distributed file system) and client side
CN106230622A (en) A kind of cluster implementation method and device
CN103501299A (en) Firewall cluster management method and system
CN107919979B (en) Controller state processing method and device
WO2015101100A1 (en) Network device and service processing method in network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

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

Applicant after: Xinhua three Technology Co., Ltd.

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

Applicant before: Huasan Communication Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant