CN103207801A - Method, device and system for migrating virtual machine and fiber channel switch - Google Patents

Method, device and system for migrating virtual machine and fiber channel switch Download PDF

Info

Publication number
CN103207801A
CN103207801A CN2012100069934A CN201210006993A CN103207801A CN 103207801 A CN103207801 A CN 103207801A CN 2012100069934 A CN2012100069934 A CN 2012100069934A CN 201210006993 A CN201210006993 A CN 201210006993A CN 103207801 A CN103207801 A CN 103207801A
Authority
CN
China
Prior art keywords
virtual machine
main frame
port
message
switch
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
CN2012100069934A
Other languages
Chinese (zh)
Other versions
CN103207801B (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 CN201210006993.4A priority Critical patent/CN103207801B/en
Publication of CN103207801A publication Critical patent/CN103207801A/en
Application granted granted Critical
Publication of CN103207801B publication Critical patent/CN103207801B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to a method, a device and a system for migrating a virtual machine and a fiber channel switch. When the virtual machine is migrated from a first host machine to a second host machine, the second host machine receives an informing message that the virtual machine is migrated to the second host machine, wherein the informing message is sent by perception and control equipment of a virtual system; a migration request message is sent to the FC (fiber channel) switch according to the informing message; the FC awitch receives the migration request message; according to the migration request message, registration information of the virtual machine is migrated from a first port for being connected with the first host machine to a second port for being connected with the second host machine, and a forwarding table is modified; and data information sent by the virtual machine is received through the second port or is sent to the virtual machine. The problem that after migration, the virtual machine cannot access an FC network or a service is interrupted is solved.

Description

The methods, devices and systems of virtual machine (vm) migration and fibre channel media
Technical field
The present invention relates to the fiber channel network field, relate in particular to a kind of methods, devices and systems and fibre channel media of virtual machine (vm) migration.
Background technology
The area stores network (English: Storage Area Network, be called for short: SAN) be the specific store network that one or more network storage equipments and server is coupled together by the specialized high-speed net.The fiber storage area network (English: Fiber Channel Storage Area Network, be called for short: FC SAN) be based on optical-fibre channel (Fiber Channel, FC) the area stores network of protocol family realization.In FC SAN, be connected with information by proprietary optical fiber between server and the network storage equipment and transmit, usually the FCSAN network carries out networking in the mode of switch type framework, namely by the FC switch a large amount of servers and the network storage equipment is organized among the SAN.The FC switch has by dissimilar ports, the equipment in point-to-point topological structure and the arbitration ring topological structure can be inserted in the network.Usually all regard the every other FC SAN network equipment except the FC switch as node device.When node device adds the FC network by port, need send fiber optic network registration (English: Fabric Login to registrar, be called for short: FLOGI) message, registrar will return a response message, node device sends registered port (English: Port Login to name server then, be called for short: PLOGI) message is registered to the information of self on the name server.
Virtually typically refer to computer operating system and program on virtual hardware rather than real hardware moves.Server virtual is exactly the method for a physical server by software fictionalized a lot of virtual servers at this station server, and the server that is fictionalized is called virtual machine.Virtual machine also can add the FC network by the mode of above-mentioned transmission FLOGI message to registrar, obtains fiber channel network address designation (English: Fabric Identity, abbreviation: FCID) this moment.Under prior art, virtual machine is during from first host migration to second main frame and since virtual machine do not know oneself from first host migration to second main frame, therefore can continue to carry out the I/O operation.Suppose that first main frame is by the first port access FC network of FC switch, and second main frame is by the second port access FC network of FC switch, therefore behind the virtual machine (vm) migration, the port of virtual machine visit FC network has switched to second port from first port of FC switch.Because this virtual machine does not send FLOGI message by second port of FC switch to registrar, therefore the information that does not have this virtual machine on second port of FC switch, this causes this virtual machine can't visit the FC network, if virtual machine re-registers, then FCID information may change, and the business that causes virtual machine to be carried out at present is interrupted.Therefore, under the prior art, during virtual machine (vm) migration, exist the virtual machine after moving to visit FC network or professional interrupted problem.
Summary of the invention
The embodiment of the invention provides a kind of methods, devices and systems of virtual machine (vm) migration, realizes can continuing accesses network when virtual machine is moved to another physical host from a physical host, does not interrupt the business processing of self.
First aspect, the embodiment of the invention provide a kind of method of virtual machine (vm) migration, and described method comprises:
When virtual machine migrated into second main frame from first main frame, the described virtual machine that the perception of reception virtualization system and opertaing device send migrated into the notification message of described second main frame;
Send migration request message according to described notification message to optical-fibre channel FC switch, with so that described FC switch with the log-on message of described virtual machine by described first main frame and first port that described FC switch is connected, move to second port that described second main frame is connected with described FC switch.
Second aspect, the embodiment of the invention provide a kind of method of virtual machine (vm) migration, and described method comprises:
Receive the migration request message that second main frame sends, described migration request message is used to indicate virtual machine described second main frame of moving into;
According to described migration request message, the log-on message of described virtual machine by first port that connects first main frame, is moved to second port that connects described second main frame, and revise and transmit;
Receive the data message of described virtual machine transmission or send data message to described virtual machine by described second port.
The third aspect, the embodiment of the invention provide a kind of device of virtual machine (vm) migration, and described device comprises:
Receiver is used for when virtual machine migrates into second main frame from first main frame, and the described virtual machine that the perception of reception virtualization system and opertaing device send migrates into the notification message of described second main frame;
Transmitter, be used for sending migration request message according to described notification message to optical-fibre channel FC switch, with so that described FC switch with the log-on message of described virtual machine by described first main frame and first port that described FC switch is connected, move to second port that described second main frame is connected with described FC switch.
Fourth aspect, the embodiment of the invention provide a kind of optical-fibre channel FC switch, and described FC switch comprises:
Receiver be used for to receive the migration request message that second main frame sends, and described migration request message is used to indicate virtual machine described second main frame of moving into;
Processing unit is used for according to described migration request message, and the log-on message of described virtual machine by first port that connects described first main frame, is moved to second port that connects described second main frame, and revised and transmit;
The information interaction unit is used for receiving the data message of described virtual machine transmission or sending data message to described virtual machine by described second port.
The 5th aspect, the embodiment of the invention provide a kind of device that comprises above-mentioned virtual machine (vm) migration, and the system of FC switch.
In the embodiment of the invention, when virtual machine migrated into second main frame from first main frame, the described virtual machine that the perception of second main frame reception virtualization system and opertaing device send migrated into the notification message of second main frame; Send migration request message according to described notification message to the FC switch then.After the FC switch receives this migration request message; According to described migration request message, the log-on message of described virtual machine by first port that connects first main frame, is moved to second port that connects second main frame, and revise and transmit; The FC switch receives the data message of described virtual machine transmission or sends data message to described virtual machine by described second port.Realized the migration of virtual machine and FC network configuration information thereof thus, the virtual machine that has solved after moving in the prior art can't be visited FC network or professional interrupted problem.
Description of drawings
The method flow diagram of a kind of virtual machine (vm) migration that Fig. 1 provides for the embodiment of the invention;
The method flow diagram of the another kind of virtual machine (vm) migration that Fig. 2 provides for the embodiment of the invention;
The method flow diagram of another virtual machine (vm) migration that Fig. 3 provides for the embodiment of the invention;
The network architecture diagram of a kind of virtual machine (vm) migration that Fig. 4 provides for the embodiment of the invention;
The device synoptic diagram of a kind of virtual machine (vm) migration that Fig. 5 provides for the embodiment of the invention;
The structural representation of a kind of FC switch that Fig. 6 provides for the embodiment of the invention.
Embodiment
In the embodiment of the invention, when virtual machine migrated into second main frame from first main frame, the described virtual machine that the perception of second main frame reception virtualization system and opertaing device send migrated into the notification message of second main frame; Send migration request message according to described notification message to the FC switch then, notify the described virtual machine of described FC switch described second main frame of moving into.After the FC switch receives described migration request message; According to described migration request message, the log-on message of described virtual machine by first port that connects first main frame, is moved to second port that connects second main frame, and revise and transmit; The FC switch receives the data message of described virtual machine transmission or sends data message to described virtual machine by described second port.Realized the migration of virtual machine and FC network configuration information thereof thus, the virtual machine that has solved after moving in the prior art can't be visited FC network or professional interrupted problem.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
The method flow diagram of a kind of virtual machine (vm) migration that Fig. 1 provides for the embodiment of the invention.As shown in Figure 1, present embodiment may further comprise the steps:
Step 101, when virtual machine migrated into second main frame from first main frame, the described virtual machine that the perception of second main frame reception virtualization system and opertaing device send migrated into the notification message of second main frame.
In the present embodiment, to second main frame, and described first main frame and described second main frame insert in the FC network by same FC switch virtual machine from first host migration.
Virtual machine is in first main frame time, host bus adaptor (Host Bus Adapter by first main frame, HBA) network interface card is to registrar, be that the Fabric logon server sends FLOGI message, registrar is that virtual machine distributes a FCID (fiber channel network address identification message), and assist virtual machine to find its operating characteristic by the HBA network interface card of place main frame, i.e. network parameter information, flow control information and service class information etc.; Virtual machine sends PLOGI message to name server then, and the information of self is registered on the name server.After finishing said process, virtual machine can be by the first port access FC network of the FC switch that is connected with the HBA network interface card of first main frame.
Be provided with perception and the opertaing device of virtualization system in the FC network, be used for the virtual machine of network is monitored.When the perception of virtualization system and opertaing device perceive virtual machine from described first host migration to described second main frame, send described virtual machine (vm) migration to the notification message of described second main frame to described second main frame.
Step 102, second main frame sends migration request message according to described notification message to the FC switch, with so that described FC switch with the log-on message of described virtual machine by first port that described first main frame is connected with the FC switch, move to second port that described second main frame is connected with described FC switch.
When the perception of virtualization system and opertaing device perceive virtual machine from described first host migration to described second main frame, virtual machine monitor Hypervisor to described second main frame sends a notification message, and notice virtual machine monitor virtual machine has been moved into described second main frame.
Virtual machine monitor is a kind of intermediate software layer that operates between server physical hardware and the operating system, can on this software layer, can fictionalize a plurality of virtual servers, be virtual machine, therefore, virtual machine second main frame of moving into namely is the virtual machine monitor of second main frame of moving into.
Second main frame is after receiving the notification message that virtual machine moves into, send a migration request message by virtual machine monitor to the FC switch, the identifying information that comprises described virtual machine in the migration request message that sends to described FC switch is with so that described FC switch is moved to second port that connects second main frame with the log-on message of described identifying information corresponding virtual machine from first port that connects first main frame.The identifying information of described virtual machine comprise nodename (World Wide Node Name, WWNN) and the port title (World Wide Port Name, WWPN).Described nodename and port title are used for virtual machine of unique identification.
The log-on message of described virtual machine comprises FCID information, network parameter information, flow control information, the service class information of virtual machine access network.
Virtual machine monitor in second main frame sends migration request message, its objective is make the FC switch receive this migration request message after, carry out the migration of the log-on message of virtual machine according to the identifying information of the virtual machine in the migration request message, the log-on message that is about to virtual machine is moved to second port that connects second main frame from first port that connects first main frame.After finishing the migration of virtual machine log-on message, virtual machine just can continue to visit the FC network, and the business processing before proceeding to move.
In the embodiment of the invention, when virtual machine migrated into second main frame from first main frame, the described virtual machine that the perception of second main frame reception virtualization system and opertaing device send migrated into the notification message of second main frame; Send migration request message according to described notification message to the FC switch then.After the FC switch receives this migration request message; According to this migration request message, with the log-on message of described virtual machine by first port that connects first main frame, move to second port that connects second main frame, and revise and transmit, namely revise the routing iinformation of this virtual machine visit FC network, make virtual machine can normally visit the FC network, the business of carrying out before continuing.Realized the migration of virtual machine and FC network configuration information thereof thus, the virtual machine that has solved after moving in the prior art can't be visited FC network or professional interrupted problem.
Above-described embodiment is described be virtual machine from first host migration behind second main frame, second main frame sends the process of migration request message to the FC switch, and following embodiment describes the FC switch exactly receive above-mentioned migration request message after, the information of virtual machine is moved to the process of second port from first port.The method flow diagram of the another kind of virtual machine (vm) migration that Fig. 2 provides for the embodiment of the invention is realized by the FC switch.As shown in Figure 2, present embodiment may further comprise the steps:
Step 201, FC switch receive migration request message, and described migration request message is used to indicate virtual machine second main frame of moving into.
Because before the migration, virtual machine the HBA network interface card by first main frame with being connected of first port of FC switch inserted the FC network, so virtual machine is when moving out from first main frame, the FC exchange opportunity receives the message that virtual machine has been moved out from first main frame.The HBA network interface card of second main frame is connected with second port of FC switch.
The identifying information that comprises described virtual machine in the migration request message that the FC switch receives, described FC switch is moved to second port with the log-on message of described identifying information corresponding virtual machine from first port.
The identifying information of virtual machine comprises port title and the nodename of virtual machine.The log-on message of virtual machine mainly comprises FCID information, network parameter information, flow control information, the service class information of virtual machine access network.
Step 202, FC switch be according to described migration request message, and the log-on message of described virtual machine by first port that connects first main frame, is moved to second port that connects described second main frame, and revised and transmit.
After the FC switch is moved to second port with the log-on message of virtual machine, also need to revise inner transmitting, namely revise the routing iinformation of virtual machine visit FC network, so that virtual function is by the described amended normal visit FC network of transmitting.
Step 203, the FC switch receives the data message of described virtual machine transmission or sends data message to described virtual machine by described second port.
After the FC switch is revised transmitting of inside, virtual machine just can normally be visited the FC network by second port of FC switch, and namely the FC switch can receive the data message of described virtual machine transmission or send data message to described virtual machine by described second port.
In the present embodiment, after the FC switch receives the migration request message that the virtual machine monitor of second main frame sends, the identifying information of the virtual machine that carries according to described migration request message is moved to second port that connects second main frame with the log-on message of described virtual machine from first port of connection first main frame of FC switch, and revise and transmit, realized the migration of virtual machine and FC network configuration information thereof, the virtual machine that has solved after moving in the prior art can't be visited FC network or professional interrupted problem.
Above-mentioned two embodiment have described the migration at virtual machine, the processing that second main frame that described virtual machine is moved into is done, and the processing of doing with the FC switch that described first main frame is connected with described second main frame, following embodiment will describe the whole flow process of virtual machine (vm) migration.The method flow diagram of another virtual machine (vm) migration that Fig. 3 provides for the embodiment of the invention.As described in Figure 3, present embodiment may further comprise the steps:
Step 301, virtual machine from first host migration to second main frame.
Described first main frame and described second main frame insert the FC network by same FC switch.The HBA network interface card of first main frame is connected with first port of described FC switch, and the HBA network interface card of second main frame is connected with second port of described FC switch.
Virtual machine is in first main frame time, HBA network interface card by first main frame sends FLOGI message to registrar, register, obtain FCID information, network parameter information, flow control information, the service class information of access network, and be registered on the name server by the information of transmission PLOGI message with self.Virtual machine is during from first host migration to second main frame, and virtual machine itself does not know oneself to move, and therefore can continue when register according to oneself the information of acquisition and carry out I/O and operate.
Step 302, the perception of virtualization system and opertaing device perceive virtual machine from first host migration to second main frame.
The perception of virtualization system and opertaing device may reside on certain existing physical entity equipment in the FC network, also can separately exist on the new physical entity equipment, are used for by virtual machine being monitored the migration of perception virtual machine.
Step 303, the perception of virtualization system and opertaing device send the notification message that virtual machine is moved into to second main frame.
When the perception of virtualization system and opertaing device had perceived virtual machine (vm) migration, meeting sent a notification message to the virtual machine monitor of second main frame that virtual machine is moved into, and notifies second main frame to have virtual machine to move into.Virtual machine in second main frame is set up at virtual machine monitor.
Step 304, second main frame sends migration request message to the FC switch.
The identifying information that comprises described virtual machine in the described migration request message is used so that described FC switch is moved to second port that connects second main frame with the log-on message of described identifying information corresponding virtual machine from first port that connects first main frame.
The identifying information of virtual machine comprises port title and the nodename of virtual machine.The log-on message of virtual machine mainly comprises FCID information, network parameter information, flow control information, the service class information of virtual machine access network.
Step 305, the FC switch receives migration request message, according to described migration request message the log-on message of virtual machine is moved to second port from first port, and revises and transmit.
Certainly, when virtual machine is moved out from first main frame, the FC switch has received the move out information of first main frame of virtual machine that first main frame sends, therefore, after the FC switch receives migration request message, identifying information according to the virtual machine that carries in the described migration request message is moved to second port with the log-on message of virtual machine from first port, namely moves the FCID information, network parameter information, flow control information, service class information of the access network that virtual machine obtains by first port when registration in first main frame etc.And then revise and transmit, namely revise the routing iinformation of virtual machine visit FC network, make virtual machine can normally visit the FC network, the business of carrying out before continuing.
Step 306, the FC switch receives the data message of described virtual machine transmission or sends data message to described virtual machine by described second port.
After the FC switch is revised transmitting of inside, virtual machine just can normally be visited the FC network by second port of FC switch, and namely the FC switch can receive the data message of described virtual machine transmission or send data message to described virtual machine by described second port.
In the embodiment of the invention, when virtual machine migrated into second main frame from first main frame, the described virtual machine that the perception of second main frame reception virtualization system and opertaing device send migrated into the notification message of second main frame; Send migration request message according to described notification message to the FC switch then.The FC switch receive to characterize virtual machine and moves into after the migration request message of second main frame; According to described migration request message, the log-on message of described virtual machine by first port that connects first main frame, is moved to second port that connects second main frame, and revise and transmit; The FC switch receives the data message of described virtual machine transmission or sends data message to described virtual machine by described second port, realized the migration of virtual machine and FC network configuration information thereof, the virtual machine that has solved after moving in the prior art can't be visited FC network or professional interrupted problem.
The network architecture diagram of a kind of virtual machine (vm) migration that Fig. 4 provides for the embodiment of the invention.As shown in Figure 4, comprise following equipment in the present embodiment:
Equipment 401 is first main frame, and the HBA network interface card of first main frame connects first port of FC switch 405, i.e. port FC0/1.First main frame is the main frame that virtual machine 2 is moved out.
Virtual machine 2 is in first main frame time, HBA network interface card by first main frame is to registrar, be that Fabric logon server transmission FLOGI message is registered, obtain FCID information, network parameter information, flow control information, the service class information of access network; And be registered on the name server by the information of transmission PLOGI message with self.After finishing said process, virtual machine 2 can be by the first port access network of FC switch.
Equipment 402 is second main frame, and the HBA network interface card of second main frame connects second port of FC switch, i.e. port FC0/2.Second main frame is the main frame that virtual machine 2 is moved into.
Equipment 403 is perception and the opertaing device of virtualization system.The perception of virtualization system and opertaing device are used for the virtual machine of network is monitored, when the perception of virtualization system and opertaing device perceive virtual machine 2 when migrating into second main frame from first main frame, can send the notification message that virtual machine 2 migrate into second main frame to second main frame.
Equipment 404 is the HBA network interface card, is connected with the port of FC switch 406.The HBA network interface card is host bus adaptor, is used for server and is connected with the fiber array cabinet, and HBA is used for connecting the equipment of main frame internal bus and storage networking in main frame inside.HBA is the physical connection between the I/O passage of the I/O passage of main frame inside and storage system.In fact the I/O passage of storage system is exactly optical-fibre channel.And the effect of HBA is exactly the conversion that realizes between inner passage agreement PCI and the fiber channel protocol.
Equipment 405 is the FC switch, and the FC switch is used for a large amount of servers and the network storage equipment are organized in a storage area network, and the FC switch passes through the port of self and is connected with node device in the FC network.In the present embodiment, the FC switch connects the HBA network interface card of first main frame by the first port FC0/1, connects the HBA network interface card of second main frame by the second port FC0/2.After the HBA network interface card registration of virtual machine 2 by first main frame, just stored the log-on message of second virtual machine on FC switch first port.When virtual machine 2 during from first host migration to second main frame, the FC switch will receive the migration request message that second main frame sends, the identifying information of the virtual machine 2 that carries according to described migration request message is moved to the log-on message of virtual machine 2 on second port from first port then, and virtual machine 2 just can pass through the second port access FC network.
The device synoptic diagram of a kind of virtual machine (vm) migration that Fig. 5 provides for the embodiment of the invention.As shown in Figure 5, described device comprises with lower unit:
Receiver 501 is used for when virtual machine migrates into second main frame from first main frame, and the described virtual machine that the perception of reception virtualization system and opertaing device send migrates into the notification message of described second main frame.
Certainly, virtual machine is during from described first host migration to described second main frame, the perception of the virtualization system in the FC network and opertaing device perceive virtual machine from described first host migration to described second main frame, and send described virtual machine (vm) migration to the notification message of described second main frame to second main frame.
Transmitter 502, be used for sending migration request message according to described notification message to the FC switch, with so that the FC switch with the log-on message of described virtual machine by first port that described first main frame is connected with the FC switch, move to second port that second main frame is connected with described FC switch.
The identifying information that comprises described virtual machine in the described migration request message, the identifying information of virtual machine comprises the nodename of virtual machine, port title.
The log-on message of virtual machine comprises FCID information, network parameter information, flow control information, the service class information of virtual machine access network.
Transmitter 502 sends migration request message, its objective is by receiver side, be after the FC switch receives this migration request message, according to the identifying information of the virtual machine that carries in the migration request message log-on message of virtual machine moved to second port from first port of FC switch.After finishing the migration of log-on message of virtual machine, virtual machine just can continue to visit the FC network, and the business processing before proceeding to move.
Above-described embodiment is described be virtual machine from first host migration behind second main frame, the device that virtual machine is moved into sends the process of migration request message to the FC switch, and following embodiment describes receiver side exactly receive above-mentioned migration request message after, the log-on message of virtual machine is moved to the process of second port from first port.The structural representation of a kind of FC switch that Fig. 6 provides for the embodiment of the invention.As shown in Figure 6, described FC switch comprises with lower unit:
Receiver 601 is used for when virtual machine migrates into second main frame from first main frame, and the described virtual machine that the perception of reception virtualization system and opertaing device send migrates into the notification message of described second main frame.
The identifying information that comprises described virtual machine in the described migration request message is used for making described FC switch that the log-on message of described identifying information corresponding virtual machine is moved to second port from first port.
Receiver 601 also be used for to receive the move out message of described first main frame of described virtual machine that first main frame sends.
First main frame is by the first port access network of described FC switch, and described second main frame is by the second port access network of described FC switch.
The log-on message of virtual machine comprises FCID information, network parameter information, flow control information, the service class information of virtual machine access network.
Processing unit 602 is used for according to described migration request message, and the log-on message of described virtual machine by first port that connects described first main frame, is moved to second port that connects described second main frame, and revised and transmit.
After receiver 601 receives migration request message, processing unit 602 is moved to second port with the log-on message of virtual machine from first port according to the identifying information of the virtual machine that carries in this migration request message, namely moves the FCID information, network parameter information, flow control information, the service class information that obtain when virtual machine passes through the registration of first port in first main frame; And then revise and transmit, namely be equivalent to revise the routing iinformation of virtual machine accesses network, make normally access storage areas territory net of virtual machine.
Information interaction unit 603 is used for receiving the data message of described virtual machine transmission or sending data message to described virtual machine by described second port.
The embodiment of the invention also provides a kind of system that comprises the device of above-mentioned virtual machine (vm) migration, and this system comprises device, FC switch, first main frame of the virtual machine (vm) migration in the embodiment of the invention, and the perception of virtual machine system and opertaing device.In the system that the embodiment of the invention provides, when virtual machine migrated into second main frame from first main frame, the described virtual machine that the perception of second main frame reception virtualization system and opertaing device send migrated into the notification message of second main frame; Send migration request message according to described notification message to the FC switch then.The FC switch receive to characterize virtual machine and moves into after the migration request message of second main frame; According to described migration request message, the log-on message of described virtual machine by first port that connects first main frame, is moved to second port that connects second main frame, and revise and transmit; Receive the data message of described virtual machine transmission or send data message to described virtual machine by described second port.Realized the migration of virtual machine and FC network configuration information thereof thus, the virtual machine that has solved after moving in the prior art can't be visited FC network or professional interrupted problem.
The professional should further recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or the combination of the two, for the interchangeability of hardware and software clearly is described, composition and the step of each example described in general manner according to function in the above description.These functions still are that software mode is carried out with hardware actually, depend on application-specific and the design constraint of technical scheme.The professional and technical personnel can specifically should be used for using distinct methods to realize described function to each, but this realization should not thought and exceeds scope of the present invention.
The method of describing in conjunction with embodiment disclosed herein or the step of algorithm can use the software module of hardware, processor execution, and perhaps the combination of the two is implemented.Software module can place the storage medium of any other form known in random access memory (RAM), internal memory, ROM (read-only memory) (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or the technical field.
Above-described embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is the specific embodiment of the present invention; and be not intended to limit the scope of the invention; within the spirit and principles in the present invention all, any modification of making, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (11)

1. the method for a virtual machine (vm) migration is characterized in that, described method comprises:
When virtual machine migrated into second main frame from first main frame, the described virtual machine that the perception of reception virtualization system and opertaing device send migrated into the notification message of described second main frame;
Send migration request message according to described notification message to optical-fibre channel FC switch, with so that described FC switch with the log-on message of described virtual machine by described first main frame and first port that described FC switch is connected, move to second port that described second main frame is connected with described FC switch.
2. the method for virtual machine (vm) migration as claimed in claim 1, it is characterized in that, the identifying information that comprises described virtual machine in the described migration request message is used so that described FC switch is moved to described second port with the log-on message of described identifying information corresponding virtual machine from described first port.
3. the method for a virtual machine (vm) migration is characterized in that, described method comprises:
Receive the migration request message that second main frame sends, described migration request message is used to indicate virtual machine described second main frame of moving into;
According to described migration request message, the log-on message of described virtual machine by first port that connects first main frame, is moved to second port that connects described second main frame, and revise and transmit;
Receive the data message of described virtual machine transmission or send data message to described virtual machine by described second port.
4. the method for virtual machine (vm) migration as claimed in claim 3 is characterized in that, comprises the identifying information of described virtual machine in the described migration request message that receives;
Described log-on message with described virtual machine is moved to second port that connects second main frame and is specifically comprised by first port that connects first main frame: the log-on message of the described virtual machine of described identifying information correspondence is moved to described second port that connects described second main frame from described first port that connects described first main frame.
5. the method for virtual machine (vm) migration as claimed in claim 3 is characterized in that, described reception characterizes virtual machine and moves into and also comprise before the request message of second main frame: receive the move out message of described first main frame of described virtual machine that described first main frame sends.
6. the device of a virtual machine (vm) migration is characterized in that, described device comprises:
Receiver is used for when virtual machine migrates into second main frame from first main frame, and the described virtual machine that the perception of reception virtualization system and opertaing device send migrates into the notification message of described second main frame;
Transmitter, be used for sending migration request message according to described notification message to optical-fibre channel FC switch, with so that described FC switch with the log-on message of described virtual machine by described first main frame and first port that described FC switch is connected, move to second port that described second main frame is connected with described FC switch.
7. the device of virtual machine (vm) migration as claimed in claim 6, it is characterized in that, the identifying information that comprises described virtual machine in the described migration request message is used so that described FC switch is moved to described second port with the log-on message of described identifying information corresponding virtual machine from described first port.
8. an optical-fibre channel FC switch is characterized in that, described FC switch comprises:
Receiver be used for to receive the migration request message that second main frame sends, and described migration request message is used to indicate virtual machine described second main frame of moving into;
Processing unit is used for according to described migration request message, and the log-on message of described virtual machine by first port that connects described first main frame, is moved to second port that connects described second main frame, and revised and transmit;
The information interaction unit is used for receiving the data message of described virtual machine transmission or sending data message to described virtual machine by described second port.
9. FC switch as claimed in claim 8 is characterized in that, comprises the identifying information of described virtual machine in the described request message that receives;
Described processing unit specifically is used for: the log-on message of the described virtual machine of described identifying information correspondence is moved to described second port that connects described second main frame from described first port that connects described first main frame.
10. FC switch as claimed in claim 8 is characterized in that, described receiver also is used for: receive the move out message of described first main frame of described virtual machine that described first main frame sends.
11. the system of a virtual machine (vm) migration, it is characterized in that described system comprises the device as claim 6 or 7 described virtual machine (vm) migrations, as any described FC switch among the claim 8-10, first main frame, and the perception of virtualization system and opertaing device.
CN201210006993.4A 2012-01-11 2012-01-11 The methods, devices and systems of virtual machine (vm) migration and fibre channel media Active CN103207801B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210006993.4A CN103207801B (en) 2012-01-11 2012-01-11 The methods, devices and systems of virtual machine (vm) migration and fibre channel media

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210006993.4A CN103207801B (en) 2012-01-11 2012-01-11 The methods, devices and systems of virtual machine (vm) migration and fibre channel media

Publications (2)

Publication Number Publication Date
CN103207801A true CN103207801A (en) 2013-07-17
CN103207801B CN103207801B (en) 2016-09-14

Family

ID=48755032

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210006993.4A Active CN103207801B (en) 2012-01-11 2012-01-11 The methods, devices and systems of virtual machine (vm) migration and fibre channel media

Country Status (1)

Country Link
CN (1) CN103207801B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103501295A (en) * 2013-09-27 2014-01-08 杭州华三通信技术有限公司 Virtual machine migration-based remote access method and equipment
CN105704203A (en) * 2015-12-10 2016-06-22 华为技术有限公司 Method and device for resource equalization
CN106453118A (en) * 2016-11-11 2017-02-22 深圳市深信服电子科技有限公司 Flow control method and flow control system
CN108028804A (en) * 2015-07-10 2018-05-11 国际商业机器公司 The management of virtual machine in virtual computation environmental based on structure limitation
CN108199962A (en) * 2017-12-22 2018-06-22 新华三技术有限公司 Address transfer method, apparatus, the network equipment and readable storage medium storing program for executing
CN109213566A (en) * 2017-06-29 2019-01-15 华为技术有限公司 A kind of method, apparatus and equipment of virtual machine (vm) migration

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102103524A (en) * 2010-12-23 2011-06-22 北京航空航天大学 Memory redundancy oriented virtual machine migration device and method
US20110205904A1 (en) * 2010-02-19 2011-08-25 Fujitsu Limited Relay apparatus, virtual machine system, and relay method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110205904A1 (en) * 2010-02-19 2011-08-25 Fujitsu Limited Relay apparatus, virtual machine system, and relay method
CN102103524A (en) * 2010-12-23 2011-06-22 北京航空航天大学 Memory redundancy oriented virtual machine migration device and method

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103501295A (en) * 2013-09-27 2014-01-08 杭州华三通信技术有限公司 Virtual machine migration-based remote access method and equipment
CN103501295B (en) * 2013-09-27 2017-03-08 杭州华三通信技术有限公司 A kind of remote access method based on virtual machine (vm) migration and equipment
CN108028804A (en) * 2015-07-10 2018-05-11 国际商业机器公司 The management of virtual machine in virtual computation environmental based on structure limitation
CN108028804B (en) * 2015-07-10 2021-10-08 国际商业机器公司 Method for managing virtual machine in virtual computing environment based on structure limitation
CN105704203A (en) * 2015-12-10 2016-06-22 华为技术有限公司 Method and device for resource equalization
CN105704203B (en) * 2015-12-10 2019-01-18 华为技术有限公司 The method and apparatus of resources balance
CN106453118A (en) * 2016-11-11 2017-02-22 深圳市深信服电子科技有限公司 Flow control method and flow control system
CN109213566A (en) * 2017-06-29 2019-01-15 华为技术有限公司 A kind of method, apparatus and equipment of virtual machine (vm) migration
CN109213566B (en) * 2017-06-29 2022-05-13 华为技术有限公司 Virtual machine migration method, device and equipment
CN108199962A (en) * 2017-12-22 2018-06-22 新华三技术有限公司 Address transfer method, apparatus, the network equipment and readable storage medium storing program for executing
CN108199962B (en) * 2017-12-22 2021-09-07 新华三技术有限公司 Address migration method and device, network equipment and readable storage medium

Also Published As

Publication number Publication date
CN103207801B (en) 2016-09-14

Similar Documents

Publication Publication Date Title
US9917767B2 (en) Maintaining a communication path from a host to a storage subsystem in a network
CN102469025B (en) Multipath switching over multiple storage systems
US7599397B2 (en) Obtaining multiple port addresses by a fibre channel switch from a network fabric
US8161134B2 (en) Smart zoning to enforce interoperability matrix in a storage area network
US9081502B2 (en) Method and apparatus of storage volume migration in cooperation with takeover of storage area network configuration
CN103207801A (en) Method, device and system for migrating virtual machine and fiber channel switch
US8495255B2 (en) Discovery and configuration of device configurations
US9983813B2 (en) Maintenance of a fabric priority during synchronous copy operations
WO2011121664A1 (en) Communication network control system and control method
US20080195756A1 (en) Method and system to access a service utilizing a virtual communications device
EP3160084B1 (en) Fibre channel storage area network configuration method and apparatus
US9042270B2 (en) Method and apparatus of network configuration for storage federation
US20180343162A1 (en) System management apparatus and system management method
US20120284435A1 (en) Zone group manager virtual phy
EP2612480A1 (en) Proxying for clusters of fiber channel servers to reduce configuration requirements for fiber channel storage arrays
US8762485B2 (en) Information system having computer and storage apparatus coupled to network
JP2016116184A (en) Network monitoring device and virtual network management method
CN109547875A (en) A kind of FC exchange network arbitrary port access design method
US20190207982A1 (en) Lan/san network security management
CN101207569A (en) Method and device for determining communication paths on computer networks
US10708140B2 (en) Automatically updating zone information in a storage area network
US20170093760A1 (en) Configuration of a set of queues for multi-protocol operations in a target driver
US10574579B2 (en) End to end quality of service in storage area networks
CN103560909A (en) Maintaining method and device for regional access control list items
WO2018098767A1 (en) Device and method for performing network interface bonding

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