Request #427

Multi-repository for virtual machines images

Added by javier diaz almost 9 years ago. Updated over 7 years ago.

Status:ClosedStart date:12/06/2010
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Pull request:

Description

Hi,
I would like to have the possibility to specify an external image repository in OpenNebula. The idea is to connect OpenNebula to an external repository, so that when I deploy the VM, its image will be copied directly to the node where OpenNebula has decided to do it.

We could create external repository's alias and their images would be called as <repository_alias>:<image_name> or something like that. These alias would allows to keep external images in the OpenNebula image catalog (but they would not be copied to the local VM directory). Of course, it must be some daemon to verify that the repositories and their images are available or not.

Thanks,
Javi

History

#1 Updated by javier diaz almost 9 years ago

Hi,
I would also like to save a running VM in the external repository by adding some option to the "onevm saveas ..." command.

Thanks,
Javi

#2 Updated by Tino Vázquez almost 9 years ago

There is currently a way to achieve the multi repository scenario, avoiding unnecessary image transfer hops between the different repositories and the chosen physical host to run the VM based on the image.

The technique would be to set the repositories as http servers, and then registering the images in the image catalog using the SOURCE tag pointing to the corresponding repository's http server:

SOURCE = "http://<repositoy-server-machine>/path/to/image

Whenever the VM is placed on a particular host, the TM will transfer the image directly from the http repo to the physical node.

#3 Updated by Ruben S. Montero over 7 years ago

  • Status changed from New to Closed

This is now implemented as for 3.4

Also available in: Atom PDF