Networker

Re: [Networker] Reporting of restore data

2003-08-06 05:28:44
Subject: Re: [Networker] Reporting of restore data
From: "Faidherbe, Thierry" <thierry.faidherbe AT HP DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Wed, 6 Aug 2003 11:28:34 +0200
Well, you can achieve the result you want, not so directly but you need 
to do it on a regular base.

First, using nsradmin, call :
nsradmin > show save totals;recover totals 
nsradmin > print type:nsr

       save totals: "37 sessions, 457 MB total";
       recover totals: "347 sessions, 48 MB total";

Then, using any sting processing, gather the Size Unit (MB)
ex "457*1024*1024" -> 479199232
   "48*1024*1024"  ->  50331648
It can be KB(*1024), MB(*1024*1024), GB(*1024*1024*1024), 
TB(*1024*1024*1024*1024), PB (*1024*1024*1024*1024*1024). 

Gather the info on a hourly or daily base, depending how precise
are your needs and not to overload nsrd.

Gather the previous value stored in a tmp file and compare it with
current one. If stored one is higher than the current one, 
then nsrd has been restarted and assume the previous one is 0.
Do the difference. Store current size in the tmp file
for the next run.

The "recover totals" takes Ssid that have been cloned into account. So,
retrieve back the SSID that have been cloned in the same time range
and totalize the size of data that has been cloned :
"mminfo -q "savetime>= xxxxxx, copies>1" -r ssid,totalsize
ex, if it runs on a hourly base :
        "mminfo -q "savetime>=1 hour ago, copies>1" -r ssid,totalsize
ex, if it runs on a daily base :
        "mminfo -q "savetime>=1 day ago, copies>1" -r ssid,totalsize

Deduce from the difference, the sum of the ssid's totalsize that have
been cloned and you get size what has been recovered in your time range.

Store now the result and the localtime in a flat file and/or process 
it like you want. 

I am monitoring my server such a way (hourly started session,
hourly running session, per 10 minutes tape drive speed, ....) and
process
my flat files to pipe the data to rrd_graph to build hourly, daily, 
weekly and yearly graphs.

Have fun,

Thierry




Kind regards - Bien cordialement - Vriendelijke groeten,

Thierry FAIDHERBE

HPCI - Storage & Server Integration Practice 
Tru64 Unix and Legato EBS Consultant
                                   
 *********       *********   HEWLETT - PACKARD
 *******    h      *******   1 Rue de l'aeronef/Luchtschipstraat
 ******    h        ******   1140 Bruxelles/Brussel/Brussels
 *****    hhhh  pppp *****   
 *****   h  h  p  p  *****   100/102 Blv de la Woluwe/Woluwedal
 *****  h  h  pppp   *****   1200 Bruxelles/Brussel/Brussels
 ******      p      ******   BELGIUM
 *******    p      *******                              
 *********       *********   Phone :    +32 (0)2  / 729.85.42   
                             Mobile :   +32 (0)498/  94.60.85 
                             Fax :      +32 (0)2  / 729.88.30   
     I  N  V  E  N  T        Email :    thierry.faidherbe AT hp DOT com
                             Internet : http://www.hp.com/
________________________________________________________________________

MOBISTAR SA/NV 

SYSTEM Team Charleroi, Mermoz 2 Phone : +32 (0)2  / 745.75.81  
Avenue Jean Mermoz, 32          Fax :   +32 (0)2  / 745.89.56  
6041 GOSSELIES                  Email : tfhaidhe AT mail.mobistar DOT be
BELGIUM                         Web :   http://www.mobistar.be/
________________________________________________________________________

  


-----Original Message-----
From: Shaun Ellis [mailto:sellis AT LEGATO DOT COM] 
Sent: Wednesday, August 06, 2003 2:33 AM
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Subject: Re: [Networker] Reporting of restore data


Mike,

No you can't. The reason is that NetWorker does not store the
information
for NMC to be able to gather it. This is already an RFE. Would you like
me
to add you to the list of customers who want this?

Shaun Ellis
NetWorker Management & OpenVMS Product Manager
LEGATO Systems Inc
3210, Porter Drive
Palo Alto
Ca 94304

Phone: +1 (650) 842 9548
Mobile: +1 (408) 431 6997


> -----Original Message-----
> From: Mike Andrewjeski [mailto:mike.andrewjeski AT GREENPOINT DOT COM]
> Sent: Tuesday, August 05, 2003 4:29 PM
> To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
> Subject: Reporting of restore data
>
> Does anyone know how you can report on how much data has been restored
in
a
> given period without using the Management Console(GEMS)?
>
> Something like mminfo that can be scripted. The Data is shown in
nwadmin
> under X, not sure about Windows though.
>
> TIA
>
> Mike
>
> --
> Note: To sign off this list, send a "signoff networker" command via
email
> to listserv AT listmail.temple DOT edu or visit the list's Web site at
> http://listmail.temple.edu/archives/networker.html where you can
> also view and post messages to the list.
> =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

--
Note: To sign off this list, send a "signoff networker" command via
email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=