Multi-repository for virtual machines images
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.
#2 Updated by Tino Vázquez over 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.