ADSM-L

Re: how to automatically get dsm.log(s)

1997-04-23 15:45:13
Subject: Re: how to automatically get dsm.log(s)
From: "Patrick E. Gilman" <pgilman AT INAME DOT COM>
Date: Wed, 23 Apr 1997 15:45:13 -0400
Hi David,

This can be done with a rather simple batch file.

This is an example of how to attach to the server, map a drive, copy the
log files, and detach automatically.

1. Create a text file called password.txt (this can actually be called
anything).  The only line is this file will be the  password of the user
account you will use to login to the server.  Preferably you will use the
same username and password on all of the Netware servers.
2. Now create the copy batch file that looks something like this:

REM Batch Routine to Collect ADSM Log Files

attach server1/user < password.txt
map root x:=server1/sys:adsm
copy x:*.log c:\adsmlogs\server1
logout server1

attach server2/user < password.txt
map root x:=server2/sys:adsm
copy x:*.log c:\adsmlogs\server2
logout server2

REM End of ADSM copy Routine


<<<<<<<<<<<<<    >>>>>>>>>>>>>>>>>>>>
Greetings, I am running ADSM/MVS on backuping up various
Netware 3.1 and 4.1 servers.  What I want to do is to implement
some type of automated acquistion of the dsmerror.log and
dsmsched.log for each of the servers. What I have to do now is
to do a Netware MAP for each server (with userid and
password) and then do a copy. This gets old after a while. I am
running OS/2 on my desktop.

Any ideas?

David Meade
San Francisco Bay Area Rapid Transit District

********************************************
Patrick Gilman
Senior Systems Engineer - Enterprise
Vanstar Corporation
pgilman AT iname DOT com
********************************************
<Prev in Thread] Current Thread [Next in Thread>