[lustre-discuss] systemd lnet start script has route config commented out

Kurt Strosahl strosahl at jlab.org
Fri Feb 22 07:30:21 PST 2019


Good Morning,

    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.

I looked at the file and found that the line that would do the configuration automatically was commented out

cat /usr/lib/systemd/system/lnet.service
[Unit]
Description=lnet management

Requires=network-online.target
After=network-online.target openibd.service rdma.service

ConditionPathExists=!/proc/sys/lnet/

[Service]
Type=oneshot
RemainAfterExit=true
ExecStart=/sbin/modprobe lnet
#ExecStart=/usr/sbin/lctl network up
#ExecStart=/usr/sbin/lustre_routes_config /etc/lnet_routes.conf
ExecStart=/usr/sbin/lnetctl lnet configure
ExecStart=/usr/sbin/lnetctl import /etc/lnet.conf
ExecStop=/usr/sbin/lustre_rmmod ptlrpc
#ExecStop=/usr/sbin/lctl network down
ExecStop=/usr/sbin/lnetctl lnet unconfigure
ExecStop=/usr/sbin/lustre_rmmod libcfs ldiskfs

[Install]
WantedBy=multi-user.target


The RPMs I used were downloaded directly from whamcloud:
rpm -qa | grep lustre
lustre-zfs-dkms-2.10.6-1.el7.noarch
bpftool-3.10.0-957.el7_lustre.x86_64
perf-debuginfo-3.10.0-957.el7_lustre.x86_64
perf-3.10.0-957.el7_lustre.x86_64
lustre-osd-zfs-mount-2.10.6-1.el7.x86_64
lustre-2.10.6-1.el7.x86_64
lustre-iokit-2.10.6-1.el7.x86_64
lustre-resource-agents-2.10.6-1.el7.x86_64
kernel-debuginfo-common-x86_64-3.10.0-957.el7_lustre.x86_64

Is there a reason why it is commented out?

w/r,

Kurt J. Strosahl
System Administrator: Lustre, HPC
Scientific Computing Group, Thomas Jefferson National Accelerator Facility
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20190222/66afc87f/attachment.html>


More information about the lustre-discuss mailing list