IBM Tivoli Provisioning Manager for Images, Version 7.1.1.11

Exporting images to OVF format

Using Tivoli® Provisioning Manager for Images, you can export existing images to an OVF file.

Before you begin

Procedure

To export an image to the OVF format, perform the following steps:

  1. Log on to the Tivoli Provisioning Manager for Images interface.
  2. Click Server > Advanced features > Image Monitor.
  3. Select the image that you want to export.
  4. Click Export to OVF from the contextual menu.
  5. Select the computer where you want to export the OVF image. You can select the local computer if web interface extension is installed, the OS deployment server, or any computer with the web interface extension installed.
  6. Specify the path where you want to export your OVF image. If you choose the OS deployment server, the path is the local <TPMfOSD_DATA_DIR>\import directory. A virtual image in OVF format consists of a file with the .ovf extension, and a set of virtual disk image files.
  7. Select the format to use for the virtual disk image files, depending on the format supported by the tool with which you will reimport the image later. Available formats are: VHD, VMDK, and raw sparse.
    Note: If the selected virtual disk image format is VMDK, before exporting the image ensure that:
    • You installed the VDDK library on the machine where the VMDK file will be located.
    When installing VDDK, change the environment variables as follows:
    • On Windows systems, add the binary path (such as C:\Program Files\VMware\VMware Virtual Disk Development Kit\bin) to the %PATH% variable. If you are using a 64-bit rbagent or the import directory of a 64-bit server, add to the %PATH% variable the bin directory by unzipping the vddk64.zip file contained in the VDDK bin directory (such as C:\Program Files\VMware\VMware Virtual Disk Development Kit\bin\vddk64.zip). Refresh the environment variables. If needed, restart your machine.
    • On Linux systems, add the library installation path (such as /usr/lib/vmware-vix-disklib/lib32) to the /etc/ld.so.conf file. If you are using a 64-bit rbagent or the import directory of a 64-bit server, add the 64-bit library installation path (such as /usr/lib/vmware-vix-disklib/lib64) to the /etc/ld.so.conf file. Refresh the settings by running ldconfig. Refresh the environment variables. If needed, restart your machine.
    Before using the exported VMDK file on a VMWare ESX Server, you must run the following command on the hypervisor:
    vmkfstools -i <source_bytpmfosd> <output_for_esx>
    where:
    <source_bytpmfosd>
    Specifies the name of the VMDK file created by using Tivoli Provisioning Manager for Images.
    <output_for_esx>
    Specifies the name of the destination VMDK file to run on the VMWare ESX Server.
    For example:
    vmkfstools -i ./OVFSLES10_OM.vmdk  
    ./SLES10_CONVERTED/OVFSLES10_OM_CONVERTED.vmdk
    Using the generated <output_for_esx> file you can run the new virtual machine on the VMWare ESX Server.

Results

The image has been exported on the specified computer in the OVF format.

What to do next

You can now use the new image on the targets.
Note: If the images are exported to OVF in a format different from the format of the source hypervisor, they might be unusable on the target hypervisor. This is because of the different hardware emulation. To avoid this problem, use the standard capture and deployment process on virtual machines, because this process rebuilds the system according to the different hardware.


Feedback