path: root/
diff options
authorAvra Sengupta <>2015-02-09 18:03:20 +0530
committerVijay Bellur <>2015-03-18 18:31:54 -0700
commit7c4461329bba38b72536ee71a8172bc861ddf890 (patch)
treec9cb709f17892f20b3e3addafad5f62a41590b1e /
parent3e18f093974c85ac92a4c48f0cd13aa9ff9c5cac (diff)
snapshot/scheduling: A cron based scheduler for snapshot scheduling
GlusterFS volume snapshot provides point-in-time copy of a GlusterFS volume. Currently, GlusterFS volume snapshots can be easily scheduled by setting up cron jobs on one of the nodes in the GlusterFS trusted storage pool. This has a single point failure (SPOF), as scheduled jobs can be missed if the node running the cron jobs dies. The solution to the above problems is addressed in this patch. The helper script expects the user to install the argparse python module before using it. Further details for the same are available at: Change-Id: I2c357af5b7d3e66f270d20eef50cdeecdcbe15c7 BUG: 1198027 Signed-off-by: Avra Sengupta <> Signed-off-by: Aravinda VK <> Reviewed-on: Tested-by: Gluster Build System <> Reviewed-by: Vijay Bellur <>
Diffstat (limited to '')
1 files changed, 6 insertions, 0 deletions
diff --git a/ b/
index 8325b44c409..78970964172 100644
--- a/
+++ b/
@@ -1054,6 +1054,9 @@ fi
%dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/start/post
%dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/stop
%dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/stop/pre
+install -p -m 0744 extras/snap_scheduler/ %{_sbindir}/
+install -p -m 0744 extras/snap_scheduler/ %{_sbindir}/
%ghost %attr(0644,-,-) %config(noreplace) %{_sharedstatedir}/glusterd/
%ghost %attr(0600,-,-) %{_sharedstatedir}/glusterd/options
@@ -1101,6 +1104,9 @@ fi
* Tue Mar 03 2015 Aravinda VK <>
- Included glusterfind files as part of server package.
+* Sun Mar 1 2015 Avra Sengupta <>
+- Added installation of snap-scheduler
* Thu Feb 26 2015 Kaleb S. KEITHLEY <>
- enable cmocka unittest support only when asked for (#1067059)