[lustre-discuss] How to added new interface in lustre server?

Dilger, Andreas andreas.dilger at intel.com
Tue Jul 11 22:06:50 PDT 2017


With newer versions of Lustre (maybe 2.7+ ?) it is possible to dynamically add network interfaces with lnetctl.  See the lnetctl(8) man page for details, if it is installed, which also means that you have this capability.

Cheers, Andreas

On Jul 8, 2017, at 09:11, Raj <rajgautam at gmail.com> wrote:
> 
> Lu,
> I will add ib0 just so that it becomes more clear to understand in the future:
> options lnet networks=o2ib(ib0),tcp0(em1),tcp1(p5p2)
> 
> Reloading lnet module or restarting luster will disconnect all the clients. But don't worry, the clients will reconnect once it comes back online.
> But if you have HA setup, I would recommend you to failover any OSTs that this node is hosting to its partner. Once failed over, you can stop lnet by:
> # lustre_rmmod
> And reload lnet by
> #modprobe lustre
> Check whether you have new nids available locally by:
> # lctl list_nids
> If everything looks good, you can failback the OSTs to its original OSS node.
> 
> Also, since you are adding a new lnet network (tcp1) or new NID to the server, I believe you must change the lustre configuration information as mentioned in the manual unless somebody here says its not necessary.
> http://wiki.old.lustre.org/manual/LustreManual20_HTML/LustreMaintenance.html#50438199_31353
> 
> Thanks
> -Raj
>  
> 
> 
> On Fri, Jul 7, 2017 at 1:28 AM Wei-Zhao Lu <wzlu at gate.sinica.edu.tw> wrote:
> Hi ALL,
> 
> My lustre server is 2.5.3, there are 2 interface(ib0, tcp).
> module parameter is "options lnet networks=o2ib,tcp"
> 
> Now, I changed module parameter as "options lnet networks=o2ib,tcp0(em1),tcp1(p5p2)"
> How to reload lnet module or restart lustre service?
> There are many lustre client running jobs, I wish no any bad effect to these client.
> 
> Thanks a lot.
> 
> Best Regards,
> Lu
> _______________________________________________
> lustre-discuss mailing list
> lustre-discuss at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
> _______________________________________________
> lustre-discuss mailing list
> lustre-discuss at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Cheers, Andreas
--
Andreas Dilger
Lustre Principal Architect
Intel Corporation









More information about the lustre-discuss mailing list