With the rapid development of Internet technology,network applications have increased dramatically.Traditional network architectures involve complex network protocols,high maintenance and upgrade costs,which make traditional network architectures unable to meet the increasing Internet demand.The traditional network is a distributed network.There is no centralized logical control node.This makes it difficult to manage the network from an overall perspective.SDN came into being,and the separation of SDN control plane and forwarding plane brought a new direction for the development of the network.However,the centralization of the control plane increases the likelihood of a single point of failure of the controller,and the performance of a single controller is limited.It cannot adapt to the expansion of the network scale,and multiple controllers need to work together to meet the requirements of the network.This paper studies the organization structure and performance assurance methods of SDN controller cluster,and designs and implements the SDN cluster control system.This paper main tasks as follows:(1)An SDN controller cluster organization structure is designed.Based on the analysis of the requirements of controller cluster system,this paper designs a controller cluster system framework based on OpenDaylight controller and Zookeeper distributed coordination service.The Zookeeper service is used to implement the members and configuration management of the cluster.(2)The performance guarantee mechanism of the SDN controller cluster system based on load balancing is designed.The load balancing is implemented on the northbound interface layer by using the LVS/DR technology,and the service request is forwarded to the controller cluster nodes through the load balancer.In the southbound interface layer,monitoring the switch packet upload rate to avoid overloading the controller.This paper designs the switch master controller election algorithm.When the switch packet upload rate exceeds the controller processing rate,some switches are migrated to the new master control to ensure the service performance of the controller.(3)The distributed database DataStore election optimization method is given.Optimize the design of distributed database shards,capture and manage the state of each shard in the cluster,and control the data shards that want to be promoted to avoid double or multi-master phenomena in the cluster.The paper realized the SDN controller cluster system,and carried out the deployment and testing.The experimental results verified the system's various functions and performance indicators,and the completed system meets the design requirements. |