[go: up one dir, main page]

CN102833319A - Web-based virtual box real-time migration method - Google Patents

Web-based virtual box real-time migration method Download PDF

Info

Publication number
CN102833319A
CN102833319A CN2012102793189A CN201210279318A CN102833319A CN 102833319 A CN102833319 A CN 102833319A CN 2012102793189 A CN2012102793189 A CN 2012102793189A CN 201210279318 A CN201210279318 A CN 201210279318A CN 102833319 A CN102833319 A CN 102833319A
Authority
CN
China
Prior art keywords
migration
web
virtualbox
destination host
host
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
Application number
CN2012102793189A
Other languages
Chinese (zh)
Inventor
李丽
范莹
于治楼
张化祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Group Co Ltd
Original Assignee
Inspur Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Group Co Ltd filed Critical Inspur Group Co Ltd
Priority to CN2012102793189A priority Critical patent/CN102833319A/en
Publication of CN102833319A publication Critical patent/CN102833319A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明提供一种基于web的Virtualbox实时迁移方法,包括以下步骤:设定共享存储空间,将虚拟机存储文件存放在公共存储空间里;在进行实施迁移的源主机和目的主机上架设web服务;登陆目的主机的网页上设置迁移参数;登陆源主机的网页填入迁移参数,开始迁移。本方法为用户提供了一个更加友好的基于网页的操作界面,使得用户可以操控多台远程机器并实现任意两台之间的虚拟迁移,提高了virtualbox的易用性,尤其适合服务器之间虚拟机的迁移。

The present invention provides a web-based Virtualbox real-time migration method, comprising the following steps: setting a shared storage space, storing virtual machine storage files in the public storage space; setting up web services on the source host and the destination host for migration; Set the migration parameters on the webpage of the login destination host; fill in the migration parameters on the webpage of the login source host, and start the migration. This method provides users with a more friendly web-based operation interface, enables users to control multiple remote machines and realize virtual migration between any two machines, improves the usability of virtualbox, and is especially suitable for virtual machines between servers migration.

Description

A kind of Virtualbox real-time migration method based on web
Technical field
The present invention relates to the virtual machine real-time migration, specifically a kind of Virtualbox real-time migration method based on web.
Background technology
The blank of cloud computing on IT market progressively forms, and it provides brand-new opportunity for supplier and has expedited the emergence of the transformation of conventional I T product.IT enterprises are in the exploitation of cloud computing at present; Do maximum be virtual, its flexibility, extensive applicability and to depositing the compatibility of application program; Reduced the threshold of cloud computing, made more susceptible to user acceptance in market based on virtualized IaaS platform.
Virtual migration is a key technology in virtual, and it uses in company with the high availability solution such as heartbeat together, can bring the system of " never casting anchor " to us.
The virtual migration here refers to real-time migration, when guaranteeing that promptly virtual in-fight service normally moves, is allowed to condition between the different physical hosts and moves.One of condition that realizes real-time migration is exactly to want to leave the virtual machine storage file in public memory space earlier; Therefore need to set a space of sharing storage (Shared Storage); Let two entity main frames realizing migration can both be connected to the virtual media file of sharing on the memory space, comprise virtual disk, virtual CD and virtual floppy disk.
Real-time migration is encapsulated in a file to each configuration file of virtual machine, sees through express network then, be sent to this package file and internal memory running status rapidly on the other physical machine from a physical machine, during virtual machine keep running status always.Under the prior art condition, software virtual machine all need be shared storage like VMware, KVM, Hyper-V, Xen mostly.VirtualBox supports the NFS of NFS and SMB/CIFS agreement, can support that also iSCSI is connected to the SAN network.
Though with easy-to-use well-known, being the characteristic of this heavyweight of real-time migration, VirtualBox is not equipped with the graphical operation interface.When Virtualbox is carried out real-time migration; The user will carry out a lot of order at the destination host end earlier and open shift function; Migration port and password are set; Continue input one string command at the source host end then and specify destination host and the passwords that will move to, such order is too loaded down with trivial details for domestic consumer, the ease for use of also having cut down virtualbox.
Summary of the invention
The purpose of this invention is to provide a kind of method that network is realized virtualbox real-time migration function that is used for; It provides a friendly more operation interface based on web for the user; Make the user can control many remote machines and realize the virtual migration between any two, improved the ease for use of virtualbox.
The objective of the invention is to realize by following mode:
A kind of Virtualbox real-time migration method based on web is characterized in that, may further comprise the steps:
1) sets shared memory space, the virtual machine storage file is left in the public memory space;
2) on source host of implementing to move and destination host, set up the web service;
3) land on the webpage of destination host transfer parameter is set;
4) webpage that lands source host is inserted transfer parameter, begins migration.
Destination host is connected the virtual media file on the shared memory space that the virtual machine on two main frames realizing moving can be visited with the public memory space of source host with the virtual memory space place.
It is virtual machine title, port numbers and password that webpage on the destination host is provided with parameter, clicks the Web service of confirming the back destination host and moves preparation with this parameter setting Virtualbox.
The transfer parameter that webpage on the source host is inserted is port numbers and the password that configures on destination host address, the destination host webpage, and after click was confirmed, source host web service was moved with this parameter setting Virtualbox.
The invention has the beneficial effects as follows: the present invention serves at use web and realizes the Virtualbox real-time migration, makes migration operation needn't come and go two complicated orders of main frames input, and migration is flexible more and simple, especially is fit to the migration of virtual machine between the server.
Description of drawings
Fig. 1 is based on the flow chart of the Virtualbox real-time migration method of web.
Embodiment
Explanation at length below with reference to Figure of description method of the present invention being done.
A kind of Virtualbox real-time migration method based on web of the present invention is realized real-time migration between two machines of having supposed web service.Destination host is connected the virtual media file on the shared memory space that the virtual machine on two main frames realizing moving can be visited with the public memory space of source host with the virtual memory space place.
It is virtual machine title, port numbers and password that webpage on the destination host is provided with parameter, clicks the Web service of confirming the back destination host and moves preparation with this parameter setting Virtualbox.
The transfer parameter that webpage on the source host is inserted is port numbers and the password that configures on destination host address, the destination host webpage, and after click was confirmed, source host web service was moved with this parameter setting Virtualbox.
Embodiment:
Of the present invention a kind of its processing and fabricating of Virtualbox real-time migration method based on web is very simple and convenient, shown in the by specification accompanying drawing:
At first, set and share memory space, the virtual machine storage file is left in the public memory space, and guarantee that two fictitious host computers can have access to public memory space.Then, on two main frames realizing migration, set up the web service, if these two fictitious host computers all are servers, just this step work can be simpler.At this moment, the preparation before the migration is just accomplished.
At this moment, on any one computer that can be connected to network, can operate and moved.Log on the webpage of destination host, input virtual machine title, port numbers and password option, the web service is sent to be the example order as follows to virtualbox:
VBoxManage?modifyvm?XP?–teleporter?on?–teleporterport?1234?–teleporterpassword?123456
VBoxManage?startvm?XP
Then, land the webpage of source host, insert destination host address and port numbers of just having set and password, after click confirming, the web service is sent being the order of example as follows to virtualbox:
VBoxManage?controlvm?XP?teleport?–host?192.168.1.3?–port?1234?–password?123456
At this moment, migration work has just begun, and it is very fast that virtual machine is implemented the speed of migration, can accomplish in about 2-3 minute, and in the transition process, the work on the virtual machine can not stop.
Except that the described technical characterictic of specification, be the known technology of those skilled in the art.

Claims (4)

1.一种基于web的Virtualbox实时迁移方法,其特征在于,包括以下步骤: 1. a web-based Virtualbox real-time migration method, is characterized in that, comprises the following steps: (1)设定共享存储空间,将虚拟机存储文件存放在公共存储空间里; (1) Set the shared storage space and store the virtual machine storage files in the public storage space; (2)在进行实施迁移的源主机和目的主机上架设web服务; (2) Set up web services on the source host and destination host for implementing the migration; (3)登陆目的主机的网页上设置迁移参数; (3) Migration parameters are set on the webpage of the landing destination host; (4)登陆源主机的网页填入迁移参数,开始迁移。 (4) Log in to the web page of the source host and fill in the migration parameters to start the migration. 2.根据权利要求1所述的一种基于web的Virtualbox实时迁移方法,其特征在于目的主机和源主机与虚拟存储空间所在的公共存储空间是相连接的,实现迁移的两台主机上的虚拟机都可以访问的共享存储空间上的虚拟媒体文件。 2. a kind of web-based Virtualbox real-time migration method according to claim 1 is characterized in that the public storage space where the destination host and the source host are located with the virtual storage space is connected, and the virtual storage space on the two hosts that realizes migration Virtual media files on shared storage space that can be accessed by any computer. 3.根据权利要求1所述的一种基于web的Virtualbox实时迁移方法,其特征在于目的主机上的网页设置参数为虚拟机名称、端口号和密码,点击确定后目的主机的Web服务以此参数设定Virtualbox进行迁移准备。 3. a kind of web-based Virtualbox real-time migration method according to claim 1 is characterized in that the web page setting parameter on the destination host is virtual machine name, port number and password, clicks the Web service of destination host after confirming with this parameter Set up Virtualbox for migration preparation. 4.根据权利要求1所述的一种基于web的Virtualbox实时迁移方法,其特征在于源主机上的网页填入的迁移参数为目的主机地址、目的主机网页上设定好的端口号和密码,点击确定后,源主机web服务以此参数设定Virtualbox进行迁移。 4. a kind of web-based Virtualbox real-time migration method according to claim 1, it is characterized in that the migration parameter that the webpage on the source host fills in is the destination host address, the port number and the password that are set on the destination host webpage, After clicking OK, the source host web service sets Virtualbox with this parameter for migration.
CN2012102793189A 2012-08-08 2012-08-08 Web-based virtual box real-time migration method Pending CN102833319A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012102793189A CN102833319A (en) 2012-08-08 2012-08-08 Web-based virtual box real-time migration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012102793189A CN102833319A (en) 2012-08-08 2012-08-08 Web-based virtual box real-time migration method

Publications (1)

Publication Number Publication Date
CN102833319A true CN102833319A (en) 2012-12-19

Family

ID=47336287

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012102793189A Pending CN102833319A (en) 2012-08-08 2012-08-08 Web-based virtual box real-time migration method

Country Status (1)

Country Link
CN (1) CN102833319A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399778A (en) * 2013-07-01 2013-11-20 华为技术有限公司 Method and device for online overall migration of virtual machine
CN103605562A (en) * 2013-12-10 2014-02-26 浪潮电子信息产业股份有限公司 Method for migrating kernel-based virtual machine (KVM) between physical hosts
CN105373415A (en) * 2014-08-28 2016-03-02 中兴通讯股份有限公司 Virtualization based application storage method, execution method, apparatus and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080104587A1 (en) * 2006-10-27 2008-05-01 Magenheimer Daniel J Migrating a virtual machine from a first physical machine in response to receiving a command to lower a power mode of the first physical machine
EP2309387A1 (en) * 2009-10-06 2011-04-13 Alcatel Lucent A method of migrating a virtual machine, corresponding computer program product, and data storage device therefor
CN102317909A (en) * 2008-12-19 2012-01-11 思杰系统有限公司 Systems and methods for facilitating migration of virtual machines among a plurality of physical machines
CN102314378A (en) * 2010-06-29 2012-01-11 微软公司 Use the technology that virtual machine is moved in storage of sharing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080104587A1 (en) * 2006-10-27 2008-05-01 Magenheimer Daniel J Migrating a virtual machine from a first physical machine in response to receiving a command to lower a power mode of the first physical machine
CN102317909A (en) * 2008-12-19 2012-01-11 思杰系统有限公司 Systems and methods for facilitating migration of virtual machines among a plurality of physical machines
EP2309387A1 (en) * 2009-10-06 2011-04-13 Alcatel Lucent A method of migrating a virtual machine, corresponding computer program product, and data storage device therefor
CN102314378A (en) * 2010-06-29 2012-01-11 微软公司 Use the technology that virtual machine is moved in storage of sharing

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
360文档图书馆-冯兰库: "《KVM 虚拟机在物理主机之间迁移的实现》", 《HTTP://WWW.360DOC.COM/CONTENT/12/0804/14/10530835_228293620.SHTML》 *
51CTO下载-上传者: QINCHANGSI: "《KVM 虚拟机在物理主机之间迁移的实现》", 《HTTP://DOWN.51CTO.COM/DATA/306746》 *
CNN站长学院: "《KVM 虚拟机在物理主机之间迁移的实现》", 《HTTP://EDU.CNZZ.CN/201107/58739706.SHTML》 *
张彬彬 等: "《虚拟机全系统在线迁移》", 《电子学报》 *
百度文库-AIREA1572: "《KVM 虚拟机在物理主机之间迁移的实现》", 《HTTP://WENKU.BAIDU.COM/VIEW/8405C59F51E79B896802267C.HTML》 *
郭晋兵 等: "《KVM 虚拟机在物理主机之间迁移的实现》", 《URL : HTTP://WWW.IBM.COM/DEVELOPERWORKS/CN/LINUX/L-CN-MGRTVM2/INDEX.HTML》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399778A (en) * 2013-07-01 2013-11-20 华为技术有限公司 Method and device for online overall migration of virtual machine
CN103399778B (en) * 2013-07-01 2016-12-28 华为技术有限公司 A kind of virtual machine online bulk migration method and apparatus
CN103605562A (en) * 2013-12-10 2014-02-26 浪潮电子信息产业股份有限公司 Method for migrating kernel-based virtual machine (KVM) between physical hosts
CN103605562B (en) * 2013-12-10 2017-05-03 浪潮电子信息产业股份有限公司 Method for migrating kernel-based virtual machine (KVM) between physical hosts
CN105373415A (en) * 2014-08-28 2016-03-02 中兴通讯股份有限公司 Virtualization based application storage method, execution method, apparatus and system

Similar Documents

Publication Publication Date Title
TWI625674B (en) Systems and methods for nvme controller virtualization to support multiple virtual machines running on a host
US20160092119A1 (en) Data migration between different types of storage systems
US8769269B2 (en) Cloud data management
CN103605562B (en) Method for migrating kernel-based virtual machine (KVM) between physical hosts
CN109672714B (en) A data processing method of a distributed storage system and a distributed storage system
CN105468300B (en) The management method and device of IP hard disks
US10896058B2 (en) Managing virtual clustering environments according to requirements
JP2016524762A (en) Sharing virtual hard disks across multiple virtual machines
US9792075B1 (en) Systems and methods for synthesizing virtual hard drives
CN103389884A (en) Method for processing input/output request, host, server and virtual machine
CN110046026B (en) Method for specifying virtual disk speed limit by cloud host, computing equipment and cloud platform
US8892836B2 (en) Automated migration to a new copy services target storage system to manage multiple relationships simultaneously while maintaining disaster recovery consistency
US20140359243A1 (en) Optimal Volume Placement Across Remote Replication Relationships
CN102833334A (en) Logical volume management method
CN104811473A (en) Virtual nonvolatile storage medium establishing method and system and management system
CN104615508A (en) Method for recovering LVM configuration under Linux system
US10083052B1 (en) Streamlined remote application streaming technology configuration and usage
CN102611754A (en) Management method of client in cloud storage based on iSCSI (internet small computer system interface)
CN106648838B (en) Resource pool management configuration method and device
CN108234551A (en) A kind of data processing method and device
US20180146051A1 (en) Autonomic discovery and integration of complementary internet services
CN102833319A (en) Web-based virtual box real-time migration method
US9563374B2 (en) Storage proxy method for data-service SAN appliance
CN103124295A (en) Large attachment uploading and managing method based on cloud computing
CN105607869A (en) Method for quickly formatting and using virtual machine disk

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20121219

WD01 Invention patent application deemed withdrawn after publication