3 config=${1:-echo-no-gw.xml}
6 LMC_REAL="../../lustre/utils/lmc -m $config"
17 BATCH=/tmp/lmc-batch.$$
22 [ -f $config ] && rm $config
25 ${LMC} --add net --node client --tcpbuf $TCPBUF --nid '*' --nettype tcp || exit 1
27 # this is crude, but effective
28 let server_per_gw=($SERVER_CNT / $GW_CNT )
29 let tot_server=$server_per_gw*$GW_CNT
31 let server=$SERVER_START
32 while (( $server < $SERVER_CNT + SERVER_START ));
34 echo "server: $server"
37 ${LMC} --add net --node $OST --tcpbuf $TCPBUF --nid $OST --nettype tcp || exit 1
38 # the device on the server
39 ${LMC} --add ost --node $OST --obd obd_$OST --obdtype=obdecho || exit 3
41 ${LMC} --add oscref --node client --osc OSC_obd_$OST
45 $LMC_REAL --batch $BATCH