Veritas-bu

[Veritas-bu] imitation vault?

2002-12-05 16:01:05
Subject: [Veritas-bu] imitation vault?
From: Mark.Donaldson AT experianems DOT com (Donaldson, Mark)
Date: Thu, 5 Dec 2002 14:01:05 -0700
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C29CA1.6D468100
Content-Type: text/plain;
        charset="iso-8859-1"

I've written it myself - it's a small series of ksh scripts - it's not too
hard.  Here's a snip from a previous mailing of mine on this.  I'm willing
to help further but it may be next week before I can reply more than
briefly.

-M
-----Original Message-----
Well, this can be really a very large answer.  There's two basic ways to do
this, though:

1. Netbackup Vault - it's a product set that does just what you're talking
about.  It's an add-on for v3.4 and included but disabled in v4.5.  Pay $$
to Veritas to make it work via a license key.

2. Write it yourself.  It turns out to be not to hard if you're a good
scripter and if you think it out beforehand.  I've written a couple of
modules:

  a. Removable tape identification - which tapes to you want to remove? 
For daily tape rotations (pulling full tapes & inserting blank tapes) I've
got a ruleset like this: 1-week since last written AND in library AND (full
OR frozen OR suspended). It's written around vmquery output.  The 1-week
rule keeps the mostly-likely-to-be-requested tapes in the library so I don't
have to fetch removed ones too much.  For offsites, I duplicate tapes to a
specific tape pool then simply eject all tapes in that pool.

  b. Injectable tape identificiation - which tapes are empty and available
to be inserted into the library.  My rules are: not-cleaning-tape AND
out-of-library AND onsite (volume group) AND non-asssigned AND data-tape
(status=0, ie: not catalog & not HSM).  This one is also built around
vmquery output.

  c. Define different volume groups for in-library, out-of-library, &
offsite to help with these identificiations.

  d. Offsite processing - scripts which I run to track tapes that leave the
building to our offsite storage.  There's a check-in/-out pair of scripts
that alter the entries in the volume database that actually track this
stuff.  Look at vmchange -new_v, -offsent, -offreturn, & -offloc (these are
different flags for v4.5 but analogous).

  e. If you're storing tapes out of the library, it's possible that there
will be a restore request that wants a tape not in the library.  Unless you
keep the GUI up all the time, you'll not know.  I have a cron-based script
that wakes up every 10 minutes and uses the "vmoprcmd -d pr" & "vmoprcmd -d
ds" command to watch for pending requests and pages when one comes in and
also pages when it's done with the tape.

  f. Rotation script - write a job for the ops staff, either cron or
manually run - that uses the ident removable & ident insertable routines
above to create a report.  My version also auto-ejects the tapes to the
mailslot for removal, then pages to have them swapped with injectable tapes.
There's another script that injects tapes from the mailslot back into the
library.  vmchange can be used to eject tapes, vmupdate to inject them.
I've marked a "water-line" of scratch tapes that I try to keep in the
machine.  I never
rotate out more tapes that what I need to keep enough spares.

There's a lot here - there probably should be more.  E-mail or post if you
want more...

-Mark




-----Original Message-----
From: Mike Shannon [mailto:mikesha AT u.washington DOT edu]
Sent: Thursday, December 05, 2002 1:14 PM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] imitation vault?


Is there a cheap alternitive to bpvault to do offsite backups?

We have Netbackup DC, but unfortunitly we're funded off of research grants
and money is limited, spending $34k for this option isn't very likely to
happen.

We have an ATL P3000 with 326 tapes and 16 drives - using a sun e4500 as our
media server (obviously times have been better, we're just strapped for cash
now).

Thanks!

Mike

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

------_=_NextPart_001_01C29CA1.6D468100
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [Veritas-bu] imitation vault?</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>I've written it myself - it's a small series of ksh =
scripts - it's not too hard.&nbsp; Here's a snip from a previous =
mailing of mine on this.&nbsp; I'm willing to help further but it may =
be next week before I can reply more than briefly.</FONT></P>

<P><FONT SIZE=3D2>-M</FONT>
<BR><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>Well, this can be really a very large answer.&nbsp; =
There's two basic ways to do</FONT>
<BR><FONT SIZE=3D2>this, though:</FONT>
</P>

<P><FONT SIZE=3D2>1. Netbackup Vault - it's a product set that does =
just what you're talking about.&nbsp; It's an add-on for v3.4 and =
included but disabled in v4.5.&nbsp; Pay $$ to Veritas to make it work =
via a license key.</FONT></P>

<P><FONT SIZE=3D2>2. Write it yourself.&nbsp; It turns out to be not to =
hard if you're a good scripter and if you think it out =
beforehand.&nbsp; I've written a couple of modules:</FONT></P>

<P><FONT SIZE=3D2>&nbsp; a. Removable tape identification - which tapes =
to you want to remove? </FONT>
<BR><FONT SIZE=3D2>For daily tape rotations (pulling full tapes &amp; =
inserting blank tapes) I've got a ruleset like this: 1-week since last =
written AND in library AND (full OR frozen OR suspended). It's written =
around vmquery output.&nbsp; The 1-week rule keeps the =
mostly-likely-to-be-requested tapes in the library so I don't have to =
fetch removed ones too much.&nbsp; For offsites, I duplicate tapes to a =
specific tape pool then simply eject all tapes in that pool.</FONT></P>

<P><FONT SIZE=3D2>&nbsp; b. Injectable tape identificiation - which =
tapes are empty and available to be inserted into the library.&nbsp; My =
rules are: not-cleaning-tape AND out-of-library AND onsite (volume =
group) AND non-asssigned AND data-tape (status=3D0, ie: not catalog =
&amp; not HSM).&nbsp; This one is also built around vmquery =
output.</FONT></P>

<P><FONT SIZE=3D2>&nbsp; c. Define different volume groups for =
in-library, out-of-library, &amp; offsite to help with these =
identificiations.</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp; d. Offsite processing - scripts which I run to =
track tapes that leave the building to our offsite storage.&nbsp; =
There's a check-in/-out pair of scripts that alter the entries in the =
volume database that actually track this stuff.&nbsp; Look at vmchange =
-new_v, -offsent, -offreturn, &amp; -offloc (these are different flags =
for v4.5 but analogous).</FONT></P>

<P><FONT SIZE=3D2>&nbsp; e. If you're storing tapes out of the library, =
it's possible that there will be a restore request that wants a tape =
not in the library.&nbsp; Unless you keep the GUI up all the time, =
you'll not know.&nbsp; I have a cron-based script that wakes up every =
10 minutes and uses the &quot;vmoprcmd -d pr&quot; &amp; &quot;vmoprcmd =
-d ds&quot; command to watch for pending requests and pages when one =
comes in and also pages when it's done with the tape.</FONT></P>

<P><FONT SIZE=3D2>&nbsp; f. Rotation script - write a job for the ops =
staff, either cron or manually run - that uses the ident removable =
&amp; ident insertable routines above to create a report.&nbsp; My =
version also auto-ejects the tapes to the mailslot for removal, then =
pages to have them swapped with injectable tapes.&nbsp; There's another =
script that injects tapes from the mailslot back into the =
library.&nbsp; vmchange can be used to eject tapes, vmupdate to inject =
them.&nbsp; I've marked a &quot;water-line&quot; of scratch tapes that =
I try to keep in the machine.&nbsp; I never</FONT></P>

<P><FONT SIZE=3D2>rotate out more tapes that what I need to keep enough =
spares.</FONT>
</P>

<P><FONT SIZE=3D2>There's a lot here - there probably should be =
more.&nbsp; E-mail or post if you want more...</FONT>
</P>

<P><FONT SIZE=3D2>-Mark</FONT>
</P>
<BR>
<BR>
<BR>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Mike Shannon [<A =
HREF=3D"mailto:mikesha AT u.washington DOT edu">mailto:mikesha AT u.washington 
DOT edu=
</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Thursday, December 05, 2002 1:14 PM</FONT>
<BR><FONT SIZE=3D2>To: veritas-bu AT mailman.eng.auburn DOT edu</FONT>
<BR><FONT SIZE=3D2>Subject: [Veritas-bu] imitation vault?</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Is there a cheap alternitive to bpvault to do offsite =
backups?</FONT>
</P>

<P><FONT SIZE=3D2>We have Netbackup DC, but unfortunitly we're funded =
off of research grants</FONT>
<BR><FONT SIZE=3D2>and money is limited, spending $34k for this option =
isn't very likely to</FONT>
<BR><FONT SIZE=3D2>happen.</FONT>
</P>

<P><FONT SIZE=3D2>We have an ATL P3000 with 326 tapes and 16 drives - =
using a sun e4500 as our</FONT>
<BR><FONT SIZE=3D2>media server (obviously times have been better, =
we're just strapped for cash</FONT>
<BR><FONT SIZE=3D2>now).</FONT>
</P>

<P><FONT SIZE=3D2>Thanks!</FONT>
</P>

<P><FONT SIZE=3D2>Mike</FONT>
</P>

<P><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>Veritas-bu maillist&nbsp; -&nbsp; =
Veritas-bu AT mailman.eng.auburn DOT edu</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu"; =
TARGET=3D"_blank">http://mailman.eng.auburn.edu/mailman/listinfo/veritas=
-bu</A></FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C29CA1.6D468100--

<Prev in Thread] Current Thread [Next in Thread>