Veritas-bu

[Veritas-bu] Fields for bppllist -allpolicies

2005-03-02 14:55:16
Subject: [Veritas-bu] Fields for bppllist -allpolicies
From: jlightner AT water DOT com (Jeff Lightner)
Date: Wed, 2 Mar 2005 14:55:16 -0500
This is a multi-part message in MIME format.

------_=_NextPart_001_01C51F61.C1194A42
Content-Type: text/plain;
        charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

All,

=20

There have been a couple of responses saying to use the -U option.
Since I'd mentioned I'd read the man page I didn't think it was
necessary to mention this didn't serve my purposes. =20

=20

Although the -U option does give SOME human readable information it does
not have nearly as much information as seen in the output of the
-allpolicies.   I'd really like to find what all the fields in
-allpolicies output mean.  It seems silly that Veritas gives this output
with no way of parsing it out for scripts which is clearly its intended
purpose.

=20

My desire for this information is I want to create a script that dumps
the active policies and compares them to cron jobs we have running same
to be sure that we aren't missing backups for certain DBs after they
move as seems to happen here frequently.  Since I want to dump this the
"active" though used as an example below is only one of the many fields
I will want to use.

=20

________________________________

From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of Jeff
Lightner
Sent: Wednesday, March 02, 2005 11:33 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Fields for bppllist -allpolicies

=20

Basic question:

Where can I get a description of the fields seen for each line the
output of bppllist -allpolicies?  =20

=20

I'm running Netbackup DataCenter 4.5 FP 6.

=20

Details:

When one does the above command it gives a result for each policy
(class) such as:

=20

CLASS 1CONV *NULL* 0 0 0 *NULL*

NAMES

INFO 0 0 0 0 *NULL* 0 0 2 1 0 1 0 0 0 0 1 0 0 0 *NULL* 1

KEY *NULL*

BCMD *NULL*

RCMD *NULL*

RES sundance_L700 *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL*
*NULL* *NULL*

POOL Full *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL*

FOE 0 0 0 0 0 0 0 0 0 0

Etc...

=20

Unfortunately neither the bppllist man page nor the Admin guide appears
to detail the fields. =20

=20

By doing man on bpplinfo I did find a lot of information that seems to
correspond.  Specifically it lists the INFO line seen above so it would
appear the 12th field there indicates whether the policy is
active/inactive.  =20

=20

On looking through the archives I found confirmation for this in the
post at:=20

http://mailman.eng.auburn.edu/pipermail/veritas-bu/2003-December/020507.
html

=20

What bothers me about this is that both the original poster of that
question and I are actually getting 22 total fields on this line
(counting "INFO" itself as the first field).  However bpplinfo's man
page only describes 21 fields (again counting "INFO").  Also the person
who confirmed field 12 as the active/inactive flag gave only 20 fields
in his example.  It seems there are variations the available fields for
bppllist so I need to find out where I can get a definitive list to
insure I'm using the correct fields as I script. =20

=20

Jeffrey C. Lightner

Unix Systems Administrator

DS Waters of North America

678-486-3516

=20


------_=_NextPart_001_01C51F61.C1194A42
Content-Type: text/html;
        charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40";>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" =
name=3D"place"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<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";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        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'>All,<o:p></o:p></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'><o:p>&nbsp;</o:p></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'>There have been a couple of =
responses
saying to use the &#8211;U option.&nbsp; Since I&#8217;d mentioned =
I&#8217;d read
the man page I didn&#8217;t think it was necessary to mention this =
didn&#8217;t
serve my purposes.&nbsp; <o:p></o:p></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'><o:p>&nbsp;</o:p></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'>Although the -U option does give =
SOME
human readable information it does not have nearly as much information =
as seen
in the output of the &#8211;allpolicies.&nbsp;&nbsp; I&#8217;d really =
like to find what
all the fields in &#8211;allpolicies output mean.&nbsp; It seems silly =
that Veritas
gives this output with no way of parsing it out for scripts which is =
clearly
its intended purpose.<o:p></o:p></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'><o:p>&nbsp;</o:p></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'>My desire for this information is I =
want
to create a script that dumps the active policies and compares them to =
cron
jobs we have running same to be sure that we aren&#8217;t missing =
backups for certain
DBs after they move as seems to happen here frequently.&nbsp; Since I =
want to dump
this the &#8220;active&#8221; though used as an example below is only =
one of
the many fields I will want to use.<o:p></o:p></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'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'>
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><st1:PersonName w:st=3D"on">Jeff =
Lightner</st1:PersonName><br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Wednesday, March =
02, 2005
11:33 AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> <st1:PersonName =
w:st=3D"on">veritas-bu AT mailman.eng.auburn DOT edu</st1:PersonName><br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> [Veritas-bu] =
Fields for
bppllist -allpolicies</span></font><o:p></o:p></p>

</div>

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

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Basic question:<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Where can I get a description of the fields seen for =
each
line the output of bppllist &#8211;allpolicies?&nbsp;&nbsp; =
<o:p></o:p></span></font></p>

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

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I&#8217;m running Netbackup DataCenter 4.5 FP =
6.<o:p></o:p></span></font></p>

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

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

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>When one does the above command it gives a result for =
each
policy (class) such as:<o:p></o:p></span></font></p>

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

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>CLASS 1CONV *NULL* 0 0 0 =
*NULL*<o:p></o:p></span></font></p>

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

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>INFO 0 0 0 0 *NULL* 0 0 2 1 0 1 0 0 0 0 1 0 0 0 =
*NULL* 1<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>KEY *NULL*<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>BCMD *NULL*<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>RCMD *NULL*<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>RES sundance_L700 *NULL* *NULL* *NULL* *NULL* *NULL* =
*NULL*
*NULL* *NULL* *NULL*<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>POOL Full *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* =
*NULL*
*NULL* *NULL*<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>FOE 0 0 0 0 0 0 0 0 0 0<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Etc&#8230;<o:p></o:p></span></font></p>

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

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Unfortunately neither the bppllist man page nor the =
Admin
guide appears to detail the fields.&nbsp; <o:p></o:p></span></font></p>

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

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>By doing man on bpplinfo I did find a lot of =
information
that seems to correspond.&nbsp; Specifically it lists the INFO line seen =
above
so it would appear the 12<sup>th</sup> field there indicates whether the =
policy
is active/inactive.&nbsp;&nbsp; <o:p></o:p></span></font></p>

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

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>On looking through the archives I found confirmation =
for
this in the post at: <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>http://mailman.eng.auburn.edu/pipermail/veritas-bu/200=
3-December/020507.html<o:p></o:p></span></font></p>

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

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>What bothers me about this is that both the original =
poster
of that question and I are actually getting 22 total fields on this line
(counting &#8220;INFO&#8221; itself as the first field).&nbsp; However
bpplinfo&#8217;s man page only describes 21 fields (again counting
&#8220;INFO&#8221;).&nbsp; Also the person who confirmed field 12 as the
active/inactive flag gave only 20 fields in his example.&nbsp; It seems =
there
are variations the available fields for bppllist so I need to find out =
where I
can get a definitive list to insure I&#8217;m using the correct fields =
as I
script. &nbsp;<o:p></o:p></span></font></p>

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

<p class=3DMsoAutoSig><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Jeffrey C. Lightner<o:p></o:p></span></font></p>

<p class=3DMsoAutoSig><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Unix Systems Administrator<o:p></o:p></span></font></p>

<p class=3DMsoAutoSig><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>DS Waters of <st1:place w:st=3D"on">North =
America</st1:place><o:p></o:p></span></font></p>

<p class=3DMsoAutoSig><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>678-486-3516<o:p></o:p></span></font></p>

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

</div>

</body>

</html>

------_=_NextPart_001_01C51F61.C1194A42--

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