ADSM-L

AW: Trying to copy dsmerror.log through scheduler

2003-05-02 09:34:18
Subject: AW: Trying to copy dsmerror.log through scheduler
From: "Thomas Rupp, Vorarlberger Illwerke AG" <Thomas.Rupp AT ILLWERKE DOT AT>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Fri, 2 May 2003 15:06:12 +0200
Hi Eric,

I once tried to do the same thing and also had problems with 
the local system account.
I ended up using FTP.

DSM.OPT:
postschedulecmd "C:\ADMIN\ADSM\BACLIENT\POSTCMD.BAT"

POSTCMD.BAT for Windows:
FTP -s:C:\ADMIN\ADSM\BACLIENT\NETRC

NETRC for Windows Client:
open xxx                <- Name or IP-Address of target computer (IBM mainframe 
running VM/ESA)
yyy                     <- userid on target 
zzz                     <- password
put C:\admin\adsm\baclient\dsmsched.log nodename.SCHEDULE
quit

POSTCMD.BAT for AIX:
/usr/bin/ftp xxx 

NETRC for AIX Client:
machine xxx login yyy password zzz 
macdef init
put /usr/tivoli/tsm/client/ba/dsmsched.log nodename.SCHEDULE
Quit

Kind regards
Thomas Rupp
Vorarlberger Illwerke AG
Mail:   thomas.rupp AT illwerke DOT at
Tel:    +43/5574/601-2583


-----Ursprüngliche Nachricht-----
Von: Andrew Raibeck [mailto:storman AT US.IBM DOT COM] 
Gesendet: Donnerstag, 01. Mai 2003 16:21
An: ADSM-L AT VM.MARIST DOT EDU
Betreff: Re: Trying to copy dsmerror.log through scheduler


Not sure if this is just a typo, but the quoting within your OBJECTS
syntax, as presented in your note, will not work. You need to use
something like this:

OBJECTS='copy "C:\Program Files\Tivoli\TSM\baclient\dsmerror.log"
\\myipaddress\incoming'

(note the single quotes around the entire COPY command instead of double
quotes.)

Assuming this is not the problem, or you make the suggested change and the
problem persists:

What happens if the scheduler is running in the foreground, i.e.:

1) Stop the scheduler service
2) Run "dsmc schedule"
3) Define the immediate action and let it run

Does it work?

Also, which account is your scheduler running under. Remember, the local
system account can not access network resources (\\myipaddress\incoming).

Regards,

Andy

Andy Raibeck
IBM Software Group
Tivoli Storage Manager Client Development
Internal Notes e-mail: Andrew Raibeck/Tucson/IBM@IBMUS
Internet e-mail: storman AT us.eyebm DOT com (change eye to i to reply)

The only dumb question is the one that goes unasked.
The command line is your friend.
"Good enough" is the enemy of excellence.




"Loon, E.J. van - SPLXM" <Eric-van.Loon AT KLM DOT COM>
Sent by: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
05/01/2003 07:00
Please respond to "ADSM: Dist Stor Manager"


        To:     ADSM-L AT VM.MARIST DOT EDU
        cc:
        Subject:        Trying to copy dsmerror.log through scheduler



Hi *SM-ers!
I'm experimenting with copying a client's dsmerror.log to my pc for
problem
investigation, but it's not working.

I defined a immediate client action for a specific node with
ACTION=COMMAND
OBJECTS="copy "C:\Program Files\Tivoli\TSM\baclient\dsmerror.log"
\\myipaddress\incoming"

The schedule fails with a returncode 1. This is the message from the
dsmsched.log on that node:

Executing Operating System command or script:
   copy "C:\Program Files\Tivoli\TSM\baclient\dsmerror.log"
\\myipaddress\incoming
01-05-2003 15:06:07 Finished command.  Return code is:
   1
01-05-2003 15:06:07 ANS1512E Scheduled event '@367' failed.  Return code =
1.

The dsmerror.log doesn't say much more either...
Any ideas why this command doesn't work? Retuncode 1 isn't listed in the
Windows manual.
Thanks in advance!
Kindest regards,
Eric van Loon
KLM Royal Dutch Airlines


**********************************************************************
For information, services and offers, please visit our web site: 
http://www.klm.com. This e-mail and any attachment may contain confidential and 
privileged
material intended for the addressee only. If you are not the addressee,
you are notified that no part of the e-mail or any attachment may be
disclosed, copied or distributed, and that any other action related to
this e-mail or attachment is strictly prohibited, and may be unlawful. If
you have received this e-mail by error, please notify the sender
immediately by return e-mail, and delete this message. Koninklijke
Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees
shall not be liable for the incorrect or incomplete transmission of this
e-mail or any attachments, nor responsible for any delay in receipt.
**********************************************************************

<Prev in Thread] Current Thread [Next in Thread>
  • AW: Trying to copy dsmerror.log through scheduler, Thomas Rupp, Vorarlberger Illwerke AG <=