What level of xCAT are you using?
Give us the output of lsdef n02

Also, you will see you already have otherpkgs from the defaults list so you
do not need it in your node's postboot list.

YOu should see something like the following
[root@hpcrhmn postscripts]# lsdef lissatest
Object name: lissatest
    groups=litest
    postbootscripts=otherpkgs,test1,test2,test3
    postscripts=syslog,remoteshell,syncfiles


It should be running them in that order right to left.

So on my 2.7.1 system, from rcons

Wed Mar  6 12:15:12 EST 2013 Running postscript: otherpkgs
  Did not install any extra rpms.
Wed Mar  6 12:15:12 EST 2013 Running postscript: test1
Wed Mar  6 12:15:22 EST 2013 Running postscript: test2
Wed Mar  6 12:15:32 EST 2013 Running postscript: test3

Go on the node after the install installed  and look
in /xcatpost/mypostscript for this section at the bottom. This is the order
# postscripts-start-here
run_ps syslog
run_ps remoteshell
run_ps syncfiles
run_ps new_set
run_ps setbootfromnet
# postscripts-end-here
# postbootscripts-start-here
run_ps otherpkgs
run_ps test1
run_ps test2
run_ps test3
# postbootscripts-end-here
updateflag.awk $MASTER 3002 "installstatus booted"






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





From:   Ken Blake/Austin/IBM@IBMUS
To:     [email protected]
Date:   03/05/2013 03:34 PM
Subject:        [xcat-user] Postscript ordering question



Is there anything in xCAT that is determining the order of the postscript
execution?

I have set up two additional NIC interfaces that need to be brought up as
configeth1 and configeth2 and also want to use the setroutes to add the
proper routing for those NICs, but the setroute keeps showing up before the
configethX scripts in the node definition.  I have tried editing the table
and setting the order, but when the node is set to install, it is changing
the order.

>From Table BEFORE the install

tabdump postscripts
#node,postscripts,postbootscripts,comments,disable
"xcatdefaults","syslog,remoteshell,syncfiles","otherpkgs",,
"service","servicenode",,,
"n02",,"configKVM.sh,configeth1,configeth2,setroute",,   <-- After the
install operation, it is ordered as setroute first, then the rest.

>From Node Definition
postbootscripts=otherpkgs,setroute,configKVM.sh,configeth1,configeth2

Thanks
Ken
------------------------------------------------------------------------------

Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

<<inline: graycol.gif>>

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to