The short answer is:  don't even try if you have multiple disks.  You *may*
be able to get away with it now using the parent/child job functionality
that got added in 6.0 but we haven't tested this, having given up on a long
time ago after a multi-year battle.

Sure, you can get it work most of the time, and many people do.  However,
there are many, many edge cases where this will break down, and if you do go
down this route, you'll find some them eventually.  You'll find cases where
the bpstart didn't run or the bpend didn't run, or they'll run twice.

We definitely had a really, really bright guy working on the bpstart/bpend
scripts and he could not solve the problem so that it was 100% reliable.  We
simply wanted to put Oracle into hotbackup mode, do the backups, and take it
out of hotbackup mode.  Like you said, you'll be writing some logic around
it.  However, you'll be writing and writing and writing, tweaking it
regularly as you run into all of the edge conditions and you'll cuss and
swear as you stumble over them.  Bottom line:  it can't be done reliably.

Use a different method of coordinating this.

   .../Ed

On Jan 31, 2008 8:57 AM, Dave Markham <[EMAIL PROTECTED]> wrote:

> Guys im running Netbackup 6.0mp4 and a number of oracle SSO media
> servers backing themselves up. Solaris9/10
>
> This has been mentioned before many times im sure and i found a thread
> on it called 'Yet another bpstart/bpend questions' but i dont have a
> copy of it to reply to.
>
> Basically as im running a UNIX backup (forget oracle for the moment) and
> we have multistreams set and all_local_drives directive, a
> bpstart_notify script we have which does this (there are extra checks
> etc also):-
>
> dd if=/path/to/votedsk1 of=$STAGING/votingdisk bs=4k >/dev/null 2>&1
>
> ..is obviously running on each stream which is kicked off.
>
> I just need it to run once.
>
> There was talk about the bpstart script taking a STREAMS parameter but
> it doesnt say so within the /opt/openv/netbackup/bin/goodies version so
> can anyone confirm there are STREAMS variables passed to it?
>
> I was thinking ( perhaps like many people ) to create some lock file and
> then remove it. This leads to all sorts of issues regarding streams
> restarting, certain ones finishing before others etc and so i'd need to
> create some good logic around it.
>
> What are people doing in the wild?
>
> I just need the above command to run once per backup.
>


-- 
Ed Wilts, Mounds View, MN, USA
mailto:[EMAIL PROTECTED]
_______________________________________________
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

Reply via email to