A transfer manager is composed of a set of scripts, which get executed for a particular action by the frontend using two parameters,
SRC
and
DST
. These two parameters have the form host
:path
.
In the following diagram, you will see how OpenNebula requests the required storage operations during a VM launch, how the transfer manager handles them and acts on the Image Repository and host's storage accordingly.
The available actions of a transfer manager are as follows:
CLONE: This is used to create a copy of the image from
SRC
toDST
when deploying a virtual machine without persistent storage from an Image Repository.LN: This is used to create a symbolic link in
DST
that points toSRC
when deploying a virtual machine with persistent storage from an Image Repository.MKSWAP: This is used to generate a swap image in
DST
; its size is specified inSRC
in MBs.MKIMAGE: This is used to create a disk image in
DST
and populate it with the files inside theSRC
directory.DELETE...