CN108268300A - The moving method and device of a kind of virtual machine - Google Patents
The moving method and device of a kind of virtual machine Download PDFInfo
- Publication number
- CN108268300A CN108268300A CN201611257196.8A CN201611257196A CN108268300A CN 108268300 A CN108268300 A CN 108268300A CN 201611257196 A CN201611257196 A CN 201611257196A CN 108268300 A CN108268300 A CN 108268300A
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- address
- list
- real
- communication message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/4557—Distribution of virtual machine instances; Migration and load balancing
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of moving method of virtual machine, including:The first virtual machine list is obtained, the first virtual machine list includes the internet protocol address of virtual machine in targeted subnet;According to the IP address, the second virtual machine list is filtered out from the first virtual machine list, the second virtual machine list includes the virtual machine that real ip address has not been obtained all in the first virtual machine list;Logic IP addresses are distributed the virtual machine in the second virtual machine list, and the logic IP addresses are to be different from the IP address of real ip address in the first virtual machine list in targeted subnet;According to the logic IP addresses of distribution to the virtual machine creating virtual network service resource in the second virtual machine list;When being resolved to the real ip address of virtual machine in the second virtual machine list, the logic IP addresses of virtual machine corresponding in the virtual network service are replaced with into real ip address.The present invention further simultaneously discloses a kind of moving apparatus of virtual machine.
Description
Technical field
The present invention relates to field of cloud calculation more particularly to the moving methods and device of a kind of virtual machine.
Background technology
The virtualization technology of virtual platform VMware allows users to assertorically virtualize any application, and can weigh
It is new to define availability and simplify virtual data center, on-demand architecture highly usable, that recovery capability is strong finally can be achieved.And
Virtualization product vCenter Server can provide unified management, and can realize real-time migration etc. for entire Virtual base framework
The function of the virtual platform vSphere of many keys.And virtualization product vCenter Server can be managed and are distributed in
The thousands of virtual machines of multiple positions simplify management process using fast deployment and automation strategy.
In order to give the publicly-owned or private clound of virtual computing or storage service, flexible and expansible cloud computing is provided, is needed
The platform of a management cloud is provided, virtual network service (OpenStack) provides just such a platform.Normal conditions
Under, the calculate node of OpenStack is virtualization technology KVM, and in order to realize unified resource management, it needs other
Virtualization resource is migrated into the management platform of OpenStack, if migration is completed, it is possible to pass through the management of OpenStack
These resources of platform uniform management.But the migration not a duck soup of virtual machine, a large amount of practical experience show once successfully to move
It moves, needs the acquisition of information for meeting virtual machine complete, the information of virtual machine meets the multinomial condition such as the requirement of OpenStack.But
It is, when virtual machine (vm) migration, the acquisition of virtual machine network information the problem of often existence information is incomplete, for example,
Under virtual platform VMware, only virtual machine is in open state, and has been mounted with to provide virtual machine IP address information
Program virtual machine tool VMware Tools, can just pass through application programming interface (API, Application
Programming Interface) obtain the IP address information of the virtual machine.
Due to the difference of different designs people's design philosophy so that under the management platform of OpenStack, the network of virtual machine
Information follows stringent distribution and management uses rule.According to the requirement of OpenStack, Microsoft Loopback Adapter used in virtual machine,
IP address, netmask, belonging network, subnet information are required for clearly;And under other virtual platforms, the net of virtual machine
Network information can not be limited by user's manual configuration by belonging network, also without corresponding IP address assignment record, can not be ensured
The information completely of virtual machine.Therefore, it in virtual machine (vm) migration, needs to remove the corresponding information of completion virtual machine by hand, this is just contrary to
In Autonomic Migration Framework, without the principle of human intervention, it is on the increase with the virtual machine quantity of migration so that the migration lattice of virtual machine
Outer is time-consuming and laborious.Fig. 1 is flow diagram of the VMware virtual machine (vm) migrations to OpenStack, with reference to shown in Fig. 1, virtual machine
Migration flow include:The data information completion of the data acquisition, virtual platform VMware of virtual platform VMware and
Create the process of OpenStack resources.
An existing application number CN201510589171.7 is entitled《A kind of virtual machine migration method and device》Patent
A kind of moving method of virtual machine is described, this method includes:First, calculate node is configured in resource distribution file and needs to migrate
To driving (Driver) information of host where the virtual machine of this calculate node and the IP address or cluster of the host letter
Breath;Then, the configuration information of the virtual machine is obtained;The network that the virtual machine uses is created according to the configuration information of acquisition, with
And the characteristic information of the virtual machine;Finally, identification code UUID is generated for virtual machine to be created, and is ordered again using identification code UUID
The title of virtual machine, makes to be managed in the virtual machine (vm) migration to Openstack described in name virtual management software.It is based on
Same inventive concept also proposes a kind of moving apparatus of virtual machine in the existing patent, can not change existing virtualization ring
In the case of border, it will be managed in virtual machine (vm) migration to OpenStack.
Although above-mentioned patent describes a kind of moving method of virtual machine, still, this method in transition process to not obtaining
The virtual machine configuration information taken is described in detail, and is assumed that in the ideal case, and the network configuration information of virtual machine can
It is normal to obtain.In practical applications, if virtual machine does not install virtual machine tool VMware Tools or in shutdown shape
State calls the Simple Object Access Protocol (SOAP, Simple Object Access Protocol) of virtual platform VMware
API can not also obtain the IP address information of virtual machine so that during virtual machine (vm) migration to OpenStack, due to virtual machine
It lacks IP address information and can not migrate into the management platform of OpenStack.Furthermore, it is understood that each net of OpenStack
Network both provides available IP address resource, is migrated from virtual platform Vmware environment to openstack by virtual machine
During, if the IP address acquisition of information of virtual platform VMware is less than OpenStack can not be just that virtual machine distributes
IP address, and then influence the establishment of virtual machine.
As it can be seen that in order to solve not migrating to the management platform of OpenStack since virtual machine lacks IP address information
The problems in, there is an urgent need for find a kind of migration scheme of virtual machine.
Invention content
It is existing to solve the problems, such as, an embodiment of the present invention is intended to provide the moving method and device of a kind of virtual machine,
Can be in the case where virtual machine lack IP address information, by the management platform of virtual machine (vm) migration to OpenStack, raising is moved
Move into power.
In order to achieve the above objectives, the technical proposal of the invention is realized in this way:
An embodiment of the present invention provides a kind of moving method of virtual machine, the method includes:
The first virtual machine list is obtained, the first virtual machine list includes the Internet protocol of virtual machine in targeted subnet
IP address;
According to the IP address, the second virtual machine list, second virtual machine are filtered out from the first virtual machine list
List includes the virtual machine that real ip address has not been obtained all in the first virtual machine list;
Logic IP addresses are distributed the virtual machine in the second virtual machine list, and the logic IP addresses are targeted subnet
In be different from the first virtual machine list in real ip address IP address;
According to the logic IP addresses of distribution to the virtual machine creating virtual network service in the second virtual machine list
Resource;
When being resolved to the real ip address of virtual machine in the second virtual machine list, by the virtual network service
In the logic IP addresses of corresponding virtual machine replace with real ip address.
In said program, the logic IP addresses according to distribution are to the virtual machine creating in the second virtual machine list
After virtual network service resource, the method further includes:
The first communication message sent to the corresponding virtual machine of IP address in IP address pond is monitored, the IP address
Pond is all IP address for being different from real ip address in the first virtual machine list in targeted subnet;
It will be in the MAC Address and the second virtual machine list of virtual machine network interface card in first communication message currently listened to
The MAC Address of virtual machine network interface card is compared;
As the MAC of virtual machine network interface card in the MAC Address of the virtual machine network interface card currently listened to and the second virtual machine list
Location there are it is consistent when, determine virtual machine in first communication message IP address be the virtual machine network interface card currently listened to
The corresponding virtual machine of MAC Address real ip address.
In said program, the first communication message sent to the corresponding virtual machine of IP address in the IP address pond carries out
Before monitoring, the method further includes:
IP address into the IP address pond sends the second communication message;
It will be virtual in the MAC Address of virtual machine network interface card in the third communication message being currently received and the second virtual machine list
The MAC Address of machine network interface card is compared, and the third communication message is the message that response is carried out to second communication message;
As the MAC of virtual machine network interface card in the MAC Address for the virtual machine network interface card being currently received and the second virtual machine list
Location there are it is consistent when, the IP address of virtual machine in the third communication message being currently received is determined as what is be currently received
The real ip address of the corresponding virtual machine of MAC Address of virtual machine network interface card;
Judge to have determined the number of the virtual machine of real ip address in the second virtual machine list in the first preset time
Whether the number of in second virtual machine list virtual machine is less than;
When the number for the virtual machine that real ip address is had determined in the second virtual machine list is less than the second virtual machine list
During the number of middle virtual machine, then the first communication message sent to the corresponding virtual machine of IP address in the IP address pond is performed
The step of being monitored.
In said program, before the IP address into the IP address pond sends the second communication message, the method
It further includes:
Fourth communication message is sent according to IP address of the preset period of time into the IP address pond;
Judge whether the number for carrying out the virtual machine of response in the second preset time to the fourth communication message is more than 0;
If so, the step of IP address performed into the IP address pond sends the second communication message;
It is carried out if it is not, then performing the first communication message sent to the corresponding virtual machine of IP address in the IP address pond
The step of monitoring.
In said program, the IP address according to preset period of time into the IP address pond sends fourth communication report
Before text, the method further includes:
Judge the number of virtual machine and the number of the IP address in the IP address pond in the second virtual machine list
Whether ratio is more than preset value;
If so, performing the IP address according to preset period of time into the IP address pond sends fourth communication report
The step of text;
It is carried out if it is not, then performing the first communication message sent to the corresponding virtual machine of IP address in the IP address pond
The step of monitoring.
In said program, the logic IP addresses by virtual machine corresponding in the virtual network service replace with reality
Before the IP address of border, the method further includes:
Judge whether the real ip address that is resolved to is consistent with the logic IP addresses of first object virtual machine, described the
One target virtual machine is to be different from the corresponding virtual machine of the real ip address in the second virtual machine list;
If so, redistribute new logic IP addresses to the second target virtual machine, second target virtual machine is the
The corresponding virtual machine of the logic IP addresses consistent with the real ip address in one target virtual machine;
If it is not, it performs the logic IP addresses of virtual machine corresponding in the virtual network service with replacing with practical IP
The step of location.
The embodiment of the present invention additionally provides a kind of moving apparatus of virtual machine, and described device includes:Acquisition module, screening mould
Block, distribution module, creation module and update module;Wherein,
The acquisition module, for obtaining the first virtual machine list, the first virtual machine list is included in targeted subnet
The IP address of virtual machine;
The screening module, for according to the IP address, the second virtual machine row to be filtered out from the first virtual machine list
Table, the second virtual machine list include in the first virtual machine list it is all practical Internet protocol IP has not been obtained
The virtual machine of location;
The distribution module, it is described to patrol for distributing logic IP addresses to the virtual machine in the second virtual machine list
Collect IP address of the IP address to be different from real ip address in the first virtual machine list in targeted subnet;
The creation module creates the virtual machine in the second virtual machine list for the logic IP addresses according to distribution
Build virtual network service resource;
The update module, for when being resolved to the real ip address of virtual machine in the second virtual machine list, inciting somebody to action
The logic IP addresses of corresponding virtual machine replace with real ip address in the virtual network service.
In said program, described device further includes:IP address parsing module;Wherein,
The IP address parsing module includes:Monitoring unit, the first comparing unit and the first determination unit;Wherein,
The monitoring unit, for the first communication message that virtual machine corresponding to IP address in IP address pond is sent into
Row is monitored, and the IP address pond is all IP address for being different from real ip address in the first virtual machine list in targeted subnet;
First comparing unit, for by the MAC of virtual machine network interface card in first communication message currently listened to
Address is compared with the MAC Address of virtual machine network interface card in the second virtual machine list;
First determination unit, for the MAC Address of virtual machine network interface card and the second virtual machine row that ought currently listen to
In table the MAC Address of virtual machine network interface card there are it is consistent when, the IP address for determining virtual machine in first communication message is described
The real ip address of the corresponding virtual machine of the MAC Address of virtual machine network interface card currently listened to.
In said program, the IP address parsing module further includes:First transmitting element, the second comparing unit, second are really
Order member and the first judging unit;Wherein,
First transmitting element sends the second communication message for the IP address into the IP address pond;
Second comparing unit, for the MAC Address of virtual machine network interface card in the third communication message that will be currently received
It is compared with the MAC Address of virtual machine network interface card in the second virtual machine list, the third communication message is logical to described second
Letter message carries out the message of response;
Second determination unit, for the MAC Address of virtual machine network interface card and the second virtual machine row being currently received
In table the MAC Address of virtual machine network interface card there are it is consistent when, by the IP of virtual machine in the third communication message being currently received
Address is determined as the real ip address of the corresponding virtual machine of the MAC Address of virtual machine network interface card being currently received;
First judging unit, for judging to have determined reality in the second virtual machine list in the first preset time
Whether the number of the virtual machine of IP address is less than the number of virtual machine in the second virtual machine list;When in the second virtual machine list
When the number of virtual machine through determining real ip address is less than the number of virtual machine in the second virtual machine list, then the prison is triggered
Listen unit.
In said program, the IP address parsing module further includes:Second transmitting element and second judgment unit;Wherein,
Second transmitting element, for sending the 4th according to IP address of the preset period of time into the IP address pond
Communication message;
The second judgment unit, for judging to carry out the fourth communication message in the second preset time the void of response
Whether the number of plan machine is more than 0;If so, triggering first transmitting element;If it is not, then trigger the monitoring unit.
In said program, the IP address parsing module further includes:
Third judging unit, for judging in the second virtual machine list in the number of virtual machine and the IP address pond
IP address number ratio whether be more than preset value;If so, triggering second transmitting element;If it is not, then trigger institute
State monitoring unit.
In said program, described device further includes:
Judgment module, for whether with the logical ip of first object virtual machine to judge the real ip address being resolved to
Location is consistent, and the first object virtual machine is to be different from the corresponding virtual machine of the real ip address in the second virtual machine list;
If so, redistributing new logic IP addresses to the second target virtual machine, second target virtual machine is empty for first object
The corresponding virtual machine of the logic IP addresses consistent with the real ip address in plan machine;If it is not, then trigger the update module.
The moving method and device of virtual machine provided in an embodiment of the present invention, first obtain the first virtual machine list, and described
One virtual machine list includes the internet protocol address of virtual machine in targeted subnet;It is virtual from first according to the IP address
The second virtual machine list is filtered out in machine list, the second virtual machine list includes all in the first virtual machine list
The virtual machine of real ip address has not been obtained;Again logic IP addresses, institute are distributed to the virtual machine in the second virtual machine list
State IP address of the logic IP addresses to be different from real ip address in the first virtual machine list in targeted subnet;According to patrolling for distribution
IP address is collected to the virtual machine creating virtual network service resource in the second virtual machine list;When being resolved to described second
In virtual machine list during the real ip address of virtual machine, by the logical ip of virtual machine corresponding in the virtual network service
Location replaces with real ip address.
As it can be seen that the embodiment of the present invention is by giving the virtual machine of missing IP address information with distributing an effective logical ip
Location, and according to the logic IP addresses, it will be in the virtual machine (vm) migration to OpenStack;When the reality for being resolved to the virtual machine
During the IP address of border, the logic IP addresses of virtual machine corresponding in the OpenStack are replaced with into real ip address, so as to
In the case where virtual machine lacks IP address information, by the management platform of virtual machine (vm) migration to OpenStack, migration is improved
Success rate.
Description of the drawings
Fig. 1 is flow diagram of the VMware virtual machine (vm) migrations to OpenStack;
Fig. 2 is the realization flow diagram of the moving method embodiment one of virtual machine of the present invention;
Fig. 3 is the flow diagram of the real ip address of virtual machine in parsing the second virtual machine list;
Fig. 4 is arping scan scanning result schematic diagrames;
Fig. 5 is monitors arp request message result schematic diagrams;
Fig. 6 is the composition structure diagram of the moving apparatus embodiment one of virtual machine of the present invention;
Fig. 7 is the composition structure diagram of IP address parsing module;
Fig. 8 is deployed position schematic diagram of the IP address parsing module in OpenStack.
Specific embodiment
The moving method of virtual machine provided in an embodiment of the present invention, is mainly used in subnet system, by giving missing IP
The virtual machine of address information distributes an effective logic IP addresses, and according to the logic IP addresses, the virtual machine is moved
It moves in OpenStack;It, will be corresponding virtual in the OpenStack when the real ip address for being resolved to the virtual machine
The logic IP addresses of machine replace with real ip address, will be virtual in the case of lacking IP address information in virtual machine
Machine is migrated into the management platform of OpenStack, improves migration success rate.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.It should
Understand, the specific embodiments described herein are merely illustrative of the present invention, is not intended to limit the present invention.
Fig. 2 is the realization flow diagram of the moving method embodiment one of virtual machine of the present invention, with reference to shown in Fig. 2, this reality
The moving method for applying the virtual machine of example includes the following steps:
Step 101, obtain the first virtual machine list, the first virtual machine list include targeted subnet in virtual machine it is mutual
Networking protocol IP address;
The moving method of virtual machine of the present invention can be adapted for a variety of virtual platforms, for example, can be adapted for virtualizing
In platform VMware, virtual platform vSphere is readily applicable to, it in the present embodiment, can be with virtual platform
It is described in detail for VMware;Further, the moving method of virtual machine of the present invention can be applied in list net, also may be used
To apply in plurality of subnets, in the present embodiment, can be described in detail for applying in list net.
Specifically, Vmware SOAP API is called to obtain the first virtual machine list from OpenStack, described first is empty
Internet protocol address of the plan machine list in addition to including virtual machine in targeted subnet further includes virtual machine title, virtual machine
Identification code UUID, virtual machine power supply status, virtual processor (vCPU) number, memory size and the affiliated net of virtual machine network interface card
The mac address information of network information, virtual machine network interface card.
Step 102, according to the IP address, the second virtual machine list is filtered out from the first virtual machine list, described
Two virtual machine lists include the virtual machine that real ip address has not been obtained all in the first virtual machine list;
Here, whether the IP address information of the virtual machine can obtain, depending on virtual machine tool VMware Tools
Installation condition and the operating status that is presently in of virtual machine, if virtual machine does not install virtual machine tool VMware
Tools or in off-mode, it is the IP address information that can not get virtual machine to call VMware SOAP API;This
In embodiment, according to the IP address of virtual machine in the first virtual machine list, the second void is filtered out from the first virtual machine list
Plan machine list, the second virtual machine list include all real ip address that have not been obtained in the first virtual machine list
Virtual machine.
Specifically, table 1 is the first virtual machine list, and with reference to shown in table 1, the first virtual machine list includes virtual machine
The information of vm1, vm2, vm3, vm4, vm5 and vm6, wherein, the IP address information of virtual machine vm3, vm4, vm5 and vm6 are
0.0.0.0, the virtual machine missing IP address information is represented, real ip address simultaneously obtains not successfully;By virtual machine vm3, vm4,
For all information siftings of vm5 and vm6 to the second virtual machine list, table 2 is the second virtual machine list, with reference to shown in table 2, described the
It is virtual to be included in second for all information of virtual machine vm3, vm4, vm5 and vm6 and the virtual machine in one virtual machine list
In machine list.In addition, due to the information completely of virtual machine vm1, vm2 in the first virtual machine list, it can be directly to virtual
Machine vm1, vm2 create OpenStack resources.
1 first virtual machine list of table
2 second virtual machine list of table
Step 103, logic IP addresses are distributed to the virtual machine in the second virtual machine list, the logic IP addresses are
It is different from the IP address of real ip address in the first virtual machine list in targeted subnet;
In the step, all IP address that real ip address in the first virtual machine list is different from targeted subnet will structure
Into an IP address pond, any of described IP address pond IP address can be as virtual machine in the second virtual machine list
Logic IP addresses, however, to ensure that the uniqueness of logic IP addresses distribution, it is impossible to for two in the second virtual machine list
Platform virtual machine distributes same IP address in the IP address pond.
Step 104, according to the logic IP addresses of distribution to the virtual machine creating virtual net in the second virtual machine list
Network server resource;
Step 105, when being resolved to the real ip address of virtual machine in the second virtual machine list, by the virtual net
The logic IP addresses of corresponding virtual machine replace with real ip address in network server.
Here, since the logic IP addresses of virtual machine in the second virtual list are randomly assigned, when being resolved to described
In two virtual machine lists during the real ip address of virtual machine, the real ip address of the virtual machine may be with described second virtually
The logic IP addresses conflict of other virtual machines in machine list, therefore, by the logic of virtual machine corresponding in the OpenStack
IP address is replaced with before real ip address, it is also necessary to judge whether the real ip address being resolved to is virtual with first object
The logic IP addresses of machine are consistent, and the first object virtual machine is to be different from the real ip address pair in the second virtual machine list
The virtual machine answered;If so, redistributing new logic IP addresses to the second target virtual machine, second target virtual machine is
The corresponding virtual machine of the logic IP addresses consistent with the real ip address in first object virtual machine;If it is not, it then performs institute
State the step of logic IP addresses of corresponding virtual machine in OpenStack replace with real ip address.
It, can be with after the logic IP addresses of virtual machine corresponding in the OpenStack are replaced with real ip address
Update result is advertised to OpenStack immediately, can also periodically be advertised to OpenStack, and a notice can include
The update of the IP address of multiple virtual machines will update result as a result, in the present embodiment, can be advertised to OpenStack immediately
For be described in detail.
Specifically, the first virtual machine list is obtained, with reference to shown in table 1, the first virtual machine list includes targeted subnet
The IP address of middle virtual machine vm1, vm2, vm3, vm4, vm5 and vm6;
According to the IP address, the second virtual machine list is filtered out from the first virtual machine list, with reference to 2 institute of table
Show, the second virtual machine list include the first virtual machine list in have not been obtained real ip address virtual machine vm3,
Vm4, vm5 and vm6;
OpenStack resources are created to virtual machine vm1, vm2 of information completely;
Logic IP addresses are distributed the virtual machine in the second virtual machine list, and the logic IP addresses are IP address pond
In IP address;
According to the logic IP addresses of distribution to virtual machine creating OpenStack resources in the second virtual machine list;
When being resolved to the real ip address of virtual machine in the second virtual machine list, the reality being resolved to is judged
Whether IP address is consistent with the logic IP addresses of first object virtual machine, and the first object virtual machine is the second virtual machine list
In be different from the corresponding virtual machine of the real ip address;If so, it is empty to the second target to redistribute new logic IP addresses
Plan machine, to keep the uniqueness of logic IP addresses, second target virtual machine be first object virtual machine in the reality
The corresponding virtual machine of the consistent logic IP addresses of IP address;If it is not, it then performs virtual machine corresponding in the OpenStack
Logic IP addresses replace with the step of real ip address;
The logic IP addresses of virtual machine corresponding in the OpenStack are replaced with into real ip address;
Update result is advertised to OpenStack immediately.
It is understood that by the way that the virtual machine of missing IP address information is given to distribute an effective logic IP addresses, and
It, will be in the virtual machine (vm) migration to OpenStack according to the logic IP addresses;When the practical IP for being resolved to the virtual machine
During location, the logic IP addresses of virtual machine corresponding in the OpenStack are replaced with into real ip address, can just be solved due to void
Plan machine the problems in lacks IP address information and can not migrate to the management platform of OpenStack, be because:In targeted subnet not
An IP address pond will be formed by being same as all IP address of real ip address in the first virtual machine list, in IP address pond
IP address for virtual machine and it is non-genuine use, be effective logical ip but for OpenStack
Location;Can be the virtual machine creating as soon as distributing a logic IP addresses by the virtual machine for giving missing IP address information
OpenStack resources, subsequently when being resolved to the real ip address of virtual machine in the second virtual machine list, by described in
The logic IP addresses of corresponding virtual machine replace with real ip address in OpenStack, so as in virtual machine missing IP
In the case of the information of location, by the management platform of virtual machine (vm) migration to OpenStack, migration success rate is improved.
Further, in the moving method embodiment two of virtual machine of the present invention, parsing second virtual machine is described
The process of the real ip address of virtual machine in list is described in detail this below in conjunction with Tables 1 and 2.
In the present embodiment, three kinds of modes may be used with parsing in the second virtual machine list the practical IP of virtual machine
Location, first way are:The first communication message only sent by monitoring the corresponding virtual machine of the IP address in IP address pond, comes
Determine the real ip address of virtual machine in the second virtual machine list;The second way is:IP only into IP address pond
Location sends the second communication message, and response is carried out to second communication message according to virtual machine in the second virtual machine list
Third communication message, to determine the real ip address of the virtual machine;The third mode is:With reference to first way and second
Mode parses the real ip address of virtual machine in the second virtual machine list.
In the present embodiment, will in a third way for be described in detail, specifically, Fig. 3 is empty to parse described second
The flow diagram of the real ip address of virtual machine in plan machine list with reference to shown in Fig. 3, is parsed in the second virtual machine list
The process of the real ip address of virtual machine includes the following steps:
Step 201, judge the number of virtual machine and the IP address in the IP address pond in the second virtual machine list
Number ratio whether be more than preset value;If so, perform step 202;If it is not, then perform step 208;
Step 202, fourth communication message is sent according to IP address of the preset period of time into the IP address pond;
Step 203, the number of virtual machine for judging to carry out response to the fourth communication message in the second preset time is
It is no to be more than 0;If so, perform step 204;If it is not, then perform step 208;
Step 204, the IP address into the IP address pond sends the second communication message;
Step 205, the MAC Address of virtual machine network interface card in the third communication message being currently received and the second virtual machine are arranged
The MAC Address of virtual machine network interface card is compared in table, and the third communication message is carries out response to second communication message
Message;
Step 206, when virtual machine network interface card in the MAC Address for the virtual machine network interface card being currently received and the second virtual machine list
MAC Address there are it is consistent when, the IP address of virtual machine in the third communication message being currently received is determined as currently
The real ip address of the corresponding virtual machine of the MAC Address of virtual machine network interface card received;
Step 207, judge to have determined the virtual of real ip address in the second virtual machine list in the first preset time
Whether the number of machine is less than the number of virtual machine in the second virtual machine list;If so, perform step 208;If it is not, then terminate;
Step 208, the first communication message sent to the corresponding virtual machine of IP address in the IP address pond is supervised
It listens;
Step 209, it is the MAC Address of virtual machine network interface card in first communication message currently listened to and second is virtual
The MAC Address of virtual machine network interface card is compared in machine list;
Step 2010, when virtual machine net in the MAC Address of the virtual machine network interface card currently listened to and the second virtual machine list
The MAC Address of card there are it is consistent when, determine that the IP address of virtual machine in first communication message is described and currently listen to
The real ip address of the corresponding virtual machine of MAC Address of virtual machine network interface card.
The preset value can be configured according to actual needs, such as the value range of the preset value can be arrived for 30%
90% percentage value in the present embodiment, can be described in detail for 30%;The preset period of time can be according to reality
Border needs to be configured, and in the present embodiment, can be described in detail by for 50 milliseconds;First preset time and
Second preset time can be configured according to actual needs, in the present embodiment, first preset time and second it is default when
Between can be described in detail for 10.2 seconds.
Specifically, available IP address section is 192.168.1.1-192.168.1.10 in subnet A, altogether 10 IP
Location, with reference to shown in Tables 1 and 2, the virtual machine of IP address information completely occupies 2 IP address, and remaining 8 IP address constitute
IP address pond, the virtual machine of missing IP address information have 4, and the virtual machine number for needing to parse real ip address is 4;Ensureing
Under the premise of logic IP addresses uniqueness, missing IP address information can be given to be randomly assigned 4 IP address in secondary IP address pond
Virtual machine is as logic IP addresses;The virtual machine number and the IP address in IP address pond for calculating missing IP address information
Several ratio is 50%;
The ratio 50% is more than 30%, at this point, sending the according to every all IP address of the 50ms into IP address pond
Four communication messages continuously transmit 3 times, and the fourth communication message can be arp request messages;
The number for carrying out the virtual machine of response to the fourth communication message in 10.2 seconds is 2;
At this point, arping scan scannings, specifically, the institute into IP address pond are carried out to the IP address in IP address pond
There is IP address to send the second communication message, second communication message can be arp request messages;Fig. 4 is arping
Scan scanning result schematic diagrames with reference to shown in Fig. 4, received two third communication messages, the third communication in 10.2 seconds
Message is the message that response is carried out to second communication message, and the message can be arp reply messages, including the void
The MAC Address and IP address of plan machine network interface card;
First third communication message received is " arp request for 192.168.1.5has reply
from 00:50:56:aa:3b:12 ", the MAC Address 00 of virtual machine network interface card in the third communication message:50:56:aa:3b:12
Consistent with the MAC Address of virtual machine vm3 network interface cards in the second virtual machine list, then it is virtual machine vm3's to parse 192.168.1.5
Real ip address;The Article 2 third communication message received is " arp request for 192.168.1.9has reply
from 00:50:56:aa:3b:14 ", the MAC Address 00 of virtual machine network interface card in the third communication message:50:56:aa:3b:14
Consistent with the MAC Address of virtual machine vm5 network interface cards in the second virtual machine list, then it is virtual machine vm5's to parse 192.168.1.9
Real ip address;
Since the number for the virtual machine that real ip address was had determined in 10.2 seconds is 2, less than the second virtual machine list
The number 4 of middle virtual machine, therefore, it is also desirable to the first communication message sent to the corresponding virtual machine of IP address in IP address pond
It is monitored, first communication message can be the arp request that communication with the outside world is sent when virtual machine is switched on work
Message includes the MAC Address and IP address of the virtual machine network interface card;Fig. 5 is monitoring arp request message result schematic diagrams,
With reference to shown in Fig. 5, listening to two arp request messages, first arp request message is the MAC from network interface card
Location is 00:50:56:aa:3b:13 and virtual machine that IP address is 192.168.1.4, virtual machine in the arp request messages
The MAC Address 00 of network interface card:50:56:aa:3b:13 is consistent with the MAC Address of virtual machine vm4 network interface cards in the second virtual machine list, then
Parse the real ip address that 192.168.1.4 is virtual machine vm4;Article 2 arp request messages are the MAC from network interface card
Address is 00:50:56:aa:3b:15 and virtual machine that IP address is 192.168.1.6, it is virtual in the arp request messages
The MAC Address 00 of machine network interface card:50:56:aa:3b:15 is consistent with the MAC Address of virtual machine vm6 network interface cards in the second virtual machine list,
Then parse the real ip address that 192.168.1.6 is virtual machine vm6.
It is above-mentioned when as the real ip address 192.168.1.5 for being resolved to virtual machine vm3, due to the real ip address with it is empty
The logic IP addresses 192.168.1.5 of plan machine vm4 is consistent, at this time, it may be necessary to redistribute a new logical ip to virtual machine vm4
Address, such as the IP address 192.168.1.10 that can be redistributed in IP address pond give virtual machine vm4, with ensureing logical ip
The uniqueness of location;Equally, when the real ip address for being resolved to virtual machine vm4, vm5 and vm6, if the practical IP being resolved to
The logic IP addresses of location virtual machine corresponding with being different from the real ip address in the second virtual machine list are consistent, then need weight
Newly apply for new logic IP addresses, to ensure the uniqueness of logic IP addresses.
If in addition, being repeatedly scanned to the IP address in IP address pond or repeatedly to the IP address in IP address pond
The arp request messages that corresponding virtual machine is sent are monitored, and still have IP address not respond to, with can be shown that the IP
The user of location is in off-mode or the IP address is in idle condition, and there is no use virtual machine.
Further, either only with first way still only with the second way or with reference to the first
Mode and the second way parse the real ip address of virtual machine in the second virtual machine list, can pass through flexible configuration
The preset value, prefixed time interval, the first preset time and the second preset time select.User, which can also be configured, only to be worked as
It could power cut-off when being resolved to the real ip address of the virtual machine of all missing IP address information;It can also be limited to certain
The real ip address of virtual machine in time to lacking IP address information parses, if after time-out, still there is partial virtual
The real ip address of machine parses not successfully, such as since virtual machine is constantly in off-mode or is in busy condition and causes
Arp request messages are cannot respond in certain time, at this point it is possible to take increase automatic parsing time or manual intervention
Mode the real ip address of virtual machine is parsed.
The present invention also provides a kind of moving apparatus of virtual machine, are used to implement the tool of the moving method of virtual machine of the present invention
Body details achievees the effect that identical.
Fig. 6 is the composition structure diagram of the moving apparatus embodiment one of virtual machine of the present invention, with reference to shown in Fig. 6, this reality
The moving apparatus for applying the virtual machine of example includes:Acquisition module 31, screening module 32, distribution module 33, creation module 34, IP address
Parsing module 35, judgment module 36 and update module 37;Wherein,
The acquisition module 31, for obtaining the first virtual machine list, the first virtual machine list includes targeted subnet
The internet protocol address of middle virtual machine;
The screening module 32, for according to the IP address, the second virtual machine to be filtered out from the first virtual machine list
List, the second virtual machine list include all in the first virtual machine list the virtual of real ip address having not been obtained
Machine;
The distribution module 33, it is described for distributing logic IP addresses to the virtual machine in the second virtual machine list
Logic IP addresses are to be different from the IP address of real ip address in the first virtual machine list in targeted subnet;
The creation module 34, for the logic IP addresses according to distribution to the virtual machine in the second virtual machine list
Create virtual network service resource;
The IP address parsing module 35, for parsing the real ip address of virtual machine in the second virtual machine list;
The judgment module 36, for judging whether the real ip address that is resolved to patrols with first object virtual machine
It is consistent to collect IP address, the first object virtual machine is to be different from the corresponding void of the real ip address in the second virtual machine list
Plan machine;If so, redistributing new logic IP addresses to the second target virtual machine, second target virtual machine is the first mesh
Mark the corresponding virtual machine of consistent with real ip address logic IP addresses in virtual machine;If it is not, then trigger the update mould
Block 37;
The update module 37, for when being resolved to the real ip address of virtual machine in the second virtual machine list,
The logic IP addresses of virtual machine corresponding in the virtual network service are replaced with into real ip address.
Further, in the moving apparatus embodiment two of virtual machine of the present invention, IP address parsing module is described in detail
35;Fig. 7 is the composition structure diagram of IP address parsing module, and with reference to shown in Fig. 7, the IP address parsing module 35 includes:
Monitoring unit 351, the first comparing unit 352 and the first determination unit 353;Wherein,
The monitoring unit 351, the first communication for being sent to the corresponding virtual machine of IP address in IP address pond are reported
Text is monitored, and the IP address pond is all IP for being different from real ip address in the first virtual machine list in targeted subnet
Location;
First comparing unit 352, for by virtual machine network interface card in first communication message currently listened to
MAC Address is compared with the MAC Address of virtual machine network interface card in the second virtual machine list;
First determination unit 353, for the MAC Address and the second virtual machine of the virtual machine network interface card that ought currently listen to
In list the MAC Address of virtual machine network interface card there are it is consistent when, the IP address for determining virtual machine in first communication message is institute
State the real ip address of the corresponding virtual machine of the MAC Address of virtual machine network interface card currently listened to.
The IP address parsing module 35 further includes:First transmitting element 354, the second comparing unit 355, second determine single
356 and first judging unit 357 of member;Wherein,
First transmitting element 354 sends the second communication message for the IP address into the IP address pond;
Second comparing unit 355, for the MAC of virtual machine network interface card in the third communication message that will be currently received
Location is compared with the MAC Address of virtual machine network interface card in the second virtual machine list, and the third communication message is to described second
Communication message carries out the message of response;
Second determination unit 356, for the MAC Address and the second virtual machine of the virtual machine network interface card being currently received
In list the MAC Address of virtual machine network interface card there are it is consistent when, by virtual machine in the third communication message being currently received
IP address is determined as the real ip address of the corresponding virtual machine of the MAC Address of virtual machine network interface card being currently received;
First judging unit 357, for judging to have determined in the second virtual machine list in the first preset time
Whether the number of the virtual machine of real ip address is less than the number of virtual machine in the second virtual machine list;When the second virtual machine list
In have determined real ip address virtual machine number be less than the second virtual machine list in virtual machine number when, then trigger institute
State monitoring unit 351.
The IP address parsing module 35 further includes:Second transmitting element 358 and second judgment unit 359;Wherein,
Second transmitting element 358, for being sent according to IP address of the preset period of time into the IP address pond
Fourth communication message;
The second judgment unit 359, for judging to carry out response to the fourth communication message in the second preset time
Virtual machine number whether be more than 0;If so, triggering first transmitting element 354;If it is not, it is single then to trigger the monitoring
Member 351.
The IP address parsing module further includes:
Third judging unit 3510, for judging the number of virtual machine and the IP address in the second virtual machine list
Whether the ratio of the number of the IP address in pond is more than preset value;If so, triggering second transmitting element 358;If it is not, then
Trigger the monitoring unit 351.
Further, Fig. 8 is deployed position schematic diagram of the IP address parsing module in OpenStack, with reference to shown in Fig. 8,
In practical applications, according to the design principle of OpenStack, the deployment of IP address parsing module operates in network node.
In practical applications, the acquisition module 31, screening module 32, distribution module 33, creation module 34, IP address solution
Analyse module 35, judgment module 36, update module 37 and monitoring unit 351, the first comparing unit 352, the first determination unit
353rd, the first transmitting element 354, the second comparing unit 355, the second determination unit 356, the first judging unit 357, second are sent
Unit 358, second judgment unit 359 and third judging unit 3510 can be by the central processing units that are located in mobile terminal
(CPU, Central Processing Unit), microprocessor (MPU, Micro Processor Unit), Digital Signal Processing
Device (DSP, Digital Signal Processor) or field programmable gate array (FPGA, Field Programmable
Gate Array) etc. realizations.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.It is all
All any modification, equivalent and improvement made within the spirit and scope of the present invention etc. are all contained in the protection model of the present invention
Within enclosing.
Claims (12)
1. a kind of moving method of virtual machine, which is characterized in that the method includes:
Obtain the first virtual machine list, the first virtual machine list is with including in targeted subnet the Internet protocol IP of virtual machine
Location;
According to the IP address, the second virtual machine list, the second virtual machine list are filtered out from the first virtual machine list
Including the virtual machine that real ip address has not been obtained all in the first virtual machine list;
To in the second virtual machine list virtual machine distribute logic IP addresses, the logic IP addresses be targeted subnet in not
It is same as the IP address of real ip address in the first virtual machine list;
According to the logic IP addresses of distribution to the virtual machine creating virtual network service resource in the second virtual machine list;
It, will be right in the virtual network service when being resolved to the real ip address of virtual machine in the second virtual machine list
The logic IP addresses for the virtual machine answered replace with real ip address.
2. according to the method described in claim 1, it is characterized in that, the logic IP addresses according to distribution are to the described second void
After virtual machine creating virtual network service resource in plan machine list, the method further includes:
The first communication message sent to the corresponding virtual machine of IP address in IP address pond is monitored, and the IP address pond is
It is different from all IP address of real ip address in the first virtual machine list in targeted subnet;
It will be virtual in the MAC Address of virtual machine network interface card in first communication message currently listened to and the second virtual machine list
The MAC Address of machine network interface card is compared;
When the MAC Address of the MAC Address and virtual machine network interface card in the second virtual machine list of the virtual machine network interface card currently listened to is deposited
When consistent, the IP address for determining virtual machine in first communication message is the virtual machine network interface card currently listened to
The real ip address of the corresponding virtual machine of MAC Address.
3. according to the method described in claim 2, it is characterized in that, to the corresponding virtual machine of IP address in the IP address pond
Before the first communication message sent is monitored, the method further includes:
IP address into the IP address pond sends the second communication message;
By virtual machine net in the MAC Address of virtual machine network interface card in the third communication message being currently received and the second virtual machine list
The MAC Address of card is compared, and the third communication message is the message that response is carried out to second communication message;
When the MAC Address of the MAC Address and virtual machine network interface card in the second virtual machine list of the virtual machine network interface card being currently received is deposited
When consistent, the IP address of virtual machine in the third communication message being currently received is determined as being currently received virtual
The real ip address of the corresponding virtual machine of MAC Address of machine network interface card;
Judge to have determined in the second virtual machine list in the first preset time the virtual machine of real ip address number whether
Less than the number of virtual machine in the second virtual machine list;
When having determined that it is empty in the second virtual machine list that the number of virtual machine of real ip address is less than in the second virtual machine list
During the number of plan machine, then perform the first communication message sent to the corresponding virtual machine of IP address in the IP address pond and carry out
The step of monitoring.
4. according to the method described in claim 3, it is characterized in that, the IP address into the IP address pond sends second
Before communication message, the method further includes:
Fourth communication message is sent according to IP address of the preset period of time into the IP address pond;
Judge whether the number for carrying out the virtual machine of response in the second preset time to the fourth communication message is more than 0;
If so, the step of IP address performed into the IP address pond sends the second communication message;
It is monitored if it is not, then performing the first communication message sent to the corresponding virtual machine of IP address in the IP address pond
The step of.
5. according to the method described in claim 4, it is characterized in that, it is described according to preset period of time into the IP address pond
IP address send fourth communication message before, the method further includes:
Judge the ratio of the number of virtual machine and the number of the IP address in the IP address pond in the second virtual machine list
Whether preset value is more than;
If so, performing the IP address according to preset period of time into the IP address pond sends fourth communication message
Step;
It is monitored if it is not, then performing the first communication message sent to the corresponding virtual machine of IP address in the IP address pond
The step of.
It is 6. the method according to any one of claims 1 to 5, it is characterized in that, described by the virtual network service
In corresponding virtual machine logic IP addresses replace with real ip address before, the method further includes:
Judge whether the real ip address being resolved to is consistent with the logic IP addresses of first object virtual machine, first mesh
Virtual machine is marked to be different from the corresponding virtual machine of the real ip address in the second virtual machine list;
If so, redistributing new logic IP addresses to the second target virtual machine, second target virtual machine is the first mesh
Mark the corresponding virtual machine of consistent with real ip address logic IP addresses in virtual machine;
The logic IP addresses of virtual machine corresponding in the virtual network service are replaced with into real ip address if it is not, performing
Step.
7. a kind of moving apparatus of virtual machine, which is characterized in that described device includes:Acquisition module, screening module, distribution mould
Block, creation module and update module;Wherein,
The acquisition module, for obtaining the first virtual machine list, the first virtual machine list includes virtual in targeted subnet
The IP address of machine;
The screening module, for according to the IP address, the second virtual machine list, institute to be filtered out from the first virtual machine list
The second virtual machine list is stated to include all in the first virtual machine list practical internet protocol address having not been obtained
Virtual machine;
The distribution module, for distributing logic IP addresses, the logical ip to the virtual machine in the second virtual machine list
Address is the IP address for being different from real ip address in the first virtual machine list in targeted subnet;
The creation module, it is empty to the virtual machine creating in the second virtual machine list for the logic IP addresses according to distribution
Intend network server resources;
The update module, described in when being resolved to the real ip address of virtual machine in the second virtual machine list, inciting somebody to action
The logic IP addresses of corresponding virtual machine replace with real ip address in virtual network service.
8. device according to claim 7, which is characterized in that described device further includes:IP address parsing module;Wherein,
The IP address parsing module includes:Monitoring unit, the first comparing unit and the first determination unit;Wherein,
The monitoring unit, the first communication message for being sent to the corresponding virtual machine of IP address in IP address pond are supervised
It listens, the IP address pond is all IP address for being different from real ip address in the first virtual machine list in targeted subnet;
First comparing unit, for by the MAC Address of virtual machine network interface card in first communication message currently listened to
It is compared with the MAC Address of virtual machine network interface card in the second virtual machine list;
First determination unit, in the MAC Address and the second virtual machine list for the virtual machine network interface card that ought currently listen to
The MAC Address of virtual machine network interface card there are it is consistent when, it is described current to determine the IP address of virtual machine in first communication message
The real ip address of the corresponding virtual machine of the MAC Address of virtual machine network interface card listened to.
9. device according to claim 8, which is characterized in that the IP address parsing module further includes:First sends list
Member, the second comparing unit, the second determination unit and the first judging unit;Wherein,
First transmitting element sends the second communication message for the IP address into the IP address pond;
Second comparing unit, for the MAC Address and of virtual machine network interface card in the third communication message that will be currently received
The MAC Address of virtual machine network interface card is compared in two virtual machine lists, and the third communication message is that the described second communication is reported
Text carries out the message of response;
Second determination unit, in the MAC Address and the second virtual machine list for the virtual machine network interface card being currently received
The MAC Address of virtual machine network interface card there are it is consistent when, by the IP address of virtual machine in the third communication message being currently received
It is determined as the real ip address of the corresponding virtual machine of the MAC Address of virtual machine network interface card being currently received;
First judging unit, for judging in the first preset time in the second virtual machine list with having determined practical IP
Whether the number of the virtual machine of location is less than the number of virtual machine in the second virtual machine list;When in the second virtual machine list really
The number for determining the virtual machine of real ip address is single less than the monitoring during number of virtual machine, is then triggered in the second virtual machine list
Member.
10. device according to claim 9, which is characterized in that the IP address parsing module further includes:Second sends list
Member and second judgment unit;Wherein,
Second transmitting element, for sending fourth communication according to IP address of the preset period of time into the IP address pond
Message;
The second judgment unit, for judging to carry out the fourth communication message in the second preset time the virtual machine of response
Number whether be more than 0;If so, triggering first transmitting element;If it is not, then trigger the monitoring unit.
11. device according to claim 10, which is characterized in that the IP address parsing module further includes:
Third judging unit, for judging the number of virtual machine and the IP in the IP address pond in the second virtual machine list
Whether the ratio of the number of address is more than preset value;If so, triggering second transmitting element;If it is not, then trigger the prison
Listen unit.
12. the device according to any one of claim 7 to 11, which is characterized in that described device further includes:
Judgment module, for judge the real ip address that is resolved to whether the logic IP addresses one with first object virtual machine
It causes, the first object virtual machine is to be different from the corresponding virtual machine of the real ip address in the second virtual machine list;If so,
New logic IP addresses are then redistributed to the second target virtual machine, second target virtual machine is in first object virtual machine
The corresponding virtual machine of the logic IP addresses consistent with the real ip address;If it is not, then trigger the update module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611257196.8A CN108268300B (en) | 2016-12-30 | 2016-12-30 | Virtual machine migration method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611257196.8A CN108268300B (en) | 2016-12-30 | 2016-12-30 | Virtual machine migration method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108268300A true CN108268300A (en) | 2018-07-10 |
CN108268300B CN108268300B (en) | 2022-01-25 |
Family
ID=62754488
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611257196.8A Active CN108268300B (en) | 2016-12-30 | 2016-12-30 | Virtual machine migration method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108268300B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110519406A (en) * | 2019-08-16 | 2019-11-29 | 济南浪潮数据技术有限公司 | A kind of virtual address distribution method, device and CTDB cluster and storage medium |
CN114760269A (en) * | 2022-03-17 | 2022-07-15 | 深信服科技股份有限公司 | Virtual machine address allocation method, device and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1571358A (en) * | 2003-07-19 | 2005-01-26 | 华为技术有限公司 | Static user access network control method based on MAC address |
CN101662808A (en) * | 2009-08-27 | 2010-03-03 | 上海交通大学 | Method for quickly switching network layers of IEEE802.11 wireless local area network |
CN103078965A (en) * | 2012-12-25 | 2013-05-01 | 曙光云计算技术有限公司 | IP (Internet Protocol) address management method of virtual machines |
CN103595826A (en) * | 2013-11-01 | 2014-02-19 | 国云科技股份有限公司 | Method for preventing IP and MAC of virtual machine from being faked |
CN103747115A (en) * | 2013-12-30 | 2014-04-23 | 武汉邮电科学研究院 | Method of discovering IP (Internet Protocol) address of virtual machine based on virtual network interface card |
CN104081733A (en) * | 2012-01-31 | 2014-10-01 | 国际商业机器公司 | Interconnecting data centers for migration of virtual machines |
CN104461697A (en) * | 2014-12-25 | 2015-03-25 | 中国科学院信息工程研究所 | Automatic setting system and method for batched online IP addresses of virtual machine |
CN105589731A (en) * | 2015-09-16 | 2016-05-18 | 杭州华三通信技术有限公司 | Virtual machine migration method and device |
-
2016
- 2016-12-30 CN CN201611257196.8A patent/CN108268300B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1571358A (en) * | 2003-07-19 | 2005-01-26 | 华为技术有限公司 | Static user access network control method based on MAC address |
CN101662808A (en) * | 2009-08-27 | 2010-03-03 | 上海交通大学 | Method for quickly switching network layers of IEEE802.11 wireless local area network |
CN104081733A (en) * | 2012-01-31 | 2014-10-01 | 国际商业机器公司 | Interconnecting data centers for migration of virtual machines |
CN103078965A (en) * | 2012-12-25 | 2013-05-01 | 曙光云计算技术有限公司 | IP (Internet Protocol) address management method of virtual machines |
CN103595826A (en) * | 2013-11-01 | 2014-02-19 | 国云科技股份有限公司 | Method for preventing IP and MAC of virtual machine from being faked |
CN103747115A (en) * | 2013-12-30 | 2014-04-23 | 武汉邮电科学研究院 | Method of discovering IP (Internet Protocol) address of virtual machine based on virtual network interface card |
CN104461697A (en) * | 2014-12-25 | 2015-03-25 | 中国科学院信息工程研究所 | Automatic setting system and method for batched online IP addresses of virtual machine |
CN105589731A (en) * | 2015-09-16 | 2016-05-18 | 杭州华三通信技术有限公司 | Virtual machine migration method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110519406A (en) * | 2019-08-16 | 2019-11-29 | 济南浪潮数据技术有限公司 | A kind of virtual address distribution method, device and CTDB cluster and storage medium |
CN114760269A (en) * | 2022-03-17 | 2022-07-15 | 深信服科技股份有限公司 | Virtual machine address allocation method, device and storage medium |
CN114760269B (en) * | 2022-03-17 | 2024-04-09 | 深信服科技股份有限公司 | Virtual machine address allocation method, device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108268300B (en) | 2022-01-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10819538B2 (en) | Method and apparatus for establishing link between virtualized network functions | |
JP6538869B2 (en) | Network management | |
EP3316532A1 (en) | Computer device, system and method for implementing load balancing | |
CN111858054B (en) | Resource scheduling system and method based on edge computing in heterogeneous environment | |
EP2835953A1 (en) | System and method for live migration of virtual machine | |
US10541862B2 (en) | VNF processing policy determining method, apparatus, and system | |
CN105760214A (en) | Equipment state and resource information monitoring method, related equipment and system | |
EP3249871A1 (en) | Method and device for updating network service descriptor | |
CN104521198A (en) | System and method for virtual ethernet interface binding | |
EP3059929A1 (en) | Method for acquiring physical address of virtual machine | |
CN103152200B (en) | Virtual machine migration method, switch, network management device and network system | |
CN105791175A (en) | Method and equipment for controlling transmission resources in software defined network SDN | |
WO2016070302A1 (en) | Virtual network function example migration method, device and system | |
CN104065759A (en) | Method for improving utilization efficiency of NAT address pool resource and device thereof | |
CN112015544A (en) | Load balancing method, device and equipment of k8s cluster and storage medium | |
CN110063045B (en) | Message processing method and device in cloud computing system | |
CN104158707A (en) | Method and device of detecting and processing brain split in cluster | |
CN110928637A (en) | Load balancing method and system | |
CN103780428A (en) | Centralized resource management method and system applied to cloud architecture | |
CN105429946A (en) | System and method of preventing forging IP address based on SDN virtual switch | |
CN108268300A (en) | The moving method and device of a kind of virtual machine | |
CN105207856A (en) | Load balancing system and method based on SDN virtual switch | |
CN103152420B (en) | A kind of method avoiding single-point-of-failofe ofe Ovirt virtual management platform | |
EP3280091B1 (en) | Method, apparatus and system for establishing interface between vnfms | |
CN109104334B (en) | Management method and device for nodes in monitoring system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |