Veritas-bu

[Veritas-bu] Autoloader questions

2003-10-14 09:35:42
Subject: [Veritas-bu] Autoloader questions
From: c-u AT wp DOT pl (Jakub Bielecki)
Date: Tue, 14 Oct 2003 15:35:42 +0200
Recently I've tried to set up NetBackup with HP DDS autoloader.
And yes, I know it's not very wise idea, but it simply had to be done this
way.

Autoloader contains one magazine, with max 6 tapes.
So of course I ran into issues when changing these magazines,
since there is no barcode reader available.
At present I resolved that problem writing a separate script
for each magazine:

# move all tapes to standalone location
vmchange -res -m A00000 -mt 4mm -v ---
vmchange -res -m A00001 -mt 4mm -v ---
... (for each tape)...
vmchange -res -m A00022 -mt 4mm -v ---

# move tapes A00017-A00022 to autoloader
vmchange -res -m A00017 -mt 4mm -rt tl4 -rn 0 -rh zwcpt231 -v
00_000_TL4 -rc1 1
vmchange -res -m A00018 -mt 4mm -rt tl4 -rn 0 -rh zwcpt231 -v
00_000_TL4 -rc1 2
vmchange -res -m A00019 -mt 4mm -rt tl4 -rn 0 -rh zwcpt231 -v
00_000_TL4 -rc1 3
vmchange -res -m A00020 -mt 4mm -rt tl4 -rn 0 -rh zwcpt231 -v
00_000_TL4 -rc1 4
vmchange -res -m A00021 -mt 4mm -rt tl4 -rn 0 -rh zwcpt231 -v
00_000_TL4 -rc1 5
vmchange -res -m A00022 -mt 4mm -rt tl4 -rn 0 -rh zwcpt231 -v
00_000_TL4 -rc1 6

# setup tape for catalog backup
bpsyncinfo -id1 A00017 -d1 4mm


But this solution is not so scalable, since I need a separate
script for each magazine.

My questions are:
1) After changing magazine, how can I force NBU to rescan
all tapes by mounting each of them? It would leave me with only
one script instead of dozens.
2) What about volume groups? Can they help me? I've never cared
about them in standard library configs, but I suspect they can be of use
now.

tia & regards
Jakub


<Prev in Thread] Current Thread [Next in Thread>
  • [Veritas-bu] Autoloader questions, Jakub Bielecki <=