What does prescripts table look like for the node? (tabdump prescripts).
In the case where you expect "boot" section to be called, you suppose to
issue the "nodeset <nodes> boot" command. Then, does the script ever get
called in this case? If it does, what is the value for ${ACTION} ?
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: Steven Presser <[email protected]>
To: xCAT Users Mailing list <[email protected]>
Date: 02/11/2013 08:26 AM
Subject: Re: [xcat-user] Documentation! (nodeset documentation is
wrong)
#!/bin/sh
# Place me in /install/prescripts, then modify the prescripts table
appropriately.
case ${ACTION} in
install)
logger Nodes ${NODES} set to install
#runs just fine
boot)
logger Nodes ${NODES}
#never called
esac
On 02/11/2013 08:09 AM, Jarrod Johnson wrote:
What was attempted that failed?
The behavior is that rinstall/winstall are just simple shell scripts. Upon
completion of install, the next entry in chain.currchain is used as the
argument to 'nodeset' (effectively).
For example:
nodeset <noderange> runmcd=bmcsetup
nodech <noderange> chain.currchain=osimage=blah,boot
Would cause bmcsetup, then deployment of blah, then boot to storage.
On Sat, Feb 9, 2013 at 5:59 PM, Steven Presser <[email protected]> wrote:
Hi all,
I have a piece of software I'm deploying into a cluster that requires
some setup be done on the head node. In order to do so, I'm trying to
hook the nodeset command. Per the nodeset command manpage:
"nodeset is called by rinstall and winstall and is also called by the
installation process remotely to set the boot state back to
"boot"."
This however, doesn't appear to be the case. I can successfully hook
the node being set to install, but not it being returned to the boot case.
Since there has been discussion here about features for 2.9 and
documentation has come up, I thought I'd throw out that this is in fact
the second instance of something like this I've run across in the
process of setting up this software. Please, please, PLEASE consider a
complete documentation revamp for 2.9. Otherwise no matter what
features you have, people will be leaving for management systems where
they can count on the documentation being correct.
Steven Presser
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user