framework icon indicating copy to clipboard operation
framework copied to clipboard

How to Turn On and Off Automatic Virtual Disk Snapshots, My Version 2.10.3

Open Seealso opened this issue 8 years ago • 2 comments

Seealso avatar Jun 03 '18 03:06 Seealso

Hi Seealso There is currently no real straightforward way to disable automatic snapshots. Our snapshotting system does not cause any overhead so we'd never have thought on disabling it with an API call. If you wish to disable automatic snapshotting, you need to change the scheduling interval of the task to 'null':

ovs config get /ovs/framework/scheduling/celery
{"ovs.generic.snapshot_all_vdisks": null}

Editing this entry can be done using ovs config set. The inserted data must be of JSON format

After editing this entry you need to restart ovs-scheduled-tasks on all nodes. The easiest way is to restart the whole framework using ovs stop framework all and then starting it again ovs start framework all

JeffreyDevloo avatar Jun 05 '18 08:06 JeffreyDevloo

Hello, thank you for your reply My current virtual disk does not have an automatic snapshot. I hope to have this feature and can customize the interval. what do I need to do? @JeffreyDevloo

Seealso avatar Jun 05 '18 14:06 Seealso