CN107678831A - It is a kind of to realize the V2V methods migrated between virtual platform - Google Patents
It is a kind of to realize the V2V methods migrated between virtual platform Download PDFInfo
- Publication number
- CN107678831A CN107678831A CN201710875150.0A CN201710875150A CN107678831A CN 107678831 A CN107678831 A CN 107678831A CN 201710875150 A CN201710875150 A CN 201710875150A CN 107678831 A CN107678831 A CN 107678831A
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- migration
- platform
- virtual
- migrated
- 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.)
- Pending
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
Abstract
The invention discloses a kind of V2V methods realized and migrated between virtual platform, belong to cloud computing administrative skill field, the technical problem to be solved in the present invention is unable to flexible conversion and does not support mutually to migrate between the virtual machine of each manufacturer for the virtual machine of each manufacturer, the technical scheme used for:This method is by V2V Tool integrations in unified management node, and multinomial selection is provided when user, which clicks on, to be migrated, and calls different V2V instruments by the selection of user, realizes the migration operation of virtual machine between kinds of platform;Comprise the following steps that:(1), build environment, dispose management node and calculate node;(2), qemu img programs are installed in calculate node, in management node deployment call qemu img programs;(3), deployment storage and network, create virtual machine in different calculate nodes;(4), complete using cold migrating the virtual machines or thermophoresis virtual machine the migration of virtual machine between platform.
Description
Technical field
It is specifically a kind of to realize what is migrated between virtual platform the present invention relates to cloud computing administrative skill field
V2V methods.
Background technology
V2v migratory system and data and handles main frame difference and virtual hardware between virtual machine, the source virtual machine in v2v
System can such as be moved with purpose dummy machine system type with identical or different between VMware and KVM or inside respective
Move.V2v moving methods include offline migration, online migration and internal memory migration.Offline migration is needed virtual machine before carrying migration
Pause, and virtual machine image and state are copied to destination host simultaneously, offline migration has certain service unavailable time, but
It is simple and easy, suitable for the less demanding occasion of service availability.Offline migration is that solve to move between different type virtual machine
The effective way of shifting, the Migration tools virt-v2v that such as increases income are exactly to use this mode by the virtual machine of VMware and KVM types
Migrate to KVM platforms and load KVM driving successful operation.Online migration can guarantee that virtual machine is normally transported in transition process
OK, migration initial stage provides service by source host, then adapter service, switching after destination host possesses the necessary resource of runtime
Process is extremely short, and transition process is transparent to user, suitable for requiring higher occasion to service availability.Internal memory migration can use pre-
Copy strategy, source host virtual machine memory data is sent to destination host virtual machine by circulating, pre-copy strategy, passes through circulation
Source host virtual machine memory data is sent to destination host virtual machine, pre-copy circulation enters after terminating shuts down copy stage, source
Main frame, which is hung up, no longer updates internal memory, and pre-copy mechanism greatly reduces the internal memory transmission quantity in shutdown stage, and downtime contracts significantly
It is small.
The virt-v2v instruments of Red Hat companies exploitation.It is the script write by perl language, can be automatic
The virtual machine that will be created on Xen, KVM and VMware ESX of change copies virt-v2v main frame to, and automatically
Change configuration, enable to be managed by libvirt.At present, virt-v2v supports the following virtual machine of static migrating:
RHEL4, RHEL5, RHEL6, Windows XP, Windows Vista, Windows 7, Windows Server 2003
With Windows Server 2008.
Virt-v2v instruments are deployed on a KVM main frame, and are come using a local directory is created to store migration
Virtual machine image, in addition to realizing automation migration virtual machine, first pre-set virt-v2v.conf files, set one
The rule of a little virt-v2v migrations, including the mapping after network interface migration, the mode of migration, the position of storage, the lattice of output
Formula etc..These rules can also be inputted in a manner of command line parameter, such as -- network ,-o ,-os ,-of etc..To be automatic
Log in VMware ESX servers and create .netrc files.And 0600 authority, file content machine are set
Esx.example.com login root password xxxxxx form.
Virt-v2v orders are reused to be migrated.
KVM is moved to from Xen:virt-v2v-ic xen+ssh://root@xen0.demo.com -os pool -b
brnamevm-name。
KVM is moved to from VMware:virt-v2v-ic esx://esx.demo.com/ -os pool --
bridegebramevm-name。
Prior art has the drawback that:(1), each manufacturer virtual machine be unable to flexible conversion;(2), do not support each manufacturer
Virtual machine between mutually migrate.
Patent No. CN 106406979A patent document disclose it is a kind of by XenServer platform virtual machines migrate to
The method of KVM virtualization platform.The method of the present invention comprises the following steps:Host where into XenServer virtual machines;It is logical
Vdi files corresponding to crossing script command lookup virtual machine, local file is exported to by DD orders by vdi files;Will local text
Part copies host where KVM platforms to;By ordering derived file translations into qcow2 files, created by qcow2 files
Build KVM platform virtual machines.But the virtual machine that the technical scheme can not solve each manufacturer is unable to flexible conversion and not supported each
The problem of mutually being migrated between the virtual machine of manufacturer.
The content of the invention
The technical assignment of the present invention is to provide a kind of V2V methods realized and migrated between virtual platform, to solve each factory
The virtual machine of business is unable to flexible conversion and does not support mutual the problem of migrating between the virtual machine of each manufacturer.
The technical assignment of the present invention is realized in the following manner, a kind of to realize the V2V side migrated between virtual platform
Method, this method are by V2V Tool integrations in unified management node, provide multinomial selection when user, which clicks on, to be migrated, pass through
Different V2V instruments are called in the selection of user, realize the migration operation of virtual machine between kinds of platform;Comprise the following steps that:
(1), build environment, dispose management node and calculate node:Management node is the service of running, and calculate node is to run virtual machine
's;
(2), in calculate node install qemu-img programs, to facilitate the virtual machine in calculate node to be changed, management section
Qemu-img programs are called in deployment on point;
(3), deployment storage and network, create virtual machine in different calculate nodes, disk selection RAW forms or QCOW2,
VMware is selected to simplify and purchased;
(4), complete using cold migrating the virtual machines or thermophoresis virtual machine the migration of virtual machine between platform.
Preferably, the user click on the multinomial selection provided during migration include migrating to VMware platforms or migrate to
KVM platforms are migrated to Xen platforms.
Preferably, the step(1)In calculate node installation VMware ESXi or Xen XenServer or wave
Hans of the tide based on KVM.
Preferably, the step(4)In cold migration the step of it is as follows:
1., virtual machine shut down;
2., click on migration selection calculate node;
3., management node call qemu-img programs, convert thereof into ova forms export;
4., the qemu-img programs of derived ova forms are imported into destination host again.
Preferably, the step(4)The step of middle thermophoresis, is as follows:
1., migration order issue, virtual machine is shut down;
2., by qemu-img Program transformations into ova file formats;
3., the qemu-img programs of derived ova forms are imported into destination host again;
4., migrate successfully after, call self-starting order by virtual machine self-starting.
The V2V methods that the realization of the present invention migrates between virtual platform have advantages below compared with prior art:
(One), the present invention from V2V instruments easy to use, stable and that compatibility is good, be integrated in unified management node
On, provide multinomial selection when user, which clicks on, to be migrated, as VMware virtual machine (vm) migration when eject available option and have:Migrate to
VMware platforms;Migrate to KVM platforms;Migrate to Xen platforms, different v2v instruments are called by the selection of user
Realize the migration operation of virtual machine between kinds of platform;
(Two), unified V2V instruments, realize the cross-platform migration of virtual machine;
(Three), simplify system administration, for user save management, maintenance and upgrade expense;
(Four), improve system load balancing;
(Five), help user to smoothly complete the switching of virtual platform.
Embodiment
The V2V methods migrated across virtual platform, which are made in detailed below, to be realized a kind of of the present invention with reference to specific embodiment
Ground explanation.
Embodiment:
The V2V methods that the realization of the present invention migrates between virtual platform, this method is in unified pipe by V2V Tool integrations
Manage on node, multinomial selection is provided when user, which clicks on, to be migrated, multinomial selection includes migrating to VMware platforms or migrating to KVM
Platform is migrated to Xen platforms;Different V2V instruments are called by the selection of user, realize virtual machine between kinds of platform
Migration operation;Comprise the following steps that:
(1), build environment, dispose management node and calculate node:Management node is the service of running, and calculate node is to run virtual machine
's;Calculate node installation VMware ESXi or the Xen Hans of XenServer or tide based on KVM.
(2), in calculate node install qemu-img programs, to facilitate the virtual machine in calculate node to be changed, pipe
Manage deployment on node and call qemu-img programs;
(3), deployment storage and network, create virtual machine in different calculate nodes, disk selection RAW forms or QCOW2,
VMware is selected to simplify and purchased;
(4), complete using cold migrating the virtual machines or thermophoresis virtual machine the migration of virtual machine between platform.
The step of cold migration, is as follows:
1., virtual machine shut down;
2., click on migration selection calculate node;
3., management node call qemu-img programs, convert thereof into ova forms export;
4., the qemu-img programs of derived ova forms are imported into destination host again.
Step(4)The step of middle thermophoresis, is as follows:
1., migration order issue, virtual machine is shut down;
2., by qemu-img Program transformations into ova file formats;
3., the qemu-img programs of derived ova forms are imported into destination host again;
4., migrate successfully after, call self-starting order by virtual machine self-starting.
Deployment installs unified management node, then installs KVM Node main frames, VMware EXSi, Xen
XenServer main frames, and good respective storage, network etc. are configured, several virtual machines are created on each main frame, and be its installation
Operating system and drive software.If virtual machine is completed into cross-platform migration virtual machine need to be shut down, then the operation carried out be by
Virtual machine image file form conversion, network interface reload wait associative operation, after the completion of to be migrated, startup virtual machine
Checking whether can normal operation.
The present invention relates to the virtual machine migration technology field of virtual platform, virtual machine migration technology refers to will be virtual
Machine moves to the process of another main frame or storage location from a main frame or storage location, is broadly divided into physical machine and moves to void
Plan machine(P2V), virtual machine (vm) migration to virtual machine(V2V)With virtual machine (vm) migration to physical machine(V2P).Currently a popular virtual chemical industry
Tool such as VMware, Xen, KVM both provide respective migration component, such as VMware Converter, Xen Xen-
Converter, and KVM virt-v2v etc. are by the virtual machine (vm) migration on other virtual platform to oneself platform
Instrument, this patent are intended to these v2v instruments to be incorporated into a management platform, are managed collectively the virtual of a variety of virtual platforms
And hardware resource, realize the migration of virtual machine between different platform.So as to reach simplified system maintenance management, improve system load it is equal
Weighing apparatus, strengthening system are fault-tolerant and optimize the purpose of power supply managing, can be that user saves managed fund, maintenance cost and upgrading
Expense.It can be conceived with the technique according to the invention and make other various corresponding changes and deformation, and all these changes and change
Shape should all belong to the protection domain of the claims in the present invention.
By embodiment above, the those skilled in the art can readily realize the present invention.But should
Work as understanding, the present invention is not limited to above-mentioned embodiment.On the basis of disclosed embodiment, the technical field
Technical staff can be combined different technical characteristics, so as to realize different technical schemes.
It is the known technology of those skilled in the art in addition to the technical characteristic described in specification.
Claims (5)
1. a kind of realize the V2V methods migrated between virtual platform, it is characterised in that this method is that V2V Tool integrations exist
In unified management node, multinomial selection is provided when user, which clicks on, to be migrated, different V2V works are called by the selection of user
Tool, realize the migration operation of virtual machine between kinds of platform;Comprise the following steps that:
(1), build environment, dispose management node and calculate node:Management node is the service of running, and calculate node is to run virtual machine
's;
(2), in calculate node install qemu-img programs, to facilitate the virtual machine in calculate node to be changed, management section
Qemu-img programs are called in deployment on point;
(3), deployment storage and network, create virtual machine in different calculate nodes, disk selection RAW forms or QCOW2,
VMware is selected to simplify and purchased;
(4), complete using cold migrating the virtual machines or thermophoresis virtual machine the migration of virtual machine between platform.
2. according to claim 1 realize the V2V methods migrated between virtual platform, it is characterised in that the user
The multinomial selection that provides includes migrating to VMware platforms or migrates to KVM platforms or migrate to Xen platforms when clicking on migration.
3. according to claim 1 realize the V2V methods migrated between virtual platform, it is characterised in that the step
(1)In calculate node installation VMware ESXi or Xen the Hans of XenServer or tide based on KVM.
4. according to claim 1 realize the V2V methods migrated between virtual platform, it is characterised in that the step
(4)In cold migration the step of it is as follows:
1., virtual machine shut down;
2., click on migration selection calculate node;
3., management node call qemu-img programs, convert thereof into ova forms export;
4., the qemu-img programs of derived ova forms are imported into destination host again.
5. according to claim 1 realize the V2V methods migrated between virtual platform, it is characterised in that the step
(4)The step of middle thermophoresis, is as follows:
1., migration order issue, virtual machine is shut down;
2., by qemu-img Program transformations into ova file formats;
3., the qemu-img programs of derived ova forms are imported into destination host again;
4., migrate successfully after, call self-starting order by virtual machine self-starting.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710875150.0A CN107678831A (en) | 2017-09-25 | 2017-09-25 | It is a kind of to realize the V2V methods migrated between virtual platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710875150.0A CN107678831A (en) | 2017-09-25 | 2017-09-25 | It is a kind of to realize the V2V methods migrated between virtual platform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107678831A true CN107678831A (en) | 2018-02-09 |
Family
ID=61137318
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710875150.0A Pending CN107678831A (en) | 2017-09-25 | 2017-09-25 | It is a kind of to realize the V2V methods migrated between virtual platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107678831A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108920936A (en) * | 2018-06-26 | 2018-11-30 | 郑州云海信息技术有限公司 | A kind of method and apparatus that vmware certification is realized based on Purley platform |
CN109460187A (en) * | 2018-11-09 | 2019-03-12 | 郑州云海信息技术有限公司 | A kind of qcow2 file data consistency verification method and verifying terminal |
CN110209465A (en) * | 2018-04-20 | 2019-09-06 | 腾讯科技(深圳)有限公司 | Virtual machine cross-platform migration method, device and electronic equipment |
CN110737512A (en) * | 2019-10-25 | 2020-01-31 | 北京浪潮数据技术有限公司 | Cross-platform virtual machine online migration method and related components |
CN112328365A (en) * | 2020-11-05 | 2021-02-05 | 济南浪潮数据技术有限公司 | Virtual machine migration method, device, equipment and storage medium |
CN113515344A (en) * | 2021-05-17 | 2021-10-19 | 中国工商银行股份有限公司 | Method and device for automatically migrating virtual machine across technical platforms |
EP3851959A4 (en) * | 2018-09-30 | 2021-11-17 | Huawei Technologies Co., Ltd. | Method and apparatus for migrating virtual machine |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8893147B2 (en) * | 2012-01-13 | 2014-11-18 | Ca, Inc. | Providing a virtualized replication and high availability environment including a replication and high availability engine |
CN106406979A (en) * | 2016-09-04 | 2017-02-15 | 国云科技股份有限公司 | Method of migrating virtual machine of XenServer platform to KVM virtual platform |
CN106775928A (en) * | 2016-11-25 | 2017-05-31 | 国家电网公司 | A kind of virtual machine Autonomic Migration Framework system and method between isomery cloud platform |
-
2017
- 2017-09-25 CN CN201710875150.0A patent/CN107678831A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8893147B2 (en) * | 2012-01-13 | 2014-11-18 | Ca, Inc. | Providing a virtualized replication and high availability environment including a replication and high availability engine |
CN106406979A (en) * | 2016-09-04 | 2017-02-15 | 国云科技股份有限公司 | Method of migrating virtual machine of XenServer platform to KVM virtual platform |
CN106775928A (en) * | 2016-11-25 | 2017-05-31 | 国家电网公司 | A kind of virtual machine Autonomic Migration Framework system and method between isomery cloud platform |
Non-Patent Citations (2)
Title |
---|
易思捷: "易思捷eSage产品体系", 《易思捷》 * |
蒋迪: "《KVM私有云架构设计与实践》", 30 April 2017, 上海交通大学出版社 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110209465A (en) * | 2018-04-20 | 2019-09-06 | 腾讯科技(深圳)有限公司 | Virtual machine cross-platform migration method, device and electronic equipment |
CN108920936A (en) * | 2018-06-26 | 2018-11-30 | 郑州云海信息技术有限公司 | A kind of method and apparatus that vmware certification is realized based on Purley platform |
EP3851959A4 (en) * | 2018-09-30 | 2021-11-17 | Huawei Technologies Co., Ltd. | Method and apparatus for migrating virtual machine |
CN109460187A (en) * | 2018-11-09 | 2019-03-12 | 郑州云海信息技术有限公司 | A kind of qcow2 file data consistency verification method and verifying terminal |
CN109460187B (en) * | 2018-11-09 | 2022-05-03 | 郑州云海信息技术有限公司 | Verification method and verification terminal for data consistency of qcow2 file |
CN110737512A (en) * | 2019-10-25 | 2020-01-31 | 北京浪潮数据技术有限公司 | Cross-platform virtual machine online migration method and related components |
CN112328365A (en) * | 2020-11-05 | 2021-02-05 | 济南浪潮数据技术有限公司 | Virtual machine migration method, device, equipment and storage medium |
CN113515344A (en) * | 2021-05-17 | 2021-10-19 | 中国工商银行股份有限公司 | Method and device for automatically migrating virtual machine across technical platforms |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107678831A (en) | It is a kind of to realize the V2V methods migrated between virtual platform | |
EP3762826B1 (en) | Live migration of virtual machines in distributed computing systems | |
US8191063B2 (en) | Method for migrating a plurality of virtual machines by associating files and state information with a single logical container | |
US8875133B2 (en) | Migration of virtual machines | |
CN109522088A (en) | A kind of virtual machine migration method and device | |
US9952782B1 (en) | Method and system for accessing data between different virtual disk formats in a virtualization environment | |
US20150205542A1 (en) | Virtual machine migration in shared storage environment | |
US20080256530A1 (en) | System and Method for Determining Firmware Compatibility for Migrating Logical Partitions | |
US20140007092A1 (en) | Automatic transfer of workload configuration | |
CN113196237A (en) | Container migration in a computing system | |
US9841983B2 (en) | Single click host maintenance | |
CN108089913A (en) | A kind of virtual machine deployment method of super emerging system | |
CN111679889B (en) | Conversion migration method and system of virtual machine | |
Marshall | Mastering VMware VSphere 6 | |
CN112328365A (en) | Virtual machine migration method, device, equipment and storage medium | |
CN108121558B (en) | Oftware updating method, device, storage medium and equipment | |
CN104216757A (en) | Method for migrating VMware virtual machine to KVM (kernel-based virtual machine) | |
EP3316518B1 (en) | Method and device for upgrading virtual network element, and computer storage medium | |
CN107678837A (en) | One kind virtualization isomery migratory system | |
CN102959513B (en) | Virtual machine merging method and system | |
Shah | Windows Server 2012 Hyper-V: Deploying the Hyper-V Enterprise Server Virtualization Platform | |
US11829792B1 (en) | In-place live migration of compute instances for efficient host domain patching | |
US11354180B2 (en) | Secure backwards compatible orchestration of isolated guests | |
US11372636B2 (en) | Live updating a virtual machine virtualizing physical resources | |
Finn | Mastering Hyper-V Deployment |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180209 |