Networker

Re: [Networker] dasadmin like command

2003-02-03 21:27:26
Subject: Re: [Networker] dasadmin like command
From: George Scott <George.Scott AT ITS.MONASH.EDU DOT AU>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Tue, 4 Feb 2003 13:26:26 +1100
Joel,

> Does anyone know of a dasadmin like command for StorageTek Silos?

> I'm trying to get info directly from LibraryStation(the mainframe
> version of ACSLS) so I can keep Legato synchronized with what is
> actually in the library.

I'm not sure exactly what you are asking.

You can use ACSLS's cmd_proc to interact with ACSLS.

Scripting it tends to be a little challenging, so I use this as a front
end:

################################
#!/bin/sh

host=$1
shift 1
#RCMD=rsh
RCMD=ssh

# Get an ACSLS command run

echo "${@}^M^Dlogoff" |
    ${RCMD} -l acsss ${host} \
        '. ./.acsss_env; ./bin/cmd_proc -l -q 2>/dev/null | grep -v "ACSSA>"'
################################

and run it using something like:

# acsls acsls.machine.com query drive all

The ssh auth keys need to be set up appropriately.

George.
--
George Scott           George.Scott AT its.monash DOT edu
Systems Programmer, IT Services, Monash University

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

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