Hi Lissa,
On 06/08/13 20:56, Lissa Valletta wrote:
> I am assuming the below is from the lsdef command.
That's correct.
> If you notice the regular expression for the switchport is not expanding.
That's to be expected, that's a group that the nodes belong to to
define the mappings. A node looks like:
[root@merri-m ~]# lsdef -z merri001 -i switch,switchport,ip,otherinterfaces
# <xCAT data object stanza file>
merri001:
objtype=node
ip=10.6.101.1
otherinterfaces=-imm:10.8.101.1
switch=sw02
switchport=1
> Under lsdef it should expand to the correct value. Check your regular
> expression.
I forgot to include the definition of the compute group which includes
the IP regexp:
[root@merri-m ~]# lsdef -t group compute
Object name: compute
addkcmdline=transparent_hugepage=never intel_idle.max_cstate=0
processor.max_cstate=1
grouptype=static
ip=|\D+(\d+)|10.6.101.($1*1)|
members=[all the nodes]
nichostnamesuffixes.ib0=-ib
nicips.|\D+(\d+)|ib0=10.7.101.($1*1)|
nicnetworks.ib0=merri_infiniband
nictypes.ib0=Infiniband
otherinterfaces=|merri(\d+)|-imm:10.8.101.($1*1)|
routenames=fallback
Hope this helps!
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
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user