Import Templates

De GIGAS DOCS
Revisión del 18:58 16 mar 2017 de Pablo.desantiago1 (Discusión | contribuciones)

(dif) ← Revisión anterior | Revisión actual (dif) | Revisión siguiente → (dif)
Saltar a: navegación, buscar

TEMPLATES FROM VIRTUAL MACHINES

1. Introduction

This handbook shows you how to manage operating system templates in the Gigas Cloud Datacenter:

  • Import Servers to your Cloud Datacenter.
  • Create templates from existing servers or backups.

With Gigas, you can create your server from a varied selection of available Operating Systems that have been checked by the Gigas Technical Team so that they are compatible with your Cloud Datacenter. It is also possible to install a CD reader on your Cloud Server and install an operating system from scratch starting from an ISO template.

This new feature allows all our users to upload entire templates from hard disks or virtual servers to Gigas and create new Gigas Cloud Servers starting from scratch from these templates.

IMPORTANT:

When installing your template server that is different from those officially offered by GIGAS, some of the control panel options may not work, or may be directly disabled.

On the other hand, Mac and Solaris are NOT SUPPORTED. The images must have format:

- raw

- qcow

- qcow2

- ova

- vmdk

- vhd

To import templates to Gigas, just “drag” the template from your PC or laptop to the form in the Control Panel; the template will begin to download automatically.

If your internet connection is interrupted, don’t worry; you can use the upload form again and resume uploading the template from the moment the connection was interrupted.

Gigas takes no responsibility of the origin nor the usage of the custom operative systems of the clients, so we won't be able to offer support beyond recommending the re-installing of the OS with the ISO that was created with, keeping in mind that the client can always use any OS template that Gigas has available for their clients.


2. A new section of the Panel – Templates and ISOs

Gigas’ Control Panel has a new option for managing templates as well as ISO CD templates from virtual machines.

This option is on the left-hand menu of the Panel.

Importacion templates1.png

Via this new section you can remove, add, and modify operating system templates or CD templates.

You can also download these templates and ISOs to have them on your PC or laptop again. Remember that you can only download templates that have been previously uploaded to the system.


3. Uploading templates

To upload a new template to Gigas, just click on the “Upload a new Template” button in the Templates and ISO Panel.

The following window will open

Importacion templates2.png

Look in your PC or laptop for the file with the template of the Virtual Server or hard disk that you want to upload, then use the left mouse button to drag the template to the “Drag and drop a file” box.

You can also look for the file on your local hard drive by clicking on the “Select from your computer” button; this will link the template with one of your Cloud Datacenters at Gigas as it may be in different geographical locations within our Cloud.

If your connection was interrupted while uploading the template and the action was not completed, the upload progress of that template will appear in the upload form as it detects that the upload of the file had already begun. The template will start to upload from the moment it was interrupted.

After clicking on the “Upload” button, the upload process will begin immediately.

Importacion templates3.png

When it has finished, the new template will appear on the Templates list on the Panel; you can now select it and connect to a virtual server just as if it was a CD.

The space taken up by this template is added to the backup space of your Cloud Datacenter product.

It will take a few minutes before the template is available. This is due to the conversions and checks that are made to your template to convert it to RAW format.

Importacion templates4.png

4. Importing templates via HTTP

You can also notify us as to where your URL template is located and we will take care of downloading, checking, converting, and making it available to you on the Panel.

To do this we use a specific form to upload a template from a URL. We accept the

following URLs: HTTP, HTTPS and FTP. Ports 80, 443 and 20-21.1

If you use HTTPS, we recommend that you verify the certificates beforehand as if there is an error the template will not download.

Importacion templates5.png

5. Restoring a template to a disk

In addition to creating new full Cloud Servers, we now offer the option of restoring a template to a secondary hard disk on your server.

This is done using the restoration form, found in the Templates and ISO section.

Importacion templates6.png

It is also possible to restore a backup directly to a server’s hard disk.

6. Creating a Cloud Server from a template

To create a new Virtual Server from one of your Templates, just click on the “Create New Server” button and a drop-down menu will appear with the templates you have imported to Gigas in the “My Templates” section.

Importacion templates7.png

IMPORTANT: When installing your template server that is different from those officially offered by GIGAS, some of the control panel options may not work, or may be directly disabled.

7. Creating a template from a Cloud Server

To create a template from an existing Cloud Server, follow these steps:

  • Create a backup of the hard disk of the server that you want to convert to a template
  • In the Backups section of that Cloud Server, click on the “Convert to Template” option.

This new template will be available for installing Cloud Servers from that moment onwards.

8. How to export templates from VMware Servers to Gigas’ new template upload system


Keep in mind that with GIGAS each server can have several hard disks so each template uploaded to Gigas must contain a single hard disk which can then be used to build servers.

Here is a quick guide to exporting hard disks from a Windows 2003/2008 or Linux server to a valid Gigas template.

(Remember: Although Microsoft is no longer supported by Windows 2003 servers, we have included it in this quick guide for reasons of compatibility as many users still have applications that use this version of the operating system.)

GUIDE FOR EXPORTING TEMPLATES

1. Uninstall VMWare Tools /both for Windows as well as Linux).

2. In the case of Windows 2003, apply this patch http://download.qnap.com/Storage/Others/Virtualization_Station/MergeIDE.zip

3. Enable SSH access on the VMware ESX where the VM you want to export resides

4. Clone the disks that you want to export to Gigas.

5. Execute:

vmkfstools –clonevirtualdisk SERVERNAME.vmdk –diskformat SERVERNAMEgigas.vmdk

6. Repeat the same step for each of the server’s hard disks.

The hard disks are now ready to be uploaded to Gigas’ template import form.