Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-7474

Using lnet init script and lnetctl brings up tcp interface

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • Lustre 2.8.0
    • Lustre 2.7.0
    • RHEL 6.6
      lustre-client-2.7.1-2.6.32_504.30.3.el6.x86_64_g43f9fd9.x86_64
    • 3
    • 9223372036854775807

    Description

      We're attempting to migrate to lnetctl for some of our setup rather than using the lnet modprobe.conf file.

      We removed the ip2nets parameter from the conf, and generated our /etc/sysconfig/lnet.conf file. Using the following method works (from an unconfigured system):

      • modprobe lnet
      • lnetctl lnet configure
      • lnetctl import < /etc/sysconfig/lnet.conf

      The problem we're seeing is that the LNET init script calls lctl network up, which configures a default nid on the tcp interface (instead of the InfiniBand interface).

      Is this indented behavior? Currently, we're planning to use the following in our LNET init script instead:

      125,129c125
      <       if [ -f $LUSTRE_LNET_CONFIG_UTILITY ] && [ -f "$LUSTRE_LNET_CONFIG_FILE" ]; then
      <                 $LUSTRE_LNET_CONFIG_UTILITY lnet configure || exit 1
      <         else
      <                 lctl network up || exit 1
      <         fi
      ---
      >       lctl network up || exit 1
      

      Thanks!

      Jesse

      Attachments

        Issue Links

          Activity

            People

              doug Doug Oucharek (Inactive)
              hanleyja Jesse Hanley
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: