Networker

Re: [Networker] Count of active sessions

2006-09-20 08:08:23
Subject: Re: [Networker] Count of active sessions
From: "Faidherbe, Thierry" <Thierry.Faidherbe AT HP DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 20 Sep 2006 13:53:06 +0200
Teresa,

Writing my nsr reporter (and the nsr_device_monitor part), I also
detected such a problem.

The only way to X-check and bypass the problem is
in your nsradmin query, to add volume label field :

old
-> show nsr operation;volume operation;minor mode;name;statistics 

new
-> show nsr operation;volume operation;minor mode;name;statistics;volume
label

If volume label is empty, no volume are loaded. If volume label is
empty,
then stats are wrong and may be ignored.

It's only workaround I found and I strongly believe it to be a bug, 
occuring when sessions are like aborted, that stats to not be 
properly cleaned in memory.

You can also do a crosscheck using following fields from type:nsr
ressource :
       session statistics: 
          session message: 
      session client name: 
             session rate: 
       session rate label: 
      session device name: 

They are indexed ( session statistics[0] with  session message[0] ....)
>From devices, gather volume labels. Compare with session statistics data
and you can deduce inactive volumes (and wrong data) to ignore.

HTH

Th


Kind regards - Bien cordialement - Vriendelijke groeten,

Thierry FAIDHERBE

HP Services - Storage Division
Tru64 Unix and Legato Enterprise Backup Solutions 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/MSN : thierry.faidherbe(at)hp.com
                             Internet  : http://www.hp.com/ 
-----Original Message-----
From: EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On
Behalf Of Teresa Biehler
Sent: Tuesday, September 19, 2006 4:17 PM
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: [Networker] Count of active sessions

Hi,

 

I'm trying to gather information about the number of sessions active on
each drive.  I'm using the following as an input file for nsradmin:

 

show nsr operation;volume operation;minor mode;name;statistics 

print name : /dev/rmt/3cbn

 

 

Currently, that drive is idle and empty (cut/paste from nsrwatch):

 

/dev/rmt/3cbn(J) 8mm AIT-3     (none)       unmounted (already)

 

 

But, the nsradmin query returns this:

 

                        name: /dev/rmt/3cbn;

            volume operation: ;

               NSR operation: ;

                  minor mode: ;

                  statistics: elapsed = 1901240, errors = 0, last rate =
0, 

                              max clients = 11, file marks = 95, 

                              rewinds = 473, files skipped = 7479, 

                              records skipped = 319536, current file =
89, 

                              current record = 9217, seek files = 0, 

                              seek records = 9214, estimated kb = 0, 

                              amount kb = 80921728, file amount kb =
1179776, 

                              sessions = 1;

 

 

which has the number of sessions listed as "1".  All my other drives
list "0" when the drive is idle and empty.  

 

Does anyone have any ideas why nsradmin thinks there is a session for
this drive?  

 

Thanks.

Teresa


To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the
body of the email. Please write to networker-request AT listserv.temple DOT edu
if you have any problems
wit this list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the
body of the email. Please write to networker-request AT listserv.temple DOT edu 
if you have any problems
wit this list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

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