CN104270260A - Method and device for elastic expansion of scale of SDN controller cluster - Google Patents

Method and device for elastic expansion of scale of SDN controller cluster Download PDF

Info

Publication number
CN104270260A
CN104270260A CN201410482187.3A CN201410482187A CN104270260A CN 104270260 A CN104270260 A CN 104270260A CN 201410482187 A CN201410482187 A CN 201410482187A CN 104270260 A CN104270260 A CN 104270260A
Authority
CN
China
Prior art keywords
controller
cluster
sdn controller
sdn
controller cluster
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
Application number
CN201410482187.3A
Other languages
Chinese (zh)
Other versions
CN104270260B (en
Inventor
彭剑远
王�锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201410482187.3A priority Critical patent/CN104270260B/en
Publication of CN104270260A publication Critical patent/CN104270260A/en
Application granted granted Critical
Publication of CN104270260B publication Critical patent/CN104270260B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method and device for elastic expansion of the scale of an SDN controller cluster. The SDN controller cluster comprises a supervisor controller and multiple member controllers, wherein the multiple member controllers are connected with the supervisor controller. The method for elastic expansion of the scale of the SDN controller cluster comprises the steps that the supervisor controller receives request information, for joining the SDN controller cluster, sent by the member controllers or request information, for quitting the SDN controller cluster, sent by the member controllers; the supervisor controller changes the member controllers in the SDN controller cluster according to the request information for joining the SDN controller cluster or the request information for quitting the SDN controller cluster. According to the method and device for elastic expansion of the scale of the SDN controller cluster, the member controllers in the SDN controller cluster are changed so that exchanger devices needing to be managed at present can be well managed by the member controller existing after changing and redundant member controllers in the SDN controller cluster can be used for other services, and the number of the member controllers in the SDN controller cluster can be increased or reduced dynamically.

Description

A kind of method of resilient expansion of SDN controller cluster scale and device
Technical field
The present invention relates to net application technology field, particularly a kind of resilient expansion method of SDN controller cluster scale and device.
Background technology
SDN (Software-defined networking, software defined network) is a kind of network virtualization technology, is planned to propose by History of United States of America University of Denver Clean State.Utilize SDN agreement, the key-course of the network equipment (control plane) is separated from data Layer (data plane).This framework can allow network manager, under the prerequisite not changing hardware device, with center control, by program again planning network, for net control flow provides new method, also provides the good platform of core network and application innovation.
In the prior art, when creating SDN controller cluster, first the number defining SDN controller cluster internal controller is needed, such as, a controller can control 100 switches, now, need establishment SDN controller cluster, control 450 switches, then need at least to comprise 5 controllers in the SDN controller cluster now created, therefore SDN controller cluster is created to these 5 controllers.But, if when switch increasing number in network, such as be increased to 800 switches, then now because the amount controller in SDN controller cluster pre-defines, therefore when business increases or reduce, cannot dynamically increase or reduce the amount controller in SDN controller cluster, thus the dynamic need of business cannot be met.
Summary of the invention
In view of this, the invention provides a kind of resilient expansion method and device of SDN controller cluster scale, to solve in prior art when business increases or reduce, cannot the problem of dynamic conditioning SDN controller cluster internal controller quantity.
The invention provides a kind of resilient expansion method of SDN controller cluster scale, described SDN controller cluster comprises supervisor's controller and multiple member's controller, described multiple member's controller is connected with described supervisor's controller respectively, and described method is applied to supervisor's controller, comprising:
Described supervisor's controller receives adding the solicited message of SDN controller cluster or exiting the solicited message of SDN controller cluster of member's controller transmission;
Described supervisor's controller according to described in add SDN controller cluster solicited message or described in exit the solicited message of SDN controller cluster, change member's controller of described SDN controller cluster.
Preferably, described supervisor's controller according to described in add the solicited message of SDN controller cluster or exit the solicited message of SDN controller cluster, change member's controller of described SDN controller cluster, comprising:
When described supervisor's controller receive that member's controller sends add the solicited message of SDN controller cluster, and described supervisor's controller is when the mark of the SDN controller cluster that the solicited message adding SDN controller cluster described in determining is carried is consistent with the mark that self configures, and sets up member be connected with described member's controller;
When described supervisor's controller receive that member's controller sends exit the solicited message of SDN controller cluster, and described supervisor's controller is when the mark of the SDN controller cluster that the solicited message exiting SDN controller cluster described in determining is carried is consistent with the mark that self configures, and disconnects member be connected with this member's controller.
Preferably, before described supervisor's controller receives the solicited message adding SDN controller cluster or the solicited message exiting SDN controller cluster that member's controller sends, also comprise:
Described supervisor's controller is when determining to meet the condition changing member's controller, the member's controller transmission triggered to needing to change adds the command information of SDN controller cluster or exits the command information of SDN controller cluster, to change member's controller of described SDN controller cluster.
Preferably, described supervisor's controller is determined to meet the condition changing member's controller, and the member's controller transmission triggered to needing to change adds the command information of SDN controller cluster or exits the command information of SDN controller cluster, comprising:
Obtain current member's controller information in described SDN controller cluster and current the managed facility information of described SDN controller cluster;
When described current member's controller is not enough to described current the managed equipment of management, then determine to meet the condition changing member's controller, the member's controller triggered to needing to change sends the command information adding SDN controller cluster; Or,
When equipment current managed described in described current member's controller management also has unnecessary member's controller, then determine to meet the condition changing member's controller, the member's controller triggered to needing to change sends the command information exiting SDN controller cluster.
Present invention also offers a kind of resilient expansion method of SDN controller cluster scale, described SDN controller cluster comprises supervisor's controller and multiple member's controller, described multiple member's controller is connected with described supervisor's controller respectively, and described method is applied to member's controller, comprising:
Described member's controller receives and adds the command information of SDN controller cluster or exit the command information of SDN controller cluster;
Described member's controller according to described in add SDN controller cluster command information send the solicited message adding SDN controller cluster, to make self to add described SDN controller cluster to supervisor's controller; Or, described member's controller according to described in exit the command information of SDN controller cluster, to supervisor's controller send exit SDN controller cluster solicited message to make self to exit SDN controller cluster.
Preferably, described member's controller according to described in add SDN controller cluster command information send to supervisor's controller the solicited message adding or exit SDN controller cluster, comprising:
What described member's controller receiving management layer or described supervisor's controller sent adds the command information of SDN controller cluster or exits the command information of SDN controller cluster, described in add SDN controller cluster command information or described in exit SDN controller cluster command information carry the mark of SDN controller cluster;
When the mark that the mark of the SDN controller cluster carried in the command information of the described SDN of adding controller cluster configures with self is identical, described member's controller sends the solicited message adding SDN controller cluster to described supervisor's controller, or when the mark that the mark of the SDN controller cluster that the command information of the described SDN of exiting controller cluster carries configures with self is identical, send the solicited message exiting SDN controller cluster to described supervisor's controller.
Present invention also offers a kind of resilient expansion device of SDN controller cluster scale, described SDN controller cluster comprises supervisor's controller and multiple member's controller, described multiple member's controller is connected with described supervisor's controller respectively, and described application of installation, in supervisor's controller, comprising:
Receiving element, for receiving adding the solicited message of SDN controller cluster or exiting the solicited message of SDN controller cluster of member's controller transmission;
Changing unit, for add described in basis SDN controller cluster solicited message or described in exit the solicited message of SDN controller cluster, change member's controller of described SDN controller cluster.
Preferably,
Described changing unit, for when receive that member controller sends add the solicited message of SDN controller cluster, and when the mark adding the SDN controller cluster carried in the solicited message of SDN controller cluster described in determining is consistent with the mark that self configures, sets up member with described member's controller and be connected;
When receive that member controller sends exit the solicited message of SDN controller cluster, and when the mark exiting the SDN controller cluster carried in the solicited message of SDN controller cluster described in determining is consistent with the mark that self configures, disconnects member with this member's controller and be connected.
Preferably, also comprise:
Trigger element, for when determining to meet the condition changing member's controller, the member's controller transmission triggered to needing to change adds the command information of SDN controller cluster or exits the command information of SDN controller cluster, to change member's controller of described SDN controller cluster.
Preferably,
Described trigger element, for obtaining current member's controller information in described SDN controller cluster and current the managed facility information of described SDN controller cluster;
When described current member's controller is not enough to described current the managed equipment of management, then determine to meet the condition changing member's controller, the member's controller triggered to needing to change sends the command information adding SDN controller cluster; Or,
When equipment current managed described in described current member's controller management also has unnecessary member's controller, then determine to meet the condition changing member's controller, the member's controller triggered to needing to change sends the command information exiting SDN controller cluster.
Present invention also offers a kind of resilient expansion device of SDN controller cluster scale, described SDN controller cluster comprises supervisor's controller and multiple member's controller, described multiple member's controller is connected with described supervisor's controller respectively, and described application of installation, in member's controller, comprising:
Receiving element, for receiving the command information adding SDN controller cluster or the command information exiting SDN controller cluster;
Transmitting element, sends the solicited message adding SDN controller cluster, to make self to add described SDN controller cluster for the command information adding SDN controller cluster described in basis to supervisor's controller; Or, according to the described command information exiting SDN controller cluster, exit the solicited message of SDN controller cluster to make self to exit SDN controller cluster to the transmission of supervisor's controller.
Preferably,
Described receiving element, what send for receiving management layer or described supervisor's controller adds the command information of SDN controller cluster or exits the command information of SDN controller cluster, described in add SDN controller cluster command information or described in exit SDN controller cluster command information carry the mark of SDN controller cluster;
Described transmitting element, when the mark configured with self for the mark of the SDN controller cluster carried in the command information of the described SDN of adding controller cluster is identical, the solicited message adding SDN controller cluster is sent to described supervisor's controller, or when the mark that the mark of the SDN controller cluster that the command information of the described SDN of exiting controller cluster carries configures with self is identical, send the solicited message exiting SDN controller cluster to described supervisor's controller.
The invention provides a kind of resilient expansion method and device of SDN controller cluster scale, supervisor's controller in SDN controller cluster is when receiving the solicited message adding SDN controller cluster that member's controller sends or exiting the solicited message of SDN controller cluster, member's controller in SDN controller cluster is changed, current managed switch device is enough managed to make the member's controller after change, and make member's controller unnecessary in SDN controller cluster carry out other business, realize dynamically increasing or reduce the member's amount controller in SDN controller cluster.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram that the embodiment of the present invention provides;
Fig. 2 is the SDN controller aggregated structure schematic diagram that the embodiment of the present invention provides;
Fig. 3 is the method flow diagram that another embodiment of the present invention provides;
Fig. 4 is the method flow diagram that another embodiment of the present invention provides;
Fig. 5 is that member's controller that the embodiment of the present invention provides adds SDN controller cluster schematic diagram;
Fig. 6 is that member's controller refusal that the embodiment of the present invention provides adds SDN controller cluster schematic diagram;
Fig. 7 is the method flow diagram that another embodiment of the present invention provides;
Fig. 8 is the hardware environment Organization Chart of the plant running that the embodiment of the present invention provides;
Fig. 9 is the apparatus structure schematic diagram that the embodiment of the present invention provides;
Figure 10 is the hardware environment Organization Chart of the plant running that another embodiment of the present invention provides;
Figure 11 is the apparatus structure schematic diagram that another embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
For in prior art when the business of SDN controller cluster increases or reduce, cannot the problem of dynamic conditioning SDN controller cluster middle controller quantity, for the invention provides a kind of resilient expansion method of SDN controller cluster scale.As shown in Figure 1, described SDN controller cluster comprises supervisor's controller and multiple member's controller, described multiple member's controller is connected with described supervisor's controller respectively, the method is applied to supervisor's controller, when needs carry out resilient expansion to SDN controller cluster scale, can comprise the steps:
Step 101: supervisor's controller receives adding the solicited message of SDN controller cluster or exiting the solicited message of SDN controller cluster of member's controller transmission.
Step 102: supervisor's controller, according to adding the solicited message of SDN controller cluster or exiting the solicited message of SDN controller cluster, changes member's controller of SDN controller cluster.
As shown in Figure 2, be the configuration diagram of SDN controller cluster, comprise altogether in the figure that this is exemplary: supervisor's controller 1, the member's controller 11, member's controller 12, the member's controller 13 that are connected with supervisor's controller 1 respectively.Wherein, supervisor's controller 1 is for managing the member's controller be connected with self, and supervisor's controller 1 also can manage switch device.Member's controller is mainly used in managing switch device.
When the quantity of the switch device that SDN controller cluster manages changes, according to the present invention program, can change the quantity of the member's controller in SDN controller cluster.
Wherein, in supervisor controller side, for the change of the member's amount controller in SDN controller cluster, two kinds of methods can be comprised:
1, be responsible for controller initiatively to change
Supervisor's controller is when determining that member's controller current in SDN controller cluster is not enough to manage current managed switch device, such as, current member's controller is 3, the switch device be managed can be 320, if member's controller can manage 100 switch devices, so need in SDN controller cluster to increase member's controller, supervisor's controller sends the invitation request adding SDN controller cluster to member's controller, the mark of described SDN controller cluster is carried in request of inviting, and receive the solicited message adding SDN controller cluster that member's controller returns, set up member when determining that the mark of SDN controller cluster that the solicited message that this adds SDN controller cluster is carried is consistent with the mark that self configures with this member's controller to be connected.Wherein, this member's controller is the controller being positioned at SDN controller cluster outside.
Supervisor's controller is when determining that switch device that member's controller management current in SDN controller cluster is current managed also has unnecessary member's controller, such as, current member's controller is 3, the switch device be managed can be 180, if member's controller can manage 100 switch devices, so there is unnecessary member's controller in SDN controller cluster, supervisor's controller is determined unnecessary target members's controller and is sent open command to this unnecessary target members's controller, open command carries the mark of SDN controller cluster, and receive the solicited message exiting SDN controller cluster of this unnecessary target members's controller transmission, when determining that the mark of SDN controller cluster that the solicited message exiting SDN controller cluster is carried is consistent with the mark that self configures, the object member controller unnecessary with this disconnects member and is connected, and this member's controller is deleted from cluster member list.
2, the passive change of controller is responsible for
When the member's controller being positioned at SDN controller cluster outside adds the solicited message of SDN controller cluster to self transmission, this adds the mark of carrying SDN controller cluster in cluster request, supervisor's controller is when determining that the mark of SDN controller cluster is consistent with the mark that self configures, and the member's controller being positioned at SDN controller cluster outside with this is set up member and is connected.
When member's controller unnecessary in SDN controller cluster exits the solicited message of SDN controller cluster to self transmission, this solicited message exiting SDN controller cluster carries the mark of SDN controller cluster, supervisor's controller is when determining that the mark of SDN controller cluster is consistent with the mark of configuration, disconnect member with this member's controller to be connected, and this member's controller is deleted from cluster member list.
According to such scheme, supervisor's controller in SDN controller cluster is when receiving the solicited message adding SDN controller cluster that member's controller sends or exiting the solicited message of SDN controller cluster, member's controller in SDN controller cluster is changed, current managed switch device is enough managed to make the member's controller after change, and make member's controller unnecessary in SDN controller cluster carry out other business, realize dynamically increasing or reduce the member's amount controller in SDN controller cluster.
As shown in Figure 3, embodiments provide a kind of resilient expansion method of SDN controller cluster scale, described SDN controller cluster comprises supervisor's controller and multiple member's controller, described multiple member's controller is connected with described supervisor's controller respectively, the method is applied to peripheral control unit, can comprise:
Step 301: member's controller receives and adds the command information of SDN controller cluster or exit the command information of SDN controller cluster.
Step 302: member's controller according to described in add SDN controller cluster command information send the solicited message adding SDN controller cluster, to make self to add described SDN controller cluster to supervisor's controller; Or, described member's controller according to described in exit the command information of SDN controller cluster, to supervisor's controller send exit SDN controller cluster solicited message to make self to exit SDN controller cluster.
Wherein, in member's controller side, for the change of the member's amount controller in SDN controller cluster, two kinds of methods can be comprised:
1, management level trigger
Wherein, management level can be webmastering software, also can be other application software.
The command information adding SDN controller cluster that the member's controller receiving management layer being positioned at SDN controller cluster outside sends, this adds the cluster identity of carrying SDN controller cluster in the command information of SDN controller cluster, the command information that this member's controller being positioned at SDN controller cluster outside adds SDN controller cluster according to this sends to supervisor's controller the solicited message adding SDN controller cluster, this adds the cluster identity of carrying SDN controller cluster in the solicited message of SDN controller cluster, to make described supervisor's controller and self to set up member and be connected.
The command information exiting SDN controller cluster that the member's controller receiving management layer being positioned at SDN controller cluster internal sends, this member's controller being positioned at SDN controller cluster internal sends to supervisor's controller the solicited message exiting SDN controller cluster, this exits the cluster identity of carrying SDN controller cluster in the solicited message of SDN controller cluster, disconnects member be connected to make supervisor's controller and self.
2, be responsible for controller to trigger
The member's controller being positioned at SDN controller cluster outside receives the invitation solicited message adding SDN controller cluster of supervisor's controller transmission, the cluster identity of SDN controller cluster is carried in this invitation solicited message, when the mark determining self to configure is consistent with inviting the cluster identity of carrying in solicited message, the solicited message adding SDN controller cluster is sent to described supervisor's controller, the solicited message of the described SDN of adding controller cluster carries the cluster identity of described SDN controller cluster, set up member with the member's controller making supervisor's controller and this be positioned at SDN controller cluster outside to be connected.
The member's controller being positioned at SDN controller cluster internal receives the open command information exiting SDN controller cluster of supervisor's controller transmission, the cluster identity of SDN controller cluster is carried in this open command information, send to supervisor's controller the solicited message exiting SDN controller cluster, disconnect member with the member's controller making supervisor's controller and this be positioned at SDN controller cluster internal and be connected.
According to such scheme, member's controller receives the command information adding SDN controller cluster of supervisor's controller or management level transmission, and send to supervisor's controller the solicited message adding SDN controller cluster, or receive the command information exiting SDN controller cluster, the solicited message exiting SDN controller cluster is sent to supervisor's controller, be connected or disconnect member connect to set up member with supervisor's controller, thus make the member's controller after change enough manage current managed switch device, and make member's controller unnecessary in SDN controller cluster carry out other business, realize dynamically increasing or reduce the member's amount controller in SDN controller cluster.
Be specifically addressed respectively according to the active change and passive change of being responsible for controller below.
As shown in Figure 4, the resilient expansion method of a kind of SDN controller cluster scale that the embodiment of the present invention provides, the present embodiment is member's amount controller that supervisor's controller initiatively changes in SDN controller cluster, and the method can comprise the following steps:
Step 401: supervisor's controller obtains current member's controller information in SDN controller cluster and current the managed facility information of SDN controller cluster.
Wherein, member's controller information is the quantity of member's controller in SDN controller cluster, the quantity of the switch device that the facility information managed manages for SDN controller cluster.Such as, as shown in Figure 5, in current SDN controller cluster, the quantity of member's controller is 3 (member's controller 11, member's controller 12, member's controllers 13), each member's controller manages multiple switch device respectively, supposes that each member's controller can manage 100 switch devices.
Step 402: according to member's controller information current in SDN controller cluster and current the managed facility information of SDN controller cluster, determine whether to meet the condition changing member's controller, if when current member's controller is not enough to manage current managed switch device, then perform step 403; If when the switch device that current membership's controller management is current managed also comprises unnecessary member's controller, then perform step 408.
Such as, the switch device quantity that the SDN controller cluster in Fig. 5 is current managed is totally 320, then the current member's controller in satisfying condition is not enough to manage current managed equipment, so needs in SDN controller cluster to increase new member's controller.
If number of devices current managed in SDN controller cluster is 180, then described in the current member's controller management in satisfying condition, current managed equipment comprises unnecessary member's controller.Therefore, need to disconnect with unnecessary member's controller in SDN controller cluster, to ensure the peak use rate of this member's controller.
Step 403: send to the member's controller needing to change the invitation solicited message adding SDN controller cluster, carry the cluster identity of SDN controller cluster in this invitation solicited message.
In order to ensure the safety of SDN controller cluster, preventing the controller of non-cluster from illegally adding this cluster, being SDN controller cluster configuration cluster identity, each controller in SDN controller cluster all carries this cluster identity.This cluster identity can be a secure ID character string through encryption, is made up of letter, numeral, underscore.
Wherein, suppose to need in SDN controller cluster to increase the new member's controller of n platform, then send invitation request to being more than or equal to n platform peripheral control unit.The present embodiment only sends invitation request with the peripheral control unit of wherein, and the present invention will be described.
If the member's controller 14 in Fig. 5 is the member's controller needing to change, member's controller 14 is positioned at the outside of SDN controller cluster.
Step 404: need the member's controller changed to receive the invitation solicited message adding SDN controller cluster of supervisor's controller transmission, according to management level in advance for the cluster identity of SDN controller cluster of carrying in the mark of self configuration and this invitation solicited message compares, if identical, then perform step 405, otherwise perform step 407.
Step 405: member's controller that these needs change sends to supervisor's controller the solicited message adding SDN controller cluster.
In the present embodiment, if management level are that the mark that member's controller 14 configures is identical with inviting the cluster identity of the SDN controller cluster carried in solicited message in Fig. 5, then showing that this member's controller 14 is is this SDN controller cluster controller for subsequent use, therefore member's controller 14 accepts the invitation of supervisor's controller, and sends to supervisor's controller the solicited message adding SDN controller cluster.
Step 406: the solicited message adding SDN controller cluster that member's controller that supervisor's controller receives to be needed to change sends, set up member when the cluster identity determining that the solicited message adding SDN controller cluster is carried is consistent with the mark that self configures with this member's controller to be connected, and this peripheral control unit mark is added in the cluster member list of self preserving.
In Fig. 5, supervisor's controller is set up member with member's controller 4 and is connected.
Wherein, the cluster member list of preserving in supervisor's controller comprises: the corresponding relation of the IP address of member's controller identifier and this member's controller, the cluster member list of supervisor's controller is mainly used in the data to other member's controllers in the member's controller synchronous SDN controller cluster newly added, and utilize this cluster member list, the notification message of the member's controller newly added is sent to this other member's controller, the mark of the member's controller this newly added to make these other member's controllers and IP address are added in the cluster member list of self preserving, wherein, the cluster member list of preserving in each member's controller, for when machine delayed by supervisor's controller, select new supervisor.
Step 407: need the member's controller changed to send the response message refusing to add SDN controller cluster to supervisor's controller.
As shown in Figure 6, management level are the cluster identity that the member's controller 24 being positioned at SDN controller cluster outside is configured with SDN controller cluster 2, the spare controller of this member's controller 24 mainly SDN controller cluster 2, if sending what add the invitation solicited message of SDN controller cluster above-mentioned to member's controller 24 is SDN controller cluster 1, so member's controller 24 is when the mark determining self to configure is different from the cluster identity of SDN controller cluster 1, sends the response message refusing to add SDN controller cluster to supervisor's controller.Member's controller 24 continues the invitation solicited message adding SDN controller cluster 2 waiting for SDN controller cluster 2, when member's controller 24 receive carry SDN controller cluster 2 add the invitation solicited message of SDN controller cluster time, add in SDN controller cluster 2, as the member's controller newly added.
Step 408: be responsible for controller member's controller unnecessary in SDN controller cluster and send the command information exiting SDN controller cluster, this exits the cluster identity of carrying SDN controller cluster in the command information of SDN controller cluster.
Step 409: this unnecessary member's controller is receiving the command information exiting SDN controller cluster of supervisor's controller transmission, the cluster identity exit the SDN controller cluster carried in the command information of SDN controller cluster to this and the mark self configuring compare, when comparative result is identical, send to supervisor's controller the solicited message exiting SDN controller cluster, be connected to disconnect member with supervisor's controller.
In an embodiment, disconnect after member is connected at supervisor's controller and unnecessary member's controller, this unnecessary information deletion corresponding to member's controller in the cluster member list that self preserves by supervisor's controller, and the member controller unnecessary with this is disconnected message that member is connected and send to other member's controllers in SDN controller cluster, delete information in own cluster members list corresponding to this unnecessary member's controller to make other member's controllers.
In order to disconnect the maximum service efficiency of the controller that member is connected with supervisor's controller, should and supervisor's controller disconnect the cluster identity that controller that member is connected can discharge SDN controller cluster, to be this controller allocation cluster mark again, use this controller to make other SDN controller clusters.
Or, should and supervisor's controller disconnect the cluster identity that controller that member is connected also can retain this SDN controller cluster, during to need when this SDN controller cluster to increase member's controller, again this controller is added in SDN controller cluster according to said method.
According to such scheme, supervisor's controller in SDN controller cluster is when receiving the solicited message adding SDN controller cluster that member's controller sends or exiting the solicited message of SDN controller cluster, member's controller in SDN controller cluster is changed, current managed switch device is enough managed to make the member's controller after change, and make member's controller unnecessary in SDN controller cluster carry out other business, realize dynamically increasing or reduce the member's amount controller in SDN controller cluster.
As shown in Figure 7, embodiments provide a kind of resilient expansion method of SDN controller cluster scale, the present embodiment is the member's amount controller in supervisor's controller passive change SDN controller cluster, and the method can comprise the following steps:
Step 701: management level determine member's controller information current in SDN controller cluster and current the managed facility information of SDN controller cluster; When determining that current member's controller is not enough to manage current managed switch device, perform step 702; When determining that equipment that current member's controller management is current managed also has unnecessary member's controller, then perform step 704.
Step 702: management level send to member's controller of SDN controller cluster outside the command information adding SDN controller cluster, to make member's controller of SDN controller cluster outside send to supervisor's controller the solicited message adding SDN controller cluster, this adds the cluster identity of carrying SDN controller cluster in the solicited message of SDN controller cluster.
Wherein, management level can be webmastering softwares, also can be other application software.User also can be undertaken triggering by the button on pointing device.
Step 703: the solicited message adding SDN controller cluster that member's controller that supervisor's controller receives SDN controller cluster outside sends, and the cluster identity of carrying this solicited message adding SDN controller cluster and the mark that self configures compare, when comparative result is identical, the member's controller being positioned at SDN controller cluster outside with this is set up member and is connected, and this is arranged in the mark of member's controller of SDN controller cluster outside and IP address adds the cluster member list of self preserving to.
As shown in Figure 5, if the cluster identity adding the SDN controller cluster carried in the solicited message of SDN controller cluster that member's controller 14 sends is identical with the mark that self configures, then show that this member's controller 14 is the spare controller of self place SDN controller cluster, be then responsible for controller and set up member with this member's controller 14 and be connected.
As shown in Figure 6, if the cluster identity adding the SDN controller cluster carried in the solicited message of SDN controller cluster that member's controller 24 sends is different from the mark that self configures, then show that this member's controller 24 may be the spare controller of SDN controller cluster 2, therefore member's controller 24 can not be set up member with supervisor's controller of SDN controller cluster 1 and is connected.
Step 704: management level send the command information exiting SDN controller cluster to this unnecessary member's controller, send to supervisor's controller the solicited message exiting SDN controller cluster with the member's controller making this unnecessary, this exits the cluster identity of carrying SDN controller cluster in the solicited message of SDN controller cluster.
Step 705: supervisor's controller exits the cluster identity of carrying in the solicited message of SDN controller cluster to this and the mark self configured compares, when comparative result is identical, the member controller unnecessary with this disconnects member and is connected, and by information deletion corresponding for this unnecessary member's controller in the cluster member list of self preservation.
According to such scheme, when management level are determined to need in SDN controller cluster to increase member's controller, the member's controller triggering SDN controller cluster outside sends to supervisor's controller the solicited message adding SDN controller cluster, sets up member be connected to make supervisor's controller with outside member's controller.When determining to need in SDN controller cluster to disconnect unnecessary member's controller, trigger this unnecessary member's controller and send to supervisor's controller the solicited message exiting SDN controller cluster, be connected to disconnect member with supervisor's controller, thus realize dynamically increasing or reduce the member's amount controller in SDN controller cluster.
As shown in Figure 8, Figure 9, embodiments provide a kind of resilient expansion device of SDN controller cluster scale, described SDN controller cluster comprises supervisor's controller and multiple member's controller, described multiple member's controller is connected with described supervisor's controller respectively, and described application of installation is in supervisor's controller.Device embodiment can pass through software simulating, also can be realized by the mode of hardware or software and hardware combining.Say from hardware view; as shown in Figure 8; for a kind of hardware structure diagram of apparatus of the present invention place equipment; except the CPU shown in Fig. 8, internal memory, network interface and nonvolatile memory; in embodiment, the equipment at device place can also comprise other hardware usually, as the forwarding chip etc. of responsible process message.For software simulating, as shown in Figure 9, as the device on a logical meaning, be by the CPU of its place equipment, computer program instructions corresponding in nonvolatile memory is read operation in internal memory to be formed.The resilient expansion device 90 of the SDN controller cluster scale that the present embodiment provides comprises:
Receiving element 901, for receiving adding the solicited message of SDN controller cluster or exiting the solicited message of SDN controller cluster of member's controller transmission;
Changing unit 902, for add described in basis SDN controller cluster solicited message or described in exit the solicited message of SDN controller cluster, change member's controller of described SDN controller cluster.
Further, described changing unit, specifically for when receive that member controller sends add the solicited message of SDN controller cluster, and when adding the SDN controller cluster identity of carrying in the solicited message of SDN controller cluster described in determining and being consistent with the mark that self configures, set up member with described member's controller and be connected; When receive that member controller sends exit the solicited message of SDN controller cluster, and when exiting the SDN controller cluster identity of carrying in the solicited message of SDN controller cluster described in determining and being consistent with the mark that self configures, disconnect member with this member's controller and be connected.
Further, described device also comprises:
Trigger element 903, for when determining to meet the condition changing member's controller, the member's controller transmission triggered to needing to change adds the command information of SDN controller cluster or exits the command information of SDN controller cluster, to change member's controller of described SDN controller cluster.
Further, described trigger element, specifically for obtaining current member's controller information in described SDN controller cluster and current the managed facility information of described SDN controller cluster; When described current member's controller is not enough to described current the managed equipment of management, then determine to meet the condition changing member's controller, the member's controller triggered to needing to change sends the command information adding SDN controller cluster; Or, when equipment current managed described in described current member's controller management also has unnecessary member's controller, then determine to meet the condition changing member's controller, the member's controller triggered to needing to change sends the command information exiting SDN controller cluster.
As shown in Figure 10, Figure 11, embodiments provide a kind of resilient expansion device of SDN controller cluster scale, described SDN controller cluster comprises supervisor's controller and multiple member's controller, described multiple member's controller is connected with described supervisor's controller respectively, and described application of installation is in member's controller.Device embodiment can pass through software simulating, also can be realized by the mode of hardware or software and hardware combining.Say from hardware view; as shown in Figure 10; for a kind of hardware structure diagram of apparatus of the present invention place equipment; except the CPU shown in Figure 10, internal memory, network interface and nonvolatile memory; in embodiment, the equipment at device place can also comprise other hardware usually, as the forwarding chip etc. of responsible process message.
For software simulating, as shown in figure 11, as the device on a logical meaning, be by the CPU of its place equipment, computer program instructions corresponding in nonvolatile memory is read operation in internal memory to be formed.The resilient expansion device 110 of the SDN controller cluster scale that the present embodiment provides comprises:
Receiving element 1101, for receiving the command information adding SDN controller cluster or the command information exiting SDN controller cluster;
Transmitting element 1102, sends the solicited message adding SDN controller cluster, to make self to add described SDN controller cluster for the command information adding SDN controller cluster described in basis to supervisor's controller; Or, according to the described command information exiting SDN controller cluster, exit the solicited message of SDN controller cluster to make self to exit SDN controller cluster to the transmission of supervisor's controller.
Further,
Described receiving element, what send specifically for receiving management layer or described supervisor's controller adds the command information of SDN controller cluster or exits the command information of SDN controller cluster, described in add SDN controller cluster command information or described in exit SDN controller cluster command information carry the mark of SDN controller cluster;
Described transmitting element, when the mark configured with self specifically for the mark of the SDN controller cluster carried in the command information of the described SDN of adding controller cluster is identical, the solicited message adding SDN controller cluster is sent to described supervisor's controller, or when the mark that the mark of the SDN controller cluster that the command information of the described SDN of exiting controller cluster carries configures with self is identical, send the solicited message exiting SDN controller cluster to described supervisor's controller.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (12)

1. the resilient expansion method of a SDN controller cluster scale, described SDN controller cluster comprises supervisor's controller and multiple member's controller, and described multiple member's controller is connected with described supervisor's controller respectively, and described method is applied to supervisor's controller, it is characterized in that, comprising:
Described supervisor's controller receives adding the solicited message of SDN controller cluster or exiting the solicited message of SDN controller cluster of member's controller transmission;
Described supervisor's controller according to described in add SDN controller cluster solicited message or described in exit the solicited message of SDN controller cluster, change member's controller of described SDN controller cluster.
2. method according to claim 1, is characterized in that, described supervisor's controller according to described in add the solicited message of SDN controller cluster or exit the solicited message of SDN controller cluster, change member's controller of described SDN controller cluster, comprising:
When described supervisor's controller receive that member's controller sends add the solicited message of SDN controller cluster, and described supervisor's controller is when the mark of the SDN controller cluster that the solicited message adding SDN controller cluster described in determining is carried is consistent with the mark that self configures, and sets up member be connected with described member's controller;
When described supervisor's controller receive that member's controller sends exit the solicited message of SDN controller cluster, and described supervisor's controller is when the mark of the SDN controller cluster that the solicited message exiting SDN controller cluster described in determining is carried is consistent with the mark that self configures, and disconnects member be connected with this member's controller.
3. method according to claim 1, is characterized in that, before described supervisor's controller receives the solicited message adding SDN controller cluster or the solicited message exiting SDN controller cluster that member's controller sends, also comprises:
Described supervisor's controller is when determining to meet the condition changing member's controller, the member's controller transmission triggered to needing to change adds the command information of SDN controller cluster or exits the command information of SDN controller cluster, to change member's controller of described SDN controller cluster.
4. method according to claim 3, it is characterized in that, described supervisor's controller is determined to meet the condition changing member's controller, and the member's controller transmission triggered to needing to change adds the command information of SDN controller cluster or exits the command information of SDN controller cluster, comprising:
Obtain current member's controller information in described SDN controller cluster and current the managed facility information of described SDN controller cluster;
When described current member's controller is not enough to described current the managed equipment of management, then determine to meet the condition changing member's controller, the member's controller triggered to needing to change sends the command information adding SDN controller cluster; Or,
When equipment current managed described in described current member's controller management also has unnecessary member's controller, then determine to meet the condition changing member's controller, the member's controller triggered to needing to change sends the command information exiting SDN controller cluster.
5. the resilient expansion method of a SDN controller cluster scale, described SDN controller cluster comprises supervisor's controller and multiple member's controller, and described multiple member's controller is connected with described supervisor's controller respectively, and described method is applied to member's controller, it is characterized in that, comprising:
Described member's controller receives and adds the command information of SDN controller cluster or exit the command information of SDN controller cluster;
Described member's controller according to described in add SDN controller cluster command information send the solicited message adding SDN controller cluster, to make self to add described SDN controller cluster to supervisor's controller; Or, described member's controller according to described in exit the command information of SDN controller cluster, to supervisor's controller send exit SDN controller cluster solicited message to make self to exit SDN controller cluster.
6. method according to claim 5, is characterized in that, described member's controller according to described in add SDN controller cluster command information send to supervisor's controller the solicited message adding or exit SDN controller cluster, comprising:
What described member's controller receiving management layer or described supervisor's controller sent adds the command information of SDN controller cluster or exits the command information of SDN controller cluster, described in add SDN controller cluster command information or described in exit SDN controller cluster command information carry the mark of SDN controller cluster;
When the mark that the mark of the SDN controller cluster carried in the command information of the described SDN of adding controller cluster configures with self is identical, described member's controller sends the solicited message adding SDN controller cluster to described supervisor's controller, or when the mark that the mark of the SDN controller cluster that the command information of the described SDN of exiting controller cluster carries configures with self is identical, send the solicited message exiting SDN controller cluster to described supervisor's controller.
7. the resilient expansion device of a SDN controller cluster scale, described SDN controller cluster comprises supervisor's controller and multiple member's controller, and described multiple member's controller is connected with described supervisor's controller respectively, and described application of installation is in supervisor's controller, it is characterized in that, comprising:
Receiving element, for receiving adding the solicited message of SDN controller cluster or exiting the solicited message of SDN controller cluster of member's controller transmission;
Changing unit, for add described in basis SDN controller cluster solicited message or described in exit the solicited message of SDN controller cluster, change member's controller of described SDN controller cluster.
8. device according to claim 7, is characterized in that,
Described changing unit, for when receive that member controller sends add the solicited message of SDN controller cluster, and when the mark adding the SDN controller cluster carried in the solicited message of SDN controller cluster described in determining is consistent with the mark that self configures, sets up member with described member's controller and be connected;
When receive that member controller sends exit the solicited message of SDN controller cluster, and when the mark exiting the SDN controller cluster carried in the solicited message of SDN controller cluster described in determining is consistent with the mark that self configures, disconnects member with this member's controller and be connected.
9. device according to claim 7, is characterized in that, also comprises:
Trigger element, for when determining to meet the condition changing member's controller, the member's controller transmission triggered to needing to change adds the command information of SDN controller cluster or exits the command information of SDN controller cluster, to change member's controller of described SDN controller cluster.
10. device according to claim 9, is characterized in that,
Described trigger element, for obtaining current member's controller information in described SDN controller cluster and current the managed facility information of described SDN controller cluster;
When described current member's controller is not enough to described current the managed equipment of management, then determine to meet the condition changing member's controller, the member's controller triggered to needing to change sends the command information adding SDN controller cluster; Or,
When equipment current managed described in described current member's controller management also has unnecessary member's controller, then determine to meet the condition changing member's controller, the member's controller triggered to needing to change sends the command information exiting SDN controller cluster.
The resilient expansion device of 11. 1 kinds of SDN controller cluster scales, described SDN controller cluster comprises supervisor's controller and multiple member's controller, and described multiple member's controller is connected with described supervisor's controller respectively, and described application of installation is in member's controller, it is characterized in that, comprising:
Receiving element, for receiving the command information adding SDN controller cluster or the command information exiting SDN controller cluster;
Transmitting element, sends the solicited message adding SDN controller cluster, to make self to add described SDN controller cluster for the command information adding SDN controller cluster described in basis to supervisor's controller; Or, according to the described command information exiting SDN controller cluster, exit the solicited message of SDN controller cluster to make self to exit SDN controller cluster to the transmission of supervisor's controller.
12. devices according to claim 11, is characterized in that,
Described receiving element, what send for receiving management layer or described supervisor's controller adds the command information of SDN controller cluster or exits the command information of SDN controller cluster, described in add SDN controller cluster command information or described in exit SDN controller cluster command information carry the mark of SDN controller cluster;
Described transmitting element, when the mark configured with self for the mark of the SDN controller cluster carried in the command information of the described SDN of adding controller cluster is identical, the solicited message adding SDN controller cluster is sent to described supervisor's controller, or when the mark that the mark of the SDN controller cluster that the command information of the described SDN of exiting controller cluster carries configures with self is identical, send the solicited message exiting SDN controller cluster to described supervisor's controller.
CN201410482187.3A 2014-09-19 2014-09-19 A kind of method and device of the resilient expansion of SDN controllers cluster scale Active CN104270260B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410482187.3A CN104270260B (en) 2014-09-19 2014-09-19 A kind of method and device of the resilient expansion of SDN controllers cluster scale

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410482187.3A CN104270260B (en) 2014-09-19 2014-09-19 A kind of method and device of the resilient expansion of SDN controllers cluster scale

Publications (2)

Publication Number Publication Date
CN104270260A true CN104270260A (en) 2015-01-07
CN104270260B CN104270260B (en) 2017-12-08

Family

ID=52161754

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410482187.3A Active CN104270260B (en) 2014-09-19 2014-09-19 A kind of method and device of the resilient expansion of SDN controllers cluster scale

Country Status (1)

Country Link
CN (1) CN104270260B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106230622A (en) * 2016-07-22 2016-12-14 杭州华三通信技术有限公司 A kind of cluster implementation method and device
CN106533751A (en) * 2016-11-07 2017-03-22 杭州华三通信技术有限公司 SDN controller cluster merging method and apparatus
CN111641564A (en) * 2020-05-11 2020-09-08 紫光云技术有限公司 Cluster system of SDN controller and issuing configuration method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014114119A1 (en) * 2013-01-23 2014-07-31 Hangzhou H3C Technologies Co., Ltd. Redundant server operation by a software defined network controller
CN103973676A (en) * 2014-04-21 2014-08-06 蓝盾信息安全技术股份有限公司 Cloud computing safety protection system and method based on SDN

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014114119A1 (en) * 2013-01-23 2014-07-31 Hangzhou H3C Technologies Co., Ltd. Redundant server operation by a software defined network controller
CN103973676A (en) * 2014-04-21 2014-08-06 蓝盾信息安全技术股份有限公司 Cloud computing safety protection system and method based on SDN

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ADVAIT DIXIT ETC: ""Towards an Elastic Distributed SDN Controller"", 《PROCEEDING OF THE SECOND ACM SIGCOMM WORKSHOP ON HOT TOPIC IN SOFTWARE DEFINED NETWORKING》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106230622A (en) * 2016-07-22 2016-12-14 杭州华三通信技术有限公司 A kind of cluster implementation method and device
CN106230622B (en) * 2016-07-22 2020-02-11 新华三技术有限公司 Cluster implementation method and device
CN106533751A (en) * 2016-11-07 2017-03-22 杭州华三通信技术有限公司 SDN controller cluster merging method and apparatus
CN106533751B (en) * 2016-11-07 2020-12-25 新华三技术有限公司 SDN controller cluster merging method and device
CN111641564A (en) * 2020-05-11 2020-09-08 紫光云技术有限公司 Cluster system of SDN controller and issuing configuration method
CN111641564B (en) * 2020-05-11 2023-08-29 紫光云技术有限公司 Cluster system of SDN controller and issuing configuration method

Also Published As

Publication number Publication date
CN104270260B (en) 2017-12-08

Similar Documents

Publication Publication Date Title
US9369390B2 (en) Methods, systems, and computer readable media for providing a thinking diameter network architecture
US20170250870A1 (en) Virtual network policy configuration method and system, and virtual network element and network administration system thereof
US10481935B2 (en) Management system, overall management node, and management method for managing virtualization resources in a mobile communication network
US10511506B2 (en) Method and device for managing virtualized network function
EP3447965B1 (en) Network function instance management method and relevant device
CN102395144B (en) Wireless access point upgrade method, system thereof and device thereof
CN103475722A (en) Implement system for business collaboration platform
CN108370328B (en) Management method and device of NFV MANO policy descriptor
EP2656212B1 (en) Activate attribute for service profiles in unified computing system
CN104104572A (en) Automatic deploying method and device for switch in SDN network
CN106134141A (en) A kind of method and device updating network service describer NSD
US20200015102A1 (en) Network slice instance management method, apparatus, and system
CN105391684A (en) Centralized management method and centralized management device for strategies
CN105335229A (en) Business resource scheduling method and apparatus
CN103731870B (en) The management method and device of monitor task
CN112653577A (en) Network element management method, device and storage medium
CN105592127A (en) Application management system for cloud computing environment
WO2016095524A1 (en) Resource allocation method and apparatus
CN106357542A (en) Method for providing multicast service and software defined network controller
CN104270260A (en) Method and device for elastic expansion of scale of SDN controller cluster
US10216593B2 (en) Distributed processing system for use in application migration
CN108696373B (en) Virtual resource allocation method, NFVO and system
CN106911741B (en) Method for balancing virtual network management file downloading load and network management server
CN108366087B (en) ISCSI service realization method and device based on distributed file system
CN104272789A (en) Mobile communication system, call processing node, and communication control method

Legal Events

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

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

Applicant after: Xinhua three Technology Co., Ltd.

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

Applicant before: Huasan Communication Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant