ADSM-L

PRESCHEDULECMD not mapping drives on NT 4.2.1.18 client

2002-01-06 01:02:21
Subject: PRESCHEDULECMD not mapping drives on NT 4.2.1.18 client
From: Dylan Ryback <dryback AT HOME DOT COM>
Date: Sat, 5 Jan 2002 23:00:34 -0700
I'm running the lastest version of TSM BA client (4.2.1.18) on NT4 Server SP6a. 
 The TSM CAD service is managing the TSM Central Scheduler service per the 
dsm.opt file.  The TSM Central Scheduler service is running under a Domain 
Admin account with privileges to map these drives and the mapping script runs 
fine interactively when logged on as this Domain Admin (or any other account 
with priv's to these shares).  Here's a partial listing of dsm.opt:

LANG AMENG
PRESCHEDULECMD "C:\Program Files\Tivoli\TSM\baclient\drvmaps.cmd"
MANAGEDSERVICES SCHEDULE WEBCLIENT
commmethod tcpip
tcpport 1500
TCPSERVERADDRESS 10.4.3.138
DOMAIN E:
DOMAIN F:
DOMAIN G:
DOMAIN H:
DOMAIN I:
DOMAIN J:
DOMAIN K:
DOMAIN L:
DOMAIN ALL-LOCAL
...

Here's the contents of drvmaps.cmd:

NET USE E: /delete
NET USE E: \\chwpnetapp01\c$

NET USE F: /delete
NET USE F: \\sbspnetapp01\sbscommon

NET USE G: /delete
NET USE G: \\sbspnetapp01\sbshomes

NET USE H: /delete
NET USE H: \\sbspnetapp01\IMHomes

NET USE I: /delete
NET USE I: \\sbspnetapp01\installs

NET USE J: /delete
NET USE J: \\sbspnetapp01\etc$

NET USE K: /delete
NET USE K: \\sbspnetapp01\sbsinterface

NET USE L: /delete
NET USE L: \\sbspnetapp01\invmagic

Here's the output in dsmsched.log:

01/05/2002 22:04:42 --- SCHEDULEREC QUERY BEGIN
01/05/2002 22:04:42 --- SCHEDULEREC QUERY END
01/05/2002 22:04:42 Next operation scheduled:
01/05/2002 22:04:42 ------------------------------------------------------------
01/05/2002 22:04:42 Schedule Name: DAT_DAILY_10_PM
01/05/2002 22:04:42 Schedule Name: DAT_DAILY_10_PM
01/05/2002 22:04:42 Action: Incremental
01/05/2002 22:04:42 Objects: 
01/05/2002 22:04:42 Options: 
01/05/2002 22:04:42 Server Window Start: 22:00:00 on 01/05/2002
01/05/2002 22:04:42 ------------------------------------------------------------
01/05/2002 22:04:42 
01/05/2002 22:04:42 
Executing scheduled command now.
01/05/2002 22:04:42 
Executing Operating System command or script: C:\Program 
Files\Tivoli\TSM\baclient\drvmaps.cmd
01/05/2002 22:04:43 Finished command. Return code is: 1

01/05/2002 22:04:43 --- SCHEDULEREC OBJECT BEGIN DAT_DAILY_10_PM 01/05/2002 
22:00:00
01/05/2002 22:04:43 Incremental backup of volume 'E:'
01/05/2002 22:04:43 Incremental backup of volume 'F:'
01/05/2002 22:04:43 Incremental backup of volume 'G:'
01/05/2002 22:04:43 Incremental backup of volume 'H:'
01/05/2002 22:04:43 Incremental backup of volume 'I:'
01/05/2002 22:04:43 Incremental backup of volume 'J:'
01/05/2002 22:04:43 Incremental backup of volume 'K:'
01/05/2002 22:04:43 Incremental backup of volume 'L:'
01/05/2002 22:04:43 Incremental backup of volume '\\SBSPNAMS01\C$'

01/05/2002 22:04:43 ANS1228E Sending of object 'E:' failed
01/05/2002 22:04:44 ANS1063E Invalid path specification
 
01/05/2002 22:04:44 ANS1228E Sending of object 'F:' failed
01/05/2002 22:04:45 ANS1063E Invalid path specification
 
01/05/2002 22:04:45 ANS1228E Sending of object 'G:' failed
01/05/2002 22:04:45 ANS1063E Invalid path specification
 
01/05/2002 22:04:45 ANS1228E Sending of object 'H:' failed
01/05/2002 22:04:45 ANS1063E Invalid path specification 

01/05/2002 22:04:45 ANS1228E Sending of object 'I:' failed
01/05/2002 22:04:45 ANS1063E Invalid path specification 

01/05/2002 22:04:45 ANS1228E Sending of object 'J:' failed
01/05/2002 22:04:45 ANS1063E Invalid path specification 

01/05/2002 22:04:45 ANS1228E Sending of object 'K:' failed
01/05/2002 22:04:46 ANS1063E Invalid path specification 

01/05/2002 22:04:46 ANS1228E Sending of object 'L:' failed
01/05/2002 22:04:46 ANS1063E Invalid path specification
...

The dsmerror.log contains the same error messages as in the dsmsched.log file: 
ANS1228E and ANS1063E.

Is it possible that because the TSM CAD service is now managing the TSM 
Scheduler service that the TSM CAD needs to run under a privileged account, 
too?  It sure looks like a permissions issue, but I want to be sure I'm not 
missing something else before I have to start screwing with that.  While most 
of the documentation on the Tivoli site is pretty good, they do a really lousy 
job addressing the myriad number of issues you can run into with this (e.g., 
permissions, syntax with batch files, etc.).  BTW, anyone know what happened to 
all the older documentation on the Tivoli support site?  You can't find 
anything for versions earlier than 4.1 for the server or client!

Any and all help/suggestions appreciated.

Thanks,
Dylan