CN108418863A - Management method, SDN controllers and the storage medium of controller cluster - Google Patents
Management method, SDN controllers and the storage medium of controller cluster Download PDFInfo
- Publication number
- CN108418863A CN108418863A CN201810099667.XA CN201810099667A CN108418863A CN 108418863 A CN108418863 A CN 108418863A CN 201810099667 A CN201810099667 A CN 201810099667A CN 108418863 A CN108418863 A CN 108418863A
- Authority
- CN
- China
- Prior art keywords
- sdn controllers
- state
- controller cluster
- configuration information
- sdn
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1044—Group management mechanisms
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/04—Network management architectures or arrangements
- H04L41/042—Network management architectures or arrangements comprising distributed management centres cooperatively managing the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/16—Threshold monitoring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1044—Group management mechanisms
- H04L67/1048—Departure or maintenance mechanisms
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Theoretical Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Computer And Data Communications (AREA)
- Selective Calling Equipment (AREA)
Abstract
The invention discloses the management method of controller cluster, SDN controllers and storage mediums.Current SDN controllers judge whether the first SDN controllers are in off-line state in the present invention, when judging that the first SDN controllers are in off-line state, it generates member and changes request, member, which is sent, to the 2nd SDN controllers changes request, so that the 2nd SDN controllers obtain the current device state of the first SDN controllers, and feed back current device state, when receiving the current device state of the 2nd SDN controllers feedback, judge whether current device state is off-line state, when current device state is not off-line state, the equipment state of first SDN controllers is regarded as into not offline state.In the present invention since the interaction with other controllers can be carried out based on the member status information that each controller is locally stored, simplify deployment architecture, to overcome carry out controller cluster it is scalable when the relatively complicated technical problem of interactive process.
Description
Technical field
The present invention relates to the management method of field of communication technology more particularly to controller cluster, SDN controllers and storages to be situated between
Matter.
Background technology
With the extensive use of software defined network (Software Defined Network, SDN), the Network Dept. of SDN
Administration's scale is also in rapid expansion.But it is limited to the operational capability of SDN controllers, the network that single SDN controllers can manage is set
Standby number is limited, also, when the performance of single SDN controllers is limited or attacked, easily causes Single Point of Faliure
Problem.
Therefore, mostly in such a way that multiple SDN controllers form a SDN controller cluster, to share single SDN controllers
Workload, to avoid above-mentioned Single Point of Faliure problem.
But it when carrying out network deployment with a SDN controller cluster, is if desired added into SDN controller clusters
A series of old SDN controllers of new SDN controllers or deletion, it is necessary to realize SDN controllers by technology and methods
The management of cluster and dynamic are scalable.
And the management of main SDN controllers cluster at present and dynamic are scalable mainly including following methods:
(1) master controller management
Referring to Fig. 1, Fig. 1 is the schematic diagram of main controller management mode.
When the management and scalable dynamic for carrying out SDN controller clusters by way of master controller management, SDN controllers
There is a master controller in cluster, the addition of other Common Controllers is managed collectively by the master controller or exits cluster.
In the concrete realization, main SDN controllers are responsible for establishing cluster, and receive the Shen that other SDN controllers send over
It please be added or exit the request of cluster.Main SDN controllers (will increase, delete according to these request modification cluster configuration informations, change
Remove or replace) cluster member.
The advantage of this scheme is, the global information of entire cluster, also, cluster will be stored in main SDN controllers
The change of member all only needs and the interaction of main SDN controllers.And its shortcoming is that, main SDN controllers still have Single Point of Faliure
Problem, once main SDN controllers fail, entire cluster all will be unable to work normally.
(2) packet type management
It is the schematic diagram of packet type way to manage referring to Fig. 2, Fig. 2.
When the management and scalable dynamic for carrying out SDN controller clusters by way of packet type management, SDN can be controlled
Device cluster is divided into several groups, and there are a main SDN controllers in each group.Also, the SDN controllers in each group according to
The mode of above-mentioned " master controller management " is run, and is also meaned that, other in the main SDN controller managements group of each group
SDN controller members, difference group main SDN controllers between re-form a cluster.
In addition, two spare controllers may be present in each main SDN controllers.When the failure of the main SDN controllers of group 1,
Spare controller is ranked up according to certain rule, and the main SDN that the forward spare controller that sorts is switching to group 1 is controlled
Device.
The advantage of this scheme is, will be not present Single Point of Faliure problem.And its shortcoming is that, only network size compared with
Greatly, when and SDN controller cluster scales are also larger, the program can just be used.But in the specific landing of actual items,
The case where using larger SDN controller clusters, is less.Also, if using the party in the case where network size is smaller
The lower deployment cost of case, SDN controller clusters is excessively high.
As it can be seen that above two all has one for the deployment way of management and the scalable proposition of dynamic of SDN controller clusters
A little more apparent problems, for example, the deployment way of " master controller management " easily causes Single Point of Faliure problem, and " packet type pipe
There are the higher problems of complicated and cost for the deployment way of reason ".So currently in the management for realizing controller cluster and moving
Controller cluster is complex when state is scalable, also there is carry out controller cluster it is scalable when interactive process it is relatively complicated
Technical problem.
The above is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that the above is existing skill
Art.
Invention content
The main purpose of the present invention is to provide the management method of controller cluster, SDN controllers and storage mediums, it is intended to
Solve carry out controller cluster it is scalable when the relatively complicated technical problem of interactive process.
To achieve the above object, the present invention provides a kind of management method of controller cluster, the pipe of the controller cluster
Reason method includes the following steps:
Current SDN controllers judge whether the first SDN controllers are in off-line state;
When judging that the first SDN controllers are in off-line state, generates member and change request, controlled to the 2nd SDN
Device sends the member and changes request, so that the 2nd SDN controllers are when receiving the member and changing request, from described
The current device state of the first SDN controllers is obtained in the member status information of 2nd SDN controllers, and is worked as described in feedback
Preceding equipment state, the first SDN controllers, the 2nd SDN controllers and the current SDN controllers belong to default control
Device cluster;
When receiving the current device state of the 2nd SDN controllers feedback, the current device shape is judged
Whether state is off-line state;
When the current device state is not off-line state, the equipment state of the first SDN controllers is regarded as
Not offline state.
Preferably, the current SDN controllers judge whether the first SDN controllers are in off-line state, specifically include:
Whether current SDN controllers detection receives the heartbeat message of the first SDN controllers transmission in preset time, and
Generate testing result;
Judge whether the first SDN controllers are in off-line state according to the testing result.
It is preferably, described that the first SDN controllers are judged whether after off-line state according to the testing result,
The management method of the controller cluster further includes:
It counts the first SDN controllers and is identified the number in off-line state;
When the number is more than predetermined threshold value, looked into from the member status information stored in the current SDN controllers
The equipment state for looking for the first SDN controllers sets the equipment state of the first SDN controllers to off-line state.
Preferably, described when receiving the current device state of the 2nd SDN controllers feedback, described in judgement
After whether current device state is off-line state, the management method of the controller cluster further includes:
When the current device state is off-line state, to the member configuration information of the current SDN controllers storage
It modifies, using modified member configuration information as the first configuration information;
Other SDN controllers into the prescription controller cluster broadcast first configuration information, so that other SDN
The member configuration information stored in other SDN controllers is replaced with first configuration information by controller.
Preferably, described when receiving the current device state of the 2nd SDN controllers feedback, described in judgement
After whether current device state is off-line state, the management method of the controller cluster further includes:
When the current device state is off-line state, from the member status information of the current SDN controllers storage
The middle equipment state for deleting the first SDN controllers, using the member status information after deletion as new member status information;
The new member status information is sent to the 2nd SDN controllers according to predetermined period, so that described second
The member status information stored in 2nd SDN controllers is replaced with new member status information by SDN controllers.
Preferably, described when the current device state is not off-line state, by the equipment of the first SDN controllers
After state regards as not offline state, the management method of the controller cluster further includes:
Request is deleted in response to member input by user, other SDN controllers hair into the prescription controller cluster
The member is sent to delete request, so that other SDN controllers feed back the member and delete when receiving the member and deleting request
Subtract the return information of request;
Whether when receiving the return information of other SDN controllers feedback, it includes confirming to detect in the return information
Modification instruction, when the return information includes the confirmation modification instruction, to the member stored in the current SDN controllers
Configuration information is modified, and to generate modified member configuration information, is matched modified member configuration information as second
Confidence ceases;
Second configuration information is broadcasted to other SDN controllers, so that other SDN controllers are by other SDN controllers
The member configuration information of middle storage replaces with second configuration information.
Preferably, described when the current device state is not off-line state, by the equipment of the first SDN controllers
After state regards as not offline state, the management method of the controller cluster further includes:
When the first member for receiving the transmission of the 3rd SDN controllers adds request, into the prescription controller cluster
Other SDN controllers send first member and add request so that other SDN controllers are receiving first member
When adding request, feedback first member adds the return information of request, and the first member addition request is used for will be described
3rd SDN controllers are added into the prescription controller cluster;
Whether when receiving the return information of other SDN controllers feedback, it includes confirming to detect in the return information
Modification instruction, when the return information includes the confirmation modification instruction, to the member stored in the current SDN controllers
Configuration information is modified, and to generate modified member configuration information, modified member configuration information is matched as third
Confidence ceases;
Other SDN controllers broadcast described the into the 3rd SDN controllers and the prescription controller cluster
Three configuration informations, so that the member stored in SDN controllers is matched confidence by the SDN controllers for receiving the third configuration information
Breath replaces with the third configuration information.
Preferably, described when the current device state is not off-line state, by the equipment of the first SDN controllers
After state regards as not offline state, the management method of the controller cluster further includes:
It adds and asks in response to the second member input by user, other SDN controls into the prescription controller cluster
Device sends second member and adds request, so that other SDN controllers are when receiving second member and adding request, instead
The return information that second member adds request is presented, second member adds request for adding the 4th SDN controllers
Enter the prescription controller cluster;
Whether when receiving the return information of other SDN controllers transmission, it includes confirming to detect in the return information
Modification instruction, when the return information includes the confirmation modification instruction, to the member stored in the current SDN controllers
Configuration information is modified, and to generate modified member configuration information, modified member configuration information is matched as the 4th
Confidence ceases;
Other SDN controllers broadcast described the into the 4th SDN controllers and the prescription controller cluster
Four configuration informations, so that the member stored in SDN controllers is matched confidence by the SDN controllers for receiving the 4th configuration information
Breath replaces with the 4th configuration information.
In addition, to achieve the above object, the present invention also provides a kind of SDN controllers, the SDN controllers include:Storage
Device, processor and the management program for being stored in the controller cluster that can be run on the memory and on the processor, institute
State the step of management program of controller cluster is arranged for carrying out the management method of controller cluster as described above.
In addition, to achieve the above object, the present invention also provides a kind of storage medium, control is stored on the storage medium
The management program of the management program of device cluster, the controller cluster realizes controller as described above when being executed by processor
The step of management method of cluster.
In the present invention by locally prestoring member status information in SDN controllers so that when judging a control
When device is likely to be at off-line state, can by the member status information come into the judgement again of the equipment state of line control unit, by
In the interaction with other controllers can be carried out based on the member status information that each controller is locally stored, deployment knot is simplified
Structure, to overcome carry out controller cluster it is scalable when the relatively complicated technical problem of interactive process.
Description of the drawings
Fig. 1 is the schematic diagram of main controller management mode;
Fig. 2 is the schematic diagram of packet type way to manage;
Fig. 3 is the SDN controller architecture schematic diagrames for the hardware running environment that the embodiment of the present invention is related to;
Fig. 4 is the flow diagram of the management method first embodiment of controller cluster of the present invention;
Fig. 5 in order to control the management method of device cluster controller dispose schematic diagram;
Fig. 6 is the flow diagram of the management method second embodiment of controller cluster of the present invention;
Fig. 7 is the flow diagram of the management method 3rd embodiment of controller cluster of the present invention;
Fig. 8 is the flow diagram of the management method fourth embodiment of controller cluster of the present invention;
Fig. 9 is the flow diagram of the 5th embodiment of management method of controller cluster of the present invention;
Figure 10 is the deployment schematic diagram of prescription controller cluster and the 3rd SDN controllers.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
With reference to Fig. 3, Fig. 3 is the SDN controller architecture schematic diagrames for the hardware running environment that the embodiment of the present invention is related to.
As shown in figure 3, the SDN controllers may include:Processor 1001, such as CPU, communication bus 1002, Yong Hujie
Mouth 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is logical for realizing the connection between these components
Letter.User interface 1003 may include display screen (Display), and optional user interface 1003 can also connect including the wired of standard
Mouth, wireless interface, the wireline interface for user interface 1003 can be USB interface in the present invention.Network interface 1004 is optional
May include standard wireline interface and wireless interface (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory,
Can also be stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally may be used also
To be independently of the storage device of aforementioned processor 1001.
It, can be with it will be understood by those skilled in the art that structure shown in Fig. 3 does not constitute the restriction to SDN controllers
Including than illustrating more or fewer components, either combining certain components or different components arrangement.
As shown in figure 3, as may include that operating system, network are logical in a kind of memory 1005 of computer storage media
Believe module, the management program of Subscriber Interface Module SIM and controller cluster.
In SDN controllers shown in Fig. 3, network interface 1004 is mainly used for connecting background server, with the backstage
Server is into row data communication;User interface 1003 is mainly used for connecting peripheral hardware;The SDN controllers are adjusted by processor 1001
With the management program of the controller cluster stored in memory 1005, and execute following operation:
Judge whether the first SDN controllers are in off-line state;
When judging that the first SDN controllers are in off-line state, generates member and change request, controlled to the 2nd SDN
Device sends the member and changes request, so that the 2nd SDN controllers are when receiving the member and changing request, from described
The current device state of the first SDN controllers is obtained in the member status information of 2nd SDN controllers, and is worked as described in feedback
Preceding equipment state, the first SDN controllers, the 2nd SDN controllers and the current SDN controllers belong to default control
Device cluster;
When receiving the current device state of the 2nd SDN controllers feedback, the current device shape is judged
Whether state is off-line state;
When the current device state is not off-line state, the equipment state of the first SDN controllers is regarded as
Not offline state.
Further, processor 1001 can call the management program of the controller cluster stored in memory 1005, also
Execute following operation:
Whether detection receives the heartbeat message of the first SDN controllers transmission in preset time, and generates testing result;
Judge whether the first SDN controllers are in off-line state according to the testing result.
Further, processor 1001 can call the management program of the controller cluster stored in memory 1005, also
Execute following operation:
It counts the first SDN controllers and is identified the number in off-line state;
When the number is more than predetermined threshold value, looked into from the member status information stored in the current SDN controllers
The equipment state for looking for the first SDN controllers sets the equipment state of the first SDN controllers to off-line state.
Further, processor 1001 can call the management program of the controller cluster stored in memory 1005, also
Execute following operation:
When the current device state is off-line state, to the member configuration information of the current SDN controllers storage
It modifies, using modified member configuration information as the first configuration information;
Other SDN controllers into the prescription controller cluster broadcast first configuration information, so that other SDN
The member configuration information stored in other SDN controllers is replaced with first configuration information by controller.
Further, processor 1001 can call the management program of the controller cluster stored in memory 1005, also
Execute following operation:
When the current device state is off-line state, from the member status information of the current SDN controllers storage
The middle equipment state for deleting the first SDN controllers, using the member status information after deletion as new member status information;
The new member status information is sent to the 2nd SDN controllers according to predetermined period, so that described second
The member status information stored in 2nd SDN controllers is replaced with new member status information by SDN controllers.
Further, processor 1001 can call the management program of the controller cluster stored in memory 1005, also
Execute following operation:
Request is deleted in response to member input by user, other SDN controllers hair into the prescription controller cluster
The member is sent to delete request, so that other SDN controllers feed back the member and delete when receiving the member and deleting request
Subtract the return information of request;
Whether when receiving the return information of other SDN controllers feedback, it includes confirming to detect in the return information
Modification instruction, when the return information includes the confirmation modification instruction, to the member stored in the current SDN controllers
Configuration information is modified, and to generate modified member configuration information, is matched modified member configuration information as second
Confidence ceases;
Second configuration information is broadcasted to other SDN controllers, so that other SDN controllers are by other SDN controllers
The member configuration information of middle storage replaces with second configuration information.
Further, processor 1001 can call the management program of the controller cluster stored in memory 1005, also
Execute following operation:
When the first member for receiving the transmission of the 3rd SDN controllers adds request, into the prescription controller cluster
Other SDN controllers send first member and add request so that other SDN controllers are receiving first member
When adding request, feedback first member adds the return information of request, and the first member addition request is used for will be described
3rd SDN controllers are added into the prescription controller cluster;
Whether when receiving the return information of other SDN controllers feedback, it includes confirming to detect in the return information
Modification instruction, when the return information includes the confirmation modification instruction, to the member stored in the current SDN controllers
Configuration information is modified, and to generate modified member configuration information, modified member configuration information is matched as third
Confidence ceases;
Other SDN controllers broadcast described the into the 3rd SDN controllers and the prescription controller cluster
Three configuration informations, so that the member stored in SDN controllers is matched confidence by the SDN controllers for receiving the third configuration information
Breath replaces with the third configuration information.
Further, processor 1001 can call the management program of the controller cluster stored in memory 1005, also
Execute following operation:
It adds and asks in response to the second member input by user, other SDN controls into the prescription controller cluster
Device sends second member and adds request, so that other SDN controllers are when receiving second member and adding request, instead
The return information that second member adds request is presented, second member adds request for adding the 4th SDN controllers
Enter the prescription controller cluster;
Whether when receiving the return information of other SDN controllers transmission, it includes confirming to detect in the return information
Modification instruction, when the return information includes the confirmation modification instruction, to the member stored in the current SDN controllers
Configuration information is modified, and to generate modified member configuration information, modified member configuration information is matched as the 4th
Confidence ceases;
Other SDN controllers broadcast described the into the 4th SDN controllers and the prescription controller cluster
Four configuration informations, so that the member stored in SDN controllers is matched confidence by the SDN controllers for receiving the 4th configuration information
Breath replaces with the 4th configuration information.
In the present embodiment by locally prestoring member status information in SDN controllers so that when judging a control
When device processed is likely to be at off-line state, can by the member status information come into the judgement again of the equipment state of line control unit,
Since the interaction with other controllers can be carried out based on the member status information that each controller is locally stored, deployment knot is simplified
Structure, to overcome carry out controller cluster it is scalable when the relatively complicated technical problem of interactive process.
Based on above-mentioned hardware configuration, the embodiment of the management method of controller cluster of the present invention is proposed.
It is the flow diagram of the management method first embodiment of controller cluster of the present invention with reference to Fig. 4, Fig. 4.
In the first embodiment, the management method of the controller cluster includes the following steps:
Step S10:Current SDN controllers judge whether the first SDN controllers are in off-line state;
It is understood that it is bright to consider that the deployment way of " master controller way to manage " and " packet type management " all exists
Aobvious structure problem, it is complex in order to avoid the structure of deployment, it is proposed that the controller deployment way of the present embodiment description.
It is the controller deployment schematic diagram of the management method of controller cluster referring to Fig. 5, Fig. 5, originally for simplifiedly description
The deployment way that embodiment proposes.The deployment way of the deployment way of Fig. 5 and " packet type management " shown in Fig. 2 is carried out pair
Than deployment way shown in fig. 5 will also be not provided with master controller, the status of each controller is equity without grouping
's.Because it is complex that grouping mechanism easily leads to overall structure, and cost is higher when actually landing is implemented;Moreover, Fig. 5 institutes
The deployment way stated is not provided with master controller, also would not easily lead to Single Point of Faliure because unique master controller is arranged, from
And the structure disposed more simplifies.
But deployment way the reason of all there is main SDN controllers of Fig. 1 and Fig. 2 descriptions, is, will pass through master controller
Other controllers being connected with master controller are linked up and safeguarded as core, to realize integrally-built effective interaction.Logical
The deployment way of Fig. 5 is crossed come after disposing, in order to continue to ensure integrally-built effective interaction, by each controlling in this present embodiment
The status of device is all reciprocity, will store and safeguard member status information in the local of each controller, member condition letter
The operating status for recording each controller in prescription controller cluster is ceased, so, it will be by each control in the present embodiment
Member status information is stored in device to be linked up with other controllers, to ensure that overall structure can be interacted effectively.Its
In, the member status information specifically includes the operating status of each controller, alias, internet address (Internet
Protocol Address, IP address) etc. the relevant information of controllers.
In the concrete realization, for example, one prescription controller cluster of setting, which includes first
SDN controllers A1, current SDN controllers A2 and the 2nd SDN controller A3, due to the ground of the controller of the prescription controller cluster
Position equality, is not present other controllers of master controller as its subordinate of core contact device, and learns collection in current SDN controllers
The first SDN controllers A1 in group is when being in off-line state, Fig. 1 and deployment way shown in Fig. 2 all will by master controller come
Judge whether the first SDN controllers A1 is in off-line state or by the first SDN controllers A1 from default control really
It is deleted in device cluster, and can send and ask to any controller in cluster in the present embodiment, to confirm the first SDN controllers A1
Time of day information and carry out subsequent operation, without only according to master controller.
Step S20:When judging that the first SDN controllers are in off-line state, generates member and change request, to second
SDN controllers send the member and change request, so that the 2nd SDN controllers are receiving member's change request
When, the current device state of the first SDN controllers is obtained from the member status information of the 2nd SDN controllers, and
Feed back the current device state, the first SDN controllers, the 2nd SDN controllers and the current SDN controllers category
In prescription controller cluster;
It is understood that when current SDN controllers A2 judges that the first SDN controllers A1 is in off-line state, but
It is, it is contemplated that in the actual motion environment of controller cluster, it is understood that there may be influence and equipment fault of communication link etc. are more
Kind accident, in order to further confirm whether the first SDN controllers A1 is in off-line state really, current SDN controllers A2 will
It generates member and changes request, and the member is changed into request and sends another controller in prescription controller cluster, for example, second
SDN controller A3, by the local of each controller in prescription controller cluster is stored with member in this present embodiment
Status information can inquire the current of the first SDN controllers in the member status information that the 2nd SDN controllers A3 is locally stored and set
Standby state, and feed back the current equipment state and return current SDN controllers A2.
Step S30:When receiving the current device state of the 2nd SDN controllers feedback, work as described in judgement
Whether preceding equipment state is off-line state;
Step S40:When the current device state is not off-line state, by the equipment shape of the first SDN controllers
State regards as not offline state.
It should be understood that the current device state of the 2nd SDN controllers A3 feedbacks may be off-line state or operation
State shows if the current device state of the 2nd SDN controllers A3 feedbacks is not off-line state for the 2nd SDN controllers
For A3, the first controller A1 is in operating status.This kind of current SDN controllers A2 think the first SDN controllers A1 be in from
Linear state and the 2nd SDN controllers A3 thinks the case where the first SDN controllers A1 is not at off-line state, it may be possible to because current
Link fails between SDN controllers A2 and the first SDN controllers A1, and the 2nd SDN controllers A3 and the first SDN is controlled
Link between device A1 is normal, also, the equipment operation of the first SDN controllers A1 is normal, so, the first SDN controllers
Interworking between A1 and the 2nd SDN controllers A3 still keeps normal.Certainly, above-mentioned two SDN controllers are generated
The reason of two different results, is not limited to above-mentioned statement.
It is understood that when the current device state of the 2nd SDN controllers A3 feedbacks is not off-line state, will not recognize
The equipment of fixed first SDN controllers A1 is off-line state, that is, it is out of service to be not considered as that the first SDN controllers A1 breaks down.
In the present embodiment by locally prestoring member status information in SDN controllers so that when judging a control
When device processed is likely to be at off-line state, can by the member status information come into the judgement again of the equipment state of line control unit,
Since the interaction with other controllers can be carried out based on the member status information that each controller is locally stored, deployment knot is simplified
Structure, to overcome carry out controller cluster it is scalable when the relatively complicated technical problem of interactive process.
It is the flow diagram of the management method second embodiment of controller cluster of the present invention with reference to Fig. 6, Fig. 6, based on upper
First embodiment shown in Fig. 4 is stated, proposes the second embodiment of the management method of controller cluster of the present invention.
In a second embodiment, the step S10, specifically includes:
Step S101:Whether current SDN controllers detection receives the heart of the first SDN controllers transmission in preset time
Message is jumped, and generates testing result;
It is understood that judging whether the first SDN controllers are in the side of off-line state for current SDN controllers
Formula can be realized by heartbeat mechanism.The heartbeat message, the equipment state for characterizing the first SDN controllers.It is described
Heartbeat mechanism is that sender will periodically send heartbeat message (Heartbeat Message) to recipient, so that recipient
Determine the current operating conditions of sender.So the first SDN controllers can be sent in preset time to current SDN controllers
Heartbeat message can assert the first SDN controllers when current SDN controllers do not receive the heartbeat message in preset time
In off-line state.
Step S102:Judge whether the first SDN controllers are in off-line state according to the testing result.
In the concrete realization, for example, not receiving the first SDN controllers hair in preset time in current SDN controllers
When the heartbeat message sent, the testing result got is " the first SDN controllers are in off-line state ".
Further, after the step S102, the management method of the controller cluster further includes:
Step S20':It counts the first SDN controllers and is identified the number in off-line state;
It is understood that judging that the first SDN controllers are off-line state by heartbeat mechanism in current SDN controllers
When, it can further be verified by the equipment state of the first SDN controllers of the 2nd SDN controllers pair.But in controller
The structure of cluster is complex or does not receive the 2nd SDN controllers further testing for the first SDN controllers for a long time
When demonstrate,proving result, since current SDN controllers can not at once carry out accurately the real equipment state of the first SDN controllers
Judge, also, only judges that the equipment states of the first SDN controllers, can be right there is also certain error by heartbeat mechanism
The testing result that heartbeat mechanism is got repeatedly is counted, according to statistical result come the equipment state to the first SDN controllers
Judged.
Step S30':When the number is more than predetermined threshold value, the member condition that is stored from the current SDN controllers
The equipment state of the first SDN controllers is set as offline by the equipment state that the first SDN controllers are searched in information
State.
In the concrete realization, for example, the testing result got according to heartbeat mechanism in current SDN controllers is shown as
When " the first SDN controllers are in off-line state ", since heartbeat message is periodically sent, so, it will repeatedly get
The testing result, statistics are shown as the quantity of the testing result of " the first SDN controllers are in off-line state ".If the quantity is more than
Predetermined threshold value then shows that current SDN controllers fail to be connected to the first SDN controllers for a long time, in order to improve controller fortune
First SDN controllers directly can be regarded as off-line state by capable efficiency because, if current SDN controllers attempt for a long time with
First SDN controllers, which are connected to, cannot but be connected to, and can occupy the pipeline flow in cluster, reduce operational efficiency.
The equipment state of each SDN controllers is judged by heartbeat mechanism in the present embodiment, so that current SDN controls
Device processed can detect the equipment state of other SDN controllers in real time and efficiently;Also, when the number of statistics is more than predetermined threshold value
When set the equipment state of the first SDN controllers to off-line state, controller operational efficiency can be improved, evade falling long-time nothing
The controller communication program of effect.
It is the flow diagram of the management method 3rd embodiment of controller cluster of the present invention with reference to Fig. 7, Fig. 7, based on upper
First embodiment shown in Fig. 4 is stated, proposes the 3rd embodiment of the management method of controller cluster of the present invention.
In the third embodiment, after the step S30, the management method of the controller cluster further includes:
Step S401:When the current device state is off-line state, to the member of the current SDN controllers storage
Configuration information is modified, using modified member configuration information as the first configuration information;
It is understood that when the current device state that the 2nd SDN controllers return also is off-line state, the can be assert
One SDN controllers are really off-line state, and since the first SDN controllers have been off, the first SDN having been off in order to prevent is controlled
Device processed influences the normal operation of other SDN controllers in prescription controller cluster, can automatically will be related in member configuration information
The configuration information of first SDN controls is deleted, and the configuration information of not offline current SDN controls and the 2nd SDN controls is retained.
Wherein, for member configuration information, member configuration information has been locally stored in SDN controllers, which matches confidence
Breath include the configuration information of SDN controllers itself, the configuration information for the SDN switching equipment being connected with SDN controllers, forwarding table and
Safety-related rule etc..
Step S402:Other SDN controllers into the prescription controller cluster broadcast first configuration information, with
Make other SDN controllers that the member configuration information stored in other SDN controllers is replaced with first configuration information.
In the concrete realization, what is taken due to the present embodiment is deployment way as shown in Figure 5, the ground of each SDN controllers
Position is equality, so, all SDN controllers stored in each SDN controllers in prescription controller cluster are matched into confidence
Breath, and the configuration information of itself SDN controller is not only stored, so, it, not only will be to working as after the first SDN controllers are offline
The member configuration information that preceding SDN controllers are locally stored modifies, and will broadcast the modified member configuration information to pre-
If other SDN controllers in controller cluster, the member updated storage to all SDN controllers realized in cluster
Configuration information.Because the first SDN controllers are offline, it will in updated member configuration information i.e. the first configuration information
The configuration information of current SDN controllers and the 2nd SDN controllers is only included, but does not include the configuration information of the first SDN controllers.
Certainly, can according to actual conditions, by the information type in the member configuration information be divided into strong consistency information with
Weak consistency information, the strong consistency information need each controller in controller cluster to be consistent, the weak consistency
Information does not need all members in cluster and is all consistent all the time, only requires after a long period, and information can synchronize
To all or most of member in cluster.So can be that different synchronizations are arranged from weak consistency information in strong consistency information
Time limit, for example, strong consistency information is set as to synchronize in the shorter interior time limit, by weak consistency information be set as than
The strong consistency information longer time limit in synchronize.
Further, after the step S30, the management method of the controller cluster further includes:It is currently set described
When standby state is off-line state, the first SDN controls are deleted from the member status information that the current SDN controllers store
The equipment state of device, using the member status information after deletion as new member status information;According to predetermined period to described
Two SDN controllers send the new member status information, so that the 2nd SDN controllers will be deposited in the 2nd SDN controllers
The member status information of storage replaces with new member status information.
In the concrete realization, it is different from member configuration information and both there is strong consistency information there is also weak consistency letters
Breath, member status information are strong consistency information, so, the member condition letter that each controller in controller cluster is locally stored
Breath can synchronize in the shorter interior time limit.So when judging the first SDN controllers for off-line state, it will be directly from member's shape
The equipment state of the first SDN controllers is deleted in state information.
Further, since member status information be strong consistency information, by within a shorter time cycle to other SDN
Controller sends the member status information, ensures that the member status information of each controller in controller cluster is almost every to play
When often carve and be all consistent.Because SDN controllers mostly judge the operating status of other controllers, institute with member status information
The operation in the cluster of SDN controllers can be largely influenced with, the member status information and path judges.
It is understood that by sending the new member status information to the second SDN controllers in predetermined period, and
The member status information that 2nd SDN controllers are locally stored is replaced with into the new member status information, to ensure that member
Status information it is consistent.
It can be automatically deleted from member configuration information in the present embodiment and be judged as that the correlation of the controller of off-line state is matched
Confidence ceases, and modified member configuration information is broadcasted, to ensure that the member configuration information of each controller storage
It is consistent and there is preferable stability;Meanwhile passing through each SDN controllers in predetermined period in isochronous controller cluster
Member status information, to ensure that each controller can steadily carry out information exchange.
It is the flow diagram of the management method fourth embodiment of controller cluster of the present invention with reference to Fig. 8, Fig. 8, based on upper
First embodiment shown in Fig. 4 is stated, proposes the fourth embodiment of the management method of controller cluster of the present invention.
In the fourth embodiment, the SDN controllers in controller cluster, which can actively propose to delete, oneself goes out cluster, the step
After rapid S40, the management method of the controller cluster further includes:
Step S501:Request is deleted in response to member input by user, other SDN into the prescription controller cluster
Controller sends the member and deletes request, so that other SDN controllers are when receiving the member and deleting request, feedback institute
State the return information that member deletes request;
It is understood that when the controller in prescription controller cluster actively proposes to exit the cluster, will first send
Member, which deletes, to be asked to other members in cluster, the reply that other SDN controllers will be waited for delete request for the member.
Step S502:When receiving the return information of other SDN controllers feedback, detect in the return information whether
Including confirming modification instruction, when the return information includes the confirmation modification instruction, to being deposited in the current SDN controllers
The member configuration information of storage modifies, and to generate modified member configuration information, modified member configuration information is made
For the second configuration information;
It should be understood that for example, when if current SDN controllers actively exit prescription controller cluster, will first send into
Member deletes request to the first SDN controllers and the 2nd SDN controllers, and waits for the first SDN controllers and the 2nd SDN controllers pair
The reply of request is deleted in the member, which may include confirming modification instruction, show to agree to that current SDN controllers move back
Go out the prescription controller cluster.But during current SDN controllers exit the practical realization of prescription controller cluster, need
Ensure the consistency of configuration information, not so, it will influence the stability of entire controller cluster operation, also, avoid working as
Occur some invalidation requests for being directed to current SDN controllers after preceding SDN controllers are formal offline.So will be controlled in other SDN
After device agrees to that current SDN controllers exit cluster, actively modify to the member configuration information of current SDN controllers, specifically
Operation is the configuration information in relation to current SDN controllers itself will to be deleted from the member configuration information of current SDN controllers,
Retain the configuration information of other SDN controllers, because will all pre-save all controls in cluster in each controller of the present embodiment
The configuration information of device processed.
Step S503:Broadcast second configuration information to other SDN controllers so that other SDN controllers by other
The member configuration information stored in SDN controllers replaces with second configuration information.
It is understood that after completing for the modification for the member configuration information being locally stored, confidence can be matched by second
Breath broadcast is to other controllers, to ensure that the configuration information stored in each controller is consistent.
In the present embodiment by the way that modified member configuration information is sent to each controller in controller cluster simultaneously
It preserves to local, oneself goes out cluster to which the SDN controllers realized in controller cluster can actively propose to delete, reduction control
Device cluster, and can ensure that the remaining SDN controllers in cluster can guarantee stable operation.
It is the flow diagram of the 5th embodiment of management method of controller cluster of the present invention with reference to Fig. 9, Fig. 9, based on upper
First embodiment shown in Fig. 4 is stated, proposes the 5th embodiment of the management method of controller cluster of the present invention.
In the 5th embodiment, the SDN controllers outside controller cluster, which can actively propose to add, oneself enters cluster, the step
After rapid S40, the management method of the controller cluster further includes:
Step S501':When the first member for receiving the transmission of the 3rd SDN controllers adds request, to the default control
Other SDN controllers in device cluster processed send first member and add request, so that other SDN controllers are receiving
When stating the first member addition request, the return information that first member adds request, the first member addition request are fed back
For the 3rd SDN controllers to be added into the prescription controller cluster;
It is understood that including current SDN controllers, the first SDN controllers and second in prescription controller cluster
SDN controllers, when there are a new SDN controller, i.e. the 3rd SDN controllers are intended to that the prescription controller cluster is added, in order to
Do not influence steadily interact between the controller in former cluster, at the same the 3rd SDN controllers also can in former cluster
Controller interacts, and needs, when prescription controller cluster is added in the 3rd SDN controllers, to match confidence to each controller automatically
Breath is modified.
Step S502':When receiving the return information of other SDN controllers feedback, detecting in the return information is
No includes confirming modification instruction, when the return information includes the confirmation modification instruction, in the current SDN controllers
The member configuration information of storage modifies, to generate modified member configuration information, by modified member configuration information
As third configuration information;
It is the deployment schematic diagram of prescription controller cluster and the 3rd SDN controllers referring to Figure 10, Figure 10.In Fig. 10, by
It is not the controller in prescription controller cluster in the 3rd SDN controllers, will first sends the first member and add request in cluster
Any controller, for example, can the first member be added request be sent to current controller in cluster;Current controller is connecing
After receiving first member addition request, it will notify that there are a new controllers to be intended to that this collection is added for other controllers in cluster
Group, so, first member will be forwarded to add request to other controllers in cluster, to learn whether other controllers are agreed to
The addition of new controller.
Step S503':Other SDN controllers into the 3rd SDN controllers and the prescription controller cluster
The third configuration information is broadcasted, so that receiving the SDN controllers of the third configuration information will store in SDN controllers
Member configuration information replaces with the third configuration information.
In the concrete realization, when the return information of other controllers feedback includes confirming modification instruction, show cluster
Interior controller agrees to that cluster is added in new controller.It, will be automatically to each SDN controllers local after other controllers are all agreed to
The member configuration information of storage modifies, which mainly adds in former member configuration information about the 3rd SDN
The configuration information of controller, so that the controller in cluster can realize the communication with third controller.So third matches confidence
It will include the configuration information of each SDN controllers and the 3rd SDN controllers in prescription controller cluster in breath.
Further, the SDN controllers in controller cluster can actively propose that the SDN controllers outside addition cluster enter collection
Group, after the step S40, the management method of the controller cluster further includes:
It adds and asks in response to the second member input by user, other SDN controls into the prescription controller cluster
Device sends second member and adds request, so that other SDN controllers are when receiving second member and adding request, instead
The return information that second member adds request is presented, second member adds request for adding the 4th SDN controllers
Enter the prescription controller cluster;
Whether when receiving the return information of other SDN controllers transmission, it includes confirming to detect in the return information
Modification instruction, when the return information includes the confirmation modification instruction, to the member stored in the current SDN controllers
Configuration information is modified, and to generate modified member configuration information, modified member configuration information is matched as the 4th
Confidence ceases;
Other SDN controllers broadcast described the into the 4th SDN controllers and the prescription controller cluster
Four configuration informations, so that the member stored in SDN controllers is matched confidence by the SDN controllers for receiving the 4th configuration information
Breath replaces with the 4th configuration information.
It is understood that being added into prescription controller cluster for the new controller described in step S501'-S503'
Process, be actively to propose that addition oneself enters cluster by the SDN controllers outside controller cluster actually, but in the mistake actually realized
A kind of other addition manner can also be provided in Cheng Zhong, the present embodiment, specifically, the SDN controllers in controller cluster can also be led
It is dynamic to propose that the SDN controllers outside addition cluster enter cluster.
In the concrete realization, the 4th SDN controllers outside addition cluster can be actively proposed to cluster from current SDN controllers
Enter former controller cluster, the SDN controllers in cluster propose that addition request proposes addition request with the SDN controllers outside cluster
There are larger differences for flow.
For example, other SDN controllers in cluster are sent the second member by current SDN controllers adds request, obtaining
After the confirmation modification instruction replied to other SDN controllers, the member configuration information being locally stored, the main portion of modification can be changed
It is divided into former member configuration information configuration information of the addition about the 4th SDN controllers, and by the modified configuration information
That is the 4th configuration information is actively sent to controller and the 4th configuration information in former prescription controller cluster so that receives
The controller of 4th configuration information preserves the 4th configuration information to local, is also achieved that opening up for former controller cluster
Exhibition.Because since the controller of former controller cluster has the configuration information for the 4th SDN controllers, so as to the 4th
SDN controllers interact;Simultaneously as have each controller of original controller cluster in the 4th SDN controllers matches confidence
Breath, so that the 4th SDN controllers can be interacted actively with each controller of former controller cluster.
" controller collection described in it is understood that in conjunction with above two addition manner, i.e. step S401 "-S403 "
SDN controllers outside group, which can actively propose to add oneself, enters cluster " addition manner and " the SDN controls in controller cluster
Device can actively propose that the SDN controllers outside addition cluster enter cluster " addition manner so that user can be more flexiblely to default
Controller cluster is extended.
It can receive the addition request that new controller is sent in the present embodiment, and can automatically be added into new controller default
Controller cluster, to realize the extension of prescription controller cluster, to form new controller cluster.
In addition, the embodiment of the present invention also proposes a kind of storage medium, controller cluster is stored on the storage medium
Following operation is realized when the management program of management program, the controller cluster is executed by processor:
Judge whether the first SDN controllers are in off-line state;
When judging that the first SDN controllers are in off-line state, generates member and change request, controlled to the 2nd SDN
Device sends the member and changes request, so that the 2nd SDN controllers are when receiving the member and changing request, from described
The current device state of the first SDN controllers is obtained in the member status information of 2nd SDN controllers, and is worked as described in feedback
Preceding equipment state, the first SDN controllers, the 2nd SDN controllers and the current SDN controllers belong to default control
Device cluster;
When receiving the current device state of the 2nd SDN controllers feedback, the current device shape is judged
Whether state is off-line state;
When the current device state is not off-line state, the equipment state of the first SDN controllers is regarded as
Not offline state.
Further, following operation is also realized when the management program of the controller cluster is executed by processor:
Whether detection receives the heartbeat message of the first SDN controllers transmission in preset time, and generates testing result;
Judge whether the first SDN controllers are in off-line state according to the testing result.
Further, following operation is also realized when the management program of the controller cluster is executed by processor:
It counts the first SDN controllers and is identified the number in off-line state;
When the number is more than predetermined threshold value, looked into from the member status information stored in the current SDN controllers
The equipment state for looking for the first SDN controllers sets the equipment state of the first SDN controllers to off-line state.
Further, following operation is also realized when the management program of the controller cluster is executed by processor:
When the current device state is off-line state, to the member configuration information of the current SDN controllers storage
It modifies, using modified member configuration information as the first configuration information;
Other SDN controllers into the prescription controller cluster broadcast first configuration information, so that other SDN
The member configuration information stored in other SDN controllers is replaced with first configuration information by controller.
Further, following operation is also realized when the management program of the controller cluster is executed by processor:
When the current device state is off-line state, from the member status information of the current SDN controllers storage
The middle equipment state for deleting the first SDN controllers, using the member status information after deletion as new member status information;
The new member status information is sent to the 2nd SDN controllers according to predetermined period, so that described second
The member status information stored in 2nd SDN controllers is replaced with new member status information by SDN controllers.
Further, following operation is also realized when the management program of the controller cluster is executed by processor:
Request is deleted in response to member input by user, other SDN controllers hair into the prescription controller cluster
The member is sent to delete request, so that other SDN controllers feed back the member and delete when receiving the member and deleting request
Subtract the return information of request;
Whether when receiving the return information of other SDN controllers feedback, it includes confirming to detect in the return information
Modification instruction, when the return information includes the confirmation modification instruction, to the member stored in the current SDN controllers
Configuration information is modified, and to generate modified member configuration information, is matched modified member configuration information as second
Confidence ceases;
Second configuration information is broadcasted to other SDN controllers, so that other SDN controllers are by other SDN controllers
The member configuration information of middle storage replaces with second configuration information.
Further, following operation is also realized when the management program of the controller cluster is executed by processor:
When the first member for receiving the transmission of the 3rd SDN controllers adds request, into the prescription controller cluster
Other SDN controllers send first member and add request so that other SDN controllers are receiving first member
When adding request, feedback first member adds the return information of request, and the first member addition request is used for will be described
3rd SDN controllers are added into the prescription controller cluster;
Whether when receiving the return information of other SDN controllers feedback, it includes confirming to detect in the return information
Modification instruction, when the return information includes the confirmation modification instruction, to the member stored in the current SDN controllers
Configuration information is modified, and to generate modified member configuration information, modified member configuration information is matched as third
Confidence ceases;
Other SDN controllers broadcast described the into the 3rd SDN controllers and the prescription controller cluster
Three configuration informations, so that the member stored in SDN controllers is matched confidence by the SDN controllers for receiving the third configuration information
Breath replaces with the third configuration information.
Further, following operation is also realized when the management program of the controller cluster is executed by processor:
It adds and asks in response to the second member input by user, other SDN controls into the prescription controller cluster
Device sends second member and adds request, so that other SDN controllers are when receiving second member and adding request, instead
The return information that second member adds request is presented, second member adds request for adding the 4th SDN controllers
Enter the prescription controller cluster;
Whether when receiving the return information of other SDN controllers transmission, it includes confirming to detect in the return information
Modification instruction, when the return information includes the confirmation modification instruction, to the member stored in the current SDN controllers
Configuration information is modified, and to generate modified member configuration information, modified member configuration information is matched as the 4th
Confidence ceases;
Other SDN controllers broadcast described the into the 4th SDN controllers and the prescription controller cluster
Four configuration informations, so that the member stored in SDN controllers is matched confidence by the SDN controllers for receiving the 4th configuration information
Breath replaces with the 4th configuration information.
In the present embodiment by locally prestoring member status information in SDN controllers so that when judging a control
When device processed is likely to be at off-line state, can by the member status information come into the judgement again of the equipment state of line control unit,
Since the interaction with other controllers can be carried out based on the member status information that each controller is locally stored, deployment knot is simplified
Structure, to overcome carry out controller cluster it is scalable when the relatively complicated technical problem of interactive process.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that process, method, article or system including a series of elements include not only those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
There is also other identical elements in the process of element, method, article or system.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.Wherein, first, second, with
And the use of third etc. does not indicate that any sequence, can be title by these word explanations.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, clothes
Be engaged in device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of management method of controller cluster, which is characterized in that the management method of the controller cluster includes following step
Suddenly:
Current SDN controllers judge whether the first SDN controllers are in off-line state;
When judging that the first SDN controllers are in off-line state, generates member and change request, sent out to the 2nd SDN controllers
The member is sent to change request, so that the 2nd SDN controllers are when receiving the member and changing request, from described second
The current device state of the first SDN controllers is obtained in the member status information of SDN controllers, and is fed back and described currently set
Standby state, the first SDN controllers, the 2nd SDN controllers and the current SDN controllers belong to prescription controller collection
Group;
When receiving the current device state of the 2nd SDN controllers feedback, judge that the current device state is
No is off-line state;
The current device state be off-line state when, by the equipment state of the first SDN controllers regard as it is non-from
Linear state.
2. the management method of controller cluster as described in claim 1, which is characterized in that the current SDN controllers judge
Whether the first SDN controllers are in off-line state, specifically include:
Whether current SDN controllers detection receives the heartbeat message of the first SDN controllers transmission in preset time, and generates
Testing result;
Judge whether the first SDN controllers are in off-line state according to the testing result.
3. the management method of controller cluster as claimed in claim 2, which is characterized in that described to be sentenced according to the testing result
Whether after off-line state, the management method of the controller cluster further includes the first SDN controllers that break:
It counts the first SDN controllers and is identified the number in off-line state;
When the number is more than predetermined threshold value, institute is searched from the member status information stored in the current SDN controllers
The equipment state for stating the first SDN controllers sets the equipment state of the first SDN controllers to off-line state.
4. the management method of controller cluster as described in claim 1, which is characterized in that described to receive described second
It is described after judging whether the current device state is off-line state when the current device state of SDN controllers feedback
The management method of controller cluster further includes:
When the current device state is off-line state, the member configuration information of the current SDN controllers storage is carried out
Modification, using modified member configuration information as the first configuration information;
Other SDN controllers into the prescription controller cluster broadcast first configuration information, so that other SDN are controlled
The member configuration information stored in other SDN controllers is replaced with first configuration information by device.
5. the management method of controller cluster as described in claim 1, which is characterized in that described to receive described second
It is described after judging whether the current device state is off-line state when the current device state of SDN controllers feedback
The management method of controller cluster further includes:
When the current device state is off-line state, deleted from the member status information that the current SDN controllers store
Except the equipment state of the first SDN controllers, using the member status information after deletion as new member status information;
The new member status information is sent to the 2nd SDN controllers according to predetermined period, so that the 2nd SDN is controlled
The member status information stored in 2nd SDN controllers is replaced with new member status information by device processed.
6. the management method of the controller cluster as described in any in claim 1 to 5, which is characterized in that described described
When current device state is not off-line state, after the equipment state of the first SDN controllers is regarded as not offline state,
The management method of the controller cluster further includes:
Request is deleted in response to member input by user, other SDN controllers into the prescription controller cluster send institute
It states member and deletes request, delete and ask so that other SDN controllers when receiving the member and deleting request, feed back the member
The return information asked;
Whether when receiving the return information of other SDN controllers feedback, it includes confirming modification to detect in the return information
Instruction configures the member stored in the current SDN controllers when the return information includes the confirmation modification instruction
Information is modified, and to generate modified member configuration information, matches confidence using modified member configuration information as second
Breath;
Second configuration information is broadcasted to other SDN controllers, so that other SDN controllers will be deposited in other SDN controllers
The member configuration information of storage replaces with second configuration information.
7. the management method of controller cluster according to any one of claims 1 to 5, which is characterized in that described in institute
State current device state not be off-line state when, by the equipment state of the first SDN controllers regard as not offline state it
Afterwards, the management method of the controller cluster further includes:
When the first member for receiving the transmission of the 3rd SDN controllers adds request, its into the prescription controller cluster
His SDN controllers send first member and add request, so that other SDN controllers are receiving the first member addition
When request, the return information that first member adds request is fed back, first member adds request for by the third
SDN controllers are added into the prescription controller cluster;
Whether when receiving the return information of other SDN controllers feedback, it includes confirming modification to detect in the return information
Instruction configures the member stored in the current SDN controllers when the return information includes the confirmation modification instruction
Information is modified, and to generate modified member configuration information, matches confidence using modified member configuration information as third
Breath;
Other SDN controllers into the 3rd SDN controllers and the prescription controller cluster are broadcasted the third and are matched
Confidence ceases, so that the SDN controllers for receiving the third configuration information replace the member configuration information stored in SDN controllers
It is changed to the third configuration information.
8. the management method of controller cluster according to any one of claims 1 to 5, which is characterized in that described in institute
State current device state not be off-line state when, by the equipment state of the first SDN controllers regard as not offline state it
Afterwards, the management method of the controller cluster further includes:
It adds and asks in response to the second member input by user, other SDN controllers hair into the prescription controller cluster
Second member is sent to add request, so that other SDN controllers feed back institute when receiving the second member addition request
The return information that the second member adds request is stated, second member adds request for the 4th SDN controllers to be added into institute
State prescription controller cluster;
Whether when receiving the return information of other SDN controllers transmission, it includes confirming modification to detect in the return information
Instruction configures the member stored in the current SDN controllers when the return information includes the confirmation modification instruction
Information is modified, and to generate modified member configuration information, matches confidence using modified member configuration information as the 4th
Breath;
Other SDN controllers broadcast the described 4th into the 4th SDN controllers and the prescription controller cluster is matched
Confidence ceases, so that the SDN controllers for receiving the 4th configuration information replace the member configuration information stored in SDN controllers
It is changed to the 4th configuration information.
9. a kind of SDN controllers, which is characterized in that the SDN controllers include:Memory, processor and it is stored in described deposit
On reservoir and the management program of controller cluster that can run on the processor, the management program quilt of the controller cluster
The step of management method such as controller cluster described in any item of the claim 1 to 8 is realized when the processor executes.
10. a kind of storage medium, which is characterized in that the management program of controller cluster is stored on the storage medium, it is described
Such as controller cluster described in any item of the claim 1 to 8 is realized when the management program of controller cluster is executed by processor
Management method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810099667.XA CN108418863B (en) | 2018-01-31 | 2018-01-31 | Management method of controller cluster, SDN controller and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810099667.XA CN108418863B (en) | 2018-01-31 | 2018-01-31 | Management method of controller cluster, SDN controller and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108418863A true CN108418863A (en) | 2018-08-17 |
CN108418863B CN108418863B (en) | 2021-06-04 |
Family
ID=63127479
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810099667.XA Active CN108418863B (en) | 2018-01-31 | 2018-01-31 | Management method of controller cluster, SDN controller and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108418863B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111918332A (en) * | 2020-08-20 | 2020-11-10 | 深圳多拉多通信技术有限公司 | SDN-based communication network flow control method and system |
CN114124687A (en) * | 2021-12-08 | 2022-03-01 | 中国电子科技集团公司第三十四研究所 | Configuration synchronization method for control plane and forwarding plane of SPTN (shortest Path transport network) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104243239A (en) * | 2014-09-23 | 2014-12-24 | 杭州华三通信技术有限公司 | State inspection method and device for controllers in SDN clusters |
CN104394012A (en) * | 2014-11-12 | 2015-03-04 | 北京华为数字技术有限公司 | Cluster router, MPU (microprocessor unit), determining method for faults of MPU and sensing controller |
CN105227385A (en) * | 2015-11-12 | 2016-01-06 | 中国联合网络通信集团有限公司 | A kind of method and system of troubleshooting |
CN105743671A (en) * | 2014-12-10 | 2016-07-06 | 华为技术有限公司 | Capacity expanding method and system, and controller |
US20160344607A1 (en) * | 2015-05-21 | 2016-11-24 | Huawei Technologies Co., Ltd. | Transport Software Defined Networking (SDN) - Zero Configuration Adjacency via Packet Snooping |
US20170078183A1 (en) * | 2015-09-14 | 2017-03-16 | Argela Yazilim ve Bilisim Teknolojileri San. ve Tic. A.S. | System and method for control flow management in software defined networks |
CN106878080A (en) * | 2017-02-24 | 2017-06-20 | 新华三技术有限公司 | A kind of determination method and device of software defined network controller failure |
-
2018
- 2018-01-31 CN CN201810099667.XA patent/CN108418863B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104243239A (en) * | 2014-09-23 | 2014-12-24 | 杭州华三通信技术有限公司 | State inspection method and device for controllers in SDN clusters |
CN104394012A (en) * | 2014-11-12 | 2015-03-04 | 北京华为数字技术有限公司 | Cluster router, MPU (microprocessor unit), determining method for faults of MPU and sensing controller |
CN105743671A (en) * | 2014-12-10 | 2016-07-06 | 华为技术有限公司 | Capacity expanding method and system, and controller |
US20160344607A1 (en) * | 2015-05-21 | 2016-11-24 | Huawei Technologies Co., Ltd. | Transport Software Defined Networking (SDN) - Zero Configuration Adjacency via Packet Snooping |
US20170078183A1 (en) * | 2015-09-14 | 2017-03-16 | Argela Yazilim ve Bilisim Teknolojileri San. ve Tic. A.S. | System and method for control flow management in software defined networks |
CN105227385A (en) * | 2015-11-12 | 2016-01-06 | 中国联合网络通信集团有限公司 | A kind of method and system of troubleshooting |
CN106878080A (en) * | 2017-02-24 | 2017-06-20 | 新华三技术有限公司 | A kind of determination method and device of software defined network controller failure |
Non-Patent Citations (1)
Title |
---|
卞宇翔: ""一种面向多管理域SDN控制器故障处理方案"", 《计算机技术与发展》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111918332A (en) * | 2020-08-20 | 2020-11-10 | 深圳多拉多通信技术有限公司 | SDN-based communication network flow control method and system |
CN114124687A (en) * | 2021-12-08 | 2022-03-01 | 中国电子科技集团公司第三十四研究所 | Configuration synchronization method for control plane and forwarding plane of SPTN (shortest Path transport network) |
CN114124687B (en) * | 2021-12-08 | 2023-05-12 | 中国电子科技集团公司第三十四研究所 | SPTN network control plane and forwarding plane configuration synchronization method |
Also Published As
Publication number | Publication date |
---|---|
CN108418863B (en) | 2021-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109074402B (en) | Techniques to respond to user requests using natural language machine learning based on example sessions | |
CN105511805B (en) | The data processing method and device of cluster file system | |
CN103944924B (en) | Method of ubiquitous network publish-subscribe middleware model based on RESTful | |
CN102904751B (en) | The generation method and apparatus of network topology view | |
CN108282368A (en) | A kind of micro services management system, method and computer storage media | |
CN104954182B (en) | A kind of method and apparatus for configuring Virtual Server Cluster | |
US20080267090A1 (en) | Management computer for setting configuration information of node | |
CN1728688A (en) | Remote control of a switching node in a stack of switching nodes | |
CN101617499A (en) | Self-forming network management topologies | |
US10581697B2 (en) | SDN controlled PoE management system | |
US20130227568A1 (en) | Systems and methods involving virtual machine host isolation over a network | |
CN100563253C (en) | A kind of data processing method in client | |
CN108418863A (en) | Management method, SDN controllers and the storage medium of controller cluster | |
CN112165429B (en) | Link aggregation convergence method and device for distributed switching equipment | |
CN114371912A (en) | Virtual network management method of data center and data center system | |
CN111865632A (en) | Switching method of distributed data storage cluster and switching instruction sending method and device | |
US8407291B1 (en) | System and method for dispensing e-Care | |
CN108021431A (en) | Method and its system based on web data interactive maintenance Hive | |
CN108464031B (en) | The redundancy based on database in telecommunication network | |
CN108234358A (en) | A kind of multicast message transmission method, device and machine readable storage medium | |
US20200110632A1 (en) | Method and system for routing and executing transactions | |
CN102244602A (en) | Method, device and system for forwarding data under protocol independent multicast dual join | |
CN106230625B (en) | A kind of method and device in the dynamic creation domain in SolrCloud cluster | |
CN105610614B (en) | High Availabitity accesses system and High Availabitity failure switching method | |
CN115567399A (en) | Topology display method and related equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |