Veritas-bu

[Veritas-bu] Multiple stream bpstart_notify and bpend_notify...

2004-05-18 10:35:52
Subject: [Veritas-bu] Multiple stream bpstart_notify and bpend_notify...
From: Steve.White AT PacifiCorp DOT com (White, Steve)
Date: Tue, 18 May 2004 07:35:52 -0700
I have seen this done in a script that basically keeps a status or
"lock" file when the first stream executes the "bpstart_notify" scripts.
Each time the script runs for each subsequent stream, it checks for the
existence of the "lock" file and it skips the tasks that shouldn't be
run multiple times.  Then you have the "bpend_notify" script run
multiple times, and the last stream to complete removes the lock file.
I have seen this logic used in NetBackup scripts before, but I don't
recall who's scripts they were.  

You might look to see if there's something on the scripting web site.

Steve White

-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of Dan
Logcher
Sent: Tuesday, May 18, 2004 6:36 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu] Multiple stream bpstart_notify and
bpend_notify...

Charles L. Harris Jr. wrote:

> This is an issue for me, especially if you need to use the NEW_STREAM
> directive yet would like your backups to be scheduled by netbackup to
> take advantage of the checkpoint restart features for netbackup 5.0.
> 
> For example, say you have 6 "NEW_STREAMS".  Using bpstart_notify to
kick
> off an action such as shutting down a database will be invoked once
for
> each "NEW_STREAM".  
> 
> Does anyone have a solution for handling multiple stream when used in
> conjunction with bpstart/bpend??

This is similar to my needs, where I want to send a report immediately
after all 14 streams finish.  Any thoughts?

-- 
Dan

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



------------------------------------------------------------------------------

This email is confidential and may be legally privileged.

It is intended solely for the addressee. Access to this email by anyone else, 
unless expressly approved by the sender or an authorized addressee, is 
unauthorized.

If you are not the intended recipient, any disclosure, copying, distribution or 
any action omitted or taken in reliance on it, is prohibited and may be 
unlawful. If you believe that you have received this email in error, please 
contact the sender, delete this e-mail and destroy all copies.

==============================================================================



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