Questo contenuto non è disponibile nella lingua selezionata.

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

  1. Stop the virtual machine.

    1. 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>
      Copy to Clipboard Toggle word wrap
    2. 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 allows virt-v2v to recognize the virtual machine and enable it to be converted.
  2. Convert the virtual machine.

    To convert the virtual machine, run:
    virt-v2v -o rhev -os storage.example.com:/exportdomain --network rhevm guest_name
    Copy to Clipboard Toggle word wrap
    Where storage.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.
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2026 Red Hat
Torna in cima