[Bugs] [Bug 1309191] [RFE] Schedule Geo-replication

bugzilla at redhat.com bugzilla at redhat.com
Tue Mar 8 10:00:09 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1309191



--- Comment #4 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/13510 committed in release-3.7 by Aravinda VK
(avishwan at redhat.com) 
------
commit eae63bbcdaf6ec6ae5340b51bd05c476c791e38b
Author: Aravinda VK <avishwan at redhat.com>
Date:   Wed Feb 24 18:18:12 2016 +0530

    geo-rep: Script to Schedule Geo-replication

    This script can be used to run Geo-replication when required. can be
    scheduled using cron job to run Geo-replication.

    This script does the following,
      1. Stop Geo-replication if Started
      2. Start Geo-replication
      3. Set Checkpoint
      4. Check the Status and see Checkpoint is Complete.(LOOP)
      5. If checkpoint complete, Stop Geo-replication

    Usage:
        python /usr/share/glusterfs/scripts/schedule_georep.py <MASTERVOL> \
                     <SLAVEHOST> <SLAVEVOL>

    For example,
        python /usr/share/glusterfs/scripts/schedule_georep.py gv1 fvm1 gv2

    To schedule the Geo-replication to run once in a day using cron,
       # Run daily at 08:30pm
          30 20 * * * root python
/usr/share/glusterfs/scripts/schedule_georep.py \
                --no-color gv1 fvm1 gv2 >>
/var/log/glusterfs/schedule_georep.log 2>&1

    BUG: 1309191
    Signed-off-by: Aravinda VK <avishwan at redhat.com>
    Reviewed-on: http://review.gluster.org/13279
    Change-Id: Ie1507be00afd9ff189bb1664b156328dced4076a
    Reviewed-on: http://review.gluster.org/13510
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Kotresh HR <khiremat at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=GRU7d3fTl2&a=cc_unsubscribe


More information about the Bugs mailing list