CN101819545A - Method for realizing platform migration by using virtualization technology - Google Patents

Method for realizing platform migration by using virtualization technology Download PDF

Info

Publication number
CN101819545A
CN101819545A CN 201010142909 CN201010142909A CN101819545A CN 101819545 A CN101819545 A CN 101819545A CN 201010142909 CN201010142909 CN 201010142909 CN 201010142909 A CN201010142909 A CN 201010142909A CN 101819545 A CN101819545 A CN 101819545A
Authority
CN
China
Prior art keywords
migration
source
virtualization
backup
platform
Prior art date
Application number
CN 201010142909
Other languages
Chinese (zh)
Other versions
CN101819545B (en
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 CN 201010142909 priority Critical patent/CN101819545B/en
Publication of CN101819545A publication Critical patent/CN101819545A/en
Application granted granted Critical
Publication of CN101819545B publication Critical patent/CN101819545B/en

Links

Abstract

The invention discloses a method for realizing platform migration by using virtualization technology. The method comprises the following steps of: building a virtualization platform on a source server, configuring a source memory device and establishing mapping relationship between the original memory device and the source server to form a source virtualization platform; determining whether the migration is online migration or offline migration, if the migration is the online migration, stopping trunking services and normally operating application on a single source virtual machine so as to ensure the non-interruption of the services; deploying virtualization backup software on a backup server to form a virtualization backup tool; backing up a mapping file of the source virtual machine by using the virtualization backup tool; building, deploying and storing a target virtualization platform; recovering the mapping file to the target virtualization platform; and starting the application on the target virtualization platform and stopping the application on the source virtualization platform at the same time so as to realize the cross-hardware platform online migration of the application. In the method, as the online backup function of the virtualization backup tool is utilized, so that all the services operated in a trunking environment are not interrupted.

Description

一种利用虚拟化技术实现平台迁移的方法 A method of utilizing virtualization technology platform migration

技术领域 FIELD

[0001] 本发明涉及一种利用虚拟化技术实现平台迁移的方法,具体是一种在不同硬件平台上迁移应用的方法,是一种利用虚拟化备份功能对已经部署了群集环境的虚拟化平台实施在线迁移的方法。 [0001] The present invention relates to a method of using a virtualization technology platform to achieve migration, migration of a particular application on different hardware platforms, virtualization is a backup function has been deployed in a clustered environment virtualization platform implementation methods online migration.

背景技术 Background technique

[0002] 随着虚拟化技术的快速发展,越来越多的企业在生产环境中部署了虚拟化应用。 [0002] With the rapid development of virtualization technology, more and more businesses are deploying virtualized applications in a production environment. 虚拟化技术通过对服务器的整合提高资源利用率,多对一的整合方式使企业对应用的安全性提出了更高挑战,因此很多企业会通过在虚拟化平台上部署传统的群集软件(如微软的MSCS)来保护企业的关键应用。 Through the integration of virtualization technology to improve server resource utilization, many-way integration to enable enterprises to the security of the application of a higher challenge, many companies will be deployed through traditional cluster software on virtualization platforms (such as Microsoft the MSCS) to protect critical enterprise applications. 硬件技术的发展速度正在以几何基数增长,新的服务器可以提供几倍于原有服务器的运行速度;原有服务器、存储等硬件设备在几年的持续运行后故障率与时间成正比关系,这些都是企业把应用从原有硬件平台迁移到新平台的重要原因。 The pace of development of hardware technology is to grow exponentially, the new server can provide several times the speed of the original server; the original server, storage and other hardware equipment failure rate is proportional to the time after several years of continuous operation, these all enterprises to migrate applications from legacy hardware platform to an important reason for the new platform. 对于非关键应用,即企业没有部署群集环境的应用,可以用虚拟化的存储迁移工具把应用从原有服务器迁移至新的服务器上;而对于关键应用,即部署在群集(如微软的MSCS)环境中的应用,企业往往不允许在迁移过程中出现业务中断,这就对整个迁移过程提出了挑战。 For non-critical applications, enterprise application cluster environment that is not deployed, the application can use virtualized storage migration tools to migrate from the original server to the new server; and for critical applications, is deployed in a cluster (such as Microsoft MSCS) application environment, companies often allowed business interruption during the migration process, which the entire migration process presents a challenge. 在虚拟化系统架构中对部署了群集环境的关键应用进行硬件平台迁移有两个条件:一是由于应用的关键性,必须保持业务持续运行;二是实现跨硬件平台的迁移,即新的硬件平台跟原有硬件平台不在同一个虚拟化架构下。 In a virtualized system architecture for the deployment of critical applications in a clustered environment of hardware platform migration have two conditions: First, due to the application of the key, must be kept business running; the second is to achieve migration across hardware platforms, that new hardware platform with existing hardware platform is not under the same virtual architecture. 要实现上述条件,目前传统的备份方式无法实现跨硬件平台的迁移,原因在于:一,通过备份软件:传统备份软件是通过在虚拟机上安装一个备份代理,然后通过代理备份虚拟机里面的数据,但是不能备份整个系统镜像,而仅仅备份数据到新硬件平台的方式是无法实现平台迁移的;二,通过虚拟化迁移工具:由于虚拟化迁移工具使用的前提是目标服务器和源服务器必须是共享存储,而新的硬件平台所用的是新的存储设备,无法通过虚拟化迁移工具实现。 To achieve the above conditions, the current traditional backup methods can not achieve migration across hardware platforms, because: First, by backup software: Traditional backup software is a backup agent installed on the virtual machine, and then the data through a proxy backup of virtual machines inside , but you can not back up the entire system image, but only back up data to a new hardware platform is impossible to achieve platform migration; Second, through virtualization migration tools: Since premise virtualization migration tool uses the target and source servers must be shared storage, and the new hardware platform used is a new storage device, can not be achieved through virtualization migration tool. 因此需要一种方法,既能保持虚拟机上的应用对外不中断,又能将虚拟架构中的应用迁移到新的硬件平台上。 A method is needed, both to keep the application on a virtual machine outside without interruption, but also to move applications to the virtual infrastructure of the new hardware platform.

发明内容 SUMMARY

[0003] 为了克服上述现有技术存在的缺点,本发明的目的在于提供一种利用虚拟化技术实现平台迁移的方法,它实现了从源服务器群集环境里的虚拟化平台迁移到目的服务器的虚拟化平台的同时,保持应用对外的服务不中断。 [0003] In order to overcome the above disadvantages of the prior art, an object of the present invention is to provide a method of using a virtualization technology platform to achieve migration, which implements migrated from the source server cluster environment virtualization server platform to the destination virtual platform while maintaining the external application of uninterrupted service.

[0004] 本发明的技术方案是:一种利用虚拟化技术实现平台迁移的方法,所述的方法包括: [0004] aspect of the present invention is: A method of using a virtualization technology platform to achieve migration, said method comprising:

[0005] A)源虚拟化平台群集应用形成的过程,该过程包括: [0005] A) a source application virtualization platform cluster formation process, the process comprising:

[0006] 用于在源服务器上搭建虚拟化平台的步骤; [0006] Step a virtualization platform built on the source server;

[0007] 用于配置源存储设备并与源服务器通信的步骤; [0007] The configuration for source storage device and the step of communicating with the source server;

[0008] 用于在源虚拟化架构下部署应用的步骤; [0008] The steps for deployment of the application at the source virtualization architecture;

[0009] 用于为源服务器上的虚拟机部署群集环境的步骤;[0010] B)确认迁移类别的过程,该过程包括: [0009] step for deploying a cluster environment, the virtual machines on the source server; [0010] B) confirm the migration process category, the process comprising:

[0011] 用于确认是在线迁移还是离线迁移的步骤; [0011] Migration step for confirming online or offline migration;

[0012] 如果是在线迁移,则进入“停止群集服务,应用在单独的源虚拟机上正常运行”的步骤; [0012] If an online migration, steps "to stop the cluster service applications in separate virtual machines running source" to enter;

[0013] 如果是离线迁移,则进入“利用虚拟化存储迁移工具把源存储设备的所有数据迁移至目的存储设备”的步骤; [0013] If the migration is offline, then step "virtual storage using all the data migration tool source storage device to the migration destination storage device" entry;

[0014] C)应用在目的服务器的虚拟化平台上启用的过程,该过程包括: [0014] C process applications enabled on the destination server virtualization platform), the process comprising:

[0015] 用于停止群集服务,应用在单独的源虚拟机上正常运行的步骤; [0015] to stop the cluster service, a separate step in the source virtual machine running an application;

[0016] 用于在备份服务器上部署虚拟化备份软件形成虚拟化备份工具的步骤; Step [0016] for deployment on the backup server backup software virtualization virtual backup tools formed;

[0017] 用于备份出源虚拟机映像文件的步骤; [0017] a step for backup source virtual machine image file;

[0018] 用于搭建目的虚拟化平台并部署存储的步骤; [0018] The virtualization platform for building purposes and the step of deployment of storage;

[0019] 用于恢复映像文件到目的虚拟化平台的步骤; [0019] step for restoring the image file to the purpose of virtualization platforms;

[0020] 用于在目的虚拟化平台启用应用,同时在源虚拟化平台停止应用的步骤。 [0020] The purpose of the application used to enable virtualization platform, step in and stop the source of application virtualization platform.

[0021] 作为本发明的进一步的技术方案:上述在线迁移通过以下步骤实现: [0021] As a further aspect of the present invention: The above online migration achieved by the following steps:

[0022] 找出上述源服务器的群集环境中运行群集应用的所有源虚拟机; [0022] to identify a cluster environment above the source server cluster running all the source virtual machine applications;

[0023] 确定目前正在对外提供应用服务的源虚拟机; [0023] determined to provide application services currently outside source virtual machine;

[0024] 停止其他没提供应用服务的源虚拟机的群集服务,保持应用在单独的源虚拟机上运行; [0024] did not stop other applications to provide services source virtual machine cluster service, keep the application running on a separate source virtual machine;

[0025] 采用虚拟化备份工具实施在线迁移。 [0025] virtualization backup tool for implementing live migration.

[0026] 更进一步的技术方案: [0026] A further aspect:

[0027] 该方法中,所述的采用虚拟化备份工具实施迁移包括以下步骤: [0027] In this method, the virtual backup tools embodiment of migration comprises the following steps:

[0028] 选择待迁移的源存储设备; [0028] Select the source storage apparatus to be migrated;

[0029] 选择目的存储设备来存储待迁移的数据; [0029] Select the object storage device to store data to be migrated;

[0030] 编辑迁移后的目的虚拟机的各项设置; [0030] The purpose migrated to edit the settings of the virtual machine;

[0031] 将目的存储设备设置为激活状态。 [0031] The object of the set to an active state storage device.

[0032] 该方法中,所述的备份出源虚拟机映像文件的步骤,包括以下小步骤: [0032] In this method, the source of the backup file of the virtual machine image step comprising the small steps of:

[0033] 确认采用虚拟化备份工具; [0033] confirmed using virtual backup tools;

[0034] 选择需要备份的源虚拟机映像文件; [0034] Select the backup source virtual machine image file;

[0035] 为所述的虚拟化备份工具制定备份策略; [0035] develop a backup policy for the virtualization backup tools;

[0036] 选择映像文件的恢复目标。 [0036] recovery target selected image file.

[0037] 该方法中,上述B)确认迁移类别的过程中,通过预先设置应用对业务连续性的要求级别,然后根据该要求级别划分迁移类别为在线迁移和离线迁移。 [0037] In this method, the above-described B) validation process migration class, by presetting the application level requirements of business continuity, and online and offline migration The migration of the migration division requirement level category.

[0038] 本发明的有益效果是:本发明由于使用了虚拟化备份功能,不需要在每个虚拟机上都部署代理,只需在单独的备份服务器上部署虚拟化备份软件,因此在性能和备份成本方面都有明显的优势。 [0038] Advantageous effects of the present invention are: the present invention, since a virtual backup function, no agents are deployed on each virtual machine, virtualization simply deploy backup software backup on a separate server, and thus the performance backup costs have obvious advantages. 当应用在硬件平台迁移的过程中,首先停止群集服务,保持应用在单独的虚拟机上运行,从而保障了业务不中断;其次通过虚拟化的备份工具对整个源存储设备作在线的映像级备份,然后把备份出的映像文件恢复到目的虚拟化平台下,从而实现了应用从源平台到目的平台的迁移。 When used in the process of hardware platform migration, first stop the cluster service, keep the application running on a separate virtual machine, in order to protect the business without interruption; followed by backup tools virtualization for online image-level backup of the entire source storage device and then restore the backup image file to the destination under virtualization platform, enabling application migration platform from source to destination platform. 附图说明 BRIEF DESCRIPTION

[0039] 下面结合附图和实施例对本发明做进一步的描述: Drawings and embodiments of the present invention will be further described [0039] below with:

[0040] 图1是本发明实施例的流程示意图, [0040] FIG. 1 is a flow diagram of an embodiment of the present invention,

[0041] 图2是图1中所述在线迁移的具体步骤流程, [0041] FIG 2 is a specific step of the migration flow line 1,

[0042] 图3是图1中所述离线迁移的具体步骤流程, [0042] FIG. 3 is offline migration in the particular process steps of FIG. 1,

[0043] 图4是图2中采用虚拟化备份工具实施迁移包括以下步骤 [0043] FIG 2 FIG 4 is the virtual backup tools embodiment of migration comprises the steps of

[0044] 图5是图1中备份出源虚拟机映像文件的步骤流程图。 [0044] FIG 5 is a step in FIG. 1 the backup source virtual machine image file. FIG.

具体实施方式 Detailed ways

[0045] 要实现应用在硬件平台上的迁移,有两种方法:离线迁移和在线迁移。 [0045] To achieve the migration application on the hardware platform, there are two methods: migration of offline and online migration.

[0046] 如果是离线迁移,那方法相对来说比较简单,可以通过以下方法实现:首先把源服务器上的所有虚拟机关机,然后关闭服务器,停止所有虚拟机上的业务运行。 [0046] If it is an offline migration, and that method is relatively simple and can be achieved in the following ways: first of all the virtual machine on the source server machine, then shut down the server, stop all services running on virtual machines. 然后在目标服务器上搭建与源服务器相同的虚拟化平台,并与源存储设备及目标存储设备做好映射关系,然后把虚拟化的存储迁移工具安装在目标虚拟化平台的虚拟机上,利用虚拟化存储迁移工具将源存储设备上的所有数据迁移至目标存储设备。 Then set up on the target server is the same as the source server virtualization platform, and make a mapping between the source and target storage device and storage device, then the virtualized storage migration tool is installed on a virtual machine target virtualization platform, the use of virtual storage of all data migration tool on the source storage device migrated to the target storage device. 最后启动目标虚拟机的应用即可实现离线迁移。 Finally, the application can start the target virtual machine offline migration.

[0047] 如果是在线迁移,因为部署了群集应用,有以下几点限制:①虚拟化平台上的群集应用禁止在线对群集中的虚拟机成员做虚拟机迁移或者存储迁移,这就决定了用于冷迁移的存储迁移方式无法实现;②运行在群集环境中的虚拟化平台上的应用,群集中的虚拟机成员是共享磁盘的方式,禁止对其共享磁盘做基于快照的操作,因此通过存储设备之间的同步功能亦无法实现。 [0047] If an online migration, because the deployment of clustered applications, has the following limitations: ① cluster application virtualization platform on the prohibition of online virtual machine in the cluster members do migrate virtual machines or storage migration, which determines the use in cold storage migration patterns of migration can not be achieved; ② run applications on virtualization platforms in a clustered environment, the cluster members are shared virtual machine disk the way, prohibited from doing its share disk snapshot-based operations, so by storing synchronization between devices also can not be achieved. ③要实现在线迁移平台就必须能够备份整个系统映像,而不是仅仅备份系统中的数据,传统的备份工具只能通过在每个虚拟机上安装代理的方式备份系统中的数据,因此传统备份方式也无法实现。 ③ to achieve online migration platform must be able to back up the entire system image, rather than just data backup systems, the traditional data backup tools can only back up the system to install the agent on each virtual machine by, traditional backup methods It can not be achieved.

[0048] 本发明所述方法的基本思路是:在源服务器上搭建虚拟化(如Vmware的ESX Server)平台,做好源存储设备的划分并与源服务器建立映射关系,形成一个虚拟化基础架构平台。 [0048] The basic idea of ​​the method of the present invention is: building virtual source server (e.g., the Vmware ESX Server) platform, divided into the source storage device to do mapping relationship between the source and the server, forming a virtual infrastructure platform. 在虚拟化平台上安装操作系统(如Windows SerVer2003)和应用,为了保证关键业务的服务不中断,在虚拟架构下的其中几台虚拟机上部署群集环境(如MSCS)来保证关键应用的运行。 Install the operating system (such as Windows SerVer2003) and applications on a virtual platform, in order to ensure service critical business without interruption, which run in a virtual infrastructure deployment in a clustered environment (such as MSCS) on several virtual machines to ensure that critical applications. 本实施例是一种可以把运行在群集环境下的应用迁移至新的硬件平台的方法。 This embodiment is an application can run in a clustered environment migrated to the new hardware platform method. 在虚拟架构下,整个虚拟机的操作系统、应用、数据及其配置文件都是封装在一个文件内并存放在存储设备中。 In a virtual infrastructure, the entire virtual machine operating system, applications, and data files are encapsulated in a configuration file and stored in a storage device. 借助虚拟架构的这种文件特性,虚拟化备份工具可以通过备份虚拟机的映像文件实现对整个虚拟机的备份,这也是本方法实现的重要条件。 This document characteristics by means of a virtual infrastructure, virtualization backup tools can implement a backup of the entire virtual machine image files by backing up virtual machines, and this is an important condition for realization of this method.

[0049] 本发明实现群集应用的在线迁移分以下几步:首先通过手动配置停止群集中的每个节点的群集服务,这样原来部署了群集环境的应用只是保持在其中一个节点运行,这样既可以保持业务不中断,又解除了群集环境下禁止对虚拟机和存储做迁移和快照的限制; 然后将虚拟化的备份工具安装在一台PC服务器或者台式机上,并使其与源服务器和目标服务器能够互相通信,使用虚拟化备份工具将单独运行应用的节点以映像的方式备份出来,这样就相当于备份了此节点的系统、应用,数据和配置文件。 [0049] The present invention enables online migration of clustered applications divided into the following steps: First, the Cluster service by manual configuration of each node in the cluster to stop, so that the original application deployed in a clustered environment is just one of the nodes to keep running, so either keeping services are not interrupted, but lifted the restrictions against doing migration and snapshot of virtual machines and storage under the cluster environment; then virtualization backup tools installed on a PC server or desktop, and make the source and destination servers able to communicate with each other using the virtual backup tool runs alone node image back out in a manner, so that this node corresponds to the backup system, applications, data and configuration files. 最后将备份出的映像文件恢复到目的虚拟化平台上,启动目的服务器上的虚拟机应用同时关闭源服务器上的应用, 这样就实现了应用跨硬件平台的在线迁移。 Finally, restore the backup image file to the destination virtualization platform, start the virtual machine on the destination server application while closing the application on the source server, so that you achieve an online application migration across hardware platforms. [0050] 该利用虚拟化技术实现平台迁移的方法所使用的硬件包括:服务器,存储设备。 [0050] The use of virtualization technology platform migration methods used hardware comprising: a server, a storage device. 本实施例所采用的服务器是基于X86架构的PC服务器,存储设备可以是ISCSI,NAS或者FC 存储。 Server embodiment of the present embodiment is used in PC servers based on X86 architecture, it may be a storage device ISCSI, NAS or FC storage. 虚拟化架构可以是类似Vmware的虚拟架构平台,群集环境可以是类似微软的MSCS 的群集环境。 Virtualization architecture may be similar to Vmware virtual infrastructure platform, the cluster environment may be similar to the Microsoft MSCS cluster environment.

[0051] 如图1所示,本实施例所述利用虚拟化技术实现平台迁移的方法包括三个过程: 源虚拟化平台群集应用形成的过程;确认迁移类别的过程;应用在目的服务器的虚拟化平台上启用的过程。 [0051] 1, using the method of the present embodiment, the virtualization technology platform migration comprises three processes: Process source virtualization platform clustering application form; confirm the migration process categories; the application server in the destination virtual Enabling the platform process. 具体通过以下步骤实现: DETAILED achieved by the following steps:

[0052] 一、源虚拟化平台群集应用形成的过程: [0052] First, the virtual source formed by the process of clustering application platform:

[0053] 步骤101 :在源服务器上搭建虚拟化平台。 [0053] Step 101: the virtualization platform to build on the source server. 该步骤在X86架构的PC服务器上安装类似Vmware的ESX Server的虚拟化软件,并在其上安装类似WINDOWS SERVER 2003的操作系统。 This step is similar to installing virtualization software Vmware ESX Server on the X86 architecture of PC servers, and install similar WINDOWS SERVER 2003 operating system on it.

[0054] 步骤102 :配置源存储设备并与源服务器通信。 [0054] Step 102: the source storage device and configured to communicate with the source server. 该步骤包括对存储中的硬盘做RAID划分,LUN的划分,以及配置存储与服务器的映射关系。 This step involves the storage of a hard disk partitioning to do RAID, LUN division, and the mapping between configuration storage server.

[0055] 步骤103 :在源虚拟化架构下部署应用。 [0055] Step 103: the deployment of applications in the source virtualization architecture. 该步骤是在虚拟机的操作系统上部署支持集群环境的应用,比如数据库应用。 This step is to deploy the application support for cluster environments on the operating system of the virtual machine, such as database applications.

[0056] 步骤104 :为源服务器上的虚拟机部署群集环境。 [0056] Step 104: deploying a cluster environment virtual machines on the source server. 该步骤将在已经部署了应用的虚拟化平台上搭建类似MSCS的群集环境,从而保证了群集环境中业务的高可用性。 This step will set up similar MSCS has deployed virtualization platform on the application of a clustered environment, thus ensuring the business environment in a cluster of high availability.

[0057] 二、确认迁移类别的过程: [0057] Second, confirm the migration process categories:

[0058] 步骤105 :确认迁移类别是在线迁移还是离线迁移。 [0058] Step 105: confirm the migration categories are migrating online or offline migration.

[0059] 划分迁移类别,首先设置应用对业务连续性的要求级别;根据要求级别划分迁移类别为在线迁移和离线迁移。 [0059] division migration category, first set the level of application requirements for business continuity; migration category is divided according to the level required for the online migration and offline migration. 根据客户需求,若对应用的业务连续性要求非常高,在迁移过程中不允许业务中断,则选择在线迁移的方式;若允许在迁移过程中暂时中断业务运行,则选择离线迁移的方式。 According to customer demand, if the application of business continuity requirements are very high, do not allow business interruption during the migration process, you choose the way online migration; if permitting temporary service interruption during the migration, offline migration mode is selected.

[0060] 如果是离线迁移,则进入步骤106 :利用虚拟化存储迁移工具把存储设备的所有数据迁移至目的存储设备。 [0060] If the migration is offline, the process proceeds to step 106: The migration tool storage virtualization storage device all data migrated to the destination storage device. 只要在目的服务器上部署虚拟化平台,并配置好目的服务器与目的存储设备的映射关系,就可以使应用在新的硬件平台的启用,从而实现迁移的目的。 As long as the deployment of virtualization platform on the destination server, and configure the mapping between good aim and purpose server storage device, you can enable the purpose of the application in a new hardware platform, enabling migration.

[0061] 如果是在线迁移,则进入步骤108 :停止群集服务,应用在单独虚拟机上正常运行。 [0061] If an online migration, the process proceeds to step 108: Stop the cluster service applications on a separate virtual machine running.

[0062] 三、应用在目的服务器的虚拟化平台上启用的过程: [0062] Third, the application is enabled on the destination server virtualization platform process:

[0063] 步骤108 :停止群集服务,应用在单独虚拟机上正常运行。 [0063] Step 108: Stop the cluster service, an application running on a separate virtual machine properly. 该步骤通过手动配置停止运行在群集环境中的源虚拟机的群集服务,仅留群集中的一台源虚拟机运行原来的应用,既能使应用脱离了群集环境,保证虚拟化备份的进行,又同时保持了业务不中断。 This step manually configure the Cluster service stops running source virtual machine in a clustered environment, leaving only a cluster of a source virtual machine running the original application, both the application out of the cluster environment, ensure virtualization for backup, and while maintaining uninterrupted service.

[0064] 步骤109 :在备份服务器上部署虚拟化备份软件形成虚拟化备份工具。 [0064] Step 109: the deployment of backup software virtualization virtual backup tool is formed on the backup server. 该步骤在一台X86架构的服务器或者台式机上安装虚拟化的备份软件,并配置好备份策略和备份环境,使之与源服务器和目的服务器都能够连通。 The steps to install the X86 architecture on a single server or desktop virtualization, backup software, and configure backup strategies and backup environment, so that the source and destination servers are able to communicate.

[0065] 步骤110 :备份出源虚拟机映像文件。 [0065] Step 110: the backup source virtual machine image file. 该步骤通过备份服务器对已经停止群集服务的源虚拟机进行映像级的备份,备份的映像文件放在本地存储设备上,以便下一步恢复到目的存储设备上。 This step is carried out by the backup server to the cluster service has stopped source virtual machine image level backup, the backup image file on the local storage device to the next step to restore to the destination storage device.

[0066] 步骤111 :搭建目的虚拟化平台并部署存储。 [0066] Step 111: set up and deployment destination virtual storage platform. 该步骤要求在目的服务器上搭建的虚拟化平台与源服务器上的虚拟化平台相同,以保证业务在目的服务器上能正常启动,但并不要求硬件配置的一致性,只要是X86架构的PC服务器即可。 This step is required to build on the destination server virtualization platform and virtualization platforms on the same source server to ensure that normal business can be started on the destination server, but does not require agreement with the hardware configuration, as long as X86-based PC servers It can be. 目的存储设备也没有与源存储设备的一致性要求,只要能与目的服务器配置好映射关系并能正常使用即可。 The purpose storage device with no consistency requires that the source storage device, as long as the server can be configured with the purpose of mapping relationships and can be used normally can.

[0067] 步骤112 :恢复映像文件到目的虚拟化平台。 [0067] Step 112: Restore the image file to the destination virtualization platform. 该步骤把备份服务器与目的服务器相连接,利用备份服务器上的虚拟化备份工具把备份服务器所备份的源服务器上虚拟机的映像文件恢复到目的存储设备上,从而使源存储设备的数据迁移至新的存储设备。 The step of the backup server and the destination server is connected, using virtual backup tools on the backup server to restore the source server backup server backup virtual machine image file to the destination storage device, so that the data source storage device to migrate to the new storage device.

[0068] 步骤113 :在目的虚拟化平台启用应用,同时在源虚拟化平台停止应用。 [0068] Step 113: Enable the purpose of application virtualization platform at the same time stop the application in source virtualization platform. 该步骤通过启动目的服务器上的虚拟机使应用在新的硬件平台上运行,同时关闭源服务器上应用的运行,从而最终实现了应用在不同硬件平台的迁移。 This step by the virtual machine on the destination server to start the application on a new hardware platform running, while closing the application running on the source server, and ultimately to achieve the migration of applications on different hardware platforms.

[0069] 如图2所示,上述在线迁移的通过以下具体步骤实现: [0069] As shown in FIG 2, the live migration is achieved by the following specific steps:

[0070] 步骤201 :找出群集环境中运行群集应用的所有源虚拟机; [0070] Step 201: find all the source virtual machine runs in a clustered environment clustered application;

[0071] 步骤202 :确定目前正在对外提供应用服务的源虚拟机; [0071] Step 202: Determine application services currently provide external source virtual machine;

[0072] 步骤203 :停止其他源虚拟机的群集服务,保持应用在单独的源虚拟机运行; [0072] Step 203: Stop other source virtual machine cluster service, held in a separate source application running virtual machine;

[0073] 步骤204 :确认采用虚拟化备份工具迁移。 [0073] Step 204: Confirm virtualization backup tools to migrate.

[0074] 如图3所示,上述离线迁移的具体细化步骤包括: [0074] As shown in FIG. 3, the above-described specific and detailed offline migration comprising the step of:

[0075] 步骤301 :分别关闭每台源虚拟机,使其上的应用停止对外服务; [0075] Step 301: source are shut down each virtual machine on its application to stop foreign service;

[0076] 步骤302 :确认采用虚拟化存储迁移工具的方式; [0076] Step 302: Check the virtual storage migration tool embodiment;

[0077] 步骤303 :在单独的服务器或者台式机上安装虚拟化存储迁移工具; [0077] Step 303: the virtual storage migration tool mounted on a separate server or desktop computer;

[0078] 步骤304 :配置备份服务器与源虚拟化平台和目的虚拟化平台的通信。 [0078] Step 304: the backup server configuration with the source and destination virtual communications platform virtualization platform.

[0079] 如图4所示,上述采用虚拟化备份工具实施迁移包括以下步骤: [0079] As shown, the above-described embodiment virtualization backup tools 4 migration comprising the steps of:

[0080] 步骤401 :选择待迁移的源存储设备; [0080] Step 401: Select the source storage apparatus to be migrated;

[0081] 步骤402 :选择目的存储设备来存储待迁移的数据; [0081] Step 402: Select the object storage device to store data to be migrated;

[0082] 步骤403 :编辑迁移后的目的虚拟机的各项设置; [0082] Step 403: the purpose of the migrated virtual machine settings editor;

[0083] 步骤404 :将新的目的存储设备设置为激活状态。 [0083] Step 404: The new object is set to the active state storage device.

[0084] 如图5所示,上述备份出源虚拟机映像文件通过以下步骤实现: [0084] 5, the said backup source virtual machine image file accomplished by the following steps:

[0085] 步骤501 :确认采用虚拟化备份工具; [0085] Step 501: Confirm virtualization backup tools;

[0086] 步骤502 :选择需要备份的源虚拟机映像文件; [0086] Step 502: Select the source virtual machine image file to be backed up;

[0087] 步骤503 :为虚拟化备份工具制定备份策略; [0087] Step 503: the virtualization backup tools to develop a backup strategy;

[0088] 步骤504 :选择映像文件的恢复目标。 [0088] Step 504: Select the restore destination image file.

Claims (5)

  1. 一种利用虚拟化技术实现平台迁移的方法,其特征是,所述的方法包括:A)源虚拟化平台群集应用形成的过程,该过程包括:用于在源服务器上搭建虚拟化平台的步骤;用于配置源存储设备并与源服务器通信的步骤;用于在源虚拟化架构下部署应用的步骤;用于为源服务器上的虚拟机部署群集环境的步骤;B)确认迁移类别的过程,该过程包括:用于确认是在线迁移还是离线迁移的步骤;如果是在线迁移,则进入“停止群集服务,应用在单独的源虚拟机上正常运行”的步骤;如果是离线迁移,则进入“利用虚拟化存储迁移工具把源存储设备的所有数据迁移至目的存储设备”的步骤;C)应用在目的服务器的虚拟化平台上启用的过程,该过程包括:用于停止群集服务,应用在单独的源虚拟机上正常运行的步骤;用于在备份服务器上部署虚拟化备份软件形成 The method of utilizing virtualization technology platform to achieve migration, wherein, said method comprising: A) a source virtual cluster platform application process is formed, the process comprising the steps of: build a virtualization platform on the source server for ; process B) confirm the migration category; for configuring a source storage device and the step of communicating with the source server; step application deployment in the source virtualization architecture; means for the steps of the virtual machine on the source server cluster environment deploying the process includes: a step for confirming the migration is online or offline migration; if it is online migration steps "to stop the cluster service, the application runs properly on a separate source virtual machine" is entered; if it is offline migration, then enter step "With virtualized storage migration tools to all of the data migration source storage device to the destination storage device"; C) application on the destination server virtualization platform to enable the process, the process comprising: means for stopping the cluster service, application a separate source virtual machine normal operation step; for deploying virtualization software on the backup server backup formed 拟化备份工具的步骤;用于备份出源虚拟机映像文件的步骤;用于搭建目的虚拟化平台并部署存储的步骤;用于恢复映像文件到目的虚拟化平台的步骤;用于在目的虚拟化平台启用应用,同时在源虚拟化平台停止应用的步骤。 A step of backup tools intended; step a backup source for a virtual machine image file; step destination virtual platform for building and deploying stores; step for restoring the image file to a destination virtual platform; means for the purposes of virtual platform-enabled application, the application step in and stop source virtualization platform.
  2. 2.根据权利要求1所述的一种利用虚拟化技术实现平台迁移的方法,其特征是:上述在线迁移通过以下步骤实现:找出上述源服务器的群集环境中运行群集应用的所有源虚拟机; 确定目前正在对外提供应用服务的源虚拟机;停止其他没提供应用服务的源虚拟机的群集服务,保持应用在单独的源虚拟机上运行;采用虚拟化备份工具实施在线迁移。 The claim 1 utilizing virtualization technology platform migration implemented method, as claimed in claim wherein: migrate through the above-described line-implemented steps: to find all the source virtual machine cluster environment said source server running a cluster application ; determining application services are being provided outside source virtual machine; stop other apps did not provide a source virtual machine cluster service, keep the application running on a separate source virtual machine; virtualization backup tool for implementing live migration.
  3. 3.根据权利要求2所述的一种利用虚拟化技术实现平台迁移的方法,其特征是:所述的采用虚拟化备份工具实施迁移包括以下步骤:选择待迁移的源存储设备; 选择目的存储设备来存储待迁移的数据; 编辑迁移后的目的虚拟机的各项设置; 将目的存储设备设置为激活状态。 According to claim 2 utilizing virtualization technology platform migration implemented method, as claimed in claim wherein: said backup virtualization migration tool embodiment comprising the steps of: selecting a source storage apparatus to be migrated; storage object selection device to store the data to be migrated; edited object of the settings migration of virtual machines; the destination storage device is set to an active state.
  4. 4.根据权利要求1所述的一种利用虚拟化技术实现平台迁移的方法,其特征是:所述的备份出源虚拟机映像文件的步骤,包括以下小步骤:确认采用虚拟化备份工具; 选择需要备份的源虚拟机映像文件; 为所述的虚拟化备份工具制定备份策略; 选择映像文件的恢复目标。 According to claim 1 utilizing virtualization technology platform migration implemented method, as claimed in claim wherein: said step a backup source virtual machine image files, comprising the steps of small: Confirm virtualization backup tools; select the source virtual machine image files to be backed up; backup strategy for virtualized backup tools described; selecting a target to restore the image file.
  5. 5.根据权利要求1〜4所述的任意一种利用虚拟化技术实现平台迁移的方法,其特征是:上述B)确认迁移类别的过程中,通过预先设置应用对业务连续性的要求级别,然后根据该要求级别划分迁移类别为在线迁移和离线迁移。 5. according to any of claim 1 ~ 4 utilizing virtualization technology platform migration implemented method, wherein: said B) validation process migration class, previously set by the application of business continuity requirement level, then migrate to online and offline migration is divided according to the requirements of level migration category.
CN 201010142909 2010-04-09 2010-04-09 Method for realizing platform migration by using virtualization technology CN101819545B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010142909 CN101819545B (en) 2010-04-09 2010-04-09 Method for realizing platform migration by using virtualization technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010142909 CN101819545B (en) 2010-04-09 2010-04-09 Method for realizing platform migration by using virtualization technology

Publications (2)

Publication Number Publication Date
CN101819545A true CN101819545A (en) 2010-09-01
CN101819545B CN101819545B (en) 2012-07-25

Family

ID=42654658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010142909 CN101819545B (en) 2010-04-09 2010-04-09 Method for realizing platform migration by using virtualization technology

Country Status (1)

Country Link
CN (1) CN101819545B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101969442A (en) * 2010-10-28 2011-02-09 南京博智软件科技有限公司 Process running environment perception and migration based network analog framework implementation method
CN102023863A (en) * 2010-12-13 2011-04-20 中兴通讯股份有限公司 Method and device for switching editions
CN102307206A (en) * 2010-09-25 2012-01-04 广东电子工业研究院有限公司 Caching system and caching method for rapidly accessing virtual machine images based on cloud storage
CN102317910A (en) * 2011-08-03 2012-01-11 华为技术有限公司 Methods, devices and system for virtual data backup and reintegration
CN102369688A (en) * 2011-04-07 2012-03-07 华为技术有限公司 Method for adjusting resources dynamically and scheduling device
CN102567126A (en) * 2010-12-10 2012-07-11 联芯科技有限公司 Method and device for site reproduction of hardware
CN102611745A (en) * 2011-12-31 2012-07-25 成都市华为赛门铁克科技有限公司 On-line file moving method, device and system
CN102662797A (en) * 2012-04-11 2012-09-12 无锡华御信息技术有限公司 Virtualization-based software backup method
CN103631638A (en) * 2012-08-27 2014-03-12 国际商业机器公司 Method, system and computer program product for optimizing virtual machine deployment
CN104363976A (en) * 2013-06-13 2015-02-18 华为技术有限公司 Virtual machine group transfer method and device
CN105260226A (en) * 2015-09-23 2016-01-20 浙江网新恒天软件有限公司 Method for automatically migrating virtual machine on the basis of cloud platform
CN105530306A (en) * 2015-12-17 2016-04-27 上海爱数信息技术股份有限公司 Hyper-converged storage system supporting data application service
CN106776997A (en) * 2016-12-02 2017-05-31 国家电网公司 Migration method of database
CN107003893A (en) * 2016-02-03 2017-08-01 华为技术有限公司 Virtual machine backup method, backup device and host
US10162827B2 (en) 2015-04-08 2018-12-25 Honeywell International Inc. Method and system for distributed control system (DCS) process data cloning and migration through secured file system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101206621A (en) * 2006-12-19 2008-06-25 国际商业机器公司 System and method for migrating stateless virtual functions from one virtual plane to another
US20080270564A1 (en) * 2007-04-25 2008-10-30 Microsoft Corporation Virtual machine migration
CN101405694A (en) * 2006-03-21 2009-04-08 国际商业机器公司 Method and apparatus for migrating a virtual TPM instance and preserving uniqueness and completeness of the instance
CN101504620A (en) * 2009-03-03 2009-08-12 华为技术有限公司;上海交通大学 Load balancing method, apparatus and system of virtual cluster system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101405694A (en) * 2006-03-21 2009-04-08 国际商业机器公司 Method and apparatus for migrating a virtual TPM instance and preserving uniqueness and completeness of the instance
CN101206621A (en) * 2006-12-19 2008-06-25 国际商业机器公司 System and method for migrating stateless virtual functions from one virtual plane to another
US20080270564A1 (en) * 2007-04-25 2008-10-30 Microsoft Corporation Virtual machine migration
CN101504620A (en) * 2009-03-03 2009-08-12 华为技术有限公司;上海交通大学 Load balancing method, apparatus and system of virtual cluster system

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102307206A (en) * 2010-09-25 2012-01-04 广东电子工业研究院有限公司 Caching system and caching method for rapidly accessing virtual machine images based on cloud storage
CN102307206B (en) 2010-09-25 2014-10-01 广东电子工业研究院有限公司 Caching method for quick access cloud storage virtual machine image caching system based on
CN101969442A (en) * 2010-10-28 2011-02-09 南京博智软件科技有限公司 Process running environment perception and migration based network analog framework implementation method
CN102567126A (en) * 2010-12-10 2012-07-11 联芯科技有限公司 Method and device for site reproduction of hardware
CN102023863B (en) * 2010-12-13 2015-07-22 中兴通讯股份有限公司 Method and device for switching editions
CN102023863A (en) * 2010-12-13 2011-04-20 中兴通讯股份有限公司 Method and device for switching editions
CN102369688A (en) * 2011-04-07 2012-03-07 华为技术有限公司 Method for adjusting resources dynamically and scheduling device
WO2011100900A3 (en) * 2011-04-07 2012-03-15 华为技术有限公司 Method for adjusting resources dynamically and scheduling device
US9374293B2 (en) 2011-04-07 2016-06-21 Huawei Technologies Co., Ltd. Method for dynamically adjusting resource and scheduling device
CN102317910A (en) * 2011-08-03 2012-01-11 华为技术有限公司 Methods, devices and system for virtual data backup and reintegration
WO2012109876A1 (en) * 2011-08-03 2012-08-23 华为技术有限公司 Virtualized data backup method, and virtualized data reorganization method, device and system
US9547605B2 (en) 2011-08-03 2017-01-17 Huawei Technologies Co., Ltd. Method for data backup, device and system
CN102317910B (en) 2011-08-03 2014-08-20 华为技术有限公司 Methods, devices and system for virtual data backup and reintegration
CN102611745A (en) * 2011-12-31 2012-07-25 成都市华为赛门铁克科技有限公司 On-line file moving method, device and system
CN102611745B (en) * 2011-12-31 2015-02-25 华为数字技术(成都)有限公司 On-line file moving method, device and system
CN102662797A (en) * 2012-04-11 2012-09-12 无锡华御信息技术有限公司 Virtualization-based software backup method
CN103631638B (en) * 2012-08-27 2018-01-02 国际商业机器公司 Methods and systems for optimizing the deployment of virtual machines
CN103631638A (en) * 2012-08-27 2014-03-12 国际商业机器公司 Method, system and computer program product for optimizing virtual machine deployment
CN104363976A (en) * 2013-06-13 2015-02-18 华为技术有限公司 Virtual machine group transfer method and device
CN104363976B (en) * 2013-06-13 2019-01-08 华为技术有限公司 Virtual robot arm moving method and device
US10162827B2 (en) 2015-04-08 2018-12-25 Honeywell International Inc. Method and system for distributed control system (DCS) process data cloning and migration through secured file system
CN105260226A (en) * 2015-09-23 2016-01-20 浙江网新恒天软件有限公司 Method for automatically migrating virtual machine on the basis of cloud platform
CN105530306A (en) * 2015-12-17 2016-04-27 上海爱数信息技术股份有限公司 Hyper-converged storage system supporting data application service
CN107003893A (en) * 2016-02-03 2017-08-01 华为技术有限公司 Virtual machine backup method, backup device and host
CN106776997A (en) * 2016-12-02 2017-05-31 国家电网公司 Migration method of database

Also Published As

Publication number Publication date
CN101819545B (en) 2012-07-25

Similar Documents

Publication Publication Date Title
Wood et al. CloudNet: dynamic pooling of cloud resources by live WAN migration of virtual machines
CN102185928B (en) Method for creating virtual machine in cloud computing system and cloud computing system
US8538919B1 (en) System, method, and computer program for real time remote recovery of virtual computing machines
US6728896B1 (en) Failover method of a simulated operating system in a clustered computing environment
US8135930B1 (en) Replication systems and methods for a virtual computing environment
CN102681865B (en) Coordination of distributed systems upgrade
US20160253400A1 (en) Provisioning and managing replicated data instances
EP2156310B1 (en) Virtual machine migration
CN102160036B (en) Securing live migration of a virtual machine within a service landscape
US8458413B2 (en) Supporting virtual input/output (I/O) server (VIOS) active memory sharing in a cluster environment
US8631217B2 (en) Apparatus, system, and method for virtual machine backup
US9389892B2 (en) Multiple points in time disk images for disaster recovery
CN1947096B (en) Dynamic migration of virtual machine computer programs
US8862928B2 (en) Techniques for achieving high availability with multi-tenant storage when a partial fault occurs or when more than two complete faults occur
CN102761566B (en) METHOD AND APPARATUS FOR migration of virtual machines
CN103368768B (en) The method of automatically scaling a hybrid cloud environment of network coverage, apparatus and equipment
US8185776B1 (en) System and method for monitoring an application or service group within a cluster as a resource of another cluster
US8909767B2 (en) Cloud federation in a cloud computing environment
US8893147B2 (en) Providing a virtualized replication and high availability environment including a replication and high availability engine
US8688642B2 (en) Systems and methods for managing application availability
US8910172B2 (en) Application resource switchover systems and methods
CN101398770B (en) System for and method of migrating one or more virtual machines
US9575894B1 (en) Application aware cache coherency
EP1867097B1 (en) Disaster recovery architecture
AU2006297144B2 (en) Application of virtual servers to high availability and disaster recovery solutions

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model
C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data