Whamcloud - gitweb
LU-2742 oi: handle IGIF lookup
[fs/lustre-release.git] / lustre / tests / cfg / ncli.sh
1 . $LUSTRE/tests/cfg/local.sh
2
3 CLIENT1=${CLIENT1:-`hostname`}
4 SINGLECLIENT=$CLIENT1
5 RCLIENTS=${RCLIENTS:-""}
6
7 init_clients_lists
8
9 [ -n "$RCLIENTS" -a "$PDSH" = "no_dsh" ] && \
10                 error "tests for remote clients $RCLIENTS needs pdsh != do_dsh " || true
11
12 [ -n "$FUNCTIONS" ] && . $FUNCTIONS || true
13
14 # for recovery scale tests
15 # default boulder cluster iozone location
16 export PATH=/opt/iozone/bin:$PATH
17
18 LOADS=${LOADS:-"dd tar dbench iozone"}
19 for i in $LOADS; do
20     [ -f $LUSTRE/tests/run_${i}.sh ] || \
21         error "incorrect load: $i"
22 done
23 CLIENT_LOADS=($LOADS)
24
25 # This is used when testing on SLURM environment.
26 # Test will use srun when SRUN_PARTITION is set
27 SRUN=${SRUN:-$(which srun 2>/dev/null || true)}
28 SRUN_PARTITION=${SRUN_PARTITION:-""}
29 SRUN_OPTIONS=${SRUN_OPTIONS:-"-W 1800 -l -O"}