<div dir="ltr">ok, thanks I will try today.<div><br></div><div>Your</div><div>Yu</div></div><br><div class="gmail_quote"><div dir="ltr">Cory Spitz <<a href="mailto:spitzcor@cray.com">spitzcor@cray.com</a>> 于2018年6月30日周六 上午12:14写道:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">FYI, there is a helpful guide to LNet setup at <a href="http://wiki.lustre.org/LNet_Router_Config_Guide" rel="noreferrer" target="_blank">http://wiki.lustre.org/LNet_Router_Config_Guide</a>.  Despite the title, it is applicable to non-routed cases as well.<br>
-Cory<br>
<br>
-- <br>
<br>
On 6/29/18, 1:06 AM, "lustre-discuss on behalf of Andreas Dilger" <<a href="mailto:lustre-discuss-bounces@lists.lustre.org" target="_blank">lustre-discuss-bounces@lists.lustre.org</a> on behalf of <a href="mailto:adilger@whamcloud.com" target="_blank">adilger@whamcloud.com</a>> wrote:<br>
<br>
    On Jun 28, 2018, at 21:14, yu sun <<a href="mailto:sunyu1949@gmail.com" target="_blank">sunyu1949@gmail.com</a>> wrote:<br>
    > <br>
    > all server and client that fore-mentioned is using netmasks 255.255.255.224.  and they can ping with each other, for example:<br>
    > <br>
    > root@ml-gpu-ser200.nmg01:~$ ping node28<br>
    > PING node28 (10.82.143.202) 56(84) bytes of data.<br>
    > 64 bytes from node28 (10.82.143.202): icmp_seq=1 ttl=61 time=0.047 ms<br>
    > 64 bytes from node28 (10.82.143.202): icmp_seq=2 ttl=61 time=0.028 ms<br>
    > <br>
    > --- node28 ping statistics ---<br>
    > 2 packets transmitted, 2 received, 0% packet loss, time 999ms<br>
    > rtt min/avg/max/mdev = 0.028/0.037/0.047/0.011 ms<br>
    > root@ml-gpu-ser200.nmg01:~$ lctl ping node28@o2ib1<br>
    > failed to ping 10.82.143.202@o2ib1: Input/output error<br>
    > root@ml-gpu-ser200.nmg01:~$<br>
    > <br>
    >  and we also have hundreds of GPU machines with different IP Subnet,  they are in service and it's difficulty to change the network structure. so any material or document can guide me solve this by don't change network structure.<br>
<br>
    The regular IP "ping" is being routed by an IP router, but that doesn't<br>
    work with IB networks, AFAIK.  The IB interfaces need to be on the same<br>
    subnet, you need to have an IB interface on each subnet configured on<br>
    each subnet (which might get ugly if you have a large number of subnets)<br>
    or you need to use LNet routers that are connected to each IB subnet to<br>
    do the routing (each subnet would be a separate LNet network, for example<br>
    10.82.142.202@o2ib23 or whatever).<br>
<br>
    The other option would be to use the IPoIB layer with socklnd (e.g.<br>
    10.82.142.202@tcp) but this would not run as fast as native verbs.<br>
<br>
    Cheers, Andreas<br>
<br>
<br>
    > Mohr Jr, Richard Frank (Rick Mohr) <<a href="mailto:rmohr@utk.edu" target="_blank">rmohr@utk.edu</a>> 于2018年6月29日周五 上午3:30写道:<br>
    > <br>
    > > On Jun 27, 2018, at 4:44 PM, Mohr Jr, Richard Frank (Rick Mohr) <<a href="mailto:rmohr@utk.edu" target="_blank">rmohr@utk.edu</a>> wrote:<br>
    > ><br>
    > ><br>
    > >> On Jun 27, 2018, at 3:12 AM, yu sun <<a href="mailto:sunyu1949@gmail.com" target="_blank">sunyu1949@gmail.com</a>> wrote:<br>
    > >><br>
    > >> client:<br>
    > >> root@ml-gpu-ser200.nmg01:~$ mount -t lustre node28@o2ib1:node29@o2ib1:/project /mnt/lustre_data<br>
    > >> mount.lustre: mount node28@o2ib1:node29@o2ib1:/project at /mnt/lustre_data failed: Input/output error<br>
    > >> Is the MGS running?<br>
    > >> root@ml-gpu-ser200.nmg01:~$ lctl ping node28@o2ib1<br>
    > >> failed to ping 10.82.143.202@o2ib1: Input/output error<br>
    > >> root@ml-gpu-ser200.nmg01:~$<br>
    > ><br>
    > > In your previous email, you said that you could mount lustre on the client ml-gpu-ser200.nmg01.  Was that not accurate, or did something change in the meantime?<br>
    > <br>
    > (Note: Received out-of-band reply from Yu stating that there was a typo in the previous email, and that client ml-gpu-ser200.nmg01 could not mount lustre.  Continuing discussion here so others on list can follow/benefit.)<br>
    > <br>
    > Yu,<br>
    > <br>
    > For the IPoIB addresses used on your nodes, what are the subnets (and netmasks) that you are using?  It looks like servers use 10.82.143.X and clients use 10.82.141.X.  If you are using a 255.255.0.0 netmask, you should be fine.  But if you are using 255.255.255.0, then you will run into problems.  Lustre expects that all nodes on the same lnet network (o2ib1 in your case) will also be on the same IP subnet.<br>
    > <br>
    > Have you tried running a regular “ping <IPoIB_address>” command between clients and servers to make sure that part is working?<br>
    > <br>
    > --<br>
    > Rick Mohr<br>
    > Senior HPC System Administrator<br>
    > National Institute for Computational Sciences<br>
    > <a href="http://www.nics.tennessee.edu" rel="noreferrer" target="_blank">http://www.nics.tennessee.edu</a><br>
    > <br>
    > _______________________________________________<br>
    > lustre-discuss mailing list<br>
    > <a href="mailto:lustre-discuss@lists.lustre.org" target="_blank">lustre-discuss@lists.lustre.org</a><br>
    > <a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org" rel="noreferrer" target="_blank">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><br>
<br>
    Cheers, Andreas<br>
    ---<br>
    Andreas Dilger<br>
    Principal Lustre Architect<br>
    Whamcloud<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</blockquote></div>