Hello,
    I've looked through the WIKI and can't seem to find this answer.  I have 
this template defined in the hosts table:

"login-ib0","|\D+(\d+).*$|172.40.5.($1-0)|",,"Login nodes IB interface",,

Makehosts/makedns works fine, so I know the template is correct.  I am trying 
to, during the install process get it to automatically create the ifcfg-ib0 
interface based on that:

/bin/cat > /etc/sysconfig/network-scripts/ifcfg-ib0 << EOF
DEVICE="ib0"
BOOTPROTO="static"
IPADDR=
NETMASK="#TABLE:networks:netname=ib:mask#"
ONBOOT="yes"
IPV6INIT="no"
EOF


Problem is, I don't know how to expand the "login-ib0" template to have it 
build the correct IP address.


If I put


IPADDR="#TABLE:hosts:node=#TABLE:hosts:THISHOST:node#:ip#"


it creates it as


IPADDR="|\D+(\d+).*$|172.20.5.($1-0)|"


I'm guessing I need another directive around the above to tell it to expand the 
template and compute the correct IP address based on that.  But I can't find 
docs on the WIKI that explains how to do that.  Can anyone point me at a page 
that gives more details.


    Thanks,

        -Brad Viviano


===================================================
Brad Viviano
High Performance Computing & Scientific Visualization
Lockheed Martin, Supporting the EPA
Research Triangle Park, NC
919-541-2696

HSCSS Task Order Lead - Ravi Nair
919-541-5467 - [email protected]
High Performance Computing Subtask Lead - Durward Jones
919-541-5043 - [email protected]
Environmental Modeling and Visualization Lead - Heidi Paulsen
919-541-1834 - [email protected]
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to