Veritas-bu

[Veritas-bu] Re: start notify and multiple data streams

2001-06-21 12:50:13
Subject: [Veritas-bu] Re: start notify and multiple data streams
From: morms AT es DOT com (morms AT es DOT com)
Date: Thu, 21 Jun 2001 10:50:13 -0600
The last thing in the bpstart_notify is sleep 180 (independent of stream
number), which gives us plenty of time for our database scripts to complete.

We have a dedicated oracle tape drive and do not run multiple clients in the
same class.  It seems to me that it would be odd for some of a client's jobs
to remain in queue at the same point in time that all the client's active
jobs are completed.  Or at least, I have not seen that unless there was some
other issue.  Am I missing something?
I am relatively unfamiliar with NetBackup, I appreciate all the productive
input.

Thanks,
Melinda


-----Original Message-----
From: scott.kendall AT abbott DOT com [mailto:scott.kendall AT abbott DOT com]
Sent: Wednesday, June 20, 2001 9:45 PM
To: morms AT es DOT com
Cc: veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Re: start notify and multiple data streams



One issue with this is that all the streams will be queued together.  If
more
than one stream starts running at roughly the same time (which is going to
happen if you're using mux'ing or more than one tape drive is available),
you
have the 1st stream getting the database ready for the backup.  What about
the
other streams?  If you have the script immediately exit for these they will
start their backups.  If the bpstart from the first stream is still running
trying to get the database ready and the other streams start to backup
files,
the backups will not be good.  All subsequent streams must wait for the
first
stream to finish before they proceed or the database will not be ready.

Also, if a stream runs and then finishes all while other streams for the
same
backup are still queued.  There won't be any stream*.active files that exist
and the database will be brought up before the queued streams even start.


- Scott



 

                    morms AT es DOT com

                    Sent by:                             To:
xuchen_nc AT yahoo DOT com, veritas-bu AT mailman.eng.auburn DOT edu            
                    veritas-bu-admin AT mailman DOT eng.        cc:

                    auburn.edu                           Subject:     RE:
[Veritas-bu] Re: start notify and multiple data streams  
 

 

                    06/20/2001 06:09 PM

 

 






Xu,

I am in the process of testing a script to deal with this issue.  This
start_notify script uses 'if STREAM_NUMBER=1 then' <put our database in hot
backup mode>.  Each stream that starts creates it's own tmp file named
stream"$STREAM_NUMBER".active.  Each stream that ends deletes it's own
stream"$STREAM_NUMBER".active file and looks for any others.  If any other
.active files exist, the script just exits, otherwise, it brings the
database out of hot backup mode.
We will set up a cron job to pull the database out of hotbackup in the
mornings and clean up any leftover .active files just in case the end_notify
fails for any reason.

Good Luck,
Melinda Orms
Evans & Sutherland


-----Original Message-----
From: Xu Chen [mailto:xuchen_nc AT yahoo DOT com]
Sent: Wednesday, June 20, 2001 7:10 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Re: start notify and multiple data streams


> I have been struggling with following issue:
>
> As I have 6 data streams defined in the class,
everytime the class run, the
> bpstart_notify.class will run 6 times. Verifiy
suggests a workaround to set
> a lock file, but it doesn't seem to work.
>
> Any one has a good workaround?
>
> Thanks a lot in advance. PS. I have been working
with Veritas support and
> have been frustrating with their answers.

Xu

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu




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