Veritas-bu

[Veritas-bu] multiple streams and bpend

2002-07-09 06:03:04
Subject: [Veritas-bu] multiple streams and bpend
From: Laurence.Moughan AT o2 DOT com (Moughan, Laurence)
Date: Tue, 9 Jul 2002 11:03:04 +0100
follow up,

Thanks all the advice already, come up with this,

# start db server
#
echo "Stream Number = " $STREAM_NUMBER >>$OUTF 2>>$OUTF
if [ $STREAM_NUMBER -eq 10 ]
then
echo "Stream $STREAM_NUMBER , Starting db" >>$OUTF 2>>$OUTF   
echo "starting db server" >>$OUTF 2>>$OUTF
#su - dbuser -c /dbdir/dbstart >>$OUTF 2>>$OUTF
#
# might want to mail this info to someone
#
cat $OUTF | mailx -s "db backup finished" laurence.moughan AT o2 DOT com
#
else
echo "not stream 10, Not Starting db yet !!!" >>$OUTF 2>>$OUTF
cat $OUTF | mailx -s stream_info laurence.moughan AT o2 DOT com
fi
#
#
#
fi

exit 0

I assumed stream number 10 as last stream, as there are 10 file sys on the
server and using ALL_LAOCAL_DRIVES give 10 streams in the activity window.

However .

How do i know that stream 10 will finish last ???? 


Is there a better way to do this ? 

is there an ENV VAR for the class backup state ? rather than the stream
number ?? 

I need basically to know when the whole job has ended.

Thanks in advance for any guidnace here.


Laurence


-----Original Message-----
From: Moughan, Laurence 
Sent: 09 July 2002 08:58
To: 'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: RE: Veritas-bu digest, Vol 1 #1401 - 9 msgs
Importance: High


Hi all,


I am using bpstart_notify to stop a db, however when using n multiple
streams, i get n times the emails notification of the script./ I have
commented out the db stop - until i can be sure this actually will happen
only once ! - anyone seen\ solved this issue ??

Same for the bpend_notify - wher i want a db start ! ( once only though !))


----------

Also just installed a hpux10.20 client from my solaris 2.7 server - running
a test full sys backup - and see no % complete details in the acitvity mon -
however see tape winds and pathname details of the bacjup - any clues ??


Thanks


Laurence


****************************************************************************************

This E-mail is from O2. The E-mail and any files
transmitted with it are confidential and may also be privileged and intended
solely for the use of the individual or entity to whom they are addressed.
Any unauthorised direct or indirect dissemination, distribution or copying
of this message and any attachments is strictly prohibited. If you have
received the E-mail in error please notify postmaster AT O2 DOT com or 
                  telephone ++ 353 1 6095000.

*****************************************************************************************


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