CN109039790A - A kind of inter-cluster communication method and relevant apparatus - Google Patents

A kind of inter-cluster communication method and relevant apparatus Download PDF

Info

Publication number
CN109039790A
CN109039790A CN201811245481.7A CN201811245481A CN109039790A CN 109039790 A CN109039790 A CN 109039790A CN 201811245481 A CN201811245481 A CN 201811245481A CN 109039790 A CN109039790 A CN 109039790A
Authority
CN
China
Prior art keywords
cluster
virtual machine
arp
controller
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811245481.7A
Other languages
Chinese (zh)
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.)
Sangfor Technologies Co Ltd
Original Assignee
Sangfor 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 Sangfor Technologies Co Ltd filed Critical Sangfor Technologies Co Ltd
Priority to CN201811245481.7A priority Critical patent/CN109039790A/en
Publication of CN109039790A publication Critical patent/CN109039790A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]

Abstract

The invention discloses a kind of inter-cluster communication method, system, device and computer readable storage mediums, the method comprise the steps that inhibiting the information of all virtual machines of controller the first cluster of configuration for the ARP of the first cluster first, and by way of dynamic learning, for the first cluster ARP inhibit controller configure all second clusters all virtual machines information, rather than the virtual machine informations of all clusters is configured by the ARP inhibition controller that the method for static configuration is each cluster.By the virtual machine information of other clusters of dynamic learning, the effect of the virtual machine information of automatic synchronization other clusters may be implemented, to save the process of configuration.And equally without dummy node initiation establish connection request when broadcast request information, therefore can to avoid link circuit resource occupancy the problem of.

Description

A kind of inter-cluster communication method and relevant apparatus
Technical field
The present invention relates to field of computer technology, more specifically between a kind of inter-cluster communication method, a kind of cluster Communication system, a kind of inter-cluster communication device and a kind of computer readable storage medium.
Background technique
In SDN cluster, when connection is established in the request of the node of a virtual machine node and other clusters, as requesting party Node can broadcast the information of its node that establish connection in the whole network, each node can receive this information simultaneously in network Whether judgement is consistent with the relevant information of oneself, and then explanation is the node of requesting party's connection of being established when consistent, at this time the section Point can return to node of the MAC Address to requesting party of oneself, to establish connection.
But when a virtual machine node initiates the above-mentioned request for establishing connection, whole network link cannot be by it He uses node, to complete the connection between SDN cluster interior joint using the above method, can cause serious link circuit resource and account for Use problem.
Currently, two kinds of connection method for building up for avoiding link circuit resource occupation problem are provided, first is that by institute in all clusters There are information (including MAC Address) all static configurations of node to inhibit in controller to ARP, initiates the request of couple very much in love connection in node When, no longer broadcast request on the link only sends the request to ARP and inhibits controller, inhibits controller to return to request pair by ARP The MAC Address answered establishes connection for node, due to avoiding being broadcasted on the link, can solve link circuit resource occupancy The problem of, but all virtual machine nodes due to needing to inhibit controller static configuration to go out all clusters each ARP again Information, therefore the very complicated complexity of configuration process.
Therefore, how Jian Bian solution link circuit resource occupation problem, be those skilled in the art's problem to be solved.
Summary of the invention
The purpose of the present invention is to provide between a kind of inter-cluster communication method, a kind of inter-cluster communication system, a kind of cluster Communication device and a kind of computer readable storage medium, with solve how Jian Bian solution link circuit resource occupation problem.
To achieve the above object, the embodiment of the invention provides following technical solutions:
A kind of inter-cluster communication method, comprising:
For the first cluster ARP inhibit controller configure first cluster all virtual machines virtual machine information;
Inhibit control using the ARP that the ARP of first cluster inhibits controller dynamic learning and saves all second clusters The virtual machine information saved in device processed so that in first cluster the first virtual machine request with any second cluster in The second virtual machine establish communication when, determined in all virtual machine informations using the ARP controller of first cluster and to First virtual machine returns to the virtual machine information of second virtual machine.
Wherein, described is that the ARP inhibition controller of the first cluster configures the virtual of all virtual machines of first cluster Machine information, comprising:
Inhibit all of the first cluster described in controller static configuration using the ARP that SDN controller is first cluster The virtual machine information of virtual machine.
Wherein, the ARP using first cluster inhibits controller dynamic learning and saves all second clusters ARP inhibits the virtual machine information saved in controller, comprising:
The ARP of controller and each second cluster is inhibited to inhibit to transport on controller in the ARP of first cluster Row bgp protocol;
The ARP of all second clusters is inhibited to save in controller by the bgp protocol using SDN controller Virtual machine information dynamic learning and the ARP inhibition controller for being saved in first cluster.
Wherein, further includes:
When the affiliated cluster of any virtual machine changes, in the virtual machine, the ARP of affiliated cluster inhibits to control before changing The virtual machine information of the virtual machine is deleted in device processed;
The ARP of affiliated cluster inhibits the virtual machine information that the virtual machine is added in controller after virtual machine change;
Inhibit the virtual machine information of the virtual machine in controller, the target using the ARP that bgp protocol updates target cluster Cluster includes all clusters that affiliated cluster is communicated after change with the virtual machine.
Present invention also provides a kind of inter-cluster communication systems, comprising:
Configuration module configures all virtual machines of first cluster for the ARP inhibition controller for the first cluster Virtual machine information;
Dynamic learning module inhibits controller dynamic learning for the ARP using first cluster and saves all the The ARP of two clusters inhibits the virtual machine information saved in controller so that the first virtual machine request in first cluster with When the second virtual machine in any second cluster establishes communication, using the ARP controller of first cluster in all void The virtual machine information of second virtual machine is determined and returned to first virtual machine in quasi- machine information.
Wherein, the configuration module, specifically for inhibiting controller using the ARP that SDN controller is first cluster The virtual machine information of all virtual machines of first cluster described in static configuration.
Wherein, the dynamic learning module, comprising:
Running unit inhibits the ARP of controller and each second cluster to inhibit for the ARP in first cluster Bgp protocol is run on controller;
Dynamic learning unit, for passing through the bgp protocol for the ARP of all second clusters using SDN controller Inhibit the virtual machine information dynamic learning saved in controller and the ARP for being saved in first cluster inhibits controller.
Wherein, further includes:
Removing module, for when the affiliated cluster of any virtual machine changes, the virtual machine before changing belonging to collection The ARP of group inhibits the virtual machine information that the virtual machine is deleted in controller;
Adding module, the ARP for the affiliated cluster after virtual machine change inhibit to add the virtual machine in controller Virtual machine information;
Update module, the ARP for updating target cluster using bgp protocol inhibit the virtual machine of the virtual machine in controller Information, the target cluster include all clusters that affiliated cluster is communicated after change with the virtual machine.
Present invention also provides a kind of information configuration devices, comprising:
First memory, for storing computer program;
First processor is realized when for executing the computer program such as the step of the inter-cluster communication method.
Present invention also provides a kind of first computer readable storage medium, on first computer readable storage medium It is stored with computer program, is realized when the computer program is executed by processor such as the step of the inter-cluster communication method.
By above scheme it is found that a kind of inter-cluster communication method provided in an embodiment of the present invention, comprising: be the first cluster ARP inhibit controller configure first cluster all virtual machines virtual machine information;Utilize the ARP of first cluster Inhibit controller dynamic learning and save the ARP of all second clusters to inhibit the virtual machine information that saves in controller, so that institute State in the first cluster the first virtual machine request in any second cluster the second virtual machine establish communicate when, utilize institute The ARP controller for stating the first cluster determines in all virtual machine informations and returns to described second virtually to first virtual machine The virtual machine information of machine.
It can be seen that a kind of inter-cluster communication method provided by the present application, inhibits controller first for the ARP of the first cluster The information of all virtual machines of the first cluster is configured, and by way of dynamic learning, is that the ARP of the first cluster inhibits controller The information of all virtual machines of all second clusters is configured, rather than is pressed down by the ARP that the method for static configuration is each cluster Controller processed configures the virtual machine information of all clusters.By the virtual machine information of other clusters of dynamic learning, may be implemented certainly The effect of the dynamic virtual machine information for synchronizing other clusters, to save the process of configuration.And equally without in dummy node Broadcast request information when connection request is established in initiation, thus can to avoid link circuit resource occupancy the problem of.
Present invention also provides a kind of inter-cluster communication system, a kind of inter-cluster communication device and one kind are computer-readable Above-mentioned technical effect equally may be implemented in storage medium.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of inter-cluster communication method flow diagram disclosed by the embodiments of the present invention;
Fig. 2 is a kind of specific inter-cluster communication method flow diagram disclosed by the embodiments of the present invention;
Fig. 3 is a kind of inter-cluster communication system structure diagram disclosed by the embodiments of the present invention;
Fig. 4 is a kind of inter-cluster communication apparatus structure schematic diagram disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses lead between a kind of inter-cluster communication method, a kind of inter-cluster communication system, a kind of cluster T unit and a kind of computer readable storage medium, with solve how Jian Bian solution link circuit resource occupation problem.
Referring to Fig. 1, a kind of inter-cluster communication method provided in an embodiment of the present invention is specifically included:
S101 is the virtual machine letter that the ARP inhibition controller of the first cluster configures all virtual machines of first cluster Breath.
Firstly, the ARP (Address Resolution Protocol, address resolution protocol) for the first cluster inhibits control Device processed configures the virtual machine information of all virtual machines included by the first cluster, it should be noted that in this step, it is only necessary to The virtual machine information for configuring the included virtual machine of first cluster itself, without configuring other clusters, that is, the second cluster Virtual machine information.
It should be noted that in the present solution, each cluster can be the first cluster, and working as a cluster is first When cluster, other remaining clusters are used as the second cluster at this time.
It is correspondingly arranged on an ARP in each cluster and inhibits controller, when cluster interior joint, which issues, requests, also will The broadcasting packet of request is converted into unicast message at this time by broadcast request message, and unicast message is addressed to ARP and inhibits controller, Inhibit the virtual machine information of controller determination current request from all virtual machine informations that oneself is saved by ARP, and by the void Quasi- machine information returns to the node as requesting party, causes link circuit resource occupied so that solicited message be avoided to be broadcasted.
In the present solution, being that the ARP of the first cluster inhibits the method for the virtual machine information of controller the first cluster of configuration not It is specifically limited, for example, can be carried out by way of static configuration.
In a specific embodiment, it can use the ARP that SDN controller is first cluster and inhibit controller The virtual machine information of all virtual machines of first cluster described in static configuration.
It should be noted that the core technology of SDN (Software Defined Network, software defined network) passes through Network equipment control plane is separated with data surface, to realize the flexible control of network flow, makes network as pipeline Become more intelligent.SDN controller is the application program in software defined network (SDN), is responsible for flow control.
In this embodiment, controller is inhibited to use static configuration using the ARP that SDN controller is the first cluster Method configure the first cluster all virtual machines virtual machine information.
S102 is pressed down using the ARP that the ARP of first cluster inhibits controller dynamic learning and saves all second clusters The virtual machine information saved in controller processed, so that the request of the first virtual machine and any second collection in first cluster When the second virtual machine in group establishes communication, determined in all virtual machine informations using the ARP controller of first cluster And the virtual machine information of second virtual machine is returned to first virtual machine.
In the present solution, ARP inhibits controller to save all virtual of all second clusters by way of dynamic learning Machine information.
It should be noted that all inhibiting to configure in controller in the corresponding ARP of cluster in advance for each cluster The virtual machine information of oneself all virtual machines then passes through dynamics in the virtual machine information for needing to save other clusters The mode of habit, the ARP for learning other clusters inhibit all virtual machine informations of the respective cluster saved in controller.
In a specific embodiment, inhibit controller and each second collection in the ARP of first cluster The ARP of group inhibits to run bgp protocol on controller;All described second are collected by the bgp protocol using SDN controller The ARP of group inhibits the virtual machine information dynamic learning saved in controller and the ARP for being saved in first cluster inhibits control Device.
In this embodiment, the ARP of each cluster inhibits operation on controller to have bgp protocol, each The ARP of cluster inhibits controller to inhibit the virtual machine information on controller using the ARP that bgp protocol synchronizes other clusters.
It should be noted that bgp protocol, that is, MPBGP-EVPN (Multi-Protocol Border Gateway Protocol, Multiprotocol Border Gateway Protocol), it is a kind of two-layer VPN technology, control plane is using MP-BGP notice EVPN routing Information, data plane are E-Packeted using VXLAN packaged type.It can be automatically between the VTEP for being deployed with identical VXLAN network Create the tunnel VXLAN.It realizes that tunnel is established on demand, is not necessarily to manual maintenance, is also not take up extra tunnel resource.It can also be automatic Complete the synchronization of MAC Address, Host routes, the network segment routing of Overlay network level business host, it is possible to reduce two layers unknown The broadcasting packets such as unicast, ARP request flood the whole network.
After each ARP inhibits to run bgp protocol on controller, so that it may by SDN controller, using the agreement by institute There is the ARP of the second cluster to inhibit the virtual machine information dynamic learning saved in controller and the ARP for being saved in the first cluster inhibits Controller.It should be noted that also can use bgp protocol when any virtual machine information in any cluster changes Inhibit to synchronize variation on controller in the ARP of all clusters.
When the first virtual machine request in the first cluster is communicated with the second virtual machine foundation in any second cluster, then The ARP that the request of first virtual machine will be sent to the first cluster inhibits controller, at this point, the ARP of the first cluster inhibits control Device processed has been provided with the virtual machine information of the first cluster in advance, and dynamic learning and preserves the virtual of all second clusters in advance Machine information, by inhibiting the information for determining the second virtual machine corresponding with solicited message in controller in the ARP of the first cluster, so The virtual machine information of the second virtual machine is returned into the first virtual machine afterwards, the virtual machine of the second virtual machine is utilized by the first virtual machine Information and the second virtual machine establish connection.
It should be noted that above-mentioned virtual machine information may include different information, example according to the difference of network structure Such as, the flow intercommunication of cluster is using standard VXLAN (Virtual Extensible LAN, expansible virtual LAN) tunnel Technology realize, then the message of package request information when being transmitted, can by VTEP (VXLAN Tunnel End Point, VXLAN endpoint of a tunnel) message is encapsulated or decapsulates, therefore, for such network structure, in virtual machine information, not only need IP address including virtual machine, the MAC Address of affiliated physical machine also need include corresponding VTEP information.
It can be seen that a kind of inter-cluster communication method provided by the embodiments of the present application, inhibits first for the ARP of the first cluster Controller configures the information of all virtual machines of the first cluster, and by way of dynamic learning, is that the ARP of the first cluster inhibits Controller configures the information of all virtual machines of all second clusters, rather than is each cluster by the method for static configuration ARP inhibition controller configures the virtual machine information of all clusters.Pass through the virtual machine information of other clusters of dynamic learning, Ke Yishi The effect of the virtual machine information of existing other clusters of automatic synchronization, to save the process of configuration.And equally without virtual Node initiation broadcast request information when establishing connection request, thus can be to avoid link circuit resource occupancy the problem of.
A kind of specific inter-cluster communication method provided by the embodiments of the present application is introduced below, described below one The specific inter-cluster communication method of kind can be cross-referenced with above-described embodiment.
In the course of work of all clusters, it will usually there is the case where virtual machine is migrated between different clusters, And in the prior art, if virtual machine migrates between different clusters, need first to notify ARP proxy, then static state is matched again More new information of the related ARP controller after virtual machine (vm) migration is set, however, if this of notice ARP proxy occurs in the process Problem will lead to entire link and suspension occur, therefore in the prior art, it is also necessary to provide complicated mechanism to guarantee to notify Reliability.And a kind of specific inter-cluster communication method provided by the embodiments of the present application, when virtual machine is between different clusters When migration, without carrying out static configuration, without carrying out this process of notice ARP proxy, therefore network is also ensured that Reliability.
Referring to fig. 2, a kind of specific inter-cluster communication method provided by the embodiments of the present application, on the basis of above-described embodiment On, further includes:
S201, when the affiliated cluster of any virtual machine changes, the virtual machine before changing belonging to cluster ARP suppression The virtual machine information of the virtual machine is deleted in controller processed.
Specifically, when the affiliated cluster of any virtual machine changes, that is, between any virtual machine carries out cluster Migration when, first the virtual machine before changing belonging to cluster ARP inhibit controller in delete the virtual machine virtual machine letter Breath, that is, the ARP of the first former cluster before the virtual machine (vm) migration is needed to inhibit the information deletion of the virtual machine in controller.
S202, the ARP of affiliated cluster inhibits the virtual machine letter that the virtual machine is added in controller after virtual machine change Breath.
Specifically, the ARP of affiliated cluster inhibits to add the void in controller after the virtual machine change migrated The virtual machine information of quasi- machine, that is, inhibit to add this in controller virtually in the ARP of the virtual machine cluster to be moved to The virtual machine information of machine.
S203 inhibits the virtual machine information of the virtual machine in controller, institute using the ARP that bgp protocol updates target cluster Stating target cluster includes all clusters that affiliated cluster is communicated after change with the virtual machine.
It should be noted that in the embodiment of the present application, inhibiting controller to dispose BGP association for the ARP of each cluster in advance View, the particular content in relation to bgp protocol have done specific introduction in above-described embodiment, and details are not described herein again.
Inhibit the virtual machine information that the virtual machine is corresponded in controller using the ARP that bgp protocol updates target cluster, also It is to say, will be inhibited in controller in addition to the ARP of the every other cluster of affiliated cluster after virtual machine change using bgp protocol Virtual machine information does synchronous update, makes the ARP of other clusters that controller be inhibited to update the information current to the virtual machine.
A kind of inter-cluster communication system provided by the embodiments of the present application is introduced below, a kind of cluster described below Between communication system can be cross-referenced with any of the above-described embodiment.
Referring to Fig. 3, a kind of inter-cluster communication system provided by the embodiments of the present application is specifically included:
Configuration module 301 configures all virtual machines of first cluster for the ARP inhibition controller for the first cluster Virtual machine information.
In a specific embodiment, the configuration module 301 is specifically used for using SDN controller being described the The ARP of one cluster inhibits the virtual machine information of all virtual machines of the first cluster described in controller static configuration.
Dynamic learning module 302 inhibits controller dynamic learning for the ARP using first cluster and saves all The ARP of second cluster inhibits the virtual machine information saved in controller, so that the first virtual machine in first cluster is requested When being communicated with the second virtual machine foundation in any second cluster, using the ARP controller of first cluster all The virtual machine information of second virtual machine is determined and returned to first virtual machine in virtual machine information.
In another particular embodiment of the invention, the dynamic learning module, comprising: running unit, for described the The ARP of one cluster inhibits the ARP of controller and each second cluster to inhibit to run bgp protocol on controller;Dynamics Unit is practised, for inhibiting to protect in controller by the ARP of all second clusters by the bgp protocol using SDN controller The virtual machine information dynamic learning the deposited and ARP for being saved in first cluster inhibits controller.
In one preferred embodiment, a kind of information configuration system provided by the embodiments of the present application, further includes:
Removing module 303, for when the affiliated cluster of any virtual machine changes, the virtual machine before changing belonging to The ARP of cluster inhibits the virtual machine information that the virtual machine is deleted in controller.
Adding module 304, the ARP for the affiliated cluster after virtual machine change inhibit to add the virtual machine in controller Virtual machine information.
Update module 305, the ARP for updating target cluster using bgp protocol inhibit the void of the virtual machine in controller Quasi- machine information, the target cluster include it is all changed with the virtual machine after the cluster that is communicated of affiliated cluster.
The inter-cluster communication system of the present embodiment is for realizing inter-cluster communication method above-mentioned, therefore inter-cluster communication system The embodiment part of the visible inter-cluster communication method hereinbefore of specific embodiment in system, for example, configuration module 301, is moved State study module 302, removing module 303, adding module 304, update module 305 are respectively used to realize above-mentioned inter-cluster communication Step S101, S102, S201, S202, S203 in method, so, specific embodiment is referred to corresponding various pieces The description of embodiment, details are not described herein.
A kind of inter-cluster communication device provided by the embodiments of the present application is introduced below, a kind of cluster described below Between the information configuring methods that are provided with any of the above-described embodiment of communication device can be cross-referenced.
Referring to fig. 4, a kind of inter-cluster communication device provided by the embodiments of the present application includes processor 401 and memory 402, Wherein, it is performed the steps of when the processor 401 executes the computer program saved in the memory 402
For the first cluster ARP inhibit controller configure first cluster all virtual machines virtual machine information;Benefit Inhibit to save in controller with the ARP that the ARP of first cluster inhibits controller dynamic learning and saves all second clusters Virtual machine information so that the first virtual machine request in first cluster and second in any second cluster are virtual When machine establishes communication, determined in all virtual machine informations using the ARP controller of first cluster and empty to described first Quasi- machine returns to the virtual machine information of second virtual machine.
In some specific embodiments, the processor 401 executes the calculating loom journey saved in the memory 402 When sequence, following steps specifically may be implemented: inhibiting controller static configuration using the ARP that SDN controller is first cluster The virtual machine information of all virtual machines of first cluster.
In some specific embodiments, the processor 401 executes the calculating loom journey saved in the memory 402 When sequence, following steps specifically may be implemented: inhibiting controller and each second cluster in the ARP of first cluster ARP inhibits to run bgp protocol on controller;Pass through the bgp protocol for all second clusters using SDN controller ARP inhibits the virtual machine information dynamic learning saved in controller and the ARP for being saved in first cluster inhibits controller.
In some specific embodiments, the processor 401 executes the calculating loom journey saved in the memory 402 When sequence, following steps specifically may be implemented: when the affiliated cluster of any virtual machine changes, in virtual machine institute before changing The ARP for belonging to cluster inhibits the virtual machine information that the virtual machine is deleted in controller;The ARP of affiliated cluster after virtual machine change Inhibit the virtual machine information that the virtual machine is added in controller;Inhibited in controller using the ARP that bgp protocol updates target cluster The virtual machine information of the virtual machine, the target cluster include that all affiliated cluster is communicated after change with the virtual machine Cluster.
Present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the computer Step provided by above-described embodiment may be implemented when program is executed by processor.The storage medium may include: USB flash disk, movement Hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), the various media that can store program code such as magnetic or disk.
A kind of more specifical communication means provided by the embodiments of the present application is introduced below, one kind described below Specific communication means is operated in actual application environment to the specific example explanation of above-mentioned inter-cluster communication method, It can be cross-referenced with any of the above-described embodiment.
In the embodiment of the present application, setting is there are two cluster cluster1 and cluster2, three virtual machines VM1, VM2 and VM3 is separately operable on a different server, and the ARP of cluster cluster1 inhibits controller controller1 to be located at VTEP- 10.1.1.1 on, the ARP of cluster cluster2 inhibits controller controller2 to be located at related VTEP on VTEP-20.1.1.1 It is specific introduction can refer to above-described embodiment, no longer be repeated herein.
ARP inhibits the virtual machine information configuration process in controller to specifically include in each cluster:
The IP address of all virtual machines, the map information of MAC Address and the VTEP information of the inside of each cluster are as empty Quasi- machine information is inhibited in controller by the ARP that SDN controller static configuration is issued to corresponding cluster, controller1 with It is separately operable MPBGP-EVPN agreement, that is, bgp protocol on controller2, passes through agreement controller1 dynamics It practises and is saved in the virtual machine information on controller2, similarly, controller2 also dynamic learning and is saved Virtual machine information on controller1, so that the virtual machine information between reaching cluster is synchronous.
VM1 request includes: with the specific method that communicates of VM3 foundation in cluster cluster2 in cluster cluster1
VM1 sends ARP request message, to obtain IP, MAC map information of VM3;
Dvswitch (Distributed Virtual Switch, the distributed virtual switch), which receives above-mentioned ARP, to be asked Seek message, VTEP-10.1.1.1 generates ARP request message according to the ARP request message and VTEP information, and by the ARP request Message is sent to ARP and inhibits controller controller1;
It is configured with all virtual machine informations of all clusters in Controller1 according to above-mentioned configuration method, is receiving To after above-mentioned ARP request message, the virtual machine information of VM3 is determined in all virtual machine informations, and by the virtual machine information of VM3 It is configured to the arp reply message of control layer, is sent to VTEP-10.1.1.1;
VTEP-10.1.1.1 updates VM3 virtual machine information into local FDB table after receiving above-mentioned arp reply message, VM3 virtual machine information includes the information such as IP, MAC, VTEP-20.1.1.1 of VM3;
VTEP-10.1.1.1 constructs arp reply message using the virtual machine information of VM3, and simulation VM3 sends arp reply report Text gives VM1, the corresponding MAC Address of IP address to inform VM3;
VM1 is communicated using the MAC Address with VM3 foundation.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of inter-cluster communication method characterized by comprising
For the first cluster ARP inhibit controller configure first cluster all virtual machines virtual machine information;
Inhibit controller using the ARP that the ARP of first cluster inhibits controller dynamic learning and saves all second clusters The virtual machine information of middle preservation, so that the first virtual machine request in first cluster and the in any second cluster When two virtual machines establish communication, determined in all virtual machine informations using the ARP controller of first cluster and to described First virtual machine returns to the virtual machine information of second virtual machine.
2. the method according to claim 1, wherein described is that the ARP of the first cluster inhibits controller configuration institute State the virtual machine information of all virtual machines of the first cluster, comprising:
Inhibit all virtual of the first cluster described in controller static configuration using the ARP that SDN controller is first cluster The virtual machine information of machine.
3. the method according to claim 1, wherein the ARP using first cluster inhibits controller The dynamic learning and ARP for saving all second clusters inhibits the virtual machine information that saves in controller, comprising:
The ARP of controller and each second cluster is inhibited to inhibit to run BGP on controller in the ARP of first cluster Agreement;
Using SDN controller by the bgp protocol will all second clusters ARP inhibit controller in save it is virtual Machine information dynamic learning and the ARP inhibition controller for being saved in first cluster.
4. according to claim 1 to method described in 3 any one, which is characterized in that further include:
When the affiliated cluster of any virtual machine changes, the virtual machine before changing belonging to cluster ARP inhibit controller The middle virtual machine information for deleting the virtual machine;
The ARP of affiliated cluster inhibits the virtual machine information that the virtual machine is added in controller after virtual machine change;
Inhibit the virtual machine information of the virtual machine in controller, the target cluster using the ARP that bgp protocol updates target cluster The cluster communicated including affiliated cluster after all changes with the virtual machine.
5. a kind of inter-cluster communication system characterized by comprising
Configuration module configures the virtual of all virtual machines of first cluster for the ARP inhibition controller for the first cluster Machine information;
Dynamic learning module inhibits controller dynamic learning for the ARP using first cluster and saves all second collection The ARP of group inhibits the virtual machine information that saves in controller so that the first virtual machine request in first cluster with it is any When the second virtual machine in second cluster establishes communication, using the ARP controller of first cluster in all virtual machines The virtual machine information of second virtual machine is determined and returned to first virtual machine in information.
6. system according to claim 5, which is characterized in that the configuration module, specifically for being using SDN controller The ARP of first cluster inhibits the virtual machine information of all virtual machines of the first cluster described in controller static configuration.
7. system according to claim 5, which is characterized in that the dynamic learning module, comprising:
Running unit inhibits the ARP of controller and each second cluster to inhibit to control for the ARP in first cluster Bgp protocol is run on device;
Dynamic learning unit, for being inhibited the ARP of all second clusters by the bgp protocol using SDN controller The virtual machine information dynamic learning that is saved in the controller and ARP for being saved in first cluster inhibits controller.
8. according to system described in claim 5 to 7 any one, which is characterized in that further include:
Removing module, for when the affiliated cluster of any virtual machine changes, the virtual machine before changing belonging to cluster ARP inhibits the virtual machine information that the virtual machine is deleted in controller;
Adding module, the ARP for the affiliated cluster after virtual machine change inhibit to add the virtual of the virtual machine in controller Machine information;
Update module, the ARP for updating target cluster using bgp protocol inhibit the virtual machine of the virtual machine in controller to believe Breath, the target cluster include it is all change with the virtual machine after the cluster that is communicated of affiliated cluster.
9. a kind of information configuration device characterized by comprising
Memory, for storing computer program;
Processor realizes the inter-cluster communication method as described in any one of Claims 1-4 when for executing the computer program The step of.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program, realizing the inter-cluster communication method as described in any one of Claims 1-4 when the computer program is executed by processor Step.
CN201811245481.7A 2018-10-24 2018-10-24 A kind of inter-cluster communication method and relevant apparatus Pending CN109039790A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811245481.7A CN109039790A (en) 2018-10-24 2018-10-24 A kind of inter-cluster communication method and relevant apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811245481.7A CN109039790A (en) 2018-10-24 2018-10-24 A kind of inter-cluster communication method and relevant apparatus

Publications (1)

Publication Number Publication Date
CN109039790A true CN109039790A (en) 2018-12-18

Family

ID=64614071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811245481.7A Pending CN109039790A (en) 2018-10-24 2018-10-24 A kind of inter-cluster communication method and relevant apparatus

Country Status (1)

Country Link
CN (1) CN109039790A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110266589A (en) * 2019-06-24 2019-09-20 深信服科技股份有限公司 A kind of data communications method, device, electronic equipment and storage medium
CN110912827A (en) * 2019-11-22 2020-03-24 北京金山云网络技术有限公司 Route updating method and user cluster
CN110909379A (en) * 2019-11-08 2020-03-24 浪潮电子信息产业股份有限公司 Storage cluster permission determination method, device, equipment and storage medium
CN111988439A (en) * 2019-05-21 2020-11-24 深信服科技股份有限公司 ARP request suppression system, method, equipment and storage medium
CN114422336A (en) * 2021-12-22 2022-04-29 深信服科技股份有限公司 Control plane debugging method, device, node and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478490A (en) * 2009-02-05 2009-07-08 中兴通讯股份有限公司 Method and apparatus for TIPC supporting multi-cluster network communication
CN105589744A (en) * 2015-08-25 2016-05-18 杭州华三通信技术有限公司 Virtual machine migration method and apparatus
US20170195279A1 (en) * 2015-12-31 2017-07-06 Dell Products L.P. Method and system for managing flat and routed clients in a cluster using single type of vips
CN107124347A (en) * 2017-06-13 2017-09-01 杭州迪普科技股份有限公司 A kind of optimization method and device of the VXLAN control planes based on BGP EVPN
CN108365979A (en) * 2018-01-31 2018-08-03 深信服科技股份有限公司 Across the controller management method of cluster, SDN controllers and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478490A (en) * 2009-02-05 2009-07-08 中兴通讯股份有限公司 Method and apparatus for TIPC supporting multi-cluster network communication
CN105589744A (en) * 2015-08-25 2016-05-18 杭州华三通信技术有限公司 Virtual machine migration method and apparatus
US20170195279A1 (en) * 2015-12-31 2017-07-06 Dell Products L.P. Method and system for managing flat and routed clients in a cluster using single type of vips
CN107124347A (en) * 2017-06-13 2017-09-01 杭州迪普科技股份有限公司 A kind of optimization method and device of the VXLAN control planes based on BGP EVPN
CN108365979A (en) * 2018-01-31 2018-08-03 深信服科技股份有限公司 Across the controller management method of cluster, SDN controllers and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111988439A (en) * 2019-05-21 2020-11-24 深信服科技股份有限公司 ARP request suppression system, method, equipment and storage medium
CN110266589A (en) * 2019-06-24 2019-09-20 深信服科技股份有限公司 A kind of data communications method, device, electronic equipment and storage medium
CN110909379A (en) * 2019-11-08 2020-03-24 浪潮电子信息产业股份有限公司 Storage cluster permission determination method, device, equipment and storage medium
CN110909379B (en) * 2019-11-08 2022-03-22 浪潮电子信息产业股份有限公司 Storage cluster permission determination method, device, equipment and storage medium
CN110912827A (en) * 2019-11-22 2020-03-24 北京金山云网络技术有限公司 Route updating method and user cluster
CN114422336A (en) * 2021-12-22 2022-04-29 深信服科技股份有限公司 Control plane debugging method, device, node and storage medium

Similar Documents

Publication Publication Date Title
CN109039790A (en) A kind of inter-cluster communication method and relevant apparatus
CN105471744B (en) A kind of virtual machine migration method and device
CN105323136B (en) Information processing method and device
CN107733793B (en) Forwarding table item maintenance method and device
JP6236221B2 (en) Management program, management device, and network system
US8761048B2 (en) Managing hierarchical ethernet segments
US10263808B2 (en) Deployment of virtual extensible local area network
CN109660441B (en) Method and device for multicast replication in Overlay network
CN107948041B (en) Method and equipment for constructing VXLAN centralized multi-active gateway
CN104243265A (en) Gateway control method, device and system based on virtual machine migration
WO2014169782A1 (en) Virtual machine migration
CN103916320B (en) Message processing method and device after a kind of VM equipment across-the-wire migration
CN109587286A (en) A kind of equipment connection control method and device
EP3627775B1 (en) Route synchronization
CN104144143A (en) Network establishment method and control device
CN108574613B (en) Two-layer intercommunication method and device for SDN data center
CN113254148A (en) Virtual machine migration method and cloud management platform
CN104426759B (en) Host routes acquisition methods, apparatus and system
CN112822085B (en) Network deployment method and system
CN112667293A (en) Method, device and storage medium for deploying operating system
EP3504845B1 (en) Methods and arrangements for end-point mobility of a traffic engineering tunnel of a multi-domain network
KR20190039596A (en) A method for synchronizing topology information in an SFC network,
JP5580766B2 (en) Server apparatus, packet transmission system, packet transmission method and program
CN112839068B (en) Management method and device for network nodes deployed by NFV (network File management) components
KR102567139B1 (en) Management apparatus for edge platform, and control method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181218

RJ01 Rejection of invention patent application after publication