从Citrix Xen Server虚拟机迁移至VMware虚拟化平台方案.docx

上传人:b****0 文档编号:17860756 上传时间:2023-08-04 格式:DOCX 页数:21 大小:1.09MB
下载 相关 举报
从Citrix Xen Server虚拟机迁移至VMware虚拟化平台方案.docx_第1页
第1页 / 共21页
从Citrix Xen Server虚拟机迁移至VMware虚拟化平台方案.docx_第2页
第2页 / 共21页
从Citrix Xen Server虚拟机迁移至VMware虚拟化平台方案.docx_第3页
第3页 / 共21页
从Citrix Xen Server虚拟机迁移至VMware虚拟化平台方案.docx_第4页
第4页 / 共21页
从Citrix Xen Server虚拟机迁移至VMware虚拟化平台方案.docx_第5页
第5页 / 共21页
从Citrix Xen Server虚拟机迁移至VMware虚拟化平台方案.docx_第6页
第6页 / 共21页
从Citrix Xen Server虚拟机迁移至VMware虚拟化平台方案.docx_第7页
第7页 / 共21页
从Citrix Xen Server虚拟机迁移至VMware虚拟化平台方案.docx_第8页
第8页 / 共21页
从Citrix Xen Server虚拟机迁移至VMware虚拟化平台方案.docx_第9页
第9页 / 共21页
从Citrix Xen Server虚拟机迁移至VMware虚拟化平台方案.docx_第10页
第10页 / 共21页
从Citrix Xen Server虚拟机迁移至VMware虚拟化平台方案.docx_第11页
第11页 / 共21页
从Citrix Xen Server虚拟机迁移至VMware虚拟化平台方案.docx_第12页
第12页 / 共21页
从Citrix Xen Server虚拟机迁移至VMware虚拟化平台方案.docx_第13页
第13页 / 共21页
从Citrix Xen Server虚拟机迁移至VMware虚拟化平台方案.docx_第14页
第14页 / 共21页
从Citrix Xen Server虚拟机迁移至VMware虚拟化平台方案.docx_第15页
第15页 / 共21页
从Citrix Xen Server虚拟机迁移至VMware虚拟化平台方案.docx_第16页
第16页 / 共21页
从Citrix Xen Server虚拟机迁移至VMware虚拟化平台方案.docx_第17页
第17页 / 共21页
从Citrix Xen Server虚拟机迁移至VMware虚拟化平台方案.docx_第18页
第18页 / 共21页
从Citrix Xen Server虚拟机迁移至VMware虚拟化平台方案.docx_第19页
第19页 / 共21页
从Citrix Xen Server虚拟机迁移至VMware虚拟化平台方案.docx_第20页
第20页 / 共21页
亲,该文档总共21页,到这儿已超出免费预览范围,如果喜欢就下载吧!
下载资源
资源描述

从Citrix Xen Server虚拟机迁移至VMware虚拟化平台方案.docx

《从Citrix Xen Server虚拟机迁移至VMware虚拟化平台方案.docx》由会员分享,可在线阅读,更多相关《从Citrix Xen Server虚拟机迁移至VMware虚拟化平台方案.docx(21页珍藏版)》请在冰点文库上搜索。

从Citrix Xen Server虚拟机迁移至VMware虚拟化平台方案.docx

从CitrixXenServer虚拟机迁移至VMware虚拟化平台方案

    

   

从CitrixXenServer虚拟机迁移至VMware虚拟化平台方案

 

 

 

 

   

   

 

   

 

 

 

【摘要】本文对CitrixXenServerLinux虚拟机迁移至VMwareESXi6.7虚拟化平台进行了技术总结,包括充分的迁移准备和详细的迁移实施步骤。

前言

随着虚拟化技术的快速发展,各厂商虚拟化产品也是百花齐放,企业或政府机构在早期建设中会存在多个厂商虚拟化产品,随着虚拟化技术越来越成熟,带来的是企业私有云、政务云统一规划建设,进而对现有虚拟化产品统一整合、改造,已经成为私有云建设中重要环节。

在虚拟化整合过程中,经常会涉及以下整合:

1、物理机迁移至VMware虚拟化平台;

2、VMwareESXi低版本虚拟机迁移至VMwareESXi高版本虚拟化平台;

3、CitrixXenServer虚拟机迁移至VMwareESXi6.7虚拟化平台;

4、VMware虚拟机迁移至KVM虚拟化平台等等。

最近在做的虚拟化迁移整合项目中,本人花了大量时间进行实践研究,本文将对CitrixXenServerLinux虚拟机迁移至VMwareESXi6.7虚拟化平台进行技术总结,希望对大家有所帮助!

迁移准备工作

一、环境说明

1、源虚拟化环境:

CitrixXenServer6.1

2、目标虚拟化环境:

VMwareESXi6.7.0U1

3、迁移虚拟机OS类型:

CentOS6.4、Windows2008、Windows2003

4、迁移工具:

VMware-converter-en-6.2.0-8466193

5、VMware-converterserverOS类型:

Window2012R2

二、迁移流程

由于都是生产业务系统迁移,迁移前应按照以下开展:

三、注意事项

1、进行VMware-converter服务端安装。

2、检查源虚拟机业务类型和操作系统版本,确认是否在converter兼容性列表里。

1)、如果源是域控制器,应进行特殊考虑。

VMware不建议使用Converter虚拟化活动域控制器。

2)、如果源是MicrosoftExchange、SQL或DB2、Oracle等其他数据库服务器,VMware建议在转换之前关闭应用程序(MicrosoftExchange/SQL)和数据库服务。

这将最大程度地减少任何损坏数据库表或使目标虚拟机中的数据失效的机会。

3)、在转换期间禁用实时防病毒扫描。

3、迁移前对VMware-converter服务端、虚拟机源端相关防火墙进行关闭。

Linux迁移过程中,使用以下端口服务:

四、技术原理

1、远程热克隆在线运行的windows虚拟机技术原理

1)、ConverterStandalonepreparesthesourcemachinefortheconversion.

ConverterStandaloneinstallstheagentonthesourcemachineandtheagenttakesasnapshotofthesourcevolumes.

2)、ConverterStandalonepreparesthevirtualmachineonthedestinationmachine.

ConverterStandalonecreatesavirtualmachineonthedestinationmachineandtheagentcopiesvolumesfromthesourcemachinetothedestinationmachine.

3)、ConverterStandalonefinishestheconversionprocess.

Theagentinstallsthedriversrequiredfortheoperatingsystemtostartinavirtualmachineandpersonalizesthevirtualmachine(changestheIPinformation,forexample)

4)、Optionally,ConverterStandaloneuninstallstheagentfromthesourcemachine.

Thevirtualmachineisreadytorunonthedestinationserver.

2、远程热克隆在线运行的Linux虚拟机技术原理

InLinuxconversions,noagentisdeployedonthesourcemachine.Instead,ahelpervirtualmachineiscreatedanddeployedonthedestinationESXihost.ThesourcedataisthencopiedfromthesourceLinuxmachinetothehelpervirtualmachine.Aftertheconversioniscomplete,thehelpervirtualmachineshutsdowntobecomethedestinationvirtualmachinethenexttimeyoupoweriton.ConverterStandalonesupportsconversionofLinuxsourcesonlytomanageddestinations.Thefollowingworkflowdemonstratestheprinciplesofhotcloningpoweredonsourcemachinesthatrun

Linuxtomanageddestinations.

1)、ConverterStandaloneusesSSHtoconnecttothesourcemachineandretrievessourceinformation.ConverterStandalonecreatesanemptyhelpervirtualmachinebasedonyourconversiontasksettings.Thehelpervirtualmachineservesasacontainerforthenewvirtualmachineduringconversion.ConverterStandalonedeploysthehelpervirtualmachineonthemanageddestination,anESXihost.Thehelpervirtualmachinebootsfroma*.isofilethatislocatedontheConverterStandaloneservermachine.

2)、Thehelpervirtualmachinepowerson,bootsfromtheLinuximage,connectstothesourcemachinethroughSSH,andstartsretrievingtheselecteddatafromthesource.Whileyousetuptheconversiontask,youcanselectwhichsourcevolumestobecopiedtothedestinationmachine.

3)、Optionally,afterdataiscopied,thedestinationvirtualmachineisreconfiguredtoallowtheoperatingsystemtostartinavirtualmachine.

4)、ConverterStandaloneshutsdownthehelpervirtualmachine.Theconversionprocessiscomplete.YoucanconfigureConverterStandalonetopoweronthenewlycreatedvirtualmachineaftertheconversioniscomplete.

迁移实施步骤

一、Linux虚拟机进行热克隆迁移

本次Linux虚拟机热克隆迁移分为2个部分:

第1部分:

使用vmwareconverter工具热克隆迁移虚拟机

第2部分:

将迁移后的XenServer虚拟机更改系统配置文件,否则在vmware平台下无法启动系统!

第1部分:

vmwareconverter工具热克隆虚拟机

1、登录xenserver上的源Linux虚拟机,对虚拟机上数据库、中间件及其他应用程序进行关闭,以防在热克隆过程中数据产生增量及迁移后数据库无法正常启动。

2、登录vmwareconverter服务器,打开converter软件

3、选择Convertmachine

4、选择Poweredon->RemoteLinuxmachine,输入源系统信息,IP地址、用户名、密码

5、选择YES,在客户端安装脚本

6、输入VMwareVC信息

7、输入新虚拟机名称,选择存储位置、版本、集群主机

8、配置虚拟机信息,选择虚拟网卡对于网络

9、配置Helper信息,给Helper分配IP地址,建议分配源虚拟机同网段IP地址

10、配置概况,finish确认,热克隆开始迁移。

第2部分修改迁移后虚拟机内核,更改系统配置文件

更改迁移后的虚拟机内核,否则虚拟机无法运行,因为经过xenserver虚拟化修改过的Linux内核不能在vmkernel上运行!

1、通过引导源Linux版本对应ISO系统,引导进入救援模式,进行修改。

2、设置克隆过来的虚拟机添加iso镜像文件,强制引导进入BIOS设置。

3、设置启动项首先是CD-ROMDrive启动

4、选择进入linuxrescue救援模式安装

5、输入#chroot/mnt/sysimage

6、强制更新非xen内核文件

rpm–Uvh–force/mnt/cdrom/CentOS/Packages/kernel-2.6.32-358.el6.x86_64.rpm

7、卸载xenserver相关工具

8、修改系统引导grub.conf配置文件

vi/boot/grub/grub.conf

kernel/boot/vmlinuz-2.6.32-358.el6.x86_64roroot=/dev/sda2rhgbquiet

9、编辑/etc/inittab文件,

vi/etc/inittab文件,去掉0-6

10、重启操作系统,系统可以正常启动

reboot

11、对虚拟机安装vmwaretools工具。

二、Windows虚拟机进行热克隆迁移

1)、Windows虚拟机迁移与Linux迁移相比,简单多了,没有Helper需要配置,也不需要修改内核配置。

2)、迁移前也需对业务和数据库进行关闭,防火墙也需要关闭,迁移后就可以正常启动系统了,迁移步骤就不再重复描述了。

3)、迁移后也需要进行vmwaretools工具安装。

 

 

 

 

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > IT计算机 > 电脑基础知识

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2