3 config=${1:-echo-no-gw.xml}
6 LMC_REAL="../../lustre/utils/lmc -m $config"
18 BATCH=/tmp/lmc-batch.$$
23 [ -f $config ] && rm $config
26 ${LMC} --node client --tcpbuf $TCPBUF --net '*' tcp $PORT || exit 1
28 # this is crude, but effective
29 let server_per_gw=($SERVER_CNT / $GW_CNT )
30 let tot_server=$server_per_gw*$GW_CNT
32 let server=$SERVER_START
33 while (( $server < $SERVER_CNT + SERVER_START ));
35 echo "server: $server"
38 ${LMC} --node $ba --tcpbuf $TCPBUF --net $ba tcp $PORT || exit 1
39 # the device on the server
40 ${LMC} --node $ba --obdtype=obdecho --ost || exit 3
42 ${LMC} --node client --osc OSC_$ba
46 $LMC_REAL --batch $BATCH