Re: [Networker] Move tapes offsite & autochanger
2008-10-14 19:04:49
On Mon, 13 Oct 2008, JGillTech wrote:
The -w withdraws one or more catridges to the cartridge access ports... I don't
have load/unload ports on my library. So this doesn't apply. Same with -d for
deposit.
We use an L700, which has CAP (Cartridge Access Ports). With Legato on Solaris 9, we can still use sjirdtag commands
to interrogate the CAP and find out if there is anything in the slots - via a very old script called "jbscan".
It is very useful as we can tell if Volumes in the CAP have been collected or not by the Offsite company that
gets/returns them for us. The output looks something like this:
/opt/scripts/jbscan -c
1 CL0451
2 CL0457
3 CL0460
4 CL0462
5 CL0463
6 NO-BARCODE
7 NO-BARCODE
8 NO-BARCODE
9 NO-BARCODE
10 NO-BARCODE
11 NO-BARCODE
12 NO-BARCODE
13 NO-BARCODE
14 NO-BARCODE
15 NO-BARCODE
16 NO-BARCODE
17 NO-BARCODE
18 NO-BARCODE
19 NO-BARCODE
So this has been very useful to us. We also use the same script to interrogate tape drives and see if a volume
is mounted, so that our labeling scripts don't stick around if there are no free drives to label a tape:
/opt/scripts/jbscan -d
1 EMPTY
2 106096
3 EMPTY
4 105188
5 EMPTY
6 EMPTY
7 010997
8 EMPTY
9 EMPTY
10 106094
But on Solaris 10, in their infinite wisdom, EMC have dumbed down the product
from 7.3.x on
and allowed all this to be controlled by their daemon nsrlcpd which doesn't know
anything about CAP ports and the sji* commands are now no longer working.
So, we are in a position where we have a tape library 50km away and we can't
analyse the contents of the CAP port without going and making a visual
inspection - how 20th century ;)
If anyone knows how to interrogate a CAP port without the sji* commands, we
would be very interested.
rachel
Francis Swasey wrote:
Hi,
Read the nsrjb man page -- specifically the -w and -d flags. I assume
you are likely running NetWorker 7.4 since you just did clones for the
first time.... it has a library management daemon that really hates you
doing manual changes. As you found, you have jump through extraordinary
hoops to make it see reality after performing manual changes.
I am also assuming that your library has one or more I/O slots for
programmatic deposit and withdrawal of tapes.
Frank
On 10/13/08 11:35 AM, JGillTech wrote:
My clone operation ran for the first time over the weekend. Now I want to take
the tape out of my Quantum Scalar 50 library and move offsite. What is the
process for taking a tape out of the autochanger and making NetWorker aware of
the change? I did the following procedure, but ran into some issues along the
way:
1.) Marked the tape full with "nsrjb -o full {barcode}
2.) Updated the location field with NW Admin Console
3.) Brought tape library offline, and pulled tape
4.) Inserted new volume into library
When I brought my library back online, I noticed the status of the library within the
Admin console didn't reflect pulling the tape. So I manually tried to inventory that
slot.. which didn't pickup the change (very concerning). So I issued a "reset"
command to the library, which finally worked. Then I relabeled the new tape. I went to
the volumes tree under media (NW Admin Console) and noticed the location field didn't
retain the information. I update this information once again.
What is wrong with this process?
Furthermore, I tried to use the offsite flag with the command "nsrmm - o offsite -v
{barcode}" I didn't notice this actually doing anything to the volume... nothing I
could query or see for that fact. What does this do, if anything? Should I use this in
my offsite procedure?
BTW: I don't have any load/unload ports on my Scalar.
+----------------------------------------------------------------------
|This was sent by Jonathan.Gill < at > uconn.edu via Backup Central.
|Forward SPAM to abuse < at > backupcentral.com.
+----------------------------------------------------------------------
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
--
Frank Swasey | http://www.uvm.edu/~fcs
Sr Systems Administrator | Always remember: You are UNIQUE,
University of Vermont | just like everyone else.
"I am not young enough to know everything." - Oscar Wilde (1854-1900)
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
+----------------------------------------------------------------------
|This was sent by Jonathan.Gill AT uconn DOT edu via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------
To sign off this list, send email to listserv AT listserv.temple DOT edu and type
"signoff networker" in the body of the email. Please write to networker-request
AT listserv.temple DOT edu if you have any problems with this list. You can access the
archives at http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
--
Rachel Polanskis Systems Admin, University of Western Sydney
ADD Werrington North Campus (+61 2) 9678 7291 <r.polanskis AT uws.edu DOT
au>
The price of greatness is responsibility.
To sign off this list, send email to listserv AT listserv.temple DOT edu and type
"signoff networker" in the body of the email. Please write to networker-request
AT listserv.temple DOT edu if you have any problems with this list. You can access the
archives at http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|
|
|