[HPADM] SUMMARY Data Protector Report

From: Neil Paniraj (npaniraj@yahoo.com)
Date: Fri Sep 22 2006 - 09:30:50 EDT


Fellow SAs:

Thanks to all those who responded. I got a tailor made
script from Steve Evans. I have attached two of the
most useful scripts below:

=================
[bckppo02]:/usr/local/bin # more db_status.sh
#! /usr/bin/ksh
# 2002 Steve Evans

tmpfile=/var/adm/omnirpt
days_ago=1

if [[ $1 = "-f" ]] ; then
        omnistat_opt="-failed"
        omnidb_opt="-report warning"
else
        omnidb_opt="-detail"
fi

omnistat -previous $omnistat_opt -last $days_ago >
$tmpfile

session_list=$(omnistat -previous $omnistat_opt -last
$days_ago |egrep -v "==|Session" |cut -d " " -f 1 )
[[ $session_list = "No" ]] && exit

for session in $session_list
do
        echo
"==============================================================================="
        echo "Session: $session"
        omnidb -session $session $omnidb_opt
done >> $tmpfile 2>&1

=======================end of 1st script==========

==================start second script================
omnirpt -report list_sessions -timeframe 24 24 |grep
-v "Completed”
|cut -f2 -d%|while read I
do
echo $I
omnidb -session $i -report major
done
=================end of 2nd script==========

Thanks a billion again to all the other useful
responses.....
NEIL

--- "Evans, Steve" <steve.evans@Fiserv.com> wrote:

> You're welcome. Don't forget the [SUMMARY]
>
> Steve Evans
>
> -----Original Message-----
> From: Neil Paniraj [mailto:npaniraj@yahoo.com]
> Sent: Friday, September 22, 2006 8:52 AM
> To: Evans, Steve
> Subject: RE: [HPADM] Data Protector Report
>
> Thanks abillio, Steve. I got all that I wanted...
> Thanks for all ur help.
>
> --- "Evans, Steve" <steve.evans@fiserv.com> wrote:
>
> > The script does give you what is in the messages
> > window. Use "-report
> > warning" to trim out the [Normal] messages.
> Change
> > this line and see if
> > it gives you what you expect:
> >
> > < omnidb_opt="-report warning"
> > ---
> > > omnidb_opt="-report"
> >
> > Do omnidb --help for all it's options.
> >
> > Steve Evans
> > UNIX Systems Administrator
> >
> > -----Original Message-----
> > From: Neil Paniraj [mailto:npaniraj@yahoo.com]
> > Sent: Tuesday, September 19, 2006 3:23 PM
> > To: Evans, Steve
> > Subject: RE: [HPADM] Data Protector Report
> >
> >
> > Thanks a billion Steve. This is exactly what I was
> > looking for. I have another question. You don't
> have
> > to respond to me if you do not have the time.
> >
> > Is there a way I can extract all the details which
> > says why it failed. Generally the "Messages" tab
> > under
> > the "Sessions" Menu (in the internal database)
> gives
> > us all the details in the GUI. IS there a way I
> can
> > extract those details using Command Line
> Interface?
> >
> > Thanks a billion again.
> > --- "Evans, Steve" <steve.evans@Fiserv.com> wrote:
> >
> > > Try the attached with the -f option.
> > >
> > >
> > > Steve Evans
> > > UNIX Systems Administrator
> > >
> > > -----Original Message-----
> > > From: hpux-admin-owner@DutchWorks.nl
> > > [mailto:hpux-admin-owner@DutchWorks.nl] On
> Behalf
> > Of
> > > Neil Paniraj
> > > Sent: Tuesday, September 19, 2006 11:39 AM
> > > To: hpux-admin@DutchWorks.nl
> > > Subject: [HPADM] Data Protector Report
> > >
> > > Fellow SAs:
> > >
> > > I need a (DataProtector) report which gives me
> the
> > > FAILED "DP Session" Numbers and their related
> > > "Message" with all the details related to why it
> > > failed. Is there I a way by which I can achieve
> > this
> > > using command line interface? (omnirpt or
> > anything
> > > else) Any input would be most appreciated.
> > >
> > > -NEIL
> > >
> > > [This will reduce the work on one of our
> operators
> > > who
> > > manually goes to the interface and keeps
> clicking
> > on
> > > all the jobs and he cuts and pastes the
> > > details/message tabs in the internal database
> etc.
> > > etc]
> > >
> > >
> __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam? Yahoo! Mail has the best spam
> > > protection around
> > > http://mail.yahoo.com
> > >
> > > --
> > > ---> Please post QUESTIONS and
> > > SUMMARIES only!! <---
> > > To subscribe/unsubscribe to this list,
> > > contact
> > > majordomo@dutchworks.nl
> > > Name: hpux-admin@dutchworks.nl Owner:
> > > owner-hpux-admin@dutchworks.nl
> > >
> > > Archives:
> > > ftp.dutchworks.nl:/pub/digests/hpux-admin
> > > (FTP, browse
> > > only)
> > >
> > > http://www.dutchworks.nl/htbin/hpsysadmin
> (Web,
> > > browse &
> > > search)
> > >
> > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> > protection around
> > http://mail.yahoo.com
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:54 EDT