Veritas-bu

[Veritas-bu] Auto Ejecting from an STK9310 using ACSLS

2002-09-25 17:47:51
Subject: [Veritas-bu] Auto Ejecting from an STK9310 using ACSLS
From: mcavoy76 AT hotmail DOT com (Chris McAvoy)
Date: Wed, 25 Sep 2002 16:47:51 -0500
Although I haven't done it in a while, I've written some ACSLS scripts
before.  I _think_ the "API" is a pipe.  I'm kind of flying from memory
here, so I can't remember the exact syntax, but, I believe you do something
like:

cat [a text file with all your commands in it] | [whatever the command is
that starts the ACSLS text gui]

I had to write a script that loaded a tape into every tape drive in a 3 silo
installation, and that's how I did it.

I seem to remember there's a really brief line about it in one of the ACSLS
books.

Sorry to be so vague.  Give that a shot, let me know if it works.

Chris



> Message: 2
> From: "Marelas, Peter" <MarelP AT AUSTRALIA.Stortek DOT com>
> To: "'Scott Garrett'" <sgarrett-veritas-ug AT technomancer DOT com>,
>    "David A. Chapa" <david AT datastaff DOT com>
> Cc: veritas-bu AT mailman.eng.auburn DOT edu
> Subject: RE: [Veritas-bu] Auto Ejecting from an STK9310 using ACSLS
> Date: Wed, 25 Sep 2002 09:40:31 +1000
>
> Login to ACSLS server as "acsss".
> If you dont know password for "acsss" login as root
> and:
>
> # su - acsss
> $ cat <<EOF | cmd_proc
> eject * MEDIAID
> EOF
>
> I believe Netbackup's vault extension provides an interface to
> eject from ACS controlled robots using the ACS API and netbackup
> vm commands. A reason to buy vault I guess.
>
> ACSLS 5.3.2 was EOSupport May 1 2001.
>
> ACSLS 6.0 was released April 27 2001 and 6.1 is now the latest.
>
> Regards
> Peter Marelas
>
> -----Original Message-----
> From: Scott Garrett [mailto:sgarrett-veritas-ug AT technomancer DOT com]
> Sent: Wednesday, 25 September 2002 01:42
> To: David A. Chapa
> Cc: veritas-bu AT mailman.eng.auburn DOT edu
> Subject: Re: [Veritas-bu] Auto Ejecting from an STK9310 using ACSLS
>
>
> Quoting "David A. Chapa" <david AT datastaff DOT com>:
>
> > Kelli:
> >
> > The only way you can do it with ACSLS today is to either write an app
that
>
> > talks to their API, or from a script on the NBU server use rsh.
>
> And what would you do when you rsh?  A pointer to some real information on
> the
> ACSLS system would help.  I have not been able to find any useful
> information,
> and have not been able to make the "eject" command in the acsss bin
actually
> DO
> anything.
>
> Or, where can I find API information.  I'm not opposed to writing a util
> either.
>
> > Well, there's a third way too as I think about it...not my most favorite
> > because it does take a tad bit longer in my opinion.
> >
> > vmchange -res -m $id -mt $DENSITY -rt none -e -sec 1
>
> Doesn't work with the acs at all:
>
> # vmchange -res -m BBB482 -mt hcart -rt none -e -sec 1
> Could not change media ID BBB482: cannot auto-eject this robot type (51)
>
> >
> > David Chapa
> >
> >
> > Quoting Kellibtaylor AT aol DOT com:
> >
> > > Looking for clues on on how to "Auto- Eject"  on a STK9310 running
> > Netbackup
> > > 3.4. We  do our tape administration on this library manually via the
> ACSLS
> >
> > > (version 5.3.2). We have not been able to find a way to facilitate
this
> > using
> > > the ACSLS and would like to automate.   Any suggestions.  Thanx in
> > advance.
>
>
> --
>         Scott Garrett     mailto:sgarrett AT technomancer DOT com
>                                           http://www.technomancer.com
>
>     *** No matter what you do, you'll never outsmart the squirrels.
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>