I specify a customization script to run after a nimP_bosinst using a mksysb which cleans up file systems etc. It doesn't appear to be executing as I'd expect using NIM.
If I log in to the LPAR and run the script it works as designed.
Does the nim server log the execution of the customization script anywhere so that I can investigate this?
teletype 120000A3NX27 Posts
Re: Nim customoization script - logging2012-10-25T06:56:02ZThis is the accepted answer. This is the accepted answer.Did you make de bosinst and the script in the same nim statement like:
nim -o bosinst -a script=<value> ... <standalone>
Or dit you us two sepperate nim commands?
Did you look in /var/adm/ras/nimlog (alog file)?
Is the name resolving on the client correct after the bosinst?
Maybe you can do an
exec 1>/tmp/logfile exec 2>&1
in the beginning of your script and a cat of that logfile at the end?
Hope this helps
mmveiga 270003EPEE78 Posts
Re: Nim customoization script - logging2012-10-25T14:56:33ZThis is the accepted answer. This is the accepted answer.Glenn,
Have you tried the "showlog" operation?
nim -o showlog -a full_log=yes -a log_type=script CLIENT_HOSTNAME
nim -o showlog -a full_log=yes -a log_type=bosinst CLIENT_HOSTNAME
Hope that helps,