Veritas-bu

[Veritas-bu] How to create a list of job policies by pool

2003-04-15 15:58:55
Subject: [Veritas-bu] How to create a list of job policies by pool
From: Paul.Griese AT TeleCheck DOT com (Griese, Paul)
Date: Tue, 15 Apr 2003 14:58:55 -0500
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_01C30389.71C78590
Content-Type: text/plain

Thanks anyway. I was running out of time so what I did instead was the
bpcllist -allpolicies -U command and redirected it to a file, in which I
just cut out the parts I didn't need, and saved the parts that listed the
policies according to the pool requested by the auditors. I knew what I was
looking for so I didn't have to spend too much time on the keyboard.

 

Paul

 

-----Original Message-----
From: Paul Winkeler [mailto:pwinkeler AT pbnj-solutions DOT com] 
Sent: Tuesday, April 15, 2003 2:40 PM
To: Griese, Paul; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] How to create a list of job policies by pool

 

Hi Paul,

 

Too late now, but if you had the Perl NBU modules installed
(http://search.cpan.org/author/DUTCHMAN/
<http://search.cpan.org/author/DUTCHMAN/> ) you'd write:

----------------------------------------------------------------------------
--------

#!/bin/perl

use NBU;

 

my @list = NBU::Pool->list;
for my $v (sort {$a->name cmp $b->name} @list) {
  print $v->name.":\n";
  for my $p (NBU::Class->list) {
    for my $s ($p->schedules) {
      print "  ".$p->name."/".$s->name."\n" if ($s->pool == $v);
    }
  }
}

----------------------------------------------------------------------------
--------

With this you can see exactly which policies (even though the code still
says Class: sorry...) and schedule combinations use which volume pools.

 

-----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 Griese, 
Paul
Sent: Tuesday, April 15, 2003 12:52 PM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] How to create a list of job policies by pool

How do I create a listing of Netbackup 4.5 Solaris job policies by tape
pool? This is for an audit in one hour and I don't have time to read books.

 

Paul Griese

System Administration

Telecheck Services

Houston, TX

(c) 2003 TeleCheck International, Inc. THIS DOCUMENT, AND ANY ATTACHED
INFORMATION: 1) IS PROPRIETARY, PRIVILEGED AND CONFIDENTIAL PROPERTY OF
TELECHECK UNDER APPLICABLE LAW, AND 2) IS INTENDED EXCLUSIVELY FOR INTERNAL
USE BY TELECHECK EMPLOYEES AND INTENDED RECIPIENTS WITH A LEGITIMATE
TELECHECK BUSINESS NEED THEREFORE. ITS REPRODUCTION, DISSEMINATION,
DISTRIBUTION AND/OR DISCLOSURE, EXCEPT TO SUCH TELECHECK EMPLOYEES AND
INTENDED RECIPIENTS, IS STRICTLY PROHIBITED . IF YOU ARE NOT SUCH A
TELECHECK EMPLOYEE OR INTENDED RECIPIENT, OR THE EMPLOYEE OR AGENT
RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE INTENDED RECIPIENT, YOU ARE
HEREBY NOTIFIED THAT ANY REPRODUCTION, DISSEMINATION, DISTRIBUTION AND/OR
DISCLOSURE OF THIS DOCUMENT, OR ANY ATTACHMENTS, IS STRICTLY PROHIBITED.

(c) 2003 TeleCheck International, Inc. THIS DOCUMENT, AND ANY ATTACHED
INFORMATION: 1) IS PROPRIETARY, PRIVILEGED AND CONFIDENTIAL PROPERTY OF
TELECHECK UNDER APPLICABLE LAW, AND 2)  IS INTENDED EXCLUSIVELY FOR INTERNAL
USE BY TELECHECK EMPLOYEES AND INTENDED RECIPIENTS WITH A LEGITIMATE
TELECHECK BUSINESS NEED THEREFORE.  ITS REPRODUCTION, DISSEMINATION,
DISTRIBUTION AND/OR  DISCLOSURE, EXCEPT TO SUCH TELECHECK EMPLOYEES AND
INTENDED RECIPIENTS,  IS STRICTLY PROHIBITED .  IF YOU ARE NOT SUCH A
TELECHECK EMPLOYEE OR INTENDED RECIPIENT, OR THE EMPLOYEE OR AGENT
RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE INTENDED RECIPIENT, YOU ARE
HEREBY NOTIFIED THAT ANY REPRODUCTION, DISSEMINATION, DISTRIBUTION AND/OR
DISCLOSURE OF THIS DOCUMENT, OR ANY ATTACHMENTS, IS STRICTLY PROHIBITED.

------_=_NextPart_001_01C30389.71C78590
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

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

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-ASCII">


<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">
<title>Message</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
        {margin-right:0in;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.emailstyle17
        {font-family:Arial;
        color:windowtext;}
span.EmailStyle19
        {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=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Thanks anyway. I was running out =
of time
so what I did instead was the bpcllist -allpolicies -U command and
redirected it to a file, in which I just cut out the parts I didn't =
need,
and saved the parts that listed the policies according to the pool =
requested by
the auditors. I knew what I was looking for so I didn't have to spend =
too
much time on the keyboard.</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Paul</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original =
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b> Paul Winkeler
[mailto:pwinkeler AT pbnj-solutions DOT com] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Tuesday, April 15, =
2003 2:40
PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> Griese, Paul; =
veritas-bu AT mailman.eng.auburn DOT edu<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: =
[Veritas-bu] How to
create a list of job policies by pool</span></font></p>

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

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>Hi =
Paul,</span></font></p>

</div>

<div>

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

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>Too late now, =
but if you
had the Perl NBU modules installed (<a
href=3D"http://search.cpan.org/author/DUTCHMAN/";>http://search.cpan.org/=
author/DUTCHMAN/</a>)
you'd write:</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>----------------=
--------------------------------------------------------------------</sp=
an></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>#!/bin/perl</spa=
n></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>use =
NBU;</span></font></p>

</div>

<div>

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

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>my @list =3D
NBU::Pool-&gt;list;<br>
for my $v (sort {$a-&gt;name cmp $b-&gt;name} @list) {<br>
&nbsp; print $v-&gt;name.&quot;:\n&quot;;<br>
&nbsp; for my $p (NBU::Class-&gt;list) {<br>
&nbsp;&nbsp;&nbsp; for my $s ($p-&gt;schedules) {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print &quot;&nbsp;
&quot;.$p-&gt;name.&quot;/&quot;.$s-&gt;name.&quot;\n&quot; if =
($s-&gt;pool =3D=3D
$v);<br>
&nbsp;&nbsp;&nbsp; }<br>
&nbsp; }<br>
}</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>----------------=
--------------------------------------------------------------------</sp=
an></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>With this you =
can see
exactly which policies (even though the code still says Class: =
sorry...) and
schedule combinations use which volume pools.</span></font></p>

</div>

<div>

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

</div>

<blockquote =
style=3D'margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>

<p class=3DMsoNormal =
style=3D'margin-right:0in;margin-bottom:12.0pt;margin-left:
.5in'><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original
Message-----<br>
<b><span style=3D'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=3D'font-weight:
bold'>On Behalf Of </span></b>Griese, Paul<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Tuesday, April 15, =
2003
12:52 PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b>
veritas-bu AT mailman.eng.auburn DOT edu<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> [Veritas-bu] =
How to
create a list of job policies by pool</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>How do I create a listing =
of
Netbackup 4.5 Solaris job policies by tape pool? This is for an audit =
in one
hour and I don't have time to read books.</span></font></p>

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

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>Paul =
Griese</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>System =
Administration</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>Telecheck =
Services</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>Houston, =
TX</span></font></p>

<p style=3D'margin-left:.5in'><b><font size=3D1 face=3D"Courier =
New"><span
style=3D'font-size:7.5pt;font-family:"Courier =
New";font-weight:bold'>(c) 2003
TeleCheck International, Inc. THIS DOCUMENT, AND ANY ATTACHED =
INFORMATION: 1)
IS PROPRIETARY, PRIVILEGED AND CONFIDENTIAL PROPERTY OF TELECHECK UNDER =
APPLICABLE
LAW, AND 2) IS INTENDED EXCLUSIVELY FOR INTERNAL USE BY TELECHECK =
EMPLOYEES AND
INTENDED RECIPIENTS WITH A LEGITIMATE TELECHECK BUSINESS NEED =
THEREFORE. ITS
REPRODUCTION, DISSEMINATION, DISTRIBUTION AND/OR DISCLOSURE, EXCEPT TO =
SUCH
TELECHECK EMPLOYEES AND INTENDED RECIPIENTS, IS STRICTLY PROHIBITED . =
IF YOU
ARE NOT SUCH A TELECHECK EMPLOYEE OR INTENDED RECIPIENT, OR THE =
EMPLOYEE OR
AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE INTENDED =
RECIPIENT, YOU
ARE HEREBY NOTIFIED THAT ANY REPRODUCTION, DISSEMINATION, DISTRIBUTION =
AND/OR
DISCLOSURE OF THIS DOCUMENT, OR ANY ATTACHMENTS, IS STRICTLY =
PROHIBITED.</span></font></b></p>

</blockquote>

</div>

</body>

</html>

<P><B><FONT SIZE=3D1 FACE=3D"Courier New">(c) 2003 TeleCheck =
International, Inc. THIS DOCUMENT, AND ANY ATTACHED INFORMATION: 1) IS =
PROPRIETARY, PRIVILEGED AND CONFIDENTIAL PROPERTY OF TELECHECK UNDER =
APPLICABLE LAW, AND 2)  IS INTENDED EXCLUSIVELY FOR INTERNAL USE BY =
TELECHECK EMPLOYEES AND INTENDED RECIPIENTS WITH A LEGITIMATE TELECHECK =
BUSINESS NEED THEREFORE.  ITS REPRODUCTION, DISSEMINATION, DISTRIBUTION =
AND/OR  DISCLOSURE, EXCEPT TO SUCH TELECHECK EMPLOYEES AND INTENDED =
RECIPIENTS,  IS STRICTLY PROHIBITED .  IF YOU ARE NOT SUCH A TELECHECK =
EMPLOYEE OR INTENDED RECIPIENT, OR THE EMPLOYEE OR AGENT RESPONSIBLE =
FOR DELIVERING THIS MESSAGE TO THE INTENDED RECIPIENT, YOU ARE HEREBY =
NOTIFIED THAT ANY REPRODUCTION, DISSEMINATION, DISTRIBUTION AND/OR =
DISCLOSURE OF THIS DOCUMENT, OR ANY ATTACHMENTS, IS STRICTLY =
PROHIBITED.</FONT></B></P>

------_=_NextPart_001_01C30389.71C78590--