CN103929333A - Implementation method for SDN controller pool - Google Patents
Implementation method for SDN controller pool Download PDFInfo
- Publication number
- CN103929333A CN103929333A CN201410192339.6A CN201410192339A CN103929333A CN 103929333 A CN103929333 A CN 103929333A CN 201410192339 A CN201410192339 A CN 201410192339A CN 103929333 A CN103929333 A CN 103929333A
- Authority
- CN
- China
- Prior art keywords
- node
- host node
- resource pool
- data
- fault
- 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
Abstract
The invention discloses an implementation method for an SDN Controller Pool. The resource pool is composed of a plurality of SDN controllers, wherein each controller in the pool is in the load-sharing working state, if faults happen to any controller, fault controller can be taken over by the other controllers in a lossless mode, synchronous states and dynamic data are sent to other nodes through an elected main node, and lossless taking over can be conducted when node faults occur. The implementation method mainly includes the step of resource pool construction, the step of data synchronization, the step of SDN switch connection establishment, the step of fault detection and the step of fault taking over.
Description
Technical field
The present invention relates to network communication field, specially refer to the implementation method of a kind of SDN controller resource pool (SDN Controller Pool).
Background technology
Software defined network (Software Defined Network, SDN), it is a kind of new network innovation framework, it realizes separating of network equipment chain of command and data surface by OpenFlow, for core network and application innovation provide open platform, it is mainly made up of controller and SDN switch, in large-scale networking, there are multiple controllers, in order to improve the reliability of system, realize often the backup of 1+1 by the active/standby mode of controller, but the reliability of this mode and the utilization rate of resource are not high, patent of the present invention has been concerned about the problem of this respect, invent a kind of implementation method of SDN controller resource pool, by a resource pool of multiple SDN controller composition, the operating state of each controller in pond in load sharing, wherein any one controller failure, other controllers in pond all can can't harm adapter, reach the backup effect of 1+N.
Summary of the invention
Main purpose of the present invention is to provide the implementation method of SDN controller resource pool, by multiple SDN controllers are formed to a Controller Pool, all controllers in pond backup each other, SDN switch can select one of them controller also can use multiple controllers to control according to the difference of business simultaneously, one of them controller failure, other controller real-time perception fault harmless adapter, because each controller has all been born business when normal, in improving reliability, also improve the service efficiency of controller.
The technical solution adopted for the present invention to solve the technical problems comprises: build resource pool, system divides multiple controllers to be divided into multiple Domain into, and each Domain is a resource pool; Host node election elects a controller as host node from pond, and this node is responsible for to other synchronisation of nodes state and dynamic data; Fault detect, by the detection of shaking hands in real time of the controller in host node and pond, finds to notify other nodes after fault; Failover, when detecting after fault, host node is selected suitable controller according to load balancing, is started and is taken over by the controller of choosing.
The invention has the beneficial effects as follows, realize the backup of 1+N by SDN controller resource pool, also can realize the load sharing of 1+N, in improving reliability, also improved the service efficiency of controller.
Brief description of the drawings
Below in conjunction with accompanying drawing and embodiment, the present invention is further described
Fig. 1 is the implementation method schematic flow sheet of a kind of SDN controller of the present invention resource pool.
Embodiment
The invention process be mainly by host node out of election to other synchronisation of nodes state and dynamic data, in the time having node failure, can't harm adapters, mainly comprise resource pool structure, data are synchronous, set up the connection of SDN switch, fault detect, failover.
With reference to Fig. 1, the implementation method implementation step of a kind of SDN controller of the present invention resource pool comprises:
Step S101, resource pool builds, and SDN controller is divided into multiple Domain by system, and the SDN controller of each Domain forms a resource pool, the ID of resource pool is consistent with Domain ID, a resource pool ID of each controller configuration, each controller represents a node simultaneously, each node has unique ID, build Controller Pool table, its field comprises Pool ID, node ID sequence, host node ID.System election host node, selects according to the MAC Address of each SDN controller, and what MAC Address was little preferentially elects host node as, status monitoring passage and the data synchronizing channel of host node foundation simultaneously and other nodes of resource pool.
Step S102, data are synchronous, in host node and pond, other nodes are set up data synchronizing channel, other any nodes are received when the request of SDN switch or the state of oneself change, by data channel, data are synchronized to host node, host node receives that information is synchronized to other controllers of resource pool in time, synchronously adopts TCP to connect, and uses message authentication mechanism.
Step S103, sets up SDN switch and connects, and SDN switch is by the passage of all nodes in the foundation of Openflow agreement and resource pool, but only having one of them SDN controller is Master, other are Slave, only have the channel status that connects Master for activating, and other are not deexcitation all.The selection of Master is decided according to the load of business and each node by host node, and in the time setting up Openflow interface channel, inform SDN switch by expansion Openflow agreement, SDN switch also can initiatively be selected Master, informs host node with the same manner.
Step S104, fault detect, other nodes of host node and resource pool start millisecond timer, when not receiving the hello packet of shaking hands of opposite end in 200 milliseconds, think the doubtful fault in opposite end, start the detection of adjacent node to peer node simultaneously, in 100 milliseconds, do not receive response, confirm opposite end status fault, otherwise state is the doubtful fault in opposite end always, fault detect adopts proprietary protocol, also can use the mechanism of similar BFD, in the time that host node detects certain node failure in resource pool, this fault message will be synchronized to other normal nodes by host node.
Step S105, failover, by the fault detect of step S104, there is the situation of node failure, if host node fault, other nodes in resource pool are determined new host node according to host node election principle, start the synchronous and fault detection mechanism of the data of new host node, with stylish host node according to the load of current each node select can taking over fault host node backup node, if be non-host node fault, equally by host node according to the load of current each node select can taking over fault node backup node; Backup node, by the Openflow agreement of expansion, switches to the request of SDN switch, and SDN switch receives after handover request, activates and the interface channel of new SDN controller, completes failover process.
Resource pool by above step builds, and data are synchronous, sets up SDN switch and connects, fault detect, failover, has just realized the systemic-function of SDN controller resource pool, wherein any one fault, other controllers in pond all can can't harm adapter, reach the backup effect of 1+N.
Realize compared with technology with existing, the inventive method can Fast synchronization data, quick and reliable detection failure, can rapid pipe connecting fault, and realize can't harm and take over, higher than traditional 1+1 backup pattern reliability, the operating state of the each controller in pond in load sharing, the utilization rate of resource is higher.
The technical scheme above embodiment of the present invention being provided is described in detail, applied principle and the execution mode of specific case to the embodiment of the present invention herein and set forth, the explanation of above embodiment is only applicable to help to understand the principle of the embodiment of the present invention; , for one of ordinary skill in the art, according to the embodiment of the present invention, in embodiment and range of application, all will change, in sum, this description should not be construed as limitation of the present invention meanwhile.
Claims (7)
1. the implementation method of a SDN controller resource pool, it is characterized in that: by a resource pool of multiple SDN controller composition, the operating state of each controller in pond in load sharing, to other synchronisation of nodes state and dynamic data, in the time having node failure, can't harm adapter by election host node out, mainly comprise that resource pool builds, data are synchronous, set up SDN switch and connect, fault detect, failover.
2. resource pool according to claim 1 builds, it is characterized in that: SDN controller is divided into multiple Domain by system, the SDN controller of each Domain forms a resource pool, and the ID of resource pool is consistent with Domain ID, a resource pool ID of each controller configuration, each controller represents a node simultaneously, each node has unique ID, builds Controller Pool table, and its field comprises Pool ID, node ID sequence, host node ID.
3. data according to claim 1 are synchronous, it is characterized in that: in host node and pond, other nodes are set up data synchronizing channel, other any nodes are received when the request of SDN switch or the state of oneself change, by data channel, data are synchronized to host node, host node receives that information is synchronized to other controllers of resource pool in time, the synchronous TCP of employing connects, and uses message authentication mechanism.
4. data channel according to claim 3, is characterized in that: the agreement of data channel based on TCP, and the form of this message comprises and is not limited to sending node ID, receiving node ID, message body length, message body; Its message body is used the text of XML to send, and comprises and is not limited to status data, ACL policy data, Openflow stream table data, node capacity data, QoS data, the profile data of SDN switch.
5. the SDN switch of setting up according to claim 1 connects, it is characterized in that: SDN switch is by the passage of all nodes in the foundation of Openflow agreement and resource pool, but only having one of them SDN controller is Master, other are Slave, only has the channel status that connects Master for activating, other all not deexcitations; The selection of Master is decided according to the load of business and each node by host node, and in the time setting up Openflow interface channel, informs SDN switch by Openflow agreement, and SDN switch also can initiatively be selected Master, informs host node with the same manner.
6. fault detect according to claim 1, it is characterized in that: other nodes of host node and resource pool start millisecond timer, when timer is as 200 milliseconds of overtime hello packet of shaking hands of not receiving opposite end, think the doubtful fault in opposite end, start the detection of adjacent node to peer node simultaneously, start the less timer of another one and do not receive response in 100 milliseconds, confirm opposite end status fault, otherwise state is the doubtful fault in opposite end always, in the time that host node detects certain node failure in resource pool, this fault message will be synchronized to other normal nodes by host node.
7. failover according to claim 1, it is characterized in that: if host node fault, other nodes in resource pool are determined new host node according to host node election principle, start the synchronous and fault detection mechanism of the data of new host node, with stylish host node according to the load of current each node select can taking over fault host node backup node, if be non-host node fault, equally by host node according to the load of current each node select can taking over fault node backup node; Backup node by Openflow agreement, switches to the request of SDN switch, and SDN switch receives after handover request, activates and the interface channel of new SDN controller, completes failover process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410192339.6A CN103929333A (en) | 2014-05-08 | 2014-05-08 | Implementation method for SDN controller pool |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410192339.6A CN103929333A (en) | 2014-05-08 | 2014-05-08 | Implementation method for SDN controller pool |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103929333A true CN103929333A (en) | 2014-07-16 |
Family
ID=51147417
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410192339.6A Pending CN103929333A (en) | 2014-05-08 | 2014-05-08 | Implementation method for SDN controller pool |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103929333A (en) |
Cited By (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104092774A (en) * | 2014-07-23 | 2014-10-08 | 杭州华三通信技术有限公司 | Software defined network connection establishment control method and device |
CN104158642A (en) * | 2014-08-08 | 2014-11-19 | 上海斐讯数据通信技术有限公司 | Method and system for providing backup for software defined network controller |
CN104410730A (en) * | 2014-12-10 | 2015-03-11 | 上海斐讯数据通信技术有限公司 | Seamless handover method of SDN (software defined network) main backup controller based on NAT (network address translation) technique |
CN104539442A (en) * | 2014-11-21 | 2015-04-22 | 华为技术有限公司 | Method, network equipment and system for enhancing reliability |
CN104579801A (en) * | 2015-02-10 | 2015-04-29 | 广州市品高软件开发有限公司 | Method for dispatching software-defined network controller cluster |
CN104579975A (en) * | 2015-02-10 | 2015-04-29 | 广州市品高软件开发有限公司 | Method for dispatching software-defined network controller cluster |
CN105119765A (en) * | 2015-09-30 | 2015-12-02 | 浪潮(北京)电子信息产业有限公司 | Intelligent processing fault system architecture |
CN105227385A (en) * | 2015-11-12 | 2016-01-06 | 中国联合网络通信集团有限公司 | A kind of method and system of troubleshooting |
CN105471613A (en) * | 2014-09-10 | 2016-04-06 | 中兴通讯股份有限公司 | Temporary channel establishing method, device and system |
CN105490955A (en) * | 2014-09-24 | 2016-04-13 | 杭州华三通信技术有限公司 | Flow switching method and flow switching equipment |
CN105553768A (en) * | 2015-12-15 | 2016-05-04 | 浙江工商大学 | SDN controller fault detection method based on adaptive timeout |
CN105577729A (en) * | 2014-10-17 | 2016-05-11 | 中兴通讯股份有限公司 | Load balancing method and device |
CN105610614A (en) * | 2015-12-28 | 2016-05-25 | ***股份有限公司 | High availability access system and high availability fault switching method |
CN105812161A (en) * | 2014-12-31 | 2016-07-27 | 中国电信股份有限公司 | Controller fault backup method and system |
US9639389B1 (en) | 2015-11-24 | 2017-05-02 | International Business Machines Corporation | Technology for dynamic resource pool master |
CN106789116A (en) * | 2017-03-28 | 2017-05-31 | 西安邮电大学 | A kind of energy-saving scheduling method in NB IOT networks |
CN107046486A (en) * | 2017-06-16 | 2017-08-15 | 郑州云海信息技术有限公司 | A kind of fail-over system acted on behalf of based on controller |
CN107179912A (en) * | 2017-06-07 | 2017-09-19 | 广州市品高软件股份有限公司 | A kind of hot upgrade method of distributed structure/architecture software defined network controller |
CN107528715A (en) * | 2016-06-22 | 2017-12-29 | 中兴通讯股份有限公司 | The determination method and apparatus of fault type |
CN107566278A (en) * | 2016-07-01 | 2018-01-09 | 中兴通讯股份有限公司 | Transmission method, apparatus and system |
CN108023814A (en) * | 2017-11-30 | 2018-05-11 | 北京邮电大学 | SDN control plane failure emergency systems and method |
CN108141376A (en) * | 2015-10-28 | 2018-06-08 | 华为技术有限公司 | Control flow in software defined network |
CN108540317A (en) * | 2018-03-29 | 2018-09-14 | 西安交通大学 | A kind of double-deck detection method of multiple domain SDN control node failures |
CN112565086A (en) * | 2019-09-10 | 2021-03-26 | 阿里巴巴集团控股有限公司 | Distributed network system, message forwarding method, device and storage medium |
CN113114800A (en) * | 2021-04-29 | 2021-07-13 | 新华三信息安全技术有限公司 | Resource processing method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102012899A (en) * | 2009-09-07 | 2011-04-13 | ***通信集团公司 | Method, system and equipment for updating data |
CN102437933A (en) * | 2012-01-04 | 2012-05-02 | 无锡云捷科技有限公司 | Fault tolerance system and method of server |
US8438631B1 (en) * | 2013-01-24 | 2013-05-07 | Sideband Networks, Inc. | Security enclave device to extend a virtual secure processing environment to a client device |
CN103561011A (en) * | 2013-10-28 | 2014-02-05 | 中国科学院信息工程研究所 | Method and system for preventing blind DDoS attacks on SDN controllers |
-
2014
- 2014-05-08 CN CN201410192339.6A patent/CN103929333A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102012899A (en) * | 2009-09-07 | 2011-04-13 | ***通信集团公司 | Method, system and equipment for updating data |
CN102437933A (en) * | 2012-01-04 | 2012-05-02 | 无锡云捷科技有限公司 | Fault tolerance system and method of server |
US8438631B1 (en) * | 2013-01-24 | 2013-05-07 | Sideband Networks, Inc. | Security enclave device to extend a virtual secure processing environment to a client device |
CN103561011A (en) * | 2013-10-28 | 2014-02-05 | 中国科学院信息工程研究所 | Method and system for preventing blind DDoS attacks on SDN controllers |
Cited By (42)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104092774A (en) * | 2014-07-23 | 2014-10-08 | 杭州华三通信技术有限公司 | Software defined network connection establishment control method and device |
CN104158642A (en) * | 2014-08-08 | 2014-11-19 | 上海斐讯数据通信技术有限公司 | Method and system for providing backup for software defined network controller |
CN104158642B (en) * | 2014-08-08 | 2018-03-27 | 上海斐讯数据通信技术有限公司 | A kind of method and system that backup is provided for software defined network controller |
CN105471613B (en) * | 2014-09-10 | 2020-03-10 | 中兴通讯股份有限公司 | Method, device and system for establishing temporary channel |
CN105471613A (en) * | 2014-09-10 | 2016-04-06 | 中兴通讯股份有限公司 | Temporary channel establishing method, device and system |
CN105490955A (en) * | 2014-09-24 | 2016-04-13 | 杭州华三通信技术有限公司 | Flow switching method and flow switching equipment |
CN105490955B (en) * | 2014-09-24 | 2019-01-22 | 新华三技术有限公司 | A kind of method and apparatus of flow switching |
CN105577729A (en) * | 2014-10-17 | 2016-05-11 | 中兴通讯股份有限公司 | Load balancing method and device |
CN104539442B (en) * | 2014-11-21 | 2018-04-20 | 华为技术有限公司 | For improving method, the network equipment and the system of reliability |
CN104539442A (en) * | 2014-11-21 | 2015-04-22 | 华为技术有限公司 | Method, network equipment and system for enhancing reliability |
CN104410730B (en) * | 2014-12-10 | 2018-04-10 | 上海斐讯数据通信技术有限公司 | SDN active and standby controller seamless handover methods based on NAT technologies |
CN104410730A (en) * | 2014-12-10 | 2015-03-11 | 上海斐讯数据通信技术有限公司 | Seamless handover method of SDN (software defined network) main backup controller based on NAT (network address translation) technique |
CN105812161B (en) * | 2014-12-31 | 2019-08-06 | 中国电信股份有限公司 | A kind of controller failure backup method and system |
CN105812161A (en) * | 2014-12-31 | 2016-07-27 | 中国电信股份有限公司 | Controller fault backup method and system |
CN104579975B (en) * | 2015-02-10 | 2018-01-05 | 广州市品高软件股份有限公司 | A kind of dispatching method of software defined network controller cluster |
CN104579801A (en) * | 2015-02-10 | 2015-04-29 | 广州市品高软件开发有限公司 | Method for dispatching software-defined network controller cluster |
CN104579801B (en) * | 2015-02-10 | 2018-01-16 | 广州市品高软件股份有限公司 | A kind of dispatching method of software defined network controller cluster |
CN104579975A (en) * | 2015-02-10 | 2015-04-29 | 广州市品高软件开发有限公司 | Method for dispatching software-defined network controller cluster |
CN105119765B (en) * | 2015-09-30 | 2018-06-29 | 浪潮(北京)电子信息产业有限公司 | A kind of Intelligent treatment fault system framework |
CN105119765A (en) * | 2015-09-30 | 2015-12-02 | 浪潮(北京)电子信息产业有限公司 | Intelligent processing fault system architecture |
CN108141376A (en) * | 2015-10-28 | 2018-06-08 | 华为技术有限公司 | Control flow in software defined network |
US10728094B2 (en) | 2015-10-28 | 2020-07-28 | Huawei Technologies Co., Ltd. | Control traffic in software defined networks |
CN105227385B (en) * | 2015-11-12 | 2019-03-05 | 中国联合网络通信集团有限公司 | A kind of method and system of troubleshooting |
CN105227385A (en) * | 2015-11-12 | 2016-01-06 | 中国联合网络通信集团有限公司 | A kind of method and system of troubleshooting |
US9639389B1 (en) | 2015-11-24 | 2017-05-02 | International Business Machines Corporation | Technology for dynamic resource pool master |
US9946570B2 (en) | 2015-11-24 | 2018-04-17 | International Business Machines Corporation | Technology for dynamic resource pool master |
CN105553768B (en) * | 2015-12-15 | 2018-11-09 | 浙江工商大学 | A kind of SDN controller failure detection methods based on adaptive time-out time |
CN105553768A (en) * | 2015-12-15 | 2016-05-04 | 浙江工商大学 | SDN controller fault detection method based on adaptive timeout |
CN105610614A (en) * | 2015-12-28 | 2016-05-25 | ***股份有限公司 | High availability access system and high availability fault switching method |
CN105610614B (en) * | 2015-12-28 | 2019-06-18 | ***股份有限公司 | High Availabitity accesses system and High Availabitity failure switching method |
CN107528715A (en) * | 2016-06-22 | 2017-12-29 | 中兴通讯股份有限公司 | The determination method and apparatus of fault type |
CN107566278A (en) * | 2016-07-01 | 2018-01-09 | 中兴通讯股份有限公司 | Transmission method, apparatus and system |
CN106789116A (en) * | 2017-03-28 | 2017-05-31 | 西安邮电大学 | A kind of energy-saving scheduling method in NB IOT networks |
CN106789116B (en) * | 2017-03-28 | 2019-10-18 | 西安邮电大学 | A kind of energy-saving scheduling method in NB-IOT network |
CN107179912B (en) * | 2017-06-07 | 2020-09-01 | 广州市品高软件股份有限公司 | Hot upgrading method for distributed architecture software defined network controller |
CN107179912A (en) * | 2017-06-07 | 2017-09-19 | 广州市品高软件股份有限公司 | A kind of hot upgrade method of distributed structure/architecture software defined network controller |
CN107046486A (en) * | 2017-06-16 | 2017-08-15 | 郑州云海信息技术有限公司 | A kind of fail-over system acted on behalf of based on controller |
CN108023814A (en) * | 2017-11-30 | 2018-05-11 | 北京邮电大学 | SDN control plane failure emergency systems and method |
CN108540317A (en) * | 2018-03-29 | 2018-09-14 | 西安交通大学 | A kind of double-deck detection method of multiple domain SDN control node failures |
CN112565086A (en) * | 2019-09-10 | 2021-03-26 | 阿里巴巴集团控股有限公司 | Distributed network system, message forwarding method, device and storage medium |
CN113114800A (en) * | 2021-04-29 | 2021-07-13 | 新华三信息安全技术有限公司 | Resource processing method and device |
CN113114800B (en) * | 2021-04-29 | 2022-05-24 | 新华三信息安全技术有限公司 | Resource processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103929333A (en) | Implementation method for SDN controller pool | |
CN103744809B (en) | Vehicle information management system double hot standby method based on VRRP | |
CN102098201B (en) | Method for realizing L2TP user access backup and network system | |
CN102917384B (en) | Hot backup method of coordinators in Zigbee network | |
WO2016023436A1 (en) | Fault detection method for virtual router redundancy protocol and router device | |
CN102255757B (en) | Link switching method and device | |
CN103780407A (en) | Gateway dynamic switching method and apparatus in distributed resilient network interconnection (DRNI) | |
CN105024836B (en) | Method and device for switching primary Service Router (SR) and standby SR and SR | |
CN101001165A (en) | Network failure recovery method with redundancy port | |
CN102710466B (en) | Standby usage board switches protection system and two-way converting detects seamless switching method and apparatus | |
CN103200109B (en) | A kind of ospf neighbor relationship management method and equipment | |
CN104486128B (en) | A kind of system and method for realizing redundancy heartbeat between dual controller node | |
CN101039172B (en) | Ethernet ring network system and its protection method and standby host node | |
CN101753581B (en) | Method and device for forwarding uninterrupted data | |
CN105207902A (en) | Main-standby virtual gateway system and method based on SDN | |
WO2014166274A1 (en) | Method, system and optical network terminal for ethernet performance detection | |
CN103227725A (en) | Method and device for dual-server backup of firewall | |
WO2016034127A1 (en) | System and method for achieving dual-node interconnection pseudo-wire | |
WO2016101825A1 (en) | Method and apparatus for hot standby of controllers in distributed protection | |
WO2011110135A2 (en) | Master-standby switching method, system control unit and communication system | |
CN103490951A (en) | Bidirectional forwarding detection method in multi-hop link on basis of BFD | |
CN102904705B (en) | Method and equipment for synchronizing batch of stacking systems | |
CN102769627A (en) | Configuration file synchronizing method and device | |
CN102412997B (en) | Method and system for transmitting link on/off state under main/standby environment | |
CN103220189A (en) | Multi-active detection (MAD) backup method and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140716 |
|
WD01 | Invention patent application deemed withdrawn after publication |