On 08/06/2012 12:20 PM, Tamas Monos wrote:
This would be a very welcomed feature in CloudStack. As mentioned earlier customers always want huge volumes for their data and vmware struggles to export them, it takes very long to time IF the export succeeds but many times I get 'Error while taking snapshot' with exceptions all around. End users also seem to struggle to understand the current way of snapshotting (select volume, snapshot volume1,2,3) and the way of restoring (converting to template, re-deploy, attach volumes, reconfigure firewall if advanced network etc). So again, it would be a great feature and would make the end users life a lot more easier.
Agree! I saw the same problem with RBD. That would give the possibility to create volumes of a couple of TB without any problems... Try rolling those back.
Btw, this should work on KVM as well, libvirt supports snapshotting of virtual machines and rolling back as well.
Wido
Regards Tamas Monos DDI +44(0)2034687012 Chief Technical Office +44(0)2034687000 Veber: The Hosting Specialists Fax +44(0)871 522 7057 http://www.veber.co.uk Follow us on Twitter: www.twitter.com/veberhost Follow us on Facebook: www.facebook.com/veberhost -----Original Message----- From: Mice Xia [mailto:[email protected]] Sent: 06 August 2012 03:50 To: [email protected] Subject: [Discuss] VM Snapshot Hi, All, I’d like to propose a new feature ‘VM snapshot’. Currently CS support volume snapshot, which is an EC-2 like public cloud solution. IMO, it addresses problems like ‘what if my volume lost or broke down, or what if my primary storage got an unrecoverable disruption’, in other words, it’s more like a backup solution, and it does take considerable long time to backup and restore, especially for large volumes which are unfortunately favored by customers. What I want to propose is snapshots on VM, just like what Xenserver and VMware ESXi do. It addresses requirement such as 'I want to save everything right now so that I can roll back in the future, and both operations can be done within seconds’, mainly used for private cloud. Plan for the first stage consists of support in Xenserver and ESXi, and draft requirements are as followings: - Create VM snapshot. VM snapshot consists of: its CPU/memory status (for Xenserver it needs enterprise version), and volumes; service offerings. stored in PS, snapshots are removed when VM is expunged. - List snapshots for a specified VM - Rollback VM to a specified VM - Delete a specified snapshot - Does not conflict with volume snapshot - Create and restore should be done within seconds. Before I started off writing some documents on wiki and merge code, I'd like to welcome any comments and flames. Regards Mice
