Diferencia entre revisiones de «Import Templates»

De GIGAS DOCS
Saltar a: navegación, buscar
 
Línea 33: Línea 33:
 
<p>'''- vhd'''</p>
 
<p>'''- vhd'''</p>
  
<p>Para importar las imágenes a Gigas, sólo debes “arrastrar” la plantilla desde tu PC o portátil al
+
<p>To import templates to Gigas, just “drag” the template from your PC or laptop to the form in the
formulario en el Panel de Control, y la plantilla comenzará a descargarse automáticamente.</p>
+
Control Panel; the template will begin to download automatically.
 +
</p>
  
<p>Si tu conexión a Internet se interrumpe, no te preocupes, puedes volver a usar el formulario de
+
<p>If your internet connection is interrupted, don’t worry; you can use the upload form again and
subida y retomar la subida de la imagen desde el punto en el que se cortó.</p>
+
resume uploading the template from the moment the connection was interrupted.</p>
  
 
<p>'''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.'''</p>
 
<p>'''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.'''</p>
Línea 43: Línea 44:
  
  
''' 2. Nuevo apartado del Panel – Imágenes e ISOs'''
+
''' 2. A new section of the Panel – Templates and ISOs'''
  
<p>En el Panel de Control de Gigas aparece una nueva opción para gestionar tanto imágenes de
+
<p>Gigas’ Control Panel has a new option for managing templates as well as ISO CD templates
máquinas virtuales como imágenes ISO de CD.</p>
+
from virtual machines.</p>
  
<p>Esta opción se encuentra en el menú izquierdo del Panel.</p>
+
<p>This option is on the left-hand menu of the Panel.</p>
  
 
[[Archivo:Importacion_templates1.png]]
 
[[Archivo:Importacion_templates1.png]]
  
<p>Desde esta nueva sección podemos eliminar, añadir, y modificar imágenes de sistema operativo
+
<p>Via this new section you can remove, add, and modify operating system templates or CD
o imágenes de CD.</p>
+
templates.</p>
  
<p>También es posible descargar dichas imágenes e ISOs para volver a tenerlas en tu PC o portátil.
+
<p>You can also download these templates and ISOs to have them on your PC or laptop again.
Recuerda que solo podrás descargar las plantillas o imágenes que previamente hayas subido al
+
Remember that you can only download templates that have been previously uploaded to the
sistema.</p>
+
system.</p>
  
  
  
''' 3. Subida de imágenes o plantillas '''  
+
''' 3. Uploading templates '''  
  
<p>Para subir una nueva plantilla o imagen a Gigas, sólo hay que pulsar sobre el botón “Subir una
+
<p>To upload a new template to Gigas, just click on the “Upload a new Template” button in the
nueva Imagen” en el Panel de Imágenes e ISOs.</p>
+
Templates and ISO Panel.</p>
  
<p>Se abrirá la siguiente pantalla.</p>
+
<p>The following window will open</p>
  
 
[[Archivo:Importacion_templates2.png]]
 
[[Archivo:Importacion_templates2.png]]
  
<p>Buscamos en nuestro PC o portátil el fichero con la imagen de Servidor Virtual o disco duro que
+
<p>Look in your PC or laptop for the file with the template of the Virtual Server or hard disk that
queremos subir, y, pulsando con el botón izquierdo del ratón, arrastramos la imagen al cuadro
+
you want to upload, then use the left mouse button to drag the template to the “Drag and drop
“Arrastra y suelta un archivo”.</p>
+
a file” box. </p>
  
<p>También es posible, pulsando sobre el botón “Selecciónalo de tu ordenador”, buscar el archivo
+
<p>You can also look for the file on your local hard drive by clicking on the “Select from your
en tu disco duro local asociar esta imagen a uno de tus Cloud Datacenter en Gigas, debido a que
+
computer” button; this will link the template with one of your Cloud Datacenters at Gigas as it
puede estar en diferentes localizaciones geográficas dentro de nuestro Cloud.</p>
+
may be in different geographical locations within our Cloud.</p>
  
<p>Si tuviste un corte de conexión a la hora de subir esta imagen, y la acción quedó sin completar,
+
<p>If your connection was interrupted while uploading the template and the action was not
cuando vuelvas a lanzarla aparecerá el progreso de subida de dicha imagen en el formulario, ya
+
completed, the upload progress of that template will appear in the upload form as it detects
que detecta que es un archivo cuya subida se inició en un momento anterior. La imagen
+
that the upload of the file had already begun. The template will start to upload from the moment
comenzará a subir desde el punto en el que se cortó.</p>
+
it was interrupted.</p>
  
<p>Tras pulsar sobre el botón “Subir”, inmediatamente comenzará el proceso de subida.</p>
+
<p>After clicking on the “Upload” button, the upload process will begin immediately.</p>
  
 
[[Archivo:Importacion_templates3.png]]
 
[[Archivo:Importacion_templates3.png]]
  
<p>Al finalizar, la nueva imagen aparecerá en el listado de Imágenes en el Panel para que la puedas
+
<p>When it has finished, the new template will appear on the Templates list on the Panel; you
seleccionar y conectar a un servidor virtual como si fuera un CD más.</p>
+
can now select it and connect to a virtual server just as if it was a CD.</p>
  
<p>El espacio ocupado por esta imagen se añade al espacio de backup de tu producto de Cloud
+
<p>The space taken up by this template is added to the backup space of your Cloud Datacenter
Datacenter.</p>
+
product.</p>
  
<p>La imagen tardará unos minutos en estar disponible. Esto es debido a las conversiones y
+
<p>It will take a few minutes before the template is available. This is due to the conversions and
comprobaciones que se realizan en tu imagen para convertirla a formato RAW.</p>
+
checks that are made to your template to convert it to RAW format.</p>
  
 
[[Archivo:Importacion_templates4.png]]
 
[[Archivo:Importacion_templates4.png]]
  
''' 4. Importar imágenes o plantillas via HTTP'''
+
''' 4. Importing templates via HTTP
 +
'''
  
<p>También es posible que nos especifiques la URL en donde se encuentra tu imagen, y nosotros
+
<p>You can also notify us as to where your URL template is located and we will take care of
nos encargamos de descargarla, comprobarla, convertirla, y ponerla a tu disposición en el Panel. </p>
+
downloading, checking, converting, and making it available to you on the Panel.</p>
  
<p>Para ello utilizamos el formulario específico para subir una imagen desde una URL.</p>
+
<p>To do this we use a specific form to upload a template from a URL. We accept the</p>
  
<p>Aceptamos URLs HTTP, HTTPS y FTP. Puertos 80, 443 y 20-21.</p>
+
<p>following URLs: HTTP, HTTPS and FTP. Ports 80, 443 and 20-21.1</p>
  
<p>Si utilizas HTTPS, te recomendamos que verifiques antes los certificados, debido a que la imagen
+
<p>If you use HTTPS, we recommend that you verify the certificates beforehand as if there is an
no descargará si existe algún error.</p>
+
error the template will not download.</p>
  
 
[[Archivo:Importacion_templates5.png]]
 
[[Archivo:Importacion_templates5.png]]
  
''' 5. Restaurar una imagen en un disco'''
+
''' 5. Restoring a template to a disk'''
  
<p>Además de crear nuevos Servidores Cloud completos, ofrecemos la opción ahora de restaurar
+
<p>In addition to creating new full Cloud Servers, we now offer the option of restoring a template
una imagen en un disco duro secundario en tu Servidor.</p>
+
to a secondary hard disk on your server.</p>
  
<p>Esto se hace a través del formulario de restauración, en la sección de Imágenes e ISOs.</p>
+
<p>This is done using the restoration form, found in the Templates and ISO section.</p>
  
 
[[Archivo:Importacion_templates6.png]]
 
[[Archivo:Importacion_templates6.png]]
  
<p>También es posible restaurar un backup directamente a un disco duro del servidor.</p>
+
<p>It is also possible to restore a backup directly to a server’s hard disk.</p>
  
''' 6. Creación de un Servidor Cloud desde una Imagen'''
+
''' 6. Creating a Cloud Server from a template'''
  
<p>Para crear un nuevo Servidor Virtual desde una de tus Imágenes, tan solo tienes que pulsar sobre
+
<p>To create a new Virtual Server from one of your Templates, just click on the “Create New Server”
el botón de Crear nuevo Servidor y en la sección “Mis Imágenes”, aparecerá un desplegable con
+
button and a drop-down menu will appear with the templates you have imported to Gigas in the
tus imagenes importadas a Gigas.</p>
+
“My Templates” section.</p>
  
 
[[Archivo:Importacion_templates7.png]]
 
[[Archivo:Importacion_templates7.png]]
  
<p>IMPORTANTE: Al instalar tu servidor plantilla diferente a las ofrecidas oficialmente por GIGAS,
+
<p>'''IMPORTANT: When installing your template server that is different from those officially offered
algunas de las opciones del panel de control podrían no funcionar, o directamente encontrarse
+
by GIGAS, some of the control panel options may not work, or may be directly disabled.'''</p>
deshabilitadas. </p>
+
  
''' 7. Creación de una imagen desde un Servidor Cloud'''
+
''' 7. Creating a template from a Cloud Server'''
  
<p>Para crear una imagen desde un Servidor Cloud ya existente, hay que seguir los siguientes pasos:</p>
+
<p>To create a template from an existing Cloud Server, follow these steps:</p>
* Crear un backup del disco duro del servidor que queramos convertir en imagen.
+
* Create a backup of the hard disk of the server that you want to convert to a template
* En la sección de Backups de ese Servidor Cloud, pulsar sobre la opción de Convertir a Imagen.
+
* In the Backups section of that Cloud Server, click on the “Convert to Template” option.
  
<p>Esa nueva plantilla aparecerá disponible para poder instalar Servidores Cloud a partir de ese
+
<p>This new template will be available for installing Cloud Servers from that moment onwards.</p>
momento.</p>
+
  
8. Cómo exportar imágenes de Servidores de VMware al nuevo
+
8. How to export templates from VMware Servers to Gigas’
sistema de subida de imágenes de Gigas
+
new template upload system
  
<p>Debes tener en cuenta que en GIGAS cada servidor puede tener varios discos duros por lo que
 
cada imagen subida a Gigas debe contener un único disco duro, con el cual luego se pueden
 
ensamblar servidores.</p>
 
  
<p>A continuación, facilitamos una breve guía para exportar los discos duros de un servidor con
+
<p>Keep in mind that with GIGAS each server can have several hard disks so each template uploaded
Windows 2003 / 2008 o Linux a una imagen válida para Gigas.</p>
+
to Gigas must contain a single hard disk which can then be used to build servers.</p>
  
<p>(Recuerda que ya no hay soporte por parte de Microsoft de los servidores con Windows 2003,
+
<p>Here is a quick guide to exporting hard disks from a Windows 2003/2008 or Linux server to a
aunque lo incluimos en esta breve guía por compatibilidad con muchos usuarios que aún tienen
+
valid Gigas template.</p>
aplicaciones en esta versión de sistema operativo).</p>
+
  
''' GUIA PARA EXPORTACIÓN DE IMÁGENES '''
+
<p>(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.)</p>
  
<p>1. Desinstala las VMWare Tools /tanto en Windows como en Linux).</p>
+
''' GUIDE FOR EXPORTING TEMPLATES '''
<p>2. En caso de ser Windows 2003, aplicaremos el parche
+
 
 +
<p>1. Uninstall VMWare Tools /both for Windows as well as Linux).</p>
 +
<p>2. In the case of Windows 2003, apply this patch
 
http://download.qnap.com/Storage/Others/Virtualization_Station/MergeIDE.zip</p>
 
http://download.qnap.com/Storage/Others/Virtualization_Station/MergeIDE.zip</p>
<p>3. Activamos el acceso por SSH en el VMware ESX en el cual reside la VM que vamos a
+
<p>3. Enable SSH access on the VMware ESX where the VM you want to export resides</p>
exportar.</p>
+
<p>4. Clone the disks that you want to export to Gigas.</p>
<p>4. Clonamos los discos que vamos a exportar a Gigas.</p>
+
<p>5. Execute:</p>
<p>5. Ejecutamos:</p>
+
 
<p>vmkfstools –clonevirtualdisk SERVERNAME.vmdk –diskformat SERVERNAMEgigas.vmdk</p>
 
<p>vmkfstools –clonevirtualdisk SERVERNAME.vmdk –diskformat SERVERNAMEgigas.vmdk</p>
<p>6. Repetimos el mismo paso por cada disco duro del servidor.</p>
+
<p>6. Repeat the same step for each of the server’s hard disks.</p>
  
<p>De esta forma ya tienes preparados los discos duros para ser subidos al formulario de
+
<p>The hard disks are now ready to be uploaded to Gigas’ template import form.</p>
importación de imágenes de Gigas.</p>
+

Revisión actual del 19:58 16 mar 2017

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.