[go: up one dir, main page]

CN110266833A - IP address management method and edge cluster - Google Patents

IP address management method and edge cluster Download PDF

Info

Publication number
CN110266833A
CN110266833A CN201910640070.6A CN201910640070A CN110266833A CN 110266833 A CN110266833 A CN 110266833A CN 201910640070 A CN201910640070 A CN 201910640070A CN 110266833 A CN110266833 A CN 110266833A
Authority
CN
China
Prior art keywords
virtual
address
edge cluster
bgp
router
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910640070.6A
Other languages
Chinese (zh)
Other versions
CN110266833B (en
Inventor
李国超
王兴刚
王华夏
毛茂德
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Huya Technology Co Ltd
Original Assignee
Guangzhou Huya Technology 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 Guangzhou Huya Technology Co Ltd filed Critical Guangzhou Huya Technology Co Ltd
Priority to CN201910640070.6A priority Critical patent/CN110266833B/en
Publication of CN110266833A publication Critical patent/CN110266833A/en
Application granted granted Critical
Publication of CN110266833B publication Critical patent/CN110266833B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/58Association of routers
    • H04L45/586Association of routers of virtual routers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • 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/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5046Resolving address allocation conflicts; Testing of addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Embodiments herein provides a kind of IP address management method and edge cluster, specifically, the virtual ip address distribution function of main service processes is converted to the distribution function for virtual ip address section, to which edge cluster and the virtual ip address section of distribution be bound, edge cluster chooses virtual ip address from the virtual ip address section of binding by agency service process and distributes to the virtual unit created in this cluster, the problem of virtual unit can not communicate caused by conflicting occurs so as to avoid because different edge cluster internal weakness propose the virtual ip address that back-up is fitted on.

Description

IP address management method and edge cluster
Technical field
This application involves fields of communication technology, in particular to a kind of IP address management method and edge cluster.
Background technique
It is serviced in (Infrastructure as a Service, IaaS) framework in infrastructure, user can pass through Network obtains corresponding service from data center.In order to avoid the influence of network delay, failure etc., usually by service arrangement away from From the closer fringe node of user.Multiple fringe nodes can form edge cluster, in order to substantially more utilize hardware resource, O&M cost is reduced, edge cluster usually virtualizes hardware and Internet resources, for example, hardware resource is abstracted as virtual unit (e.g., container) for users to use.Newly-built virtual unit is usually by the internet protocol address management (Inter of data center deployment NetProtocolAddressManagement, IPAM) the unified distribution for carrying out virtual ip address is serviced, virtual unit is based on dividing The virtual ip address being fitted on is communicated with data center.
But in the case where network failure occur, data center can not divide for the virtual unit created in edge cluster It with virtual ip address, therefore would generally be serviced in edge clustered deploy(ment) Agent IP AM, with the void created from behavior edge cluster Back-up is proposed with virtual ip address.Using aforesaid way, each edge cluster is respectively the virtual ip address of virtual unit distribution There may be conflicts, cause virtual unit that can not be communicated.
Summary of the invention
The purpose of the application includes providing a kind of IP address management method and edge cluster, can be avoided edge cluster from The virtual ip address that virtual unit is distributed in the case of controlling clashes.
In order to achieve the above object, embodiments herein this can be implemented so that
In a first aspect, the embodiment of the present application provides a kind of IP address management method, it is applied to edge cluster, the edge collection Group is deployed with the agency service process communicated with the main service processes of data center, which comprises
Determine that the main service processes are the destination virtual IP of edge cluster distribution by the agency service process Address field;
It is empty from the target when address assignment request that the virtual unit created in receiving the edge cluster is sent One virtual ip address of selection distributes to the newly-built virtual unit in quasi- IP address section.
Second aspect, the embodiment of the present application provide a kind of edge cluster, are deployed with logical with the main service processes of data center The agency service process of letter;
The agency service process, for determining that the main service processes are the destination virtual IP of edge cluster distribution Address field, and when the address assignment request of the virtual unit transmission created in receiving edge cluster, from the destination virtual A virtual ip address is selected to distribute to the newly-built virtual unit in IP address section.
Compared to the prior art, the beneficial effect of the embodiment of the present application is included, for example: by the virtual IP address of main service processes Location distribution function is converted to the distribution function for virtual ip address section, and edge cluster and the virtual ip address section of distribution are tied up Fixed, the agency service process of edge cluster is distributed in this cluster from the virtual ip address section of binding selection virtual ip address to be created Virtual unit, cause so as to avoid because different edge cluster internal weakness propose due to the virtual ip address that back-up is fitted on conflicts Virtual unit the problem of can not communicating.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of configuration diagram of data center and edge cluster provided by the embodiments of the present application;
Fig. 2 is fringe node in a kind of edge cluster provided by the embodiments of the present application and virtual router and data center Communication scheme;
Fig. 3 is a kind of flow diagram of IP address management method provided by the embodiments of the present application;
Fig. 4 is the another flow diagram for the IP address management method that embodiment itself provides.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.The application being usually described and illustrated herein in the accompanying drawings is implemented The component of example can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiments herein provided in the accompanying drawings is not intended to limit below claimed Scope of the present application, but be merely representative of the selected embodiment of the application.Based on the embodiment in the application, this field is common Technical staff's every other embodiment obtained without creative efforts belongs to the model of the application protection It encloses.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.In addition, if there is term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.It should be noted that In the absence of conflict, the feature in embodiments herein can be combined with each other.
Referring to FIG. 1, present embodiments providing the configuration diagram of a kind of data center and edge cluster.Data center 10 It is connect with multiple edge cluster communications, such as edge cluster shown in FIG. 1 21,22,23 and 24.Data center 10 is typically deployed at It is in communication with each other on multiple servers of connection, the service processes of multiple server and its operation can pass through data center 10 Gateway 11 and external equipment or process communication.
Each edge cluster includes virtual router and multiple fringe nodes, and the multiple fringe node passes through described virtual Router is communicated with data center 10.Such as shown in Fig. 2, wherein schematically illustrating the fringe node inside edge cluster 21 And the communication scheme of virtual router and data center 10.Edge cluster 21 is total including fringe node 211,212,213 and 214 Four fringe nodes and virtual router 215.
In a kind of implementation of the present embodiment, an edge cluster can be deployed in a physical machine, in this feelings Under condition, each fringe node can be a virtual machine being deployed in the physical machine, and there is virtual switch in virtual machine internal administration Process, so that the virtual machine (fringe node) becomes a virtual switch.As also operation has in the virtual machine of fringe node Other virtual units (for example, container), the user that the others virtual unit can be regarded as being connected to virtual switch are whole End.Such as scene shown in Fig. 2, fringe node 212 are used as a virtual machine, wherein operation has container 31 and 32;Fringe node 214 are used as a virtual machine, wherein operation has container 33 and 34.Wherein, container 31 and 32 can be regarded as being connected to fringe node The user terminal of 212 virtual switches formed, container 33 and 34 can be regarded as being connected to the virtual friendship of the formation of fringe node 214 The user terminal changed planes.Container 31 to 34 can realize data forwarding by the virtual switch respectively connected.
Further, above-mentioned physical machine, which is also run, has virtual flow-line process to form the virtual router, for example, edge Cluster 21 has virtual flow-line process as a physical machine operation, to form virtual router 215.Virtual router 215 can Gateway with the fringe node 211 to 214 being regarded as in edge cluster 21, fringe node 211 to 214 can pass through virtual router 215 realize the data forwarding between data center 10.
In another implementation of the present embodiment, an edge cluster can be deployed in multiple physical machines, edge Each fringe node in cluster can be a physical machine, and it is virtual to form one that physical machine operation has virtual switch process The virtual unit of interchanger, physical machine operation can be regarded as being connected to the user terminal of the virtual switch.Such as shown in Fig. 2 Scene, fringe node 212 has container 31 and 32 as the operation of physical machine, and fringe node 214 is as a physical machine fortune Row has container 33 and 34, at this point, one of them of multiple physical machines for disposing edge cluster 21 can run virtual road By process to form the virtual router 215, fringe node 211 to 214 can be realized by the virtual router 215 with Data forwarding between data center 10.
In the present embodiment, the virtual router of each edge cluster is based on Border Gateway Protocol (BorderGatewayProtocol, BGP) is communicated with the gateway 11 of data center 10, so as to by bgp route advertisement come The routing reachability information of different sub-network is provided, realizes three layer intercommunications of data center 100 and edge cluster.
Based on foregoing description it is found that virtual switch and virtual router in edge cluster are by for disposing edge Process in the physical machine of cluster is come what is realized, and in other words, edge cluster is to the forwarding of data dependent on the deployment edge cluster Physical machine CPU (CentralProcessingUnit, central processing unit) performance.Therefore, middle compared to the prior art to count VXLAN (VirtualExtensibleLocal Area Network, virtual extended local area network) agreement and edge are based on according to center The mode of cluster communication reduces the movement that the encapsulation of VXLAN header and removing are carried out in repeating process, to alleviate to CPU Loss.
In the present embodiment, data center 10 further includes the main service processes 12 of deployment on the server, each edge cluster It is also deployed with the agency service process communicated with main service processes 12, such as edge cluster 21 shown in Fig. 2 is deployed with agency's clothes Business process 216.Wherein, agency service process 216 is located in a physical machine at 21 place of edge cluster.The main service processes Such as can be IPAM service processes, the agency service process for example can be Agent IP AM service processes.The main service Process 12 and the agency service process 216 cooperate, can be virtual to create on the fringe node in edge cluster 21 Equipment distributes virtual ip address so that virtual ip address and data center 10 that the virtual unit is assigned to based on it or its He communicates virtual unit.
Referring to figure 3., wherein schematically illustrating a kind of IP address applied to edge cluster provided in this embodiment Management method is below described each step that this method includes.
Step S31 determines that the main service processes are the mesh of edge cluster distribution by the agency service process Mark virtual ip address section.
Step S32, in receiving the edge cluster when address assignment request of newly-built virtual unit transmission, from institute Stating in destination virtual IP address section selects a virtual ip address to distribute to the newly-built virtual unit.
In the present embodiment, multiple virtual ip address sections can be directly preset on the main service processes 12 of data center 10, then A unassigned virtual ip address section is chosen from multiple virtual ip address sections distributes to edge cluster 21.Wherein, it distributes Virtual ip address section to edge cluster 21 is the destination virtual IP address section.
Optionally, the multiple virtual ip address section can also be by main service processes 12 to preset virtual ip address range Dynamic is divided and is obtained.For example, user (e.g., administrator) can configure on main service processes 12 for distributing to each edge collection In group on fringe node virtual unit virtual ip address range, the virtual ip address range of configuration is the preset void Quasi- IP address range.It is expected to divide obtained each virtual ip address in addition, can be configured with administrator on main service processes The mask that section has, the mask for example can be CIDR (uncategorized inter-domain routing, Classless Inter-Domain Routing block-size defined in).
Main service processes 12 can be on startup according to the preset virtual ip address range and the preset mask Division obtains above-mentioned multiple virtual ip address sections.
In one example, the virtual ip address range for virtual unit distribution of administrator configurations is 10.1.0.0/ 22, wherein " 22 " are mask, indicate the digit of segment number in the virtual ip address range, i.e., preceding 22 expressions segment number.Now manage The mask that the needs of reason person's configuration divide obtained virtual ip address section is 24, i.e., finally divides obtained virtual ip address section The digit of segment number is 24, then virtual ip address range 10.1.0.0/22 can be divided into 10.1.0.1/ by main service processes 12 24-10.1.255.0/24 totally 255 virtual ip address network segments.
Main service processes 12 can choose one from 255 above-mentioned virtual ip address network segments and distribute on startup Edge cluster 21 and other edges cluster.Such as 10.1.0.0/24 can be chosen and distribute to edge cluster 21, it chooses 10.1.1.0/24 edge cluster 22 is distributed to, 10.1.2.0/24 is chosen and distributes to edge cluster 23, choose 10.1.3.0/24 points Dispensing edge cluster 24.It is of course also possible to which choosing other virtual ip address sections distributes to edge cluster 21 to 24, as long as ensuring side Edge cluster and virtual ip address section correspond.
The agency service process of each edge cluster can determine that main service processes are the void of cluster distribution in edge where it Quasi- IP address section, for example, the agency service process 216 of edge cluster 21 can determine the destination virtual IP that edge cluster is assigned to Address field is 10.1.0.0/24.
When have on any edge node in edge cluster 21 virtual unit by it is newly-built when, container 31 as escribed above is new When building, newly-built container 31 will send address assignment request to agency service process 216, and agency service process 216 will be from determination Destination virtual IP address section 10.1.0.0/24 in choose a virtual ip address (for example, 10.1.0.1) distribute to container 31. Similarly, agency service process 216 can choose virtual ip address from destination virtual IP address section 10.1.0.0/24 10.1.0.2 newly-built container 32 is distributed to, chooses virtual ip address from destination virtual IP address section 10.1.0.0/24 10.1.0.3 newly-built container 33 is distributed to, chooses virtual ip address from destination virtual IP address section 10.1.0.0/24 10.1.0.4 newly-built container 34 is distributed to.
Virtual ip address is distributed unitedly to virtual unit by data center's IPAM service processes in compared to the prior art, The mode of virtual unit distribution virtual ip address is respectively when network failure by the Agent IP AM service of fringe node, passes through Fig. 3 Shown step avoids the virtual ip address conflict that foregoing manner is likely to occur, and then avoids caused by the conflict The problem of virtual unit can not communicate.
In the present embodiment, it is provided in bgp protocol, two nodes being connected in an autonomous system are internal each other (Inner) bgp neighbor adheres to two connected nodes in different autonomous system external (External) bgp neighbor each other separately.And And the BGP that each node learns routes all ebgp neighbors that will be advertised to the node.Therefore, in the present embodiment, in order to The routing of each fringe node is got through, can be that the virtual router and each fringe node in each edge cluster are matched Set autonomous system (AutonomousSystem, AS) mark, such as No. AS, allow virtual router establish respectively with each The external BGP of fringe node connects, so that between the virtual router and each fringe node in edge cluster each other Ebgp neighbor.
Such as in scene shown in Fig. 2, virtual router 215 is configured with No. AS 301, and fringe node 211 is configured with No. AS 302, fringe node 212 is configured with No. AS 303, and fringe node 213 is configured with No. AS 304, and fringe node is configured with No. AS 305.
In the case, IP address management method provided in this embodiment can also include step shown in Fig. 4, specifically describe It is as follows.
Step S41 is selecting a virtual IP address by the agency service process from the destination virtual IP address section After the newly-built virtual unit is distributed in address, BGP routing is generated for the virtual ip address of distribution.
Step S42 makes the virtual router to EBGP in the BGP routing configuration to the virtual router of generation The BGP of generation described in neighbor advertisement is routed.
Wherein, the BGP routing may include the virtual ip address and its correspondence that the newly-built virtual unit is assigned to Virtual outgoing interface, the virtual outgoing interface is usually the virtual ether of the virtual switch of the newly-built virtual unit connection Network interface, the virtual router record have the corresponding relationship of each virtual ethernet mouth and physics Ethernet interface.Work as virtual flow-line When device receives the data packet that purpose IP address is the virtual ip address that the newly-built virtual unit is assigned to, it can find Corresponding BGP routing, and the data are forwarded by physics Ethernet interface corresponding to the virtual ethernet mouth of BGP routing instruction Packet.
After the BGP routing of generation is configured to virtual router, which can be routed and be carried on road by virtual router By being sent to all ebgp neighbors in notice message.Each fringe node, which can obtain in cluster, in such edge cluster owns The BGP of all virtual units of fringe node is routed.In this way, the data forwarding between fringe node in edge cluster may not necessarily Dependent on virtual router, but can directly be realized by fringe node (that is, virtual switch).
Based on this, IP address management method provided in this embodiment can also include the following steps:
It is saved in BGP routing of each fringe node to the virtual router notice received, and according to guarantor The BGP deposited routes the forwarding data of other fringe nodes into the edge cluster.
For example, in scene shown in Fig. 2, it, can be by fringe node 212 voluntarily when container 31 sends data to container 34 It is forwarded.
So, it is possible to reduce the forwarding behavior executed by virtual router avoids virtual router from becoming edge cluster Performance bottleneck.
Optionally, in the present embodiment, the virtual router of the gateway 11 of data center 10 and each edge cluster can also be with Ebgp neighbor each other, in the case, the bgp route advertisement that the virtual router of each edge cluster can be learnt to The gateway 11 of data center 10.
In practical applications, every BGP routing can become reachable or unreachable with the actual conditions of link, when a road By state it is reachable with it is unreachable between frequently change when, claim this routing there is route flapping.Route flapping can satisfy the need It is impacted by the forwarding performance of device, can be each edge collection in the gateway 11 of data center 10 in order to avoid such case The corresponding virtual ip address section of group configures static routing, in this way, gateway 11 may not necessarily be from the virtual flow-line of each edge cluster Device learns BGP routing, to avoid route flapping occur on gateway 11.
Wherein, the static routing of each edge cluster include destination virtual IP address section that the edge cluster is assigned to and The gateway 11 is connected to the outgoing interface of the edge cluster.In this way, the gateway 11 can be according to the destination IP of data to be forwarded Affiliated network segment determines the forwarding outlet of the data to be forwarded packet.
For example, main service processes 12 for edge cluster 21 distribute destination virtual IP address section 10.1.0.0/24 after, can Think that edge cluster 21 creates a static routing, which includes destination virtual IP address section 10.1.0.0/24 and net Close the mark for the outgoing interface connecting on 11 with edge cluster 21.
For the ease of skilled in the art realises that this programme, provides a specific example below with reference to scene shown in Fig. 2, IP address management method provided in this embodiment is further elaborated.
The first, the IPAM service processes (main service processes 12) of data center 10 are by preset virtual address range 10.1.0.0/22 255 virtual ip address sections are divided into according to specified mask " 24 ";Therefrom choose virtual ip address section 10.1.0.0/24 edge cluster 21 is distributed to, configures static routing si1 for edge cluster 21;Therefrom choose virtual ip address section 10.1.0.1/24 edge cluster 22 is distributed to, configures static routing si2 for edge cluster 22;Therefrom choose virtual ip address section 10.1.0.2/24 edge cluster 23 is distributed to, configures static routing si3 for edge cluster 23;Therefrom choose virtual ip address section 10.1.0.3/24 edge cluster 24 is distributed to, configures static routing si4 for edge cluster 24.
The second, fringe node 212 responds user's operation, creates container 31 and container 32, and fringe node 214 responds user behaviour Make, creates container 33 and 34.
Third, newly-built container 31 are sent to the Agent IP AM service processes (agency service process 216) of edge cluster 21 Address assignment request R1, newly-built container 32 send address assignment request R2 to the Agent IP AM service processes of edge cluster 21, Newly-built container 33 sends address assignment request R3 to the Agent IP AM service processes of edge cluster 21, and newly-built container 34 is to side The Agent IP AM service processes of edge cluster 21 send address assignment request R4.
4th, the Agent IP AM service processes response address distribution request R1 of edge cluster 21, it is corresponding from edge cluster 21 Virtual ip address section 10.1.0.0/24 in choose virtual ip address 10.1.0.1 and distribute to container 31, generate virtual ip address 10.1.0.1 BGP routes di1 and is configured on virtual router 215, and BGP routing di1 is advertised to side by virtual router 215 Edge node 211 to 214.Fringe node 211 to 214 receives and saves the BGP routing di1 of the notice of virtual router 215.
5th, the Agent IP AM service processes response address distribution request R2 of edge cluster 21, from virtual ip address section 10.1.0.0/24 virtual ip address 10.1.0.2 is chosen in and distributes to container 32, generates the road BGP for virtual ip address 10.1.0.2 Fringe node 211 to 214 is advertised to by di2, and by BGP routing di2.Fringe node 211 to 214 receives and saves virtual flow-line The BGP that device 215 is noticed routes di2.
Similarly, the Agent IP AM service processes of edge cluster 21 can respond the address assignment request R3 of container 33, be It distributes virtual ip address 10.1.0.3, and generates BGP routing di3 and be advertised to fringe node 211 to 214;And response container 34 address assignment request R4 distributes virtual ip address 10.1.0.4 for it, and generates BGP routing di4 and be advertised to fringe node 211 to 214.
Fringe node 211 to 214 receives and saves the BGP routing di3 and di4 of the notice of virtual router 215.
6th, container 31 issues the data packet data1 for the virtual ip address 10.1.0.4 that destination IP is container 34, data packet Data1 reaches fringe node 212 first, and fringe node 212 is found and the matched road BGP of destination IP from the BGP of preservation routing By di4.
7th, fringe node 212 routes di4 according to BGP and data packet data1 is sent to fringe node 214, fringe node Data packet data1 is sent to container 34 by 214.
In conclusion a kind of IP address management method provided by the embodiments of the present application and edge cluster, by main service processes Virtual ip address distribution function be converted to the distribution function for virtual ip address section, by the virtual IP address of edge cluster and distribution Address field binding, the agency service process of edge cluster choose virtual ip address from the virtual ip address section of binding and distribute to this collection The virtual unit created in group, is rushed so as to avoid because different edge cluster internal weakness propose the virtual ip address that back-up is fitted on The problem of virtual unit can not communicate caused by prominent.
In embodiment provided herein, it should be understood that disclosed cluster and method, it can also be by other Mode realize.Embodiments described above is only schematical, for example, the flow chart and block diagram in the drawings show roots According to the cluster of the embodiment of the present application and the architecture, function and operation in the cards of method.In this regard, flow chart or frame Each box in figure can represent a part of a module, section or code, and the one of the module, section or code Part includes one or more executable instructions for implementing the specified logical function.It is replaced it should also be noted that being used as at some In the implementation changed, function marked in the box can also occur in a different order than that indicated in the drawings.For example, two A continuous box can actually be basically executed in parallel, they can also be executed in the opposite order sometimes, this is according to involved And function depending on.It is also noted that in each box and block diagram and or flow chart in block diagram and or flow chart The combination of box can be realized with the dedicated hardware based system for executing defined function or movement, or can be used The combination of specialized hardware and computer instruction is realized.
In addition, each functional module in each embodiment of the application can integrate one independent portion of formation together Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
The terms "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that packet The process, method, article or equipment for including a series of elements not only includes those elements, but also including being not explicitly listed Other element, or further include for elements inherent to such a process, method, article, or device.Do not limiting more In the case where, the element that is limited by sentence "including a ...", it is not excluded that including process, method, the object of the element There is also other identical elements in product or equipment.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any Within the technical scope of the present application, any changes or substitutions that can be easily thought of by those familiar with the art, all answers Cover within the scope of protection of this application.Therefore, the protection scope of the application should be with the scope of protection of the claims It is quasi-.

Claims (12)

1. a kind of IP address management method, which is characterized in that be applied to edge cluster, the edge clustered deploy(ment) have in data The agency service process of the main service processes communication of the heart, which comprises
Determine that the main service processes are the destination virtual IP address of edge cluster distribution by the agency service process Section;
When the address assignment request that the virtual unit created in receiving the edge cluster is sent, from the destination virtual IP A virtual ip address is selected to distribute to the newly-built virtual unit in address field.
2. the method according to claim 1, wherein the destination virtual IP address section that the edge cluster is assigned to At least two virtual IP addresses that preset virtual address range is divided according to specified mask for the main service processes One of them of location section.
3. method according to claim 1 or 2, which is characterized in that the edge cluster includes virtual router, the void Quasi- gateway communication of the router based on Border Gateway Protocol (BGP) Yu the data center.
4. according to the method described in claim 3, it is characterized in that, the edge cluster further includes logical with the virtual router At least two edges node of letter, the method also includes:
Different autonomous system marks is respectively configured for the virtual router and each fringe node;
The external BGP connection between the virtual router and each fringe node is established, the virtual router and each is made Fringe node external BGP neighbours each other;
A virtual ip address is being selected to distribute to institute from the destination virtual IP address section by the agency service process After stating newly-built virtual unit, BGP routing is generated for the virtual ip address of distribution, and by the BGP routing configuration of generation to institute It states on virtual router, the virtual router is made to notice the BGP routing of the generation to ebgp neighbor.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
It is saved in BGP routing of each fringe node to the virtual router notice received, and according to preservation BGP routes the forwarding data of other fringe nodes into the edge cluster.
6. method according to claim 4 or 5, which is characterized in that the net of the virtual router and the data center Ebgp neighbor each other is closed, is configured with static routing corresponding with the edge cluster in the gateway, the static routing includes The outgoing interface that the destination virtual IP address section and the gateway are connect with the edge cluster.
7. a kind of edge cluster, which is characterized in that be deployed with the agency service process communicated with the main service processes of data center;
The agency service process, for determining that the main service processes are the destination virtual IP address of edge cluster distribution Section, and when the address assignment request of the virtual unit transmission created in receiving edge cluster, from the destination virtual IP One virtual ip address of selection distributes to the newly-built virtual unit in the section of location.
8. edge cluster according to claim 7, which is characterized in that the destination virtual IP that the edge cluster is assigned to Location section is the main service processes preset virtual address range is divided according to specified mask it is at least two virtual One of them of IP address section.
9. edge cluster according to claim 7 or 8, which is characterized in that the edge cluster includes virtual router, institute State gateway communication of the virtual router based on Border Gateway Protocol (BGP) Yu the data center.
10. edge cluster according to claim 9, which is characterized in that the edge cluster further includes and the virtual road At least two edges node communicated by device, the virtual router and each fringe node are each configured with different autonomous systems System mark;Between the virtual router and each fringe node establish have external BGP connection so that the virtual router with Each fringe node external BGP neighbours each other;
The agency service process is also used to when one virtual ip address of selection is distributed to from the destination virtual IP address section After the newly-built virtual unit, BGP routing is generated for the virtual ip address of distribution, and the BGP routing configuration of generation is arrived On the virtual router, the virtual router is made to notice the BGP routing of the generation to ebgp neighbor.
11. edge cluster according to claim 10, which is characterized in that
Each fringe node saves the BGP routing of the virtual router notice received, and according to the BGP of preservation Route other fringe nodes forwarding data into the edge cluster.
12. edge cluster described in 0 or 11 according to claim 1, which is characterized in that in the virtual router and the data The gateway of heart ebgp neighbor each other is configured with static routing corresponding with the edge cluster, the static state road in the gateway By the outgoing interface being connect including the destination virtual IP address section and the gateway with the edge cluster.
CN201910640070.6A 2019-07-16 2019-07-16 IP address management method and edge cluster Active CN110266833B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910640070.6A CN110266833B (en) 2019-07-16 2019-07-16 IP address management method and edge cluster

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910640070.6A CN110266833B (en) 2019-07-16 2019-07-16 IP address management method and edge cluster

Publications (2)

Publication Number Publication Date
CN110266833A true CN110266833A (en) 2019-09-20
CN110266833B CN110266833B (en) 2022-03-29

Family

ID=67926439

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910640070.6A Active CN110266833B (en) 2019-07-16 2019-07-16 IP address management method and edge cluster

Country Status (1)

Country Link
CN (1) CN110266833B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110912827A (en) * 2019-11-22 2020-03-24 北京金山云网络技术有限公司 Route updating method and user cluster
CN111131333A (en) * 2020-02-24 2020-05-08 广州虎牙科技有限公司 Business data pushing method and server cluster
CN112087336A (en) * 2020-09-11 2020-12-15 杭州海康威视系统技术有限公司 Deployment and management method and device of virtual IP service system and electronic equipment
CN112202937A (en) * 2020-09-30 2021-01-08 中国核动力研究设计院 Instrument control simulation system IP allocation method, system, equipment and storage medium
CN113766042A (en) * 2021-01-20 2021-12-07 北京沃东天骏信息技术有限公司 Container address configuration method, system, device, equipment and medium
CN114424160A (en) * 2019-09-26 2022-04-29 三星电子株式会社 Electronic device and control method thereof
CN114866467A (en) * 2022-05-27 2022-08-05 济南浪潮数据技术有限公司 A cluster communication method, apparatus, system, device and readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1917436A (en) * 2005-08-17 2007-02-21 中国长城计算机深圳股份有限公司 Method for realizing concentrating type management for network devices based on Web
CN103729234A (en) * 2013-12-20 2014-04-16 中电长城网际系统应用有限公司 Method and device for clustering management of virtual machines
CN103814352A (en) * 2012-12-31 2014-05-21 华为技术有限公司 A virtual device reconstruction method and device
US20150188823A1 (en) * 2013-12-03 2015-07-02 Akamai Technologies, Inc. Virtual private network (VPN)-as-a-service with load-balanced tunnel endpoints
CN105141512A (en) * 2015-06-29 2015-12-09 清华大学 Unified network configuration and control method supporting packet/circuit mixed exchange network
CN106331150A (en) * 2016-09-18 2017-01-11 北京百度网讯科技有限公司 Method and device for scheduling cloud server
CN106331210A (en) * 2016-08-19 2017-01-11 中国银联股份有限公司 IP address allocation method and device in a cloud computing network
CN106559246A (en) * 2015-09-30 2017-04-05 杭州华三通信技术有限公司 The implementation method and server of cluster
CN108494894A (en) * 2018-03-27 2018-09-04 快云信息科技有限公司 A kind of privately owned cloud cluster access system and cut-in method
US20190103993A1 (en) * 2017-10-02 2019-04-04 Nicira, Inc. Identifying multiple nodes in a virtual network defined over a set of public clouds to connect to an external saas provider

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1917436A (en) * 2005-08-17 2007-02-21 中国长城计算机深圳股份有限公司 Method for realizing concentrating type management for network devices based on Web
CN103814352A (en) * 2012-12-31 2014-05-21 华为技术有限公司 A virtual device reconstruction method and device
US20150188823A1 (en) * 2013-12-03 2015-07-02 Akamai Technologies, Inc. Virtual private network (VPN)-as-a-service with load-balanced tunnel endpoints
CN103729234A (en) * 2013-12-20 2014-04-16 中电长城网际系统应用有限公司 Method and device for clustering management of virtual machines
CN105141512A (en) * 2015-06-29 2015-12-09 清华大学 Unified network configuration and control method supporting packet/circuit mixed exchange network
CN106559246A (en) * 2015-09-30 2017-04-05 杭州华三通信技术有限公司 The implementation method and server of cluster
CN106331210A (en) * 2016-08-19 2017-01-11 中国银联股份有限公司 IP address allocation method and device in a cloud computing network
CN106331150A (en) * 2016-09-18 2017-01-11 北京百度网讯科技有限公司 Method and device for scheduling cloud server
US20190103993A1 (en) * 2017-10-02 2019-04-04 Nicira, Inc. Identifying multiple nodes in a virtual network defined over a set of public clouds to connect to an external saas provider
CN108494894A (en) * 2018-03-27 2018-09-04 快云信息科技有限公司 A kind of privately owned cloud cluster access system and cut-in method

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114424160A (en) * 2019-09-26 2022-04-29 三星电子株式会社 Electronic device and control method thereof
CN114424160B (en) * 2019-09-26 2024-04-16 三星电子株式会社 Electronic device and control method thereof
US12159603B2 (en) 2019-09-26 2024-12-03 Samsung Electronics Co., Ltd. Electronic apparatus and control method thereof
CN110912827A (en) * 2019-11-22 2020-03-24 北京金山云网络技术有限公司 Route updating method and user cluster
US11997015B2 (en) 2019-11-22 2024-05-28 Beijing Kingsoft Cloud Network Technology Co., Ltd. Route updating method and user cluster
CN111131333A (en) * 2020-02-24 2020-05-08 广州虎牙科技有限公司 Business data pushing method and server cluster
CN111131333B (en) * 2020-02-24 2022-10-28 广州虎牙科技有限公司 Business data pushing method and server cluster
CN112087336A (en) * 2020-09-11 2020-12-15 杭州海康威视系统技术有限公司 Deployment and management method and device of virtual IP service system and electronic equipment
CN112202937A (en) * 2020-09-30 2021-01-08 中国核动力研究设计院 Instrument control simulation system IP allocation method, system, equipment and storage medium
CN112202937B (en) * 2020-09-30 2021-11-30 中国核动力研究设计院 Instrument control simulation system IP allocation method, system, equipment and storage medium
CN113766042A (en) * 2021-01-20 2021-12-07 北京沃东天骏信息技术有限公司 Container address configuration method, system, device, equipment and medium
CN114866467A (en) * 2022-05-27 2022-08-05 济南浪潮数据技术有限公司 A cluster communication method, apparatus, system, device and readable storage medium

Also Published As

Publication number Publication date
CN110266833B (en) 2022-03-29

Similar Documents

Publication Publication Date Title
CN110266833A (en) IP address management method and edge cluster
CN1778076B (en) Fibre channel switch allowing end devices in different fabrics to communicate with each other while maintaining their unique fibre channel domain IDs
US8320279B2 (en) Managing and provisioning virtual routers
US20030051049A1 (en) Network provisioning in a distributed network management architecture
Zhang et al. An overview of virtual private network (VPN): IP VPN and optical VPN
CN109923838A (en) Bridge the elastic VPN of long-range isolated island
EP2022245A2 (en) Rpr representation in ospf-te
KR101343596B1 (en) A Resource Management and Recursive Path Computation for Real-time Automatic Path Setup at Multi-layer Transport Network
CN106487537A (en) Business chain implementation method and policy control platform
CN102394804A (en) VPN system building method and VPN system
CN106797319A (en) Network Service Aware Router and Its Application
EP3295623B1 (en) Transport software defined networking (sdn) zero configuration adjacency via packet snooping
CN105453499A (en) System, apparatus and method for providing improved performance of aggregated/bonded network connections between remote sites
CA2468122A1 (en) Provisioning of cross domain telecommunication services through dynamic label differentiation
US11296975B2 (en) Systems and methods for implementing multi-part virtual network functions
Muñoz et al. SDN orchestration and virtualization of heterogeneous multi-domain and multi-layer transport networks: The STRAUSS approach
EP1598982B1 (en) Architecture for configuration and management of cross-domain services
CN100488105C (en) Managing method for resources in communication system
US11343120B2 (en) ACTN virtual network augmentation for resource sharing
Kar et al. Communication and computing cost optimization of meshed hierarchical NFV datacenters
CN104836688A (en) Network device and method for virtually configuring underlying equipment
Ramirez et al. Exploring potential implementations of PCE in IoT world
EP1185029B1 (en) Service deployment in data networks
Arnaud et al. Optical BGP networks
Haas et al. A hierarchical mechanism for the scalable deployment of services over large programmable and heterogeneous networks

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant