当前位置: > 虚拟化 Virtualization > oVirt >

ovirt rhev 虚拟机创建,迁移,存储,网络

时间:2019-11-30 17:19来源:linux.it.net.cn 作者:IT
ovirt虚拟机存储位置迁移有两种方法:

1.通过导入导出域的方式迁移,但是需要关机,还要导入导出,比较麻烦


2.直接通过磁盘标签的移动功能,可在线迁移,非常方便,业务也不会中断


1.发现在线迁移的同时无法迁移存储空间

2.离线迁移可通过编辑虚拟机从指定的主机启动运行

但是也碰到一些问题,移动虚拟机磁盘时

当从iscsi移动到nfs时,会报如下错误:

command failed: Could not acquire resource. Probably resource factory threw an exception.: ()

VDSM command failed: Image does not exist in domain: u'image=ebfddd46-61bf-49fe-b145-8b776893672b, domain=9923c57c-35e0-4ea4-995f-7e8a159f06da'

暂时未找到原因

2015/12/10 今日在官方文档里看到这么一段,不知道是否是因为这个原因

If the virtual disk is attached to a virtual machine that was created based on a template and used the thin provisioning storage allocation option, the disks for the template on which the virtual machine was based must be copied to the same storage domain as the virtual disk.


从nfs移动到iscsi能顺利完成


从nfs迁移到nfs还未测试,测试后再更新


3.虚拟机导出后,再导入的时候可以自定义导入到哪个存储域,也算是移动虚拟机磁盘的一种折衷的方式,导入后要记得插入网卡。


(责任编辑:IT)
------分隔线----------------------------