Veritas-bu

Fwd: [Veritas-bu] Parsing VmGlob Output

2004-08-25 16:06:07
Subject: Fwd: [Veritas-bu] Parsing VmGlob Output
From: Shahbaz Javeed <sjaveed AT gmail DOT com> (Shahbaz Javeed)
Date: Wed, 25 Aug 2004 16:06:07 -0400
---------- Forwarded message ----------
From: Shahbaz Javeed <sjaveed AT gmail DOT com>
Date: Wed, 25 Aug 2004 14:01:55 -0400
Subject: Re: [Veritas-bu] Parsing VmGlob Output
To: "Greenberg, Katherine A" <greenbergka AT aetna DOT com>

Kate,

I think that's all I need.  For some reason I didn't think of not
specifying the -java switch.  I should be able to take this output and
match columns up to fields now.

Thanks :)
Shahbaz

On Wed, 25 Aug 2004 13:29:29 -0400, Greenberg, Katherine A
<greenbergka AT aetna DOT com> wrote:
> The following is the vmglob output as -java and then with just a
> -listall. If you look at each field in the listall, you can then
> correlate it to what you want in the -java. Note how it all matches up,
> just the ~'s are added as spacers in the -java output.
>
> VMGLOB4.5 robot 2 12646 NBU-Master NBU-Master 2 -1 TLH - 0x0 - -1
> IBM~~~~~3494~~~~~~~~~~~~0~~~ /dev/lmcp2 - - -1 -1 -1 -1
>
> device type:               robot
> device name:               2
> serial number:             12646
> hostname:                  NBU-Master
> volume database hostname:  NBU-Master
> robot number:              2
> robot drive number:        -1
> robot type:                TLH
> drive type:                -
> flags:                     0x0
> worldwide name:            -
> worldwide name type:       -1
> inquiry:                   IBM     3494            0
> library name:              /dev/lmcp2
> vendor drive name:         -
> robot control host:        -
> ACS:                       -1
> LSM:                       -1
> PANEL:                     -1
> DRIVE:                     -1
>
> VMGLOB4.5 drive IBM03590H1A3 0000000A7748 NBU-Media - 0 -1 TLH hcart
> 0x2000 IBM~~~~~03590H1A~~~~~~~~0000000A7748 -1
> IBM~~~~~03590H1A~~~~~~~~F2C1 - 00A77480 - -1 -1 -1 -1
>
> device type:               drive
> device name:               IBM03590H1A3
> serial number:             0000000A7748
> hostname:                  NBU-Media
> volume database hostname:  -
> robot number:              0
> robot drive number:        -1
> robot type:                TLH
> drive type:                hcart
> flags:                     0x2000
> worldwide name:            IBM     03590H1A        0000000A7748
> worldwide name type:       -1
> inquiry:                   IBM     03590H1A        F2C1
> library name:              -
> vendor drive name:         00A77480
> robot control host:        -
> ACS:                       -1
> LSM:                       -1
> PANEL:                     -1
> DRIVE:                     -1
>
> ~Kate
>
>
>
> -----Original Message-----
> From: Shahbaz Javeed [mailto:sjaveed AT gmail DOT com]
> Sent: Wednesday, August 25, 2004 12:49 PM
> To: Greenberg, Katherine A
> Subject: Re: [Veritas-bu] Parsing VmGlob Output
>
> Specifically I'm attempting to map all the drives on a robot alongwith
> serial numbers.  The reason I'm interested in the -java style output is
> because it seems to provide a whole lot more information for drives and
> robots which might be useful for the larger project I'm working on.
>
> Basically I'm looking at the 8 extra fields that drive and robot records
> have as displayed in the -java view and wondering if they're useful to
> me.
>
> Shahbaz
>
> On Wed, 25 Aug 2004 12:33:15 -0400, Greenberg, Katherine A
> <greenbergka AT aetna DOT com> wrote:
> > What specifically are you trying to get out of vmglob? If you run it
> > without the -java flag, it will give you roughly the same info as w/
> > the -java, just with headers at the beginning of each column.
> >
> >
> >
> >
> > -----Original Message-----
> > From: Shahbaz Javeed [mailto:sjaveed AT gmail DOT com]
> > Sent: Wednesday, August 25, 2004 12:30 PM
> > To: Greenberg, Katherine A
> > Subject: Re: [Veritas-bu] Parsing VmGlob Output
> >
> > Kate,
> >
> > I usually use the -listall -java flags since they seem to give far
> > more information.
> >
> > Shahbaz
> >
> > On Wed, 25 Aug 2004 12:26:06 -0400, Greenberg, Katherine A
> > <greenbergka AT aetna DOT com> wrote:
> > > What tags are your throwing on the end of vmglob? I generally run
> > > vmglob -listall -b . It makes the output easier to read.
> > >
> > > ~Kate
> > >
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: veritas-bu-admin AT mailman.eng.auburn DOT edu
> > > [mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of
> > > Shahbaz Javeed
> > > Sent: Wednesday, August 25, 2004 12:18 PM
> > > To: Veritas NBU Mailing List
> > > Subject: [Veritas-bu] Parsing VmGlob Output
> > >
> > > Folks,
> > >
> > > I've been trying to find the format for the output of vmglob but
> > > without much success.  There seem to be two different types of
> > > records
> >
> > > in the vmglob output I'm seeing: robot and drive.  Robot records
> > > seem to be shorter (fewer fields) than drive records.
> > >
> > > Does anyone here have an idea on what each field in each of these
> > > types of records means?
> > >
> > > Thanks
> > > --
> > > Shahbaz Javeed _______________________________________________
> > > Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
> > > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> > >
>
> -----------------------------------------
> This e-mail may contain confidential or privileged information.  If you
> think you have received this e-mail in error, please advise the sender by
> reply e-mail and then delete this e-mail immediately.  Thank you.  Aetna
>
>


--
Shahbaz Javeed



-- 
Shahbaz Javeed

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