View previous topic :: View next topic
|
Author |
Message |
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
I need to create alerts to the operations staff if any tape drives are offline.
How would I:
1. Determine the addresses of all tape drives on each LPAR?
2. Determine if they're online or offline. If a drive is offline, how can I suppress the alert if it's offline for maintenance? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Would the HCD hold the device addresses.
But, if it is a shared HCD then the device addresse will be the same for all LPARs within the plex, so at some time some drives will be offline to one LPAR.
Do you, or can you, also share drives across sysplexes.
Do you use a tape drive allocation software, IBM ATAM or CA-MIM/MIA |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
expat wrote: |
Do you, or can you, also share drives across sysplexes.
|
Yes.
expat wrote: |
Do you use a tape drive allocation software, IBM ATAM or CA-MIM/MIA |
Yes, BMC TAPESHARE. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
We're still looking for a solution to this. At year-end one of the "critical path" jobs was stuck for more than 8 hours waiting for a tape drive. A follow-up check showed that there are currently over 300 drives offline. |
|
Back to top |
|
|
Pete Wilson
Active Member
Joined: 31 Dec 2009 Posts: 580 Location: London
|
|
|
|
Are you using Virtual Tape or native attached tape, and are your tapes in an SMS managed library?
The command D SMS,LIB(ALL),DETAIL will indicate what number of drives are defined and what are available etc within the plex for an SMS managed library.
You might want to check the settings in your ALLOCnn member in SYS1.PARMLIB as well which can affect the way tape allocation waits are processed. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
It has been a long time, but i seem to recall a console display command that was something like:
D U,*TAPE*,OFFLINE
*TAPE* - whatever UNIT is being displayed.
Possibly an operator/monitor could use this when an allocation issue arose. . .? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Hi Kevin!
You would anyway to have to complicate it a bit, You will need at least a few lpar dependent tables in order to avoid false alerts!
usually in every HCD more devices are defined than needed ( You never know )
the first thing that comes to mind is the MXI rexx interface...
run an MXI to find the tape drives offline/online
match the result with Your table to see the match/nomatch and signal accordingly
or search the cbt tape for the UCB scan routines.
I even remember seeing somewhere a REXX external function capable of doing it
as soon I recollect the name I will post it
got it! cbt file634 , seems to fit Your needs
edited to add some more,
but if You are into serious hacking then
www.mail-archive.com/ibm-main@bama.ua.edu/msg53317.html
might inspire You better |
|
Back to top |
|
|
|