diff options
author | Avra Sengupta <asengupt@redhat.com> | 2015-02-09 18:03:20 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-03-18 18:31:54 -0700 |
commit | 7c4461329bba38b72536ee71a8172bc861ddf890 (patch) | |
tree | c9cb709f17892f20b3e3addafad5f62a41590b1e /glusterfs.spec.in | |
parent | 3e18f093974c85ac92a4c48f0cd13aa9ff9c5cac (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 snap_scheduler.py helper script expects the user to install
the argparse python module before using it.
Further details for the same are available at:
http://www.gluster.org/community/documentation/index.php/Features/Scheduling_of_Snapshot
Change-Id: I2c357af5b7d3e66f270d20eef50cdeecdcbe15c7
BUG: 1198027
Signed-off-by: Avra Sengupta <asengupt@redhat.com>
Signed-off-by: Aravinda VK <avishwan@redhat.com>
Reviewed-on: http://review.gluster.org/9788
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r-- | glusterfs.spec.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in index 8325b44c409..78970964172 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -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 +#snap_scheduler +install -p -m 0744 extras/snap_scheduler/snap_scheduler.py %{_sbindir}/ +install -p -m 0744 extras/snap_scheduler/gcron.py %{_sbindir}/ %ghost %attr(0644,-,-) %config(noreplace) %{_sharedstatedir}/glusterd/glusterd.info %ghost %attr(0600,-,-) %{_sharedstatedir}/glusterd/options @@ -1101,6 +1104,9 @@ fi * Tue Mar 03 2015 Aravinda VK <avishwan@redhat.com> - Included glusterfind files as part of server package. +* Sun Mar 1 2015 Avra Sengupta <asengupt@redhat.com> +- Added installation of snap-scheduler + * Thu Feb 26 2015 Kaleb S. KEITHLEY <kkeithle@redhat.com> - enable cmocka unittest support only when asked for (#1067059) |