7.8 Importing a Virtual Machine

You can import a virtual machine into Oracle VM Manager and have it deployed to a server pool, or placed in the Unassigned Virtual Machines folder if you do not want to deploy it. The virtual machine must be located on an FTP or web server, either as separate files, or compressed into a single archive file (for example, a .tgz or .zip file). As an archive of a virtual machine is also known as a virtual machine template, you can also use this process to import older style Oracle VM virtual machine templates. This process does not work for the newer OVF/OVA style templates.

When you import a virtual machine into a server pool, you have the option of saving it to any storage repository that is presented to at least one Oracle VM Server in the server pool. When you import a virtual machine to the Unassigned Virtual Machines folder, you can save it into any storage repository.

To import a virtual machine:

  1. Place the files that make up a virtual machine, or an archive of those files, in a location accessible by Oracle VM Manager using any of these protocols: HTTP, HTTPS or FTP.

  2. Click the Servers and VMs tab.

  3. If you want to import and deploy the virtual machine to a server pool, select Server Pools in the navigation tree, then select the server pool in the management pane table.

    If you do not want to deploy the virtual machine, select the Unassigned Virtual Machines folder.

  4. Select Import Virtual Machine... Import Virtual Machine... icon in the toolbar in the management pane.

  5. The Import Virtual Machine dialog box is displayed.

    This figure shows the Import Virtual machine dialog box.

    Select or edit the following:

    • Destination Repository: The storage repository in which to save the virtual machine.

    • Utility Server: The Oracle VM Server to use to perform the virtual machine import job. This field is populated from the list of administration servers assigned to the storage repository chosen in the Destination Repository field.

    • VM URLs: The URLs for the virtual machine. The URL schemes supported are HTTP, HTTPS, and FTP. To import a virtual machine using FTP, use the standard FTP syntax, for example:


      Each virtual machine component should be listed on a new line. Each URL must be a reference to a complete file. If your virtual machine files are split into multiple compressed files, concatenate those files and enter the URL for the concatenated file, for example to concatenate a number of compressed files to one compressed file, enter

       $ cat vm.tgz.1of3 vm.tgz.2of3 vm.tgz.3of3 > vm.tgz

      Then enter the URL to the single compressed virtual machine file, in this case, vm.tgz.

      To import a virtual machine that is not compressed as a single file, each component must be a complete file (if not, concatenate them to one file), for example to enter a virtual disk image and a virtual machine configuration file that together make up a complete virtual machine, you could enter:


    Click OK to import the virtual machine. The virtual machine is deployed to the server pool in the stopped state. Alternatively, the virtual machine is imported to the Unassigned Virtual Machines folder.

See Section 7.10.3, “Starting Virtual Machines” for information on starting a virtual machine, and Section 7.10.2, “Editing a Virtual Machine” for information on editing a virtual machine.