CN106533751A - SDN controller cluster merging method and apparatus - Google Patents
SDN controller cluster merging method and apparatus Download PDFInfo
- Publication number
- CN106533751A CN106533751A CN201610972287.3A CN201610972287A CN106533751A CN 106533751 A CN106533751 A CN 106533751A CN 201610972287 A CN201610972287 A CN 201610972287A CN 106533751 A CN106533751 A CN 106533751A
- Authority
- CN
- China
- Prior art keywords
- sdn
- sub
- cluster
- controller
- perdurable data
- 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
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/50—Network service management, e.g. ensuring proper service fulfilment according to agreements
- H04L41/508—Network service management, e.g. ensuring proper service fulfilment according to agreements based on type of value added network service under agreement
- H04L41/5096—Network service management, e.g. ensuring proper service fulfilment according to agreements based on type of value added network service under agreement wherein the managed service relates to distributed or central networked applications
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiments of the invention provide an SDN controller cluster merging method and apparatus and are applied to a primary master controller in an SDN controller subcluster. The method comprises the following steps: when it is detected that the SDN controller subcluster of its own and other SDN controller subclusters in a cluster are merged, obtaining locally stored persistent data updating time, and obtaining persistent data updating time of primary master controllers of other SDN controller subclusters; determining whether the locally stored persistent data updating time is later than the persistent data updating time of the primary master controllers of other SDN controller subclusters; and if not, degrading the SDN controller subcluster of its own so as to realize addition to other SDN controller subclusters whose persistent data updating time is the latest. According to the embodiments of the invention, it can be ensured that what the primary master controller of the SDN controller cluster after merging stores is the latest data.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of SDN controllers cluster merging method and device.
Background technology
Many motors control device in SDN can be with composition control device cluster.In SDN controller clusters, every controller is matched somebody with somebody
It is equipped with its role in SDN controller clusters.Specifically, role of the controller in SDN clusters has two kinds:Master controller
(leader controllers) and Common Controller (member controllers).In SDN as shown in Fig. 1 (a), SDN controller collection
Group includes master controller 1, master controller 2, Common Controller 1, and Common Controller 2.
After the completion of SDN controller cluster configurations, election mechanism will be started, by election mechanism, in multiple stage master controller
In elect a primary master controller, remaining master controller is standby master controller.Primary master controller is responsible for SDN
Decision-making and management that the data and service that other controllers are produced in controller cluster are concentrated, are controlled in SDN with reaching data
In device cluster wide processed, one makes peace synchronous purpose.In SDN controller clusters as shown in Fig. 1 (a), master controller 1 is primary
Master controller, master controller 2 are standby master controller.
In SDN controller clusters, the communication interface between master controller and management platform (such as cloud management platform) is north orientation
Communication interface between interface, master controller and the network equipment (such as access device) is southbound interface.As shown in Fig. 1 (a), master control
Communication interface between device processed 1 and cloud management platform is northbound interface, between master controller 1, master controller 2 and access device
Communication interface is southbound interface.By northbound interface, master controller 1 can receive the perdurable data that cloud management platform is issued,
Such as configuration data, customer management information etc..By southbound interface, master controller 1, master controller 2 are by access device, Ke Yiyu
Interaction service data between each switching equipment.Also, the perdurable data that cloud management platform is issued can also be led to by master controller 1
Cross access device to be synchronized in master controller 2.
In some cases, due to network failure or other reasonses, SDN controllers cluster can be caused to divide, i.e., one SDN control
Device cluster division processed becomes plural SDN controllers sub-cluster.As shown in Fig. 1 (b), after the division of controller cluster, master control
Device processed 1 and Common Controller 1 constitute a controller sub-cluster, and master controller 2 and Common Controller 2 constitute another controller
Sub-cluster.In this case, when cloud management platform issues perdurable data, perdurable data can only be issued to master controller 1
In, due to network failure, master controller 1 can not be synchronized to perdurable data in master controller 2.
After network disaster recovery, each SDN controllers sub-cluster merges into a SDN controller cluster, and according to strategy,
The primary master controller of SDN controller clusters after merging is selected, for example, can be according to the control in each SDN controllers sub-cluster
Device quantity;Or according to the priority of the primary master controller in each SDN controllers sub-cluster, choose one of SDN controllers
Primary master controller of the primary master controller in sub-cluster as the cluster after merging, the SDN controllers as shown in Fig. 1 (b)
When sub-cluster merges, when the priority of primary master controller 2 is higher than the priority of primary master controller 1, can be by primary master
Primary master controller of the controller 2 as the controller cluster after merging.
But, due to holding of after the division of controller cluster, can not receiving in master controller 2 that cloud management platform issues
Longization data, therefore, using master controller 2 as the controller cluster after merging primary master controller, can will be newest lasting
Change loss of data, and then the data that preserve are not newest lasting in the primary master controller of the controller cluster after causing to merge
Change data.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of SDN controllers cluster merging method and device, to guarantee to merge
Preserve in the primary master controller of SDN controller clusters afterwards for newest data.Concrete technical scheme is as follows:
In a first aspect, embodiments providing a kind of SDN controllers cluster merging method, SDN controllers are applied to
Primary master controller in sub-cluster, methods described include:
When SDN controllers sub-cluster and this cluster other the SDN controller sub-clusters for detecting itself place merge, obtain
The perdurable data for taking local preservation updates the time, and obtains the persistence of other primary master controllers of SDN controller sub-clusters
Data update the time;
Judge that the local perdurable data for preserving updates whether the time is later than other primary master controls of SDN controller sub-clusters
The perdurable data of device processed updates the time;
If not, the SDN controllers sub-cluster itself being located degrades, to add perdurable data to update the time the latest
Other SDN controller sub-clusters.
Second aspect, embodiments provides a kind of SDN controllers cluster and merges device, be applied to SDN controllers
Primary master controller in sub-cluster, described device include:
Acquisition module, the SDN controllers sub-cluster and other SDN controllers of this cluster for detecting itself place are sub
When cluster merges, obtain the local perdurable data for preserving and update the time, and obtain other primary master controls of SDN controller sub-clusters
The perdurable data of device processed updates the time;
Judge module, for judging that the perdurable data of local preservation updates whether the time is later than other SDN controllers
The perdurable data of the primary master controller of sub-cluster updates the time;
Merging module, for when the judge module judged result is no, by the SDN controller sub-clusters at itself place
Degrade, to add perdurable data to update time other SDN controller sub-clusters the latest.
A kind of SDN controllers cluster merging method and device are embodiments provided, in each SDN controllers sub-cluster
Primary master controller, which can update the time locally preserve corresponding perdurable data, when in SDN controller sub-clusters
Primary master controller detect SDN controllers sub-cluster and this cluster other SDN controller sub-clusters at itself place and merge
When, primary master controller can update time, and other SDN controllers for obtaining according to the local perdurable data for preserving
The perdurable data of the primary master controller of cluster updates the time, determines whether itself carries out degradation merging.It is lasting when itself
When changing the data renewal time the latest, may indicate that the perdurable data that itself preserves is newest data, now, the primary master control
Device processed does not do any operation;When itself perdurable data update the time it is non-the latest when, show also exist than itself renewal time
More late perdurable data, in this case, the primary master controller can be by the SDN controllers sub-cluster drop itself being located
Level, to add perdurable data to update the SDN controller sub-clusters that time primary master controller the latest is located, so as to ensure that
The primary master controller of the SDN clusters after merging is the primary master controller for preserving newest perdurable data.Also, due to non-
Perdurable data can be recovered according to perdurable data, therefore, the embodiment of the present invention ensure that the SDN clusters after merging
Primary master controller in preserve for newest data.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
Accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 (a) is a kind of SDN structural representation of the cluster of controller containing SDN;
There is the structural representation of SDN after division for the SDN controllers cluster shown in Fig. 1 (a) in Fig. 1 (b);
Fig. 2 is a kind of flow chart of SDN controllers cluster merging method provided in an embodiment of the present invention;
Fig. 3 is the structural representation that a kind of SDN controllers cluster provided in an embodiment of the present invention merges device;
Fig. 4 is another structural representation that a kind of SDN controllers cluster provided in an embodiment of the present invention merges device.
Specific embodiment
In order to ensure preserving in the primary master controller of the SDN controller clusters after merging as newest data, this
Bright embodiment provides a kind of SDN controllers cluster merging method and device.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
It should be noted that in the case where not conflicting, the embodiment and the feature in embodiment in the present invention can phase
Mutually combine.Below with reference to the accompanying drawings and in conjunction with the embodiments describing the present invention in detail.
Data in the controller of SDN controller clusters are divided into two classes and are distinguished by the embodiment proposed by the application
Treat, perdurable data and non-persistentization data.Wherein, perdurable data is referred to needs the storage of SDN controllers to deposit to persistence
In storage equipment, for example, store in database or persistent file, the data that will not be lost after power-down rebooting, typically by managing
Platform, such as cloud management platform, issue.For example, various configuration datas, customer management information of SDN controllers etc..It is non-persistent
Change data, refer to and do not need SDN controllers to store to the data in persistent storage equipment.This kind of data can be according to persistently
Changing data and network real-time status, to carry out dynamic operation calculated, for example, service data, flow table information etc..
When the SDN controller sub-clusters of division merge into a SDN controller cluster, as long as the SDN controls after ensureing to merge
The perdurable data preserved in the primary master controller of device cluster processed is newest data, and the primary master controller can be according to most
New perdurable data, recovers newest non-persistentization data, so as to all data for ensureing to preserve in the primary master controller
It is newest data.
In embodiments of the present invention, when controller cluster splits into each controller sub-cluster, each controller sub-cluster
The local perdurable data for preserving is updated the time by primary master controller, is held as the primary master controller of this controller sub-cluster
Longization data update the time.For example, in controller sub-cluster after master controller is upgraded to division by standby master controller
During primary master controller, its perdurable data updates the controller sub-cluster initial persistence time for time being its place.
When a controller sub-cluster perdurable data updates, e.g., there is increase, change, delete etc. in perdurable data
During operation, the primary master controller of the controller sub-cluster can record time during renewal, as newest perdurable data
The renewal time.A kind of SDN controllers cluster merging method process is embodiments provided, SDN controller subsets are applied to
Primary master controller in group, as shown in Fig. 2 the process may comprise steps of:
S201, when SDN controllers sub-cluster and this cluster other the SDN controller sub-clusters for detecting itself place merge
When, obtain the local perdurable data for preserving and update the time, and obtain holding for other SDN primary master controllers of controller sub-cluster
Longization data update the time.
In embodiments of the present invention, primary master controller can detect SDN controllers sub-cluster which is located whether with this
Cluster other SDN controller sub-clusters there occurs merging.Dividing multiple SDN controllers sub-clusters in SDN controller clusters is
Due to reasons such as network failures, after network failure is repaired, the primary master controller of each SDN controllers sub-cluster will send interaction
Message.Therefore, in embodiments of the present invention, the primary master controller in SDN controllers sub-cluster can be by judging whether to connect
The mutual message for receiving and sending from the primary master controller of other SDN controller sub-clusters as same controller cluster,
Merge to detect that whether the SDN controllers sub-cluster itself being located is there occurs with this cluster other SDN controller sub-clusters.
It should be noted that primary master controller detect SDN controllers sub-cluster which is located whether with this cluster other
SDN controller sub-clusters there occurs the process of merging, can also adopt existing any one method, and the embodiment of the present invention is to this mistake
Journey is not defined.
When primary master controller detects the SDN controllers sub-cluster and other SDN controller subsets of this cluster at its place
When group there occurs merging, its perdurable data that can obtain local preservation updates time, and other SDN controller sub-clusters
The perdurable data of primary master controller updates the time, updates the time according to the perdurable data of itself, and other SDN are controlled
The perdurable data of the primary master controller of device sub-cluster updates the time, and determining how carries out the merging of SDN clusters.
For example, primary master controller can preserve the path that perdurable data updates the time according to predetermined, pass through
Corresponding path obtains perdurable data and updates the time.
In one implementation, primary master controller obtains holding for other SDN primary master controllers of controller sub-cluster
When longization data update the time, which can send perdurable data to the primary master controller of other SDN controller sub-clusters and update
Time request message;And the response message that the primary master controller of other SDN controller sub-clusters sends is received, obtain each response report
The perdurable data of the primary master controller of each SDN controllers sub-cluster of correspondence carried in text updates the time.
Wherein, primary master controller sends perdurable data to the primary master controller of other SDN controller sub-clusters and updates
During time request message, can be according to the address information of the primary master controller in other each SDN controllers sub-clusters, by list
Form is broadcast, and perdurable data is sent to the primary master controller of other each SDN controllers sub-clusters and is updated time request message.
In another kind of implementation, when primary master controller detects the SDN controllers sub-cluster itself being located and this
During other SDN controllers sub-clusters merging of cluster, which can be actively to other the primary main controls of SDN controller sub-clusters of this cluster
Device sends the notice message for carrying that itself perdurable data updates the time;Or, which can be to other SDN controller sub-clusters
When primary master controller sends mutual message, the perdurable data of itself is updated into time carrying and which is sent in mutual message
Its primary master controller of SDN controller sub-clusters.
Likewise, primary master controller can also receive the logical of the primary master controller transmission of other SDN controller sub-clusters
Know message or mutual message, the primary master controller of each SDN controllers sub-cluster of correspondence carried in obtaining received message
Perdurable data updates the time.
S202, judges that the local perdurable data for preserving updates whether the time is later than other SDN controller sub-cluster masters
The time is updated with the perdurable data of master controller;If not, execution step S203, if it is, not performing operation.
The perdurable data for getting local preservation updates time, and other primary main controls of SDN controller sub-clusters
After the perdurable data renewal time of device, primary master controller may determine that whether the perdurable data of local preservation updates the time
The perdurable data for being later than other primary master controllers of SDN controller sub-clusters updates the time.
That is, primary master controller may determine that whether the perdurable data of local preservation is all of primary master control
Newest data in device processed, so that according to judged result, determining how carries out the merging of SDN controller clusters.
S203, the SDN controllers sub-cluster itself being located is degraded, to add perdurable data to update time the latest its
Its SDN controller sub-cluster.
When primary master controller judges that the perdurable data for obtaining local preservation updates time inequality and is later than other SDN controls
When the perdurable data of the primary master controller of device sub-cluster updates the time, may indicate that the perdurable data of local preservation is not most
New data, the primary master controller of the SDN controller clusters after itself cannot function as merging.In this case, primary master control
The SDN controllers sub-cluster itself being located can be degraded by device processed, to add perdurable data to update time primary master the latest
The SDN controller sub-clusters that control is located.
Specifically, primary master controller can restart the physical machine of itself, or, the SDN controllers of itself can be restarted
Sub-cluster process.During primary master controller restarts physical machine or SDN controller sub-cluster processes, the primary main control
Standby master controller and Common Controller in the SDN controller sub-clusters of device place will be disconnected with the primary master controller and be connected
Connect.Also, standby master controller and Common Controller will be set up with the primary master controller do not restarted again and be connected.Due to only
Perdurable data updates time primary master controller the latest and is not restarted, it may therefore be assured that the primary master controller institute
Standby master controller and Common Controller in SDN controller sub-clusters will add perdurable data to update time master the latest
The SDN controller sub-clusters being located with master controller.
In the embodiment of the present invention, the process that the SDN controllers sub-cluster itself being located is degraded by primary master controller, except
Outside using above method, existing any one method, the embodiment of the present invention can also be adopted not to repeat this process.
Method provided in an embodiment of the present invention can apply to the primary master controller in arbitrary SDN controllers sub-cluster.
That is, the primary master controller in each SDN controller sub-cluster can perform above-mentioned steps, and then judge whether certainly
The SDN controllers sub-cluster that body is located degrades.
When there are multiple SDN controllers sub-clusters in SDN controller clusters, in each SDN controller sub-cluster
Primary master controller, as long as it is not its SDN controller that itself will be located the latest that its perdurable data updates time
Sub-cluster degrades.That is, only perdurable data updates what itself will not be located by time primary master controller the latest
SDN controllers sub-cluster degrades.Therefore, other SDN controllers sub-clusters can just add the persistence to update the time the latest
The SDN controller sub-clusters that are located of primary master controller, so as to complete the merging of SDN controller clusters.Also, after merging
The primary master controller of SDN controller clusters is that the perdurable data updates time primary master controller the latest.
After SDN controller clusters after being merged, the primary master controller of the SDN controller clusters can be according to local
The perdurable data is synchronized to each Common Controller in SDN controller clusters by the perdurable data of preservation so that itself with
And each Common Controller recovers local non-persistentization data according to the perdurable data.
A kind of SDN controllers cluster merging method is embodiments provided, it is primary in each SDN controllers sub-cluster
Master controller, which can update the time corresponding perdurable data is locally preserved, when primary in SDN controller sub-clusters
It is when master controller detects SDN controllers sub-cluster and this cluster other SDN controller sub-clusters at itself place and merges, primary
Master controller can update time, and other SDN controller sub-cluster masters for obtaining according to the local perdurable data for preserving
The time is updated with the perdurable data of master controller, determine whether itself carries out degradation merging.When the perdurable data of itself
The renewal time the latest when, may indicate that itself preserve perdurable data be newest data, now, the primary master controller is not
Do any operation;When itself perdurable data update the time it is non-the latest when, show also exist it is more late than itself renewal time
Perdurable data, in this case, the SDN controllers sub-cluster itself being located can be degraded by the primary master controller, to add
Enter perdurable data and update the SDN controller sub-clusters that time primary master controller the latest is located, so as to ensure that after merging
The primary master controller of SDN clusters be the primary master controller for preserving newest perdurable data.Also, due to non-persistentization
Data can be recovered according to perdurable data, therefore, the embodiment of the present invention ensure that the primary of the SDN clusters after merging
Preserve in master controller for newest data.
Used as a kind of implementation of the embodiment of the present invention, primary master controller is when local preservation perdurable data updates
Between when, perdurable data can be updated the time and is stored in the corresponding daily record of perdurable data of local preservation by which.Accordingly,
Primary master controller, can be according to the local perdurable data for preserving when the perdurable data for obtaining local preservation updates the time
Corresponding daily record, the perdurable data recorded in obtaining the daily record update the time.
Used as another kind of implementation of the embodiment of the present invention, the perdurable data locally preserved when primary master controller is more
When new, e.g., when perdurable data occurs the operations such as increase, change, delete, primary master controller can update holding for local preservation
Longization data update the time, to ensure that the perdurable data of local preservation updates the accuracy of time.
Corresponding to above method embodiment, the embodiment of the present invention additionally provides corresponding device embodiment.
Merge device for a kind of SDN controllers cluster provided in an embodiment of the present invention such as 3, it is characterised in that be applied to SDN
Primary master controller in controller sub-cluster, described device include:
Acquisition module 310, for controlling as SDN controllers sub-cluster and this cluster other SDN that detect itself place
When device sub-cluster merges, obtain the local perdurable data for preserving and update the time, and it is primary to obtain other SDN controller sub-clusters
The perdurable data of master controller updates the time;
Judge module 320, for judging that the perdurable data of local preservation updates whether the time is later than other SDN controls
The perdurable data of the primary master controller of device sub-cluster updates the time;
Merging module 330, for SDN controllers that when the judge module judged result is no, itself will be located
Cluster degrades, to add perdurable data to update time other SDN controller sub-clusters the latest.
Embodiments provide a kind of SDN controllers cluster and merge device, it is primary in each SDN controllers sub-cluster
Master controller, can update time, the primary master in SDN controller sub-clusters corresponding perdurable data is locally preserved
When controller detects SDN controllers sub-cluster and this cluster other SDN controller sub-clusters at itself place and merges, primary master
Controller can be primary according to the local perdurable data renewal time for preserving, and other SDN controller sub-clusters for obtaining
The perdurable data of master controller updates the time, determines whether itself carries out degradation merging.When the perdurable data of itself more
The new time the latest when, may indicate that the perdurable data that itself preserves is newest data, now, the primary master controller does not do
Any operation;When itself perdurable data update the time it is non-the latest when, show also there is hold more late than itself renewal time
Longization data, in this case, the SDN controllers sub-cluster itself being located can be degraded by the primary master controller, to add
Perdurable data updates the SDN controller sub-clusters that time primary master controller the latest is located, so as to ensure that after merging
The primary master controller of SDN clusters is the primary master controller for preserving newest perdurable data.Also, due to non-persistentization number
According to can be recovered according to perdurable data, therefore, the embodiment of the present invention ensure that the primary master of the SDN clusters after merging
Preserve in controller for newest data.
As a kind of implementation of the embodiment of the present invention, as shown in figure 4, the acquisition module 310, including:
Sending submodule 311, updates for sending perdurable data to the primary master controller of other SDN controller sub-clusters
Time request message;
Acquisition submodule 312, for receiving the response message that the primary master controller of other SDN controller sub-clusters sends,
The perdurable data of the primary master controller of each SDN controllers sub-cluster of correspondence carried in obtaining each response message updates the time.
As another kind of implementation of the embodiment of the present invention, the acquisition module 310, specifically for receiving other SDN
The message that the primary master controller of controller sub-cluster sends, each SDN controllers sub-cluster master of correspondence carried in obtaining each message
The time is updated with the perdurable data of master controller.
As another kind of implementation of the embodiment of the present invention, the acquisition module 310, specifically for according to local preservation
The corresponding daily record of perdurable data, the perdurable data recorded in obtaining the daily record updates the time.
As another kind of implementation of the embodiment of the present invention, as shown in figure 4, described device also includes:
Update module 340, for when the local perdurable data for preserving updates, updating the local perdurable data for preserving
The renewal time.
For device embodiment, as which is substantially similar to embodiment of the method, so description is fairly simple, it is related
Part is illustrated referring to the part of embodiment of the method.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality
Body or operation are made a distinction with another entity or operation, and are not necessarily required or implied these entities or deposit between operating
In any this actual relation or order.And, term " including ", "comprising" or its any other variant are intended to
Nonexcludability is included, so that a series of process, method, article or equipment including key elements not only will including those
Element, but also including other key elements being not expressly set out, or also include for this process, method, article or equipment
Intrinsic key element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that
Also there is other identical element in process, method, article or equipment including the key element.
Each embodiment in this specification is described by the way of correlation, identical similar portion between each embodiment
Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.Especially for system reality
For applying example, as which is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method
Part explanation.
Presently preferred embodiments of the present invention is the foregoing is only, protection scope of the present invention is not intended to limit.It is all
Any modification, equivalent substitution and improvements made within the spirit and principles in the present invention etc., are all contained in protection scope of the present invention
It is interior.
Claims (10)
1. a kind of SDN controllers cluster merging method, it is characterised in that the primary master control being applied in SDN controller sub-clusters
Device processed, methods described include:
When SDN controllers sub-cluster and this cluster other the SDN controller sub-clusters for detecting itself place merge, acquisition
The perdurable data that ground is preserved updates the time, and obtains the perdurable data of other primary master controllers of SDN controller sub-clusters
The renewal time;
Judge that the local perdurable data for preserving updates whether the time is later than other primary master controllers of SDN controller sub-clusters
Perdurable data update the time;
If not, the SDN controllers sub-cluster itself being located degrades, to add perdurable data to update time the latest other
SDN controller sub-clusters.
2. method according to claim 1, it is characterised in that the acquisition other primary master controls of SDN controller sub-clusters
The perdurable data renewal time of device processed includes:
Perdurable data is sent to the primary master controller of other SDN controller sub-clusters and updates time request message;
The response message that the primary master controller of other SDN controller sub-clusters sends is received, is carried in obtaining each response message
The perdurable data of the primary master controller of each SDN controllers sub-cluster of correspondence updates the time.
3. method according to claim 1, it is characterised in that the acquisition other primary master controls of SDN controller sub-clusters
The perdurable data renewal time of device processed includes:
Receive the message that the primary master controller of other SDN controller sub-clusters sends, each SDN of correspondence carried in obtaining each message
The perdurable data of the primary master controller of controller sub-cluster updates the time.
4. the method according to any one of claim 1-3, it is characterised in that the perdurable data that the acquisition is locally preserved
The renewal time includes:
According to the local corresponding daily record of perdurable data for preserving, when the perdurable data recorded in obtaining the daily record updates
Between.
5. the method according to any one of claim 1-3, it is characterised in that methods described also includes:
When the local perdurable data for preserving updates, update the local perdurable data for preserving and update the time.
6. a kind of SDN controllers cluster merges device, it is characterised in that the primary master control being applied in SDN controller sub-clusters
Device processed, described device include:
Acquisition module, for when the SDN controllers sub-cluster and other SDN controller sub-clusters of this cluster that detect itself place
During merging, obtain the local perdurable data for preserving and update the time, and obtain other primary master controllers of SDN controller sub-clusters
Perdurable data update the time;
Judge module, for judging that the perdurable data of local preservation updates whether the time is later than other SDN controller subsets
The perdurable data of the primary master controller of group updates the time;
Merging module, for when the judge module judged result is no, by the SDN controllers sub-cluster drop itself being located
Level, to add perdurable data to update time other SDN controller sub-clusters the latest.
7. device according to claim 6, it is characterised in that the acquisition module, including:
Sending submodule, please for sending the perdurable data renewal time to the primary master controller of other SDN controller sub-clusters
Seek message;
Acquisition submodule, for receiving the response message that the primary master controller of other SDN controller sub-clusters sends, obtains each sound
The perdurable data of the primary master controller of each SDN controllers sub-cluster of correspondence carried in answering message updates the time.
8. device according to claim 6, it is characterised in that the acquisition module, controls specifically for receiving other SDN
The message that the primary master controller of device sub-cluster sends, the primary master of each SDN controllers sub-cluster of correspondence carried in obtaining each message
The perdurable data of controller updates the time.
9. the device according to any one of claim 6-8, it is characterised in that the acquisition module, specifically for according to this
The corresponding daily record of perdurable data that ground is preserved, the perdurable data recorded in obtaining the daily record update the time.
10. the device according to any one of claim 6-8, it is characterised in that described device also includes:
Update module, when updating for when the local perdurable data for preserving updates, updating the local perdurable data for preserving
Between.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610972287.3A CN106533751B (en) | 2016-11-07 | 2016-11-07 | SDN controller cluster merging method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610972287.3A CN106533751B (en) | 2016-11-07 | 2016-11-07 | SDN controller cluster merging method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106533751A true CN106533751A (en) | 2017-03-22 |
CN106533751B CN106533751B (en) | 2020-12-25 |
Family
ID=58349492
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610972287.3A Active CN106533751B (en) | 2016-11-07 | 2016-11-07 | SDN controller cluster merging method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106533751B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110086581A (en) * | 2019-05-30 | 2019-08-02 | 深圳市中航比特通讯技术有限公司 | The synchronous method and apparatus of a main prepare more data under a kind of network integration scene |
CN112272105A (en) * | 2020-09-16 | 2021-01-26 | 浪潮思科网络科技有限公司 | SDN controller cluster member control method, system and medium |
CN114124650A (en) * | 2021-12-08 | 2022-03-01 | 中国电子科技集团公司第三十四研究所 | Master-slave deployment method of SPTN (shortest Path bridging) network controller |
CN116455911A (en) * | 2023-03-28 | 2023-07-18 | 安超云软件有限公司 | Heterogeneous cluster intercommunication method |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104168209A (en) * | 2014-08-28 | 2014-11-26 | 杭州华三通信技术有限公司 | Multi-access SDN message forwarding method and controller |
CN104270260A (en) * | 2014-09-19 | 2015-01-07 | 杭州华三通信技术有限公司 | Method and device for elastic expansion of scale of SDN controller cluster |
CN104601380A (en) * | 2015-01-30 | 2015-05-06 | 杭州华三通信技术有限公司 | Software-defined network controller and host computer information recovery method thereof |
CN104639615A (en) * | 2015-01-07 | 2015-05-20 | 杭州华三通信技术有限公司 | Data processing method and data processing device in controller cluster |
CN104811325A (en) * | 2014-01-24 | 2015-07-29 | 华为技术有限公司 | Cluster node controller monitoring method, related device and controller |
WO2015167597A1 (en) * | 2014-04-30 | 2015-11-05 | Hewlett-Packard Development Company, L.P. | Data plane to forward traffic based on communications from a software defined networking (sdn) controller during control plane failure |
TW201618503A (en) * | 2014-11-13 | 2016-05-16 | 財團法人工業技術研究院 | OpenFlow switch and method for packet exchanging thereof, SDN controller and data flow control method thereof |
CN105812269A (en) * | 2014-12-31 | 2016-07-27 | 华为技术有限公司 | Method of creating port group in SDN, SDN controllers, and network system |
-
2016
- 2016-11-07 CN CN201610972287.3A patent/CN106533751B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104811325A (en) * | 2014-01-24 | 2015-07-29 | 华为技术有限公司 | Cluster node controller monitoring method, related device and controller |
WO2015167597A1 (en) * | 2014-04-30 | 2015-11-05 | Hewlett-Packard Development Company, L.P. | Data plane to forward traffic based on communications from a software defined networking (sdn) controller during control plane failure |
CN104168209A (en) * | 2014-08-28 | 2014-11-26 | 杭州华三通信技术有限公司 | Multi-access SDN message forwarding method and controller |
CN104270260A (en) * | 2014-09-19 | 2015-01-07 | 杭州华三通信技术有限公司 | Method and device for elastic expansion of scale of SDN controller cluster |
TW201618503A (en) * | 2014-11-13 | 2016-05-16 | 財團法人工業技術研究院 | OpenFlow switch and method for packet exchanging thereof, SDN controller and data flow control method thereof |
CN105812269A (en) * | 2014-12-31 | 2016-07-27 | 华为技术有限公司 | Method of creating port group in SDN, SDN controllers, and network system |
CN104639615A (en) * | 2015-01-07 | 2015-05-20 | 杭州华三通信技术有限公司 | Data processing method and data processing device in controller cluster |
CN104601380A (en) * | 2015-01-30 | 2015-05-06 | 杭州华三通信技术有限公司 | Software-defined network controller and host computer information recovery method thereof |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110086581A (en) * | 2019-05-30 | 2019-08-02 | 深圳市中航比特通讯技术有限公司 | The synchronous method and apparatus of a main prepare more data under a kind of network integration scene |
CN112272105A (en) * | 2020-09-16 | 2021-01-26 | 浪潮思科网络科技有限公司 | SDN controller cluster member control method, system and medium |
CN112272105B (en) * | 2020-09-16 | 2023-04-18 | 浪潮思科网络科技有限公司 | SDN controller cluster member control method, system and medium |
CN114124650A (en) * | 2021-12-08 | 2022-03-01 | 中国电子科技集团公司第三十四研究所 | Master-slave deployment method of SPTN (shortest Path bridging) network controller |
CN116455911A (en) * | 2023-03-28 | 2023-07-18 | 安超云软件有限公司 | Heterogeneous cluster intercommunication method |
CN116455911B (en) * | 2023-03-28 | 2024-03-22 | 安超云软件有限公司 | Heterogeneous cluster intercommunication method |
Also Published As
Publication number | Publication date |
---|---|
CN106533751B (en) | 2020-12-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100562858C (en) | The methods, devices and systems of EMS memory data-base remote disaster tolerance | |
CN109683826B (en) | Capacity expansion method and device for distributed storage system | |
CN106533751A (en) | SDN controller cluster merging method and apparatus | |
CN101196840B (en) | System and method for configuring a data mirror | |
US11892922B2 (en) | State management methods, methods for switching between master application server and backup application server, and electronic devices | |
CN101763321B (en) | Disaster-tolerant method, device and system | |
US10726042B2 (en) | Replication control using eventually consistent meta-data | |
CN107391294A (en) | A kind of method for building up and device of IPSAN disaster tolerance systems | |
CN103580906A (en) | Data backup method, system and server | |
CN107453932B (en) | Distributed storage system management method and device | |
CN106469069B (en) | Version upgrading method and system | |
CN105516300A (en) | Equipment version upgrading method and system | |
CN104793981A (en) | Online snapshot managing method and device for virtual machine cluster | |
CN104516795A (en) | Data access method and system | |
CN105760251B (en) | A kind of method and apparatus of Backup Data | |
CN104301990A (en) | Data synchronizing method and device | |
CN108509296B (en) | Method and system for processing equipment fault | |
CN103888545A (en) | Method and device for processing global data in distributed system | |
CN111104250A (en) | Method, apparatus and computer program product for data processing | |
CN101222358B (en) | Configuration emigration method and device | |
CN105511808A (en) | Data operation method, system and related device | |
CN105472843A (en) | Backlight control method and apparatus for container based multi-system mobile device | |
CN106789304B (en) | Network equipment configuration synchronization method and device | |
CN115756955A (en) | Data backup and data recovery method and device and computer equipment | |
CN104021049B (en) | The unified method of data and ether interface hard disk in distributed memory system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
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: 310053 Hangzhou science and Technology Industrial Park, high tech Industrial Development Zone, Zhejiang Province, No. six and road, No. 310 Applicant before: Huasan Communication Technology Co., Ltd. |
|
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |