<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Hi,<br>
    <br>
    We have a tcp1 config, but lnet.conf looks like this:<br>
    <br>
    net:<br>
        - net type: tcp1<br>
          local NI(s):<br>
            - nid: <IP>@tcp1<br>
              status: up<br>
              interfaces:<br>
                  0: eth0<br>
    <br>
    replace <IP> with NID IP. I guess you need "- net type"
    instead of just "- net".<br>
    <br>
    Cheers,<br>
    Hans Henrik<br>
    <br>
    <div class="moz-cite-prefix">On 17/09/2024 11.50, Steve Brasier
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CA+zeHV48_NiMZP_SrbntKV==vVPym8+VbMOg3L4cP7qXRqbbdw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>Hi.</div>
        <div><br>
        </div>
        <div>I've got an /etc/lnet.conf on a RockyLinux 9.4 client
          running lustre 2.15.5-1.el9 which has this lnet.conf:</div>
        <div><br>
        </div>
        <div>[root@stg-login-0 rocky]# cat /etc/lnet.conf <br>
          net:<br>
              - net: tcp1<br>
                  interfaces:<br>
                      0: eth0<br>
        </div>
        <div><br>
        </div>
        <div>Running systemctl start lnet just hangs forever, with the
          syslog just showing</div>
        <div><span
style="color:rgb(29,28,29);font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:12px;font-variant-ligatures:none;background-color:rgba(29,28,29,0.04)">Sep
            13 15:31:35 stg-login-0 systemd[1]: Starting lnet
            management...</span><br>
        </div>
        <div><br>
        </div>
        <div>and its actually the below which hangs:</div>
        <div>[root@stg-login-0 rocky]# /usr/sbin/lnetctl import
          /etc/lnet.conf<br>
        </div>
        <div>i.e. module load and lnet configure work OK.<br>
        </div>
        <div><br>
        </div>
        <div>However it looks like it autoconfigured an interface on tcp
          (not tcp1):</div>
        <div>[root@stg-login-0 rocky]# lnetctl net show<br>
          net:<br>
              - net type: lo<br>
                local NI(s):<br>
                  - nid: 0@lo<br>
                    status: up<br>
              - net type: tcp<br>
                local NI(s):<br>
                  - nid: 10.179.2.45@tcp<br>
                    status: up<br>
        </div>
        <div><br>
        </div>
        <div>So:</div>
        <div>1. How can I debug this hanging please?</div>
        <div><br>
        </div>
        <div>2. Do the client and server NIDs need to be in the same
          IPv4 subnet? I have a client NID of 10.179.2.45@tcp1 and a
          server NID of 10.167.128.1@tcp1, with IP routing between them
          such that icmp ping works between them, is that OK?</div>
        <div><br>
        </div>
        many thanks for any help!
        <div><br>
        </div>
        <div><br clear="all">
          <div>
            <div dir="ltr" class="gmail_signature"
              data-smartmail="gmail_signature">
              <div dir="ltr">
                <div>
                  <div dir="ltr"><a href="http://stackhpc.com/"
                      target="_blank" moz-do-not-send="true"
                      class="moz-txt-link-freetext">http://stackhpc.com/</a></div>
                  <div>Please note I work Tuesday to Friday.</div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
lustre-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:lustre-discuss@lists.lustre.org">lustre-discuss@lists.lustre.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>