cancel
Showing results for 
Search instead for 
Did you mean: 

Netbackup - Robots Inventory

ndt
Level 4

Hi all,

Please help me configure NBU in order to detect all tape in tape library. As pic below, It seems that NBU only detect two tapes in drives. It does not inventory tape in cartrige.

I tried on Windows and Solaris but I still had the same problem.

- NBU version 7.0

- Tape Library: Sun Storedge C4

Robots Inventory:

 

Thank you.

ndt

1 ACCEPTED SOLUTION

Accepted Solutions

Will_Restore
Level 6

Resolution
Please review the following information.

 

The Sun StorageTek C4 tape library allow three different setting for Media Access Port /Load Port.

  • None
  • Single column
  • Whole Magazine

In order to change to None or No Media Access Port follow the steps below.

Step 1 - Stop Netbackup

 

   /usr/openv/netbackup/bin/goodies/netbackup stop

Step 2 - Change configuration setting on C4 OCP (Operator Control Panel)

Select Setup
Select Cabinet setup
Select Left load port OR Right load port
Select Disable (Make sure both is set to OFF)

Return to the main menu on OCP

Step 3 - Start Netbackup

 

   /usr/openv/netbackup/bin/goodies/netbackup start

Step 4 - Confirm new setting with robtest

 

   /usr/openv/volmgr/bin/robtest
Configured robots with local control supporting test utilities:
TLD(0)     robotic path = /dev/sg/c0tw100000e0022350e2l0

 

       .
.
.
slot 1 (addr 256) contains Cartridge = no
slot 2 (addr 257) contains Cartridge = no
slot 3 (addr 258) contains Cartridge = no
.
.
.
slot 36 (addr 291) contains Cartridge = no
slot 37 (addr 292) contains Cartridge = no
slot 38 (addr 293) contains Cartridge = no
READ_ELEMENT_STATUS complete

View solution in original post

7 REPLIES 7

Will_Restore
Level 6

Try this command on Solaris system:

  /usr/openv/volmgr/bin/scan -changer

How many Drives and how many Slots does that show?

Anonymous
Not applicable

There is also robtest

 

robtest

commands that can be used are as follows:

s s       (show slots)
s d       (show drives)
s i       (show load port)

 

Have a look at this TechNote for robtest examples:
http://seer.entsupport.symantec.com/docs/274063.htm

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

More info, please? Apologies, I'm no familiar with Storedge C4 - what 'cartridge'?

The two tapes picked up by inventory are in media slots, not in tape drives.

Please post output of robtest as suggested by Stuart.

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

Thanks for the screenshot. I see your robot reports these 'boxes' as 'Load Ports'. Another term for that is  Media Access Ports. See output of 'scan' command:

Number of Drives : 2
Number of Slots  : 2
Number of Media Access Ports: 36

NBU cannot use tapes while in the MAP -they need to be in Slots.

Now the weird thing about your robot is that it reports only 2 slots and 36 MAPS. It is normally the other way round - less MAPS than Slots.

Please check your robot documentation (or chat to your hardware support team) if the Load Ports can be converted to normal Slots.

Will_Restore
Level 6

Resolution
Please review the following information.

 

The Sun StorageTek C4 tape library allow three different setting for Media Access Port /Load Port.

  • None
  • Single column
  • Whole Magazine

In order to change to None or No Media Access Port follow the steps below.

Step 1 - Stop Netbackup

 

   /usr/openv/netbackup/bin/goodies/netbackup stop

Step 2 - Change configuration setting on C4 OCP (Operator Control Panel)

Select Setup
Select Cabinet setup
Select Left load port OR Right load port
Select Disable (Make sure both is set to OFF)

Return to the main menu on OCP

Step 3 - Start Netbackup

 

   /usr/openv/netbackup/bin/goodies/netbackup start

Step 4 - Confirm new setting with robtest

 

   /usr/openv/volmgr/bin/robtest
Configured robots with local control supporting test utilities:
TLD(0)     robotic path = /dev/sg/c0tw100000e0022350e2l0

 

       .
.
.
slot 1 (addr 256) contains Cartridge = no
slot 2 (addr 257) contains Cartridge = no
slot 3 (addr 258) contains Cartridge = no
.
.
.
slot 36 (addr 291) contains Cartridge = no
slot 37 (addr 292) contains Cartridge = no
slot 38 (addr 293) contains Cartridge = no
READ_ELEMENT_STATUS complete

ndt
Level 4

Thank you.

ndt.

ndt
Level 4

'cartridge' I mean that the box which hold tapes. It has two boxes (left and right) with every 18 tapes.

 I show you more my infomation:

bash-3.00# /usr/openv/volmgr/bin/scan -changer
************************************************************
*********************** SDT_CHANGER ************************
************************************************************
------------------------------------------------------------
Device Name  : "/dev/sg/c0tw500e09e00b4b2b01l0"
Passthru Name: "/dev/sg/c0tw500e09e00b4b2b01l0"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry    : "QUANTUM PX500           0033"
Vendor ID  : "QUANTUM "
Product ID : "PX500           "
Product Rev: "0033"
Serial Number: "QP0720BDC00080"
WWN          : ""
WWN Id Type  : 0
Device Identifier: "QUANTUM PX500           QP0720BDC00080      "
Device Type    : SDT_CHANGER
NetBackup Robot Type: 8
Removable      : Yes
Device Supports: SCSI-3
Number of Drives : 2
Number of Slots  : 2
Number of Media Access Ports: 36
Drive 1 Serial Number      : "HU10702V07"
Drive 2 Serial Number      : "HU10651H41"
Flags : 0x0
Reason: 0x0
bash-3.00#

bash-3.00# /usr/openv/volmgr/bin/robtest
Configured robots with local control supporting test utilities:
  TLD(0)     robotic path = /dev/sg/c0tw500e09e00b4b2b01l0
 
Robot Selection
---------------
  1)  TLD 0
  2)  none/quit
Enter choice: 1
 
Robot selected: TLD(0)   robotic path = /dev/sg/c0tw500e09e00b4b2b01l0
 
Invoking robotic test utility:
/usr/openv/volmgr/bin/tldtest -rn 0 -r /dev/sg/c0tw500e09e00b4b2b01l0
 
Opening /dev/sg/c0tw500e09e00b4b2b01l0
MODE_SENSE complete
Enter tld commands (? returns help information)
s s
slot 1 (addr 256) contains Cartridge = yes
Barcode = BBY739L1                        
slot 2 (addr 257) contains Cartridge = yes
Source address = 256
Barcode = BBY720L2                        
READ_ELEMENT_STATUS complete
s d
drive 1 (addr 128) access = 1 Contains Cartridge = yes
Barcode = BBY733L1                        
drive 2 (addr 129) access = 1 Contains Cartridge = yes
Barcode = BBY725L2                        
READ_ELEMENT_STATUS complete
s i
Address 1280, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 0, full = 0
Address 1281, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 0, full = 0
Address 1282, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY732L1                        
Address 1283, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY721L1                        
Address 1284, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY724L2                        
Address 1285, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 0, full = 1
  Source address = 257
  Barcode = BBY723L1                        
Address 1286, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY721L2                        
Address 1287, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 0, full = 0
<< Press return to continue, or q and return to stop >>
 
Address 1288, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY728L2                        
Address 1289, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY736L1                        
Address 1290, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY729L2                        
Address 1291, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY726L2                        
Address 1292, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY744L1                        
Address 1293, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY737L1                        
Address 1294, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY726L1                        
<< Press return to continue, or q and return to stop >>
 
Address 1295, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY734L1                        
Address 1296, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY735L1                        
Address 1297, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY722L2                        
Address 1298, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY740L1                        
Address 1299, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY722L1                        
Address 1300, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY743L1                        
Address 1301, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY727L2                        
<< Press return to continue, or q and return to stop >>
 
Address 1302, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY730L1                        
Address 1303, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY745L1                        
Address 1304, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY723L2                        
Address 1305, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY727L1                        
Address 1306, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY720L1                        
Address 1307, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY742L1                        
Address 1308, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY738L1                        
<< Press return to continue, or q and return to stop >>
 
Address 1309, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY725L1                        
Address 1310, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 0, full = 0
Address 1311, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY741L1                        
Address 1312, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY731L1                        
Address 1313, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY729L1                        
Address 1314, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY728L1                        
Address 1315, import_enabled = 1, export_enabled = 1, access = 1
  except = 0, import_export = 1, full = 1
  Barcode = BBY724L1                        
READ_ELEMENT_STATUS complete

=================================================

 

Thank you.

ndt