CN105591921B - Determine the method and device of host migration state - Google Patents

Determine the method and device of host migration state Download PDF

Info

Publication number
CN105591921B
CN105591921B CN201510626133.4A CN201510626133A CN105591921B CN 105591921 B CN105591921 B CN 105591921B CN 201510626133 A CN201510626133 A CN 201510626133A CN 105591921 B CN105591921 B CN 105591921B
Authority
CN
China
Prior art keywords
host
eid
etr
volatile memory
memory medium
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.)
Active
Application number
CN201510626133.4A
Other languages
Chinese (zh)
Other versions
CN105591921A (en
Inventor
郭威
王伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201510626133.4A priority Critical patent/CN105591921B/en
Publication of CN105591921A publication Critical patent/CN105591921A/en
Application granted granted Critical
Publication of CN105591921B publication Critical patent/CN105591921B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application proposes to determine the method and device of host migration state.Method includes: that ETR receives the Map-Notify message that MS is sent, it was found that the EID that the message carries is the host address of user configuration, and the RLOC of message carrying is not the RLOC of this ETR, then determine that the host is moved out from this ETR, the EID of the host is put into non-volatile memory medium, and confirms the state of the host are as follows: is moved out;When ETR detects that host is moved into, if finding the EID of the host in non-volatile memory medium, the EID of the host is deleted out of non-volatile memory medium, and confirm the state of the host are as follows: move out and repopulate.The application enhances migration stability.

Description

Determine the method and device of host migration state
Technical field
This application involves LISP (Locator/Identity Separation Protocol, position and mark separation associations View) method and device of host migration state is determined in technical field more particularly to LISP network.
Background technique
LISP provides a kind of novel network architecture, and IP address is divided into two independent address spaces: EID (Endpoint Identifier, Endpoint ID) and RLOC (Routing Locator, route location symbol).EID is communication ends The host address of point, identical as existing realization, the effect in LISP is similar to DNS (Domain Name System, domain name system System), possess independent space.In LISP network, EID can be migrated independently of RLOC;RLOC is LISP router Address, can in existing Internet routing forwarding, global can route.The message communicated between EID is encapsulated between RLOC It is forwarded in tunnel.
Fig. 1 is LISP network panorama schematic diagram, as shown in Figure 1, LISP component is as follows:
1) xTRs (xTunnel Routers): tunnel router, comprising: ITR (Ingress Router, entrance TR) and ETR (Egress TR exports TR);
Maintenance has the mapping relations of the EID and RLOC of this website on all ETR of each LISP website, and ETR is periodical The mapping relations of the EID of this website and RLOC are sent to MS by logon message by ground.
2) Map DB (Map DataBase, mapping database): the mapping database of EID to RLOC includes RLOC and EID Mapping relations, be stored on mapping server (MS, Map Server);
MS receives the logon message that ETR is sent, and the mapping relations of EID and RLOC in message are stored in Map DB In.
3) PxTR (Proxy xTR): acting on behalf of xTR, at the network boundary for not supporting positioned at support LISP and LISP.
LISP realizes the separation of core net and edge net by ITR and ETR, it is used to realize by a mapped system Mapping Resolution from EID to RLOC.LISP realizes road in the core network by the encapsulation and decapsulation mechanism of IP-in-IP By and forwarding.
By taking Fig. 1 as an example, when host 2 of the host 1 in LISP website A into LISP website B sends data, host 2 EID is non-routable in the core network;After data packet reaches ITR, the local EID without saving host 2 of ITR discovery is corresponding RLOC, then the EID for sending Map-Request message to MR (Map Resolver, Mapping Resolution device) to inquire host 2 is corresponding RLOC, Map-Request message is transmitted to MS by MR, and MS finds the corresponding ETR of EID of host 2 in local Map DB RLOC, Map-Request message is transmitted to ETR by MS, and ETR carries the EID of host 2 and the RLOC of oneself in Map- ITR is returned in Response message;Then ITR encapsulates the data packet, using the RLOC of oneself as source address, with opposite end ETR's RLOC is purpose address, while saving the mapping relations of the RLOC of the EID and ETR of host 2;Opposite end ETR is unsealed after receiving the packet The packet is filled, host 2 is finally delivered a packet to.
In LISP network, host can be migrated, as shown in Fig. 2, vCenter (virtual center) controls VM (Virtual Machine, virtual machine) migration, if at a time, vCenter is determined VM B from DC (Data Center, in data The heart) 1 move to DC2, then specific transition process is as follows:
1) VM B moves to DC2 from DC1, and ETR4 receives gratuitous ARP (the Address Resolution of VM B sending Protocol, address resolution protocol) message or data message, it is moved under this ETR so that ETR4 perceives VM B;
2) ETR4 notifies VM B to move into DC2 by multicast Notify message to other ETR (ETR3) of this two layers net, and leads to Cross EID of the registration message to MS registration VM B;
3) MS finds the RLOC of the corresponding ETR:ETR2 that moves out of VM B according to the EID of VM B in local Map DB, to ETR2 sends Map-Notify message informing VM B and has moved out;
4) after ETR2 receives the Map-Notify message, the state of VM B is set as: being moved out, and the Map-Notify is disappeared Breath broadcast in this two layers net;
5) after ETR2 receives the data message that purpose is VM B, SMR is initiated to the distal end TR for issuing the message (Solicit Map-Request, request initiate mapping request) message carries the EID of VM B in the SMR message, should with triggering Distal end TR goes request again, and VM B is corresponding moves into RLOC, while abandoning the data message;
6) distal end TR receives the SMR message, and the Map-Request for carrying the EID of VM B is initiated to MR (Mapping Resolution device) Map-Request message is transmitted to MS by message, MR, and the EID that MS finds VM B in local Map DB corresponding is moved into Map-Request message is transmitted to ETR4 by the RLOC of ETR4, MS, and ETR4 closes the mapping of the RLOC of the EID of VM B and ETR4 System carries returns to distal end TR in Map-Response message, and distal end TR updates the former VM B of itself preservation with the mapping relations EID and ETR2 RLOC mapping relations, hereafter, distal end TR issue the message for the purpose of VM B no longer issue ETR2, and it is intended for ETR4, flow migration is completed.
Summary of the invention
The embodiment of the present application provides the method and device for determining host migration state.
The technical solution of the application is achieved in that
A kind of method of determining host migration state, this method comprises: exit tunnel router ETR receives mapping server Mapping that MS is sent notifies Map-Notify message, it is found that Endpoint ID EID that the message carries is the host of user configuration Location, and the route location that the message carries accords with the RLOC that RLOC is not this ETR, it is determined that the host is moved out from this ETR, by the master The EID of machine is put into non-volatile memory medium, confirms the state of the host are as follows: move out;
When ETR detects that host is moved into, if finding the EID of the host in non-volatile memory medium, by the master The EID of machine is deleted out of non-volatile memory medium, and confirms the state of the host are as follows: is moved out and is repopulated.
A kind of device of determining host migration state is located on ETR, which includes:
It moves out judging treatmenting module: receiving the mapping notice Map-Notify message that mapping server MS is sent, discovery should The EID that message carries is the host address of user configuration, and the route location symbol RLOC that the message carries is not this ETR's RLOC, it is determined that the host is moved out from this ETR, and the EID of the host is put into non-volatile memory medium, and confirms the host State are as follows: move out;
Move into judging treatmenting module: when detecting that host is moved into, if finding the host in non-volatile memory medium EID, then the EID of the host is deleted out of non-volatile memory medium, and confirm the state of the host are as follows: move out and move again Enter.
As it can be seen that, when VM moves out ETR, the EID of VM is put into non-volatile memory medium by ETR in the embodiment of the present application, So that remaining to correctly detect that oneself is directed to the migration role of VM, enhances migration stability after ETR is restarted.
Detailed description of the invention
Fig. 1 is LISP network panorama schematic diagram;
Fig. 2 is migration example figure of the host between LISP website;
Fig. 3 is the method flow diagram for the determination host migration state that one embodiment of the application provides;
Fig. 4 is the method flow diagram for the determination host migration state that another embodiment of the application provides;
Fig. 5 is the composition schematic diagram of the device of determining host migration state provided by the embodiments of the present application.
Specific embodiment
Applicant analyzes the host migration process in existing LISP network, and there are the following problems for discovery:
By taking Fig. 2 as an example, after VM B moves to DC2 from DC1, ETR2 needs to record the state of VM B are as follows: moves out, if later VM B moves back to DC1 from DC2 again, at this point, the state of the VM B recorded before ETR2 inquiry, is found to be and moves out, it is determined that this VM B is to move out to repopulate, then updates the state of the VM B of record are as follows: move out and repopulate.
When there is VM to move out or move out repopulate when, ETR must accurate recording VM state, so that ETR is for different State carries out different processing, to guarantee the accuracy of the Map DB of MS maintenance.Still by taking Fig. 2 as an example, in VM B transition process In, the variation of the mapping relations in the Map DB of MS is as follows:
A, after ETR2 starting, registration message can be sent to MS according to the EID network segment of the original support of itself configuration, it should Registration message carries the EID network segment (by taking the address IPv4 as an example, EID network segment is 24bit) of the original support, the Map DB of such MS Just save the mapping relations of the EID network segment of the original support of RLOC and ETR2 of ETR2;
B, hereafter, after VM B moves to ETR4 from ETR2, ETR4 can send registration message, the message to MS after perceiving The EID (by taking the address IPv4 as an example, the EID of VM B is 32bit) for carrying VM B, after MS receives the registration message, according to the message The EID of the VM B of carrying finds matched mapping relations (the i.e. EID of the RLOC of ETR2 and the original support of ETR2 in Map DB The mapping relations of network segment), find the EID for the VM B that the message carries better than the original support of ETR2 in matched mapping relations EID network segment updates the EID network segment of the original support of ETR2 in Map DB in matched mapping relations then with the EID of VM B;
Meanwhile after ETR2 receives the Map-Notify message that MS is sent, the state of VM B can be set as: be moved out;
C, when VM B moves back to ETR2 again, the state for the VM B that ETR2 is recorded according to step b: moving out, and can learn this VM B is actually to move out to repopulate, then the state for updating VM B is to move out to repopulate, and sends registration message, the registration message to MS The EID (by taking the address IPv4 as an example, the EID of VM B is 32bit) for carrying VM B, after MS receives the registration message, according to the message The EID of the VM B of carrying finds matched mapping relations in Map DB, and (i.e. the mapping of the RLOC of the EID and ETR4 of VM B is closed System), and find that the priority of the mapping relations of the RLOC of the EID and ETR2 of the VM B that the message carries is closed higher than matched mapping System's (in two mapping relations, the length of EID is identical, but the time of the mapping relations in registration message updates), then with the message The mapping relations of the RLOC of the EID and ETR2 of the VM B of carrying update matched mapping relations in Map DB.
From step c as it can be seen that if VM B moves out after ETR2, due to restarting etc. ETR2, lead to the VM B recorded on ETR2 State be that the information moved out is lost, then after hereafter VM B moves back to ETR2 again, ETR2 is considered as VM B and moves into for the first time, and The EID of ETR2 belongs to the EID network segment of the original support of ETR2 again, therefore can be set as the state of VM B: it is online, and will not be infused to MS The EID of volume ETR2, because are as follows: ETR2 has registered the EID network segment of original support to MS on startup, in this way, the Map DB of MS The mapping relations of middle preservation are still the mapping relations of the RLOC of the EID and ETR4 of VM B, it is clear that are saved in the Map DB of MS The mapping relations are wrong, to will lead to the traffic loss for issuing VM B.
In practical applications, Network status and host posture not can guarantee, such as: if VM B moves out after ETR2 but When not moving back to also, ETR2 is restarted, the status information loss of moving out of the VM B recorded before causing on ETR2, such ETR2 After restarting, when VM B moves back to ETR2, it will lead to ETR2 and be mistakenly considered the state of VM B to be online rather than move out and repopulate, So as to cause the traffic loss for being sent to VM B;Alternatively, if in VM B transition process network oscillation, lead to ETR4 or ETR2 The map-notify information drop-out of sending, the mapping relations for also resulting in the EID and RLOC of the VM B recorded on ETR3, ETR1 are wrong Accidentally, so as to cause the traffic loss for being sent to VM B.
Fig. 3 is the method flow diagram for the determination host migration state that one embodiment of the application provides, the specific steps of which are as follows:
In a kind of embodiment, the host address that need to be observed is the address of the host of original lower extension on ETR.
Step 301:ETR receives the Map-Notify message that MS is sent, it is found that the EID that the message carries is user configuration Host address, and the RLOC of message carrying is not the RLOC of this ETR, it is determined that the host is moved out from this ETR, by the host EID is put into non-volatile memory medium, and confirms the state of the host are as follows: is moved out.
In a kind of embodiment, the host address of user configuration be on ETR original lower extension and there are the hosts that migration needs Address.
Non-volatile memory medium refers to that, when ETR is powered off, the information stored in the non-volatile memory medium is still Will not lose, the most common non-volatile memory medium such as: flash memory.
It is that ageing time is arranged in the EID of the host in non-volatile memory medium in a kind of embodiment, it is a kind of wherein In implementation, which can be equal to the ageing time of the mapping relations of the every EID and RLOC in the Map DB of MS.
When step 302:ETR detects that host is moved into, if finding the EID of the host in non-volatile memory medium, The EID of the host is deleted out of non-volatile memory medium then, and confirms the state of the host are as follows: moves out and repopulates.
In a kind of embodiment, in step 301, when the EID of the host is put into non-volatile memory medium by ETR, into Access interface of the EID on this ETR is correspondingly placed into non-volatile memory medium by one step;
And in step 302, ETR detects that host is moved into and includes:
For the EID and access interface of each host in non-volatile memory medium, ETR is periodical from the access interface Ground is sent out probe messages, if receiving detection response message from the access interface, it is determined that and the EID corresponding host is moved into, Alternatively, ETR, which receives the VM that virtual center vCenter is sent, moves into notice, which carries the EID for moving into host, it is determined that The EID corresponding host is moved into;
And in step 302, when ETR deletes the EID of the host out of non-volatile memory medium, further should The access interface of host is deleted out of non-volatile memory medium.
In a kind of embodiment, probe messages such as: ARP (Address Resolution Protocol, address resolution protocol) Request message or ping message.
In a kind of embodiment, ETR receives the VM that vCenter is sent and moves into notice, further from reset application interface (resetapi) it receives.
For below using use flash memory as non-volatile memory medium, the application is described in detail:
Fig. 4 is the method flow diagram for the determination host migration state that another embodiment of the application provides, and specific steps are such as Under:
Step 400: user configures address original lower extension and in the presence of the VM for migrating needs on the ETR on ETR.
Behind the address of VM that user is configured with original lower extension on ETR and that presence migration needs, each address VM of configuration The original of corresponding VM in line position is the ETR.
In practical application, the upper original lower extension of ETR and there is the address of VM that migration needs and can be an address sky Between, it is also possible to the set of one or more addresses.
Step 401:ETR discovery has that VM is online, and the address of the VM is the address VM of user configuration, then confirms user configuration The address VM correspond to the state of VM are as follows: it is online.
VM online judgment mode is as follows:
When ETR receives ARP message (including gratuitous ARP packet) from an interface, send is read from ARP message IP address, if the send IP address belongs to the address VM of user configuration, then it is assumed that the interface has VM online;
Alternatively, the source IP address of IP packet is read, if the source IP address belongs to when ETR receives IP packet from an interface The address VM of user configuration, then it is assumed that the interface has VM online.
Step 402:ETR receives the Map-Notify message that MS is sent, it is found that the EID that the message carries is user configuration The address VM, and the RLOC of message carrying is not the RLOC of this ETR, it is determined that the VM moves out, by connecing for the EID of the VM and VM Incoming interface the move out VM list item new as one is put into the VM list of moving out in itself flash memory, and confirms the state of the VM are as follows: It moves out.
The access interface of the EID of VM and the VM are put into the VM list of moving out in flash memory, mean that the VM has moved out This ETR.
Step 403: for each list item in the VM list of moving out in itself flash memory, ETR is according to the access in the list item Interface periodically issues probe messages from corresponding interface.
Probe messages are such as: ARP request message, ping message.
Step 404: when ETR receives detection response message from either interface, it is believed that the corresponding VM of the interface is moved back to again This ETR, then delete the access interface of the EID of the VM, the VM from the VM list of moving out in itself flash memory, while confirming should The state of VM are as follows: move out and repopulate.
After ETR power-off, the information in flash memory will not lose, and still can retain, and therefore, when ETR is restarted, restart Still probe messages periodically can be issued from corresponding interface for every list item in the VM list of moving out in flash memory afterwards, from And it ensure that the accuracy of the state of the VM of ETR maintenance.
In addition, since every mapping relations in the Map DB of MS have an ageing time such as: 24 hours, right Ying Di, in the embodiment of the present application, when one aging can be set for every list item in the VM list of moving out in the flash memory of ETR Between, the ageing time is identical as ageing time (usually 24 hours) of the mapping relations in the Map DB of MS, old when list item Change the time to constantly, which is deleted.
In practical applications, step 403~404 could alternatively be:
Step 403: when vCenter determines that a VM moves into an ETR, by itself resetapi between the ETR to The ETR sends VM and moves into notice, which carries the EID of the VM.
Step 404: the ETR receives the VM and moves into notice, searches the notice in the VM list of moving out in itself flash memory The EID of the VM of carrying deletes the corresponding list item of the EID of the VM, simultaneously if finding from the VM list of moving out in flash memory Confirm the state of the VM are as follows: move out and repopulate.
The application example of the application is given below:
Still by taking Fig. 2 as an example, the network segment of VM A, VM B belonging to ETR2 is online, wherein the address of VM A is 1.1.1.100/ The address of 32, VM B is 1.1.1.200/32, and access interface of the VM B on ETR2 is g0/0, and user thinks VM A, VM B It is needed in the presence of migration, then configures 1.1.1.100/32,1.1.1.200/32 on ETR2.
Step 01: when VM B moves to other ETR such as: when ETR4, ETR2 will receive the Map-Notify message that MS is sent, The message carries the mapping relations of the RLOC of the EID and ETR4 of VM B, and ETR2 learns that VM B moves out, then by binary group Flash memory is recorded in { 1.1.1.200/32, g0/0 }, and confirms the state of VM B are as follows: moves out;
Step 02:ETR2 periodically issues ARP request message or Ping message from interface g0/0;
Before VM B moves back to ETR2, even if ETR2 is restarted, due in flash memory binary group 1.1.1.200/32, G0/0 } still can retain, therefore, after restarting, ETR2 will continue to periodically from interface g0/0 issue ARP request message or Ping message;
Step 03: when ETR2 receives arp response message or ping message from interface g0/0, it is believed that VM B is moved back to, then Binary group { 1.1.1.200/32, g0/0 } is deleted from flash memory, and confirms the state of VM B are as follows: moves out and repopulates.
Above-mentioned steps 02~03 also can be replaced:
Step 02: when administrator controls vCenter, and VM B is moved to ETR2, vCenter calls ETR to provide Restapi interface, the VM for sending the EID:1.1.1.200/32 of carrying VM B to ETR2 move into notice.
Step 03:ETR2 receives the notice, and the binary group { 1.1.1.200/32, g0/0 } in flash memory is deleted, and confirms The state of VM B are as follows: move out and repopulate.
The embodiment of the present application has the beneficial effect that:
By the way that when VM moves out, the EID of VM is put into non-volatile memory medium by ETR, so that after ETR is restarted, still It can correctly detect that oneself is directed to the migration role of the VM, enhances migration stability.
Fig. 5 is the composition schematic diagram of the device of determining host migration state provided by the embodiments of the present application, which is located at On ETR, the device mainly includes:
It moves out judging treatmenting module: receiving the Map-Notify message that MS is sent, it is found that the EID that the message carries is user The host address of configuration, and the RLOC of message carrying is not the RLOC of this ETR, it is determined that the host is moved out from this ETR, by this The EID of host is put into non-volatile memory medium, and confirms the state of the host are as follows: is moved out;
Move into judging treatmenting module: when detecting that host is moved into, if finding the host in non-volatile memory medium EID, then the EID of the host is deleted out of non-volatile memory medium, and confirm the state of the host are as follows: move out and move again Enter.
In a kind of embodiment, when the EID of the host is put into non-volatile memory medium by judging treatmenting module of moving out, Further access interface of the EID on this ETR is correspondingly placed into non-volatile memory medium;
And it moves into judging treatmenting module and detects that host is moved into and include:
For the EID and access interface of each host in non-volatile memory medium, periodically from the access interface Probe messages being sent out, if receiving detection response message from the access interface, it is determined that the EID corresponding host is moved into, or Person receives the VM that virtual center vCenter is sent and moves into notice, which carries the EID for moving into host, it is determined that the EID Corresponding host is moved into;
And when moving into judging treatmenting module and deleting the EID of the host out of non-volatile memory medium, further will The access interface of the host is deleted out of non-volatile memory medium.
In a kind of embodiment, the probe messages for moving into judging treatmenting module transmission are Address Resolution Protocol ARP request message, Or ping message.
In a kind of embodiment, the EID of the host is put into non-volatile memory medium into one by judging treatmenting module of moving out Step includes:
Ageing time is set for the EID of the host in non-volatile memory medium, which is equal to the Map of MS The ageing time of the mapping relations of every EID and RLOC in DB.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.

Claims (8)

1. a kind of method of determining host migration state, which is characterized in that this method comprises:
Exit tunnel router ETR receives the mapping notice Map-Notify message that mapping server MS is sent, and finds the message The Endpoint ID EID of carrying is the host address of user configuration, and the route location symbol RLOC that the message carries is not this ETR's RLOC, it is determined that the host is moved out from this ETR, and the EID of the host is put into non-volatile memory medium, confirms the host State are as follows: move out;
When ETR detects that host is moved into, if finding the EID of the host in non-volatile memory medium, by the host EID is deleted out of non-volatile memory medium, and confirms the state of the host are as follows: is moved out and is repopulated;
The host address of the user configuration is address original lower extension and in the presence of the host for migrating needs on the ETR.
2. the method according to claim 1, wherein the EID of the host is put into non-volatile deposit in the ETR When in storage media, further access interface of the EID on this ETR is correspondingly placed into non-volatile memory medium;
The ETR detects that host is moved into
For the EID and access interface of each host in non-volatile memory medium, ETR from the access interface periodically to Outer transmission probe messages, if receiving detection response message from the access interface, it is determined that the EID corresponding host is moved into, alternatively, ETR receives the VM that virtual center vCenter is sent and moves into notice, which carries the EID for moving into host, it is determined that the EID Corresponding host is moved into;
And when the ETR deletes the EID of the host out of non-volatile memory medium, further by the access of the host Interface is deleted out of non-volatile memory medium.
3. according to the method described in claim 2, it is characterized in that, the probe messages are Address Resolution Protocol ARP request report Text or ping message.
4. the method according to claim 1, wherein the EID of the host is put into non-volatile memories by the ETR Further comprise in medium:
ETR is that ageing time is arranged in the EID of the host in non-volatile memory medium, which is equal to the mapping number of MS According to the ageing time of the mapping relations of every EID and RLOC in the DB of library.
5. a kind of device of determining host migration state is located on exit tunnel router ETR, which is characterized in that the device packet It includes:
It moves out judging treatmenting module: receiving the mapping notice Map-Notify message that mapping server MS is sent, find the message The EID of carrying is the host address of user configuration, and the route location that the message carries accords with the RLOC that RLOC is not this ETR, then It determines that the host is moved out from this ETR, the EID of the host is put into non-volatile memory medium, and confirm the state of the host Are as follows: it moves out, the host address of the user configuration is ground original lower extension and in the presence of the host for migrating needs on the ETR Location;
Move into judging treatmenting module: when detecting that host is moved into, if finding the host in non-volatile memory medium EID then deletes the EID of the host out of non-volatile memory medium, and confirms the state of the host are as follows: moves out and repopulates.
6. device according to claim 5, which is characterized in that in the judging treatmenting module of moving out by the EID of the host When being put into non-volatile memory medium, access interface of the EID on this ETR is further correspondingly placed into non-volatile memories In medium;
It is described move into judging treatmenting module and detect that host is moved into include:
It is periodically outside from the access interface for the EID and access interface of each host in non-volatile memory medium Probe messages are sent, if receiving detection response message from the access interface, it is determined that the EID corresponding host is moved into, alternatively, connecing It receives the VM that virtual center vCenter is sent and moves into notice, which carries the EID for moving into host, it is determined that the corresponding master of the EID Machine is moved into;
And it is described move into judging treatmenting module and delete the EID of the host out of non-volatile memory medium when, further will The access interface of the host is deleted out of non-volatile memory medium.
7. device according to claim 6, which is characterized in that it is described move into judging treatmenting module transmission probe messages be Address Resolution Protocol ARP request message or ping message.
8. device according to claim 5, which is characterized in that the judging treatmenting module of moving out puts the EID of the host Enter in non-volatile memory medium and further comprise:
Ageing time is set for the EID of the host in non-volatile memory medium, which is equal to the mapping data of MS The ageing time of the mapping relations of every EID and RLOC in the DB of library.
CN201510626133.4A 2015-09-28 2015-09-28 Determine the method and device of host migration state Active CN105591921B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510626133.4A CN105591921B (en) 2015-09-28 2015-09-28 Determine the method and device of host migration state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510626133.4A CN105591921B (en) 2015-09-28 2015-09-28 Determine the method and device of host migration state

Publications (2)

Publication Number Publication Date
CN105591921A CN105591921A (en) 2016-05-18
CN105591921B true CN105591921B (en) 2019-01-18

Family

ID=55931157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510626133.4A Active CN105591921B (en) 2015-09-28 2015-09-28 Determine the method and device of host migration state

Country Status (1)

Country Link
CN (1) CN105591921B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547400B (en) * 2017-06-21 2020-05-12 新华三技术有限公司 Virtual machine migration method and device
CN107329803A (en) * 2017-07-07 2017-11-07 北京金山安全管理系统技术有限公司 Virtual machine management method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447618A (en) * 2011-10-31 2012-05-09 杭州华三通信技术有限公司 Route switching method in LISP network and apparatus thereof
CN104683236A (en) * 2015-03-27 2015-06-03 杭州华三通信技术有限公司 Routing information learning method and device in location and identifier separation protocol network
CN104780110A (en) * 2015-03-20 2015-07-15 杭州华三通信技术有限公司 Message transmission method in virtual machine migration, and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9608901B2 (en) * 2012-07-24 2017-03-28 Telefonaktiebolaget Lm Ericsson (Publ) System and method for enabling services chaining in a provider network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447618A (en) * 2011-10-31 2012-05-09 杭州华三通信技术有限公司 Route switching method in LISP network and apparatus thereof
CN104780110A (en) * 2015-03-20 2015-07-15 杭州华三通信技术有限公司 Message transmission method in virtual machine migration, and device
CN104683236A (en) * 2015-03-27 2015-06-03 杭州华三通信技术有限公司 Routing information learning method and device in location and identifier separation protocol network

Also Published As

Publication number Publication date
CN105591921A (en) 2016-05-18

Similar Documents

Publication Publication Date Title
CN102457583B (en) Realization method of mobility of virtual machine and system thereof
US20210200578A1 (en) Method and apparatus for determining virtual machine migration
US9992106B2 (en) Generating a host route
CN103179228B (en) Internet Protocol address analytic method and fringe node
US9240944B2 (en) Overlay services in communication networks
US9912584B2 (en) Data center inbound routing optimization in the event of virtual machine mobility
CN110505621B (en) Terminal migration processing method and device
US10530735B2 (en) Pro-active mechanism to detect LISP movable silent host
CN102075591A (en) Method, device and system for acquiring media access control address
EP3493477B1 (en) Message monitoring
US10313224B2 (en) Seamless host mobility
CN105591907B (en) A kind of route obtaining method and device
CN102457586A (en) Expanding method for realizing double-layer network and expanded double-layer network
WO2014114196A1 (en) Keeping a terminal access location record alive
US20180039505A1 (en) Preventing flow interruption caused by migration of vm
CN105591921B (en) Determine the method and device of host migration state
WO2017185322A1 (en) Storage network element discovery method and device
CN105530325B (en) Position and mark separated protocol host migration method and device
CN105591890A (en) Method and device for updating mapping buffering of ingress router
CN109088767B (en) Route updating method and device
CN105591918B (en) Mapping register method and device in position and mark separated protocol network
CN104683236B (en) Position and the routing iinformation learning method in mark separated protocol network and device
CN107864232B (en) Table entry processing method and device
CN104038357A (en) Virtual machine positioning method and device in layer-2 network interconnection environment
JP2001292168A (en) Ip communication system

Legal Events

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

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

Applicant after: Xinhua three Technology Co., Ltd.

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

Applicant before: Huasan Communication Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant