summaryrefslogtreecommitdiffstats
path: root/Geo-rep-scripts/config
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/config
parentec0a69e378a90fc8ccc09e2234ab3e0f2ce69182 (diff)
gsync scripts
Diffstat (limited to 'Geo-rep-scripts/config')
-rw-r--r--Geo-rep-scripts/config28
1 files changed, 28 insertions, 0 deletions
diff --git a/Geo-rep-scripts/config b/Geo-rep-scripts/config
new file mode 100644
index 0000000..796c025
--- /dev/null
+++ b/Geo-rep-scripts/config
@@ -0,0 +1,28 @@
+export MNT_PT_NEG_PID="/mntpt1"
+export MNT_PT="/mntpt"
+export VERSION="3.2.1qa2"
+export XTIME_PATH="/root/xattr/bin/xtime.rb"
+#file will be truncated to below value
+export TRUNCATE_SIZE=10
+#
+export TOTAL_SERVERS=4
+#
+##server/bricks
+export BACKEND_SERVER1="10.170.189.232"
+export BACKEND_SERVER2="10.170.229.103"
+export BACKEND_SERVER3="10.170.143.189"
+export BACKEND_SERVER4="10.170.205.102"
+#
+export BACKEND_DIR="/mnt/export1"
+export VOLNAME="gsyncgit"
+#
+function show_backend(){
+for i in {1..4};
+do
+server="BACKEND_SERVER$i"
+machine=`printenv $server`
+#echo "--->$machine"
+ssh laks@$machine "ls -l $BACKEND_DIR"
+ssh laks@machine "/root/xattr/bin/xtime.rb $BACKEND_DIR"
+done
+}