[prev in list] [next in list] [prev in thread] [next in thread] 

List:       veritas-bu
Subject:    Re: [Veritas-bu] Netbackup Deactivated policies
From:       "Donaldson, Mark" <Mark.Donaldson () Staples ! com>
Date:       2009-11-24 18:12:28
Message-ID: 4CC4D5AA1741AA43A1FC5084E104A26E0CE6AAF3 () USCOBRMFA-SE-71 ! northamerica ! cexp ! com
[Download RAW message or body]

--===============1696922960071534948==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01CA6D31.AEE0BDC5"

This is a multi-part message in MIME format.


Here's a slight more compact version (displays inactive policies).

 

bppllist -allpolicies | awk '$1=="CLASS" {pl=$2};$1=="INFO" && $12==1
{print pl}'

 

If you want to determine "for how many days" - that's a much bigger task
- something that's going to have to take place outside of NB.

 

From: veritas-bu-bounces@mailman.eng.auburn.edu
[mailto:veritas-bu-bounces@mailman.eng.auburn.edu] On Behalf Of Khurram
Tariq
Sent: Monday, November 23, 2009 12:06 PM
To: VERITAS-BU@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Netbackup Deactivated policies

 

Use the following command to generate a comma separated list:

 

# /opt/openv/netbackup/bin/admincmd/bppllist -allpolicies -L | nawk
-F':' 'BEGIN{print "Policy Name,Active"};/^Policy Name/{printf
$2","};/^Active/{print $2}'|sed -e 's/^ *//' -e 's/, */,/'

On Fri, Nov 20, 2009 at 4:08 AM, <michael.ketley@orange-ftgroup.com>
wrote:

Folks,

 

We've come across a problem recently in 5x land where we have had a
number of policies deactivated that shouldn't have been. 

 

Obviously in 6.5 it's very apparent in GUI and NOM that a policy is
deactivated, not so in 5x

 

So does anyone have a script that they use or know if i can pull
information out of Netbackup and script, someting along the lines of
these policies have been disabled x days.

 

Back to the war room

 

Thanks in advance

Mike

 

 

 

************************************************************************
**************

This e-mail (including any attachments) is intended for the above-named
person(s). It is confidential and may contain legally privileged
information. Any opinions expressed are not necessarily those of the
company. If you receive it in error please delete it, inform the sender
and do not copy, distribute or take any action in reliance upon it. 

We may monitor all incoming and outgoing emails in line with current
legislation. We have taken steps to ensure that this email and
attachments are free from any virus, but it remains your responsibility
to ensure that viruses do not adversely affect you. 

Orange Personal Communications Services Limited is an English company
(registered no. 2178917) with its address at St James Court, Great Park
Road, Almondsbury Park, Bradley Stoke, Bristol BS32 4QJ. 
Orange Retail Limited is an English company (registered no. 2439104)
with its address at St James Court, Great Park Road, Almondsbury Park,
Bradley Stoke, Bristol BS32 4QJ.
Orange Home UK Limited is an English company (registered no. 3014367)
with its address at St James Court, Great Park Road, Almondsbury Park,
Bradley Stoke, Bristol BS32 4QJ. 


************************************************************************
**************

*********************************
This message and any attachments (the "message") are confidential and
intended solely for the addressees. 
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. 
France Telecom Group shall not be liable for the message if altered,
changed or falsified.
If you are not the intended addressee of this message, please cancel it
immediately and inform the sender.
********************************


_______________________________________________
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

 


[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:x="urn:schemas-microsoft-com:office:excel" \
xmlns:p="urn:schemas-microsoft-com:office:powerpoint" \
xmlns:a="urn:schemas-microsoft-com:office:access" \
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" \
xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" \
xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" \
xmlns:b="urn:schemas-microsoft-com:office:publisher" \
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" \
xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" \
xmlns:odc="urn:schemas-microsoft-com:office:odc" \
xmlns:oa="urn:schemas-microsoft-com:office:activation" \
xmlns:html="http://www.w3.org/TR/REC-html40" \
xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" \
xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" \
xmlns:Repl="http://schemas.microsoft.com/repl/" \
xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" \
xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" \
xmlns:ppda="http://www.passport.com/NameSpace.xsd" \
xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" \
xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" \
xmlns:ds="http://www.w3.org/2000/09/xmldsig#" \
xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" \
xmlns:udc="http://schemas.microsoft.com/data/udc" \
xmlns:xsd="http://www.w3.org/2001/XMLSchema" \
xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" \
xmlns:ec="http://www.w3.org/2001/04/xmlenc#" \
xmlns:sp="http://schemas.microsoft.com/sharepoint/" \
xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" \
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" \
xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" \
xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" \
xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" \
xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" \
xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" \
xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" \
xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" \
xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" \
xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" \
xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" \
xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" \
xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" \
xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" \
xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="&#1;" \
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:Consolas;}
span.EmailStyle21
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

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

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Here's a slight more compact version (displays inactive
policies).<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>bppllist -allpolicies | awk '$1==&quot;CLASS&quot;
{pl=$2};$1==&quot;INFO&quot; &amp;&amp; $12==1 {print pl}'<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>If you want to determine &quot;for how many days&quot; - that's
a much bigger task - something that's going to have to take place outside of
NB.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span \
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span \
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> \
veritas-bu-bounces@mailman.eng.auburn.edu \
[mailto:veritas-bu-bounces@mailman.eng.auburn.edu] <b>On Behalf Of </b>Khurram \
Tariq<br> <b>Sent:</b> Monday, November 23, 2009 12:06 PM<br>
<b>To:</b> VERITAS-BU@mailman.eng.auburn.edu<br>
<b>Subject:</b> Re: [Veritas-bu] Netbackup Deactivated policies<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div>

<p class=MsoNormal>Use the following command to generate a comma separated
list:<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><strong><span style='font-family:
"Courier New"'># /opt/openv/netbackup/bin/admincmd/bppllist -allpolicies -L |
nawk -F':' 'BEGIN{print &quot;Policy Name,Active&quot;};/^Policy Name/{printf
$2&quot;,&quot;};/^Active/{print $2}'|sed -e 's/^ *//' -e 's/, \
*/,/'</span></strong><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>On Fri, Nov 20, 2009 at 4:08 AM, &lt;<a
href="mailto:michael.ketley@orange-ftgroup.com">michael.ketley@orange-ftgroup.com</a>&gt;
 wrote:<o:p></o:p></p>

<div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt'>Folks,</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt'>We've come across a problem
recently in 5x land where we have had a number of policies deactivated that
shouldn't have been. </span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt'>Obviously in 6.5 it's very
apparent in GUI and NOM that a policy is deactivated, not so in \
5x</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt'>So does anyone have a script
that they use or know if i can pull information out of Netbackup and script,
someting along the lines of these policies have been disabled x \
days.</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt'>Back to the war \
room</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt'>Thanks in \
advance</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt'>Mike</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<p class=MsoNormal>**************************************************************************************<br>
 <br>
This e-mail (including any attachments) is intended for the above-named
person(s). It is confidential and may contain legally privileged information.
Any opinions expressed are not necessarily those of the company. If you receive
it in error please delete it, inform the sender and do not copy, distribute or
take any action in reliance upon it. <br>
<br>
We may monitor all incoming and outgoing emails in line with current
legislation. We have taken steps to ensure that this email and attachments are
free from any virus, but it remains your responsibility to ensure that viruses
do not adversely affect you. <br>
<br>
Orange Personal Communications Services Limited is an English company
(registered no. 2178917) with its address at St James Court, Great Park Road,
Almondsbury Park, Bradley Stoke, Bristol BS32 4QJ. <br>
Orange Retail Limited is an English company (registered no. 2439104) with its
address at St James Court, Great Park Road, Almondsbury Park, Bradley Stoke,
Bristol BS32 4QJ.<br>
Orange Home UK Limited is an English company (registered no. 3014367) with its
address at St James Court, Great Park Road, Almondsbury Park, Bradley Stoke,
Bristol BS32 4QJ. <br>
<br>
<br>
**************************************************************************************<o:p></o:p></p>


<pre>*********************************<o:p></o:p></pre><pre>This message and any \
attachments (the &quot;message&quot;) are confidential and intended solely for the \
addressees. <o:p></o:p></pre><pre>Any unauthorised use or dissemination is \
prohibited.<o:p></o:p></pre><pre>Messages are susceptible to alteration. \
<o:p></o:p></pre><pre>France Telecom Group shall not be liable for the message if \
altered, changed or falsified.<o:p></o:p></pre><pre>If you are not the intended \
addressee of this message, please cancel it immediately and inform the \
sender.<o:p></o:p></pre><pre>********************************<o:p></o:p></pre></div>

<p class=MsoNormal style='margin-bottom:12.0pt'><br>
_______________________________________________<br>
Veritas-bu maillist &nbsp;- &nbsp;<a
href="mailto:Veritas-bu@mailman.eng.auburn.edu">Veritas-bu@mailman.eng.auburn.edu</a><br>
 <a href="http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu"
target="_blank">http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu</a><o:p></o:p></p>


</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>



_______________________________________________
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

--===============1696922960071534948==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic