ADSM-L

Re: Backup Report Outside scheduler service

2002-09-16 22:02:29
Subject: Re: Backup Report Outside scheduler service
From: "Seay, Paul" <seay_pd AT NAPTHEON DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Mon, 16 Sep 2002 22:01:12 -0400
Michael, we are doing this very successfully with our Control-M environment.
It is really nice to be able to schedule multi-platform processing.  I know
it seems like a pain, but believe me it is really valuable to have someone
else watching the store and restarting the jobs when they fail in the middle
of the night.  When you come in after the weekend, or you had to hold all
processing a few hours for maintenance it is really useful.

Now, this is how you do it:

Create a .bat or .cmd file with the general commands as follows:

        echo what ever message you want
        [path]dsmc incremental > outputfile-today.txt
        set rc=%errorlevel%
        type outputfile-today.txt
      echo Return Code from dsmc %rc%
      set errorlevel=%rc%
      exit

Note you can do the append >> pipe if you like.
You can also get elaborate and send the output to a special directory and
delete files that are over so many days old so you can get the trim effect.
Whatever turns you on.

This looks like you are having something rammed where you do not want it
right now.  But, believe me, it will make your management happy and it will
grow upon you.  You will start putting all kinds of production processes in
the ESP scheduler as you become more comfortable.

There is one place we have had some difficulty.  That is with Exchange 5.5
and the TDP for Exchange.  Unfortunately, there is always a memory shortage
on these boxes and the backups have to be restarted several times before
they work.  But, who cares when someone else is minding the store and just
makes sure it is done in the morning.  This is not a batch scheduling
product issue as much as it is just Exchange 5.5.  Most of these issues
apparently are fixed in Exchange 2000.

The other piece here that I did not talk about is you now can influence the
return code.  It may turn out that certain RC=4 conditions are actually bad
things.  So, pick your favorite scripting language, I would use PERL, and
scan that output file to make sure unexpected things are not there.  If you
place that script in the .bat/.cmd file and change the return code to
something bad then you can put intelligence in and totally automate that
manual process you do each day.

If you are concerned that you cannot use the events table anymore, not to
worry, the summary table and the filespaces tables have all the information
you will probably need to capture those backups that really did not complete
at all and did not notify the scheduler.  I have published the macros for
that several times on the list.

Paul D. Seay, Jr.
Technical Specialist
Naptheon Inc.
757-688-8180


-----Original Message-----
From: Joshua Bassi [mailto:jbassi AT IHWY DOT COM]
Sent: Monday, September 16, 2002 8:56 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: Backup Report Outside scheduler service


There will not be a dsmsched.log created if you are not using TSM's
scheduling system.  If there are errors in the backup then they will show up
in the dsmerror.log file.  If you are interested in obtaining the backup
info from the ESP controlled backup, then redirect the output of the dsmc
process to a file somewhere on the NT system.  This info can also be pulled
out of the TSM server activity log.


--
Joshua S. Bassi
IBM Certified - AIX 4/5L, SAN, Shark
Tivoli Certified Consultant - ADSM/TSM
eServer Systems Expert -pSeries HACMP

AIX, HACMP, Storage, TSM Consultant
Cell (831) 595-3962
jbassi AT ihwy DOT com


-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of
Michael Moore
Sent: Monday, September 16, 2002 1:39 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Backup Report Outside scheduler service

Currently we are using the scheduler service to control all backups of our
NT nodes.  We have been given a directive to start using our scheduling
package ESP to control the backups.

My question is, how do I get the same information that is contained in the
DSMsched.log, to a new log?  Our NT group will need this to determine if all
files are getting backed up, and when a backup does fail, what file or files
caused the failure (ie..  file in use by another process).

Thanks for you assistance!

Michael Moore
VF Services Inc.
121 Smith Street
Greensboro,  NC  27420-1488

Voice: 336-332-4423
Fax: 336-332-4544

<Prev in Thread] Current Thread [Next in Thread>