CN110062057A - The proxy gateway and communication means of message are handled for hot-backup system - Google Patents
The proxy gateway and communication means of message are handled for hot-backup system Download PDFInfo
- Publication number
- CN110062057A CN110062057A CN201811547566.0A CN201811547566A CN110062057A CN 110062057 A CN110062057 A CN 110062057A CN 201811547566 A CN201811547566 A CN 201811547566A CN 110062057 A CN110062057 A CN 110062057A
- Authority
- CN
- China
- Prior art keywords
- address
- message
- host
- overlay
- virtual machine
- 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
Links
- 238000004891 communication Methods 0.000 title claims abstract description 17
- 238000000034 method Methods 0.000 claims abstract description 36
- 230000005540 biological transmission Effects 0.000 claims abstract description 16
- 101710093674 Cyclic nucleotide-gated cation channel beta-1 Proteins 0.000 claims description 38
- 102100025946 Transforming growth factor beta activator LRRC32 Human genes 0.000 claims description 38
- 101710169732 Transforming growth factor beta activator LRRC32 Proteins 0.000 claims description 38
- 238000003881 globally optimized alternating phase rectangular pulse Methods 0.000 claims description 38
- 238000012545 processing Methods 0.000 claims description 22
- 230000002159 abnormal effect Effects 0.000 claims description 3
- 238000004590 computer program Methods 0.000 claims description 3
- 239000011800 void material Substances 0.000 claims description 3
- 101100244969 Arabidopsis thaliana PRL1 gene Proteins 0.000 description 20
- 102100039558 Galectin-3 Human genes 0.000 description 20
- 101100454448 Homo sapiens LGALS3 gene Proteins 0.000 description 20
- 101150051246 MAC2 gene Proteins 0.000 description 20
- 238000010586 diagram Methods 0.000 description 14
- 230000006870 function Effects 0.000 description 10
- 101100059544 Arabidopsis thaliana CDC5 gene Proteins 0.000 description 8
- 101150115300 MAC1 gene Proteins 0.000 description 8
- 238000005538 encapsulation Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- RTZKZFJDLAIYFH-UHFFFAOYSA-N Diethyl ether Chemical compound CCOCC RTZKZFJDLAIYFH-UHFFFAOYSA-N 0.000 description 4
- 102100040225 Gamma-interferon-inducible lysosomal thiol reductase Human genes 0.000 description 4
- 101001037132 Homo sapiens Gamma-interferon-inducible lysosomal thiol reductase Proteins 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 101000837008 Homo sapiens Sigma intracellular receptor 2 Proteins 0.000 description 3
- 102100028662 Sigma intracellular receptor 2 Human genes 0.000 description 3
- 239000003795 chemical substances by application Substances 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012958 reprocessing Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000005641 tunneling Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45504—Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/185—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/10—Mapping addresses of different types
- H04L61/103—Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/59—Network arrangements, protocols or services for addressing or naming using proxies for addressing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/622—Layer-2 addresses, e.g. medium access control [MAC] addresses
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the present invention discloses a kind of communication means and proxy gateway based on proxy gateway, this method comprises: receiving the first superposition overlay message that the first host is sent to proxy gateway, first overlay message carries the first ARP request message, first ARP request message is generated by the first virtual machine of the first host and is used to request MAC Address corresponding with the address virtual IP VIP, from the first overlay Receive message the first ARP request message, the first ARP request message is sent to the second host and third host, receive the 2nd overlay message of the second host transmission, 2nd overlay message carries the first arp reply message for the first virtual machine that host virtual machine is generated according to the first ARP request message, first ARP is answered The MAC Address that message carries host virtual machine is answered, from the 2nd overlay Receive message the first arp reply message, sends the 3rd overlay message to the first host, the 3rd overlay message carries the first arp reply message.In the above manner, the message amount of VPC network can be reduced, to mitigate data payload.
Description
Technical field
This application involves network communication technology field, in particular to it is a kind of for hot-backup system handle message proxy gateway and
Communication means based on proxy gateway.
Background technique
In the scene of virtual machine private clound (Virtual Private Cloud, VPC), for improve application service can
By property, Dual-Computer Hot-Standby System is provided, it is host virtual machine and standby virtual machine that Dual-Computer Hot-Standby System, which includes host virtual machine and standby virtual machine,
The address a virtual IP (Virtual Internet Protocol, VIP) is distributed, and according to the work of host virtual machine
Make state and VIP is tied to host virtual machine or standby virtual machine, wherein host virtual machine and standby virtual machine are provided with different media and visit
Ask the address control (Media Access Control Address, MAC), also, host virtual machine and standby virtual machine are respectively set
There is identical application service.When host virtual machine is in normal operating conditions, by the host virtual machine binding address VIP and with VIP
Location provides application service, and when host virtual machine is in malfunction, standby virtual machine replacement host virtual machine binds the address VIP, standby empty
Quasi- machine provides identical application service with the address VIP, to guarantee the reliability of application service, prevent host virtual machine from
In the case where normal work, also can use standby virtual machine and application service be provided, and user break down to host virtual machine it is noninductive
Know, user experience can be promoted.
When host virtual machine is in normal operating conditions, host virtual machine and VIP address binding, the virtual machine in VPC is in head
Secondary the virtual machine does not record the MAC Address of host virtual machine when being communicated with host virtual machine, at this moment needs to send address solution
Analyse agreement (Address Resolution Protocol, ARP) request message to request the MAC Address of host virtual machine, specifically
Ground, can be by virtual extended local area network endpoint of a tunnel (the Virtual Extensible LAN Tunnel that connect with the virtual machine
Endpoints, VTEP) the VXLAN message for carrying ARP request message is sent in VPC Web broadcast, to inquire the address pair VIP
The MAC Address for the host virtual machine answered.
In the prior art, larger in VPC, when if any a virtual machine up to ten thousand, broadcast need to be carried out in VPC and is needed again
Up to ten thousand parts of VXLAN messages are made, so that data payload is excessively high, lead to occur that message time delay is big, packet loss problem.
Summary of the invention
To solve problem of the prior art, the embodiment of the present invention provides a kind of proxy gateway that message is handled for hot-backup system
With the communication means based on proxy gateway, carry ARP request message that the first host is sent is received by proxy gateway
One overlay message can avoid carrying the VXLAN message of ARP request message in the transmission of VPC Web broadcast, to reduce net
Network data payload.
In a first aspect, the embodiment of the present invention provides a kind of communication means based on proxy gateway, this method is used to be hot standby
System handles message, and hot-backup system includes host virtual machine and standby virtual machine, method includes the following steps: proxy gateway receives the
The first superposition overlay message that one host is sent to proxy gateway, the first overlay message carry the first address resolution association
ARP request message is discussed, the first ARP request message is generated by the first virtual machine of the first host and is used for request and virtual Internet
The address agreement VIP corresponds to MAC Address, and proxy gateway sends first from the first ARP request message of the first overlay Receive message
For ARP request message to the second host and third host, the second host is provided with host virtual machine, and third host is provided with standby virtual
Machine, proxy gateway receive the 2nd overlay message that the second host is sent to proxy gateway, and the 2nd overlay message carries
The first arp reply message for the first virtual machine that host virtual machine is generated according to the first ARP request message, the first arp reply
Message carries the MAC Address of host virtual machine, proxy gateway from the 2nd overlay Receive message the first arp reply message, to
First host sends the 3rd overlay message, and the 3rd overlay message carries the first arp reply message.
First host only needs to send the first overlay message to proxy gateway, and proxy gateway sends the first ARP request message
To the second host and third host, it can avoid the first host and directly transmit broadcasting packet in VPC network, therefore VPC can be reduced
The message amount of network, to mitigate data payload.
In the first possible implementation of the first aspect, the destination address of the first overlay message is to act on behalf of net
The network address of pass, source address are the network address of the first host, and the first overlay message carries the generation of the first virtual machine
First Address Resolution Protocol ARP request message, the source MAC of the first ARP message are the MAC Address of the first virtual machine, source IP
Address is the IP address of the first virtual machine, and purpose IP address is the address VIP, and the address VIP and host virtual machine are bound, and sends first
ARP request message is to the second host and third host, comprising: proxy gateway sends the 4th overlay message and the 5th
Overlay message, the 4th overlay message and the 5th overlay message carry the first ARP request message respectively, and the 4th
The source address of overlay message is the network address of proxy gateway, and destination address is the network address of the second host, the 5th
The source address of overlay message is the network address of proxy gateway, and destination address is the network address of third host.
Since proxy gateway unicast sends the 4th overlay message and the 5th overlay message, can greatly reduce
The message amount of VPC network, to improve message transmissions speed.
According to the first possible implementation of first aspect, in the second possible implementation, second
The destination address of overlay message is the network address of proxy gateway, and source address is the network address of the second host, the first ARP
The source MAC of response message is the MAC Address of host virtual machine, and target MAC (Media Access Control) address is the MAC Address of the first virtual machine, source IP
Address is the address VIP, and purpose IP address is the IP address of the first virtual machine, and the destination address of the 3rd overlay message is first
The network address of host, source address are the network address of proxy gateway.
It realizes that unicast is sent by limiting target MAC (Media Access Control) address, the message amount of VPC network can be greatly reduced, to mention
High message transmissions speed.
In a third possible implementation of the first aspect, the first ARP request message to the second host and the are sent
Three hosts, are accomplished by the following way: the first ARP request message is set to multicast message and sends multicast report by proxy gateway
Text, wherein the second host and third host are arranged in multicast group, the source address of multicast message is the network address of proxy gateway,
Destination address is the multicast address of multicast group, and multicast message carries the first ARP request message.
Hot-backup system is notified by multicast message, in the case where a standby virtual machine is not only provided in hot-backup system
It is especially suitable, when multiple standby virtual machines, place master of the proxy gateway without recording host virtual machine and each standby virtual machine respectively
The network address of machine, it is only necessary to record multicast address, the work load of administrator can be reduced.
According to first aspect, first aspect first any one of to the third possible implementation, at the 4th kind
In possible implementation, after proxy gateway receives the first overlay message that the first host is sent to proxy gateway, the party
Method further include: for proxy gateway from the first address ARP request Receive message VIP, proxy gateway receives the second host to proxy gateway
After the 2nd overlay message sent, this method further include: the first ARP that proxy gateway is carried from the 2nd overlay message
Response message obtains the MAC Address of host virtual machine, and proxy gateway records first pair of the MAC Address of the address VIP and host virtual machine
It should be related to.
The first corresponding relationship may be learned in proxy gateway, according to the first corresponding relationship to subsequently received ARP request report
Text is carried out for answering, to realize agent functionality.
According to the 4th of first aspect the kind of possible implementation, in a fifth possible implementation, to first
After host sends the 3rd overlay message, this method further include: proxy gateway receives the 6th that third host is sent
Overlay message, the destination address of the 6th overlay message are the network address of proxy gateway, and source address is third host
Network address, the 6th overlay message carry standby virtual machine in the case where host virtual machine is abnormal and after VIP binding
The Generic Attribute Registration Protocol GARP request message of generation, the source IP address and purpose IP address of GARP request message are VIP
Location, source MAC are the MAC Address of standby virtual machine, and target MAC (Media Access Control) address is MAC broadcast address, and proxy gateway is requested according to GARP
First corresponding relationship is updated to the second corresponding relationship by message, and the second corresponding relationship is the MAC Address of the address VIP and standby virtual machine
Corresponding relationship, proxy gateway send the 7th overlay message, the destination address of the 7th overlay message is the first host
Network address, source address are the network address of proxy gateway, and the 7th overlay message carries GARP request message.
After active-standby switch, standby virtual machine need to be informed in VPC network using GARP request message accessed host virtual machine
The VIP of client virtual machine precedence record and the first corresponding relationship of MAC Address of host virtual machine be updated to VIP and standby virtual
First corresponding relationship of self record is first updated to the second corresponding pass by the second corresponding relationship of the MAC Address of machine, proxy gateway
System, and the 7th overlay message to the first host is sent, to inform that the first corresponding relationship is updated to second by the first virtual machine
Corresponding relationship, it is ensured that the first virtual machine can normally access standby virtual machine.
According to the 5th of first aspect the kind of possible implementation, in a sixth possible implementation, proxy gateway
Receive the first overlay message of the first host transmission further include: proxy gateway record receives the of the first overlay message
One time, proxy gateway send the 7th overlay message, comprising: proxy gateway is small in the difference of current time and first time
When time threshold, the 7th overlay message is sent.
Due to being provided with time threshold, and based on time threshold to determine whether notice accessed the first virtual machine of VIP,
This mode can guarantee that the virtual machine for not accessing VIP for a long time can be avoided and receive GARP request message, therefore can
GARP request message is reduced in the quantity of VPC transmission over networks.
According to the 5th of first aspect the or the 6th kind of possible implementation, in the 7th kind of possible implementation, generation
After first corresponding relationship is updated to the second corresponding relationship by reason gateway, this method further include: proxy gateway receives the first host
The 8th overlay message sent, the destination address of the 8th overlay message is the network address of proxy gateway, and source address is
The network address of first host, the 8th overlay message carry the second ARP request message, the source of the second ARP request message
MAC Address is the MAC Address of the first virtual machine, source IP address is the IP address of the first virtual machine, and purpose IP address is VIP
Location, proxy gateway obtain the MAC Address of standby virtual machine according to the address VIP from the second corresponding relationship, and proxy gateway sends the 9th
Overlay message, the destination address of the 9th overlay message are the network address of the first host, and source IP address is proxy gateway
Network address, the 9th overlay message carries the second arp reply message, and the source MAC of the second arp reply message is
The MAC Address of standby virtual machine, target MAC (Media Access Control) address is the MAC Address of the first virtual machine, and source IP address is the address VIP, destination IP
Address is the IP address of the first virtual machine.
Based on upper type, proxy gateway, still can be to needing to access VIP after Dual-Computer Hot-Standby System carries out active-standby switch
Virtual machine reply currently with VIP binding standby virtual machine MAC, to guarantee that application service can be accessed normally, and client
End will not perceive host virtual machine and break down.
According to the 4th of first aspect the kind of possible implementation, in the 8th kind of possible implementation, proxy gateway
After the first corresponding relationship for recording the MAC Address of the address VIP and host virtual machine, this method further include: proxy gateway receives the
The tenth overlay message that one host is sent, the destination address of the tenth overlay message is the network address of proxy gateway, source
Address is the network address of the first host, and the 8th overlay message carries third ARP request message, third ARP request message
Source MAC be the MAC Address that the 4th virtual machine of the first host is set, source IP address is the IP of the 4th virtual machine
Location, purpose IP address are the addresses VIP, and proxy gateway obtains the MAC of host virtual machine according to the address VIP from the first corresponding relationship
Location, proxy gateway send the 11st overlay message, and the destination address of the 11st overlay message is the network of the first host
Address, source address are the network address of proxy gateway, and the tenth overlay message carries third arp reply message, the 3rd ARP
The source MAC of response message is the MAC Address of host virtual machine, and target MAC (Media Access Control) address is the MAC Address of the 4th virtual machine, source IP
Address is the address VIP, and purpose IP address is the IP address of the 4th virtual machine.
Based on upper type, proxy gateway, can be to needing to access VIP's before Dual-Computer Hot-Standby System carries out active-standby switch
Virtual machine replys the currently MAC with the host virtual machine of VIP binding, to guarantee that application service can be accessed normally.
According to claim 1 to the method for 9 any one, according to first aspect, first to the 8th kind of possibility of first aspect
Any one of implementation, in the 9th kind of possible implementation, the first overlay message, the 2nd overlay report
Text, the 3rd overlay message, the 4th overlay message and the 5th overlay message are virtual extended local area network VXLAN report
Text.
Second aspect, the embodiment of the present invention provide a kind of proxy gateway, and proxy gateway is used to handle message for hot-backup system,
Hot-backup system includes host virtual machine and standby virtual machine, and proxy gateway includes: receiving module, for receiving the first host to acting on behalf of net
The the first superposition overlay message sent is closed, the first overlay message carries the first Address Resolution Protocol ARP request message,
First ARP request message is generated by the first virtual machine of the first host and is used to request and the address pair virtual IP VIP
MAC Address is answered, processing module is used for from the first overlay Receive message the first ARP request message, sending module, for sending
For first ARP request message to the second host and third host, the second host is provided with host virtual machine, and third host is provided with standby void
Quasi- machine, receiving module, the 2nd overlay message sent for receiving the second host to proxy gateway, the 2nd overlay report
Text carries the first arp reply message for the first virtual machine that host virtual machine is generated according to the first ARP request message, and first
Arp reply message carries the MAC Address of host virtual machine, and processing module is used for from the first ARP of the 2nd overlay Receive message
Response message, sending module, for sending the 3rd overlay message to the first host, the 3rd overlay message carries first
Arp reply message.
Second aspect or second aspect any one be achieved in that first aspect or any one realization side of first aspect
The corresponding device of formula realizes, the description in first aspect or first aspect any one implementation is suitable for second aspect or the
Any one implementation in terms of two, details are not described herein.
The third aspect, the embodiment of the present invention provide a kind of proxy gateway, including memory and processor, memory are stored with
Program instruction, processor executes program instructions so that host executes following step: receiving the first host and sends to proxy gateway
The first superposition overlay message, the first overlay message carries the first Address Resolution Protocol ARP request message, first
ARP request message is generated by the first virtual machine of the first host and is used to request MAC corresponding with the address virtual IP VIP
Address sends the first ARP request message to the second host and third from the first overlay Receive message the first ARP request message
Host, the second host are provided with host virtual machine, and third host is provided with standby virtual machine, receive the second host and send to proxy gateway
The 2nd overlay message, the 2nd overlay message carries host virtual machine and is directed to according to what the first ARP request message generated
First arp reply message of the first virtual machine, the first arp reply message carries the MAC Address of host virtual machine, from second
Overlay Receive message the first arp reply message sends the 3rd overlay message, the 3rd overlay message to the first host
Carry the first arp reply message.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, and computer program medium is set to
Proxy gateway, computer readable storage medium include: the first superposition overlay report for receiving the first host and sending to proxy gateway
The instruction of text, the first overlay message carry the first Address Resolution Protocol ARP request message, and the first ARP request message is by the
First virtual machine of one host generates and is used to request MAC Address corresponding with the address virtual IP VIP, from first
Overlay Receive message the first ARP request message sends the instruction of the first ARP request message to the second host and third host,
Second host is provided with host virtual machine, and third host is provided with standby virtual machine, receive that the second host sends to proxy gateway the
The instruction of two overlay messages, the 2nd overlay message carry the needle that host virtual machine is generated according to the first ARP request message
To the first arp reply message of the first virtual machine, the first arp reply message carries the MAC Address of host virtual machine, from second
Overlay Receive message the first arp reply message sends the instruction of the 3rd overlay message, third to the first host
Overlay message carries the first arp reply message.
5th aspect, the embodiment of the present invention provide a kind of Proxy Gateway System, including proxy gateway, the first host, second
Host and third host, the first host are provided with the first virtual machine, and the second host is provided with host virtual machine, the setting of third host
There is a standby virtual machine, the first host sends the first superposition overlay message to proxy gateway, and the first overlay message carries the
One Address Resolution Protocol ARP request message, the first ARP request message are generated by the first virtual machine of the first host and are used to request
MAC Address corresponding with the address virtual IP VIP, proxy gateway receive what the first host was sent to proxy gateway
Overlay message sends the first ARP request message to the second master from the first overlay Receive message the first ARP request message
Machine and third host, the second host send the 2nd overlay message to proxy gateway, and the 2nd overlay message carries main void
The first arp reply message for the first virtual machine that quasi- machine is generated according to the first ARP request message, the first arp reply message
The MAC Address of host virtual machine is carried, proxy gateway receives the 2nd overlay message that the second host is sent to proxy gateway,
From the 2nd overlay Receive message the first arp reply message, the 3rd overlay message, third are sent to the first host
Overlay message carries the first arp reply message.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of VPC according to an embodiment of the present invention;
Fig. 2 is the apparatus structure schematic diagram of the first host according to an embodiment of the present invention;
Fig. 3 is the apparatus structure schematic diagram of the second host according to an embodiment of the present invention;
Fig. 4 is the apparatus structure schematic diagram of third host according to an embodiment of the present invention;
Fig. 5 is the apparatus structure schematic diagram of proxy gateway according to an embodiment of the present invention;
Fig. 6 is the data interaction figure of the communication means according to an embodiment of the present invention based on proxy gateway;
Fig. 7 is another data interaction figure of the communication means according to an embodiment of the present invention based on proxy gateway;
Fig. 8 is another apparatus structure schematic diagram of proxy gateway according to an embodiment of the present invention;
Fig. 9 shows another apparatus structure schematic diagram of proxy gateway according to an embodiment of the present invention.
Specific embodiment
First to the present embodiments relate to noun explain:
Hot-backup system: hot-backup system includes at least the standby virtual machine of a host virtual machine and one, only include host virtual machine and
The hot-backup system of standby virtual machine is also known as Dual-Computer Hot-Standby System, and host virtual machine and virtual machine are provided with identical application service,
And be separately positioned on different physical hosts, under normal circumstances, application service is externally provided by host virtual machine, standby virtual machine is not right
Outer offer application service, but standby virtual machine needs the working condition of timing detection host virtual machine, it is standby when host virtual machine breaks down
Virtual machine can perceive in time, and replacement host virtual machine externally provides application service rapidly.
The address VIP: the virtual ip address unrelated with physical network card is used in Dual-Computer Hot-Standby System, host virtual machine and VIP
Binding, host virtual machine externally provide application service with VIP, and client accesses host virtual machine according to VIP, and works as host virtual machine
When failure, standby virtual machine need to be bound with VIP, and standby virtual machine externally provides application service with VIP, and client continuation is visited according to VIP
Standby virtual machine is asked, for client, in this case it is not apparent that host virtual machine has occurred and that failure.
ARP: address resolution protocol is the ICP/IP protocol that physical address is obtained according to IP address.Host sends letter
The ARP request comprising target ip address is broadcast to the All hosts on network when breath, and receives return message, mesh is determined with this
Target MAC Address receives and is stored in the machine arp cache and retains certain time for the IP address and MAC Address after returning to message,
Directly inquiry arp cache is when request next time to economize on resources.
ARP table: the host/virtual machine IP address and MAC Address that record has native virtual machine/host to need to access are corresponding
The table of relationship, the table are stored in native virtual machine/host caching, and can be automatically deleted after the predetermined time.
In embodiments of the present invention, each virtual machine is provided with an ARP table.
General attributes registration protocol (Generic Attribute Registration Protocol, GARP) message:
It provides a kind of mechanism and is used to assist to distribute, propagate and register between the exchange member in the same switching network certain information, one
Configuration information on a GARP member can travel to rapidly entire switching network, and GARP member can be terminal workstation or bridge.
Be superimposed (overlay) message: overlay message is packaged in the ether network packet of virtual machine message, overlay
Message includes outer layer network address and internal layer network address, and outer layer network address is the network in the heading of ether network packet
Location, including source IP address, purpose IP address, source MAC and target MAC (Media Access Control) address, internal layer network address are virtual machine messages
Heading in network address, including source IP address, purpose IP address, source MAC and target MAC (Media Access Control) address, overlay
The implementation of message can be VXLAN message, network virtualization generic routing encapsulation message (Network
Virtualization Generic Routing Encapsulation, NVGRE) or statelessly transmit tunnel (Stateless
Transport Tunneling, STT) message.
Referring to Figure 1, Fig. 1 is the structural schematic diagram of VPC according to an embodiment of the present invention, as shown in Figure 1, VPC includes the
One host 10, the second host 20, third host 30 and proxy gateway 40, the first host 10, the second host 20, third host 30
And proxy gateway 40 is linked into network 50.
It is worth noting that VPC further includes other hosts, the embodiment of the present invention for ease of description, does not illustrate one by one.
Also, network 50 may be, for example, IP network.
And Fig. 2 to Fig. 5 is referred to, and wherein Fig. 2 to Fig. 5 describes the structure of the above equipment respectively, referring firstly to Fig. 2,
Fig. 2 is the apparatus structure schematic diagram of the first host according to an embodiment of the present invention, and the first host 10 includes software layer 101 and hardware
Layer 102, software layer 101 are provided with virtual machine manager 103, virtual machine VM1, VM11 and VM12, and virtual machine manager 103 wraps
Virtual switch (may be, for example, Open Virtual Switch, OVS) 1031 and overlay package module 1032 is included, virtually
Interchanger 1031 and VM1, VM11 and VM12 are respectively provided with data connection, hand over for providing data for VM1, VM11 and VM12
Change function.VM1, VM11 and VM12 can be sent to the virtual machine of the outside of the first host 10 by overlay package module 1032
Message is packaged into overlay message, and controls the outside that overlay message is sent to the first host 10 by network interface 1021,
Also available network interface 1021 is received from external overlay message for overlay package module 1032, will receive
Overlay message decapsulate to obtain virtual machine message, and be sent to virtual switch 1031 so that VM1, VM11 or
VM12 can receive virtual machine message.
For example, network interface 1021 may be, for example, physical network card.
Fig. 3 is the apparatus structure schematic diagram of the second host according to an embodiment of the present invention, and Fig. 4 is according to embodiments of the present invention
Third host apparatus structure schematic diagram, wherein the structure substantially phase of the second host 20 and third host 30 and the first host 10
Together, therefore similar structure is not repeated in this, and the second host 20 and third host 30 and the difference of the first host 10 are,
The VM2 of second host 20 and the VM3 of third host 30 form Dual-Computer Hot-Standby System, and VM2 is bound as host virtual machine and VIP, VM3
It is bound when host virtual machine breaks down with VIP as standby virtual machine, VM3 can inspect periodically the working condition of VM3.
In some instances, settable keepalived software in VM2 and VM3, the software is for realizing heartbeat detection function
Can, data packet can be periodically sent between VM2 and VM3, and when finding that VM2 breaks down, set the IP address of VM3 to
VIP。
Fig. 5 is referred to below, and Fig. 5 is the apparatus structure schematic diagram of proxy gateway according to an embodiment of the present invention, such as Fig. 5
Shown, proxy gateway 40 includes software layer 401 and hardware layer 402, and software layer 401 is provided with proxy gateway operation program 4011,
Hardware layer 402 is provided with network interface 4021, and proxy gateway runs program 4011 and controls the transmitting-receiving message of network interface 4021, agency
Gateway 40 may be, for example, physical host.
It is worth noting that, proxy gateway 40 is also possible to switch or router, the embodiment of the present invention does not limit this
It is fixed.
Further, for ease of understanding, the embodiment of the present invention is exemplified below:
First host 10:
The IP address of VM1 is IP1, and MAC Address is MAC1;
The IP address of VM11 is IP11, and MAC Address is MAC11;
The IP address of VM12 is IP12, and MAC Address is MAC12;
The IP address of the network interface 1021 of first host 10 is IP10, and MAC Address is MAC10;
Wherein, IP10 is the external IP address of the first host 10.
Second host 20:
The IP address of VM2 is VIP, and MAC Address is MAC2;
The IP address of VM21 is IP21, and MAC Address is MAC21;
The IP address of VM22 is IP22, and MAC Address is MAC22;
The IP address of the network interface 2021 of second host 20 is IP20, and MAC Address is MAC20;
Wherein, IP20 is the external IP address of the second host 20.
Third host 30:
The MAC Address of VM3 is MAC3, and IP address is not arranged by VM3;
The IP address of VM31 is IP31, and MAC Address is MAC31;
The IP address of VM32 is IP32, and MAC Address is MAC32;
The IP address of the network interface 3021 of third host 30 is IP30, and MAC Address is MAC30.
Wherein, IP30 is the external IP address of third host 30.
Proxy gateway 40:
The IP address of the network interface 4021 of proxy gateway 40 is IP40, and MAC Address is that MAC40, IP40 and MAC40 are
The network address of proxy gateway 40.
It is worth noting that, in embodiments of the present invention, the overlay package module of All hosts records and has in VPC
The network address of proxy gateway 40.
It is worth noting that, in embodiments of the present invention, IP address is the address VIP to VM2 in normal work, citing and
Speech, when VM2 breaks down, the address VIP can be arranged by keepalived software to VM3.
Fig. 6 is referred to below, and Fig. 6 is the data interaction of the communication means according to an embodiment of the present invention based on proxy gateway
Figure.
Step S1:VM1 wants access to VIP, but VM1 inquires MAC Address corresponding less than VIP in local ARP table, therefore,
The application service of VIP offer cannot be accessed in VM1, and VM1 generates the first ARP request report for requesting the corresponding MAC of VIP at this time
Text.
Wherein, the source MAC of the first ARP request message is the MAC1 of VM1, and source IP address is the IP1 of VM1, destination IP
Address is the VIP of VM2, and target MAC (Media Access Control) address is broadcast address.
Step S2:VM1 sends the first ARP request message to overlay package module 1032.
Specifically, VM1 can send the first ARP request message to virtual switch 1031, and virtual switch 1031 detects
Target MAC (Media Access Control) address to the first ARP request message is sky, need to be sent to except local virtual network, then by the first ARP request
Message is sent to overlay package module 1032.
Wherein, local virtual network refer to by the virtual robot arm inside the first host 10 at network.
First ARP request message is encapsulated into the first overlay message by step S3:overlay package module 1032, and
Proxy gateway 40 is sent by the first overlay message.
Wherein, the destination address of the first overlay message is the network address of proxy gateway 40, and source address is the first host
10 network address, specifically, the purpose IP address of the first overlay message is IP40, target MAC (Media Access Control) address is that next-hop is set
Standby MAC Address, source IP address are IP10, and source MAC is MAC10.
It is worth noting that, in embodiments of the present invention, overlay package module 1032 is previously stored with proxy gateway 40
Network address the first ARP message is encapsulated into when receiving the first ARP message in local virtual network
In overlay message, and the destination address of overlay message is directly directed to proxy gateway 40.
Therefore, the first overlay message is that unicast is sent to proxy gateway 40, and the mode that unicast is sent is sent out relative to broadcast
The quantity of message transmissions can be greatly reduced for sending.
Step S4: proxy gateway 40 receives the first overlay request message, solves to the first overlay request message
Encapsulation obtains the first ARP request message, and obtains VIP from the first ARP request message, and record VIP.
Step S5: proxy gateway 40 sends the 4th overlay message to the second host 20.
Wherein, the 4th overlay message is packaged with the first ARP request message, and the source address of the 4th overlay message is generation
The network address of gateway 40 is managed, destination address is the network address of the second host 20, specifically, the 4th overlay message
Source IP address is IP40, and source MAC is MAC40, and purpose IP address is IP20, and target MAC (Media Access Control) address is MAC20.
It is worth noting that, proxy gateway 40 is prerecorded with the network address of the second host 20.
In some instances, proxy gateway 40 can record the network address of the first host 10 and the network of second host 20
The corresponding relationship of location, when the source address of the first overlay message received is the network address of the first host 10, confirmation will
2nd overlay message is sent to the second host 20.
Step S6:overlay package module 2032 receives the 4th overlay message, unseals to the 4th overlay message
Dress obtains the first ARP request message, and the first ARP request message is sent to VM2.
Wherein, overlay package module 2032 can send virtual switch 2031 for the first ARP request message, virtually
Interchanger 2031 broadcasts the first ARP request message in local virtual network, at this point, VM2, VM21 and VM22 connect
The first ARP request message is received, and judges whether the purpose IP address VIP of the first ARP request message is oneself IP address, base
In above-mentioned it is found that only the IP address of VM2 is VIP, therefore VM2 can respond the first ARP request message, and VM21 and
VM22 does not reply the first ARP request message then.
In this step, the network address of the pre-recorded proxy gateway 40 of overlay package module 2032.
Step S7:VM2 generates the first arp reply message according to the first ARP request message.
Wherein, the source MAC of the first arp reply message is the MAC2 of VM2, and target MAC (Media Access Control) address is the MAC1 of VM1, source
IP address is the address VIP, and purpose IP address is the IP address of VM1, and the first arp reply message is used to reply VIP to VM1 corresponding
MAC2。
The first arp reply message is sent to overlay package module 2032 by step S8:VM2.
Wherein, which is sent to virtual switch 2031 by VM2, and virtual switch 2031 determines
First ARP message is then sent to overlay encapsulation not in local virtual network by the target MAC (Media Access Control) address of the first ARP message
Module 2032.
Step S9: proxy gateway 40 sends the 5th overlay message to third host 30.
Wherein, the 5th overlay message is packaged with the first ARP request message, and the source address of the 5th overlay message is generation
The network address of gateway 40 is managed, destination address is the network address of third host 30, specifically, the 3rd overlay message
Source IP address is IP40, and source MAC is MAC40, and purpose IP address is IP30, and target MAC (Media Access Control) address is MAC30.
It is worth noting that, proxy gateway 40 is prerecorded with the network address of third host 30.
In some instances, proxy gateway 40 can record the network address of first host 10 and the network of third host 30
The corresponding relationship of location, when the source address of the first overlay message received is the network address of the first host 10, confirmation will
3rd overlay message is sent to third host 30.
Also, in other examples, the first ARP request message can be arranged into multicast message for proxy gateway 40, wherein
Second host 20 and third host 30 are arranged in multicast group, and the source address of multicast message is the network address of proxy gateway, mesh
Address be multicast group multicast address, multicast message carries the first ARP request message, and proxy gateway sends multicast message,
Multicast message can be copied into two parts and be respectively sent to the second host 20 and third host 30 by the routing device in VPC.Pass through
The mode of multicast group, proxy gateway 40 are not necessarily to record the network address of the second host 20 and third host 30 respectively, and pipe can be improved
The working efficiency of reason person's maintenance proxy gateway 40.
Step S10:overlay package module 3032 receives the 3rd overlay message, unseals to the 3rd overlay message
Dress obtains the first ARP request message, and the first ARP request message is sent to VM3.
Wherein, overlay package module 3032 can send virtual switch 3031 for the first ARP request message, virtually
Interchanger 3031 broadcasts the first ARP request message in local virtual network, at this point, VM3, VM31 and VM32 connect
Receive the first ARP request message.
Step S11:VM3 does not reply the first ARP request message.
Example in undertaking, VM3, VM31 and VM32 receive the first ARP request message, and judge the first ARP request report
Whether the purpose IP address VIP of text is oneself IP address, based on above-mentioned it is found that the IP address of VM3, VM31 and VM32 are equal
It is not VIP, therefore VM3, VM31 and VM32 will not reply the first ARP request message.
Step S12: accepting step S8, and overlay package module 2032 encapsulates the first arp reply message to the 4th
Overlay message, and the 4th overlay message is sent to proxy gateway 40.
Wherein, the destination address of the 4th overlay message is the network address of proxy gateway 40, and source address is the second host
20 network address, specifically, the purpose IP address of the 4th overlay message is IP40, and target MAC (Media Access Control) address is next-hop
MAC Address, source IP address are IP20, and source MAC is MAC20.
Step S13: proxy gateway 40 receives the 4th overlay message, from the 4th overlay message decapsulate first
Arp reply message obtains the MAC2 of VM2 from the first arp reply message, records the first corresponding relationship of VIP and MAC2.
Step S14: the overlay package module of transmission the 3rd overlay message to the first host 10 of proxy gateway 40
1032。
Wherein, the destination address of the 3rd overlay message is the network address of the first host 10, and source address is proxy gateway
Network address, the 5th overlay message carries the first arp reply message, specifically, the purpose of the 5th overlay message
IP address is IP1, and target MAC (Media Access Control) address is MAC1, and source IP address is IP40, and source MAC is MAC40.
Step S15:overlay package module 1032 from the 3rd overlay message decapsulate the first arp reply message,
First arp reply message is sent to VM1.
Specifically, the first arp reply message is sent to virtual switch 1031 by overlay package module 1032, virtually
Interchanger 1031 is according to the target MAC (Media Access Control) address MAC1 and purpose IP address MAC1 of the first arp reply message by the first arp reply report
Text is forwarded to VM1.
Step S16:VM1 obtains MAC2 from the source MAC of the first arp reply message, by the pass corresponding with MAC2 VIP
System is recorded in local ARP table.
Therefore, the application service that VM1 can be provided according to VIP and MAC2 access VM2.
It is worth noting that, in embodiments of the present invention, due to proxy gateway 40 have recorded in step s 13 VIP with
The first corresponding relationship of MAC2, therefore other interior virtual machines of VPC can also obtain VIP by access agent gateway 40 and correspond to
MAC2, will be illustrated below with continued reference to Fig. 6:
Step S17:VM12 inquires MAC Address corresponding less than VIP in local ARP table.
Step S18:VM12 sends third ARP request message to overlay package module 1032.
Wherein, the source MAC of third ARP request message is the MAC Address MAC12 of VM12, and source IP address is VM12
IP address IP12, purpose IP address are the addresses VIP, and target MAC (Media Access Control) address is sky.
Specifically, VM12 sends third ARP request message to virtual switch 2031, and virtual switch 2031 determines the
The target MAC (Media Access Control) address of three ARP request messages is sky, sends overlay package module 1032 for third ARP request message.
Third ARP request message is encapsulated into the tenth overlay message by step S19:overlay package module 1032,
And proxy gateway 40 is sent by the tenth overlay message.
Wherein, the destination address of the tenth overlay message is the network address of proxy gateway 40, and source address is the first host
10 network address, specifically, the purpose IP address of the tenth overlay message is IP40, target MAC (Media Access Control) address is next-hop
MAC Address, source IP address are IP10, and source MAC is MAC10.
It is worth noting that, in embodiments of the present invention, overlay package module 1032 is previously stored with proxy gateway 40
Network address the 3rd ARP message is encapsulated into when receiving the 3rd ARP message in local virtual network
In overlay message, and the destination address of the tenth overlay message is directly directed to proxy gateway 40.
Therefore, the tenth overlay message is that unicast is sent to proxy gateway 40, and the mode that unicast is sent is sent out relative to broadcast
The quantity of message transmissions can be greatly reduced for sending.
Step S20: proxy gateway 40 receives the tenth overlay request message, solves to the tenth overlay request message
Encapsulation obtains third ARP request message, and obtains VIP from third ARP request message, is recorded according to VIP from step S13
MAC2 is obtained in first corresponding relationship.
Step S21: proxy gateway sends the 11st overlay message to overlay package module 1032.
Wherein, the tenth overlay message is packaged with third arp reply message, the destination address of the 11st overlay message
It is the network address of the first host 10, source address is the network address of proxy gateway, the source address MAC of third arp reply message
It is the MAC Address MAC2 of VM2, target MAC (Media Access Control) address is the MAC Address MAC12 of VM12, and source IP address is the address VIP, destination IP
Address is the IP address IP12 of VM12.
Step S22:overlay package module 1032 receives the tenth overlay message, unseals from the tenth overlay message
Third arp reply message is taken on, and third arp reply message is sent to VM12.
Specifically, third arp reply message is sent to virtual switch 1031 by overlay package module 1032, virtually
Interchanger 1031 is according to the target MAC (Media Access Control) address MAC12 and purpose IP address IP12 of third arp reply message by third arp reply
Message is sent to VM12.
Step S23:VM12 obtains MAC2 from the source MAC of the first arp reply message, by the pass corresponding with MAC2 VIP
System is recorded in local ARP table.
Therefore, the application service that VM12 can be provided according to VIP and MAC2 access VM2.
To sum up, in step S17 into step S23, proxy gateway 40 can be according to the first corresponding relationship pair learnt
Third ARP request message carries out that, to avoid re-requesting VIP to VM2, message transmissions quantity can be further saved for answering.
Also, the embodiment of the present invention do not limit can only be the first host 10 overlay package module 1032 access generation
Gateway 40 is managed, in other examples, all virtual machines in VPC can be accessed by local overlay package module
Proxy gateway 40, to obtain the corresponding MAC2 of VIP.
Fig. 7 is referred to below, and Fig. 7 is the continuity of Fig. 6, and Fig. 7 is according to an embodiment of the present invention logical based on proxy gateway
Another data interaction figure of letter method, shows when host virtual machine breaks down, as standby virtual in Dual-Computer Hot-Standby System
After machine binds VIP, the course of work of proxy gateway 40, as shown in fig. 7, this method is further comprising the steps of:
Step S24:VM2 breaks down, and notifies VM3.
In other examples, VM3 can periodically send data packet to VM2, when VM2 is not having within a preset period of time
When reply, VM3 can determine whether to VM2 to break down, and cannot provide application service.
It is worth noting that, status monitoring can be realized between VM3 and VM2 by heartbeat detection technology, such as
Keepalived software is not repeated in this.
Step S25:VM3 and VIP is bound, and generates GARP request message.
Wherein, the IP address of VM3 is set as VIP, and GARP request message is used to notify VIP pairs of all virtual machines in VPC
The MAC Address answered is MAC3.
Specifically, GARP reports the source IP address of request message and purpose IP address is the address VIP, and source MAC is VM3
MAC Address MAC3, target MAC (Media Access Control) address is MAC broadcast address FFFF:FFFF:FFFF.
Step S26:VM3 sends GARP request message to overlay package module 3032.
Wherein, VM3 sends GARP request message to virtual switch 3031, and virtual switch 3031 is wide in local virtual net
GARP request message is broadcast, VM31, VM32 and overlay package module 3032 can receive GARP request message.
GARP request message is encapsulated into the 6th overlay message by step S27:overlay package module 3032, and by
Six overlay messages are sent to proxy gateway.
Wherein, the destination address of the 6th overlay message is the network address of proxy gateway 40, and source address is third host
30 network address, specifically, purpose IP address are IP40, and target MAC (Media Access Control) address is MAC40, and source IP address is IP30, source MAC
Address is MAC30.
Step S28: proxy gateway 40 receives the 6th overlay message, from the 6th overlay message decapsulate GARP
Request message obtains the first corresponding relationship according to the VIP that GARP request message carries, according to the source MAC of GARP request message
MAC2 in first corresponding relationship is replaced with MAC3 by location MAC3, so that the first corresponding relationship is updated to the second corresponding relationship,
Wherein, the second corresponding relationship is the corresponding relationship of VIP and MAC3.
Step S29: the overlay package module of transmission the 7th overlay message to the first host 1010 of proxy gateway 40
1032。
Wherein, the 7th overlay message is packaged with GARP request message, and the destination address of the 7th overlay message is
The network address of one host 10, source address are the network address of proxy gateway, specifically, the destination IP of the 7th overlay message
Address is IP10, and target MAC (Media Access Control) address is MAC10, and source IP address is IP40, and source MAC is MAC40.
It is worth noting that, in embodiments of the present invention, since the overlay package module 1032 of the first host 1010 is visited
It asked proxy gateway 40, and gets the corresponding MAC of VIP from proxy gateway 40, proxy gateway 40 will record overlay encapsulation
The time of 1032 access agent gateway 40 of module, specifically, the record of proxy gateway 40 receives the first overlay message (step
Rapid S3) time T1, and record and receive the time T2 of the tenth overlay message (step S19).
Proxy gateway 40 can be by setting time threshold to determine whether sending the 7th overlay message to the first host
10, if the difference of current time and T2 (from T2 and T1 take T2) closest to current time are less than time threshold, illustrate first
For the virtual machine of host 10 for a long time without access VIP, the virtual machine of the first host 10 may not need access VIP,
The 7th overlay message is not sent then, to reduce message transmissions amount.
And the difference for working as current time and T2 is not less than time threshold, illustrates the virtual machine recent visit mistake of the first host 10
VIP is accustomed to according to user, later there are also may continue to very much access VIP greatly, then the 7th overlay message is sent, to notify first
The virtual machine of host 10 updates local ARP table.
It is worth noting that, the virtual machine of other hosts also accesses VIP, proxy gateway meeting there is also other hosts in VPC
Judge whether to send according to mode like above and carries the overlay message of GARP request message to other hosts, thus
It is dynamically selected the ARP table for whether updating the virtual machine in other hosts, according to access time to reduce message transmissions quantity.
Step S30 and S31:overlay package module 1032 decapsulates to obtain GARP the 7th overlay message
Request message, and GARP request message is sent to virtual switch 1031, virtual switch 1031 is according to GARP request message
Purpose MAC:FFFF:FFFF:FFFF, GARP request message is broadcasted in local virtual network so that VM1,
VM11 and VM12 can get GARP request message.
The VIP and MAC3 that step 32:VM1 is carried according to GARP request message update local ARP table.
Specifically, the corresponding relationship for the VIP and MAC2 that local ARP table records can be replaced with to the corresponding of VIP and MAC3 to close
System.
The VIP and MAC3 that step 33:VM12 is carried according to GARP request message update local ARP table.
Specifically, the corresponding relationship for the VIP and MAC2 that local ARP table records can be replaced with to the corresponding of VIP and MAC3 to close
System.
To sum up, in embodiments of the present invention, active and standby virtual machine switch in the case where, proxy gateway 40 can in time by
The MAC Address of standby virtual machine is sent to client virtual machine, and without using broadcasting packet, can greatly less message transmissions
Quantity mitigates network load.
It is worth noting that, after more the second corresponding relationship of new record of proxy gateway 40, if subsequent receive for VIP's
New ARP request message can return to MAC3 according to the second corresponding relationship, and for details, reference can be made to the steps 33 of Fig. 7 to step 39:
Step S34: after the predetermined time, VM1 deletes the corresponding relationship of VIP and MAC3 in local ARP table.
Step S35:VM1 sends the second ARP request message to overlay package module 1032.
Wherein, VM1 is after the corresponding relationship that local ARP table deletes VIP and MAC3, if VM1 wants to access what VIP was provided
Application service need to send ARP request message again to obtain the corresponding MAC3 of VIP, the source MAC of the second ARP request message
It is the MAC Address MAC1 of VM1, source IP address is the IP address IP1 of VM1, and purpose IP address is the address VIP, and target MAC (Media Access Control) address is
It is empty.Specifically, VM1 sends the second ARP request message to virtual switch 1031, and virtual switch 1031 is determining second
When the target MAC (Media Access Control) address of ARP request message is sky, the second ARP request message is sent to overlay package module 1032.
Step S36:overlay package module 1032 receives the second ARP request message, and the second ARP request message is encapsulated
Proxy gateway 40 is sent to the 8th overlay message, and by the 8th overlay message.
Wherein, the destination address of the 8th overlay message is the network address of proxy gateway 40, and source address is the first host
10 network address, specifically, the purpose IP address of the 8th overlay message is IP40, and target MAC (Media Access Control) address is MAC40, source
IP address is IP10, and source MAC is MAC10.
Step S37: proxy gateway 40 receives the 8th overlay message, from the 8th overlay message decapsulate second
ARP request obtains the MAC Address MAC2 of VM2 according to the address VIP that the second ARP request carries from the second corresponding relationship.
Step S38: proxy gateway 40, which is sent, is packaged with the 9th overlay message of the second arp reply message to overlay
Package module 1032.
Wherein, the source MAC of the second arp reply message is the MAC Address MAC3 of VM3, and the address purpose MAC is VM1
MAC Address MAC1, source IP address are the addresses VIP, and purpose IP address is the IP address IP1 of VM1.
Step S39:overlay package module 1032 receives the 9th overlay message, unseals from the 9th overlay message
The second arp reply message is taken on, and the second arp reply message is sent to VM1 by virtual switch 1031.
The corresponding relationship of VIP and VM3 is recorded in local ARP table by step S40:VM1.
To sum up, proxy gateway 40 seamlessly can provide ARP to client virtual machine after active and standby virtual machine switches over
The service that request message generation is answered, therefore message transmissions quantity can be greatly reduced, also, since active/standby virtual machine is providing
After MAC is to proxy gateway 40, do not have to reprocessing ARP request message in time threshold, therefore can mitigate active/standby virtual
The operand of machine.
Fig. 8 is referred to below, and Fig. 8 is another apparatus structure schematic diagram of proxy gateway according to an embodiment of the present invention, such as
Shown in Fig. 8, proxy gateway 40 includes:
Receiving module 411, the first superposition overlay message sent for receiving the first host to proxy gateway, first
Overlay message carries the first Address Resolution Protocol ARP request message, and the first ARP request message is by the first of the first host
Virtual machine generates and is used to request MAC Address corresponding with the address virtual IP VIP;
Processing module 413 is used for from the first overlay Receive message the first ARP request message;
Sending module 412, for sending the first ARP request message to the second host and third host, the setting of the second host
There is host virtual machine, third host is provided with standby virtual machine;
Receiving module 411, the 2nd overlay message sent for receiving the second host to proxy gateway, second
Overlay message carries host virtual machine and is answered according to the first ARP for the first virtual machine that the first ARP request message generates
Message is answered, the first arp reply message carries the MAC Address of host virtual machine;
Processing module 413 is used for from the 2nd overlay Receive message the first arp reply message;
Sending module 412, for sending the 3rd overlay message to the first host, the 3rd overlay message carries the
One arp reply message.
The concrete function of each functional module also has associated description, herein no longer in above-mentioned Fig. 5 and embodiment illustrated in fig. 6
It repeats.
Fig. 9 is referred to below, Fig. 9 shows another apparatus structure schematic diagram of proxy gateway according to an embodiment of the present invention,
As shown in figure 8, proxy gateway may include processing unit 421 and communication interface 422, processing unit 421 is for executing physics clothes
Function defined in the operating system and various software programs run on business device, for example, software layer shown in above-mentioned Fig. 2
The function of upper various component softwares, specifically, for example, function of the processing unit for realizing VMM, or handed over for realizing virtual
The function of changing planes, or the function for realizing virtual machine.Communication interface 422 is used to carry out communication friendship with other calculate nodes
Mutually, other equipment can be other physical servers, and specifically, communication interface 422 can be adapter.Optionally, should
Physical server can also include input/output interface 423, and input/output interface 423 is connected with input-output apparatus, use
In the information for receiving input, operating result is exported.Input/output interface 423 can be mouse, keyboard, display or CD-ROM drive
Deng.Optionally, which can also include additional storage 424, also commonly referred to as external memory, additional storage 424
Storage medium can be magnetic medium (for example, floppy disk, hard disk, tape), optical medium (such as CD) or semiconductor medium
(such as solid state hard disk) etc..Processing unit 421 can there are many specific implementation forms, such as processing unit 421 may include place
Reason device 4212 and memory 4211, processor 4212 execute shown in Fig. 6 and Fig. 7 according to the program instruction stored in memory 4211
The relevant operation of proxy gateway 40 in embodiment, processor 4212 can be central processing unit (CPU) or image processor (English
Text: graphics processing unit, GPU), processor 4212 can be single core processor or multi-core processor.Processing
Unit 421 can also be realized individually using the logical device of built-in processing logic, such as (English is complete for field programmable gate array
Claim: Field Programmable Gate Array, abbreviation: FPGA) or digital signal processor (English: digital
Signal processor, DSP) etc..
The embodiment of the present invention further provides for a kind of computer readable storage medium, and computer readable storage medium includes using
In the program instruction for executing the relevant operation of proxy gateway 40 in Fig. 6 and embodiment illustrated in fig. 7.
It is apparent to those skilled in the art that for convenience of description and succinctly, foregoing description is
The specific work process of system, device and unit, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
Further, in other embodiments of the present invention, container can be used also to replace virtual machine, the embodiment of the present invention
This is not construed as limiting.
It should be noted that any device embodiment described above is all only schematical, wherein described be used as separates
The unit of part description may or may not be physically separated, component shown as a unit can be or
It can not be physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to reality
Border needs to select some or all of process therein to achieve the purpose of the solution of this embodiment.In addition, provided by the invention
In Installation practice attached drawing, the connection relationship between process indicates there is communication connection between them, specifically can be implemented as one
Item or a plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, it can
It understands and implements.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can borrow
Help software that the mode of required common hardware is added to realize, naturally it is also possible to by specialized hardware include specific integrated circuit, specially
It is realized with CPU, private memory, special components and parts etc..Under normal circumstances, all functions of being completed by computer program are ok
It is easily realized with corresponding hardware, moreover, being used to realize that the specific hardware structure of same function is also possible to a variety of more
Sample, such as analog circuit, digital circuit or special circuit etc..But software program is real in situations more for the purpose of the present invention
It is now more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words makes the prior art
The part of contribution can be embodied in the form of software products, which is stored in the storage medium that can be read
In, such as the floppy disk of computer, USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory
Device (Random Access Memory, RAM), magnetic or disk etc., including some instructions are with so that a computer is set
Standby (can be personal computer, host or the network equipment etc.) executes method described in each embodiment of the present invention.
It is apparent to those skilled in the art that the specific work of the system of foregoing description, device or unit
Make process, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (23)
1. a kind of communication means based on proxy gateway, which is characterized in that the method is used to handle message, institute for hot-backup system
Stating hot-backup system includes host virtual machine and standby virtual machine, which comprises
The first superposition overlay message that proxy gateway the first host of reception is sent to the proxy gateway, described first
Overlay message carries the first Address Resolution Protocol ARP request message, and the first ARP request message is led by described first
First virtual machine of machine generates and is used to request MAC Address corresponding with the address virtual IP VIP;
The proxy gateway sends the first ARP from the first ARP request message described in the first overlay Receive message
For request message to the second host and third host, second host is provided with the host virtual machine, the third host setting
There is the standby virtual machine;
The proxy gateway receives the 2nd overlay message that second host is sent to the proxy gateway, and described second
Overlay message carries the host virtual machine and is directed to first virtual machine according to what the first ARP request message generated
The first arp reply message, the first arp reply message carries the MAC Address of the host virtual machine;
The proxy gateway is sent out from the first arp reply message described in the 2nd overlay Receive message, the first host of Xiang Suoshu
The 3rd overlay message is sent, the 3rd overlay message carries the first arp reply message.
2. the method according to claim 1, wherein the destination address of the first overlay message is described
The network address of proxy gateway, source address are the network address of first host, and the first overlay message carries
The first Address Resolution Protocol ARP request message that one virtual machine generates, the source MAC of the first ARP message are described the
The MAC Address of one virtual machine, source IP address are the IP address of first virtual machine, and purpose IP address is the address VIP, institute
It states the address VIP and the host virtual machine is bound;
It is described to send the first ARP request message to the second host and third host, comprising:
The proxy gateway sends the 4th overlay message and the 5th overlay message, the 4th overlay message and institute
It states the 5th overlay message and carries the first ARP request message respectively, the source address of the 4th overlay message is
The network address of the proxy gateway, destination address are the network address of second host, the 5th overlay message
Source address is the network address of the proxy gateway, and destination address is the network address of the third host.
3. according to the method described in claim 2, it is characterized in that,
The destination address of the 2nd overlay message is the network address of the proxy gateway, and source address is described second main
The network address of machine, the source MAC of the first arp reply message are the MAC Address of the host virtual machine, purpose MAC
Location is the MAC Address of first virtual machine, and source IP address is the address VIP, and purpose IP address is first virtual machine
IP address;
The destination address of the 3rd overlay message is the network address of first host, and source address is described to act on behalf of net
The network address of pass.
4. the method according to claim 1, wherein described send the first ARP request message to the second master
Machine and third host, comprising:
The first ARP request message is set to multicast message and sends the multicast message by the proxy gateway, wherein institute
It states the second host and the third host is arranged in multicast group, the source address of the multicast message is the net of the proxy gateway
Network address, destination address are the multicast address of the multicast group, and the multicast message carries the first ARP request message.
5. method according to any one of claims 1 to 4, which is characterized in that
After the proxy gateway receives the first overlay message that the first host is sent to the proxy gateway, the method
Further include:
The proxy gateway is from the address VIP described in the first ARP request Receive message;
It is described after the proxy gateway receives the 2nd overlay message that second host is sent to the proxy gateway
Method further include:
It is main virtual described in the first arp reply Receive message that the proxy gateway is carried from the 2nd overlay message
The MAC Address of machine;
The proxy gateway records the first corresponding relationship of the MAC Address of the address VIP and the host virtual machine.
6. according to the method described in claim 5, it is characterized in that,
After the 3rd overlay message of transmission to first host, the method also includes:
The proxy gateway receives the 6th overlay message that the third host is sent, the mesh of the 6th overlay message
Address be the proxy gateway network address, source address is the network address of the third host, the 6th overlay
Message carries the standby virtual machine and leads in the case where the host virtual machine is abnormal with what is generated after VIP binding
With attributes registration protocol GARP request message, the source IP address and purpose IP address of the GARP request message are the VIP
Location, source MAC are the MAC Address of the standby virtual machine, and target MAC (Media Access Control) address is MAC broadcast address;
First corresponding relationship is updated to the second corresponding relationship according to the GARP request message by the proxy gateway, described
Second corresponding relationship is the corresponding relationship of the MAC Address of the address VIP and the standby virtual machine;
The proxy gateway sends the 7th overlay message, and the destination address of the 7th overlay message is described first main
The network address of machine, source address are the network address of the proxy gateway, and the 7th overlay message carries the GARP
Request message.
7. according to the method described in claim 6, it is characterized in that,
The proxy gateway receives the first overlay message that the first host is sent further include:
The proxy gateway record receives the first time of the first overlay message;
The proxy gateway sends the 7th overlay message, comprising:
The proxy gateway sends the described 7th when current time and the difference of the first time are less than time threshold
Overlay message.
8. method according to claim 6 or 7, which is characterized in that the proxy gateway by first corresponding relationship more
Newly for after the second corresponding relationship, the method also includes:
The proxy gateway receives the 8th overlay message that first host is sent, the mesh of the 8th overlay message
Address be the proxy gateway network address, source address is the network address of first host, the 8th overlay
Message carries the second ARP request message, and the source MAC of the second ARP request message is the MAC of first virtual machine
Address, source IP address are the IP address of first virtual machine, and purpose IP address is the address VIP;
The proxy gateway obtains the MAC Address of the standby virtual machine according to the address VIP from second corresponding relationship;
The proxy gateway sends the 9th overlay message, and the destination address of the 9th overlay message is described first main
The network address of machine, source IP address are the network address of the proxy gateway, and the 9th overlay message carries second
Arp reply message, the source MAC of the second arp reply message are the MAC Address of the standby virtual machine, target MAC (Media Access Control) address
It is the MAC Address of first virtual machine, source IP address is the address VIP, and purpose IP address is first virtual machine
IP address.
9. according to the method described in claim 5, it is characterized in that, the proxy gateway records the address VIP and the master
After first corresponding relationship of the MAC Address of virtual machine, the method also includes:
The proxy gateway receives the tenth overlay message that first host is sent, the mesh of the tenth overlay message
Address be the proxy gateway network address, source address is the network address of first host, the 8th overlay
Message carries third ARP request message, and the source MAC of the third ARP request message is arranged in first host
The 4th virtual machine MAC Address, source IP address is the IP address of the 4th virtual machine, and purpose IP address is the VIP
Location;
The proxy gateway obtains the MAC Address of the host virtual machine according to the address VIP from first corresponding relationship;
The proxy gateway sends the 11st overlay message, and the destination address of the 11st overlay message is described the
The network address of one host, source address are the network address of the proxy gateway, and the tenth overlay message carries third
Arp reply message, the source MAC of the third arp reply message are the MAC Address of the host virtual machine, target MAC (Media Access Control) address
It is the MAC Address of the 4th virtual machine, source IP address is the address VIP, and purpose IP address is the 4th virtual machine
IP address.
10. method according to any one of claims 1 to 9, which is characterized in that the first overlay message, described
Two overlay messages, the 3rd overlay message, the 4th overlay message and the 5th overlay message
For virtual extended local area network VXLAN message.
11. a kind of proxy gateway, which is characterized in that the proxy gateway is used to handle message, the hot standby system for hot-backup system
System includes host virtual machine and standby virtual machine, and the proxy gateway includes:
Receiving module, the first superposition overlay message sent for receiving the first host to the proxy gateway, described first
Overlay message carries the first Address Resolution Protocol ARP request message, and the first ARP request message is led by described first
First virtual machine of machine generates and is used to request MAC Address corresponding with the address virtual IP VIP;
Processing module is used for from the first ARP request message described in the first overlay Receive message;
Sending module, for sending the first ARP request message to the second host and third host, the second host setting
There is the host virtual machine, the third host is provided with the standby virtual machine;
The receiving module, the 2nd overlay message sent for receiving second host to the proxy gateway are described
2nd overlay message carries the host virtual machine and is directed to first void according to what the first ARP request message generated
First arp reply message of quasi- machine, the first arp reply message carry the MAC Address of the host virtual machine;
The processing module is used for from the first arp reply message described in the 2nd overlay Receive message;
The sending module, for sending the 3rd overlay message to first host, the 3rd overlay message is taken
With the first arp reply message.
12. proxy gateway according to claim 11, which is characterized in that the destination address of the first overlay message
It is the network address of the proxy gateway, source address is the network address of first host, and the first overlay message is taken
With the first Address Resolution Protocol ARP request message that the first virtual machine generates, the source MAC of the first ARP message is
The MAC Address of first virtual machine, source IP address are the IP address of first virtual machine, and purpose IP address is the VIP
Address, the address VIP and the host virtual machine are bound;
The sending module, for sending the 4th overlay message and the 5th overlay message, the 4th overlay message
The first ARP request message is carried respectively with the 5th overlay message, the source of the 4th overlay message
Location is the network address of the proxy gateway, and destination address is the network address of second host, the 5th overlay report
The source address of text is the network address of the proxy gateway, and destination address is the network address of the third host.
13. proxy gateway according to claim 12, which is characterized in that
The destination address of the 2nd overlay message is the network address of the proxy gateway, and source address is described second main
The network address of machine, the source MAC of the first arp reply message are the MAC Address of the host virtual machine, purpose MAC
Location is the MAC Address of first virtual machine, and source IP address is the address VIP, and purpose IP address is first virtual machine
IP address;
The destination address of the 3rd overlay message is the network address of first host, and source address is described to act on behalf of net
The network address of pass.
14. proxy gateway according to claim 11, which is characterized in that the sending module is used for the first ARP
Request message is set to multicast message and sends the multicast message, wherein second host and third host setting exist
In multicast group, the source address of the multicast message is the network address of the proxy gateway, and destination address is the multicast group
Multicast address, the multicast message carry the first ARP request message.
15. 1 to 14 described in any item proxy gateways according to claim 1, which is characterized in that
The processing module, is also used to:
From the address VIP described in the first ARP request Receive message;
The MAC Address of host virtual machine described in the first arp reply Receive message carried from the 2nd overlay message;
Record the first corresponding relationship of the MAC Address of the address VIP and the host virtual machine.
16. proxy gateway according to claim 15, which is characterized in that
The receiving module, is also used to:
The 6th overlay message that the third host is sent is received, the destination address of the 6th overlay message is described
The network address of proxy gateway, source address are the network address of the third host, and the 6th overlay message carries
Standby virtual machine is stated to assist in the case where the host virtual machine is abnormal with the general-purpose attribute logging generated after VIP binding
GARP request message is discussed, the source IP address and purpose IP address of the GARP request message are the address VIP, source MAC
It is the MAC Address of the standby virtual machine, target MAC (Media Access Control) address is MAC broadcast address;
The processing module, is also used to:
First corresponding relationship is updated to the second corresponding relationship, second corresponding relationship according to the GARP request message
For the corresponding relationship of the address VIP and the MAC Address of the standby virtual machine;
The sending module, is also used to:
Send the 7th overlay message, the destination address of the 7th overlay message is the network of first host
Location, source address are the network address of the proxy gateway, and the 7th overlay message carries the GARP request message.
17. proxy gateway according to claim 16, which is characterized in that
The processing module, is also used to:
The proxy gateway record receives the first time of the first overlay message;
The sending module, is also used to:
When current time and the difference of the first time are less than time threshold, the 7th overlay message is sent.
18. proxy gateway according to claim 16 or 17, which is characterized in that the processing module is corresponding by described first
Relationship is updated to after the second corresponding relationship,
The receiving module, the 8th overlay message sent for receiving first host, the 8th overlay report
The destination address of text is the network address of the proxy gateway, and source address is the network address of first host, the described 8th
Overlay message carries the second ARP request message, and the source MAC of the second ARP request message is described first virtual
The MAC Address of machine, source IP address are the IP address of first virtual machine, and purpose IP address is the address VIP;
The processing module, for obtaining the MAC of the standby virtual machine from second corresponding relationship according to the address VIP
Location;
The sending module, for sending the 9th overlay message, the destination address of the 9th overlay message is described
The network address of first host, source IP address are the network address of the proxy gateway, and the 9th overlay message carries
Second arp reply message, the source MAC of the second arp reply message are the MAC Address of the standby virtual machine, purpose MAC
Address is the MAC Address of first virtual machine, and source IP address is the address VIP, and purpose IP address is described first virtual
The IP address of machine.
19. proxy gateway according to claim 15, which is characterized in that the processing module record the address VIP with
After first corresponding relationship of the MAC Address of the host virtual machine,
The receiving module, the tenth overlay message sent for receiving first host, the tenth overlay report
The destination address of text is the network address of the proxy gateway, and source address is the network address of first host, the described 8th
Overlay message carries third ARP request message, and the source MAC of the third ARP request message is setting described the
The MAC Address of 4th virtual machine of one host, source IP address are the IP address of the 4th virtual machine, and purpose IP address is described
The address VIP;
The processing module, for obtaining the MAC of the host virtual machine from first corresponding relationship according to the address VIP
Location;
The sending module, for sending the 11st overlay message, the destination address of the 11st overlay message is
The network address of first host, source address are the network address of the proxy gateway, and the tenth overlay message carries
There is third arp reply message, the source MAC of the third arp reply message is the MAC Address of the host virtual machine, purpose
MAC Address is the MAC Address of the 4th virtual machine, and source IP address is the address VIP, and purpose IP address is the described 4th empty
The IP address of quasi- machine.
20. 1 to 19 described in any item proxy gateways according to claim 1, which is characterized in that the first overlay message,
The 2nd overlay message, the 3rd overlay message, the 4th overlay message and the described 5th
Overlay message is virtual extended local area network VXLAN message.
21. a kind of proxy gateway, which is characterized in that including memory and processor, the memory is stored with program instruction, institute
It states processor and executes described program instruction so that the host executes following step:
The first superposition overlay message that the first host is sent to the proxy gateway is received, the first overlay message is taken
With the first Address Resolution Protocol ARP request message, the first ARP request message by first host the first virtual machine
It generates and is used to request MAC Address corresponding with the address virtual IP VIP;
From the first ARP request message described in the first overlay Receive message, the first ARP request message is sent to the
Two hosts and third host, second host are provided with the host virtual machine, and the third host is provided with described standby virtual
Machine;
The 2nd overlay message that second host is sent to the proxy gateway is received, the 2nd overlay message is taken
The first arp reply for first virtual machine generated with the host virtual machine according to the first ARP request message
Message, the first arp reply message carry the MAC Address of the host virtual machine;
From the first arp reply message described in the 2nd overlay Receive message, the first host of Xiang Suoshu sends third
Overlay message, the 3rd overlay message carry the first arp reply message.
22. a kind of computer readable storage medium, which is characterized in that the computer program medium is set to proxy gateway, institute
Stating computer readable storage medium includes:
Receive the instruction for the first superposition overlay message that the first host is sent to the proxy gateway, the first overlay
Message carries the first Address Resolution Protocol ARP request message, and the first ARP request message is by the first of first host
Virtual machine generates and is used to request MAC Address corresponding with the address virtual IP VIP;
From the first ARP request message described in the first overlay Receive message, the first ARP request message is sent to the
The instruction of two hosts and third host, second host are provided with the host virtual machine, and the third host is provided with described
Standby virtual machine;
Receive the instruction for the 2nd overlay message that second host is sent to the proxy gateway, the 2nd overlay
Message carry the host virtual machine according to the first ARP request message generate for the first of first virtual machine
Arp reply message, the first arp reply message carry the MAC Address of the host virtual machine;
From the first arp reply message described in the 2nd overlay Receive message, the first host of Xiang Suoshu sends third
The instruction of overlay message, the 3rd overlay message carry the first arp reply message.
23. a kind of Proxy Gateway System, which is characterized in that including proxy gateway, the first host, the second host and third master
Machine, first host are provided with the first virtual machine, and second host is provided with host virtual machine, and the third host is provided with
Standby virtual machine,
First host, Xiang Suoshu proxy gateway send the first superposition overlay message, and the first overlay message is taken
With the first Address Resolution Protocol ARP request message, the first ARP request message by first host the first virtual machine
It generates and is used to request MAC Address corresponding with the address virtual IP VIP;
Proxy gateway receives the overlay message that the first host is sent to the proxy gateway, from described first
First ARP request message described in overlay Receive message sends the first ARP request message to the second host and third master
Machine;
Second host, Xiang Suoshu proxy gateway send the 2nd overlay message, and the 2nd overlay message carries
The first arp reply message for first virtual machine that the host virtual machine is generated according to the first ARP request message,
The first arp reply message carries the MAC Address of the host virtual machine;
The proxy gateway receives the 2nd overlay message that second host is sent to the proxy gateway, from institute
The first arp reply message described in the 2nd overlay Receive message is stated, the first host of Xiang Suoshu sends the 3rd overlay message, institute
It states the 3rd overlay message and carries the first arp reply message.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811547566.0A CN110062057A (en) | 2018-12-18 | 2018-12-18 | The proxy gateway and communication means of message are handled for hot-backup system |
PCT/CN2019/126058 WO2020125645A1 (en) | 2018-12-18 | 2019-12-17 | Proxy gateway for processing message for hot standby system, and communication method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811547566.0A CN110062057A (en) | 2018-12-18 | 2018-12-18 | The proxy gateway and communication means of message are handled for hot-backup system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110062057A true CN110062057A (en) | 2019-07-26 |
Family
ID=67315035
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811547566.0A Pending CN110062057A (en) | 2018-12-18 | 2018-12-18 | The proxy gateway and communication means of message are handled for hot-backup system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110062057A (en) |
WO (1) | WO2020125645A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020125645A1 (en) * | 2018-12-18 | 2020-06-25 | 华为技术有限公司 | Proxy gateway for processing message for hot standby system, and communication method |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117118774B (en) * | 2023-10-23 | 2024-02-27 | 杭州优云科技有限公司 | Access method and device of cloud computing gateway under two-layer network |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103200069A (en) * | 2013-03-29 | 2013-07-10 | 华为技术有限公司 | Message processing method and device |
CN103761166A (en) * | 2014-01-22 | 2014-04-30 | 上海交通大学 | Hot standby disaster tolerance system for network service under virtualized environment and method thereof |
CN104702708A (en) * | 2013-12-06 | 2015-06-10 | 华为技术有限公司 | Method, equipment and system for obtaining address resolution protocol information, and network virtualization endpoint |
CN108259629A (en) * | 2016-12-28 | 2018-07-06 | 阿里巴巴集团控股有限公司 | The switching method and device of virtual IP address |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102075591A (en) * | 2010-12-21 | 2011-05-25 | 华为技术有限公司 | Method, device and system for acquiring media access control address |
US8767737B2 (en) * | 2011-11-30 | 2014-07-01 | Industrial Technology Research Institute | Data center network system and packet forwarding method thereof |
CN105554175A (en) * | 2015-12-23 | 2016-05-04 | 烽火通信科技股份有限公司 | ARP backup method in PW (Pseudo-wires) redundancy scene |
CN107547339B (en) * | 2017-06-14 | 2020-12-08 | 新华三技术有限公司 | Method and device for feeding back MAC address of gateway media access control |
CN110062057A (en) * | 2018-12-18 | 2019-07-26 | 华为技术有限公司 | The proxy gateway and communication means of message are handled for hot-backup system |
-
2018
- 2018-12-18 CN CN201811547566.0A patent/CN110062057A/en active Pending
-
2019
- 2019-12-17 WO PCT/CN2019/126058 patent/WO2020125645A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103200069A (en) * | 2013-03-29 | 2013-07-10 | 华为技术有限公司 | Message processing method and device |
CN104702708A (en) * | 2013-12-06 | 2015-06-10 | 华为技术有限公司 | Method, equipment and system for obtaining address resolution protocol information, and network virtualization endpoint |
CN103761166A (en) * | 2014-01-22 | 2014-04-30 | 上海交通大学 | Hot standby disaster tolerance system for network service under virtualized environment and method thereof |
CN108259629A (en) * | 2016-12-28 | 2018-07-06 | 阿里巴巴集团控股有限公司 | The switching method and device of virtual IP address |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020125645A1 (en) * | 2018-12-18 | 2020-06-25 | 华为技术有限公司 | Proxy gateway for processing message for hot standby system, and communication method |
Also Published As
Publication number | Publication date |
---|---|
WO2020125645A1 (en) | 2020-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11902364B2 (en) | Automatic replacement of computing nodes in a virtual computer network | |
US11409550B2 (en) | Low latency connections to workspaces in a cloud computing environment | |
CN112470436B (en) | Systems, methods, and computer-readable media for providing multi-cloud connectivity | |
EP3316532B1 (en) | Computer device, system and method for implementing load balancing | |
US9736016B2 (en) | Managing failure behavior for computing nodes of provided computer networks | |
EP2414960B1 (en) | Providing logical networking functionality for managed computer networks | |
US8725898B1 (en) | Scalable port address translations | |
US7499451B2 (en) | Computer node, cluster system, cluster managing method, and cluster managing program | |
CN109451084A (en) | A kind of service access method and device | |
US10516544B2 (en) | Extranet connectivity in LISP networks | |
US10999239B2 (en) | Stateful LISP subscription for overlapping subnetworks | |
US9967140B2 (en) | Virtual links for network appliances | |
CN110062057A (en) | The proxy gateway and communication means of message are handled for hot-backup system | |
JP4021780B2 (en) | Computer node, cluster system, cluster management method, cluster management program | |
JP6591045B2 (en) | Method and network service apparatus for migrating network service | |
US9763135B1 (en) | Load balancing with mobile resources | |
CN116132542A (en) | Container network management method, container network plug-in and related equipment | |
JP2007249984A (en) | Computer node, cluster system, method and program for managing clusters |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20220301 Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province Applicant after: Huawei Cloud Computing Technologies Co.,Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Applicant before: HUAWEI TECHNOLOGIES Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190726 |
|
RJ01 | Rejection of invention patent application after publication |