Whamcloud - gitweb
LU-7060 ldev: Added MGS NID substitution to ldev 29/16129/11
authorGiuseppe Di Natale <dinatale2@llnl.gov>
Fri, 28 Aug 2015 23:17:24 +0000 (16:17 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 6 Apr 2016 01:40:43 +0000 (01:40 +0000)
commit0f17fc82a89a40f98f53ad89c8c8982319114ef7
treea6e2314389132317f572d4dc43d8d3c8d717b636
parent4d5c42add60ad0564a1446e8ded8e1477787bbff
LU-7060 ldev: Added MGS NID substitution to ldev

For automation purposes, it would be nice to have a
command substitution for the MGS NID of a node.
The ldev perl script now has a %m flag to sub in
the MGS NID. The MGS associated with a node is
determined by which file system the node is a part
of. The NID is obtained by using the current
NID file parsing. Also, MGS is now an acceptable
type to have specified in a label.

Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Change-Id: Ifcfad7664ac028e2074030e4b3ba5995ddb5358d
Reviewed-on: http://review.whamcloud.com/16129
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/doc/ldev.8
lustre/scripts/ldev
lustre/tests/conf-sanity.sh