Whamcloud - gitweb
- fixes from santa fe
[fs/lustre-release.git] / lustre / tests / lustre.cfg
1 #!/bin/sh
2
3 # Common configuration options
4 # Config file for setting up a remote server with a real OST
5 NETWORK=tcp
6 LOCALHOST=`hostname`
7 SERVER=$LOCALHOST
8 OSTNODE=$LOCALHOST
9 CLIENTS=*
10 #SERVER=dev4
11 #OSTNODE=dev4
12 PORT=2432
13
14 # Config file for setting up the lock manager
15 SETUP_LDLM=y
16
17 #case `echo $LOCALHOST | sed "s/\.[^|]*//"` in
18 case $LOCALHOST in
19 $SERVER)
20         # Config for setting up a metadata server
21         MDSFS=extN
22         MDSDEV=/tmp/mds
23         MDSSIZE=50000
24         SETUP_MDS=y
25         ;;
26 esac
27
28 case $LOCALHOST in
29 $OSTNODE)
30         # Config for setting up an object storage target with obdfilter
31         OSTDEV=/tmp/ost
32         OSTSIZE=200000
33         OSTFS=extN
34         OSTTYPE=obdfilter
35         SETUP_OST=y
36         ;;
37 esac
38
39 case $LOCALHOST in
40 $CLIENTS)
41         # Config for setting up a client filesystem mount
42         SETUP_MDC=y
43         SETUP_OSC=y
44         OSCMT=/mnt/lustre
45         SETUP_MOUNT=y
46         ;;
47 esac