[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference cookie::sls

Title:Storage Library System
Moderator:COOKIE::REUTER
Created:Sun Oct 13 1991
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2270
Total number of notes:7850

2212.0. "VMS 7.1 on DEC7610, ABSOMT 2.1, TZ877 : tapes don't get automatically loaded" by VNASWS::WILFRIED (Wilfried Bergmann, Austria) Thu Mar 06 1997 13:38

This is cross-posted from the ARCHIVE_BACKUP conference 389.*


	before installing ABMOMT 2.1 I've removed everything from previous
SLS, ABS installations from my System. Then I installed ABSOMT021 which
automatically installs MDMSOMT028 - successfully.

Problem:
When I start a backup, ABS seems to have problems with MDMS because it
never automatically mounts a tape. Instead I always get a OPCOM message
-----------------------------------------------------------------------------
%%%%%%%%%%%  OPCOM  28-FEB-1997 13:14:33.53  %%%%%%%%%%%
Request 69, from user SLS on FATUM
Load "ACT004" on _$254$MKD500: write-enabled
Requested by:   ABS on
Owned by: ABS
Location: ACT
-----------------------------------------------------------------------------
When I use

	$ ROBOT LOAD SLOT x

the backup completes successfully.

Now, it ought to work automatically, right?

I'll post TAPESTART.COM in .1 and some STORAGE SHOW and REPORT output in .2

Thanks for any help!
T.RTitleUserPersonal
Name
DateLines
2212.1TAPESTART.COMVNASWS::WILFRIEDWilfried Bergmann, AustriaThu Mar 06 1997 13:39289
$ PRI := FATUM                     ! Server node or cluster alias
$ DB_NODES := FATUM               ! Nodes to start database server on
$!
$!*  COPYRIGHT (c) 1995 BY DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASSACHUSETTS.
$!
$! MDMS_TAPESTART.COM           SLS V2.8
$!
$! This file contains the symbols you define to characterize your
$! SLS configuration.
$!
$! Do NOT start SLS by executing this file.
$!
$! You MUST use the following command to start SLS:
$!
$!      $ @ SYS$STARTUP:SLS$STARTUP
$!
$! -----------------------------------------------------------------------------
$!
$! SLS Base Configuration Symbols
$!
$! -----------------------------------------------------------------------------
$! Device and directory for SLS databases
$!
$       PRIMAST := SLS$ROOT:[PRIMAST]
$!
$! --------------------------
$! Timeout interval (in seconds) for client-server connection response
$!
$       NET_REQUEST_TIMEOUT = 120
$!
$! --------------------------
$! Node Name
$!
$       NODE := 'F$TRNLNM ("SYS$NODE")'
$       NODE = NODE - "::" - "_"
$!
$! --------------------------
$! Batch queue for SLS processing
$!
$       IF NODE .NES. "" .AND. F$GETSYI("CLUSTER_MEMBER","''NODE'") .EQ. "TRUE"
$         THEN BATN := SLS$'NODE' -
                        /ON='NODE':: -
                        /JOB_LIM=1 -
                        /BASE=4 -
                        /PROT=(S:RWED,O:RWED,G,W)
$         ELSE BATN := SLS$ -
                        /JOB_LIM=1 -
                        /BASE=4 -
                        /PROT=(S:RWED,O:RWED,G,W)
$       ENDIF
$!
$! --------------------------
$! Drive media types and densities
$!
$! During the SLS installation, a file called
$! SLS$DATAC:SLS$AUTOCONFIGURE_MEDIA_TRIPLETS.TXT was created and can be
$! included here.  This file contains media triplets for the known tape
$! devices on the system from which the installation was performed.  These
$! triplets can be modified as needed to fit your needs and are provided as a
$! customized template.  A new template file can be generated any time after
$! the installation by executing
$! SLS$SYSTEM:SLS$AUTOCONFIGURE_MEDIA_TRIPLETS.EXE.  Note that SLS$DATAC must
$! be defined for this program to complete successfully.  SLS$DATAC is always
$! defined while SLS is running.
$!
$! Please see the SLS Administrator's Guide for more information on setting up
$! media triplets if you are new to SLS.
$!
$! The following media triplet is required for the SLS IVP to run successfully
$! during installation and should be deleted if the above template file is
$! used.
$!
$     MTYPE_1   := TK87K
$     DENS_1    := COMP
$     DRIVES_1  := $254$MKD500:
$!
$     MTYPE_2   := TK87K
$     DENS_2    := NOCOMP
$     DRIVES_2  := $254$MKD500:
$!
$     MTYPE_3   := TK87K
$     DENS_3    :=
$     DRIVES_3  := $254$MKD500:
$!
$! --------------------------
$! Tape jukebox definitions - See the V2.5 documentation for full explanation
$!                            and proper use.  These should not be confused with
$!                            the RV64 items below.
$!
$      TAPE_JUKEBOXES := "TZ877"
$!
$      TZ877 := "FATUM::MKD501:,FATUM::mkd500:"
$!
$! --------------------------
$! Execution priority for SLS server and client processes
$!
$       MGRPRI := 8
$!
$! --------------------------
$! Enable or Disable broadcast of network state changes to operators
$!
$       VERBOSE = 0
$!
$! --------------------------
$! SLS software execution privileges
$!
$       PRIV_SEEANY := OPER
$       PRIV_MODANY := OPER
$       PRIV_MAXSCR := OPER
$       PRIV_LABEL  := OPER
$       PRIV_CLEAN  := OPER
$       PRIV_MODOWN := TMPMBX
$!
$! -----------------------------------------------------------------------------
$!
$! Operator Terminal Control
$!
$! -----------------------------------------------------------------------------
$! Basic control assignments
$!
$       CRLF[0,8] = 13
$       CRLF[8,8] = 10
$       ESC[0,8] = 27
$!
$! --------------------------
$! Load requests
$!
$       ESC_LOAD_BOLD = ESC + "[1m" + ESC + "[7w"
$       ESC_LOAD_BLNK = ESC + "[5m" + ESC + "[7w"
$       ESC_LOAD_NORM = ESC + "[m" + ESC + "[w"
$!
$! --------------------------
$! Drive allocation
$!
$       ESC_ALLOC_BOLD = ESC + "[1m"
$       ESC_ALLOC_NORM = ESC + "[m"
$!
$! --------------------------
$! Volume mount label and ring verification
$!
$       ESC_MOUNT_OPER = CRLF + ESC + "[1m" + ESC + "#6 OPERATOR:"
$       ESC_MOUNT_BOLD = ESC + "[1m"
$       ESC_MOUNT_NORM = ESC + "[m"
$!
$! -----------------------------------------------------------------------------
$!
$! SLS Volume Control Symbols
$!
$! -----------------------------------------------------------------------------
$! Name of media library location
$!
$       LOC := ACT
$!
$! --------------------------
$! Default protection of volumes
$!
$       PROTECTION = %X0133
$!
$! --------------------------
$! Default reel size for STORAGE ALLOCATE command
$!
$       ALLOCSIZE = 2400
$!
$! --------------------------
$! Name of file or device to which volume labels are written
$!
$       LBL := _NL:
$!
$! --------------------------
$! State to put deallocated volumes into
$!
$       FRESTA := TRAN
$!
$! --------------------------
$! Time that a volume stays in transition state
$!
$       TRANS_AGE := 14 0:0:0
$!
$! --------------------------
$! Default time that the scratch date is set with a STORAGE ALLOCATE
$!
$       ALLOCSCRATCH := 365 0:0:0
$!
$! --------------------------
$! Default time that the scratch date is set with a STORAGE SAVE
$!
$       BACKUPSCRATCH := 365 0:0:0
$!
$! --------------------------
$! Maximum scratch time (for a non-OPER privileged user)
$!
$       MAXSCRATCH :=
$!
$! --------------------------
$! Notify by mail when volumes have reached the scratch date
$!
$       TAPEPURGE_WORK := MAIL
$!
$! --------------------------
$! If notifying by mail, assign additional recipients of message
$!
$       TAPEPURGE_MAIL := SYSTEM
$!
$! --------------------------
$! Default name for the offsite vault
$!
$       VLT := ACT off-site
$!
$! --------------------------
$! Drives to be controlled by SLS
$!
$       ALLDEV := $254$MKD500:
$       SELDEV := $254$MKD500:
$!
$! --------------------------
$! Time interval to check for freed drives
$!
$       ALLTIM := 0 0:0:30
$!
$! --------------------------
$! Operator(s) to receive volume load requests.
$!
$       TOPERS := TAPES
$!
$! --------------------------
$! STORAGE LOAD automatic load flag
$!
$       QUICKLOAD = 1
$!
$!   Number of times to retry an automount (approximately 20 seconds each)
$!
$       QUICKLOAD_RETRIES = 80
$!
$! --------------------------
$! UNATTENDED BACKUPS flag
$!
$       UNATTENDED_BACKUPS = 0
$!
$! --------------------------
$! Cleanup queue and run time
$!
$       CLEANUP_Q := 'F$EXTRACT(0,F$LOCATE("/",BATN),BATN)'/AFTER=03:00
$!
$!---------------------------------------------------------------------
$!
$! The following Jukebox definitions are for RV64's only.  These should
$! not be confused with the TAPE JUKEBOX items above.
$!
$!---------------------------------------------------------------------
$!
$! Default RV64 jukebox name for STORAGE IMPORT on an RV64
$!
$!      JUKEBOX := JCS$DEFAULT_JUKEBOX
$!
$! --------------------------
$! Names, and lowest and highest numbered slots for each RV64 jukebox
$!
$!      JUKEBOX_1_LOWER := 1
$!      JUKEBOX_1_UPPER := 64
$!
$!---------------------------------------------------------------------
$!
$! Controlling Standby archiving
$!
$!---------------------------------------------------------------------
$! Log file for standby archiving
$!
$       SBARLOG := SLS$DATA:STANDBY_ARCHIVE.LOG;
$!
$! --------------------------
$! Request scan interval time
$!
$       SBARINT := 00:00:30
$!
$! --------------------------
$! Default archive class for backup screen
$!
$       SBACLAS  = "FOREVER <- insert archive class here"
$!
$!---------------------------------------------------------------------
$!
$! Continue SLS boot.
$!
$       IF F$SEARCH("SLS$ROOT:[CUSTOM]LOADER.COM") .NES. ""
$       THEN
$               @SLS$ROOT:[CUSTOM]LOADER
$       ELSE
$               @SLS$ROOT:[SYSTEM]LOADER
$       ENDIF
2212.2output from some show, report commandsVNASWS::WILFRIEDWilfried Bergmann, AustriaThu Mar 06 1997 13:40110
FATUM� stor show juke
Tape Jukebox TZ877 is configured.

  Tape jukebox TZ877, contains robot FATUM::MKD501:,
    contains 1 drive.

    Drive                               Drive Status
    FATUM::MKD500:                      Available
------------------------------------------------------------------------------
FATUM� stor sho mag mag1

Magazine MAG1, is imported into tape jukebox TZ877,
  magazine size is 7 slots.

  Magazine      Jukebox        Volume      Volume        Volume        Volume
    Slot          Slot           ID         Type         State        Location
      0             0          ACT001    SLS volume     Allocated     In Slot
      1             1          ACT002    SLS volume     Allocated     In Slot
      2             2          ACT003    SLS volume     Allocated     In Slot
      3             3          ACT004    SLS volume     Allocated     In Slot
      4             4          ACT005    SLS volume       Free        In Slot
      5             5          ACT006    SLS volume       Free        In Slot
      6             6          ACT007    SLS volume       Free        In Slot
------------------------------------------------------------------------------
FATUM� storage report vol vol,flag,media=(tk87k), pool, drive

Run date 28-FEB-1997 13:45                                           Page     1

                           Volume Database File Report
Volume    Status  Media Type        Pool          Drive
---------------------------------------------------------------------------------
&+ACT003  Free    TK87K             %ABS_VOLSET%
&+ACT004  Free    TK87K             %ABS_VOLSET%
ACT001    Alloc   TK87K                           *FATUM::$254$MKD500
ACT002    Alloc   TK87K
ACT003    Alloc   TK87K                           *FATUM::$254$MKD500
ACT004    Alloc   TK87K
ACT005    Free    TK87K
ACT006    Free    TK87K
ACT007    Free    TK87K

         9 record(s) found

STORAGE REPORT VOL VOL,FLAG,MEDIA=(TK87K),POOL,DRIVE
---------------------------------------------------------------------------------
FATUM� stor sho vol act001

  Volume:      ACT001               Owner:      FATUM::ABS
  Format:      BACKUP               Brand:
  Allocated:   27-FEB-1997 13:05    Scratch:    13-APR-1997 13:05
  Purchased:   27-FEB-1997 11:22    Cleaned:    27-FEB-1997 11:22
  Media type:  TK87K                Length:          0
  Mounts:           3               UIC:        [ABS]
  Location:    ACT                  Protection: S:RW,O:RW,G:R,W:
  Notes:
  Offsite:                          Onsite:
  IO Errors:        0               Flag:       ALLOCATED
  Next volume: *none*               Previous:   *none*
  Pool:                             Rec len: 0  Block factor: 0
  Initialized: 27-FEB-1997 13:05    Density:    COMP
  Slot number:
  Side:                             Other side:
  Jukebox / slot:     TZ877 / 0
  Drive:       *FATUM::$254$MKD500
  Volume is in a jukebox slot.
  Volume is bound to slot 0 in magazine MAG1.

FATUM� stor sho vol act002

  Volume:      ACT002               Owner:      FATUM::ABS
  Format:      BACKUP               Brand:
  Allocated:   27-FEB-1997 13:24    Scratch:    13-APR-1997 13:24
  Purchased:   27-FEB-1997 11:22    Cleaned:    27-FEB-1997 11:22
  Media type:  TK87K                Length:          0
  Mounts:           0               UIC:        [ABS]
  Location:    ACT                  Protection: S:RW,O:RW,G:R,W:
  Notes:
  Offsite:                          Onsite:
  IO Errors:        0               Flag:       ALLOCATED
  Next volume: *none*               Previous:   *none*
  Pool:                             Rec len: 0  Block factor: 0
  Initialized: 27-FEB-1997 13:24    Density:    COMP
  Slot number:
  Side:                             Other side:
  Jukebox / slot:     TZ877 / 1
  Drive:
  Volume is in a jukebox slot.
  Volume is bound to slot 1 in magazine MAG1
.
FATUM� stor sho vol act003

  Volume:      ACT003               Owner:      FATUM::ABS
  Format:      BACKUP               Brand:
  Allocated:   28-FEB-1997 12:26    Scratch:    14-APR-1997 12:26
  Purchased:   27-FEB-1997 11:22    Cleaned:    27-FEB-1997 11:22
  Media type:  TK87K                Length:          0
  Mounts:           1               UIC:        [ABS]
  Location:    ACT                  Protection: S:RW,O:RW,G:R,W:
  Notes:
  Offsite:                          Onsite:
  IO Errors:        0               Flag:       ALLOCATED
  Next volume: *none*               Previous:   *none*
  Pool:                             Rec len: 0  Block factor: 0
  Initialized: 28-FEB-1997 12:26    Density:    COMP
  Slot number:
  Side:                             Other side:
  Jukebox / slot:     TZ877 / 2
  Drive:       *FATUM::$254$MKD500
  Volume is in a jukebox slot.
  Volume is bound to slot 2 in magazine MAG1.
2212.3unattented??MUNICH::REINHow come holes in SWISS CHEESE??Fri Mar 07 1997 07:095
    Hallo,
    
    may be you should set UNATTENTED_BACKUPS to 1
    
    Volker
2212.4alloclass for drive missingPRSSOS::FONDIFri Mar 07 1997 08:4523
from your tapestart.com

$     MTYPE_1   := TK87K
$     DENS_1    := COMP
$     DRIVES_1  := $254$MKD500:

....

$      TAPE_JUKEBOXES := "TZ877"
$!
$      TZ877 := "FATUM::MKD501:,FATUM::mkd500:"
....



I think your TZ877 is a direct Connect SCSI device
TZ877 :=  should be:  (alloclass for the drive is missing)

$      TZ877 := "FATUM::MKD501:,FATUM::$254$MKD500:"


Hope this help you
Henri
2212.5CX3PST::BSS::SAULFri Mar 07 1997 10:375
The previous 2 notes are correct.  Also, be careful using the ROBOT
commands because they may leave the SLS/MDMS database in a inconsistent
state.

Ted
2212.6problem solved! thanks to .3 and .4VNASWS::WILFRIEDWilfried Bergmann, AustriaFri Mar 07 1997 14:1619
Thanks for your help!

I'd like to point out, that the MDMS, Guide to Operations Manual, Jan 97
says on page 4-12:

"If you ar not an SLS user, do not delet or redefine these symbols or
you could experience unpredictable results. If you are an SLS user, see
the SLS documentation for information about modifying these symbols"

One of the symbols in question here is UNATTENDED_BACKUPS which is set
to a default value of 0.

Reading the manual I also thought that maybe the UNATTENDED_BACKUPS flag
could be relevant, but the above noted text of the manual made me think
that as I'm using ABS OMT and not SLS, I should NOT modify UNATTENDED_BACKUPS.

On the other hand, the missing allocation class was all my fault.

/wb