one icon indicating copy to clipboard operation
one copied to clipboard

Shareable disk between VM

Open Madko opened this issue 8 years ago • 3 comments

Enhancement Request

Description

Allow shareable disk between VM

Use case

Of course cache should be disable, and only one VM can write to prevent data corruption. This could be enforced from OpenNebula, but not mandatory.

Use case is classic writer<->readerS scenari One VM can update the data on this shareable disk. All the other VM can only read the data, and mount the disk in ro mode. Of course this is strongly advised to have a clustered FS.

You can already do this kind of setup with libvirt (https://libvirt.org/formatdomain.html cf shareable parameter for disk)

with OpenNebula right know, you can only share the same disk but in readonly mode only (well as far as I know). So it's kind of difficult to update the data.

The idea is to be able to share huge amount of data from this shareable disk without using virtual networks (and only 1 disk on a shared datastore to avoid duplication of data). We can do similar functionnality with any kind of network filesystem (ocfs, iscsi etc) but this means network and heavy configuration inside the VM.

Interface Changes

When you use PERSISTENT=no IMMUTABLE=yes that would be great if ONE honored the READONLY flag. So we can say for 1 VM that READONLY is no (ie write=yes) to easily update the data if needed.

Progress Status

  • [ ] Branch created
  • [ ] Code committed to development branch
  • [ ] Testing - QA
  • [ ] Documentation
  • [ ] Release notes - resolved issues, compatibility, known issues
  • [ ] Code committed to upstream release/hotfix branches
  • [ ] Documentation committed to upstream release/hotfix branches

Madko avatar Dec 21 '17 13:12 Madko

IMHO this issue is a duplicate of #979

MATPOCKuH avatar Mar 07 '18 11:03 MATPOCKuH

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. The OpenNebula Dev Team

stale[bot] avatar Mar 07 '19 11:03 stale[bot]

Duplicate of #727

paczerny avatar Mar 10 '21 16:03 paczerny