What level of xCAT are you running.

lsxcatd -a will tell us what level.

You should have had an xcatinfo file  created in /opt/xcat/xcatinfo on your
node during install.

If it is missing  you can  run updatenode <noderange> -s     This command
will recreate the xcatinfo file on the node.


It is very unusual to not have your site installdir attribute defined
as /install.   In fact,  that  is the default in the script below, if it is
not in the xcatinfo file.  It is also xCAT's default for the site
installdir variable.   So even if the file is missing,  the xcatdsklspost
script will work.

tabdump site | grep installdir
"installdir","/install",,

Lissa K. Valletta
8-3/B10
Poughkeepsie, NY 12601
(tie 293) 433-3102





From:   Jiang Tao CS Sun <[email protected]>
To:     [email protected],
Date:   04/02/2014 07:01 AM
Subject:        [xcat-user] How to add value to xcatinfo file on stateless
            nodes



Hi all,

I have one question, the variable INSTALLDIR in xcatinfo on stateless
nodes. In post script xcatdsklspost, will check the value of INSTALLDIR ,
if value equal null, then grant "/install".
if [ -f /opt/xcat/xcatinfo ]; then
        INSTALLDIR=`grep 'INSTALLDIR' /opt/xcat/xcatinfo |cut -d= -f2`
     fi
     if [ -z "$INSTALLDIR" ]; then
     INSTALLDIR="/install"
     fi

I want to know, how and where can define $INSTALLDIR value in xcatinfo file
so that can achieve INSTALLDIR=`grep 'INSTALLDIR' /opt/xcat/xcatinfo| cut
-d=-f2`?

Regards,

Todd (Jiangtao) Sun
Technical Support Specialist
Platform Computing, IBM Systems and Technology Group
----------------------------------------------------------------------------------------

IBM Technical Computing community is now on IBM developerWorks SMC
https://www.ibm.com/developerworks/servicemanagement/tc/
You can find Best Practices, Integration Scenarios, Deployment Docs in the
Wiki and do Technical Q & A in the Forum in the community on SMC.
------------------------------------------------------------------------------

_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

<<inline: graycol.gif>>

------------------------------------------------------------------------------
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to