Shareable persistent disk image between several VMs
I'm using UpenNebula 4.12.1.
I want to share a persistent image between two VMs to set up an Oracle Cluster Filesitem 2.
Libvirt support option <shareable/> for this case, for example, a piece of xml config below.
<disk type='block' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source dev='/var/lib/kvm/disk.1'/> <target dev='vdb' bus='virtio'/> <shareable/> <address type='pci' domain='0x0000' bus='0x02' slot='0x04' function='0x0'/> </disk>
But OpenNebula by design can not use the same persistent image in more than one VM.
This is a great disadvantage.
Maybe is it possible to hack the current OpenNebula version for use <shareable/> option for images?
Maybe possible to add some custom Attributes to image or some other solution?
In any case it is necessary to consider the function "Shareable persistent disk image between several VMs"