Converting standalone KVM guests to an oVirt Virtualization platform and the OpenStack cloud
In order to convert guests from a standalone KVM system to oVirt, perform the following steps:
- Create an NFS export domain. Attach this to the oVirt data center. Make sure that the host acting as virt-v2v conversion server has access it.
- Shut down the virtual machine. Make sure that SSH is enabled on the host.
- Convert the virtual machine using the following command:
#virt-v2v -icqemu+ssh://[email protected]/system -o rhev -osstorage.example.com:/exportdomain --network ovirtguest_name
Note
kvmhost.example.com/system
: This is the KVM host from where the virtual machine needs to be migrated. - Import the virtual machine from the export storage domain into Ovirt.
- To convert guests from a standalone KVM system to Glance, run the following command:
#virt-v2v -icqemu+ssh://[email protected]/system -o rhev -o glance vm001
This command will convert the
vm001
virtual machine Windows 7 guest to your OpenStack... - To convert guests from a standalone KVM system to Glance, run the following command: