By the way this is a bug https://sourceforge.net/p/xcat/bugs/3412/
Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 From: Lissa Valletta/Poughkeepsie/IBM@IBMUS To: xCAT Users Mailing list <[email protected]> Cc: [email protected] Date: 03/07/2013 08:56 AM Subject: Re: [xcat-user] xCAT-user Digest, Vol 43, Issue 45 So thanks to Ling we recreated your problem. lsdef -t osimage to show all images and you should have rhels6.3-x86_64-install-kvmhypv* image . Something like this. Is there something defined in the postbootscripts attribute. This is being added to your postbootscripts before the ones from the postscripts table and then we eliminate the duplicates. lsdef -t osimage rhels6.3-x86_64-install-kvmhypv will show all the attributes. Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 Inactive hide details for Ken Blake---03/06/2013 05:16:40 PM---I am running: lsxcatd -aKen Blake---03/06/2013 05:16:40 PM---I am running: lsxcatd -a From: Ken Blake/Austin/IBM@IBMUS To: [email protected] Date: 03/06/2013 05:16 PM Subject: Re: [xcat-user] xCAT-user Digest, Vol 43, Issue 45 I am running: lsxcatd -a Version 2.7.5 (svn r14039, built Tue Oct 16 23:16:45 EDT 2012) This is a Management Node dbengine=SQLite The node definition is: lsdef n02 Object name: n02 arch=x86_64 bmc=n02-bmc currchain=boot currstate=boot groups=PCMAE_default initrd=xcat/rhels6.3/x86_64/initrd.img installnic=mac ip=172.29.10.2 kcmdline=quiet repo=http://172.29.10.76/install/rhels6.3/x86_64/ ks=http://172.29.10.76/install/autoinst/n02 ksdevice=5c:f3:fc:b8:81:a0 kernel=xcat/rhels6.3/x86_64/vmlinuz mac=5c:f3:fc:b8:81:a0 mgt=ipmi netboot=xnba nfsserver=172.29.10.76 os=rhels6.3 postbootscripts=otherpkgs,setroute,configKVM.sh,configeth1,configeth2 postscripts=syslog,remoteshell,syncfiles,setupntp primarynic=mac profile=kvmhypv provmethod=install routenames=rdef,r172,r9,r192 status=booted statustime=03-05-2013 16:04:53 and the order of running the postbootscripts from the mypostscript.post is # postbootscripts-start-here run_ps otherpkgs run_ps configKVM.sh run_ps configeth1 run_ps configeth2 run_ps setroute # postbootscripts-end-here As you can see, the order of the scripts running is changing between the definition and the postscript file. I have a few other postscripts that I need to add in to this, but they are getting run out of order so I narrowed the set to try and determine what was changing the running sequence. As far as otherpkgs, it is being picked up from the xcatdefaults #node,postscripts,postbootscripts,comments,disable "xcatdefaults","syslog,remoteshell,syncfiles","otherpkgs",, "n02",,"setroute,configKVM.sh,configeth1,configeth2",, Ken Message: 1 Date: Wed, 6 Mar 2013 07:28:21 -0500 From: Lissa Valletta <[email protected]> Subject: Re: [xcat-user] Postscript ordering question To: xCAT Users Mailing list <[email protected]> Cc: [email protected] Message-ID: <of246bea24.a91db88e-on85257b26.00423d79-85257b26.00448...@us.ibm.com> Content-Type: text/plain; charset="us-ascii" 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 ------------------------------------------------------------------------------ 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 ------------------------------------------------------------------------------ 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
<<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
