cancel
Showing results for 
Search instead for 
Did you mean: 

Drive Selection

technimdaxviii
Level 5

How does netbakup select the driver to use? We have 2 drivers for StorageTek SL150. But log show only one driver was used for different backups.

2017-04-20_9-33-31_NB1.jpg2017-04-20_11-58-15_NB2.jpg

1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Level 6
Partner    VIP    Accredited Certified

If configuration is correct and both drives are UP, NBU will automatically load balance the available tape drives.

Please show us config and drive status:

/usr/openv/netbackup/bin/admincmd/bpstulist -U

/usr/openv/volmgr/bin/tpconfig -l

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

 

View solution in original post

5 REPLIES 5

Nicolai
Moderator
Moderator
Partner    VIP   

 There a couple of things to check:

For the storage unit, what is the value of "number of drives" set to ? (2 should be the value)

For the storage unit, what is the "max concurrent write drives" drives set to ? (2 shoud be the value).

Mike_Gavrilov
Moderator
Moderator
Partner    VIP    Accredited Certified

If we're talking about your case when check Nikolai's recommendations first. 

If you just want to know how it works. Under the hood NetBackup has group of daemons (nbrb, mds, da, nbemm) sometimes called IRM (Intelligent Resource Manager). They monitor drives' state and select which drive should used for a job.

Marianne
Level 6
Partner    VIP    Accredited Certified

If configuration is correct and both drives are UP, NBU will automatically load balance the available tape drives.

Please show us config and drive status:

/usr/openv/netbackup/bin/admincmd/bpstulist -U

/usr/openv/volmgr/bin/tpconfig -l

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

 

Genericus
Moderator
Moderator
   VIP   

It has been my experience that the basic statement Marianne made - "If configuration is correct and both drives are UP, NBU will automatically load balance the available tape drives" is MOSTLY true (especially if storage unit is set to round robin)

NetBackup should take a bunch of other things into account -

are the drives shared? NetBackup will give priority to media server already allocated to minimize unload and loading

are multiple pools used? NetBackup will give priority to writing to pool already loaded.

With all other things equal - if you stop everything then start clean, it should load the drives alphabetically in order and round robin them - which when planning, means you can balance things like HBA and NIC using the drive naming...

 

NetBackup 9.1.0.1 on Solaris 11, writing to Data Domain 9800 7.7.4.0
duplicating via SLP to LTO5 & LTO8 in SL8500 via ACSLS

Hi Marianne,

Thank you for the response. It show the drive was down. After bringing it up, both drives are now used.

Regards,
J

root@hq-vnb:~# /usr/openv/volmgr/bin/tpconfig -l
Device Robot Drive       Robot                    Drive                 Device         Second
Type     Num Index  Type DrNum Status  Comment    Name                  Path           Device Path
robot      0    -    TLD    -       -  -          -                     /dev/sg/c0tw500104f000d23aa7l1
  drive    -    0 hcart3    1    DOWN  -          HP.ULTRIUM6-SCSI.000  /dev/rmt/0cbn  drive    -    1 hcart3    2      UP  -          HP.ULTRIUM6-SCSI.001  /dev/rmt/1cbn
root@hq-vnb:~#
root@hq-vnb:~# 
root@hq-vnb:~# /usr/openv/volmgr/bin/vmoprcmd -d

                                PENDING REQUESTS

                                     <NONE>

                                  DRIVE STATUS

Drv Type   Control  User      Label  RecMID  ExtMID  Ready   Wr.Enbl.  ReqId
  0 hcart3 DOWN-TLD             -                     No       -         0  
  1 hcart3   TLD                -                     No       -         0 

                             ADDITIONAL DRIVE STATUS

Drv DriveName            Shared    Assigned        Comment                   
  0 HP.ULTRIUM6-SCSI.000  Yes      -                                         
  1 HP.ULTRIUM6-SCSI.001  Yes      -  

 

root@hq-vnb:~# tpconfig -l
Device Robot Drive       Robot                    Drive                 Device         Second
Type     Num Index  Type DrNum Status  Comment    Name                  Path           Device Path
robot      0    -    TLD    -       -  -          -                     /dev/sg/c0tw500104f000d23aa7l1
  drive    -    0 hcart3    1      UP  -          HP.ULTRIUM6-SCSI.000  /dev/rmt/0cbn  drive    -    1 hcart3    2      UP  -          HP.ULTRIUM6-SCSI.001  /dev/rmt/1cbn
root@hq-vnb:~# vmoprcmd -d

                                PENDING REQUESTS

                                     <NONE>

                                  DRIVE STATUS

Drv Type   Control  User      Label  RecMID  ExtMID  Ready   Wr.Enbl.  ReqId
  0 hcart3   TLD                -                     No       -         0    1 hcart3   TLD                -                     No       -         0  

                             ADDITIONAL DRIVE STATUS

Drv DriveName            Shared    Assigned        Comment                   
  0 HP.ULTRIUM6-SCSI.000  Yes      -                                         
  1 HP.ULTRIUM6-SCSI.001  Yes      -