Whamcloud - gitweb
LU-6340 lnet: LNet startup script fix 00/14000/5
authorAmir Shehata <amir.shehata@intel.com>
Fri, 6 Mar 2015 20:17:49 +0000 (12:17 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 18 Mar 2015 10:57:51 +0000 (10:57 +0000)
commitf7259a01bb3f18f571d6ed8ecf7c95e1f9521bbb
tree2efdf68cba8e536dfebacaf85762a65d966aff1a
parent8687ef631708e83f11e475442e6f2fbcd3d80cea
LU-6340 lnet: LNet startup script fix

When starting up LNet via the startup script, check if the default
LNet yaml configuration file is present, if it is, then make sure
to use "lnetctl lnet configure" to bring up LNet instead of
"lctl network up".  The latter configures networks and routes
defined in the modparams, while the former does not, since the
configuration defined in the YAML file will be used.

Signed-off-by: Amir Shehata <amir.shehata@intel.com>
Change-Id: I1a05cba2a9a6b7a2179b541f1ea5db6d2e89b243
Reviewed-on: http://review.whamcloud.com/14000
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/scripts/lnet