This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C1A4ED.0F6F6E90
Content-Type: text/plain;
charset="iso-8859-1"
Hello,
I am running NetBackup 3.2 and saw the $STREAM answer for Topic 6. below. I
think that this solution is for 3.4? I would like to know how this same
thing can be done with 3.2? I have several streams and as mentioned below
bpstart/bpend_notify runs for every stream. When incorporating database
shutdown and startups within the bpstart/end scripts it runs as many times
as there are streams. Any help would be greatly appreciated.
Thank you,
Sandy Cook
UNIX System Administrator
> 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?
use the STREAM_NUMBER and STREAM_COUNT variables to do
that.
a quick & dirty way is to decide stream 1 will do the action:
if [ $STREAM_NUMBER -eq 1 ]; then
DO_ACTION
else
DO_NOTHING_OR_SMT_ELSE
fi
------_=_NextPart_001_01C1A4ED.0F6F6E90
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2655.35">
<TITLE> help $STREAM_ for 3.2?</TITLE>
</HEAD>
<BODY>
<BR>
<P><FONT SIZE=3D2>Hello,</FONT>
</P>
<P><FONT SIZE=3D2>I am running NetBackup 3.2 and saw the $STREAM answer =
for Topic 6. below. I think that this solution is for 3.4? =
I would like to know how this same thing can be done with 3.2? I =
have several streams and as mentioned below bpstart/bpend_notify runs =
for every stream. When incorporating database shutdown and =
startups within the bpstart/end scripts it runs as many times as there =
are streams. Any help would be greatly appreciated.</FONT></P>
<P><FONT SIZE=3D2>Thank you,</FONT>
<BR><FONT SIZE=3D2>Sandy Cook</FONT>
<BR><FONT SIZE=3D2>UNIX System Administrator </FONT>
</P>
<P><FONT SIZE=3D2>> As I have 6 data streams defined in the class, =
everytime the</FONT>
<BR><FONT SIZE=3D2>> class run, the bpstart_notify.class will run 6 =
times. Verifiy</FONT>
<BR><FONT SIZE=3D2>> suggests a workaround to set a lock file, but =
it doesn't seem to</FONT>
<BR><FONT SIZE=3D2>> work.</FONT>
<BR><FONT SIZE=3D2> Any one has a good workaround?</FONT>
</P>
<P><FONT SIZE=3D2>use the STREAM_NUMBER and STREAM_COUNT variables to =
do</FONT>
<BR><FONT SIZE=3D2>that.</FONT>
<BR><FONT SIZE=3D2> a quick & dirty way is to decide stream 1 =
will do the action:</FONT>
</P>
<P><FONT SIZE=3D2> if [ $STREAM_NUMBER -eq 1 ]; then</FONT>
<BR><FONT SIZE=3D2> DO_ACTION</FONT>
<BR><FONT SIZE=3D2> else</FONT>
<BR><FONT SIZE=3D2> DO_NOTHING_OR_SMT_ELSE</FONT>
<BR><FONT SIZE=3D2> fi</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C1A4ED.0F6F6E90--
|