Networker

Re: [Networker] NETWORKER Digest - 13 Aug 2003 to 14 Aug 2003 (#2003-66)

2003-08-15 09:36:42
Subject: Re: [Networker] NETWORKER Digest - 13 Aug 2003 to 14 Aug 2003 (#2003-66)
From: Jim McAlarney <JMcAlarney AT HUBER DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Fri, 15 Aug 2003 09:36:23 -0400
Preston, read the archives: I've answered this question a couple of
times already.

IBM's tape drivers create an smc0 device to access the robotics.  That
holds the device open.  cfgmgr will recreate the smc device everytime
it's run.

I have the following script run by cron early every evening to make
sure Legato is running and the library can be accessed:

#!/bin/ksh
#
#  Make sure Legato is running
#
check=`ps -e | grep nsrd | grep -v grep`

if [[ -z $check ]] ; then
   /etc/rc.nsr
fi

#
#  Make sure autochanger device is not Available, it interferes with
#  Legato control of robotics
#
lsdev -Cl smc0 | awk '$2 ~ /Available/ {system("rmdev -l smc0")}'
lsdev -Cl smc1 | awk '$2 ~ /Available/ {system("rmdev -l smc1")}'

exit


IBM has a low-level tape diagnostic tool that uses smc0 to access the
library and tapes.  I've used it to remotely remove a broken tape from
the drive and get Legato to use a different one.  Avoided a couple of
trips to the office late at night.  You have to use the mkdev command to
reenable smc0.



---
Jim McAlarney                                         Huber Engineered
Materials
phone:  404-949-5505                              4401 Northside
Parkway
fax:       404-949-1305                              Suite 600
jmcalarney AT huber DOT com                            Atlanta, GA  30327

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
--- Begin Message ---
Subject: NetWorker 7.0 on AIX
From: Preston de Guise <pdeguise AT BIGPOND.NET DOT AU>
Date: Thu, 14 Aug 2003 20:05:11 +1000
Hi all,

Never configured NetWorker on AIX before. I've got an AIX 5.2 server
(one partition in a P690) with NetWorker 7.0. It's to act as a storage
node to a Windows 2000 NetWorker server.

The tape library is an IBM 3583 (I think - whatever the rebadged ADIC
Scalar 100 is...) and I can see it and the tape drives with the "inquire
-l" command but the tape library itself can't be communicated with via
either sjisn or sjirdtag. The drives can be configured for standalone
access and work but the library can't be "opened" - I just get a "device
busy" response from any command - same for jbconfig.

In desperation yesterday I renumbered the SCSI id's for the library and
tapes (if nothing else it made it more logical) - and after this and an
lreset, lo & behold I could access it via sjisn/sjirdtag/jbconfig.

However inquire saw the library as a tape drive and saw three tape
drives instead of a library and two tape drives - no problem I thought
and had the AIX administrator re-run the device discovery/configuration
under AIX.

After that I lost access to the library again - same problem of device
busy.

I'd equate it to the library being faulty except it *worked* after the
SCSI remapping.

I'd equate it to the library door being open etc but it's not and the
library is properly on-line.

If I were on Windows 2000 (& NSR 6.x) I'd expect RSM were in the way.

It really seems to me that some AIX system process is holding open a
file handle to the tape library device (which I assume is /dev/smc0) and
thus blocking my access attempts. Can't see any reference to it though
and fuser was less than revealing.

Has anyone out there configured a library on AIX and hit this problem
before? Does anyone have any hints? FWIW this is running SAP but my
memory of SAP is that SAP won't access anything on the tape/library path
unless it's asked to...

Cheers,

-Preston.

--
Then the machines suddenly realised that by making a movie about the
Matrix
they could divert the attention of the batteries for centuries.

--
Note: To sign off this list, send a "signoff networker" command via
email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=


--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

--- End Message ---
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Networker] NETWORKER Digest - 13 Aug 2003 to 14 Aug 2003 (#2003-66), Jim McAlarney <=