Whamcloud - gitweb
new file
authorrread <rread>
Thu, 8 Aug 2002 07:38:45 +0000 (07:38 +0000)
committerrread <rread>
Thu, 8 Aug 2002 07:38:45 +0000 (07:38 +0000)
lustre/tests/uml.sh [new file with mode: 0644]

diff --git a/lustre/tests/uml.sh b/lustre/tests/uml.sh
new file mode 100644 (file)
index 0000000..bff0da3
--- /dev/null
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+config=uml.xml
+LMC=../utils/lmc
+
+echo "FIXME: autoformat is no by default, edit $config to change"
+
+# create nodes
+${LMC} -o $config --node uml1 --net uml1 tcp 
+${LMC} -m $config --node uml2 --net uml2 tcp 
+${LMC} -m $config --node uml3 --net uml3 tcp 
+
+# configure mds server
+${LMC} -m $config  --node uml1 --mds mds1 /tmp/mds1 50000
+
+# configure ost
+${LMC} -m $config  --lov lov1 mds1 65536 0 0
+${LMC} -m $config  --node uml2 --lov lov1 --ost /tmp/ost1 100000
+${LMC} -m $config  --node uml2 --lov lov1 --ost /tmp/ost2 100000
+# is this needed?
+# ${LMC} -m $config  --node uml2 --mdc MDC_mds1
+
+# create client config
+${LMC} -m $config  --node uml3 --mtpt /mnt/lustre mds1 lov1
+