Do you only have compute nodes, no other types?  You can add to defaults,
but that probably does not put it in the order you want.   To add at the
end of the specifically define postscripts, you will have to add to each
entry.   You can use a node range to do that though and one command.
chdef -p -t node -o <noderange> postscripts="myNewScript"

So maybe

chdef -p -t node -o node001-node200 postscripts="myNewScript"


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





From:   David C Smith <[email protected]>
To:     [email protected]
Date:   01/11/2012 06:42 PM
Subject:        [xcat-user] Postscripts for a group of nodes



If I write a new postscript, and I want it to be executed by all of my
compute nodes (when they boot), how can I add this into the postscripts
table (without issueing a chtab command for all hundreds of compute nodes)?

If I add an entry into the postscripts table for the compute group (chtab
node=compute postscripts.postscripts="myNewScript"), this sorta works ...
when a compute node (say node215) reboots, it will execute the myNewScript
postscript.  But if an entry also exists in the postscripts table for
node215, then when node215 reboots, it only runs the postscripts defined
for node215, it does not pick up the postscripts defined for all compute
nodes.

I could certainly add myNewScript onto the end of node215's list of
postscripts, but that would be a nuisance when I have hundreds of compute
nodes which need that postscript added.  Any thoughts on how I can get
around this?

Thanks.


David

------------------------------------------------------------------------------

Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user




------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to