Re: [DISCUSS] Storage-based Snapshots for KVM VMs

2019-11-11 Thread Slavka Peleva
Hi Sven, If you are asking if a VM will break if it is left fs-frozen for an extended period of time, in our experience, we have not observed such a case. We have seen a VMs fs-frozen by mistake for hours and after fs-thaw they continue operating normally. In the code there is currently no hard li

Re: [DISCUSS] Storage-based Snapshots for KVM VMs

2019-11-11 Thread Slavka Peleva
Hello Andrija, We totally agree that it needs to be tested. This one of the reasons we have implemented it as an opt-in feature. As a side note - there are no changes in the current storage providers implementation. We just use the existing logic to take disk snapshots. So far we have tested with

Re: [DISCUSS] Storage-based Snapshots for KVM VMs

2019-11-08 Thread Sven Vogel
Hi Slavka, Hi Andrija, Sounds really cool. From you explaination I understand that if the machine is freezed you call a snapshot command for each disk and then thaw the vm. Right? How long we can freeze the vm? Is there any known time how long it’s possible? Thanks Sven Von meinem iPhone ges

Re: [DISCUSS] Storage-based Snapshots for KVM VMs

2019-11-08 Thread Andrija Panic
Hi Slavka, If I read that correctly, your proposal seems to be around allowing to take snapshots of all volumes simultaneously, thus improving the current (useless...) logic where you can snap only single disk at a time (which makes i.e. DB server restoration impossible). This sounds interesting,

Re: [DISCUSS] Storage-based Snapshots for KVM VMs

2019-11-08 Thread Slavka Peleva
Hi Sven, The procedure is: 1. fsfreeze all disks of the VM with help of qemu-guest-agent. If this fails, the operation is aborted 2. Take snapshot of each disk of the VM through the storage provider's takeSnapshot call 3. fsthaw the VM 4. Backup the snapshots on secondary storage if it is ena

Re: [DISCUSS] Storage-based Snapshots for KVM VMs

2019-11-07 Thread Sven Vogel
Hi Slavka, Thanks for the answers Slavka! I have another question. You wrote: Those storage providers plugins are already in CloudStack - like Solidfire, Cloudbyte and etc. It doesn't break the functionality we just use the existing implementation of every storage plugin for do the snapshotting.

Re: [DISCUSS] Storage-based Snapshots for KVM VMs

2019-11-07 Thread Slavka Peleva
Hi Sven, Thank you for your questions! My answers are below. Kind regards, Slavka > > Thanks for your mail/contribution. You implemention sounds interesting. > > Let me ask some questions. > > 1. If you speak for RAW Disks you mean. Right? > create/revert/delete disk snapshots. The snapshots w

Re: [DISCUSS] Storage-based Snapshots for KVM VMs

2019-11-07 Thread Sven Vogel
Hi Slavka, Thanks for your mail/contribution. You implemention sounds interesting. Let me ask some questions. 1. If you speak for RAW Disks you mean. Right? Am 07.11.2019 um 14:17 schrieb Slavka Peleva : > > Hello everyone, > > My name is Slavka Peleva and I work for StorPool Storage. I have re

[DISCUSS] Storage-based Snapshots for KVM VMs

2019-11-07 Thread Slavka Peleva
Hello everyone, My name is Slavka Peleva and I work for StorPool Storage. I have recently joined the mailing list. Me and my colleagues have been working over а new feature for storage-based live VM snapshots under the KVM hypervisor. With the current implementation (which is using libvirt to per