it looks like some leftovers from the 2.9 and below branches. Starting from 2.10.x the network is managed by the lnetctl.
a. Kurt Strosahl <[email protected]> schrieb am Fr., 22. Feb. 2019, 16:30: > 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 > _______________________________________________ > lustre-discuss mailing list > [email protected] > http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org >
_______________________________________________ lustre-discuss mailing list [email protected] http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
