CN102647338A - Network communication method and equipment - Google Patents

Network communication method and equipment Download PDF

Info

Publication number
CN102647338A
CN102647338A CN2012100233854A CN201210023385A CN102647338A CN 102647338 A CN102647338 A CN 102647338A CN 2012100233854 A CN2012100233854 A CN 2012100233854A CN 201210023385 A CN201210023385 A CN 201210023385A CN 102647338 A CN102647338 A CN 102647338A
Authority
CN
China
Prior art keywords
access switch
virtual machine
fcid
mapping relations
message
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
CN2012100233854A
Other languages
Chinese (zh)
Other versions
CN102647338B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210023385.4A priority Critical patent/CN102647338B/en
Publication of CN102647338A publication Critical patent/CN102647338A/en
Application granted granted Critical
Publication of CN102647338B publication Critical patent/CN102647338B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention relates to a network communication method and equipment. The network communication method comprises the following steps: FCID (fiber channel identification) of a VM (Virtual Machine) and equipment ID (identification) of an access switch accessed to the VM are received; the mapping relation between the FCID of the VM and the equipment ID of the access switch is recorded; and the mapping relation is issued to access switches on a data center network, so that all the access switches on the data center network, except the access switch accessed to the VM, can conveniently transmit messages with destination addresses being the FCID of the VM to the access switch accessed to the VM. According to the network communication method and the equipment, the interruption of service can be avoided when the VM migrates among different access switches on the data center network.

Description

Network communication method and equipment
Technical field
The embodiment of the invention relates to network communication field, and more specifically, relates to network communication method and equipment.
Background technology
The development of conventional data storage, go through following process: from extensive disk array, to disk chassis, ripe up till now again use based on optical-fibre channel (Fiber Channel, FC) SAN (Storage Area Network, storage area network) of technology.
SAN a kind ofly is integrated in a technology in the express network with memory device, connection device and interface; It is interconnected to make up storage area network that this technology adopts the FC agreement that memory device is carried out more; Memory space is utilized more fully, make installation and management more effective.
Common data center network generally comprises two parts: part be through Ethernet that server and external network is interconnected, with server and interconnected LAN (the Local Area Network of server; Local area network (LAN)), another part is with server and the interconnected SAN of memory device through FC.
Two throw the net, and network gives that the user of data center brings is higher construction and maintenance cost.The trend of industry is that (FC over Ethernet, FCoE) technology merges SAN and LAN, reduced data central site network structure, reduction user's networking cost and later maintenance cost through the FC based on Ethernet at present.
Data center network sketch map after the fusion is as shown in Figure 1; Memory device and server are all through FC transponder (FC Forwarder; FCF) insert the FCoE network, FCF is the access switch on the data center network, wherein; Between the FCF that server and this server insert is the FCoE network, is FC network or FCoE network between the FCF that memory device and this memory device insert.
If the FCF that server needs this server to insert provides service for it; (Network Port N_Port) initiates register requirement to said FCF, and said N_Port is said server for the network port that at first will be through this server; The interface of communicating by letter with said FCF; Said FCF receives the request back and replys register response, comprise FCF in the response and be said server-assignment the FC sign (FC Identifier, FCID); Said FCID be said FCF be 24 unique N_Port signs of the said N_Port of the said server overall situation of distributing (N_Port identifier, N_PORT_ID).After succeeding in registration, said server can send the state of keeplive message with the link of affirmation bearer service to said FCF with certain cycle, comprises the FCID of said server in the said keeplive message.
In order to make a plurality of user's shared resources, improve resource utilization, cut operating costs, can utilize Intel Virtualization Technology server deploy virtual machine (Virtual Machine, VM) and allow VM in data center network, to move.
The N_Port interface that server is communicated by letter with access switch is a physical port.Virtualized introducing, need on the server a plurality of VM respectively the virtual port through separately share a physical port of said server, said virtual port be called virtual N_Port (Virtual N_Port, VN_Port).
As shown in Figure 2, access switch is FCF, and the VM1 on the server 1 is moved to server 2 from server 1, and the migration back is VM1 ' shown in Figure 2, and through the FCF1 access network, the migration back is through the FCF3 access network before the migration.
If pass through different access switch access networks respectively before the VM migration with after the migration, then be referred to as between different access switch, to move.VM need initiate register requirement to the access switch that migration back is inserted after migration between the different access switch, and is that said VM distributes new FCID by said access switch, and this process can cause the service disconnection of said VM.
Summary of the invention
The embodiment of the invention provides a kind of network communication method and equipment, can solve the problem of the service disconnection of said VM when moving between the different access switch of VM on data center network.
On the one hand, a kind of network communication method is provided, said method comprises:
Receive the FCID of VM and the device id of the access switch that said VM inserts;
Write down the mapping relations of device id of FCID and the said access switch of said VM;
Access switch on data center network is issued said mapping relations, so that other access switch the access switch that inserts except that said VM in the access switch on the data center network is that the message of the FCID of said VM is transmitted to the access switch that said VM inserts according to said mapping relations with the destination address that receives.
On the other hand, a kind of network communication equipment is provided, said equipment comprises:
Receiving element is used to receive the FCID of VM and the device id of the access switch that said VM inserts;
Record cell is used to write down the mapping relations of device id of FCID and the said access switch of said VM;
Release unit; The access switch that is used on data center network is issued said mapping relations, so that other access switch the access switch that inserts except that said VM in the access switch on the data center network is that the message of the FCID of said VM is transmitted to the access switch that said VM inserts according to said mapping relations with the destination address that receives.
Pass through the embodiment of the invention; The mapping relations and the access switch on data center network of the device id of the access switch that the FCID of FC Control Server record VM and said VM insert are issued said mapping relations; Access switch on the said data center network receives also and writes down said mapping relations, and other access switch that removes in the access switch on the follow-up data central site network the access switch that said VM inserts is receiving that destination address can be transmitted to said message the access switch of said VM access according to said mapping relations when being the message of said VM.When VM moves between different access switch; VM need not to register again; But after the VM migration; The mapping relations and the access switch on data center network of device id that the device id of the FCID that the new access switch that inserts is current with VM and the access switch of above-mentioned new access reports the FC Control Server and write down the access switch of current FCID of above-mentioned VM and above-mentioned new access by above-mentioned FC Control Server issued said mapping relations; Access switch on the said data center network receives also and writes down said mapping relations, and other access switch that removes in the access switch on the follow-up data central site network the access switch of the new access of said VM is receiving that destination address just can be transmitted to said message the access switch of said new access according to said mapping relations when being the message of said VM.Thereby, can realize that the business of said VM was not interrupted when VM moved between different access switch.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the data center network sketch map after the fusion that provides of prior art
Fig. 2 is the sketch map that VM that prior art provides moves between different access switch
Fig. 3 is the method flow sketch map of the embodiment of the invention 1;
Fig. 4 is the message pick-up flow process flow chart of the embodiment of the invention 2;
Fig. 5 is the mapping relations issue schematic flow sheet of the embodiment of the invention 5;
Fig. 6 is the message forwarding process sketch map of the embodiment of the invention 7;
Fig. 7 is the schematic configuration diagram of the network communication equipment of the embodiment of the invention 10;
Fig. 8 is the schematic configuration diagram of the network communication equipment of the embodiment of the invention 11;
Fig. 9 is the schematic configuration diagram of the network communication equipment of the embodiment of the invention 12;
Figure 10 is the schematic configuration diagram of the network communication equipment of the embodiment of the invention 13.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The embodiment of the invention is introduced the FC Control Server; Receive and write down the mapping relations of the device id of the FCID of VM and the access switch that said VM inserts; And the access switch on data center network is issued said mapping relations; Access switch on the said data center network receives and writes down said mapping relations; After other access switch the access switch that inserts except that said VM in the access switch on the follow-up data central site network receives the message of FCID that destination address is said VM; Obtain the device id of the access switch that said VM inserts according to said mapping relations, and transmit said message to the access switch that said VM inserts according to said device id.
Need to prove that the FC Control Server is a logical functional entity, in the actual deployment of network; Can independently dispose; Also can be deployed on other network entity, as, can be deployed on the switch in the network; Like the convergence switch of FCoE network, also can be deployed on the NM server.
Fig. 3 is the schematic flow diagram of the network communication method that provides of the embodiment of the invention 1.
As shown in Figure 3, method 100 comprises:
110: receive the FCID of VM and the device id of the access switch that said VM inserts;
Specifically can be to receive said FCID and said device id from the access switch that VM inserts.
Said access switch is the access switch on the data center network; Specifically can be that the FCoE initializtion protocol is monitored bridge (FCoE Initialization Protocol Snooping Bridge; FSB) or the FCoE headend (FCoE Data Forwarder, FDF).
120: the mapping relations of device id that write down FCID and the said access switch of said VM;
130: the access switch on data center network is issued said mapping relations, so that other access switch the access switch that inserts except that said VM in the access switch on the data center network is that the message of the FCID of said VM is transmitted to the access switch that said VM inserts according to said mapping relations with the destination address that receives.
Access switch on the said data center network specifically can be FSB, FDF or FCF.
Below in conjunction with Fig. 4, specify the example implementation process of step 110 of the network communication method 100 of the embodiment of the invention 1 through the embodiment of the invention 2.
Step 111 to step 113 is the example implementation process of step 110.
Step 111:VM sends the cycle message to access switch, comprises the FCID of VM in the said cycle message.
Said cycle message refers to; The message that the access switch that VM inserted through this VM with certain cycle sends to said FC Control Server; Specifically can be that VM passes through the keeplive message of the access switch of this VM access to said FC Control Server transmission, can also be that a kind of VM of being used for that increases newly passes through the cycle message of the access switch of access to the FCID of said this VM of FC Control Server transmission.
The FCID of said VM can be distributed by the FC Control Server, is specially: after VM reaches the standard grade, initiate registration to the FC Control Server, and be its distribution FCID by the FC Control Server, the back VM that succeeds in registration can send the cycle message to the FC Control Server.
Said VM is before initiating registration to said FC Control Server; Need obtain the address of said FC Control Server; Specifically can for; On data center network, send broadcasting packet, the FC Control Server on the data center network can be replied a response message to said VM after receiving broadcasting packet, carries the address of the FC Control Server of replying response message in the said response message.If more than one of the FC Control Server of answer response message; Then said VM therefrom selects a FC Control Server according to certain strategy, and initiates registration through the address in the response message of the said FC Control Server answer of selecting to said FC Control Server.
Step 112 access switch adds the device id of this access switch in the said cycle message to;
Said cycle message is a kind of of FCoE protocol massages; In order to judge whether said message is the cycle message, said access switch can judge earlier whether said message is the FCoE protocol massages, if the FCoE protocol massages; Then resolve this message and see whether be the cycle message; Like the keeplive message, if the cycle message, then the device id with this access switch adds in the said cycle message.Saidly judge that whether said message is that the method for FCoE protocol massages can be to judge according to the value of the type parameter that carries in the said Ethernet message head.
Device id specifically can be the MAC Address of access switch.
Alternatively; Access switch can judge earlier whether said VM is the new VM that inserts said access switch; The new VM that inserts said access switch specifically refers to the VM that on said access switch, newly reaches the standard grade or moves to the VM of this access switch from other access switch, if the new VM that inserts, then the device id with this access switch itself adds in the said cycle message; If not, then do not add.
Access switch can write down the mapping relations of MAC Address of FCID and this VM of the VM that inserts this access switch.Access switch judge said VM whether be the new VM that inserts method specifically can for, judge whether this access switch has write down the mapping relations of FCID with the MAC Address of said VM of said VM, if do not have, confirm that then said VM be the new VM of access.If confirming said VM be the VM of new access, then write down the mapping relations of MAC Address of FCID and the said VM of said VM.
Step 113 is transmitted the said cycle message that has added device id to the FC Control Server
In above-mentioned example implementation process, access switch can utilize the cycle message to send the FCID of said VM and the device id of this access switch to the FC Control Server.Because being VM, the cycle message periodically sends to the FC Control Server through the access switch that said VM inserts; The benefit of utilizing said cycle message to carry is; In case have VM to move to this access switch, then can in time the FCID of said VM and the device id of this access switch be sent to said FC Control Server.
Specify another example implementation process of step 110 of the network communication method 100 of the embodiment of the invention 1 below through the embodiment of the invention 3:
The FCID of said VM also can be distributed by convergence switch; Be specially: after VM reaches the standard grade, initiate registration, distribute FCID for this VM by convergence switch to convergence switch; The back VM that succeeds in registration can periodically send the cycle message to convergence switch, like the keeplive message.
Access switch receives the cycle message of the FCID that comprises VM from VM; The device id of this access switch itself is added in the said cycle message and is transmitted to said convergence switch, and convergence switch sends to the FC Control Server with the FCID of said VM and the device id of said access switch through a new message.Practical implementation can be through the address of configuration FC Control Server on convergence switch; Like IP address, MAC Address; And the transmission destination address is the message of the address of said FC Control Server; Comprise said FCID and said device id in the message, and information type, said information type is used to indicate that said message carries is the FCID of VM and the device id of the access switch that said VM inserts.
Specify the example implementation process of step 120 of the network communication method 100 of the embodiment of the invention 1 below through the embodiment of the invention 4:
The FC Control Server can first query mappings table; Judge whether said FC Control Server exists the record of mapping relations of the device id of the access switch that FCID and the said VM of said VM insert; If confirm not have the record of said mapping relations; And the record of mapping relations of device id that does not have FCID and second access switch of said VM; Then write down said mapping relations and in step 130 access switch on data center network issue said mapping relations, the device id of wherein said second access switch is different from the device id of the access switch that said VM inserts; If confirm not have the record of mapping relations of the device id of the FCID of said VM and the access switch that said VM inserts; And the record of mapping relations of device id that FCID and second access switch of said VM are arranged; Then the mapping relations of the device id of the FCID of said VM and said second access switch are replaced with the mapping relations of the device id of the FCID of said VM and the access switch that said VM inserts, and the access switch on data center network is issued the mapping relations of FCID with the device id of the access switch of said VM access of said VM in step 130.If there are said mapping relations, then need not record.
Need to prove that the embodiment of the invention 4 can combine with the embodiment of the invention 2 or the embodiment of the invention 3.
Below in conjunction with Fig. 5, specify the example implementation process of step 130 of the network communication method 100 of the embodiment of the invention 1 through the embodiment of the invention 5.
As shown in Figure 5, the access switch that VM1 inserts is FSB1.The MAC Address of VM1 is MACm, and the FCID of VM1 is FCID1, and the device id of FSB1 is MAC1.
According to the embodiment of the invention 1,2 or 3 described methods; The FC Control Server receives and has write down the mapping relations of the device id of the FCID of VM and the access switch that said VM inserts; As shown in Figure 5; The FC Control Server receives and has write down the mapping relations of MAC Address of FCID and the FSB1 of VM1, the i.e. mapping relations of FCID1 and MAC1.
The access switch of FC Control Server on data center network; Like FCF, the FSBn among the figure; Issue said mapping relations; Said access switch specifically can be FCF, FSB or FDF, and said access switch judges whether this access switch has the record of said mapping relations, if do not have the record of said mapping relations and do not have the record of mapping relations of device id of FCID and second access switch of said VM; Then write down said mapping relations, the device id of wherein said second access switch is different from the device id of the access switch of said VM access; If do not write down said mapping relations and write down the mapping relations of device id of FCID and second access switch of said VM, then the mapping relations of the device id of the FCID of said VM and said second access switch are replaced with the mapping relations of the device id of the FCID of said VM and the access switch that said VM inserts.
The access switch that said VM inserts is when the device id of the FCID that sends said VM to FC Control Server or convergence switch and this access switch; Can write down the mapping relations of said FCID and said device id simultaneously; If write down said mapping relations; Then when receiving the said mapping relations of FC Control Server issue, can not write down said mapping relations again.
Need to prove that the embodiment of the invention 5 can combine with the arbitrary embodiment in the embodiment of the invention 2 to 4.
Specify another example implementation process of step 130 of the network communication method 100 of the embodiment of the invention 1 below through the embodiment of the invention 6.
The FC Control Server only access switch in specific broadcast domain is issued said mapping relations; Specifically can be according to VLAN (the Virtual Local Area Network of the Ethernet message head of the message that receives; VLAN) ID confirms said broadcast domain, and the access switch issue in the corresponding broadcast domain of said VLAN ID.
The benefit of the access switch issue mapping relations in specific broadcast domain is to reduce the flow pressure that broadcasting brings network.
Need to prove that the embodiment of the invention 6 can combine with the arbitrary embodiment in the embodiment of the invention 2 to 5.
Second access switch that specifies the mapping relations that write down first access switch that VM and said VM insert through the embodiment of the invention 7 is below received when destination address is the message of FCID of said VM example implementation process from said message to said first access switch that transmit, and said second access switch is different from said first access switch.
If it is the message of the FCID of said VM that second access switch is received destination address, can arrives the device id of said first access switch according to said mapping relationship searching, and said message is transmitted to said first access switch according to said device id.Saidly said message is transmitted to said first access switch according to said device id; Specifically can for; The device id of said first access switch is the MAC Address of said first access switch; Second access switch adds said MAC Address in the Ethernet message head of said message to, thereby said message is sent to said first access switch.
Need to prove that the embodiment of the invention 7 can combine with the arbitrary embodiment in the embodiment of the invention 1 to 6.
Below in conjunction with Fig. 6, when specifying access switch that VM inserts and receive that destination address is the message of FCID of said VM said message is transmitted to the example implementation process of said VM through the embodiment of the invention 8.
The access switch that said VM inserts can be according to the mapping relationship searching of the MAC Address of the FCID of the said VM of storage and the said VM MAC Address to said VM; And said message is sent to said VM according to said MAC Address; Specifically can be the MAC Address of the said access switch in the Ethernet message head of said message itself to be replaced with the MAC Address of said VM.
As shown in Figure 6, the access switch that VM1 inserts is FSB1.The MAC Address of VM1 is MACm, and the FCID of VM1 is FCID1, and the device id of FSB1 is MAC1.
After the execution in step 110 to 130, the access switch on the data center network has all write down the mapping relations of FCID1 and MAC1, and FSB1 has write down the mapping relations of FCID1 and MACm.
Memory device sends message to VM1; Destination address in the FC heading of said message is FCID1; Target MAC (Media Access Control) address in the Ethernet message head of said message is the MAC Address of said FCF, after FCF receives said message, and the query mappings table; The device id of finding the access switch that VM1 inserts is MAC1, so change the target MAC (Media Access Control) address in the Ethernet message head of message into MAC1.After message arrives FSB1; FSB1 confirms that according to the mapping relations of FCID1 and the MACm of storage the MAC Address of the VM of the FCID1 correspondence in the FC heading of said message is MACm, so said MAC Address added in the Ethernet message head of said message said message is transmitted to VM1.
Need to prove that the embodiment of the invention 8 can combine with the arbitrary embodiment in the embodiment of the invention 1 to 7.
Provide the FC Control Server through the optional embodiment of the invention 9 below and detect the example implementation process that VM rolls off the production line and deletes said VM and the mapping relations of the access switch of said VM access.
If the FC Control Server detects certain VM and has rolled off the production line (comprising the abnormal off-line that normally rolls off the production line and to cause with failure and other reasons); The mapping relations of the device id of the access switch that then FCID of the said VM that rolls off the production line of deletion and said VM insert from mapping table, and the access switch on the notification data central site network is deleted said mapping relations.
The method that FC Control Server detection VM rolls off the production line has multiple, as, receiving the message that FC nullifies that is used for that sends when VM normally rolls off the production line, the message that the said FC of being used for nullifies specifically can be a FLOG OUT message, can confirm that then said VM has rolled off the production line; And for example; During reaching the standard grade, VM can periodically send the keeplive message to the FC Control Server; Also confiscate new keeplive message if surpass setting-up time after the FC Control Server is found to receive the keeplive message of said VM apart from last time; Can confirm that then said VM has rolled off the production line, said setting-up time sends the cycle more than or equal to the keeplive message.
According to the embodiment of the invention 1, the embodiment of the invention 10 has proposed to be used for realizing the network communication equipment of above-mentioned network communication method.As shown in Figure 7, said network communication equipment comprises with lower unit:
Receiving element 1001 is used to receive the FCID of a VM and the device id of first access switch that a said VM inserts;
Record cell 1002 is used to write down the mapping relations of device id of FCID and said first access switch of a said VM;
Release unit 1003; The access switch that is used on data center network is issued said mapping relations, so that other access switch except that said first access switch is that the message of the FCID of a said VM is transmitted to said first access switch according to said mapping relations with the destination address that receives in the access switch on the data center network.
According to the embodiment of the invention 1 to 8, the embodiment of the invention 11 has proposed to be used for realizing the network communication equipment of above-mentioned network communication method.As shown in Figure 8, said network communication equipment comprises like the described receiving element of embodiment 10 1001, record cell 1002 and release unit 1003;
Preferably; Said receiving element; Specifically be used for carrying from the convergence switch reception that the perhaps said access switch of access switch that said VM inserts connects the message of the device id of the FCID of a said VM and first access switch that a said VM inserts, concrete function is realized the step 113 and the embodiment of the invention 3 referring to the embodiment of the invention 2.
Preferably, the said message that said receiving element receives carries VLAN ID, and said release unit specifically is used for issuing said mapping relations to the switch of the corresponding broadcast domain of said VLAN ID, and concrete function is realized referring to the embodiment of the invention 6.
Preferably, said equipment can also comprise, confirms unit 1004, is used for confirming whether said equipment exists the record of mapping relations of device id of FCID and the said access switch of said VM.The concrete function of the concrete function realization of said definite unit and the said record cell that relates to is realized referring to the embodiment of the invention 4.
Alternatively; Said equipment also comprises detecting unit 1005 and delete cells 1006; Said detecting unit is used to detect VM and rolls off the production line, said delete cells; Be used for deleting from mapping table the mapping relations of the device id of the FCID of the said VM of rolling off the production line and the access switch that said VM inserts, the access switch that said release unit specifically also is used on the notification data central site network is deleted said mapping relations.The concrete function of said detecting unit is realized referring to embodiment 9.
Preferably, said equipment can also comprise, registering unit 1007 is used to realize the VM registration, specifically is used for, and receives the register requirement that a said VM sends, and for a said VM distributes FCID, returns register response, and said register response comprises said FCID.
The foregoing description 10 and embodiment 11 described network communication equipments; Realize by above-mentioned FC Control Server; Also can realize by above-mentioned convergence switch; Comprise backboard (backbone), ply-yarn drill (linecard), exchange chip hardware such as (fabric circuit), also comprise hardware such as CPU, internal memory alternatively.
According to the embodiment of the invention 1, the embodiment of the invention 12 has proposed to be used for realizing the network communication equipment of above-mentioned network communication method.As shown in Figure 9, said network communication equipment is realized by first access switch, comprises with lower unit:
Transmitting element 1101; Be used for sending the FCID of a VM who inserts said first access switch and the device id of said first access switch, so that said FC Control Server writes down the mapping relations of said FCID and said device id and the access switch on data center network is issued said mapping relations to the FC Control Server;
The first message receiving element 1102, being used for receiving the destination address that access switch other access switch except that said first access switch on the data center network transmits according to said mapping relations is the message of the FCID of a said VM;
The first message retransmission unit 1103 is used for transmitting said message to a said VM.
According to the embodiment of the invention 1 to 8, the embodiment of the invention 13 has proposed to be used for realizing the network communication equipment of above-mentioned network communication method.Shown in figure 10, said network communication equipment comprises like the described transmitting element of embodiment 12 1101, the first message receiving element 1102 and the first message retransmission unit 1103;
Preferably, said network communication equipment also comprises receiving element 1104 and adding device 1105, and said receiving element specifically is used to receive the cycle message that a said VM sends, and comprises the FCID of a said VM in the said cycle message; Said adding device is used for adding the device id of said first access switch to said cycle message; Said transmitting element specifically is used for transmitting the said cycle message that has added said device id to the FC Control Server, and the concrete function of said receiving element, adding device, transmitting element is realized referring to embodiment 2.
Preferably; Said network communication equipment also comprises judging unit 1106; Be used to judge whether a said VM is the new VM that inserts; If the new VM that inserts, said adding device adds the device id of said first access switch in said cycle message, and the concrete function of the concrete function realization of said judging unit and the adding device that relates to is realized the step 112 referring to embodiment 2.
Preferably; Said network communication equipment also comprises first query unit 1107; Said first query unit is used to inquire about the mapping relations of MAC Address of FCID and the said VM of the VM that inserts said first access switch, obtains the MAC Address of a said VM according to the FCID of a said VM; The said first message retransmission unit; Specifically be used for transmitting said message according to the MAC Address of a said VM to a said VM, the concrete function of the concrete function realization of said first query unit and the first message retransmission unit that relates to is realized referring to the embodiment of the invention 8.
Said network communication equipment also comprises mapping relations receiving element 1108 and mapping relations record cell 1109, and said mapping relations receiving element is used to receive the mapping relations of device id of FCID and second access switch that said the 2nd VM inserts of the 2nd VM of FC Control Server issue; Said mapping relations record cell is used to write down said mapping relations, and the concrete function of said mapping relations receiving element and said mapping relations record cell is realized referring to the embodiment of the invention 5.
Said network communication equipment also comprises mapping relations judging unit 1110; Be used to judge whether the record of said mapping relations; If the mapping relations of the FCID that does not have the record of said mapping relations and said the 2nd VM arranged and the device id of the 3rd access switch that is different from said second access switch, said mapping relations record cell specifically are used for the mapping relations of device id that mapping relations with the device id of the FCID of said the 2nd VM and said the 3rd access switch replace with FCID and said second access switch of said the 2nd VM.
Said network communication equipment also comprises the second message receiving element 1111, second query unit 1112 and the second message retransmission unit 1113, and the said second message receiving element is used to receive the message that destination address is the FCID of the 2nd VM; Said second query unit is used for inquiring about according to said mapping relations the device id of second access switch that said the 2nd VM inserts, and said second access switch is different from said first access switch; The said second message retransmission unit is used for transmitting said message according to said device id to said second access switch, and the concrete function of the said second message receiving element, second query unit, the second message retransmission unit is realized referring to the embodiment of the invention 7.
The foregoing description 11 and embodiment 12 described network communication equipments are realized by above-mentioned access switch FSB or FDF, comprise hardware such as ply-yarn drill, exchange chip, also comprise backboard alternatively.
Those of ordinary skills can recognize, the unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions still are that software mode is carried out with hardware actually, depend on the application-specific and the design constraint of technical scheme.The professional and technical personnel can use distinct methods to realize described function to each certain applications, but this realization should not thought and exceeds scope of the present invention.
The those skilled in the art can be well understood to, for the convenience described with succinct, the concrete course of work of the equipment of foregoing description and unit can repeat no more at this with reference to the corresponding process among the preceding method embodiment.
In several embodiment that the application provided, should be understood that equipment that is disclosed and method can realize through other mode.For example, device embodiment described above only is schematically, for example; The division of said unit; Only be that a kind of logic function is divided, during actual the realization other dividing mode can be arranged, for example a plurality of unit or assembly can combine or can be integrated into another system; Or some characteristics can ignore, or do not carry out.Another point, the coupling each other that shows or discuss or directly coupling or communication to connect can be through some interfaces, the INDIRECT COUPLING of device or unit or communication connect, and can be electrically or other form.
Said unit as separating component explanation can or can not be physically to separate also, and the parts that show as the unit can be or can not be physical locations also, promptly can be positioned at a place, perhaps also can be distributed on a plurality of NEs.Can realize the purpose of present embodiment scheme according to the needs selection some or all of unit wherein of reality.
In addition, each functional unit in each embodiment of the present invention can be integrated in the processing unit, also can be that the independent physics in each unit exists, and also can be integrated in the unit two or more unit.
If said function realizes with the form of SFU software functional unit and during as independently production marketing or use, can be stored in the computer read/write memory medium.Based on such understanding; The part that technical scheme of the present invention contributes to prior art in essence in other words or the part of this technical scheme can be come out with the embodied of software product; This computer software product is stored in the storage medium; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out all or part of step of the said method of each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD.
The above; Be merely embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technical staff who is familiar with the present technique field is in the technical scope that the present invention discloses; Can expect easily changing or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by said protection range with claim.

Claims (14)

1. a network communication method is characterized in that, said method comprises:
Receive the optical-fibre channel sign FCID of first virtual machine and the device identification ID of first access switch that said first virtual machine inserts;
Write down the mapping relations of device id of FCID and said first access switch of said first virtual machine;
Access switch on data center network is issued said mapping relations, so that other access switch except that said first access switch is that the message of the FCID of said first virtual machine is transmitted to said first access switch according to said mapping relations with the destination address that receives in the access switch on the data center network.
2. the method for claim 1 is characterized in that, the mapping relations of the FCI D of said first virtual machine of said record and the device id of said first access switch are specially,
The FC Control Server confirms that said FC Control Server does not have the record of mapping relations of device id of FCID and said first access switch of said first virtual machine; And the record of mapping relations of device id that does not have FCID and second access switch of said virtual machine; Then write down the mapping relations of device id of FCID and said first access switch of said first virtual machine, the device id of wherein said second access switch is different from the device id of said first access switch; With
Said FC Control Server confirms that said FC Control Server does not have the record of mapping relations of device id of FCID and said first access switch of said virtual machine; And the record of mapping relations of device id that FCID and second access switch of said virtual machine are arranged then replaces with the mapping relations of the device id of the FCID of said virtual machine and said second access switch mapping relations of device id of FCID and said first access switch of said virtual machine.
3. a network communication method is characterized in that, said method comprises:
First access switch sends the FCID of first virtual machine that inserts said first access switch and the device id of said first access switch to the FC Control Server, so that said FC Control Server writes down the mapping relations of said FCI D and said device id and the access switch on data center network is issued said mapping relations;
It is the message of the FCID of said first virtual machine that said first access switch receives the destination address that other access switch except that said first access switch is transmitted according to said mapping relations in the access switch on the data center network;
Said first access switch is transmitted said message to said first virtual machine.
4. method as claimed in claim 3 is characterized in that,
Said first access switch sends the FCID of first virtual machine that inserts said first access switch and the device id of said first access switch to the FC Control Server, is specially,
Said first access switch receives the cycle message that said first virtual machine sends, and comprises the FCID of said first virtual machine in the said cycle message;
Said first access switch adds the device id of said first access switch in the said cycle message to;
Said first access switch is transmitted the said cycle message that has added said device id to the FC Control Server.
5. method as claimed in claim 3 is characterized in that,
At said first access switch before said first virtual machine is transmitted said message; Also comprise; The inquiry of said first access switch inserts the mapping relations table of MAC Address of FCID and said virtual machine of the virtual machine of said first access switch, obtains the MAC Address of said first virtual machine according to the FCID of said first virtual machine;
Said first access switch is transmitted said message to said first virtual machine, is specially, and said first access switch is transmitted said message according to the MAC Address of said first virtual machine to said first virtual machine.
6. like any described method of claim of claim 3-5, it is characterized in that, also comprise,
The mapping relations of the FCID of second virtual machine of said first access switch reception FC Control Server issue and the device id of second access switch that said second virtual machine inserts;
Said first access switch writes down said mapping relations.
7. method as claimed in claim 6 is characterized in that,
Said first access switch writes down said mapping relations, is specially,
Said first access switch confirms not have the record of mapping relations of device id of FCID and said second access switch of said second virtual machine; And the record of mapping relations of device id that does not have FCID and the 3rd access switch of said second virtual machine; Then write down the mapping relations of device id of FCID and said second access switch of said second virtual machine, the device id of wherein said the 3rd access switch is different from the device id of said second access switch; With
Said first access switch confirms not have the record of mapping relations of device id of FCID and said second access switch of said second virtual machine; And the record of mapping relations of device id that FCID and the 3rd access switch of said second virtual machine are arranged then replaces with the mapping relations of the device id of the FCID of said second virtual machine and said the 3rd access switch the mapping relations of device id of FCID and said second access switch of said second virtual machine.
8. method as claimed in claim 6 is characterized in that,
After said first access switch writes down said mapping relations, also comprise,
It is the message of the FCID of said second virtual machine that said first access switch receives destination address;
Said first access switch is inquired about the device id of second access switch that said second virtual machine inserts according to said mapping relations, and said second access switch is different from said first access switch;
Said first access switch is transmitted said message according to said device id to said second access switch.
9. a network communication equipment is characterized in that, said equipment comprises:
Receiving element is used for the FCID of sink virtual machine and the device id of first access switch that said virtual machine inserts;
Record cell is used to write down the mapping relations of device id of FCID and said first access switch of said virtual machine;
Release unit; The access switch that is used on data center network is issued said mapping relations, so that other access switch except that said first access switch is that the message of the FCID of said virtual machine is transmitted to said first access switch according to said mapping relations with the destination address that receives in the access switch on the data center network.
10. equipment as claimed in claim 9 is characterized in that, said equipment also comprises:
Confirm the unit; Be used for confirming whether said network communication equipment exists the record of mapping relations of device id of FCID and said first access switch of said virtual machine; If confirm not have the record of mapping relations of device id of FCID and said first access switch of said virtual machine, and the record of mapping relations of device id of FCID and second access switch of said virtual machine is arranged;
Said record cell specifically is used for the mapping relations of device id that mapping relations with the device id of the FCID of said virtual machine and said second access switch replace with FCID and said first access switch of said virtual machine.
11. a network communication equipment, said network communication equipment are realized by first access switch, it is characterized in that, said equipment comprises:
Transmitting element; Be used for sending the FCID of first virtual machine that inserts said first access switch and the device id of said first access switch, so that said FC Control Server writes down the mapping relations of said FCID and said device id and the access switch on data center network is issued said mapping relations to the FC Control Server;
The first message receiving element, being used for receiving the destination address that access switch other access switch except that said first access switch on the data center network transmits according to said mapping relations is the message of the FCID of said first virtual machine;
The first message retransmission unit is used for transmitting said message to said first virtual machine.
12. equipment as claimed in claim 11 is characterized in that, said equipment also comprises:
Receiving element is used to receive the cycle message that said first virtual machine sends, and comprises the FCID of said first virtual machine in the said cycle message;
Adding device is used for adding the device id of said first access switch to said cycle message;
Said transmitting element specifically is used for transmitting the said cycle message that has added said device id to the FC Control Server.
13. equipment as claimed in claim 12 is characterized in that, said equipment also comprises:
The mapping relations receiving element is used to receive the mapping relations of device id of FCID and second access switch that said second virtual machine inserts of second virtual machine of FC Control Server issue;
The mapping relations record cell is used to write down said mapping relations.
14. equipment as claimed in claim 13 is characterized in that, said equipment also comprises:
The second message receiving element is used to receive the message that destination address is the FCID of second virtual machine;
Second query unit is used for inquiring about according to said mapping relations the device id of second access switch that said second virtual machine inserts, and said second access switch is different from said first access switch;
The second message retransmission unit is used for transmitting said message according to said device id to said second access switch.
CN201210023385.4A 2012-02-03 2012-02-03 Network communication method and equipment Active CN102647338B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210023385.4A CN102647338B (en) 2012-02-03 2012-02-03 Network communication method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210023385.4A CN102647338B (en) 2012-02-03 2012-02-03 Network communication method and equipment

Publications (2)

Publication Number Publication Date
CN102647338A true CN102647338A (en) 2012-08-22
CN102647338B CN102647338B (en) 2015-04-29

Family

ID=46659922

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210023385.4A Active CN102647338B (en) 2012-02-03 2012-02-03 Network communication method and equipment

Country Status (1)

Country Link
CN (1) CN102647338B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103491010A (en) * 2012-10-17 2014-01-01 华为技术有限公司 Method, device and system transmitting messages in virtual network
CN103561128A (en) * 2013-11-04 2014-02-05 福建星网锐捷网络有限公司 FC ID recycling method and network equipment
WO2014169439A1 (en) * 2013-04-16 2014-10-23 华为技术有限公司 Method, device and system for realizing fcoe
CN104780110A (en) * 2015-03-20 2015-07-15 杭州华三通信技术有限公司 Message transmission method in virtual machine migration, and device
CN104935573A (en) * 2015-04-24 2015-09-23 杭州华三通信技术有限公司 Migration method and device of virtual machine

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107241271B (en) * 2017-06-19 2020-02-21 联想(北京)有限公司 Data processing method and network equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8593943B2 (en) * 2010-03-22 2013-11-26 Cisco Technology, Inc. N—port ID virtualization node redundancy
CN102340436B (en) * 2010-07-14 2014-02-05 杭州华三通信技术有限公司 Cross-network message forwarding method and switch system
CN102143138A (en) * 2010-09-15 2011-08-03 华为技术有限公司 Method and device for configuring virtual local area network (VLAN) in live migration process of virtual machine

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103491010A (en) * 2012-10-17 2014-01-01 华为技术有限公司 Method, device and system transmitting messages in virtual network
US9270590B2 (en) 2012-10-17 2016-02-23 Huawei Technologies Co., Ltd. Method, apparatus and system for transmitting packets in virtual network with respect to a virtual machine (VM) migration
CN103491010B (en) * 2012-10-17 2016-12-07 华为技术有限公司 The methods, devices and systems of message are sent in virtual network
WO2014169439A1 (en) * 2013-04-16 2014-10-23 华为技术有限公司 Method, device and system for realizing fcoe
CN104350710A (en) * 2013-04-16 2015-02-11 华为技术有限公司 Method, device and system for realizing FCoE
CN104350710B (en) * 2013-04-16 2017-12-08 华为技术有限公司 Realize FCoE methods, devices and systems
CN103561128A (en) * 2013-11-04 2014-02-05 福建星网锐捷网络有限公司 FC ID recycling method and network equipment
CN103561128B (en) * 2013-11-04 2017-03-29 福建星网锐捷网络有限公司 Fiber channel identity recovery and treatment method and the network equipment
CN104780110A (en) * 2015-03-20 2015-07-15 杭州华三通信技术有限公司 Message transmission method in virtual machine migration, and device
CN104780110B (en) * 2015-03-20 2018-04-10 新华三技术有限公司 Message transmitting method and equipment during a kind of virtual machine (vm) migration
CN104935573A (en) * 2015-04-24 2015-09-23 杭州华三通信技术有限公司 Migration method and device of virtual machine
CN104935573B (en) * 2015-04-24 2019-06-04 新华三技术有限公司 Virtual machine migration method and device

Also Published As

Publication number Publication date
CN102647338B (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN110088732B (en) Data packet processing method, host and system
CN102549983B (en) Distributed data center access switch
CN102801715B (en) Method for virtual machine migration in network, gateway and system
US8718061B2 (en) Data center network system and packet forwarding method thereof
US8549120B2 (en) System and method for location based address assignment in the distribution of traffic in a virtual gateway
CN102647338A (en) Network communication method and equipment
WO2012032576A1 (en) Computer system control method and computer system
CN102025630A (en) Load balancing method and load balancing system
CN103795636A (en) Multicast processing method, device and system
CN104272668A (en) Layer-3 overlay gateways
CN103795602A (en) Network strategy configuration method and device of virtual network
CN102150399A (en) Reducing flooding in a bridged network
CN104506408A (en) Data transmission method and device based on SDN
US20070081535A1 (en) Method and system for implementing virtual router redundacy protocol on a resilient packet ring
CN102316043B (en) Port virtualization method, switch and communication system
CN104168184A (en) Message forwarding method and device
CN103404084A (en) MAC address forced forwarding device and method
WO2018059442A1 (en) Method for registering single board, single board, and forwarding device
CN103166811A (en) Multi-active detection (MAD) detection method and device
CN103036702B (en) A kind of N+1 backup method of cross-network segment and device
CN103024028A (en) Virtual machine IP (Internet Protocol) address detection system and method in cloud computing
US10771402B2 (en) Link aggregated fibre channel over ethernet system
CN103118149A (en) Communication control method for servers of same lessee and network device
CN105808158A (en) Method and apparatus for grouping multiple SAS extenders to form single internally condensed SAS extender
CN103931144A (en) Method, equipment and system for communication in virtual domain

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant