ADSM-L

Re: Tape Checkin for new AIX Server

2006-12-06 14:18:26
Subject: Re: Tape Checkin for new AIX Server
From: Steve Roder <spr AT REXX.ACSU.BUFFALO DOT EDU>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Wed, 6 Dec 2006 14:17:22 -0500
> Well, a lot of info here.  Several things.
>
> 1.  Use 'checkin libv 3584lib search=bulk status=scratch waitt=0'
> and the "reply" is no longer needed - as long as tapes are in I/O port
> first.  The "waittime" parameter was added at TSM 5.3.  Makes
> scripting easier.
>
> 2.  What tapes are you checking  in?  The error:
>  Volume 000017 in library 3584LIB cannot be assigned a status of
> SCRATCH.
> Generally means the tape is in a Tape Stg pool per the TSM DB
> of the server that is doing the checkin. Make sure of the status
> of the tapes before checkign in.  If they are tapes with data, use
> status=private instead of status=scratch.
>
> I think this will solve most of your problems.

if you update each volume so that it's "access" is not offsite, then the
tapes will go to scratch status, and the checkin via "status=scratch" will
work.  update vol nnnnn acc=readw is fine.  If they are not scratch tapes,
then they should still be offsite, but could still be checked in with
status=private.  But I would expect you would not want to return them from
the offsite location until they are empty.



>
>
> David B. Longo
> System Administrator
> Health First, Inc.
> 3300 Fiske Blvd.
> Rockledge, FL 32955-4305
> PH      321.434.5536
> Pager  321.634.8230
> Fax:    321.434.5509
> david.longo AT health-first DOT org
>
>
> >>> Shannon Bach <SBach AT MGE DOT COM> 12/06/06 11:03 AM >>>
> Finally started moving our TSM server off the main frame to a new AIX
> Server.  The consultant created AIX scripts for most of the automatic
> processing but I am having problems with the checkin process.   I ran
> the
> following script and it completes successfully but there are errors in
> my
> activity log which I'll paste below the script.
>
> On my ZOS TSM server I have a script that updates empty volumes to
> readwrite in order to use them for scratch...but I cannot find this
> update
> in any of the new scripts (TSM or AIX).  I don't know if I need to add
> this or not...being a total AIX newbie.  If that is not the problem
> can
> someone tell me what I may be missing?
>
> Thank you,
> Shannon
>
> tsm02:/> /drm/scripts/checkin_scratch.sh
> + dsmadmc -id=xxxxxxx -pa=xxxxxxx checkin libv 3584lib search=bulk
> status=scratch
> IBM Tivoli Storage Manager
> Command Line Administrative Interface - Version 5, Release 3, Level
> 4.0
> (c) Copyright by IBM Corporation and other(s) 1990, 2006. All Rights
> Reserved.
>
> Session established with server TSM02: AIX-RS/6000
>   Server Version 5, Release 2, Level 8.2
>   Server date/time: 12/06/06   08:40:26  Last access: 12/06/06
> 08:01:57
> ANS8000I Server command: 'checkin libv 3584lib search=bulk
> status=scratch'
> ANS8003I Process number 25 started.
> ANS8002I Highest return code was 0.
> + sleep 3
> + dsmadmc -id=xxxxxx -pa=xxxxxx q req
> + 1> /tmp/req
> + cat /tmp/req
> + awk {print $2}
> + grep ANR8373I
> + 1> /tmp/req.out
> + cut -c 1,2,3
> + cat /tmp/req.out
> + dsmadmc -id=xxxxxx -pa=xxxxxx rep 003
> IBM Tivoli Storage Manager
> Command Line Administrative Interface - Version 5, Release 3, Level
> 4.0
> (c) Copyright by IBM Corporation and other(s) 1990, 2006. All Rights
> Reserved.
> Session established with server TSM02: AIX-RS/6000
>   Server Version 5, Release 2, Level 8.2
>   Server date/time: 12/06/06   08:40:29  Last access: 12/06/06
> 08:40:26
> ANS8000I Server command: 'rep 003'
> ANR8499I Command accepted.
> ANS8002I Highest return code was 0.
>
> Activity Log
> ------------
> Date and Time       Message
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> 12/06/2006 08:54:18 ANR0407I Session 1154 started for administrator
> ADMIN
> (AIX) (Tcp/Ip loopback(33377)). (SESSION: 1154)     12/06/2006
> 08:54:19
> ANR2017I Administrator ADMIN issued command: CHECKIN libv 3584lib
> search=bulk status=scratch  (SESSION: 1154)      12/06/2006 08:54:19
> ANR0984I Process 26 for CHECKIN LIBVOLUME started in the BACKGROUND at
> 08:54:19. (SESSION: 1154, PROCESS: 26)                   12/06/2006
> 08:54:19 ANR8422I CHECKIN LIBVOLUME: Operation for library 3584LIB
> started
> as process 26. (SESSION: 1154, PROCESS: 26)      12/06/2006 08:54:19
> ANR0405I Session 1154 ended for administrator ADMIN (AIX). (SESSION:
> 1154)
>            12/06/2006 08:54:19 ANR8373I 004: Fill the bulk entry/exit
> port
> of library 3584LIB with all 3592 volumes to be processed within 60
> minute(s); issue 'REPLY' along with the request ID when ready.
> (SESSION:
> 1154, PROCESS: 26)
> 12/06/2006 08:54:22 ANR0407I Session 1155 started for administrator
> ADMIN
> (AIX) (Tcp/Ip loopback(33378)). (SESSION: 1155)       12/06/2006
> 08:54:22
> ANR2017I Administrator ADMIN issued command: QUERY REQ  (SESSION:
> 1155)
>      12/06/2006 08:54:22 ANR8352I Requests outstanding: (SESSION:
> 1155)
>
> 12/06/2006 08:54:22 ANR8373I 004: Fill the bulk entry/exit port of
> library
> 3584LIB with all 3592 volumes to be processed within 60 minute(s);
> issue
> 'REPLY' along with the request ID when ready.  (SESSION: 1155)
> 12/06/2006 08:54:22 ANR0405I Session 1155 ended for administrator
> ADMIN
> (AIX). (SESSION: 1155)      12/06/2006 08:54:22 ANR0407I Session 1156
> started for administrator ADMIN (AIX) (Tcp/Ip loopback(33379)).
> (SESSION:
> 1156)  12/06/2006 08:54:22 ANR2017I Administrator ADMIN issued
> command:
> REP 004  (SESSION: 1156)                 12/06/2006 08:54:22 ANR8499I
> Command accepted. (SESSION: 1156)
> 12/06/2006 08:54:22 ANR0405I Session 1156 ended for administrator
> ADMIN
> (AIX). (SESSION: 1156)      12/06/2006 08:54:53 ANR8443E CHECKIN
> LIBVOLUME: Volume 000019 in library 3584LIB cannot be assigned a status
> of
> SCRATCH. (SESSION: 1154, PROCESS: 26)   12/06/2006 08:55:25 ANR8841I
> Remove volume from slot 769 of library 3584LIB at your convenience.
> (SESSION: 1154, PROCESS: 26)   12/06/2006 08:55:44 ANR8443E CHECKIN
> LIBVOLUME: Volume 000017 in library 3584LIB cannot be assigned a status
> of
> SCRATCH. (SESSION: 1154, PROCESS: 26)   12/06/2006 08:55:46 ANR1423W
> Scratch volume 000007 is empty but will not be deleted - volume access
> mode is "offsite".                        12/06/2006 08:55:46 ANR1423W
> Scratch volume 000009 is empty but will not be deleted - volume access
> mode is "offsite".                        12/06/2006 08:55:46 ANR1423W
> Scratch volume 000010 is empty but will not be deleted - volume access
> mode is "offsite".                        12/06/2006 08:55:46 ANR1423W
> Scratch volume 000011 is empty but will not be deleted - volume access
> mode is "offsite".                        12/06/2006 08:55:46 ANR1423W
> Scratch volume 000012 is empty but will not be deleted - volume access
> mode is "offsite".                        12/06/2006 08:55:46 ANR1423W
> Scratch volume 000013 is empty but will not be deleted - volume access
> mode is "offsite".                        12/06/2006 08:55:46 ANR1423W
> Scratch volume 000016 is empty but will not be deleted - volume access
> mode is "offsite".                        12/06/2006 08:55:46 ANR1423W
> Scratch volume 000017 is empty but will not be deleted - volume access
> mode is "offsite".                        12/06/2006 08:55:46 ANR1423W
> Scratch volume 000019 is empty but will not be deleted - volume access
> mode is "offsite".                        12/06/2006 08:55:46 ANR1423W
> Scratch volume 000021 is empty but will not be deleted - volume access
> mode is "offsite".                        12/06/2006 08:55:46 ANR1423W
> Scratch volume 000022 is empty but will not be deleted - volume access
> mode is "offsite".                        12/06/2006 08:55:46 ANR1423W
> Scratch volume 000023 is empty but will not be deleted - volume access
> mode is "offsite".                        12/06/2006 08:55:46 ANR1423W
> Scratch volume 000024 is empty but will not be deleted - volume access
> mode is "offsite".                        12/06/2006 08:56:16 ANR8841I
> Remove volume from slot 770 of library 3584LIB at your convenience.
> (SESSION: 1154, PROCESS: 26)   12/06/2006 08:56:35 ANR8443E CHECKIN
> LIBVOLUME: Volume 000016 in library 3584LIB cannot be assigned a status
> of
> SCRATCH. (SESSION: 1154, PROCESS: 26)   12/06/2006 08:57:07 ANR8841I
> Remove volume from slot 771 of library 3584LIB at your convenience.
> (SESSION: 1154, PROCESS: 26)   12/06/2006 08:57:26 ANR8443E CHECKIN
> LIBVOLUME: Volume 000010 in library 3584LIB cannot be assigned a status
> of
> SCRATCH. (SESSION: 1154, PROCESS: 26)   12/06/2006 08:57:57 ANR8841I
> Remove volume from slot 772 of library 3584LIB at your convenience.
> (SESSION: 1154, PROCESS: 26)   12/06/2006 08:58:17 ANR8443E CHECKIN
> LIBVOLUME: Volume 000007 in library 3584LIB cannot be assigned a status
> of
> SCRATCH. (SESSION: 1154, PROCESS: 26)   12/06/2006 08:58:47 ANR8841I
> Remove volume from slot 773 of library 3584LIB at your convenience.
> (SESSION: 1154, PROCESS: 26)   12/06/2006 08:59:06 ANR8443E CHECKIN
> LIBVOLUME: Volume 000012 in library 3584LIB cannot be assigned a status
> of
> SCRATCH. (SESSION: 1154, PROCESS: 26)   12/06/2006 08:59:38 ANR8841I
> Remove volume from slot 774 of library 3584LIB at your convenience.
> (SESSION: 1154, PROCESS: 26)   12/06/2006 08:59:57 ANR8443E CHECKIN
> LIBVOLUME: Volume 000011 in library 3584LIB cannot be assigned a status
> of
> SCRATCH. (SESSION: 1154, PROCESS: 26)   12/06/2006 09:00:30 ANR8841I
> Remove volume from slot 775 of library 3584LIB at your convenience.
> (SESSION: 1154, PROCESS: 26)   12/06/2006 09:00:49 ANR8443E CHECKIN
> LIBVOLUME: Volume 000009 in library 3584LIB cannot be assigned a status
> of
> SCRATCH. (SESSION: 1154, PROCESS: 26)   12/06/2006 09:01:20 ANR8841I
> Remove volume from slot 776 of library 3584LIB at your convenience.
> (SESSION: 1154, PROCESS: 26)   12/06/2006 09:01:39 ANR8443E CHECKIN
> LIBVOLUME: Volume 000013 in library 3584LIB cannot be assigned a status
> of
> SCRATCH. (SESSION: 1154, PROCESS: 26)   12/06/2006 09:02:10 ANR8841I
> Remove volume from slot 777 of library 3584LIB at your convenience.
> (SESSION: 1154, PROCESS: 26)   12/06/2006 09:02:29 ANR8443E CHECKIN
> LIBVOLUME: Volume 000021 in library 3584LIB cannot be assigned a status
> of
> SCRATCH. (SESSION: 1154, PROCESS: 26)   12/06/2006 09:03:00 ANR8841I
> Remove volume from slot 778 of library 3584LIB at your convenience.
> (SESSION: 1154, PROCESS: 26)   12/06/2006 09:03:20 ANR8443E CHECKIN
> LIBVOLUME: Volume 000024 in library 3584LIB cannot be assigned a status
> of
> SCRATCH. (SESSION: 1154, PROCESS: 26)   12/06/2006 09:03:51 ANR8841I
> Remove volume from slot 779 of library 3584LIB at your convenience.
> (SESSION: 1154, PROCESS: 26)   12/06/2006 09:04:11 ANR8443E CHECKIN
> LIBVOLUME: Volume 000023 in library 3584LIB cannot be assigned a status
> of
> SCRATCH. (SESSION: 1154, PROCESS: 26)   12/06/2006 09:04:41 ANR8841I
> Remove volume from slot 780 of library 3584LIB at your convenience.
> (SESSION: 1154, PROCESS: 26)
>
> Operations Analyst -Data Center Services
> Information Management Systems
> sbach AT mge DOT com
>
>
> ##############################################################
> This message is for the named person's use only.  It may
> contain confidential, proprietary, or legally privileged
> information.  No confidentiality or privilege is waived or
> lost by any mistransmission.  If you receive this message
> in error, please immediately delete it and all copies of it
> from your system, destroy any hard copies of it, and notify
> the sender.  You must not, directly or indirectly, use,
> disclose, distribute, print, or copy any part of this message
> if you are not the intended recipient.  Health First reserves
> the right to monitor all e-mail communications through its
> networks.  Any views or opinions expressed in this message
> are solely those of the individual sender, except (1) where
> the message states such views or opinions are on behalf of
> a particular entity;  and (2) the sender is authorized by
> the entity to give such views or opinions.
> ##############################################################
>
>

Steve Roder
University at Buffalo
(spr AT buffalo DOT edu | (716)645-3564)

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