OpenNebula / one

The open source Cloud & Edge Computing Platform bringing real freedom to your Enterprise Cloud 🚀
http://opennebula.io
Apache License 2.0
1.19k stars 472 forks source link

Ceph (RBD) group snapshot support #3143

Open hydro-b opened 5 years ago

hydro-b commented 5 years ago

Description Group snapshots in Ceph gives you the possibility to create a consistent snapshot of multiple (RBD) DISK IMAGES in the group at the same time.

Use case VMs that act as for example as database server with several separate DISK IMAGES (separate data / log / wal) can be snapshotted consistently.

Interface Changes Changes needed in CLI / Sunstone to provide a way to create a disk "group" and a separate command option / button resp. to create a group disk snapshot. Changes also in the drivers to provide support for group create, group image add, group image list, group image remove, group rename, group rm, group snap create, group snap rm, group snap rename.

Additional Context AFAIK there is no support for this (yet) in libvirt ...

Progress Status

atodorov-storpool commented 5 years ago

+1

This feature request sounds very reasonable!

For similar functionality currently I am re-purposing the VM Snapshot interface (which is useless for raw devices) with reconfiguration of the KVM's VMM_MAD to execute a custom set of scripts on the front-end instead of the default ones on the hosts.

Works like charm even the disk resize is not affected like the disk snapshots... The customers are using the interface for rolling weekly/daily backups.

stale[bot] commented 3 years ago

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

christian7007 commented 2 years ago

Related with https://github.com/OpenNebula/one/issues/5523