CN105591921A - Method and device for determination of host migration state - Google Patents

Method and device for determination of host migration state Download PDF

Info

Publication number
CN105591921A
CN105591921A CN201510626133.4A CN201510626133A CN105591921A CN 105591921 A CN105591921 A CN 105591921A CN 201510626133 A CN201510626133 A CN 201510626133A CN 105591921 A CN105591921 A CN 105591921A
Authority
CN
China
Prior art keywords
eid
main frame
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.)
Granted
Application number
CN201510626133.4A
Other languages
Chinese (zh)
Other versions
CN105591921B (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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou 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 present invention provides a method and device for determination of a host migration state. The method comprises: an ETR receives a Map-Notify message emitted by an MS, the EID carried by the message is discovered to be a host address configured by a user, and the RLOC carried by the message is not the RLOC of the ETR, so that the host is determined to emigrate from the ETR; the EID of the host is disposed in a nonvolatile storage medium, and the state of the host is determined to be emigration; when the ETR detects the existence of host immigration, if the EID of the host is found in the nonvolatile storage medium, the EID of the host is deleted from the nonvolatile storage medium, and the state of the host is determined to be emigration and then immigration. The migration stability is enhanced.

Description

Determine method and the device of host migration state
Technical field
The application relates to LISP, and (Locator/IdentitySeparationProtocol, position separates with markAgreement) technical field, relate in particular to method and the device of in LISP network, determining host migration state.
Background technology
LISP provides a kind of novel network architecture, and IP address is divided into two independently address spaces:EID (EndpointIdentifier, Endpoint ID) and RLOC (RoutingLocator, route positionSymbol). EID is the host address of communication end point, realizes identically with existing, and the effect in LISP is similarIn DNS (DomainNameSystem, domain name system), have independently space. At LISP netIn network, EID can be independent of RLOC and move; RLOC is the address of LISP router, can beRouting forwarding in existing Internet, can overall route. The message of communicating by letter between EID is encapsulated in RLOCBetween tunnel in forward.
Fig. 1 is LISP network panorama schematic diagram, and as shown in Figure 1, LISP assembly is as follows:
1) xTRs (xTunnelRouters): tunnel router, comprising: ITR (IngressRouter,Entrance TR) and ETR (EgressTR, outlet TR);
On all ETR of each LISP website, safeguard and have the EID of this website and the mapping of RLOC to closeSystem, ETR periodically sends to the mapping relations of the EID of this website and RLOC by logon messageMS。
2) MapDB (MapDataBase, mapping database): EID is to the mapping (enum) data of RLOCStorehouse, the mapping relations that comprise RLOC and EID, are stored in mapping server (MS, MapServer)On;
MS receives the logon message that ETR sends, by the mapping relations of the EID in message and RLOCBe stored in MapDB.
3) PxTR (ProxyxTR): act on behalf of xTR, be positioned at the net of supporting LISP and not supporting LISPNetwork boundary.
LISP has realized separating of core net and edge net with ETR by ITR, it is by a mappingThe mapping that system is used for realizing from EID to RLOC is resolved. LISP is by encapsulation and the deblocking of IP-in-IPInstallation system has realized route and the forwarding in core net.
Taking Fig. 1 as example, when the main frame 1 in LISP website A sends to the main frame 2 in LISP website BWhen data, the EID of main frame 2 is non-routable in core net; When packet arrives after ITR, ITRFind local RLOC corresponding to EID that does not preserve main frame 2, to MR, (MapResolver reflectsRadiolysis parser) send Map-Request message to inquire about the RLOC corresponding to EID of main frame 2, MRMap-Request message is transmitted to MS, and MS finds the EID of main frame 2 in local MapDBThe RLOC of corresponding ETR, Map-Request message is transmitted to ETR by MS, and ETR is by main frame 2EID and oneself RLOC be carried in Map-Response message and return to ITR; Then ITREncapsulate this packet, taking oneself RLOC as source address, taking the RLOC of opposite end ETR as destinationLocation, the mapping relations of simultaneously preserving the EID of main frame 2 and the RLOC of ETR; Opposite end ETR receives thisBag after this bag of decapsulation, finally by Packet Generation to main frame 2.
In LISP network, main frame can move, as shown in Figure 2, and vCenter (virtual center)Control the migration of VM (VirtualMachine, virtual machine), establish at a time, vCenter determinesVMB is moved to DC2 from DC (DataCenter, data center) 1, concrete transition process asUnder:
1) VMB moves to DC2 from DC1, and ETR4 receives the gratuitous ARP (Address that VMB sendsResolutionProtocol, address resolution protocol) message or data message, thus ETR4 perceivesVMB moves under this ETR;
2) ETR4 notifies VM by multicast Notify message to other ETR (ETR3) of these two layers of netsThe B DC2 that moves into, and by registration message the EID to MS registration VMB;
3) MS, according to the EID of VMB in local MapDB, finds corresponding the moving out of VMBThe RLOC of ETR:ETR2, sends Map-Notify message informing VMB to ETR2 and moves out;
4) ETR2 receives after this Map-Notify message, and the state of VMB is made as: move out, and willThis Map-Notify message is broadcasted in these two layers of nets;
5) after ETR2 receives that object is the data message of VMB, to the far-end TR that sends this messageInitiate SMR (SolicitMap-Request, mapping request is initiated in request) message, in this SMR messageCarry the EID of VMB, again go for to trigger this far-end TR the RLOC that moves into that asks VMB corresponding,Abandon this data message simultaneously;
6) far-end TR receives this SMR message, initiates to carry VMB to MR (mapping resolver)The Map-Request message of EID, Map-Request message is transmitted to MS by MR, MS is at thisGround finds the RLOC of the ETR4 that moves into that the EID of VMB is corresponding in MapDB, and MS willMap-Request message is transmitted to ETR4, and ETR4 is by the RLOC's of the EID of VMB and ETR4Mapping relations are carried in Map-Response message and return to far-end TR, and far-end TR closes with this mappingThe EID of former VMB that system's renewal self is preserved and the mapping relations of the RLOC of ETR2, after this, shouldThe message taking VMB as object that far-end TR sends is no longer issued ETR2, but issues ETR4, streamAmount has been moved.
Summary of the invention
The embodiment of the present application provides method and the device of determining host migration state.
The application's technical scheme is achieved in that
A method for definite host migration state, the method comprises: exit tunnel router ETR receivesThe mapping notice Map-Notify message that mapping server MS sends, finds the end points mark that this message is carriedKnowing EID is user configured host address, and the route position sign RLOC that this message is carried is not thisThe RLOC of ETR, definite this main frame is moved out from this ETR, and the EID of this main frame is put into non-volatileIn property storage medium, confirm that the state of this main frame is: move out;
ETR detects when main frame is moved into, if find this main frame in non-volatile memory mediumEID deletes the EID of this main frame in non-volatile memory medium, and confirms the state of this main frameFor: move out and move into again.
A device for definite host migration state, is positioned at ETR upper, and this device comprises:
The judging treatmenting module of moving out: receive the mapping notice Map-Notify that mapping server MS sends and disappearBreath, finds that the EID that this message is carried is user configured host address, and this message route position of carryingPutting symbol RLOC is not the RLOC of this ETR, and definite this main frame is moved out from this ETR, by this main frameEID put into non-volatile memory medium, and confirm that the state of this main frame is: move out;
The judging treatmenting module of moving into: detect when main frame is moved into, if search in non-volatile memory mediumTo the EID of this main frame, the EID of this main frame is deleted in non-volatile memory medium, and confirm to be somebody's turn to doThe state of main frame is: move out and move into.
Visible, in the embodiment of the present application, in the time that VM moves out ETR, ETR puts into the EID of VMIn non-volatile memory medium, make after ETR is restarted, still can correctly detect own to VM'sMigration role, has strengthened migration stability.
Brief description of the drawings
Fig. 1 is LISP network panorama schematic diagram;
Fig. 2 is the migration example figure of main frame between LISP website;
The method flow diagram of definite host migration state that Fig. 3 provides for the application one embodiment;
The method flow diagram of definite host migration state that Fig. 4 provides for another embodiment of the application;
The composition schematic diagram of the device of definite host migration state that Fig. 5 provides for the embodiment of the present application.
Detailed description of the invention
Applicant analyzes the host migration process in existing LISP network, finds to exist as followsProblem:
Taking Fig. 2 as example, when VMB is from DC1 moves to DC2, ETR2 need to record VMB'sState is: moves out, if VMB moves back to DC1 from DC2 again afterwards, now, note before ETR2 inquiryThe state of the VMB of record, is found to be and moves out, and determines that this VMB moves into for moving out again, and will rememberThe state of the VMB of record is updated to: move out and move into.
When having VM to move out or moving out while moving into again, the state that ETR must accurate recording VM, so thatETR carries out different processing for different states, thereby the MapDB's that guarantee MS safeguards is accurateProperty. Still taking Fig. 2 as example, in VMB transition process, the mapping relations in the MapDB of MSChange as follows:
A, after ETR2 starts, can, according to the EID network segment of original support of self configuration, send out to MSSend registration message, this registration message carry this original support the EID network segment (taking IPv4 address as example,The EID network segment is 24bit), the MapDB of MS has just preserved RLOC and the ETR2 of ETR2 like thisThe mapping relations of the EID network segment of original support;
B, after this, can be to MS after VMB is from ETR2 moves to ETR4, and ETR4 perceivesSend registration message, this message carry VMB EID (taking IPv4 address as example, the EID of VMBFor 32bit), MS receives that, after this registration message, the EID of the VMB carrying according to this message is at MapThe mapping relations that find coupling in DB (are the RLOC of ETR2 and the EID of the original support of ETR2The mapping relations of the network segment), find that the EID of the VMB that this message carries is better than in the mapping relations of couplingThe EID network segment of the original support of ETR2, upgrade with the EID of VMB reflecting of mating in MapDBPenetrate the EID network segment of the original support of ETR2 in relation;
Meanwhile, ETR2 receives after the Map-Notify message that MS sends, can be by the state of VMBBe made as: move out;
C, in the time that VMB moves back to ETR2 again, ETR2 is according to the state of the VMB of step b record:Move out, can learn that this VMB is actually to move out to move into again, upgrade the state of VMB for moving outMove into, send registration message to MS, this registration message carries the EID of VMB (with IPv4 addressFor example, the EID of VMB is 32bit), MS receives after this registration message, carries according to this messageThe mapping relations that the EID of VMB finds coupling in MapDB (are EID and the ETR4 of VMBThe mapping relations of RLOC), and find the EID of VMB and the RLOC of ETR2 that this message is carriedMapping relations priority higher than coupling mapping relations (in two mapping relations, the length of EID is identical,But the time of the mapping relations in registration message upgrades), the EID of the VMB carrying with this messageUpgrade the mapping relations of mating in MapDB with the mapping relations of the RLOC of ETR2.
From step c, if VMB moves out after ETR2, because ETR2 such as restarts at the reason, causeThe state of the VMB of the upper record of ETR2 is the information dropout of moving out, and after this VMB moves back to ETR2 againAfter, ETR2 just thinks that VMB moves into for the first time, and that the EID of ETR2 belongs to ETR2 is originalThe EID network segment of supporting, therefore can be made as the state of VMB: online, and can not register ETR2 to MSEID because: ETR2 has registered the EID network segment of original support, this in the time starting to MSSample, the mapping relations of preserving in the MapDB of MS remain the EID of VMB and the RLOC of ETR4Mapping relations, obviously, these mapping relations of preserving in the MapDB of MS are wrong, thus meetingCause issuing the traffic loss of VMB.
In actual applications, network condition and main frame situation cannot ensure, for example: if VMBWhen moving out after ETR2 but also not moving back to, ETR2 has occurred to restart, cause ETR2 upper before recordThe status information of moving out of VMB is lost, after ETR2 is restarted like this, and when VMB moves back to ETR2, willCause ETR2 to think that mistakenly the state of VMB is online instead of moves out and move into, thereby cause sending outToward the traffic loss of VMB; Or, if network concussion in VMB transition process causes ETR4Or the map-notify information drop-out that ETR2 sends, also can cause the upper record of ETR3, ETR1The mapping relations mistake of the EID of VMB and RLOC, thus cause mailing to the traffic loss of VMB.
The method flow diagram of definite host migration state that Fig. 3 provides for the application one embodiment, it specifically walksRapid as follows:
In a kind of embodiment, needing the host address of observing is the address of the main frame of the upper original lower extension of ETR.
Step 301:ETR receives the Map-Notify message that MS sends, and finds the EID that this message is carriedFor user configured host address, and the RLOC that this message is carried is for the RLOC of this ETR, trueFixed this main frame is moved out from this ETR, and the EID of this main frame is put into non-volatile memory medium, and reallyThe state of recognizing this main frame is: move out.
In a kind of embodiment, user configured host address be the upper original lower extension of ETR and there is migrationThe address of the main frame needing.
Non-volatile memory medium refers in the time of ETR power-off, in this non-volatile memory medium, storesInformation still can not be lost, and modal non-volatile memory medium is as flash memory.
In a kind of embodiment, for the EID of this main frame in non-volatile memory medium arranges ageing time,Therein in a kind of implementation, this ageing time can equal every EID in the MapDB of MSAgeing time with the mapping relations of RLOC.
Step 302:ETR detects when main frame is moved into, if find this in non-volatile memory mediumThe EID of main frame deletes the EID of this main frame in non-volatile memory medium, and confirms this main frameState be: move out and move into again.
In a kind of embodiment, in step 301, at ETR, the EID of this main frame is put into non-volatile depositingIn storage media time, further by this EID, the access interface correspondence on this ETR is put into non-volatile depositingIn storage media;
And in step 302, ETR detects that main frame is moved into and comprises:
For EID and the access interface of each main frame in non-volatile memory medium, ETR is from this accessInterface periodically outwards sends probe messages, if receive detection response message from this access interface,Determine that this EID respective hosts moves into, or ETR receives the VM that virtual center vCenter sendsThe notice of moving into, this notice is carried the EID of the main frame of moving into, and determines that this EID respective hosts moves into;
And, in step 302, at ETR, the EID of this main frame is deleted in non-volatile memory mediumTime, further the access interface of this main frame is deleted in non-volatile memory medium.
In a kind of embodiment, probe messages is as ARP (AddressResolutionProtocol, addressAnalysis protocol) request message, or ping message.
In a kind of embodiment, ETR receives VM that vCenter the sends notice of moving into, further from answeringPosition application interface (resetapi) receives.
To adopt flash memory as non-volatile memory medium as example, the application is elaborated below:
The method flow diagram of definite host migration state that Fig. 4 provides for another embodiment of the application, it is concreteStep is as follows:
Step 400: that user configures original lower extension on this ETR on ETR and exist migration to needThe address of VM.
User has configured behind address original lower extension and the VM that existence migration needs on ETR, joinsCorresponding the original of VM in each VM address of putting is this ETR at line position.
In practical application, the address upper original lower extension of ETR and the VM that existence migration needs can beAn address space can be also the set of one or more addresses.
Step 401:ETR finds that there is VM and reaches the standard grade, and the address of this VM is user configured VM groundLocation, confirms that the state of the user configured corresponding VM in this VM address is: online.
The judgment mode that VM reaches the standard grade is as follows:
When ETR is when an interface receives ARP message (comprising gratuitous ARP packet), from ARPIn message, read sendIP address, if this sendIP address belongs to user configured VM address, recognizeFor having VM, this interface reaches the standard grade;
Or, when ETR receives IP message from an interface, read the source IP address of IP message, ifThis source IP address belongs to user configured VM address, thinks that this interface has VM to reach the standard grade.
Step 402:ETR receives the Map-Notify message that MS sends, and finds the EID that this message is carriedFor user configured VM address, and the RLOC that this message is carried is for the RLOC of this ETR, trueFixed this VM moves out, using the access interface of the EID of this VM and this VM as a new VM that moves outList item is put into the VM list of moving out of self flash memory, and confirms that the state of this VM is: move out.
The access interface of the EID of VM and this VM is put into the VM list of moving out of flash memory, just tableShow this VM this ETR that moved out.
Step 403: for each list item of moving out in VM list in self flash memory, ETR was according to shouldAccess interface in list item, periodically sends probe messages from corresponding interface.
Probe messages is as ARP request message, ping message etc.
Step 404: in the time that ETR receives detection response message from arbitrary interface, think this interface correspondenceVM moved back to again this ETR, by the access interface of the EID of this VM, this VM from self flash memoryIn the interior VM list of moving out, delete, confirm that the state of this VM is: move out and move into again simultaneously.
After ETR power-off, the information in flash memory can not be lost, still can retain, therefore, when ETR occursWhile restarting, still can be for every the list item of moving out in VM list in flash memory, periodically after restartingGround sends probe messages from corresponding interface, thereby has ensured the accuracy of the state of the VM of ETR maintenance.
In addition, due to every mapping relations in the MapDB of MS have an ageing time as: 24Hour, therefore, accordingly, in the embodiment of the present application, can be the VM row of moving out in the flash memory of ETREvery list item in table arranges an ageing time, the mapping in the MapDB of this ageing time and MSThe ageing time (being generally 24 hours) of relation is identical, when the ageing time of list item arrives constantly, by this tableEntry deletion.
In actual applications, step 403~404 can replace with:
Step 403: in the time that vCenter determines that a VM moves into an ETR, by self and this ETR itBetween resetapi send the VM notice of moving into this ETR, this notice is carried the EID of this VM.
Step 404: this ETR receives this VM notice of moving into, the VM row of moving out in self flash memoryIn table, search the EID of the VM that this notice carries, if find, by the table corresponding EID of this VMThe VM list of moving out of item in flash memory, delete, confirm that the state of this VM is: move out and move into again simultaneously.
Below provide the application's application example:
Still, taking Fig. 2 as example, VMA, the VMB network segment under ETR2 is online, wherein, and VMAAddress be 1.1.1.100/32, the address of VMB is 1.1.1.200/32, VMB connecing on ETR2Incoming interface is g0/0, and user thinks that VMA, VMB exist migration needs, configure on ETR21.1.1.100/32、1.1.1.200/32。
Step 01: when VMB move to other ETR as: when ETR4, ETR2 can receive that MS sends outThe Map-Notify message of coming, this message is carried the mapping pass of the EID of VMB and the RLOC of ETR4System, ETR2 learns that VMB moves out, by two tuples 1.1.1.200/32, g0/0} is recorded to flash memory, andThe state of confirming VMB is: move out;
Step 02:ETR2 periodically sends ARP request message or Ping message from interface g0/0;
Before VMB moves back to ETR2, even if ETR2 has occurred to restart, due to two tuples in flash memory1.1.1.200/32, and g0/0} still can retain, and therefore, after restarting, ETR2 can continue periodically from connecingMouth g0/0 sends ARP request message or Ping message;
Step 03: in the time that ETR2 receives arp response message or ping message from interface g0/0, recognizeFor VMB moves back to, by two tuples, { 1.1.1.200/32, g0/0} deletes from flash memory, and confirms VMBState be: move out and move into again.
Above-mentioned steps 02~03 is also replaceable is:
Step 02: in the time that keeper controls vCenter VMB is moved to ETR2, vCenter callsThe restapi interface that ETR provides, carries the EID:1.1.1.200/32's of VMB to ETR2 transmissionThe VM notice of moving into.
Step 03:ETR2 receives this notice, and by two tuples in flash memory, { 1.1.1.200/32, g0/0} deletesRemove, and confirm that the state of VMB is: move out and move into again.
The beneficial effect of the embodiment of the present application is as follows:
By in the time that VM moves out, the EID of VM is put into non-volatile memory medium by ETR, makesAfter ETR is restarted, still can correctly detect the own migration role for this VM, strengthen migration steadyQualitative.
The composition schematic diagram of the device of definite host migration state that Fig. 5 provides for the embodiment of the present application, this dressUpper setting in ETR, this device mainly comprises:
The judging treatmenting module of moving out: receive the Map-Notify message that MS sends, find that this message carriesEID be user configured host address, and the RLOC that carries of this message is not the RLOC of this ETR,Definite this main frame is moved out from this ETR, and the EID of this main frame is put into non-volatile memory medium,And the state of confirming this main frame is: move out;
The judging treatmenting module of moving into: detect when main frame is moved into, if search in non-volatile memory mediumTo the EID of this main frame, the EID of this main frame is deleted in non-volatile memory medium, and confirm to be somebody's turn to doThe state of main frame is: move out and move into.
In a kind of embodiment, moving out, the EID of this main frame is put into non-volatile memories by judging treatmenting moduleIn medium time, further by this EID, the access interface correspondence on this ETR is put into non-volatile memoriesIn medium;
And the judging treatmenting module of moving into detects that main frame is moved into and comprises:
For EID and the access interface of each main frame in non-volatile memory medium, from this access interfacePeriodically outwards send probe messages, if receive detection response message from this access interface, determineThis EID respective hosts is moved into, or, receive VM that virtual center vCenter the sends notice of moving into,This notice is carried the EID of the main frame of moving into, and definite this EID respective hosts is moved into;
And, the judging treatmenting module of moving into by the EID of this main frame when deleting in non-volatile memory medium,Further the access interface of this main frame is deleted in non-volatile memory medium.
In a kind of embodiment, the probe messages that the judging treatmenting module of moving into sends is ARPRequest message, or ping message.
In a kind of embodiment, the judging treatmenting module of moving out is put into non-volatile memories by the EID of this main frame and is situated betweenIn matter, further comprise:
For the EID of this main frame in non-volatile memory medium arranges ageing time, this ageing time equalsThe ageing time of every EID in the MapDB of MS and the mapping relations of RLOC.
The foregoing is only the application's preferred embodiment, not in order to limit the application, all at thisWithin the spirit and principle of application, any amendment of making, be equal to replacement, improvement etc., all should be included inWithin the scope of the application's protection.

Claims (9)

1. a method for definite host migration state, is characterized in that, the method comprises:
Exit tunnel router ETR receives the mapping notice Map-Notify that mapping server MS sendsMessage, finds that the Endpoint ID EID that this message is carried is user configured host address, and this messageThe route position sign RLOC carrying is not the RLOC of this ETR, determines that this main frame moves from this ETRGo out, the EID of this main frame is put into non-volatile memory medium, confirm that the state of this main frame is: moveGo out;
ETR detects when main frame is moved into, if find this main frame in non-volatile memory mediumEID deletes the EID of this main frame in non-volatile memory medium, and confirms the state of this main frameFor: move out and move into again.
2. method according to claim 1, is characterized in that, described user configured main frame groundLocation is the address upper original lower extension of described ETR and the main frame that existence migration needs.
3. method according to claim 1, is characterized in that, at described ETR by this main frameWhen EID puts into non-volatile memory medium, the further access interface on this ETR by this EIDCorrespondence is put into non-volatile memory medium;
Described ETR detects that main frame is moved into and comprises:
For EID and the access interface of each main frame in non-volatile memory medium, ETR is from this accessInterface periodically outwards sends probe messages, if receive detection response message from this access interface,Determine that this EID respective hosts moves into, or ETR receives the VM that virtual center vCenter sendsThe notice of moving into, this notice is carried the EID of the main frame of moving into, and determines that this EID respective hosts moves into;
And, described ETR by the EID of this main frame when deleting in non-volatile memory medium, enter oneStep is deleted the access interface of this main frame in non-volatile memory medium.
4. method according to claim 3, is characterized in that, described probe messages is that separate addressAnalyse agreement ARP request message, or ping message.
5. method according to claim 1, is characterized in that, described ETR is by the EID of this main framePutting into non-volatile memory medium further comprises:
ETR is that the EID of this main frame in non-volatile memory medium arranges ageing time, when this is agingBetween while equaling mapping relations aging of every EID in the mapping database DB of MS and RLOCBetween.
6. a device for definite host migration state, is positioned at exit tunnel router ETR upper, its spyLevy and be, this device comprises:
The judging treatmenting module of moving out: receive the mapping notice Map-Notify that mapping server MS sendsMessage, finds that the EID that this message is carried is user configured host address, and this message road of carryingBe not the RLOC of this ETR by position sign RLOC, definite this main frame is moved out from this ETR, shouldThe EID of main frame puts into non-volatile memory medium, and confirms that the state of this main frame is: move out;
The judging treatmenting module of moving into: detect when main frame is moved into, if search in non-volatile memory mediumTo the EID of this main frame, the EID of this main frame is deleted in non-volatile memory medium, and confirmThe state of this main frame is: move out and move into.
7. device according to claim 6, is characterized in that, processes mould in the described judgement of moving outWhen the EID of this main frame is put into non-volatile memory medium by piece, further by this EID at this ETROn access interface correspondence put into non-volatile memory medium;
The described judging treatmenting module of moving into detects that main frame is moved into and comprises:
For EID and the access interface of each main frame in non-volatile memory medium, from this access interfacePeriodically outwards send probe messages, if receive detection response message from this access interface, determineThis EID respective hosts is moved into, or, receive VM that virtual center vCenter the sends notice of moving into,This notice is carried the EID of the main frame of moving into, and definite this EID respective hosts is moved into;
And, the described judging treatmenting module of moving into by the EID of this main frame in non-volatile memory mediumWhen deletion, further the access interface of this main frame is deleted in non-volatile memory medium.
8. device according to claim 7, is characterized in that, described in the judging treatmenting module of moving intoThe probe messages sending is ARP request message, or ping message.
9. device according to claim 6, is characterized in that, described in move out judging treatmenting module willThe EID of this main frame puts into non-volatile memory medium and further comprises:
For the EID of this main frame in non-volatile memory medium arranges ageing time, this ageing time etc.The ageing time of every EID in the mapping database DB of MS and the mapping relations of RLOC.
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 true CN105591921A (en) 2016-05-18
CN105591921B 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)

Cited By (2)

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

Citations (4)

* 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
US20150003455A1 (en) * 2012-07-24 2015-01-01 Telefonaktiebolaget L M Ericsson (Publ) System and method for enabling services chaining in a provider network
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

Patent Citations (4)

* 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
US20150003455A1 (en) * 2012-07-24 2015-01-01 Telefonaktiebolaget L M Ericsson (Publ) System and method for enabling services chaining in a provider network
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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547400A (en) * 2017-06-21 2018-01-05 新华三技术有限公司 A kind of virtual machine migration method and device
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

Also Published As

Publication number Publication date
CN105591921B (en) 2019-01-18

Similar Documents

Publication Publication Date Title
CN102457583B (en) Realization method of mobility of virtual machine and system thereof
CN106412142B (en) Resource equipment address obtaining method and device
US10027623B2 (en) Internet protocol address resolution
US9766833B2 (en) Method and apparatus of storage volume migration in cooperation with takeover of storage area network configuration
US10944744B2 (en) Verifying terminal device
EP2854377A1 (en) A method for centralized address resolution
CN102075591A (en) Method, device and system for acquiring media access control address
US9634887B2 (en) System, method and computer-readable medium for using a plurality of virtual machines
WO2014114196A1 (en) Keeping a terminal access location record alive
EP3493477B1 (en) Message monitoring
CN103795602A (en) Network strategy configuration method and device of virtual network
US20060224799A1 (en) Address management device
CN107544835B (en) Method and device for detecting service network port of virtual machine
CN107623757B (en) Table entry updating method and device
US20180039505A1 (en) Preventing flow interruption caused by migration of vm
CN105704045A (en) Method for virtual machine location information synchronization between data center gateways, gateway and system
WO2017185322A1 (en) Storage network element discovery method and device
CN105591921A (en) Method and device for determination of host migration state
CN107547400B (en) Virtual machine migration method and device
JP6299745B2 (en) COMMUNICATION SYSTEM, CONTROL DEVICE, COMMUNICATION METHOD, AND PROGRAM
EP2323318A1 (en) Method and device for providing service for the duplicate mac address users
WO2019165805A1 (en) Message processing method and apparatus, and storage medium
CN105591890A (en) Method and device for updating mapping buffering of ingress router
CN107070688B (en) Method for configuring node and node
CN105530325A (en) Locator/identity separation protocol host migration method and device

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