FSNAME=lustre

TSTUSR=lquota_1
TSTGRP=lquota_1
TSTID=60001
TSTUSR2=lquota_2
TSTGRP2=lquota_2
TSTID2=60002
SANITY_QUOTA_USERS="lquota_3 lquota_4 lquota_5 lquota_6 lquota_7 lquota_8 \
	lquota_9 lquota_10 lquota_11 lquota_12 lquota_13 lquota_14 lquota_15 \
	lquota_16 lquota_17 lquota_18 lquota_19 lquota_20 lquota_21 lquota_22 \
	lquota_23 lquota_24 lquota_25 lquota_26 lquota_27 lquota_28 lquota_29 \
	lquota_30 lquota_31 lquota_32"

MPI_USER=root
FAIL_ON_ERROR=false

mds_HOST=service337
MDSDEV=/dev/sdc1
mgs_HOST=service337
MDSDEV1=/dev/sdc1
OSTCOUNT=2	#jlan
ost_HOST=service361
ost1_HOST=service361
ost2_HOST=service362		#jlan
OSTDEV1=/dev/sdb1	 #jlan
OSTDEV2=/dev/sdb1	 #jlan
MDSSIZE=${MDSSIZE:-2000000}
OSTSIZE=${OSTSIZE:-2000000}

MDS_MOUNT_OPTS="-o errors=panic,acl,noextents"
OST_MOUNT_OPTS="-o errors=panic,mballoc,extents"
POWER_DOWN="ssh admin cpower --node --off"
POWER_UP="ssh admin cpower --node --boot"

export REFORMAT="--reformat"
NETTYPE=o2ib
PDSH="pdsh -S -w"
export TMP="/var/acc-sm"		# avoid out of space in /tmp

export MOUNT=/mnt/nbp0-1
export MOUNT2=/mnt/nbp0-2
export SHARED_DIRECTORY=/var/acc-sm-shared	# bug 17839 comment 65

. $LUSTRE/tests/cfg/local.sh
echo "MDSSIZE=$MDSSIZE, OSTSIZE=$OSTSIZE."

CLIENT1=${CLIENT1:-`hostname`}
SINGLECLIENT=$CLIENT1
RCLIENTS=${RCLIENTS:-""}

# bz 20918
SERVER_FAILOVER_PERIOD=${SERVER_FAILOVER_PERIOD:-((60 * 12))}

#MPIRUN="/nasa/mvapich2/1.2p1/intel-PIC/bin/mpirun_rsh"
MPIRUN="mpirun_rsh"	# This must be set after local.sh  --jlan
MPIRUN_OPTIONS="-ssh"
MACHINEFILE_OPTION="-hostfile"

# for recovery scale tests
# default boulder cluster iozone location
export PATH=/opt/iozone/bin:$PATH
LOADS="dd tar dbench iozone"
CLIENT_LOADS=($LOADS)

# for parallel-scale
cbench_DIR=/nasa/iobench/combilebench
cnt_DIR=/nasa/iobench/connectathon
#mbench_THREADS=1
#simul_THREADS=1
#casc_THREADS=1
#ior_THREADS=1
#write_THREADS=1
#wdisjoint_THREADS=1
#parallel_grouplock_MINTASKS=5
## for PERFORMANCE_SANITY
#THREADS_PER_CLIENT=1		# mdsrate-create-small.sh
#NIM_DIRS=2			# mdsrate-lookup-10dirs.sh


# ENV setting for DBENCH
export DBENCH_LIB=/usr/local/share/doc/dbench/loadfiles

echo "ncli_nas.sh: Before init_clients_lists"
init_clients_lists
echo "ncli_nas.sh: Done init_clients_lists"

[ -n "$RCLIENTS" -a "$PDSH" = "no_dsh" ] && \
    error "tests for remote clients $RCLIENTS needs pdsh != do_dsh " || true

[ -n "$FUNCTIONS" ] && . $FUNCTIONS || true

