From 7b6014ce85b4dfca6616f137665cd00e5624c4b0 Mon Sep 17 00:00:00 2001 From: Ujjwala Date: Thu, 8 Dec 2011 15:08:17 +0530 Subject: gsync scripts --- Geo-rep-scripts/config | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Geo-rep-scripts/config (limited to 'Geo-rep-scripts/config') 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 +} -- cgit