Veritas-bu

[Veritas-bu] bpstart_notify, and bpend_notify

2004-07-12 17:16:29
Subject: [Veritas-bu] bpstart_notify, and bpend_notify
From: David_Cornely AT intuit DOT com (Cornely, David)
Date: Mon, 12 Jul 2004 14:16:29 -0700
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_01C46855.7F5379E4
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

This is actually the way it's designed.  Bpstart and bpend know which stream
they are so you have to script them to perform the actions you desire based
on the actual stream #.  For example, if you want to stop the database with
the first stream using bpstart you could maybe put an if statement in to
test and determine what stream it actually is and then shutdown the DB if
it's stream 1.

 

For bpend the same rules apply, execute an action based on the stream #.
There are built in variables (e.g., STREAM_NUMBER is one of them) that carry
this information.  Check this support doc for more info:

http://seer.support.veritas.com/docs/242081.htm 

 

-Dave

 

-----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 Scalone, 
Galen
Sent: Monday, July 12, 2004 13:03
To: Veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] bpstart_notify, and bpend_notify

 

List, 
Here is the setup: NB 4.5 MP6 on NT. 
Client is HPUX 11.11. 
Policy name is hostname.database. ( helen.sblprod) 
Schedule is sblprod.daily, or sblprod.weekly 
The policy consists of 8 filesystems, all separate streams. 
The notify scripts are bpstart_notify.helen.sblprod, and
bpend_notify.helen.sblprod (notice no schedule in the name) 
These notify scripts get run for each filesystem, not for the policy, and
I'm not sure why. The notify scripts shut a database down, and start it back
up, but it does it 8 times.

The library is 6 LTO-2 drives, and the storage units are single drive units,
six of them. 
Any help appreciated. 


------_=_NextPart_001_01C46855.7F5379E4
Content-Type: text/html
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=Generator content="Microsoft Word 10 (filtered)">
<title>bpstart_notify, and bpend_notify</title>

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p
        {margin-right:0in;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'><!-- Converted from text/rtf format -->This
is actually the way it's designed.&nbsp; Bpstart and bpend know which
stream they are so you have to script them to perform the actions you desire
based on the actual stream #.&nbsp; For example, if you want to stop the
database with the first stream using bpstart you could maybe put an if
statement in to test and determine what stream it actually is and then shutdown
the DB if it's stream 1.</span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>For bpend the same rules apply, execute an
action based on the stream #.&nbsp; There are built in variables (e.g., 
STREAM_NUMBER
is one of them) that carry this information.&nbsp; Check this support doc for 
more
info:</span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>http://seer.support.veritas.com/docs/242081.htm
</span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>-Dave</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b>
veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] <b><span 
style='font-weight:
bold'>On Behalf Of </span></b>Scalone, Galen<br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, July 12, 2004 
13:03<br>
<b><span style='font-weight:bold'>To:</span></b>
Veritas-bu AT mailman.eng.auburn DOT edu<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Veritas-bu]
bpstart_notify, and bpend_notify</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New 
Roman"><span
style='font-size:12.0pt'>&nbsp;</span></font></p>

<p style='margin-left:.5in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>List, </span></font><br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Here
is the setup: NB 4.5 MP6 on NT.</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Client
is HPUX 11.11.</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Policy
name is hostname.database. ( helen.sblprod)</span></font> <br>
<font size=2 face=Arial><span 
style='font-size:10.0pt;font-family:Arial'>Schedule
is sblprod.daily, or sblprod.weekly</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>The
policy consists of 8 filesystems, all separate streams.</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>The
notify scripts are bpstart_notify.helen.sblprod, and bpend_notify.helen.sblprod
(notice no schedule in the name)</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>These
notify scripts get run for each filesystem, not for the policy, and I'm not
sure why. The notify scripts shut a database down, and start it back up, but it
does it 8 times.</span></font></p>

<p style='margin-left:.5in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>The library is 6 LTO-2 drives, and the storage units
are single drive units, six of them.</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Any
help appreciated.</span></font> </p>

</div>

</body>

</html>

------_=_NextPart_001_01C46855.7F5379E4--