From 6b413e6d617e598aa87c844f8785d564b63e5775 Mon Sep 17 00:00:00 2001 From: rread Date: Wed, 5 Nov 2003 08:35:47 +0000 Subject: [PATCH] - change NETWORKTYPE to NETTYPE, and make sure it can be overridden. --- lustre/tests/replay-dual.sh | 10 +++++----- lustre/tests/replay-single.sh | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lustre/tests/replay-dual.sh b/lustre/tests/replay-dual.sh index faa0412..08f1db2 100755 --- a/lustre/tests/replay-dual.sh +++ b/lustre/tests/replay-dual.sh @@ -13,7 +13,7 @@ mdsfailover_HOST=${mdsfailover_HOST} ost_HOST=${ost_HOST:-`hostname`} client_HOST=${client_HOST:-`hostname`} -NETWORKTYPE=tcp +NETTYPE=${NETTYPE:-tcp} PDSH=${PDSH:-no_dsh} MOUNT=${MOUNT:-/mnt/lustre} @@ -81,10 +81,10 @@ if [ "$PINGER" != "on" ]; then fi # 0-conf client -lconf --zeroconf --mds_uuid mds1_UUID --mds_nid `h2$NETWORKTYPE $mds_HOST` \ - --local_nid `h2$NETWORKTYPE $client_HOST` --profile client_facet --mount $MOUNT -lconf --zeroconf --mds_uuid mds1_UUID --mds_nid `h2$NETWORKTYPE $mds_HOST` \ - --local_nid `h2$NETWORKTYPE $client_HOST` --profile client_facet --mount $MOUNT2 +lconf --zeroconf --mds_uuid mds1_UUID --mds_nid `h2$NETTYPE $mds_HOST` \ + --local_nid `h2$NETTYPE $client_HOST` --profile client_facet --mount $MOUNT +lconf --zeroconf --mds_uuid mds1_UUID --mds_nid `h2$NETTYPE $mds_HOST` \ + --local_nid `h2$NETTYPE $client_HOST` --profile client_facet --mount $MOUNT2 echo $TIMEOUT > /proc/sys/lustre/timeout echo $UPCALL > /proc/sys/lustre/upcall diff --git a/lustre/tests/replay-single.sh b/lustre/tests/replay-single.sh index 65763bc..e3c7d5d 100755 --- a/lustre/tests/replay-single.sh +++ b/lustre/tests/replay-single.sh @@ -20,7 +20,7 @@ mdsfailover_HOST=${mdsfailover_HOST} ost_HOST=${ost_HOST:-`hostname`} client_HOST=${client_HOST:-`hostname`} -NETWORKTYPE=tcp +NETTYPE=${NETTYPE:-tcp} PDSH=${PDSH:-no_dsh} @@ -90,8 +90,8 @@ start ost --reformat $OSTLCONFARGS start mds $MDSLCONFARGS --gdb # 0-conf client -lconf --zeroconf --mds_uuid mds1_UUID --mds_nid `h2$NETWORKTYPE $mds_HOST` \ - --local_nid `h2$NETWORKTYPE $client_HOST` --profile client_facet --mount $MOUNT +lconf --zeroconf --mds_uuid mds1_UUID --mds_nid `h2$NETTYPE $mds_HOST` \ + --local_nid `h2$NETTYPE $client_HOST` --profile client_facet --mount $MOUNT echo $TIMEOUT > /proc/sys/lustre/timeout echo $UPCALL > /proc/sys/lustre/upcall -- 1.8.3.1