Veritas-bu

[Veritas-bu] Client list and associated policies

2005-09-21 12:11:06
Subject: [Veritas-bu] Client list and associated policies
From: jpiszcz AT servervault DOT com (Piszcz, Justin)
Date: Wed, 21 Sep 2005 12:11:06 -0400
This is a multi-part message in MIME format.

------_=_NextPart_001_01C5BEC7.136309E1
Content-Type: text/plain;
        charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Very nice script, found two clients that were in two policies.

=20

________________________________

From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of
Mark.Donaldson AT cexp DOT com
Sent: Wednesday, September 21, 2005 10:52 AM
To: Steve.Bally AT radisys DOT com; Veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Client list and associated policies

=20

Pretty output version:

=20

#!/bin/ksh

PATH=3D$PATH:/usr/openv/netbackup/bin:/usr/openv/netbackup/bin/admincmd
for c in `bpplclients -allunique -noheader |awk '{print $3}'|sort|uniq `
do
  bppllist -byclient $c|\
      awk 'NR=3D=3D1 && $1=3D=3D"CLASS" {printf "%20s\t%s\n","'$c'",$2}
           NR>1  && $1=3D=3D"CLASS" {printf "%20s\t%s\n"," ",$2}'
  echo
done

=20

        -----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
Steve.Bally AT radisys DOT com
        Sent: Tuesday, September 20, 2005 12:31 PM
        To: Veritas-bu AT mailman.eng.auburn DOT edu
        Subject: [Veritas-bu] Client list and associated policies

=09
        All,=20
=09
        NBU 5.1=20
        MP3A=20
        Windows 2003 Master=20
=09
        I am trying to get a list of ALL clients and ALL the policies
that the particular client is associated with, is there a command that
can do this and dump it to a file?=20
=09
        Regards,=20
=09
        Steve Bally
        Systems Engineer
        RadiSys Corporation
        www.radisys.com
        steve.bally AT radisys DOT com
        Desk: 503-615-1207=20
        Cell: 503-970-6201
=09
        This electronic message (Email) contains information which may
be confidential, privileged or otherwise protected from disclosure. The
information is intended to be used solely by the named recipient(s). If
you are not a named recipient, any review, disclosure, copying,
distribution or use of this transmission or its contents is prohibited.
If you have received this transmission (Email) in error, please notify
me immediately.


------_=_NextPart_001_01C5BEC7.136309E1
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=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]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:sans-serif;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* 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;}
span.EmailStyle17
        {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'>Very nice script, found two clients =
that
were in two policies.<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>Mark.Donaldson AT cexp DOT com<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Wednesday, =
September 21,
2005 10:52 AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> =
Steve.Bally AT radisys DOT com;
Veritas-bu AT mailman.eng.auburn DOT edu<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: [Veritas-bu] =
Client
list and associated policies</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>

<div>

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

</div>

<div>

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

</div>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>#!/bin/ksh</span></font><o:p></o:p><=
/p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>PATH=3D$PATH:/usr/openv/netbackup/bi=
n:/usr/openv/netbackup/bin/admincmd<br>
for c in `bpplclients -allunique -noheader |awk '{print $3}'|sort|uniq =
`<br>
do<br>
&nbsp; bppllist -byclient $c|\<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; awk 'NR=3D=3D1 &amp;&amp; =
$1=3D=3D&quot;CLASS&quot;
{printf &quot;%20s\t%s\n&quot;,&quot;'$c'&quot;,$2}<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
NR&gt;1&nbsp;
&amp;&amp; $1=3D=3D&quot;CLASS&quot; {printf =
&quot;%20s\t%s\n&quot;,&quot;
&quot;,$2}'<br>
&nbsp; echo<br>
done</span></font><o:p></o:p></p>

</div>

<div>

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

</div>

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

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><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>Steve.Bally AT radisys DOT com<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Tuesday, September =
20, 2005
12:31 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] =
Client list
and associated policies</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><br>
</span></font><font size=3D2 face=3Dsans-serif><span =
style=3D'font-size:10.0pt;
font-family:sans-serif'>All,</span></font> <br>
<br>
<font size=3D2 face=3Dsans-serif><span =
style=3D'font-size:10.0pt;font-family:sans-serif'>NBU
5.1</span></font> <br>
<font size=3D2 face=3Dsans-serif><span =
style=3D'font-size:10.0pt;font-family:sans-serif'>MP3A</span></font>
<br>
<font size=3D2 face=3Dsans-serif><span =
style=3D'font-size:10.0pt;font-family:sans-serif'>Windows
2003 Master</span></font> <br>
<br>
<font size=3D2 face=3Dsans-serif><span =
style=3D'font-size:10.0pt;font-family:sans-serif'>I
am trying to get a list of ALL clients and ALL the policies that the =
particular
client is associated with, is there a command that can do this and dump =
it to a
file?</span></font> <br>
<br>
<font size=3D2 face=3Dsans-serif><span =
style=3D'font-size:10.0pt;font-family:sans-serif'>Regards,</span></font>
<br>
<font size=3D2 face=3Dsans-serif><span =
style=3D'font-size:10.0pt;font-family:sans-serif'><br>
Steve Bally<br>
Systems Engineer<br>
RadiSys Corporation<br>
www.radisys.com<br>
steve.bally AT radisys DOT com<br>
Desk: 503-615-1207 <br>
Cell: 503-970-6201<br>
<br>
This electronic message (Email) contains information which may be =
confidential,
privileged or otherwise protected from disclosure. The information is =
intended
to be used solely by the named recipient(s). If you are not a named =
recipient,
any review, disclosure, copying, distribution or use of this =
transmission or
its contents is prohibited. If you have received this transmission =
(Email) in
error, please notify me immediately.</span></font><o:p></o:p></p>

</blockquote>

</div>

</body>

</html>

------_=_NextPart_001_01C5BEC7.136309E1--

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