Veritas-bu

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

2001-06-20 23:44:37
Subject: [Veritas-bu] Re: start notify and multiple data streams
From: scott.kendall AT abbott DOT com (scott.kendall AT abbott DOT com)
Date: Wed, 20 Jun 2001 22:44:37 -0500
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