Hi everyone: I am trying the lustre1.5.95.When the lustre filesystem is setted up,can I change the node''s ip address? I have tried tunefs.lustre to erase the previous parameter and then add --mgsnode parameter,but fail.Any suggestion? Thankyou! _________________________________________________________________ ??????????????? MSN Hotmail? http://www.hotmail.com
Nathaniel Rutman
2006-Dec-22 10:04 UTC
[Lustre-discuss] Can I change the IP(lustre1.5.95)?
You have to use the "--writeconf" option to the MDT to force the logs to be regenerated. Details at https://mail.clusterfs.com/wikis/lustre/MountConf#head-18c689130e5184035dcec1e6e2b49597afdab189 ???? ???? wrote:> Hi everyone: > I am trying the lustre1.5.95.When the lustre filesystem is setted > up,can I change the node''s ip address? I have tried tunefs.lustre to > erase the previous parameter and then add --mgsnode parameter,but > fail.Any suggestion? > > Thankyou! > > _________________________________________________________________ > ??????????????? MSN Hotmail? http://www.hotmail.com > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss >
I just try it as follow: 1.server33 mds''s ip: 192.168.5.30->192.168.4.30 server44 oss''s ip: 192.168.5.40->192.168.4.40 2.vi /etc/hosts 3. mds: #tunefs.lustre --mdt --mgs --erase-params --mgsnode=server33@tcp0 --writeconf /dev/sda6 oss: #tunefs.lustre --ost --erase-params --mgsnode=server44@tcp0 --writeconf /dev/sda6 4.reboot 5.mds: # mount.lustre /dev/sda6 /mnt/mds/ [root@server33 mnt]# lctl dl 0 UP mgs MGS MGS 5 1 UP mgc MGC192.168.4.30@tcp 8af572de-3819-0a1a-0473-a76b7c42fe12 5 2 UP mdt MDS MDS_uuid 3 3 UP lov phoebus-mdtlov phoebus-mdtlov_UUID 4 4 UP mds phoebus-MDT0000 phoebus-MDT0000_UUID 3 oss: [root@server0104 mnt]# mount.lustre /dev/sda6 /mnt/ost/ mount.lustre: mount /dev/sda6 at /mnt/ost failed: Input/output error Is the MGS running? MDS: tail -f /var/log/messages Dec 25 12:35:21 server0103 kernel: LustreError: Refusing connection from 192.168.4.40 for 192.168.4.30@tcp: No matching NI ......................... [root@server0103 mnt]# cat /proc/sys/lnet/nis nid refs peer max tx min 0@lo 3 0 0 0 0 192.168.5.30@tcp 7 8 256 256 254 How can I change its nis? Thankyou!>From: Nathaniel Rutman <nathan@clusterfs.com> >To: ???? ???? <nirvaam@hotmail.com> >CC: lustre-discuss@clusterfs.com >Subject: Re: [Lustre-discuss] Can I change the IP(lustre1.5.95)? >Date: Fri, 22 Dec 2006 09:04:28 -0800 > >You have to use the "--writeconf" option to the MDT to force the logs to >be regenerated. >Details at >https://mail.clusterfs.com/wikis/lustre/MountConf#head-18c689130e5184035dcec1e6e2b49597afdab189> >???? ???? wrote: > > Hi everyone: > > I am trying the lustre1.5.95.When the lustre filesystem is setted > > up,can I change the node''s ip address? I have tried tunefs.lustre to > > erase the previous parameter and then add --mgsnode parameter,but > > fail.Any suggestion? > > > > Thankyou! > > > > _________________________________________________________________ > > ??????????????? MSN Hotmail? http://www.hotmail.com > > _______________________________________________ > > Lustre-discuss mailing list > > Lustre-discuss@clusterfs.com > > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss > > >_________________________________________________________________ ?????????????? MSN Messenger: http://messenger.msn.com/cn