CN103207801B - The methods, devices and systems of virtual machine (vm) migration and fibre channel media - Google Patents
The methods, devices and systems of virtual machine (vm) migration and fibre channel media Download PDFInfo
- Publication number
- CN103207801B CN103207801B CN201210006993.4A CN201210006993A CN103207801B CN 103207801 B CN103207801 B CN 103207801B CN 201210006993 A CN201210006993 A CN 201210006993A CN 103207801 B CN103207801 B CN 103207801B
- 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.)
- Active
Links
Abstract
The present invention relates to methods, devices and systems and the fibre channel media of a kind of virtual machine (vm) migration.When virtual machine migrates into the second main frame from the first main frame, the virtual machine of perception and the transmission of control equipment that the second main frame receives virtualization system migrates into the notification message of the second main frame;Then migration request message is sent according to notification message to Fibre Channel switch.FC switch receives migration request message;According to this migration request message, by the log-on message of virtual machine by connecting the first port of the first main frame, move to connect the second port of the second main frame, and revise forward table;Receive the data message of described virtual machine transmission by the second port or send data message to described virtual machine.The present invention solve migration after the problem that virtual machine cannot access FC network or business is interrupted.
Description
Technical field
The present invention relates to fiber channel network field, particularly relate to a kind of method of virtual machine (vm) migration, device
With system and fibre channel media.
Background technology
Region storage network (English: Storage Area Network, it is called for short: be SAN) by special
The specific store network that one or more network storage equipments and server are coupled together by HVN.Optical fiber
Storage area network (English: Fiber Channel Storage Area Network, it is called for short: FC SAN)
It it is the region storage network realized based on optical-fibre channel (Fiber Channel, FC) protocol family.At FC SAN
In, it is attached by proprietary optical fiber between server and the network storage equipment and information transmission, usual FC
SAN network carries out networking in the way of switch type framework, i.e. by FC switch by substantial amounts of server and
The network storage equipment is organized in a SAN.FC switch has by different types of port, it is possible to will
Equipment in point-to-point topological structure and arbitration ring topological structure accesses in a network.Generally will be except FC
Every other FC SAN network equipment outside switch all regards node device as.Node device passes through port
When adding FC network, need to registrar send fiber optic network registration (English: Fabric Login,
It is called for short: FLOGI) message, registrar will return a response message, and then node device is to name
Character server send registered port (English: Port Login, be called for short: PLOGI) message, self
Information registering is on name server.
Virtualization typically refers to computer operating system and program on virtual hardware rather than true
Hardware on run.The virtualization of server is exactly to be existed by the method for software by a physical server
Fictionalizing a lot of virtual server on this station server, the server fictionalized is referred to as virtual machine.Empty
Plan machine can also add FC network by the way of above-mentioned transmission FLOGI message to registrar, this
Time obtains fiber channel network address mark, and (English: Fabric Identity is called for short: FCID).?
Under prior art, virtual machine is when the first host migration to the second main frame, owing to virtual machine does not knows oneself
From the first host migration to the second main frame, therefore may proceed to perform I/O operation.Assume the first main frame
Access FC network by the first port of FC switch, and the second main frame passes through the second end of FC switch
Mouth accesses FC network, and therefore after virtual machine (vm) migration, virtual machine accesses the port of FC network from FC switch
The first port be switched to the second port.Due to this virtual machine not by the second end of FC switch
Mouth sends FLOGI message to registrar, and therefore on the second port of FC switch, this is not virtual
The information of machine, this causes this virtual machine cannot access FC network, if virtual machine re-registers, then FCID
Information may change, and the business causing virtual machine to perform at present is interrupted.Therefore, under prior art,
During virtual machine (vm) migration, there is the problem that the virtual machine after migration cannot access FC network or business is interrupted.
Summary of the invention
Embodiments provide the methods, devices and systems of a kind of virtual machine (vm) migration, it is achieved when virtual
Machine, when a physical host moves to another physical host, can continue to access network, not interrupt certainly
The Business Processing of body.
First aspect, a kind of method embodiments providing virtual machine (vm) migration, described method includes:
When virtual machine migrates into the second main frame from the first main frame, receive perception and the control of virtualization system
The described virtual machine that equipment sends migrates into the notification message of described second main frame;
Migration request message is sent to Fibre Channel switch according to described notification message, described in order to make
FC switch the log-on message of described virtual machine is connected with described FC switch by described first main frame
Single port, moves to the second port that described second main frame is connected with described FC switch.
Second aspect, a kind of method embodiments providing virtual machine (vm) migration, described method includes:
Receiving the migration request message that the second main frame sends, described migration request message is used for indicating virtual machine
Move into described second main frame;
According to described migration request message, by the log-on message of described virtual machine by connecting the of the first main frame
Single port, moves to connect the second port of described second main frame, and revises forward table;
Receive the data message of described virtual machine transmission by described second port or send to described virtual machine
Data message.
The third aspect, embodiments provides the device of a kind of virtual machine (vm) migration, and described device includes:
Receptor, for when virtual machine migrates into the second main frame from the first main frame, receives virtualization system
Perception and the described virtual machine that sends of control equipment migrate into the notification message of described second main frame;
Transmitter, for sending migration request message according to described notification message to Fibre Channel switch,
In order to make described FC switch be handed over described FC by described first main frame by the log-on message of described virtual machine
Change planes connect the first port, move to the second port that described second main frame is connected with described FC switch.
Fourth aspect, embodiments provides a kind of Fibre Channel switch, described FC switch
Including:
Receptor, for receiving the migration request message that the second main frame sends, described migration request message is used
Move into described second main frame in instruction virtual machine;
Processing unit, for according to described migration request message, by the log-on message of described virtual machine by even
Connect the first port of described first main frame, move to connect the second port of described second main frame, and revise
Forward table;
Information interactive unit, for receiving, by described second port, the data message that described virtual machine sends
Or send data message to described virtual machine.
5th aspect, embodiments provides a kind of device including above-mentioned virtual machine (vm) migration, and
The system of FC switch.
In the embodiment of the present invention, when virtual machine migrates into the second main frame from the first main frame, the second main frame connects
The described virtual machine of the perception and the transmission of control equipment of receiving virtualization system migrates into the notice of the second main frame and disappears
Breath;Then migration request message is sent according to described notification message to FC switch.FC switch receives
After this migration request message;According to described migration request message, by the log-on message of described virtual machine by even
Connect the first port of the first main frame, move to connect the second port of the second main frame, and revise forward table;
FC switch receives the data message of described virtual machine transmission or to described virtual machine by described second port
Send data message.Thus achieve virtual machine and the migration of FC network configuration information thereof, solve existing
The problem that virtual machine after migrating in technology cannot access FC network or business is interrupted.
Accompanying drawing explanation
The method flow diagram of a kind of virtual machine (vm) migration that Fig. 1 provides for the embodiment of the present invention;
The method flow diagram of the another kind of virtual machine (vm) migration that Fig. 2 provides for the embodiment of the present invention;
The method flow diagram of another virtual machine (vm) migration that Fig. 3 provides for the embodiment of the present invention;
The network architecture diagram of a kind of virtual machine (vm) migration that Fig. 4 provides for the embodiment of the present invention;
The device schematic diagram of a kind of virtual machine (vm) migration that Fig. 5 provides for the embodiment of the present invention;
The structural representation of a kind of FC switch that Fig. 6 provides for the embodiment of the present invention.
Detailed description of the invention
In the embodiment of the present invention, when virtual machine migrates into the second main frame from the first main frame, the second main frame connects
The described virtual machine of the perception and the transmission of control equipment of receiving virtualization system migrates into the notice of the second main frame and disappears
Breath;Then send migration request message according to described notification message to FC switch, notify that described FC hands over
Described virtual machine of changing planes is moved into described second main frame.After FC switch receives described migration request message;Root
According to described migration request message, by the log-on message of described virtual machine by connecting the first port of the first main frame,
Move to connect the second port of the second main frame, and revise forward table;FC switch passes through described second end
Mouth receives the data message of described virtual machine transmission or sends data message to described virtual machine.It is achieved in
Virtual machine and the migration of FC network configuration information thereof, solve the virtual machine after migrating in prior art without
The problem that method access FC network or business are interrupted.
Below by drawings and Examples, technical scheme 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 present invention.As it is shown in figure 1,
The present embodiment comprises the following steps:
Step 101, when virtual machine migrates into the second main frame from the first main frame, the second main frame receives virtualization
The described virtual machine that the perception of system and control equipment send migrates into the notification message of the second main frame.
In the present embodiment, virtual machine is from the first host migration to the second main frame, and described first is main
Machine and described second main frame are accessed in FC network by same FC switch.
When virtual machine is in the first main frame, by host bus adaptor (the Host Bus of the first main frame
Adapter, HBA) network interface card is to registrar, i.e. and Fabric login service device sends FLOGI message,
Registrar is that virtual machine distributes a FCID (fiber channel network address identification message), and assists
Virtual machine is helped to find its operating characteristic, i.e. net-work parameter information, flow by the HBA network interface card of place main frame
Control information and service level information etc.;Then virtual machine sends PLOGI message to name server,
The information registering of self is on name server.After completing said process, virtual machine can be by with first
First port of the FC switch that the HBA network interface card of main frame connects accesses FC network.
FC network is provided with perception and the control equipment of virtualization system, for the virtual machine in network
It is monitored.When perception and the control device-aware of virtualization system move to virtual machine from described first main frame
When moving on to described second main frame, send described virtual machine (vm) migration to described second main frame to described second main frame
Notification message.
Step 102, the second main frame sends migration request message according to described notification message to FC switch,
In order to make described FC switch by the log-on message of described virtual machine by described first main frame and FC switch
The first port connected, moves to the second port that described second main frame is connected with described FC switch.
When virtualization system perception and control device-aware to virtual machine from described first host migration to institute
When stating the second main frame, send a notice to the virtual machine monitor Hypervisor of described second main frame and disappear
Breath, notice virtual machine monitor virtual machine is moved into described second main frame.
Virtual machine monitor is a kind of middleware software operated between server physical hardware and operating system
Layer, can fictionalize multiple virtual server, i.e. virtual machine on this software layer, therefore, empty
Plan machine the second main frame of moving into is i.e. the virtual machine monitor of the second main frame of moving into.
Second main frame, after receiving the notification message that virtual machine is moved into, is handed over to FC by virtual machine monitor
Changing planes and send a migration request message, the migration request message sent to described FC switch includes institute
State the identification information of virtual machine, in order to make described FC switch by virtual machine corresponding for described identification information
Log-on message moves to connect the second port of the second main frame from the first port connecting the first main frame.Described
The identification information of virtual machine includes nodename (World Wide Node Name, WWNN) and port title
(World Wide Port Name, WWPN).Described nodename and port title are for unique mark one
Individual virtual machine.
The log-on message of described virtual machine include the FCID information of virtual machine access network, net-work parameter information,
Flow control information, service level information.
Virtual machine monitor in second main frame sends migration request message, its objective is to make FC switch connect
After receiving this migration request message, carry out virtual according to the identification information of the virtual machine in migration request message
The migration of the log-on message of machine, will move from the first port connecting the first main frame the log-on message of virtual machine
Move on to connect the second port of the second main frame.After completing the migration of virtual machine log-on message, virtual machine just may be used
To continue to access FC network, and proceed the Business Processing before migrating.
In the embodiment of the present invention, when virtual machine migrates into the second main frame from the first main frame, the second main frame connects
The described virtual machine of the perception and the transmission of control equipment of receiving virtualization system migrates into the notice of the second main frame and disappears
Breath;Then migration request message is sent according to described notification message to FC switch.FC switch receives
After this migration request message;According to this migration request message, by the log-on message of described virtual machine by connecting
First port of the first main frame, moves to connect the second port of the second main frame, and revises forward table, i.e.
Revise this virtual machine and access the routing iinformation of FC network, enable virtual machine normally to access FC network, continue
The continuous business carried out before.Thus achieve virtual machine and the migration of FC network configuration information thereof, solve
The problem that virtual machine after migrating in prior art cannot access FC network or business is interrupted.
Above-described embodiment describe for virtual machine after the first host migration to the second main frame, the second main frame to
FC switch sends the process of migration request message, and following embodiment describes FC switch exactly and receives
After above-mentioned migration request message, the information of virtual machine is moved to from the first port the process of the second port.
The method flow diagram of the another kind of virtual machine (vm) migration that Fig. 2 provides for the embodiment of the present invention, real by FC switch
Existing.As in figure 2 it is shown, the present embodiment comprises the following steps:
Step 201, FC switch receives migration request message, and described migration request message is used for indicating void
Plan machine is moved into the second main frame.
Before migrating, virtual machine has passed through the HBA network interface card of the first main frame and the first end of FC switch
The connection of mouth has accessed FC network, and therefore virtual machine is when the first main frame is moved out, and FC exchange opportunity receives
The message that virtual machine has been moved out from the first main frame.The HBA network interface card of the second main frame and the second end of FC switch
Mouth connects.
The migration request message that FC switch receives includes the identification information of described virtual machine, described FC
The log-on message of virtual machine corresponding for described identification information is moved to the second end from the first port by switch
Mouthful.
The identification information of virtual machine includes port title and the nodename of virtual machine.The registration letter of virtual machine
Breath mainly includes the FCID information of virtual machine access network, net-work parameter information, flow control information, clothes
Business class information.
Step 202, FC switch is according to described migration request message, by the log-on message of described virtual machine
By connecting the first port of the first main frame, move to connect the second port of described second main frame, and revise
Forward table.
After the log-on message of virtual machine is moved to the second port by FC switch, in addition it is also necessary to turning within Xiu Gai
Deliver, i.e. amendment virtual machine accesses the routing iinformation of FC network, so that after virtual function is by described amendment
Forward table normally access FC network.
Step 203, FC switch receives, by described second port, the data message that described virtual machine sends
Or send data message to described virtual machine.
After forward table within the amendment of FC switch, virtual machine just can be by the second port of FC switch
Normal access FC network, i.e. FC switch can receive described virtual machine by described second port and send
Data message or to described virtual machine send data message.
In the present embodiment, FC switch receives the migration request that the virtual machine monitor of the second main frame sends
After message, the identification information of the virtual machine carried according to described migration request message is by the note of described virtual machine
Volume information moves to connect the second end of the second main frame from the first port of connection first main frame of FC switch
Mouthful, and revise forward table, it is achieved that and virtual machine and the migration of FC network configuration information thereof, solve existing
The problem that virtual machine after migrating in technology cannot access FC network or business is interrupted.
Above-mentioned two embodiment describes the migration for virtual machine, the second main frame that described virtual machine is moved into
The process done, and the place that the FC switch being connected with described first main frame and described second main frame is done
Reason, following embodiment will describe the whole flow process of virtual machine (vm) migration.Fig. 3 provides for the embodiment of the present invention
The method flow diagram of another virtual machine (vm) migration.As described in Figure 3, the present embodiment comprises the following steps:
Step 301, virtual machine from the first host migration to the second main frame.
Described first main frame and described second main frame access FC network by same FC switch.First
The HBA network interface card of main frame is connected with the first port of described FC switch, the HBA network interface card of the second main frame and institute
The second port stating FC switch connects.
When virtual machine is in the first main frame, sent to registrar by the HBA network interface card of the first main frame
FLOGI message, registers, it is thus achieved that the FCID information of access network, net-work parameter information, flow control
Information processed, service level information, and by sending PLOGI message by the information registering of self to title
On server.Virtual machine is when the first host migration to the second main frame, and virtual machine itself does not knows that oneself is
Through migrating, the information obtained when therefore may proceed to register according to oneself carries out I/O operation.
Step 302, the perception of virtualization system and control device-aware to virtual machine from the first host migration to
Second main frame.
It is real that the perception of virtualization system and control equipment may reside in the existing physics of certain in FC network
On body equipment, it is also possible to separately exist on a new physical entity equipment, for by virtual machine
Monitor, the migration of perception virtual machine.
Step 303, the perception of virtualization system and control equipment are to leading to that the second main frame transmission virtual machine is moved into
Know message.
The perception of virtualization system and control device-aware, to when having virtual machine (vm) migration, can be moved into virtual machine
The second main frame virtual machine monitor send a notification message, notify that the second main frame has virtual machine to move into.
Virtual machine in second main frame is set up on virtual machine monitor.
Step 304, the second main frame sends migration request message to FC switch.
Described migration request message includes the identification information of described virtual machine, in order to make described FC switch
The log-on message of virtual machine corresponding for described identification information is moved to from the first port connecting the first main frame
Connect the second port of the second main frame.
The identification information of virtual machine includes port title and the nodename of virtual machine.The registration letter of virtual machine
Breath mainly includes the FCID information of virtual machine access network, net-work parameter information, flow control information, clothes
Business class information.
Step 305, FC switch receives migration request message, according to described migration request message by virtual
The log-on message of machine moves to the second port from the first port, and revises forward table.
Certainly, when virtual machine is moved out from the first main frame, FC switch has been received by the first main frame and sends
Virtual machine move out the information of the first main frame, therefore, after FC switch receives migration request message, root
According to the identification information of the virtual machine carried in described migration request message by the log-on message of virtual machine from first
Port moves to the second port, i.e. migrates virtual machine in the first main frame by acquisition during the first port registration
The FCID information of access network, net-work parameter information, flow control information, service level information etc..
Revise forward table, i.e. amendment virtual machine the most again and access the routing iinformation of FC network, enable virtual machine just
FC network is asked in frequentation, the business carried out before continuation.
Step 306, FC switch receives, by described second port, the data message that described virtual machine sends
Or send data message to described virtual machine.
After forward table within the amendment of FC switch, virtual machine just can be by the second port of FC switch
Normal access FC network, i.e. FC switch can receive described virtual machine by described second port and send
Data message or to described virtual machine send data message.
In the embodiment of the present invention, when virtual machine migrates into the second main frame from the first main frame, the second main frame connects
The described virtual machine of the perception and the transmission of control equipment of receiving virtualization system migrates into the notice of the second main frame and disappears
Breath;Then migration request message is sent according to described notification message to FC switch.FC switch receives table
Levy virtual machine move into the second main frame migration request message after;According to described migration request message, by described
The log-on message of virtual machine, by connecting the first port of the first main frame, moves to connect the second of the second main frame
Port, and revise forward table;FC switch receives, by described second port, the number that described virtual machine sends
It is believed that breath or send data message to described virtual machine, it is achieved that virtual machine and FC network configuration information thereof
Migrate, solve the virtual machine after migrating in prior art and cannot access FC network or business is interrupted
Problem.
The network architecture diagram of a kind of virtual machine (vm) migration that Fig. 4 provides for the embodiment of the present invention.As shown in Figure 4,
The present embodiment includes following equipment:
Equipment 401 is the first main frame, and the HBA network interface card of the first main frame connects the first end of FC switch 405
Mouthful, i.e. port FC0/1.First main frame is the main frame that virtual machine 2 is moved out.
When virtual machine 2 is in the first main frame, by the HBA network interface card of the first main frame to registrar, i.e.
Fabric login service device sends FLOGI message and registers, it is thus achieved that the FCID information of access network, net
Network parameter information, flow control information, service level information;And will be from by sending PLOGI message
The information registering of body is on name server.After completing said process, virtual machine 2 can be exchanged by FC
First port of machine accesses network.
Equipment 402 is the second main frame, and the HBA network interface card of the second main frame connects the 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 the perception of virtualization system and controls equipment.Perception and the control of virtualization system set
It is ready for use on and the virtual machine in network is monitored, when perception and the control device-aware of virtualization system arrive
Virtual machine 2, when the first main frame migrates into the second main frame, can send virtual machine 2 to the second main frame and migrate into
The notification message of the second main frame.
Equipment 404 is HBA network interface card, is connected with the port of FC switch 406.HBA network interface card is that main frame is total
Line adapter, is connected with fiber array cabinet for server, and HBA, inside main frame, is used for connecting in main frame
Equipment in portion's bus and storage network.HBA is that the I/O passage within main frame is logical with the I/O of storage system
Physical connection between road.The I/O passage of storage system is actually optical-fibre channel.And the work of HBA
With the conversion realized exactly between inner passage agreement PCI and fiber channel protocol.
Equipment 405 is FC switch, and FC switch is for by substantial amounts of server and network storage equipment group
Being woven in a storage area network, FC switch is by the port of self and the node device in FC network
Connect.In the present embodiment, FC switch connects the HBA net of the first main frame by the first port FC0/1
Card, connects the HBA network interface card of the second main frame by the second port FC0/2.Virtual machine 2 is by the first main frame
HBA network interface card registration after, FC switch the first port just stores the log-on message of the second virtual machine.
When virtual machine 2 is from the first host migration to the second main frame, FC switch will receive the second main frame and send
Migration request message, the identification information of the virtual machine 2 then carried according to described migration request message will
The log-on message of virtual machine 2 moves to the second port from the first port, and virtual machine 2 just can be by the
Two-port netwerk accesses FC network.
The device schematic diagram of a kind of virtual machine (vm) migration that Fig. 5 provides for the embodiment of the present invention.As it is shown in figure 5,
Described device includes with lower unit:
Receptor 501, for when virtual machine migrates into the second main frame from the first main frame, receives virtualization system
The described virtual machine that the perception of system and control equipment send migrates into the notification message of described second main frame.
Certainly, virtual machine from described first host migration to described second main frame time, virtual in FC network
The perception of change system and control device-aware are main to described second from described first host migration to virtual machine
Machine, and send the described virtual machine (vm) migration notification message to described second main frame to the second main frame.
Transmitter 502, for sending migration request message according to described notification message to FC switch, uses
So that what the log-on message of described virtual machine was connected with FC switch by FC switch by described first main frame
First port, moves to the second port that the second main frame is connected with described FC switch.
Described migration request message includes the identification information of described virtual machine, the identification information bag of virtual machine
Include the nodename of virtual machine, port title.
The log-on message of virtual machine includes the FCID information of virtual machine access network, net-work parameter information, stream
Amount control information, service level information.
Transmitter 502 sends migration request message, its objective is that i.e. FC switch receives by receiving side
After this migration request message, according to the identification information of the virtual machine carried in migration request message by virtual machine
Log-on message move to the second port from the first port of FC switch.Complete the log-on message of virtual machine
Migration after, virtual machine just can continue access FC network, and proceed migrate before Business Processing.
Above-described embodiment describe for virtual machine after the first host migration to the second main frame, virtual machine is moved into
Device to FC switch send migration request message process, and following embodiment exactly describe reception side
After receiving above-mentioned migration request message, the log-on message of virtual machine is moved to the second end from the first port
The process of mouth.The structural representation of a kind of FC switch that Fig. 6 provides for the embodiment of the present invention.Such as Fig. 6
Shown in, described FC switch includes with lower unit:
Receptor 601, for when virtual machine migrates into the second main frame from the first main frame, receives virtualization system
The described virtual machine that the perception of system and control equipment send migrates into the notification message of described second main frame.
Described migration request message includes the identification information of described virtual machine, is used for making described FC switch
The log-on message of virtual machine corresponding for described identification information is moved to the second port from the first port.
Receptor 601 is additionally operable to receive the described virtual machine that the first main frame sends and moves out described first main frame
Message.
First main frame the first port access network by described FC switch, described second main frame passes through institute
State the second port access network of FC switch.
The log-on message of virtual machine includes the FCID information of virtual machine access network, net-work parameter information, stream
Amount control information, service level information.
Processing unit 602, for according to described migration request message, by the log-on message of described virtual machine by
Connect the first port of described first main frame, move to connect the second port of described second main frame, and repair
Change forward table.
After receptor 601 receives migration request message, processing unit 602 is according to this migration request message
In the identification information of virtual machine carried the log-on message of virtual machine is moved to the second end from the first port
Mouthful, i.e. migrate virtual machine in the first main frame by the FCID information of acquisition, network during the first port registration
Parameter information, flow control information, service level information;Revise forward table the most again, be i.e. equivalent to repair
Change virtual machine and access the routing iinformation of network, enable virtual machine normal territory, access storage areas net.
Information interactive unit 603, for receiving, by described second port, the data letter that described virtual machine sends
Cease or send data message to described virtual machine.
The embodiment of the present invention additionally provides the system of a kind of device including above-mentioned virtual machine (vm) migration, this system
Including the device of the virtual machine (vm) migration in the embodiment of the present invention, FC switch, the first main frame and virtual
The perception of machine system and control equipment.In the system that the embodiment of the present invention is provided, when virtual machine is from
When one main frame migrates into the second main frame, the second main frame receives the perception of virtualization system and controls equipment transmission
Described virtual machine migrate into the notification message of the second main frame;Then exchange to FC according to described notification message
Machine sends migration request message.FC switch receives and characterizes the move into migration request of the second main frame of virtual machine and disappear
After breath;According to described migration request message, by the log-on message of described virtual machine by connecting the first main frame
First port, moves to connect the second port of the second main frame, and revises forward table;By described second
Port receives the data message of described virtual machine transmission or sends data message to described virtual machine.Thus real
Show virtual machine and the migration of FC network configuration information thereof, solve the virtual machine after migrating in prior art
FC network cannot be accessed or problem that business is interrupted.
Professional should further appreciate that, describes in conjunction with the embodiments described herein
The unit of each example and algorithm steps, it is possible to come with electronic hardware, computer software or the combination of the two
Realize, in order to clearly demonstrate the interchangeability of hardware and software, the most according to function
Generally describe composition and the step of each example.These functions are come with hardware or software mode actually
Perform, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can be to often
Individual specifically should being used for uses different methods to realize described function, but this realization it is not considered that
Beyond the scope of this invention.
The method described in conjunction with the embodiments described herein or the step of algorithm can use hardware, process
The software module that device performs, or the combination of the two implements.Software module can be placed in random access memory
(RAM), internal memory, read only memory (ROM), electrically programmable ROM, electrically erasable ROM,
Other form any well known in depositor, hard disk, moveable magnetic disc, CD-ROM or technical field
Storage medium in.
Above-described detailed description of the invention, is carried out the purpose of the present invention, technical scheme and beneficial effect
Further describe, be it should be understood that the foregoing is only the present invention detailed description of the invention and
, the protection domain being not intended to limit the present invention, all within the spirit and principles in the present invention, done
Any modification, equivalent substitution and improvement etc., should be included within the scope of the present invention.
Claims (11)
1. the method for a virtual machine (vm) migration, it is characterised in that described method includes:
When virtual machine migrates into the second main frame from the first main frame, described second main frame receives virtualization system
The described virtual machine that the perception of system and control equipment send migrates into the notification message of described second main frame;
Described second main frame sends migration request according to described notification message to Fibre Channel switch and disappears
Breath, in order to make described FC switch by the log-on message of described virtual machine by described first main frame with described
The first port that FC switch connects, move to that described second main frame is connected with described FC switch the
Two-port netwerk.
2. the method for virtual machine (vm) migration as claimed in claim 1, it is characterised in that described migration
Request message includes the identification information of described virtual machine, in order to make described FC switch by described identification
The log-on message of the virtual machine that information is corresponding moves to described second port from described first port.
3. the method for a virtual machine (vm) migration, it is characterised in that described method includes:
Fibre Channel switch receives the migration request message that the second main frame sends, described migration request
Message is used for indicating virtual machine to move into described second main frame;
Described FC switch is according to described migration request message, by the log-on message of described virtual machine by even
Connect the first port of the first main frame, move to connect the second port of described second main frame, and amendment turns
Deliver;
Described FC switch by described second port receive described virtual machine send data message or to
Described virtual machine sends data message.
4. the method for virtual machine (vm) migration as claimed in claim 3, it is characterised in that described reception
To migration request message include the identification information of described virtual machine;
Described by the log-on message of described virtual machine by connecting the first port of the first main frame, the company of moving to
The second port connecing the second main frame specifically includes: described FC switch is by institute corresponding for described identification information
The log-on message stating virtual machine moves to described in connection from described first port connecting described first main frame
Described second port of the second main frame.
5. the method for virtual machine (vm) migration as claimed in claim 3, it is characterised in that described reception
Characterize virtual machine move into the second main frame request message before also include: described FC switch receives described
The described virtual machine that first main frame sends is moved out the message of described first main frame.
6. the device of a virtual machine (vm) migration, it is characterised in that described device includes:
Receptor, for when virtual machine migrates into the second main frame from the first main frame, receives virtualization system
The described virtual machine that the perception of system and control equipment send migrates into the notification message of described second main frame;
Transmitter, disappears for sending migration request according to described notification message to Fibre Channel switch
Breath, in order to make described FC switch by the log-on message of described virtual machine by described first main frame with described
The first port that FC switch connects, move to that described second main frame is connected with described FC switch the
Two-port netwerk,
Wherein, described device is described second main frame.
7. the device of virtual machine (vm) migration as claimed in claim 6, it is characterised in that described migration
Request message includes the identification information of described virtual machine, in order to make described FC switch by described identification
The log-on message of the virtual machine that information is corresponding moves to described second port from described first port.
8. a Fibre Channel switch, it is characterised in that described FC switch includes:
Receptor, for receiving the migration request message that the second main frame sends, described migration request message
For indicating virtual machine to move into described second main frame;
Processing unit, for according to described migration request message, by the log-on message of described virtual machine by
Connect the first port of the first main frame, move to connect the second port of described second main frame, and revise
Forward table;
Information interactive unit, for receiving, by described second port, the data letter that described virtual machine sends
Cease or send data message to described virtual machine.
9. FC switch as claimed in claim 8, it is characterised in that described in the request that receives
Message includes the identification information of described virtual machine;
Described processing unit specifically for: the registration of described virtual machine corresponding for described identification information is believed
Cease and move to connect described the of described second main frame from described first port connecting described first main frame
Two-port netwerk.
10. FC switch as claimed in claim 8, it is characterised in that described receptor is also used
In: receive the described virtual machine that described first main frame sends and move out the message of described first main frame.
The system of 11. 1 kinds of virtual machine (vm) migrations, it is characterised in that described system includes such as claim 6
Or the device of the virtual machine (vm) migration described in 7, the FC as described in any one in claim 8-10 hands over
Change planes, the first main frame, and the perception of virtualization system and control equipment.
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 CN103207801A (en) | 2013-07-17 |
CN103207801B true 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) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103501295B (en) * | 2013-09-27 | 2017-03-08 | 杭州华三通信技术有限公司 | A kind of remote access method based on virtual machine (vm) migration and equipment |
US10002014B2 (en) * | 2015-07-10 | 2018-06-19 | International Business Machines Corporation | Management of a virtual machine in a virtualized computing environment based on a fabric limit |
CN105704203B (en) * | 2015-12-10 | 2019-01-18 | 华为技术有限公司 | The method and apparatus of resources balance |
CN106453118B (en) * | 2016-11-11 | 2020-01-07 | 深信服科技股份有限公司 | Flow control method and flow control system |
CN109213566B (en) * | 2017-06-29 | 2022-05-13 | 华为技术有限公司 | Virtual machine migration method, device and equipment |
CN108199962B (en) * | 2017-12-22 | 2021-09-07 | 新华三技术有限公司 | Address migration method and device, network equipment and readable storage medium |
Citations (1)
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5521620B2 (en) * | 2010-02-19 | 2014-06-18 | 富士通株式会社 | Relay device, virtual machine system, and relay method |
-
2012
- 2012-01-11 CN CN201210006993.4A patent/CN103207801B/en active Active
Patent Citations (1)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN103207801A (en) | 2013-07-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10601637B2 (en) | Hierarchical network managers | |
CN103207801B (en) | The methods, devices and systems of virtual machine (vm) migration and fibre channel media | |
US20080192648A1 (en) | Method and system to create a virtual topology | |
CN103905426B (en) | For making the host-to-host information receiving and transmitting safety and isolated method and apparatus of PCIe structurally | |
CN102469025B (en) | Multipath switching over multiple storage systems | |
CN104115121B (en) | The system and method that expansible signaling mechanism is provided virtual machine (vm) migration in middleware machine environment | |
US20080195756A1 (en) | Method and system to access a service utilizing a virtual communications device | |
US8244924B2 (en) | Discovery and configuration of device configurations | |
CN105337750B (en) | Fibre channel sans configuration method and device | |
CN103777895B (en) | The method and apparatus that the storage volume cooperated with storage area network configuration adapter migrates | |
CN104717081B (en) | The implementation method and device of a kind of gateway function | |
CN104981788B (en) | The control method of storage system and storage system | |
JP5953109B2 (en) | Management server and verification method | |
JP2011134296A (en) | Method and apparatus for i/o path switching | |
CN107678835A (en) | A kind of data transmission method and system | |
CN109302466A (en) | Data processing method, relevant device and computer storage medium | |
CN107959582A (en) | A kind of management method and device of example of cutting into slices | |
US20160218929A1 (en) | Method and Apparatus for Registering and Storing Virtual Machine Unique Information Capabilities | |
CN102790777A (en) | Network interface adapter register method as well as drive equipment and server | |
CN105808158A (en) | Method and apparatus for grouping multiple SAS extenders to form single internally condensed SAS extender | |
CN109547875A (en) | A kind of FC exchange network arbitrary port access design method | |
US8762485B2 (en) | Information system having computer and storage apparatus coupled to network | |
CN105786732B (en) | Data access method and device | |
CN105471692B (en) | A kind of method and apparatus of network interworking | |
CN104822101B (en) | The method and device of Fabric Network Synchronizations port diagnostic message |
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 |