A.3.1 Importing an OVA File

  1. Create VM flavors.

    Use the DSR Cloud Benchmarking Guide values to create flavors for each type of VM. Flavors are created using the Horizon GUI in the Admin section or with the nova flavor-create command line tool. Ensure the flavor names are as informative as possible.

    Flavors describe resource sizing, and a standard convention is to use a name like “0406060”, where the first two digits (04) represent the number of virtual CPUs and the next two digits (06) represent the RAM allocation in GB. The final three digits (060) represent the disk space in GB.

  2. Unpack and import an image file using the glance utility.
    1. Copy the OVA file to the OpenStack control node.
      $ scp SDS-x.x.x.ova admusr@node:~
    2. Log into the OpenStack control node.
      $ ssh admusr@node
    3. In an empty directory unpack the OVA file using tar.
      $ tar xvf SDS-x.x.x.ova

      Note:

      One of the unpacked files have a .vmdk suffix. This is the VM image file that must be imported.

      SDS-8.6.x.x.x-disk1.vmdk

    4. Source the OpenStack admin user credentials.
      $ . keystonerc_admin
    5. Select an informative name for the new image.
      sds-x.x.x-original
    6. Import the image using the glance utility from the command line.
      $ glance image-create --name sds-x.x.x-original -–visibility public --protected false --progress --container-format bare --disk-format vmdk --file SDS-x.x.x-disk1.vmdk
    This process takes about five minutes depending on the underlying infrastructure.