cancel
Showing results for 
Search instead for 
Did you mean: 

Library Based Tape Drive - How Many Do I have??

User0511
Level 3

Hi All,

1. Can anyone please let me know how do i identify how many library based tape drive do i have in my net backup domain? What command can i execute to obtain this information?

2. How can i identify how many tape drives whether standalone or in a robotic tape library are shared in my NBU domain?

Regards

 

9 REPLIES 9

mph999
Level 6
Employee Accredited

vmoprcmd will show all drives, and which media servers they are configured to.

/usr/openv/volmgr/bin/vmoprcmd

 

mph999
Level 6
Employee Accredited

/usr/openv/volmgr/bin/tpconfig -d shows which drives are configured to a particular media server (so you would have to run the command on each mendia server) and whether or not the drives are 'robotic'.

mph999
Level 6
Employee Accredited

Example from vmoprcmd

                                  DRIVE STATUS

Drive Name               Label   Ready  RecMID  ExtMID  Wr.Enbl.  Type
    Host                       DrivePath                            Status
=============================================================================
IBM.ULT3580-TD4.004      No      No                     No        hcart
    2012-master.vlab1.com      {3,0,0,2}                            TLD

IBM.ULT3580-TD4.005      No      No                     No        hcart
    2012-master.vlab1.com      {3,0,0,3}                            TLD

IBM.ULT3580-TD4.006      No      No                     No        hcart
    2012-master.vlab1.com      {3,0,0,4}                            TLD

IBM.ULT3580-TD4.007      No      No                     No        hcart
    2012-master.vlab1.com      {3,0,0,5}                            TLD
    2012-media.vlab1.com       {3,0,0,1}                            TLD


So we see x4 drives, and bwlow each drive which media servers can see them

tpconfig -d from the master shows

Id  DriveName           Type   Residence
      SCSI coordinates/Path                                            Status
****************************************************************************
0   IBM.ULT3580-TD4.004  hcart  TLD(1)  DRIVE=1
      {3,0,0,2}                                                        UP
1   IBM.ULT3580-TD4.005  hcart  TLD(1)  DRIVE=2
      {3,0,0,3}                                                        UP
2   IBM.ULT3580-TD4.006  hcart  TLD(1)  DRIVE=3
      {3,0,0,4}                                                        UP
3   IBM.ULT3580-TD4.007  hcart  TLD(1)  DRIVE=4
      {3,0,0,5}                                                        UP

Currently defined robotics are:
  TLD(1)     SCSI coordinates = {3,0,0,1}

EMM Server = 2012-master.vlab1.com

So we see each drive is in robot tld(1), the status is UP and also the fact that the Robot is shown as a path (as opposed to a hostname) so this is also the robot control host.

Mark_Solutions
Level 6
Partner Accredited Certified

NetBackup Admin Console - - Media and Device Management - Device Monitor

NetBackup Admin Console - Media and Device Management - Devices - Drives

areznik
Level 5

I'd like to add that in addition to the NetBackup commands posted above, you should log on to the library console(s) and view the list of drives from there. There could be drives on the library that are not configured in NBU and you would never know about them if you just run netbackup commands. 

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

How big is your NetBackup domain?

How many master servers?

How many media servers?

Do you have multiple tape libraries in the environment or only one?

On a single master server, this is easily checked in Media and Devices section of the GUI...

PS: 

OS is ALWAYS applicable - commands are run from different folders on Windows and Unix/Linux servers.

User0511
Level 3

Thanks a lot everyone. it helps a lot.

Mph, 

"/usr/openv/volmgr/bin/tpconfig -d" this command will give me details of all the tape drives in my environment? Additionally, will this help me identify TAPE LIBRARY aswell?

 

Marianne,

I have 1 master server, 2 media servers, and 2 tape libraries in one environment. I have Master server which is a tier 2 Unix Server.

 

All,

How can i find out how many SSO are there in an environment where ther master server is a Unix server?

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified
Since you have a small environment, the commands are quick and easy to run. Why not try it? We can provide better assistance if you show us output of the commands. Show us output of vmoprcmd on the master and tpconfig -d (I prefer tpconfig -l) on the media servers. You will clearly see if drives are shared in above commands. Not sure what you mean with this: " will this help me identify TAPE LIBRARY aswell?" Are you looking for make/model? These commands will not tell you. This command on robot control host(s) will: scan -changer

mph999
Level 6
Employee Accredited

"/usr/openv/volmgr/bin/tpconfig -d" this command will give me details of all the tape drives in my environment? Additionally, will this help me identify TAPE LIBRARY aswell?

 

Yes, although you would have to run this on each media server.