On Jun 28, 2005 09:25 +0800, Ian Jiang wrote:> I am using the same configuration "cplocal.sh" on the tow nodes. I start > the dell-161 first then the del-162, but the client(ie. dell-162) does not > response. > > Could you give me some suggestion? > [root@dell-162 tests]# lconf --node client cplocal.xml > loading module: portals srcdir None devdir libcfs > loading module: ksocknal srcdir None devdir knals/socknal > loading module: lvfs srcdir None devdir lvfs > loading module: obdclass srcdir None devdir obdclass > loading module: ptlrpc srcdir None devdir ptlrpc > loading module: osc srcdir None devdir osc > loading module: lov srcdir None devdir lov > loading module: mdc srcdir None devdir mdc > loading module: llite srcdir None devdir llite > NETWORK: NET_client_tcp NET_client_tcp_UUID tcp 127.0.0.1 988 > removing stale pidfile: /var/run/acceptor-988.pid > OSC: OSC_dell-162_OST_dell-161_MNT_client 1366f_lov1_44e47d5e89 > OST_dell-161_UUI > D > LOV: lov1 1366f_lov1_44e47d5e89 mds1_UUID 0 65536 0 0 > [u''OST_dell-161_UUID''] mds > 1 > MDC: MDC_dell-162_mds1_MNT_client 8f24c_MNT_client_f9807354bd mds1_UUID > MTPT: MNT_client MNT_client_UUID /mnt/lustre mds1_UUID lov1_UUID > > //then it does not response, and I use the "ctl+c". > > Traceback (most recent call last): > File "/usr/sbin/lconf", line 2723, in ? > main() > File "/usr/sbin/lconf", line 2716, in main > doHost(lustreDB, node_list) > File "/usr/sbin/lconf", line 2344, in doHost > for_each_profile(node_db, prof_list, doSetup) > File "/usr/sbin/lconf", line 2214, in for_each_profile > operation(services) > File "/usr/sbin/lconf", line 2229, in doSetup > n.prepare() > File "/usr/sbin/lconf", line 1937, in prepare > ret, val = run(cmd) > File "/usr/sbin/lconf", line 662, in run > return runcmd(cmd) > File "/usr/sbin/lconf", line 652, in runcmd > out = f.readlines() > KeyboardInterruptCheck for messages in /var/log/messages. Also, verify that each host can resolve IP address of other host. For RedHat machines they often have 127.0.0.1 for "hostname", which is wrong. Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc.
Hi! I installed the Lustre-1.2.4 on two machines "dell-161" and "dell-162" (both with redhat as 3.0, kernel 2.4.21). Everything goes well when using "sh local.sh" and "lconf local.xml" on each machine. Now I want to configure a MDS and a OST on dell-161, and a client on "dell-161". I get the "cplocal.sh" by simply modifying the "local.sh" like this: 1. Replace all "localhost" with "dell-161"; 2. Remove the last but one line that configures the dell-161 as a client; 3. Replace "$MOUNT2" with "$MOUNT" in the last line. I am using the same configuration "cplocal.sh" on the tow nodes. I start the dell-161 first then the del-162, but the client(ie. dell-162) does not response. Could you give me some suggestion? Thanks! Here is the details: -------------------------------------------------------- [root@dell-161 tests]# sh cplocal.sh [root@dell-161 tests]# lconf cplocal.xml loading module: portals srcdir None devdir libcfs loading module: ksocknal srcdir None devdir knals/socknal loading module: lvfs srcdir None devdir lvfs loading module: obdclass srcdir None devdir obdclass loading module: ptlrpc srcdir None devdir ptlrpc loading module: ost srcdir None devdir ost loading module: fsfilt_ext3 srcdir None devdir lvfs loading module: obdfilter srcdir None devdir obdfilter loading module: mdc srcdir None devdir mdc loading module: osc srcdir None devdir osc loading module: lov srcdir None devdir lov loading module: mds srcdir None devdir mds NETWORK: NET_dell-161_tcp NET_dell-161_tcp_UUID tcp dell-161 988 OSD: OST_dell-161 OST_dell-161_UUID obdfilter ost1-dell-161 200000 ext3 no 0 0 removing stale pidfile: /var/run/acceptor-988.pid MDSDEV: mds1 mds1_UUID mds1-dell-161 ext3 100000 no [root@dell-161 tests]# ----------------------------------------------------------- [root@dell-162 tests]# sh cplocal.sh [root@dell-162 tests]# lconf --node client cplocal.xml loading module: portals srcdir None devdir libcfs loading module: ksocknal srcdir None devdir knals/socknal loading module: lvfs srcdir None devdir lvfs loading module: obdclass srcdir None devdir obdclass loading module: ptlrpc srcdir None devdir ptlrpc loading module: osc srcdir None devdir osc loading module: lov srcdir None devdir lov loading module: mdc srcdir None devdir mdc loading module: llite srcdir None devdir llite NETWORK: NET_client_tcp NET_client_tcp_UUID tcp 127.0.0.1 988 removing stale pidfile: /var/run/acceptor-988.pid OSC: OSC_dell-162_OST_dell-161_MNT_client 1366f_lov1_44e47d5e89 OST_dell-161_UUI D LOV: lov1 1366f_lov1_44e47d5e89 mds1_UUID 0 65536 0 0 [u''OST_dell-161_UUID''] mds 1 MDC: MDC_dell-162_mds1_MNT_client 8f24c_MNT_client_f9807354bd mds1_UUID MTPT: MNT_client MNT_client_UUID /mnt/lustre mds1_UUID lov1_UUID //then it does not response, and I use the "ctl+c". Traceback (most recent call last): File "/usr/sbin/lconf", line 2723, in ? main() File "/usr/sbin/lconf", line 2716, in main doHost(lustreDB, node_list) File "/usr/sbin/lconf", line 2344, in doHost for_each_profile(node_db, prof_list, doSetup) File "/usr/sbin/lconf", line 2214, in for_each_profile operation(services) File "/usr/sbin/lconf", line 2229, in doSetup n.prepare() File "/usr/sbin/lconf", line 1937, in prepare ret, val = run(cmd) File "/usr/sbin/lconf", line 662, in run return runcmd(cmd) File "/usr/sbin/lconf", line 652, in runcmd out = f.readlines() KeyboardInterrupt ------------------------------------------ cplocal.sh ------------ #!/bin/bash export PATH=`dirname $0`/../utils:$PATH config=${1:-cplocal.xml} LMC="${LMC:-lmc} -m $config" TMP=${TMP:-/tmp} MDSDEV=mds1-dell-161 MDSSIZE=${MDSSIZE:-100000} FSTYPE=${FSTYPE:-ext3} MOUNT=${MOUNT:-/mnt/lustre} MOUNT2=${MOUNT2:-${MOUNT}2} NETWORKTYPE=${NETWORKTYPE:-tcp} OSTDEV=ost1-dell-161 OSTSIZE=${OSTSIZE:-200000} # specific journal size for the ost, in MB JSIZE=${JSIZE:-0} [ "$JSIZE" -gt 0 ] && JARG="--journal_size $JSIZE" MDSISIZE=${MDSISIZE:-0} [ "$MDSISIZE" -gt 0 ] && IARG="--inode_size $MDSISIZE" STRIPE_BYTES=65536 STRIPES_PER_OBJ=0 # 0 means stripe over all OSTs rm -f $config # create nodes ${LMC} --add node --node dell-161 || exit 10 ${LMC} --add net --node dell-161 --nid dell-161 --nettype $NETWORKTYPE || exit 11 ${LMC} --add net --node client --nid ''*'' --nettype $NETWORKTYPE || exit 12 # configure mds server ${LMC} --add mds --nspath /mnt/mds_ns --node dell-161 --mds mds1 --fstype $FSTYPE --dev $MDSDEV --size $MDSSIZE $JARG $IARG || exit 20 # configure ost ${LMC} -m $config --add lov --lov lov1 --mds mds1 --stripe_sz $STRIPE_BYTES --stripe_cnt $STRIPES_PER_OBJ --stripe_pattern 0 || exit 20 ${LMC} --add ost --nspath /mnt/ost_ns --node dell-161 --lov lov1 --fstype $FSTYPE --dev $OSTDEV --size $OSTSIZE $JARG || exit 30 # create client config ${LMC} --add mtpt --node client --path $MOUNT --mds mds1 --lov lov1 || exit 41 -- Ian Jiang Institute of Computing Technology, Chinese Academy of Sciences