Hi,

Trying to get an understanding of postscript versus postbootscripts.

I understand that postbootscripts are run after the first boot, but it 
seems that they also get run every time updatenode <node> is run as 
well. I was hoping to use postbootscripts as a method for running 
scripts that only need to be run once after the machine is installed.
Of course, they are still able to be run manually if I need them again.

An example is configuring the Infiniband device. A script is provided 
called "configiba.1port", but putting it in postbootscripts and running 
updatenode makes that script get run again (each time the updatenode 
postscripts section is called). This script actually restarts the 
Infiniband stack, which has the potential to kill jobs and also causes 
Lustre issues (it hangs as Lustre is using the device and the script 
never completes).
If this script was run once after boot only it wouldn't be an issue. For 
now we have modified the script to stop it restarting, but its not the 
best of solutions.

Is this a bug, or a misunderstanding of the point of postbootscripts? 
The documentation I have found is not clear either way.

Note: Running Centos 6, xCAT 2.7.6 and disk full installs.

Thanks,
Craig.

------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to