Hi,
I'm having trouble getting a TSM script to run a local unix script during execution. Here's what I have in my admin script:
SERIAL
move drm * s=dbs wherestat=mountable tostat=notmountable remove=bulk wait=yes
define clientaction tsm01 action=command objects='/tsm/collect.sh' wait=yes
move drm * s=dbs wherestat=notmountable tostat=vault
The first "move drm" works fine. The collect.sh script is then supposed to email off the list of notmountable tapes to our tape guys to remove from the library. This doesn't run, and nor does the next "move drm" command.
The admin script has been this way for a while and the actual collect.sh didn't work anyway. I've now got the unix script working from the command line, but this is not getting ran by TSM. I've checked the actlog, but can only see the 1st move drm command getting ran, no references to the clientaction script.
Any pointers? I did a fair bit of googling but my define clientaction line looks fine to me.
Thanks,
John
I'm having trouble getting a TSM script to run a local unix script during execution. Here's what I have in my admin script:
SERIAL
move drm * s=dbs wherestat=mountable tostat=notmountable remove=bulk wait=yes
define clientaction tsm01 action=command objects='/tsm/collect.sh' wait=yes
move drm * s=dbs wherestat=notmountable tostat=vault
The first "move drm" works fine. The collect.sh script is then supposed to email off the list of notmountable tapes to our tape guys to remove from the library. This doesn't run, and nor does the next "move drm" command.
The admin script has been this way for a while and the actual collect.sh didn't work anyway. I've now got the unix script working from the command line, but this is not getting ran by TSM. I've checked the actlog, but can only see the 1st move drm command getting ran, no references to the clientaction script.
Any pointers? I did a fair bit of googling but my define clientaction line looks fine to me.
Thanks,
John