cancel
Showing results for 
Search instead for 
Did you mean: 

Down Drive Report Using vmoprcmd

Phil_Myers
Level 2
I'm using the vmoprcmd command to generate a report within a perl script for down drives. How can I determine the ROBOT to include in the report ? I'm new to Netbackup, but have been unable to determine this info with searches.

Thanks,

Phil

---------------------------------------------------------------
# /usr/openv/volmgr/bin/vmoprcmd -d ds

DRIVE STATUS

Drv Type Control User Label RecMID ExtMID Ready Wr.Enbl. ReqId
3 xxxxx DOWN-TLD - No - -
2 REPLIES 2

Anonymous
Not applicable
Have a similar report running too but havent gone that far. However, you could try using

tpconfig -d

it displays a correlation to the Drive Index number and the robot it resides in.

For example:
# tpconfig -d
Index DriveName DrivePath Type Shared Status
***** ********* ********** **** ****** ******
0 Drive00 /dev/ntape/tape0_d1 dlt3 Yes UP
TLD(0) Definition DRIVE=1
1 Drive01 /dev/ntape/tape1_d1 dlt3 Yes UP
TLD(0) Definition DRIVE=2
2 Drive02 /dev/ntape/tape2_d1 dlt3 Yes UP
TLD(0) Definition DRIVE=3
3 Drive03 /dev/ntape/tape3_d1 dlt3 Yes UP
TLD(0) Definition DRIVE=4
4 Drive04 /dev/ntape/tape4_d1 dlt3 Yes UP
TLD(0) Definition DRIVE=5
5 Drive05 /dev/ntape/tape5_d1 dlt3 Yes UP
TLD(0) Definition DRIVE=6
6 Drive06 /dev/ntape/tape6_d1 dlt3 Yes DOWN
TLD(0) Definition DRIVE=7
7 Drive10 /dev/ntape/tape10_d1 dlt3 Yes UP
TLD(1) Definition DRIVE=1
8 Drive11 /dev/ntape/tape11_d1 dlt3 Yes UP
TLD(1) Definition DRIVE=2
9 Drive12 /dev/ntape/tape12_d1 dlt3 Yes UP
TLD(1) Definition DRIVE=3
10 Drive13 /dev/ntape/tape13_d1 dlt3 Yes UP
TLD(1) Definition DRIVE=4
11 Drive14 /dev/ntape/tape14_d1 dlt3 Yes UP
TLD(1) Definition DRIVE=5
12 Drive15 /dev/ntape/tape15_d1 dlt3 Yes UP
TLD(1) Definition DRIVE=6
13 Drive16 /dev/ntape/tape16_d1 dlt3 Yes UP
TLD(1) Definition DRIVE=7

Currently defined robotics are:
TLD(1) robotic path = /dev/changer/mc1,
volume database host = k8moss
TLD(0) robotic path = /dev/changer/mc0,
volume database host = k8moss

Hope this helps.

Phil_Myers
Level 2
Thanks, that looks great... Just what I needed...

Phil