Unix script not getting run from TSM admin script schedule.

JPRABaker

Newcomer
Joined
Oct 4, 2013
Messages
4
Reaction score
0
Points
0
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
 
You can't run a command like "define clientaction tsm01 action=command objects='/tsm/collect.sh' wait=yes" from within an admin script.

Use a UNIX script to run TSM commands from outside TSM.
 
Hmm, that would explain it then. Thanks for the reply, I'll get scripting!
 
Back
Top