summaryrefslogtreecommitdiffstats
path: root/Geo-rep-scripts/marker_on_off.sh
diff options
context:
space:
mode:
authorUjjwala <ujjwala@gluster.com>2011-12-08 15:08:17 +0530
committerUjjwala <ujjwala@gluster.com>2011-12-08 15:08:17 +0530
commit7b6014ce85b4dfca6616f137665cd00e5624c4b0 (patch)
treed208987ebcbcdec5d27fbf15488acb30e54cd6c9 /Geo-rep-scripts/marker_on_off.sh
parentec0a69e378a90fc8ccc09e2234ab3e0f2ce69182 (diff)
gsync scripts
Diffstat (limited to 'Geo-rep-scripts/marker_on_off.sh')
-rw-r--r--Geo-rep-scripts/marker_on_off.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/Geo-rep-scripts/marker_on_off.sh b/Geo-rep-scripts/marker_on_off.sh
new file mode 100644
index 0000000..64a4cc0
--- /dev/null
+++ b/Geo-rep-scripts/marker_on_off.sh
@@ -0,0 +1,11 @@
+source ./config
+for i in {1..25};do
+/opt/glusterfs/$VERSION/sbin/gluster volume set $VOLNAME xtime-marker off
+/opt/glusterfs/$VERSION/sbin/gluster volume info $VOLNAME
+ps aux | grep gluster
+sleep 2;
+/opt/glusterfs/$VERSION/sbin/gluster volume set $VOLNAME xtime-marker on
+/opt/glusterfs/$VERSION/sbin/gluster volume info $VOLNAME
+ps aux | grep gluster
+sleep 2;
+done