Templates sharing

Latest response

Hi all!

I have found in documentation that templates can be shared between different storage domains and datacenters using export/import on export domain. And how about sharing templates between different RHEV Managers?

Is there a possibility to prepare a template with installed OS and applications and export it to any RHEV infrastructure with Manager, hypervisor, storage and so on?

 

I have explored my external domain that I used for template exporting and have found the sophisticated structure of dirs and  files:

 

./dom_md

./dom_md/leases

./dom_md/ids

./dom_md/inbox

./dom_md/outbox

./dom_md/metadata

./images

./images/bb4f24c1-8b36-41cf-99a0-8f6e16a58f68

./images/bb4f24c1-8b36-41cf-99a0-8f6e16a58f68/98c4f26f-609d-4a19-bd78-350d5e78937d

./images/bb4f24c1-8b36-41cf-99a0-8f6e16a58f68/98c4f26f-609d-4a19-bd78-350d5e78937d.meta

./images/1ae42502-e143-4c48-94df-5bed01d5d7d7

./images/1ae42502-e143-4c48-94df-5bed01d5d7d7/876bd619-cdea-4785-9ffb-486a90ae0ade

./images/1ae42502-e143-4c48-94df-5bed01d5d7d7/876bd619-cdea-4785-9ffb-486a90ae0ade.meta

./images/7cbba2a8-d57c-4592-ae34-cca41b489ec0

./images/7cbba2a8-d57c-4592-ae34-cca41b489ec0/8034405e-5547-4e90-8f53-31032060e2ef

./images/7cbba2a8-d57c-4592-ae34-cca41b489ec0/8034405e-5547-4e90-8f53-31032060e2ef.meta

./images/65899b3a-b970-4449-957c-c83d0a49c7a2

./images/65899b3a-b970-4449-957c-c83d0a49c7a2/ee4bd829-6763-4857-a894-eb0e2fd27456

./images/65899b3a-b970-4449-957c-c83d0a49c7a2/ee4bd829-6763-4857-a894-eb0e2fd27456.meta

./master

./master/vms

./master/vms/69222f39-2589-44a9-bc8a-faf022ff53ff

./master/vms/69222f39-2589-44a9-bc8a-faf022ff53ff/69222f39-2589-44a9-bc8a-faf022ff53ff.ovf

./master/vms/37996378-115c-4ec7-a7ab-6093e4c6d30a

./master/vms/37996378-115c-4ec7-a7ab-6093e4c6d30a/37996378-115c-4ec7-a7ab-6093e4c6d30a.ovf

./master/tasks

 

Will this work if I’ll create an archive with this data, put it on another storage, unpack and attach to another RHEV infrastructure? Is there any dependencies between export domains and RHEV-M database?

 

Thanks in advance!

Responses

export domains are specifically made for this - once you detach an export domain from a data center, you can attach that NFS exportto another RHEV-M or another data center with no problems. 

If you need to carry it to another location, an NFS share is just files, so as long as you export it the same way and the file permissions are intact, another RHEV-M should be able to locate this export domain, attach it and import the VMs and templates located on this export domain.