All -

Not sure if anyone is actively using this (updated?) command in the NBU
6x environment. If you are not, you might want to look at it, and if you
are, maybe you can shed some more light. This could come in handy for
automating drive down, pending request notification, etc. which is what
I intend to use it for. It (appears to) captures in one output the
results from all media servers, whereas other commands needed to be run
on each media server.

If one issues the command "vmoprcmd -devmon ds -no_format" you'll get
output similar to the following:

OPR_DISP60 DRIVE: MV01P_D057 3 8 kermit /dev/rmt/c55t0d3BESTnb
87bcd58283c7a098069af8 16 2 0 - 56 - - 0 82 3 57 -1 -1 -1 0 0 692081 0 0
0 0 0 0 - - - IBM~~~~~ULTRIUM-TD2~~~~~022C - - - -
OPR_DISP60 DRIVE: MV01P_D058 3 8 kermit /dev/rmt/c49t0d3BESTnb
87bce39283c7a098069af8 16 2 0 - 57 - - 0 82 3 58 -1 -1 -1 0 0 710531 0 0
0 0 0 0 - - - IBM~~~~~ULTRIUM-TD2~~~~~022C - - - -
OPR_DISP60 DRIVE: MV01P_D059 3 8 kermit /dev/rmt/c55t0d4BESTnb
87bcf18e83c7a098069af8 16 2 0 - 58 - - 0 82 3 59 -1 -1 -1 0 0 679363 0 0
0 0 0 0 - - - IBM~~~~~ULTRIUM-TD2~~~~~022C - - - -
OPR_DISP60 DRIVE: MV01P_D060 3 8 kermit /dev/rmt/c49t0d4BESTnb
87bcff6c83c7a098069af8 16 2 0 - 59 - - 0 82 3 60 -1 -1 -1 0 0 746975 0 0
0 0 0 0 - - - IBM~~~~~ULTRIUM-TD2~~~~~022C - - - -

In this case, 39 fields are returned. We've been able to decode a few of
them (we think):
(field/description)

3: drive name
4: density
5: robot type
6: media server
7: drive path
8: drive serial number
10: up or down (2=up, 1 = down)
13: drive index #
14 & 15: volsers (recorded/external)
18: robot #
19: drive #
33: IBM device name
34: comment
35: model text
36: scan host

As you can see, this command's output is an improvement over previous in
that spaces within fields are automatically converted to tildes for easy
parsing. It would appear as though at least some of the fields are
aliases to references in the configuration files
(/usr/openv/var/global). 

Also - this command works with the "pr" switch instead of "ds" to give
pending requests.
Removing the "pr" and "ds" merges drive status info with pending
requests.... Nice but a little more work to parse.

If anyone else out there has used this command - have you been able to
decipher any of the other fields?


Peter Schmidt
Northwestern Mutual Life
</pre><font face=Arial>This e-mail and any attachments may contain confidential 
information of Northwestern Mutual. If you are not the intended recipient of 
this message, be aware that any disclosure, copying, distribution or use of 
this e-mail and any attachments is prohibited. If you have received this e-mail 
in error, please notify Northwestern Mutual immediately by returning it to the 
sender and delete all copies from your system. Please be advised that 
communications received via the Northwestern Mutual Secure Message Center are 
secure. Communications that are not received via the Northwestern Mutual Secure 
Message Center may not be secure and could be observed by a third party. Thank 
you for your cooperation.</font><pre>
_______________________________________________
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

Reply via email to