X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fmcr-individual-ost-nogw-config.sh;h=0401bf565cc1124b07359694f3190af85883fb36;hb=e52a140eb7f65a63f07dbb7e2aaff7f9e22974f2;hp=9e3cbd1a2f4165b5014cd2aaf0eb8a889d2c61f9;hpb=371478daf91a8442249007e977d87bb92a763d8f;p=fs%2Flustre-release.git diff --git a/lustre/tests/mcr-individual-ost-nogw-config.sh b/lustre/tests/mcr-individual-ost-nogw-config.sh index 9e3cbd1..0401bf5 100755 --- a/lustre/tests/mcr-individual-ost-nogw-config.sh +++ b/lustre/tests/mcr-individual-ost-nogw-config.sh @@ -9,10 +9,9 @@ LMC_REAL="../../lustre/utils/lmc -m $config" SERVER_START=0 SERVER_CNT=62 -PORT=2432 TCPBUF=1048576 -h2ip () { +h2tcp () { echo "${1}" } BATCH=/tmp/lmc-batch.$$ @@ -23,7 +22,7 @@ save_cmd() { [ -f $config ] && rm $config # Client node -${LMC} --node client --tcpbuf $TCPBUF --net '*' tcp $PORT || exit 1 +${LMC} --add net --node client --tcpbuf $TCPBUF --nid '*' --nettype tcp || exit 1 # this is crude, but effective let server_per_gw=($SERVER_CNT / $GW_CNT ) @@ -33,13 +32,13 @@ let server=$SERVER_START while (( $server < $SERVER_CNT + SERVER_START )); do echo "server: $server" - ba=ba$server + OST=ba$server # server node - ${LMC} --node $ba --tcpbuf $TCPBUF --net $ba tcp $PORT || exit 1 + ${LMC} --add net --node $OST --tcpbuf $TCPBUF --nid $OST --nettype tcp || exit 1 # the device on the server - ${LMC} --node $ba --obdtype=obdecho --ost || exit 3 + ${LMC} --add ost --node $OST --obd obd_$OST --obdtype=obdecho || exit 3 # osc on client - ${LMC} --node client --osc OSC_$ba + ${LMC} --add oscref --node client --osc OSC_obd_$OST let server=$server+1 done