Hi David,
    You can try this:
    chdef -p  compute postscripts="myNewScript"

    This will append "myNewScript" to each compute node.

Ling
 

Ling Gao
Poughkeepsie Unix Development Lab
IBM Systems and Technology Group
Internal: T/L 293-5692 
External: [email protected], 845-433-5692

"I never worry about the future. It comes soon enough." --- Albert 
Einstein 



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