blob: 534890825747a8a216345ce69b26dcaf354c283c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/bash
#LOG_DIR="$DEFAULT_LOG_FILE_DIRECTORY/glusterfs/geo-rep-auto-logs"
LOG_DIR="/usr/local/var/log/geo-rep-auto-logs"
LOG_FILE="$LOG_DIR/geo-rep-auto.log.`date +%Y%m%d-%H%M%S`"
FILE_TYPE="text" # it can text, sparse or tar
nf="5" # number of files in each directory when DIR_STR is MULTI
ns="500" # number of files when DIR_STR is SINGLE
DIR_STR="MULTI" # It can be either SINGLE or MULTI
# Not using this option for now, can be used in the future.
SYNC_MODE="rsync" # this option can take another option "tarssh"
mkdir -p $LOG_DIR
|