ITEM: HG2033L

ADSM and 3494 Tape Library start and stop procedure


 KeyWords:      3494, library, ADSM
 Environment:   3494 Library attached to an ADSM v3 server
 Questions:     1. The 3494 Operator Guide says to ensure that all devices
                are varied offline to the appropriate host for power off.
                How do I vary drives offline "to the appropriate host"?
                2.  Same question as \#1 above, only power on 3494 and
                varyon devices.
                3.  Will the power off/on stop/start the OS/2 library
                manager?
 Reference:     Magstar 3494 Tape Library Operator Guide, GA32-0280-06,
                pages 67-68.
                Also 3494 tape library dataserver  operator quick guide
                GX35-5051-00, pages 4, 18.
 Response:      By "vary off" this means make sure the drives are not in
                use and that they will not be accessed while the library
                is down.  I will give you ADSM commands below for this
                process.  As for the OS/2 console, It will be powered
                down as well.

----------------------------------------------------------------------
  ADSM Drive and Library Basics
----------------------------------------------------------------------

START ADSM SERVER:
  /usr/lpp/adsmserv/bin/dsmserv
*OR*
  /usr/lpp/adsmserv/bin/rc.adsmserv
If not started in the background, you may press enter to acquire an ADSM
 command prompt.  Note, do NOT break out (\^C) or kill -9 ADSM Server except
 as a LAST resort.  Always attempt to issue the HALT command first, and
 wait for all processes and sessions to die off.

RUN ADSM COMMAND FROM SCRIPT:
  dsmadmc -id $user -pass $passwd "cmd opt opt opt"

OPEN AN ADSM COMMAND SESSION (SHELL)
  dsmadmc
This will ask for both a username and a password to ADSM, then will
 drop you at an ADSM command prompt.

ADD ADSM DRIVE:
  define drive $libname $drivename device=/dev/$devname

DISABLE ADSM DRIVE - adsm v3.x only
  update drive $libname $drvname online=no

REMOVE ADSM DRIVE:
  delete drive $libname $drvname

LIST DEFINED DRIVES:
  Q drive $drvname F=D

LIST DEFINED LIBRARIES - short form:
  q library

LIST DEFINED LIBRARIES - with output redirection:
  q library > /tmp/ADSM.libraries

LIST PROCESSES:
  Q process

LIST SESSIONS:
  Q session
  
KILL PROCESSES:
  cancel process \#\#\#

KILL SESSIONS:
  cancel session \#\#\#

HALT ADSM SERVER:
Make sure that processes are stopped first.
List and cancel all processes and sessions, then issue:
  HALT

VARIABLE CONVENTIONS:
  $libname      Name of library as known to ADSM
  $drvname      Name of drive or asterisk "*"
  $devname      Name of device as known to AIX
  $user         ADSM Username with access to these commands
  $passwd       Password for ADSM user
  "cmd opt opt" ADSM Command listed above
  \#\#\#                Process or Session number as listed by query
  Q             Short for "query"
  F=D           Short for "Format=Detail"

WARNING:
Before manipulating tapes or using ADSM reseources from AIX, one of the
 below must occurr; otherwise, ADSM could be crashed.
        * Halt ADSM Server
        * offline drive with command above
        * remove drive definition with command above.


Support Line: ADSM and 3494 Tape Library start and stop procedure ITEM: HG2033L
Dated: August 1998 Category: N/A
This HTML file was generated 99/06/24~13:30:13
Comments or suggestions? Contact us