Veritas-bu

[Veritas-bu] Command line way to determine if policy is activ e or deactivated

2003-12-09 13:39:50
Subject: [Veritas-bu] Command line way to determine if policy is activ e or deactivated
From: WBedour AT lear DOT com (BeDour, Wayne)
Date: Tue, 9 Dec 2003 13:39:50 -0500
Thanks for all the replies.  We are running NetBackup 4.5 fp5 on hp-ux 11.i.
David, the output you show here is what I was expecting, what flaggs did you
use on your bppllist command?  When I run a bppllist -allpolicies the
INACTIVE / ACTIVE does not show up, see below.

CLASS cls-pkg101-db-bcv *NULL* 0 0 0 *NULL*
NAMES
INFO 0 0 0 0 *NULL* 0 0 2147483647 0 0 1 0 0 0 0 0 0 0 1046728591 *NULL* 1
KEY *NULL* BCMD *NULL* RCMD *NULL* RES Surestore4_40_hp3 *NULL* *NULL*
*NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* POOL hqhp3MonthlyFull
NetBackup NetBackup NetBackup NetBackup NetBackup NetBackup NetBackup NetBac
kup NetBackup FOE 0 0 0 0 0 0 0 0 0 0 CLIENT hqhp3 HP9000-800 HP-UX11.00 0 0
0 0 *NULL* INCLUDE /bcv/pkg101/corp/data/ INCLUDE /bcv/pkg101/corp/data/d1
INCLUDE /bcv/pkg101/corp/data/d3 INCLUDE /bcv/pkg101/corp/data/d5 INCLUDE
/bcv/pkg101/corp/data/d7 INCLUDE /bcv/pkg101/corp/redo INCLUDE
/bcv/pkg101/corp/rbs SCHED sch-pkg101b-db-wf 0 1 432000 4 0 0 0 *NULL* 0 1 0
0 0 SCHEDCALENDAR
SCHEDCALDAYOWEEK 1,1;1,2;1,3;1,4
SCHEDWIN 14400 7200 0 0 0 0 0 0 0 0 0 0 0 0
SCHEDRES *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL*
*NULL* SCHEDPOOL hqhp3WeekFullorCumm *NULL* *NULL* *NULL* *NULL* *NULL*
*NULL* *NULL* *NULL* *NULL* SCHEDRL 4 1 1 1 1 1 1 1 1 1 SCHEDFOE 0 0 0 0 0 0
0 0 0 0

>From the other replies, I see that I can get the information needed with the
-U flag.  Problem is, that formats everything else and makes what I would
like to do a little more difficult.

Thanks again
Wayne


-----Original Message-----
From: David Chapa [mailto:david.chapa AT adic DOT com]
Sent: Tuesday, December 09, 2003 11:21 AM
To: BeDour, Wayne; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Command line way to determine if policy is active
or deactivated


>From the bpplist output

.
.
.
INFO 0 0 0 0 *NULL* 0 0 2147483647 0 0 1 0 0 0 0 0 0 0 0
B613D3594FF4406393757707EAB44C61 1 0 0 0 0 0 0 0 2
                             INACTIVE--^
.
.
.
INFO 0 0 0 0 *NULL* 0 0 2147483647 0 0 0 0 0 0 0 0 0 0 0
B613D3594FF4406393757707EAB44C61 1 0 0 0 0 0 0 0 2
                               ACTIVE--^



David A. Chapa D Technical Advisor, Technical Marketing   ADIC
720.249.5836   david.chapa AT adic DOT com
Pathlight VX - Integrated Disk-to-Tape Backup - http://www.adic.com
-----Original Message-----
From: BeDour, Wayne [mailto:WBedour AT lear DOT com]
Sent: Tuesday, December 09, 2003 8:24 AM
To: 'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: [Veritas-bu] Command line way to determine if policy is active or
deactivated

I'm using bppllist in a script to compare my policies with my bcv mount
points to make sure everything is mounted and in a backup policy.  I would
like to exclude any policies that are not active.   Is there any field in a
bppllist -allpolicies command that indicates a policy's state?  If not where
can I get that info from the command line? Thanks in advance..
 
Wayne BeDour
IT Unix System Administrator
PH: 313-240-3374  FAX:  313-240-3065 
Internet:  wbedour AT lear DOT com

 

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

**********************
** LEGAL DISCLAIMER **
**********************

This E-mail message and any attachments may contain
legally privileged, confidential or proprietary
information. If you are not the intended recipient(s),
or the employee or agent responsible for delivery of
this message to the intended recipient(s), you are
hereby notified that any dissemination, distribution
or copying of this E-mail message is strictly
prohibited. If you have received this message in
error, please immediately notify the sender and
delete this E-mail message from your computer.


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