Skip Headers

Oracle® VM Manager User's Guide Release 2.1 Part Number E10901-04 |
Home | Book List | Contents | Index | Contact Us

Previous | Next
| View PDF

# A Preparing Virtual Machines For Importing

If you have prebuilt Oracle VM virtual machines, you can import them into Oracle VM Manager to use as virtual machines, or templates.

Before you import a virtual machine, you must have an Oracle VM Server and store the virtual machine files in the correct directory of the Oracle VM Server, according to your needs. Oracle VM Agent updates the directory information in the vm.cfg file automatically when importing virtual machines.

For information about Oracle VM Servers, refer to Configuration of Oracle VM Manager, and Creating a Server Pool.

If you want to import a prebuilt virtual machine as a template, copy the virtual machine files to the Oracle VM Server directory:

/OVS/seed_pool/vm_name/

If you want to import a prebuilt virtual machine as a private virtual machine (it is not shared with others), copy the virtual machine files to the Oracle VM Server directory:

/OVS/running_pool/vm_name/

To move the virtual machine to the correct location for importing:

1. Log in to the Oracle VM Server.

2. Download, or copy the virtual machine to the correct directory for your needs. For example, to download the virtual machine `XEN_EL4U5_X86_HVM` from `http://example.com/seeds/` as a template:

   - If the virtual machine is compressed, run the `wget` command to download it:

         # cd /OVS/seed_pool
         # wget http://example.com/seeds/XEN_EL4U5_X86_HVM.tgz

     Uncompress the virtual machine:

         # cd /OVS/seed_pool
         # tar -xzvf XEN_EL4U5_X86_HVM.tgz

   - If the virtual machine is not compressed, run the `wget -r` command to download it:

         # cd /OVS/seed_pool
         # wget -r http://example.com/seeds/XEN_EL4U5_X86_HVM/

A directory named XEN_EL4U5_X86_HVM is created under the /OVS/seed_pool/ directory, and the virtual machine files are extracted and ready to be imported as a template in Oracle VM Manager.