Table of Contents | ||
---|---|---|
|
...
Upload Templates from the Local Filesystem
To make new VM templates available in the platform, add them to your Apps library (also called the Appliance library).
You can upload VM templates from a local filesystem in OVA format (multiple disks) or as a single disk.
Panel |
---|
Privilege: Upload virtual machine template |
Before you begin:
- Check that your template disks are in a compatible format for the platform.
- Check that you have the template details ready to enter, or that your file meets the requirements, depending on your upload:
- Local file: number of CPUs, RAM and the Capacity, which is the deployed size of the VM hard disk. See Determine the size of a VM Disk File.
- ISO file: number of CPUs and RAM for the VM
- OVA file: Abiquo reads OVA files such as those created with VMware. The name of the OVA file must end in the extension ".ova". You can upload a multi-disk template for a single VM. The OVA file must contain an OVF description file for the template. The platform uses the Name tag in the VirtualSystem as the template name. If the Name is not set, Abiquo falls back to the ID. See OVF Reference.
- You can upload a template with a multi-part upload over an HTTP connection from your browser to the Apps library. The platform supports browser upload of files larger than 2 GB but for very large files, it may be convenient to use another method.
- If you do not have any hypervisors, the platform will convert the template into ALL possible hypervisor formats. So before you add templates to your Apps library, add one physical machine of each hypervisor type that you will require conversions for, in order to reduce unnecessary use of the NFS repository space. See V2V Conversion.
To add a new template:
- Go to Apps library
- Select the datacenter and click the add button
Select one of the upload or download options and enter the appropriate data
Upload an OVA file
To upload an OVA file:
- Select Create from OVA file, and select the file.
- Abiquo will display the filename. Click Save. Abiquo will upload the file and create the template.
When the template has been uploaded, Abiquo will open the Edit template dialog. Check the template details and click Save.
Expand |
---|
Upload from local or ISO file
Complete this form to create a new VM template in the appliance library.
...
Disk from local file
...
Note | ||
---|---|---|
| ||
You must enter a correct value for the Capacity of the hard disk, otherwise, when your deploy may fail with a message such as "is not a virtual disk". The hard disk size of a deployed VM is the physical size of the template disk for fixed formats, and the provisioning size for sparse formats and compressed formats, e.g. stream-optimized. The Hard disk size entered in this field is recorded in the template definition (a short version of an OVF description) and used to create the disk on deployment. |
...
Disks tab
The disk you upload is saved as the 0 disk in the boot sequence. Abiquo will send this disk to the hypervisor as the boot disk. If your disk is not a bootable system disk, then move the disk to a different position in the boot sequence when you add a bootable system disk.
You can edit the uploaded disk but you cannot delete it before you save the template.
You cannot resize the disk before you deploy the VM.
Variables tab
To add variables to a VM template, enter the Key and Value, then click Add. To edit an existing value, click the pencil icon, enter the new value, then click ok. To save your changes to the template, click Save.
The variables will be added automatically to new VMs. Users can edit the variables when configuring the VM.
Advanced tab
...
Click Save to upload the template file.
After you save the template, you can edit the template and add more disks, edit, reorder and delete disks. You can also add a cost code.
Troubleshooting VM template uploads
The GUI upload process is handled by the browser and there are some limitations. If a file is not compatible with GUI upload, you can upload it manually. Manual upload requires access to the filesystem, so it should be done by a system administrator. See Importing Templates into the Appliance Library.
For more Information about VM Templates, see Virtual Machine Template Guide
Note that downloading templates to the client requires access to the Appliance Manager IP address configured for the current datacenter.
...
Download templates from the Docker registry
...
title | Click here to show/hide Docker information |
---|
...
Add public cloud templates to the Apps library
...
Pages related to VM templates
...
Table of Contents |
---|
Anchor | ||||
---|---|---|---|---|
|
Info |
---|
This page describes the steps for the most common ways to load VM templates into Abiquo. For an overview and links to additional methods, see Add virtual machine templates to Abiquo |
Upload OVA templates from the local filesystem
See Upload OVA templates from the local filesystem
...
Download templates from a remote template repository
In private cloud, to create VM templates from a remote repository, do these steps:
Panel |
---|
Privilege: Download template from remote repository |
Go to Catalogue
In the Private cloud section, select the datacenter
On the Virtual machine templates tab, at the bottom of the templates panel, click the + add button
Select Create from remote template repository
Select a Repository, then select a Category or All categories.
The Packages pane will display the available template definitions with an icon, title and brief descriptionOptionally, click on Show disks
For each VM template to download, select the checkbox next to the template definition
To start the download, click the Download button
The platform will check that this template download will not exceed the repository limits for your enterprise or your enterprise in the datacenter.
You cannot download a template if it does not have any disks
A status bar will appear next to the selected packages showing the download state.
If a template belongs to a Category in the remote template repository but the Category does not exist in the Catalogue, the platform will create it for the download.
You can now work with the new VM template.
...
Add public cloud templates to the catalogue
This section describes how to import a template from a public cloud region into the catalogue (which for public cloud is a cache of VM template definitions and links to the public cloud templates)
To import a template from public cloud, do the following steps.
Go to Catalogue → Public
Select the public cloud region
Click the + add button at the bottom of the screen
The Import template popup will open
Enter the search criteria for your template
In the ID field, you can enter an ID, such as an AMI ID
In Google Cloud Platform, you can enter a full path ID, for example,
ubuntu-os-cloud/global/images/ubuntu-2004-focal-v20220308
In the Name field, you can enter text to search for in the name
Select Private templates to display images that are only available to your user account in the public cloud provider.
In vCloud Director this option displays templates in the same organization as your user
In OCI, to search for private templates, you must search by the template ID only.
Then click Search to perform the search. The search can take some time and return several pages of templates
To import a template, click the import symbol in the top right-hand corner of the template
If your Azure template has terms of use, then you will need to accept these now or when you first create a VM from the template.
Accepting the terms of use requires the privilege to
Manage virtual machine template terms of use
and it enables programmatic deployment of the template for your Azure subscription. If you then disable programmatic deployment in the portal but you would like to deploy the template, you will need to delete it from the platform and import it again.If you share the template with another enterprise, then a user of that enterprise will need to accept the terms of use before they can create a VM
When a template has been imported, the color of the import symbol will change to gray
When you have finished importing templates click Close
You can now edit your template to customize it for your users, which includes:
Add custom icon
Add variables for startup scripts
Share template with users in a tenant hierarchy
Recommend and restrict hardware profiles
Set default template credentials and configure initial password
Add tags
For more details, see Modify a VM template in public cloud
...
Pages related to VM templates
Other ways to add VM templates through the Abiquo UI:
Main Catalogue page with links to related pages: Catalogue view
Create instance templates: Manage VMs#SaveVMdiskstocreateaninstancetemplate
Manage instance templates: Manage VM Templates#Manageinstancetemplates
VM automation with cloud-init templates: Guest setup
Configuration pages
In Modify a VM template, see Extended OVF Support and Template Definition, Guest operating system definition for VMware, and OVF Reference.