Veritas-bu

[Veritas-bu] Multiple data stream and bpend_notify script

2005-11-08 08:45:29
Subject: [Veritas-bu] Multiple data stream and bpend_notify script
From: pkeating AT bank-banque-canada DOT ca (Paul Keating)
Date: Tue, 8 Nov 2005 08:45:29 -0500
This is a little convoluted, but works pretty well once implemented.

In your bp start script, first check to see if the DB is running.....if it is 
running, then shut it down, if not, continue.
Each time the script runs, touch an ordered file in a temp directory....ie 
one.lock, two.lock, etc

In your end script, look for the highest numbered lock file.... delete it and 
exit.
If the highest numbered lock file found is "one.lock" (or the first one 
created), then delete it and start the database.

Paul

> -----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 
> Asiye Yigit
> Sent: November 8, 2005 4:37 AM
> To: veritas-bu AT mailman.eng.auburn DOT edu
> Subject: [Veritas-bu] Multiple data stream and bpend_notify script
> 
> 
> Hi gurus,
> 
> We have a file system backup. It is being backuped as multiple data
> stream.
> We are backing up offline sql backup. So, in the bpend_notify script,
> There is start command to start sql after finishing backup.
> As there are multiple data stream, after completion of each 
> data stream,
> Nb run bpend_notify script. We have to instruct the script,
> There are multiple data stream. In fact, ýn the admin guide,
> We have found some variables to support multiple data stream:
> STREAM_NUMBER
> STREAM_COUNT
> 
> However, I do not know how can I use these variables in my 
> bpend_notify
> script.
> Does  "Set STREAM_NUMBER=1"  work? I am not sure. How can I tell the
> script,
> This backup is being backed up via multiple data stream. Please wait?
> 
> Is there any idea about that? I would appreciate if you could help me.
> 
> Regards,
> 
> Asiye
> 
> 
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> 


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