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?
This topic has been locked.
3 replies Latest Post - 2012-10-25T14:56:33Z by mmveiga
Pinned topic Nim customoization script - logging
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-10-25T14:56:33Z at 2012-10-25T14:56:33Z by mmveiga
teletype 120000A3NX27 PostsACCEPTED ANSWER
Re: Nim customoization script - logging2012-10-25T06:56:02Z in response to robinsgukDid 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 PostsACCEPTED ANSWER
Re: Nim customoization script - logging2012-10-25T14:56:33Z in response to robinsgukGlenn,
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,