- Subscriber Data Server Cloud Installation Guide
- Appendix
- Common KVM or OpenStack Tasks
- Importing an OVA File
A.3.1 Importing an OVA File
- 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.
- Unpack and import an image file using the glance utility.
- Copy the OVA file to the OpenStack control
node.
$ scp SDS-x.x.x.ova admusr@node:~
- Log into the OpenStack control
node.
$ ssh admusr@node
- 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
- Source the OpenStack admin user
credentials.
$ . keystonerc_admin
- Select an informative name for the new
image.
sds-x.x.x-original
- 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
- Copy the OVA file to the OpenStack control
node.