Hello Christopher,

The xCAT configib script gets invoked from confignics. The confignics
script sets environment variables when invoking configib to specify the
number of ports per IB nic and the IB nics:

NIC_IBNICS=$ibnics NIC_IBAPORTS=$ibaports configib

Note that the NIC_IBAPORTS defaults to 1 in configib if not specified.
Also note that if the ib adapter has two ports then both nics are passed in
the NIC_IBNICS environment variable.

You will need to modify your configib.vlsci script  to set the  number of
ib ports to 2 if needed  and specify the nic (or nics for the adapter), ib0
in your example, or parse it from your configib.vlsci  customscript
argument.


Regards,

Bill Wajda
HPC Software Development/xCat
B/002-3-T09  MS P963
Poughkeepsie, NY 12601
Phone: 845-433-7075 T/L 293-7075





From:   Christopher Samuel <[email protected]>
To:     xCAT Users Mailing list <[email protected]>,
Date:   05/13/2013 02:48 AM
Subject:        [xcat-user] Anyone got "niccustomscripts" working in the nics
            table?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi folks,

xCAT 2.8.1, RHEL 6.4, x86-64.

In an attempt to hardwire our IB fabric to connected mode and an MTU
of 65520 for GPFS (see bug #3567 as a request to extend xCAT to do
this) I've found that specifying "niccustomscripts" in our nics table
seems to break the configib IB script.

Basically I'd taken the existing configib and copied it to
configib.vlsci, then set the niccustomscripts attribute to
"ib0!configib.vlsci ib0".   That resulted in the script running
(kernel modules get unloaded/loaded) but the ifcfg-ib0 file was not
being generated.

I changed the attribute to just "ib0!configib ib0" to make it run the
xCAT provided version and that didn't work either.

Removing the attribute made it work again, so I moved the xCAT
provided configib out of the way and copied my modified version in its
place and it now creates the config file with the CONNECTED_MODE and
MTU settings we need.

I ran the scripts with the -x flag and with the "niccustomscripts" set
it appears the goodnics variable is blank, whereas without that being
set it evaluates to "ib0" and all is well with the world.

Is there some pilot error on my part causing it to fail, or is it a bug?

All the best,
Chris
- --
 Christopher Samuel        Senior Systems Administrator
 VLSCI - Victorian Life Sciences Computation Initiative
 Email: [email protected] Phone: +61 (0)3 903 55545
 http://www.vlsci.org.au/      http://twitter.com/vlsci

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlGQi8cACgkQO2KABBYQAh+AMACfamaxtrn8ZGYTEKmVulihh/av
oMUAn13B4wNVvTdcTY1eV5uHc2zXtmFV
=hjy7
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------

Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

<<inline: graycol.gif>>

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to