<div dir="auto"><div>it looks like some leftovers from the  2.9  and below branches.<div dir="auto">Starting from 2.10.x the network is managed by the lnetctl.</div><div dir="auto"><br></div><div dir="auto">a.</div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Kurt Strosahl <<a href="mailto:strosahl@jlab.org">strosahl@jlab.org</a>> schrieb am Fr., 22. Feb. 2019, 16:30:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Good Morning,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
    I'm in the process of setting up a new lustre file system, one that will need to reach some nodes through a set of lnet routers.  Adding the routes by hand doesn't work but adding them to the lnet_routes.conf file doesn't get picked up on reboot.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I looked at the file and found that the line that would do the configuration automatically was commented out</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span><span>cat /usr/lib/systemd/system/lnet.service                                                                                                                              <br>
</span>
<div>[Unit]<br>
</div>
<div>Description=lnet management<br>
</div>
<div><br>
</div>
<div>Requires=network-online.target<br>
</div>
<div>After=network-online.target openibd.service rdma.service<br>
</div>
<div><br>
</div>
<div>ConditionPathExists=!/proc/sys/lnet/<br>
</div>
<div><br>
</div>
<div>[Service]<br>
</div>
<div>Type=oneshot<br>
</div>
<div>RemainAfterExit=true<br>
</div>
<div>ExecStart=/sbin/modprobe lnet<br>
</div>
<div>#ExecStart=/usr/sbin/lctl network up<br>
</div>
<div>#ExecStart=/usr/sbin/lustre_routes_config /etc/lnet_routes.conf<br>
</div>
<div>ExecStart=/usr/sbin/lnetctl lnet configure<br>
</div>
<div>ExecStart=/usr/sbin/lnetctl import /etc/lnet.conf<br>
</div>
<div>ExecStop=/usr/sbin/lustre_rmmod ptlrpc<br>
</div>
<div>#ExecStop=/usr/sbin/lctl network down<br>
</div>
<div>ExecStop=/usr/sbin/lnetctl lnet unconfigure<br>
</div>
<div>ExecStop=/usr/sbin/lustre_rmmod libcfs ldiskfs<br>
</div>
<div><br>
</div>
<div>[Install]<br>
</div>
<div>WantedBy=multi-user.target<br>
</div>
<span></span><br>
</span><span></span><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
The RPMs I used were downloaded directly from whamcloud:</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span>rpm -qa | grep lustre<br>
</span>
<div>lustre-zfs-dkms-2.10.6-1.el7.noarch<br>
</div>
<div>bpftool-3.10.0-957.el7_lustre.x86_64<br>
</div>
<div>perf-debuginfo-3.10.0-957.el7_lustre.x86_64<br>
</div>
<div>perf-3.10.0-957.el7_lustre.x86_64<br>
</div>
<div>lustre-osd-zfs-mount-2.10.6-1.el7.x86_64<br>
</div>
<div>lustre-2.10.6-1.el7.x86_64<br>
</div>
<div>lustre-iokit-2.10.6-1.el7.x86_64<br>
</div>
<div>lustre-resource-agents-2.10.6-1.el7.x86_64<br>
</div>
<div>kernel-debuginfo-common-x86_64-3.10.0-957.el7_lustre.x86_64<br>
</div>
<span></span><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Is there a reason why it is commented out?</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
w/r,</div>
<div id="m_4562634086059708335signature">
<div id="m_4562634086059708335divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif">
<p style="margin-top:0px;margin-bottom:0px;margin-top:0;margin-bottom:0"><span id="m_4562634086059708335ms-rterangepaste-start"></span><span style="color:rgb(51,51,51);font-family:monospace;font-size:14.16px">Kurt J. Strosahl</span><br style="color:rgb(51,51,51);font-family:monospace;font-size:14.16px">
<span style="color:rgb(51,51,51);font-family:monospace;font-size:14.16px">System Administrator: Lustre, HPC</span><br style="color:rgb(51,51,51);font-family:monospace;font-size:14.16px">
<span style="color:rgb(51,51,51);font-family:monospace;font-size:14.16px">Scientific Computing Group, Thomas Jefferson National Accelerator Facility</span><span id="m_4562634086059708335ms-rterangepaste-end"></span><br>
</p>
</div>
</div>
</div>

_______________________________________________<br>
lustre-discuss mailing list<br>
<a href="mailto:lustre-discuss@lists.lustre.org" target="_blank" rel="noreferrer">lustre-discuss@lists.lustre.org</a><br>
<a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org" rel="noreferrer noreferrer" target="_blank">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><br>
</blockquote></div></div></div>