Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
4.3.2.4. Converting a local KVM virtual machine
Use the following procedure to convert a local KVM virtual machine:
Procedure 4.6. Converting a local KVM virtual machine
Stop the virtual machine.
- Ensure that the virtual machine is stopped prior to running the v2v process. If the virtual machine is in a clustered Red Hat Enterprise Linux HA virtual machine environment, stop and disable the virtual machine resource in cluster node using the command:
clusvcadm -d vm:<guest>
- After stopping the virtual machine, run
virsh define <path-to-guest.xml>
to place the stopped virtual machine under the control of libvirt. This command allowsvirt-v2v
to recognize the virtual machine and enable it to be converted.
Convert the virtual machine.
To convert the virtual machine, run:virt-v2v -o rhev -os storage.example.com:/exportdomain --network rhevm guest_name
Wherestorage.example.com:/exportdomain
is the export storage domain,rhevm
is the locally managed network to connect the converted virtual machine's network to, and guest_name is the name of the KVM virtual machine.You may also use the--bridge
parameter to connect to a locally managed network if your virtual machine only has a single network interface. If your virtual machine has multiple network interfaces, edit/etc/virt-v2v.conf
to specify the network mapping for all interfaces.