WO2016034015A1 - 一种虚拟机迁移方法和装置 - Google Patents

一种虚拟机迁移方法和装置 Download PDF

Info

Publication number
WO2016034015A1
WO2016034015A1 PCT/CN2015/083215 CN2015083215W WO2016034015A1 WO 2016034015 A1 WO2016034015 A1 WO 2016034015A1 CN 2015083215 W CN2015083215 W CN 2015083215W WO 2016034015 A1 WO2016034015 A1 WO 2016034015A1
Authority
WO
WIPO (PCT)
Prior art keywords
source
destination
identifier
mapping relationship
virtual machine
Prior art date
Application number
PCT/CN2015/083215
Other languages
English (en)
French (fr)
Inventor
彭庆祥
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP15837577.4A priority Critical patent/EP3188008B1/en
Publication of WO2016034015A1 publication Critical patent/WO2016034015A1/zh
Priority to US15/449,857 priority patent/US10489183B2/en
Priority to US16/672,222 priority patent/US11422843B2/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45575Starting, stopping, suspending or resuming virtual machine instances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a virtual machine migration method and apparatus.
  • VM Virtual Machine
  • a user logs in a cloud computing platform (referred to as a cloud platform) to acquire resources and services shared by the cloud platform to complete his own work.
  • a cloud platform referred to as a cloud platform
  • the usage scenarios of VMs in the cloud platform are mainly divided into two types, one is a virtual desktop and the other is a virtual server.
  • the function of the virtual desktop is to enable the user to use the VM in the cloud platform instead of the physical machine for daily office work.
  • the role of the virtual server is to build a database or network service system for the virtual desktop user through the VM.
  • the existing cloud platform is no longer used and the new cloud platform is replaced, or the virtual desktop user of a cloud platform cannot continue to log in to the VM of the original cloud platform for work, it needs When logging in to other cloud platforms for the original work, you need to migrate the VMs in the cloud platform.
  • the current implementation of VM migration is to copy the data in the source VM disk to the disk of the VM of the destination cloud platform (referred to as the destination VM) through the proxy plug-in installed in the VM of the source cloud platform (referred to as the source VM). Copy the data from all source VM disks to the destination VM disk to complete the migration from the source VM to the destination VM.
  • the data in the source VM includes an operating system and a database, a network, or an application software that implement various services required by the user.
  • the existing VM migration implementation can only perform data migration for the VM corresponding to one of the two usage scenarios of the VM in the cloud platform, and completely migrate the data in the source VM to the destination VM, and in the cloud platform.
  • the virtual desktop user wants to use the virtual desktop corresponding to the migrated VM,
  • the user name is not stored on the VM. Therefore, the user cannot log in to the destination VM using the user name set on the source VM.
  • the user name needs to be re-registered. The operation is cumbersome and the experience of the virtual desktop user is reduced.
  • an embodiment of the present invention provides a virtual machine migration method and apparatus.
  • the technical solution is as follows:
  • the present invention provides a virtual machine migration method, the method comprising:
  • the second mapping relationship is stored in the destination cloud platform.
  • the configuring the target VM to form a second with the designated user according to the obtained first mapping relationship between the source VM and the specified user Mapping relationships including:
  • the destination VM identifier is associated with the user identifier of the specified user according to the correspondence between the identifier of the source VM and the user identifier of the specified user, to form the second mapping relationship.
  • the method further includes:
  • the source VM is determined according to the obtained identifier of the source VM and the identifier of the destination VM.
  • Migrating data to the destination VM including:
  • the method further includes:
  • the present invention provides a virtual machine migration apparatus, the apparatus comprising:
  • a first acquiring module configured to acquire, when the data in the source VM is migrated to the destination VM, a first mapping relationship between the source VM and the specified user that are pre-stored in the source cloud platform;
  • a first processing module configured to configure a second mapping relationship between the destination VM and the specified user according to the obtained first mapping relationship between the source VM and the specified user;
  • a storage module configured to store the second mapping relationship into the destination cloud platform.
  • the first processing module is configured to:
  • the destination VM identifier is associated with the user identifier of the specified user according to the correspondence between the identifier of the source VM and the user identifier of the specified user, to form the second mapping relationship.
  • the device further includes:
  • a second acquiring module configured to acquire an identifier of the source VM and an identifier of the destination VM
  • a second processing module configured to set the source VM and the destination VM to a suspended state
  • a third processing module configured to migrate the data in the source VM to the destination VM according to the obtained identifier of the source VM and the identifier of the destination VM.
  • the third processing module is configured to:
  • the device further includes:
  • a recycling module for shutting down the source VM that has been migrated.
  • the present invention provides a virtual machine migration apparatus, the virtual machine migration apparatus including a memory, a processor, and one or more programs, wherein the one or more programs are stored in the memory, And configured to execute, by the processor, the one or more programs include instructions for:
  • the second mapping relationship is stored in the destination cloud platform.
  • a virtual machine migration method and apparatus when data in the source VM is migrated And when the target VM is moved to the first mapping relationship between the source VM and the specified user, the destination VM is configured to form a second mapping relationship with the specified user, and the formed mapping manner is formed.
  • the second mapping relationship is stored in the destination cloud platform, and after the data migration is performed on the source VM corresponding to the virtual desktop, the virtual desktop user can log in to the virtual desktop corresponding to the migrated destination VM by using the username set on the source VM. Without having to register a new username again, the operation is simple and the experience of the virtual desktop user is improved.
  • FIG. 1 is a schematic structural diagram of an implementation environment involved in a virtual machine migration method according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a virtual machine migration method according to Embodiment 1 of the present invention.
  • FIG. 3 is a flowchart of a virtual machine migration method according to Embodiment 2 of the present invention.
  • FIG. 4 is a schematic structural diagram of a virtual machine migration apparatus according to Embodiment 3 of the present invention.
  • FIG. 5 is a schematic structural diagram of a virtual machine migration apparatus according to Embodiment 4 of the present invention.
  • FIG. 1 is a schematic structural diagram of an implementation environment involved in a virtual machine migration method according to an embodiment of the present invention, where the environment includes: a source cloud platform 100 and a destination cloud that accepts a migrated VM in the source cloud platform 100. Platform 110.
  • the source cloud platform 100 and the destination cloud platform 110 each include a plurality of servers (not shown) each having a certain number of VMs.
  • the servers may be local or distributed in different locations on the network;
  • the VM can be a virtual desktop or a virtual server, and can also include both a virtual desktop and a virtual server.
  • the data in the source VM in the source cloud platform 100 is migrated to the destination cloud platform 110 through the virtual machine migration device during VM data migration.
  • the virtual machine migration device is configured to migrate the data of the source VM to the destination VM according to the acquired source VM identifier, the destination VM identifier, and the source VM data.
  • the virtual machine migration device may be disposed in a server dedicated to VM migration independently of each server in the source cloud platform 100 and the destination cloud platform 110; or may be disposed in the source cloud platform 100 or in the form of a functional module. In the cloud platform 110.
  • the source cloud platform and the destination cloud platform are not The same cloud platform, that is, data migration from the source VM to the destination VM between the two cloud platforms.
  • an embodiment of the present invention provides a virtual machine migration method, where the method includes:
  • Step 200 When the data in the source VM is migrated to the destination VM, obtain a first mapping relationship between the source VM pre-stored in the source cloud platform and the specified user.
  • Step 201 Configure a second mapping relationship between the destination VM and the specified user according to the first mapping relationship between the source VM and the specified user.
  • Step 202 Store the second mapping relationship into the destination cloud platform.
  • the virtual desktop user can log in to the virtual desktop of the migrated destination VM by using the username set on the source VM without registering the new username again, and the operation is simple. .
  • the generated second mapping relationship is stored in a preset mapping relationship table or a service database in the destination cloud platform, and may be other devices that can store the mapping relationship between the VM and the specified user, and details are not described herein again.
  • an embodiment of the present invention provides a virtual machine migration method, in which a source VM data is migrated to a destination VM by using a virtual machine migration device, including:
  • Step 300 The virtual machine migration device acquires an identifier of the source VM and an identifier of the destination VM.
  • the virtual machine migration device acquires the identifier of the source VM from the source cloud platform, and obtains the identifier of the destination VM from the destination cloud platform.
  • the identifier of the source VM in the source cloud platform and the identifier of the destination VM in the destination cloud platform are all input by the administrator before the source VM is migrated to the destination VM, and the source cloud platform and the destination cloud platform are input in advance.
  • the virtual machine migration may also obtain the source VM host name from the source cloud platform, and obtain the destination VM host name from the destination cloud platform, to further determine the source VM and the destination VM; and obtain the source VM identifier, the source VM host name, and the destination VM identifier. And the destination VM host name is entered in the virtual machine migration device.
  • the VM migration preparation is performed before the data of the source VM of the source cloud platform is migrated to the destination VM of the destination cloud platform.
  • the identifier A of the source VM is obtained, and the identifier B of the destination VM is obtained from the destination cloud platform.
  • the storage space of the destination VM and the source VM is consistent in the size and configuration of the storage space.
  • Step 301 The virtual machine migration device sets the source VM and the destination VM to a suspended state.
  • the suspended state of the source VM and the destination VM in this step means that the virtual machine migration device sets the source VM and the destination VM to a state in which the user cannot operate, so that the source VM data is migrated to the destination VM.
  • the virtual machine migration device sets the source VM and the destination VM to a state in which the user cannot operate, so that the source VM data is migrated to the destination VM.
  • it is determined that the user cannot operate the data in the source VM and the data consistency between the destination VM and the source VM after the VM migration is completed is ensured, and the data of the source VM can be migrated to the destination VM at one time, thereby ensuring the virtual machine.
  • the success rate of migration improves the migration efficiency of source VM data.
  • the virtual machine migration device can also set the source VM and the destination VM to enter the maintenance mode, so that the source VM and the destination VM are in a state in which the user cannot operate, and then the source VM to the destination VM.
  • Data migration In addition to the manners described above, the source VM and the destination VM may be in a state in which the user cannot operate in other manners, and details are not described herein again.
  • Step 302 The virtual machine migration device migrates data in the source VM to the destination VM according to the identifier of the source VM and the identifier of the destination VM.
  • this step includes:
  • the virtual machine migration device copies the data in the VM corresponding to the source VM identifier according to the identifier of the obtained source VM.
  • the virtual machine migration device transmits the data in the copied source VM to the VM corresponding to the destination VM identifier.
  • the virtual machine migration device sends a virtualized underlying command to the source platform, copies the data in the source VM disk, and then sends the copied data block to the destination VM.
  • the data block of a certain size in the source VM disk may be copied, and then the copied data block is sent to the destination VM, and then continues from the source.
  • a certain size of data block is copied from the VM disk to the destination VM until the data in the source VM is completely copied to the destination VM.
  • Step 303 When the data in the source VM is migrated to the destination VM, the virtual machine migration device acquires a first mapping relationship between the source VM pre-stored in the source cloud platform and the specified user.
  • the first mapping relationship includes a correspondence between the source VM identifier and the specified user identifier, where the identifier of the source VM is A, the name of the specified user is Zhang San, and the user identifier of Zhang San is 003, then the source VM and the specified
  • the first mapping relationship of the user Zhang can be expressed as A-003.
  • the virtual machine migration device may obtain the first mapping relationship from the mapping relationship table or the service database of the source VM and the specified user in advance.
  • Step 304 The virtual machine migration device configures a second mapping relationship between the destination VM and the designated user according to the first mapping relationship between the source VM and the specified user.
  • step 304 includes:
  • the virtual machine migration device acquires a correspondence between the identifier of the source VM in the first mapping relationship and the user identifier of the specified user, and the destination VM identifier.
  • the virtual machine migration device is configured according to the correspondence between the identifier of the source VM and the user identifier of the specified user.
  • the destination VM identifier is associated with the user ID of the specified user to form a second mapping relationship.
  • the user ID of the specified user includes the password of the specified user login source VM.
  • the identifier of the source VM is A
  • the identifier of the destination VM is B
  • the name of the specified user is Zhang San
  • the user identifier of Zhang San is 003
  • step 304 is further described:
  • the first mapping relationship can be expressed as A-003.
  • the corresponding relationship A-003 of the identifier A of the source VM and the user identifier 003 of the specified user Zhang is obtained from the first mapping relationship, and the obtained destination VM identifier is B.
  • the correspondence B-003 of the destination VM identifier B and the specified user Zhang is formed according to the correspondence A of the source VM and the corresponding relationship A-003 of the specified user, and the formed correspondence B-003 is used as the second mapping relationship.
  • Step 305 The virtual machine migration device stores the second mapping relationship into the destination cloud platform.
  • the virtual machine migration device stores the second mapping relationship in a pre-stored service database in the destination cloud platform.
  • the source cloud platform service database is maintained by storing the second mapping relationship between the destination VM and the specified user formed according to the first mapping relationship between the source VM and the specified user stored in the source cloud platform service database to the destination cloud platform service database.
  • Step 306 The virtual machine migration apparatus notifies the source cloud platform to shut down the migrated source VM.
  • step 306 includes:
  • the virtual machine migration device invokes the destination cloud platform interface to associate the destination VM to the specified user.
  • the virtual machine migration device invokes the destination cloud platform interface, restarts the destination VM, and automatically restarts the destination VM after the restart. After the destination VM is successfully registered, the destination cloud platform sends the destination VM registration success information to the virtual machine migration device.
  • the virtual machine migration device After receiving the information about the successful registration of the destination VM sent by the destination cloud platform, the virtual machine migration device invokes the source cloud platform interface to close the source VM.
  • step 306 By revising step 306, by closing the migrated source VM, the source platform is no longer reclaimed.
  • the VM resources used can reduce the resource usage of the source platform.
  • the VM resources can be redistributed when necessary, and the VM resource configuration in the source platform is more reasonable.
  • the virtual machine migration method provided by the embodiment of the present invention, when the data in the source VM is migrated to the destination VM, the first mapping relationship between the source VM and the specified user is configured, and the destination VM is formed with the designated user.
  • the second mapping relationship is stored in the destination cloud platform, and after the data migration is performed on the source VM corresponding to the virtual desktop, the virtual desktop user can log in to the migrated destination by using the username set on the source VM.
  • the virtual desktop corresponding to the VM does not need to register a new username again, and the operation is simple, and the experience of the virtual desktop user is improved.
  • an embodiment of the present invention provides a virtual machine migration apparatus, where the apparatus includes:
  • the first obtaining module 410 is configured to acquire, when the data in the source VM is migrated to the destination VM, the first mapping relationship between the source VM pre-stored in the source cloud platform and the specified user.
  • the first processing module 420 is configured to configure a second mapping relationship between the destination VM and the specified user according to the first mapping relationship between the source VM and the specified user.
  • the storage module 430 is configured to store the second mapping relationship into the destination cloud platform.
  • the first processing module 410 is configured to:
  • the destination VM identifier is associated with the user identifier of the specified user according to the mapping between the identifier of the source VM and the user identifier of the specified user, to form a second mapping relationship.
  • the virtual machine migration device further includes:
  • the second obtaining module 440 is configured to obtain an identifier of the source VM and an identifier of the destination VM.
  • a second processing module 450 configured to set the source VM and the destination VM to a suspended state
  • the third processing module 460 is configured to migrate data in the source VM to the destination VM according to the identifier of the source VM and the identifier of the destination VM.
  • the third processing module 460 is configured to:
  • the data in the copied source VM is transferred to the VM corresponding to the destination VM identifier.
  • the virtual machine migration device further includes:
  • a recycling module 470 is configured to shut down the migrated source VM.
  • the data migration of the source VM to the destination VM is performed by using only the division of the foregoing functional modules.
  • the foregoing functions may be performed as needed.
  • the assignment is done by different functional modules, dividing the internal structure of the device into different functional modules to perform all or part of the functions described above.
  • the virtual machine migration apparatus and system provided by the foregoing embodiment are in the same concept as the virtual machine migration method embodiment, and the specific implementation process is described in the virtual machine migration method embodiment, and details are not described herein again.
  • the virtual machine migration apparatus when the data in the source VM is migrated to the destination VM, configures the destination VM to form a second with the designated user by acquiring the first mapping relationship between the source VM and the specified user.
  • the mapping relationship is performed, and the formed second mapping relationship is stored in the destination cloud platform.
  • the virtual desktop user can log in to the migrated destination VM by using the username set on the source VM.
  • the corresponding virtual desktop does not need to register a new user name again, and the operation is simple, which improves the experience of the virtual desktop user.
  • an embodiment of the present invention provides a virtual machine migration apparatus, where the virtual machine migration apparatus includes a memory 500, a processor 600, and one or more programs, one of which is More than one program is stored in memory 500 and is configured to be executed by processor 600.
  • One or more programs include instructions for performing the following operations:
  • the second mapping relationship is stored in the destination cloud platform.
  • the data migration of the source VM to the destination VM is performed by using only the division of the foregoing functional modules.
  • the foregoing functions may be performed as needed.
  • the assignment is done by different functional modules, dividing the internal structure of the device into different functional modules to perform all or part of the functions described above.
  • the virtual machine migration apparatus and system provided by the foregoing embodiment are in the same concept as the virtual machine migration method embodiment, and the specific implementation process is described in the virtual machine migration method embodiment, and details are not described herein again.
  • the virtual machine migration apparatus when the data in the source VM is migrated to the destination VM, configures the destination VM to form a second with the designated user by acquiring the first mapping relationship between the source VM and the specified user.
  • the mapping relationship is performed, and the formed second mapping relationship is stored in the destination cloud platform.
  • the virtual desktop user can log in to the migrated destination VM by using the username set on the source VM.
  • the corresponding virtual desktop does not need to register a new user name again, and the operation is simple, which improves the experience of the virtual desktop user.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

一种虚拟机迁移方法和装置,属于计算机技术领域。所述方法包括:当源VM中的数据迁移到目的VM时,获取源云平台中预先存储的所述源VM与指定用户的第一映射关系(201);根据获取到的所述源VM与所述指定用户的所述第一映射关系,配置所述目的VM与所述指定用户形成第二映射关系(202);将所述第二映射关系存储到目的云平台中(203)。本方案通过配置所述目的VM与所述指定用户形成第二映射关系,使得虚拟桌面用户可以通过源VM上设置的用户名登录目的VM对应的虚拟桌面而无需再次注册新的用户名,操作简单,提高了虚拟桌面用户的体验度。

Description

一种虚拟机迁移方法和装置 技术领域
本发明涉及计算机技术领域,特别涉及一种虚拟机迁移方法和装置。
背景技术
VM(Virtual Machine,虚拟机)指通过软件模拟的具有完整硬件系统功能的、运行在一个完全隔离环境中的完整计算机系统。在现有技术中,用户通过登录云计算平台(简称云平台)的VM来获取云平台上共享的资源和服务,来完成自身的工作。目前,云平台中VM的使用场景主要分为两种,一种为虚拟桌面,另一种为虚拟服务器。虚拟桌面的作用是使用户使用云平台中的VM代替物理机进行日常的办公,虚拟服务器的作用是通过VM为虚拟桌面用户搭建使用的数据库或者网络等业务系统。在某些情况下,比如:现有的云平台不再继续使用而更换新的云平台、或者某一云平台的虚拟桌面用户由于工作需要不能再继续登录原来云平台的VM进行工作,而需要登录其他的云平台进行原有工作时,需要对云平台中的VM进行迁移。
目前存在的VM迁移的实现方案,是通过源云平台的VM(简称源VM)中安装的代理插件拷贝源VM磁盘中的数据,传送到目的云平台的VM(简称目的VM)的磁盘,直到将全部源VM磁盘中的数据拷贝到目的VM磁盘中,完成源VM到目的VM的迁移。其中,源VM中的数据包括:操作系统和实现用户需要的各种服务的数据库、网络、或者应用软件。
在实现本发明的过程中,发明人发现现有技术至少存在以下问题:
现有的VM迁移的实现方案只能针对云平台中VM的两种使用场景之一的虚拟服务器对应的VM进行数据迁移,将源VM中的数据完整迁移到目的VM中,而在对云平台中VM的另一应用场境虚拟桌面对应的VM进行数据迁移后,虚拟桌面用户想要使用已迁移的VM对应的虚拟桌面时,由于目的 VM上并没有存储用户名,所以用户使用源VM上设置的用户名不可登录目的VM,需要重新注册用户名,操作繁琐,降低了虚拟桌面用户的体验度。
发明内容
为了解决现有技术的问题,本发明实施例提供了一种虚拟机迁移方法和装置。所述技术方案如下:
第一方面,本发明提供了一种虚拟机迁移方法,所述方法包括:
当源VM中的数据迁移到目的VM时,获取源云平台中预先存储的所述源VM与指定用户的第一映射关系;
根据获取到的所述源VM与所述指定用户的所述第一映射关系,配置所述目的VM与所述指定用户的第二映射关系;
将所述第二映射关系存储到目的云平台中。
在第一方面的第一种可能的实现方式中,所述根据获取到的所述源VM与所述指定用户的所述第一映射关系,配置所述目的VM与所述指定用户形成第二映射关系,包括:
获取所述第一映射关系中源VM的标识和所述指定用户的用户标识的对应关系、以及目的VM标识;
根据所述源VM的标识和所述指定用户的用户标识的对应关系,将所述目的VM标识和所述指定用户的用户标识对应起来,形成所述第二映射关系。
在第一方面的第二种可能的实现方式中,所述方法还包括:
获取所述源VM的标识和所述目的VM的标识;
设置所述源VM和所述目的VM为挂起状态;
根据获取到的所述源VM的标识和所述目的VM的标识,将所述源VM中的数据迁移到所述目的VM。
结合第一方面的第二种可能的实现方式,在第三种可能的实现方式中,所述根据获取到的所述源VM的标识和所述目的VM的标识,将所述将源VM中的数据迁移到所述目的VM,包括:
根据获取到的所述源VM的标识,拷贝所述源VM标识对应VM中的数据;
传输已拷贝的所述源VM中的数据到所述目的VM标识对应的VM中。
在第一方面的第四种可能的实现方式中,所述方法还包括:
关闭已迁移的所述源VM。
第二方面,本发明提供了一种虚拟机迁移装置,所述装置包括:
第一获取模块,用于当源VM中的数据迁移到目的VM时,获取源云平台中预先存储的所述源VM与指定用户的第一映射关系;
第一处理模块,用于根据获取到的所述源VM与所述指定用户的所述第一映射关系,配置所述目的VM与所述指定用户的第二映射关系;
存储模块,用于将所述第二映射关系存储到目的云平台中。
在第二方面的第一种可能的实现方式中,所述第一处理模块用于:
获取所述第一映射关系中源VM的标识和所述指定用户的用户标识的对应关系、以及目的VM标识;
根据所述源VM的标识和所述指定用户的用户标识的对应关系,将所述目的VM标识和所述指定用户的用户标识对应起来,形成所述第二映射关系。
在第二方面的第二种可能的实现方式中,所述装置还包括:
第二获取模块,用于获取所述源VM的标识和所述目的VM的标识;
第二处理模块,用于设置所述源VM和所述目的VM为挂起状态;
第三处理模块,用于根据获取到的所述源VM的标识和所述目的VM的标识,将所述将源VM中的数据迁移到所述目的VM。
结合第一方面的第二种可能的实现方式,在第三种可能的实现方式中,所述第三处理模块用于:
根据获取到的所述源VM的标识,拷贝所述源VM标识对应VM中的数据;
传输已拷贝的所述源VM中的数据到所述目的VM标识对应的VM中。
在第二方面的第四种可能的实现方式中,所述装置还包括:
回收模块,用于关闭已迁移的所述源VM。
第三方面,本发明提供了一种虚拟机迁移装置,所述虚拟机迁移装置包括有存储器,处理器以及一个或者一个以上的程序,其中所述一个或者一个以上程序存储于所述存储器中,且经配置以由所述处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:
当源VM中的数据迁移到目的VM时,获取源云平台中预先存储的所述源VM与指定用户的第一映射关系;
根据获取到的所述源VM与所述指定用户的所述第一映射关系,配置所述目的VM与所述指定用户的第二映射关系;
将所述第二映射关系存储到目的云平台中。
本发明实施例提供的技术方案带来的有益效果是:
本发明实施例提供的虚拟机迁移方法和装置,当所述源VM中的数据迁 移到所述目的VM时,通过获取到的所述源VM与所述指定用户的所述第一映射关系,配置所述目的VM与所述指定用户形成第二映射关系,并将形成的所述第二映射关系存储在所述目的云平台中,在对虚拟桌面对应的源VM进行数据迁移后,使得虚拟桌面用户可以通过源VM上设置的用户名登录已迁移的目的VM对应的虚拟桌面而无需再次注册新的用户名,操作简单,提高了虚拟桌面用户的体验度。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的虚拟机迁移方法所涉及的一种实施环境的结构示意图;
图2是本发明实施例一提供的虚拟机迁移方法流程图;
图3是本发明实施例二提供的虚拟机迁移方法流程图;
图4是本发明实施例三提供的虚拟机迁移装置结构示意图;
图5是本发明实施例四提供的虚拟机迁移装置结构示意图。
通过上述附图,已示出本发明明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本发明构思的范围,而是通过参考特定实施例为本领域技术人员说明本发明的概念。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其他实施例,都属于本发明保护的范围。
除非另作定义,此处使用的技术术语或者科学术语应当为本发明所属领域内具有一般技能的人士所理解的通常意义。本发明专利申请说明书以及权利要求书中使用的“第一”、“第二”以及类似的词语并不表示任何顺序、数量或者重要性,而只是用来区分不同的组成部分。同样,“一个”或者“一”等类似词语也不表示数量限制,而是表示存在至少一个。“连接”或者“相连”等类似的词语并非限定于物理的或者机械的连接,而是可以包括电性的连接,不管是直接的还是间接的。“上”、“下”、“左”、“右”等仅用于表示相对位置关系,当被描述对象的绝对位置改变后,则该相对位置关系也相应地改变。
参见图1,其示出了本发明实施例提供的虚拟机迁移方法所涉及的一种实施环境的结构示意图,该环境包括:源云平台100和接受源云平台100中的迁移VM的目的云平台110。
其中,源云平台100和目的云平台110都包括多个分别具有一定数量VM的服务器(图中未示出),这些服务器可以是在本地的,也可以分布在网络的不同位置;这些服务器包含的VM可以是虚拟桌面,也可以是虚拟服务器,还可以包括虚拟桌面和虚拟服务器二者。
其中,在进行VM数据迁移时,在源云平台100中的源VM中的数据通过虚拟机迁移装置迁移到目的云平台110中。
其中,虚拟机迁移装置用于根据获取的源VM标识、目的VM标识和源VM的数据,将源VM的数据迁移到目的VM中。
其中,虚拟机迁移装置可以设置在独立于源云平台100和目的云平台110中各服务器而存在的专门用于VM迁移的服务器;也可以以一功能模块的形式设置在源云平台100或者目的云平台110中。
本发明各实施例提供的虚拟机迁移方法中,源云平台与目的云平台是不 同云平台,即在两个云平台之间进行源VM到目的VM的数据迁移。
实施例一
参见图2,本发明实施例提供一种虚拟机迁移方法,该方法包括:
步骤200、当源VM中的数据迁移到目的VM时,获取源云平台中预先存储的源VM与指定用户的第一映射关系。
步骤201、根据获取到的源VM与指定用户的第一映射关系,配置目的VM与指定用户的第二映射关系。
步骤202、将第二映射关系存储到目的云平台中。
通过以上流程,在对虚拟桌面对应的源VM进行数据迁移后,使得虚拟桌面用户可以通过源VM上设置的用户名登录迁移后的目的VM的虚拟桌面而无需再次注册新的用户名,操作简单。
将生成的第二映射关系存储到目的云平台中预先设置的映射关系表或者业务数据库中,当然也可以是其他可以存储VM与指定用户映射关系的装置中,这里不再一一赘述。
实施例二
参见图3,本发明实施例提供一种虚拟机迁移方法,通过虚拟机迁移装置将源VM数据迁移到目的VM中,包括:
步骤300、虚拟机迁移装置获取源VM的标识和目的VM的标识。
具体地,虚拟机迁移装置从源云平台获取源VM的标识,从目的云平台中获取目的VM的标识。而源云平台中的源VM的标识和目的云平台中的目的VM的标识都是管理员在将源VM迁移到目的VM之前,预先输入源云平台和目的云平台的。
进一步地,除了获取源VM的标识和目的VM的标识之外,虚拟机迁移 装置还可以从源云平台获取源VM主机名、和从目的云平台中获取目的VM主机名,用来进一步确定源VM和目的VM;将获取到源VM标识、源VM主机名、目的VM标识和目的VM主机名输入虚拟机迁移装置中。
比如,源VM的标识为A,目的VM的标识为B,那么在将源云平台的源VM的数据迁移到目的云平台的目的VM之前,先进行VM迁移的准备工作,从源云平台中获取源VM的标识A,从目的云平台中获取目的VM的标识B。
进一步地,目的VM和源VM的存储空间在存储空间的大小和配置上保持一致。
步骤301、虚拟机迁移装置设置源VM和目的VM为挂起状态。
具体地,本步骤中所述的源VM和目的VM的挂起状态,是指虚拟机迁移装置将源VM和目的VM设置成一种用户不能操作的状态,使得在源VM数据迁移到目的VM的过程中,确定用户不能对源VM中的数据进行操作,保证了VM迁移完成后目的VM与源VM的数据一致性,确保一次就可以将源VM的数据迁移到目的VM中,保证了虚拟机迁移的成功率,提高了源VM数据的迁移效率。
当然,在对源VM进行数据迁移之前,虚拟机迁移装置也可以通过指令设置源VM和目的VM进入维护模式,使源VM和目的VM处于用户不能操作的状态,然后再进行源VM到目的VM的数据迁移。除了以上说明的方式之外,还可以采用其他的方式使源VM和目的VM处于用户不能操作的状态,这里不再一一赘述。
步骤302、虚拟机迁移装置根据获取到的源VM的标识和目的VM的标识,将源VM中的数据迁移到目的VM。
具体地,本步骤包括:
虚拟机迁移装置根据获取到的源VM的标识,拷贝源VM标识对应VM中的数据。
虚拟机迁移装置传输已拷贝的源VM中的数据到目的VM标识对应的VM中。
在将源VM的数据传输的目的VM的过程中,通过虚拟机迁移装置向源平台发送虚拟化底层命令,拷贝源VM磁盘中的数据,然后将拷贝好的数据块发送到目的VM。
优选地,在虚拟机迁移装置将源VM中的数据迁移到目的VM的过程中,可以拷贝源VM磁盘中特定大小的数据块,然后将拷贝好的数据块发送到目的VM,之后继续从源VM磁盘中拷贝特定大小的数据块传输到目的VM中,直到完全将源VM中的数据拷贝到目的VM中。
步骤303、当源VM中的数据迁移到目的VM时,虚拟机迁移装置获取源云平台中预先存储的源VM与指定用户的第一映射关系。
具体地,第一映射关系包括源VM标识和指定用户标识的对应关系,以源VM的标识为A、指定用户的名字为张三、张三的用户标识是003为例,那么源VM和指定用户张三的第一映射关系可以表示为A-003。
其中,虚拟机迁移装置可以从源VM预先存储有源VM和指定用户的映射关系表或者业务数据库中获取第一映射关系。
步骤304、根据获取到的源VM与指定用户的第一映射关系,虚拟机迁移装置配置目的VM与指定用户的第二映射关系。
具体地,步骤304包括:
虚拟机迁移装置获取第一映射关系中源VM的标识和指定用户的用户标识的对应关系、以及目的VM标识。
虚拟机迁移装置根据源VM的标识和指定用户的用户标识的对应关系, 将目的VM标识和指定用户的用户标识对应起来,形成第二映射关系。
其中,指定用户的用户标识包含指定用户登录源VM的密码。
进一步地,以源VM的标识为A,目的VM的标识为B、指定用户的名字为张三,张三的用户标识是003为例,对步骤304做进一步说明:
第一映射关系可以表示为A-003。从第一映射关系中获取源VM的标识A和指定用户张三的用户标识003的对应关系A-003,而获取到的目的VM标识为B。根据源VM的标识A和指定用户张三的对应关系A-003,形成目的VM标识B与指定用户张三的对应关系B-003,将形成的对应关系B-003作为第二映射关系。
步骤305、虚拟机迁移装置将第二映射关系存储到目的云平台中。
具体地,虚拟机迁移装置将第二映射关系存储到目的云平台中预先存储的业务数据库中。通过将根据源云平台业务数据库中存储的源VM和指定用户的第一映射关系形成的目的VM和指定用户的第二映射关系存储到目的云平台业务数据库中,保持了源云平台业务数据库和目的云平台业务数据库在本次VM数据迁移前后的一致性。
步骤306、虚拟机迁移装置通知源云平台关闭已迁移的源VM。
具体地,步骤306包括:
虚拟机迁移装置调用目的云平台接口,将目的VM关联给指定用户。
虚拟机迁移装置调用目的云平台接口,重启目的VM,重启后目的VM自动注册,目的VM注册成功后目的云平台向虚拟机迁移装置发出目的VM注册成功的信息。
虚拟机迁移装置在接收到目的云平台发出的目的VM注册成功的信息后,调用源云平台接口关闭源VM。
通过对步骤306的描述,通过关闭已迁移的源VM,回收源平台中不再 使用的VM资源,可降低源平台的资源占用率,可以在必要时,对回收的VM资源进行再分配,对源平台中的VM资源配置更加合理。
基于上述描述,本发明实施例提供的虚拟机迁移方法,当源VM中的数据迁移到目的VM时,通过获取到的源VM与指定用户的第一映射关系,配置目的VM与指定用户形成第二映射关系,并将形成的第二映射关系存储在目的云平台中,在对虚拟桌面对应的源VM进行数据迁移后,使得虚拟桌面用户可以通过源VM上设置的用户名登录已迁移的目的VM对应的虚拟桌面而无需再次注册新的用户名,操作简单,提高了虚拟桌面用户的体验度。
实施例三
参见图4,本发明实施例提供了一种虚拟机迁移装置,该装置包括:
第一获取模块410,用于当源VM中的数据迁移到目的VM时,获取源云平台中预先存储的源VM与指定用户的第一映射关系;
第一处理模块420,用于根据获取到的源VM与指定用户的第一映射关系,配置目的VM与指定用户的第二映射关系;
存储模块430,用于将第二映射关系存储到目的云平台中。
具体地,第一处理模块410用于:
获取第一映射关系中源VM的标识和指定用户的用户标识的对应关系、以及目的VM标识;
根据源VM的标识和指定用户的用户标识的对应关系,将目的VM标识和指定用户的用户标识对应起来,形成第二映射关系。
进一步地,虚拟机迁移装置还包括:
第二获取模块440,用于获取源VM的标识和目的VM的标识;
第二处理模块450,用于设置源VM和目的VM为挂起状态;
第三处理模块460,用于根据获取到的源VM的标识和目的VM的标识,将源VM中的数据迁移到目的VM。
具体地,第三处理模块460用于:
根据获取到的源VM的标识,拷贝源VM标识对应VM中的数据;
传输已拷贝的源VM中的数据到目的VM标识对应的VM中。
进一步地,虚拟机迁移装置还包括:
回收模块470,用于关闭已迁移的源VM。
需要说明的是:本发明实施例提供的虚拟机迁移装置在进行源VM到目的VM的数据迁移时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的虚拟机迁移装置和系统与虚拟机迁移方法实施例属于同一构思,其具体实现过程详见虚拟机迁移方法实施例,这里不再赘述。
基于上述描述,本实施例提供的虚拟机迁移装置,当源VM中的数据迁移到目的VM时,通过获取到的源VM与指定用户的第一映射关系,配置目的VM与指定用户形成第二映射关系,并将形成的第二映射关系存储在目的云平台中,在对虚拟桌面对应的源VM进行数据迁移后,使得虚拟桌面用户可以通过源VM上设置的用户名登录已迁移的目的VM对应的虚拟桌面而无需再次注册新的用户名,操作简单,提高了虚拟桌面用户的体验度。
实施例四
参见图5,本发明实施例提供一种虚拟机迁移装置,虚拟机迁移装置包括有存储器500,处理器600以及一个或者一个以上的程序,其中一个或者 一个以上程序存储于存储器500中,且经配置以由处理器600执行一个或者一个以上程序包含用于进行以下操作的指令:
当源VM中的数据迁移到目的VM时,获取源云平台中预先存储的源VM与指定用户的第一映射关系;
根据获取到的源VM与指定用户的第一映射关系,配置目的VM与指定用户的第二映射关系;
将第二映射关系存储到目的云平台中。
需要说明的是:本发明实施例提供的虚拟机迁移装置在进行源VM到目的VM的数据迁移时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的虚拟机迁移装置和系统与虚拟机迁移方法实施例属于同一构思,其具体实现过程详见虚拟机迁移方法实施例,这里不再赘述。
基于上述描述,本实施例提供的虚拟机迁移装置,当源VM中的数据迁移到目的VM时,通过获取到的源VM与指定用户的第一映射关系,配置目的VM与指定用户形成第二映射关系,并将形成的第二映射关系存储在目的云平台中,在对虚拟桌面对应的源VM进行数据迁移后,使得虚拟桌面用户可以通过源VM上设置的用户名登录已迁移的目的VM对应的虚拟桌面而无需再次注册新的用户名,操作简单,提高了虚拟桌面用户的体验度。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (11)

  1. 一种虚拟机迁移方法,其特征在于,所述方法包括:
    当源VM中的数据迁移到目的VM时,获取源云平台中预先存储的所述源VM与指定用户的第一映射关系;
    根据获取到的所述源VM与所述指定用户的所述第一映射关系,配置所述目的VM与所述指定用户的第二映射关系;
    将所述第二映射关系存储到目的云平台中。
  2. 根据权利要求1所述的虚拟机迁移方法,其特征在于,所述根据获取到的所述源VM与所述指定用户的所述第一映射关系,配置所述目的VM与所述指定用户的第二映射关系,包括:
    获取所述第一映射关系中源VM的标识和所述指定用户的用户标识的对应关系、以及目的VM标识;
    根据所述源VM的标识和所述指定用户的用户标识的对应关系,将所述目的VM标识和所述指定用户的用户标识对应起来,形成所述第二映射关系。
  3. 根据权利要求1所述的虚拟机迁移方法,其特征在于,所述方法还包括:
    获取所述源VM的标识和所述目的VM的标识;
    设置所述源VM和所述目的VM为挂起状态;
    根据获取到的所述源VM的标识和所述目的VM的标识,将所述源VM中的数据迁移到所述目的VM。
  4. 根据权利要求3所述的虚拟机迁移方法,其特征在于,所述根据获取到的所述源VM的标识和所述目的VM的标识,将所述将源VM中的数 据迁移到所述目的VM,包括:
    根据获取到的所述源VM的标识,拷贝所述源VM标识对应VM中的数据;
    传输已拷贝的所述源VM中的数据到所述目的VM标识对应的VM中。
  5. 根据权利要求1所述的虚拟机迁移方法,其特征在于,所述方法还包括:
    关闭已迁移的所述源VM。
  6. 一种虚拟机迁移装置,其特征在于,所述装置包括:
    第一获取模块,用于当源VM中的数据迁移到目的VM时,获取源云平台中预先存储的所述源VM与指定用户的第一映射关系;
    第一处理模块,用于根据获取到的所述源VM与所述指定用户的所述第一映射关系,配置所述目的VM与所述指定用户的第二映射关系;
    存储模块,用于将所述第二映射关系存储到目的云平台中。
  7. 根据权利要求6所述的虚拟机迁移装置,其特征在于,所述第一处理模块用于:
    获取所述第一映射关系中源VM的标识和所述指定用户的用户标识的对应关系、以及目的VM标识;
    根据所述源VM的标识和所述指定用户的用户标识的对应关系,将所述目的VM标识和所述指定用户的用户标识对应起来,形成所述第二映射关系。
  8. 根据权利要求6所述的虚拟机迁移装置,其特征在于,所述装置还包括:
    第二获取模块,用于获取所述源VM的标识和所述目的VM的标识;
    第二处理模块,用于设置所述源VM和所述目的VM为挂起状态;
    第三处理模块,用于根据获取到的所述源VM的标识和所述目的VM的标识,将所述将源VM中的数据迁移到所述目的VM。
  9. 根据权利要求8所述的虚拟机迁移装置,其特征在于,所述第三处理模块用于:
    根据获取到的所述源VM的标识,拷贝所述源VM标识对应VM中的数据;
    传输已拷贝的所述源VM中的数据到所述目的VM标识对应的VM中。
  10. 根据权利要求6所述的虚拟机迁移装置,其特征在于,所述装置还包括:
    回收模块,用于关闭已迁移的所述源VM。
  11. 一种虚拟机迁移装置,其特征在于,所述虚拟机迁移装置包括有存储器,处理器以及一个或者一个以上的程序,其中所述一个或者一个以上程序存储于所述存储器中,且经配置以由所述处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:
    当源VM中的数据迁移到目的VM时,获取源云平台中预先存储的所述源VM与指定用户的第一映射关系;
    根据获取到的所述源VM与所述指定用户的所述第一映射关系,配置所述目的VM与所述指定用户的第二映射关系;
    将所述第二映射关系存储到目的云平台中。
PCT/CN2015/083215 2014-09-04 2015-07-02 一种虚拟机迁移方法和装置 WO2016034015A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP15837577.4A EP3188008B1 (en) 2014-09-04 2015-07-02 Virtual machine migration method and device
US15/449,857 US10489183B2 (en) 2014-09-04 2017-03-03 Virtual machine migration method and apparatus
US16/672,222 US11422843B2 (en) 2014-09-04 2019-11-01 Virtual machine migration method and apparatus having automatic user registration at a destination virtual machine

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410448483.1 2014-09-04
CN201410448483.1A CN104239122B (zh) 2014-09-04 2014-09-04 一种虚拟机迁移方法和装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/449,857 Continuation US10489183B2 (en) 2014-09-04 2017-03-03 Virtual machine migration method and apparatus

Publications (1)

Publication Number Publication Date
WO2016034015A1 true WO2016034015A1 (zh) 2016-03-10

Family

ID=52227257

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/083215 WO2016034015A1 (zh) 2014-09-04 2015-07-02 一种虚拟机迁移方法和装置

Country Status (4)

Country Link
US (2) US10489183B2 (zh)
EP (1) EP3188008B1 (zh)
CN (1) CN104239122B (zh)
WO (1) WO2016034015A1 (zh)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239122B (zh) * 2014-09-04 2018-05-11 华为技术有限公司 一种虚拟机迁移方法和装置
CN105991687B (zh) * 2015-02-03 2019-09-17 阿里巴巴集团控股有限公司 一种服务管理方法和装置
CN107533478A (zh) * 2015-07-31 2018-01-02 慧与发展有限责任合伙企业 计算机系统的迁移
CN105530259B (zh) * 2015-12-22 2019-01-18 华为技术有限公司 报文过滤方法及设备
CN106970915A (zh) * 2016-01-13 2017-07-21 阿里巴巴集团控股有限公司 一种业务系统数据迁移的处理方法及装置
CN107526530B (zh) * 2016-06-21 2021-02-19 伊姆西Ip控股有限责任公司 数据处理方法和设备
CN107102890A (zh) * 2017-07-12 2017-08-29 郑州云海信息技术有限公司 一种虚拟机的迁移方法及迁移装置
CN107748675B (zh) * 2017-10-30 2021-04-06 新华三云计算技术有限公司 Vdi环境中的虚拟机登录切换方法和装置
CN110688194B (zh) * 2018-07-06 2023-03-17 中兴通讯股份有限公司 基于云桌面的磁盘管理方法、虚拟机及存储介质
CN113468136A (zh) * 2020-03-30 2021-10-01 北京金山云网络技术有限公司 云平台的升级方法、装置和服务器

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100257269A1 (en) * 2009-04-01 2010-10-07 Vmware, Inc. Method and System for Migrating Processes Between Virtual Machines
CN101876921A (zh) * 2009-04-29 2010-11-03 华为技术有限公司 一种虚拟机迁移决策方法、装置及系统
CN102571698A (zh) * 2010-12-17 2012-07-11 中国移动通信集团公司 一种虚拟机访问权限的控制方法、系统及装置
CN104239122A (zh) * 2014-09-04 2014-12-24 华为技术有限公司 一种虚拟机迁移方法和装置
CN104281484A (zh) * 2014-09-23 2015-01-14 华为技术有限公司 一种虚拟机迁移方法和装置

Family Cites Families (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070083917A1 (en) * 2005-10-07 2007-04-12 Peterson Matthew T Apparatus system and method for real-time migration of data related to authentication
US7865707B2 (en) * 2006-03-16 2011-01-04 International Business Machines Corporation Gathering configuration settings from a source system to apply to a target system
US8387038B2 (en) * 2006-08-14 2013-02-26 Caterpillar Inc. Method and system for automatic computer and user migration
US8234641B2 (en) * 2006-10-17 2012-07-31 Managelq, Inc. Compliance-based adaptations in managed virtual systems
JP5245869B2 (ja) * 2009-01-29 2013-07-24 富士通株式会社 情報処理装置、情報処理方法及びコンピュータプログラム
JP5190084B2 (ja) * 2010-03-30 2013-04-24 株式会社日立製作所 仮想マシンのマイグレーション方法およびシステム
US8984507B2 (en) * 2010-04-26 2015-03-17 International Business Machines Corporation Cross architecture virtual machine migration
US8775625B2 (en) * 2010-06-16 2014-07-08 Juniper Networks, Inc. Virtual machine mobility in data centers
US8812687B2 (en) * 2011-09-15 2014-08-19 Microsoft Corporation Managing user state of cloud desktops
US9461881B2 (en) * 2011-09-30 2016-10-04 Commvault Systems, Inc. Migration of existing computing systems to cloud computing sites or virtual machines
US9075811B2 (en) * 2011-09-30 2015-07-07 Symantec Corporation Cloud information migration systems and methods
CN102567075B (zh) * 2011-12-05 2015-01-21 中标软件有限公司 一种云计算环境中虚拟机上下文设置方法
US20130219043A1 (en) * 2012-02-20 2013-08-22 Moritz M. Steiner Method and apparatus for automatic migration of application service
JP5684170B2 (ja) * 2012-02-28 2015-03-11 株式会社東芝 情報処理装置、クライアント管理システムおよびクライアント管理方法
US10338940B2 (en) * 2012-06-27 2019-07-02 International Business Machines Corporation Adjusting adminstrative access based on workload migration
EP2687982A1 (en) * 2012-07-16 2014-01-22 NTT DoCoMo, Inc. Hierarchical system for managing a plurality of virtual machines, method and computer program
US20140040889A1 (en) * 2012-08-03 2014-02-06 International Business Machines Corporation Facilitating Customer-Initiated Virtual Machine Migration and Swapping
CN102821158B (zh) * 2012-08-20 2015-09-30 广州杰赛科技股份有限公司 一种实现虚拟机迁移的方法和云系统
US9692632B2 (en) * 2012-11-29 2017-06-27 International Business Machines Corporation Migration to managed clouds
WO2014118961A1 (ja) * 2013-01-31 2014-08-07 富士通株式会社 仮想計算機管理プログラム,仮想計算機管理方法及び仮想計算機システム
US9477506B2 (en) * 2013-02-12 2016-10-25 Futurewei Technologies, Inc. Dynamic virtual machines migration over information centric networks
US9069608B2 (en) * 2013-03-06 2015-06-30 Vmware, Inc. Method and system for providing a roaming remote desktop
CN103399778B (zh) * 2013-07-01 2016-12-28 华为技术有限公司 一种虚拟机在线整体迁移方法和设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100257269A1 (en) * 2009-04-01 2010-10-07 Vmware, Inc. Method and System for Migrating Processes Between Virtual Machines
CN101876921A (zh) * 2009-04-29 2010-11-03 华为技术有限公司 一种虚拟机迁移决策方法、装置及系统
CN102571698A (zh) * 2010-12-17 2012-07-11 中国移动通信集团公司 一种虚拟机访问权限的控制方法、系统及装置
CN104239122A (zh) * 2014-09-04 2014-12-24 华为技术有限公司 一种虚拟机迁移方法和装置
CN104281484A (zh) * 2014-09-23 2015-01-14 华为技术有限公司 一种虚拟机迁移方法和装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3188008A4 *

Also Published As

Publication number Publication date
EP3188008B1 (en) 2020-09-02
US20200065133A1 (en) 2020-02-27
EP3188008A1 (en) 2017-07-05
EP3188008A4 (en) 2017-08-23
US20170177400A1 (en) 2017-06-22
US10489183B2 (en) 2019-11-26
CN104239122B (zh) 2018-05-11
US11422843B2 (en) 2022-08-23
CN104239122A (zh) 2014-12-24

Similar Documents

Publication Publication Date Title
WO2016034015A1 (zh) 一种虚拟机迁移方法和装置
EP2965200B1 (en) Method and system for providing a roaming remote desktop
US10951625B2 (en) Cross-application identity and access management
US9218176B1 (en) Software deployment in a distributed virtual machine environment
US9323820B1 (en) Virtual datacenter redundancy
EP3588296A1 (en) Dynamically scaled hyperconverged system
KR101602519B1 (ko) 가상화된 저장소 할당 방법
US20150205542A1 (en) Virtual machine migration in shared storage environment
WO2015043147A1 (zh) 一种虚拟机内存数据的迁移方法及相关装置和集群系统
CN113196237A (zh) 计算系统中的容器迁移
US11740936B2 (en) Method and system for managing cloud resources
US20170060715A1 (en) Dynamic mechanism for fault injection for testing distributed systems
US20140156851A1 (en) Server facility, method for providing copying service for system of server facility, and copying program for system of sever facility
US10042657B1 (en) Provisioning virtual applciations from virtual application templates
US10691479B2 (en) Virtual machine placement based on device profiles
US10592133B1 (en) Managing raw device mapping during disaster recovery
US10664364B2 (en) Transferring a server configuration parameter along with a workload
US11829792B1 (en) In-place live migration of compute instances for efficient host domain patching
US10193767B1 (en) Multiple available witnesses
US11055115B1 (en) Virtual machine conversion in distributed system of remote desktops
US10516528B2 (en) System and method for managing secret information using virtualization
US9529548B1 (en) Array-based replication in data storage systems
US10776148B1 (en) System and method for utilizing computational power of a server farm
Tong et al. Analysis of a secure virtual desktop infrastructure system
US11223537B1 (en) Executing custom scripts from the host during disaster recovery

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15837577

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2015837577

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2015837577

Country of ref document: EP