Hi Roedy, on unix clients you can use the enviroment variable BACKUPID to control the bpbkar processes
use this test in bpend_notify script
#---------------------------------------------------------------------
# Verify if exists some bpbkar pid started by the same policy
# if exists then do not execute the bpend_notify script
#---------------------------------------------------------------------
CONT=0
for PID in `cat $BPBKARPID`
do
NPID=`ps -e | grep -w $PID | grep -v grep | wc -l`
CONT=`expr $CONT + $NPID`
done
if [ $CONT -gt 1 ]
then
echo "Still has bpbkar being executed. bpend_notify not executed" >> $LOGFILE
exit
1
fi
====================================
Carlos Alberto L. dos Santos (TOCA)
Eng. de Computação - Puc-Campinas(SP) - Brasil
carlos_listas AT yahoo.com DOT br
------------------------------------------------
De: Roedy boy <roed212 AT yahoo DOT com>
Para: VERITAS-BU AT MAILMAN.ENG.AUBURN DOT EDU
Enviadas: Qua, Setembro 30, 2009 10:48:09 PM
Assunto: Re: [Veritas-bu] Multistream job and bpstart & bpend notify script
So, nobody here can help me :(
NG.AUBURN.EDU Date: Tuesday, September 29, 2009, 2:46 PM
Hi All, can I replace bpstart & bpend notify script with
parent_start_notify & parent_end_notify then use multiple stream
job to call them ? is it possible to run parent_start_notify & parent_end_notify in media server ?
please advise..
thanks, rudi
--- On Tue, 9/29/09, Roedy boy <roed212 AT yahoo DOT com> wrote:
From: Roedy boy <roed212 AT yahoo DOT com> Subject: [Veritas-bu] Multistream job and bpstart & bpend notify script To: VERITAS-BU AT MAILMAN.ENG.AUBURN DOT EDU Date: Tuesday, September 29, 2009, 9:21 AM
Hi All, Is there anyone here know/experience to backup stream job and bpstart & bpend script, i have tried to configure streaming job, but seem like after bpstart completed its straigth away call bpend script, even backup is not running yet..
my nbu is 6.5.2 for master and also for media server. running under solaris 10.
please advise. thx Rudi.
|
-----Inline Attachment Follows-----
|
-----Inline Attachment Follows-----
|