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

  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>
    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
    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

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

© 2024 Red Hat, Inc.