Networker

Re: [Networker] Newbie question: Networker 7.1.4 - scanning in tapes?

2009-02-06 18:22:29
Subject: Re: [Networker] Newbie question: Networker 7.1.4 - scanning in tapes?
From: Tim Mooney <Tim.Mooney AT NDSU DOT EDU>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Fri, 6 Feb 2009 17:14:52 -0600
In regard to: [Networker] Newbie question: Networker 7.1.4 - scanning in...:

I am rather new to EMC Networker.

We'll take it easy on you.

 I have Networker 7.1.4 running on
Windows.  I have an ADIC Scalar 24 tape library.  They are connected via
2Gb Fibre Channel through a Cisco MDS 9216i.

Here's what I need to accomplish: I have a set of 14 tapes that contain
data.  These tapes were created at a different location, but using the
same setup (i.e. Legato 7.1.4 on Windows and ADIC Scalar 24).  Now I
need to restore this data using my equipment.

Some time down the road, you're going to want to consider upgrading to
a version of NetWorker that's still supported by EMC, but that's a project
for another day.

Am I correct in assuming that the first thing I need to do, is to scan
in / index these tapes?  I don't see any way to do this through the GUI
- can it be done through the GUI?

There's no way to perform a scan operation using the old GUI (version
7.3.x and later use a completely redesigned GUI).

Without overcomplicating things too much, you definitely need to use
scanner to make at least the media known to the NetWorker installation.
Depending on what's actually on the tapes, you may not need to use the -i
option with scanner.  To keep things simple, using scanner -i is the
most straightforward way to go, but under certain conditions you can
take a shortcut or two that will speed things up.

I'm not going to assume you can take the shortcut, so I won't go into
the details.

If the command line is required, here are the commands I think I need to
run.  Are these correct?

sjimm [email protected] slot 1 drive 1

That will work, though you should also be able to use nsrjb to load but
not mount a tape.  I would go that route, because it will keep NetWorker
in the loop about tape movement within the jukebox (sjimm does NOT).

You probably want

        nsrjb -l -n -S 1 -f \\.\Tape0

or something along those lines (-l -n == load but don't mount, -S # is
slot number to load from).

scanner -i \\.\Tape0
nsrjb -HEv

If you used nsrjb -l -n to load, then you can just use

        nsrjb -u -f \\.\Tape0

to unload (it will by default put the tape back in the slot it came from,
which it knows if you loaded it with nsrjb).  You can override that if
you want with

        nsrjb -u -f \\.\Tape0 -S 1

This should load a tape from slot 1 into drive 1.
Then scan in the tape to create indexes
Then eject the tape back to it's original slot (is there a better way to
do this than the nsrjb -HEv command?

Since you have 14 tapes, there's at least a possibility that some of the
savesets you have will span tapes (start on one and finish on some other
volume).  In cases like that, in theory it doesn't matter what order you
scan the tapes in, but in practice things will go more smoothly if you
actually scan volumes in the correct order.

If you have a saveset that was still in progress when scanner gets to the
end of the volume, it will prompt you for the next volume in the sequence.

You're definitely on the right track.  Assuming you're not incredibly
pressed for time, using scanner -i is the straight-forward, brute force
way to do what you need.

Tim
--
Tim Mooney                                             Tim.Mooney AT ndsu DOT 
edu
Enterprise Computing & Infrastructure                  701-231-1076 (Voice)
Room 242-J6, IACC Building                             701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

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