How to Migrate Oracle VM to Oracle Linux KVM https://blogs.oracle.com/scoter/post/how-to-migrate-oracle-vm-to-oracle-...
Simon Coter Blog
Simon Coter Blog
1 de 12 04/04/2022 11:30 a. m.
How to Migrate Oracle VM to Oracle Linux KVM https://blogs.oracle.com/scoter/post/how-to-migrate-oracle-vm-to-oracle-...
Open Cloud Infrastructure, Oracle, Oracle Linux, Oracle VM
How to Migrate Oracle VM to Oracle Linux
KVM
Simon Coter | October 5, 2020 | 8 minute read
Director, Oracle Linux and Virtualization Product Management
Introduction
Target of this document it to automate the migration from other hypeviror solutions to Oracle Linux KVM
managed by Oracle Linux Virtualization Manager.
The document actually covers the semi-automated migration process from:
Oracle VM 3.4
Migration from Oracle VM 3.4
The semi-automated migration procedure relies on following components:
libvirt, qemu and virt-v2v correctly installed and con�gured on KVM host
Network access (ssh or h�ps) to Oracle VM Server(s)
2 de 12 04/04/2022 11:30 a. m.
How to Migrate Oracle VM to Oracle Linux KVM https://blogs.oracle.com/scoter/post/how-to-migrate-oracle-vm-to-oracle-...
Requirements and Assumptions
Oracle VM Server (source) and KVM/OLVM (destination) hosts are network reachable each other
Oracle VM Server is based on 3.4 release
Older releases could work but the same had never been tested
OLVM/VDSM releases are >= 4.3
ovirt-engine-4.3.6.6-1.0.9 RPM or higher is installed on the Oracle Linux Virtualization Manager
Server
vdsm-4.30.33-1.0.3 RPM or higher is installed on the Oracle Linux KVM Server
virt-v2v1.40.2-5.0.1 or higher is installed on the Oracle Linux KVM Server
At least one KVM host and a Storage Domain have already been con�gured on OLVM and are up and
running
The conversion server must have su�cient disk space to store converting VM’s disk image plus 1GB
Setup
With proper OLVM/OL-KVM setup up&running proceed with following steps:
· Install "qemu-block-curl" RPM on the desired OL-KVM Server (the server where the migration will be
managed/executed)
# yum install oraclelinux-developer-release-el7 yum-utils -y
# yum-config-manager --enable ol7_developer_kvm_utils
# yum install qemu-block-curl
NB: the only RPM that has to be installed from "ol7_developer_kvm_utils" Yum channel is "qemu-block-curl"
So, to keep the entire system supported, other packages do not have to be updated from
"ol7_developer_kvm_utils" Yum channel.
To accomplish this requirement, execute following steps:
· Edit "/etc/yum.repos.d/oraclelinux-developer-ol7.repo" and add following line:
[ol7_developer_kvm_utils]
name=Oracle Linux $releasever KVM Utilities for Development and test ($basearch)
baseurl=https://yum$ociregion.oracle.com/repo/OracleLinux/OL7/developer/kvm/utils/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1
includepkgs=qemu-block-curl*
3 de 12 04/04/2022 11:30 a. m.