ADSM-L

Re: managing restores

1999-04-06 02:35:18
Subject: Re: managing restores
From: Russell Street <russells AT AUCKLAND.AC DOT NZ>
Date: Tue, 6 Apr 1999 18:35:18 +1200
There are two ways you can do this:



1.   In the ADSM server activity log there are records for restores...

04/03/99 11:59:28 ANE4955I (Session: 2652, Node: NETX) Total number of objects 
restored:      6,403
04/03/99 11:59:28 ANE4959I (Session: 2652, Node: NETX) Total number of objects 
failed:            0
04/03/99 11:59:28 ANE4961I (Session: 2652, Node: NETX) Total number of bytes 
transferred: 201.65 MB
04/03/99 11:59:28 ANE4963I (Session: 2652, Node: NETX) Data transfer time:      
         265.27 sec
04/03/99 11:59:28 ANE4966I (Session: 2652, Node: NETX) Network data transfer 
rate:    778.42 KB/sec
04/03/99 11:59:28 ANE4967I (Session: 2652, Node: NETX) Aggregate data transfer 
rate:  237.54 KB/sec
04/03/99 11:59:28 ANE4964I (Session: 2652, Node: NETX) Elapsed processing time: 
           00:14:29

cf a backup..

04/03/99 10:29:30 ANE4952I (Session: 2486, Node: NETX) Total number of objects 
inspected:    12,130
04/03/99 10:29:30 ANE4954I (Session: 2486, Node: NETX) Total number of objects 
backed up:    12,129
04/03/99 10:29:30 ANE4958I (Session: 2486, Node: NETX) Total number of objects 
updated:           0
04/03/99 10:29:30 ANE4960I (Session: 2486, Node: NETX) Total number of objects 
rebound:           0
04/03/99 10:29:30 ANE4957I (Session: 2486, Node: NETX) Total number of objects 
deleted:           0
04/03/99 10:29:30 ANE4959I (Session: 2486, Node: NETX) Total number of objects 
failed:            0
04/03/99 10:29:30 ANE4961I (Session: 2486, Node: NETX) Total number of bytes 
transferred: 573.82 MB
04/03/99 10:29:30 ANE4963I (Session: 2486, Node: NETX) Data transfer time:      
         505.31 sec
04/03/99 10:29:30 ANE4966I (Session: 2486, Node: NETX) Network data transfer 
rate:  1,162.82 KB/sec
04/03/99 10:29:30 ANE4967I (Session: 2486, Node: NETX) Aggregate data transfer 
rate:  561.97 KB/sec
04/03/99 10:29:30 ANE4968I (Session: 2486, Node: NETX) Objects compressed by:   
                 0%
04/03/99 10:29:30 ANE4964I (Session: 2486, Node: NETX) Elapsed processing time: 
           00:17:25





2.  If you enable session accounting, the ADSM Server accounting file
(dsmaccnt.log on a UNIX system) the restore was recorded as:

3,20,ADSM,04/03/1999,11:59:28,NETX,,SUN 
SOLARIS,1,Tcp/Ip,1,0,0,0,0,0,0,6403,206449,208062,869,2,659,0,4,0,0,0,0,1,2

and the backup recorded as

3,20,ADSM,04/03/1999,10:29:30,NETX,,SunOS,1,Tcp/Ip,1,0,0,0,0,12129,587490,0,0,589872,1046,56,704,0,4,0,0,0,0,1,2

It is fairly easy to produce statistics using awk (or Perl or Excel)
from this file.


The description of the fields can be found the ADSM Admin Guide
(Chapter 17.  Monitoring the ADSM Server; Monitoring ADSM Accounting
Records)

        
http://www.storage.ibm.com/software/adsm/pubs/v3pubs/em/aix/html/admgde/a45ea163.htm#HDRMONACTR



Russell


[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Hi all,
>         I would like to keep track of restores being done. However ADSM
> reports only sessions that could either be backup or restores. How do you
> all keep track of restore session primarily for statistics.
>
>
> thanks
>
> Sri
<Prev in Thread] Current Thread [Next in Thread>