Video Screencast Help

I can´t add a librery tape backup

Created: 24 Jun 2014 • Updated: 04 Aug 2014 | 9 comments
This issue has been solved. See solution.

Hi Guys, my name is Walter.

I have a problem with a library tape backup.

My organization has:

* One Master server with Windows Server 2008 R2 and NetBackup 7.5.0.4

* Two Media Server with Solaris 10, Netbackup 7.0.5.4 and one StorageTek SL24 LTO4 each one.

* One new Media Server with Windows Server 2008 R2, NetBackup 7.5.0.4 and a StorageTeck SL150 LTO5 with 2 drives.

 

The problem are in the new Tape library backup StorageTek SL150.

I install a new media server, in the server manager of this server I see the two drives are perfects. After, in the master server, I configure the new robot. When add the new robot then i see one drive offline with a problem.I delete all the new configuration in the master server.

Now I use: Configure Storage Devices Wizard for add the tape library and I can see the two drives but i can´t see the new robot.  I want to add the robot again and i can't. The error is:  Robot number is already in use(21)

I find answers in the forum but i can't repair this error.

Attach four prints

Thanks you Guys.

 

 

 

 

Operating Systems:

Comments 9 CommentsJump to latest comment

NBU_nbu's picture

Check the device configuration on all device hosts for configured robots, and specify a robot number that is not already in use. Use the following command to display all devices in the EMM database:

 tpconfig -emm_dev_list

NbU

Walter_AR's picture

HI NBU.

I try to assign other device number and gives me the same error code 22 in 21 see

Correct Robot number:

Captura_4.JPG

Other Robot number:

Captura_5.JPG

Command result:

C:\>tpconfig -emm_dev_list
==============================================================================
Robot:                          ROBOT1
Robot Number:                   1
Robot Type:                     TLD(8)
Media Server:                   med.server_1
Port:                           -1
Bus:                            -1
Target:                         -1
Lun:                            -1
PartiallyConfigured:            0
Pird:                           0
Host:                           -
Apath:                          /dev/sg/c0t0l1
NDMP Attach Host:               -
VMhost:                         master.server
DAhost:                         master.server
SN:                             0937BR0003
Inquiry:                        HP      MSL G3 Series   D.50
WorldWideId:                    -
Old DAhost:                     parsrvbkp
RSM GUID:                       00000000-0000-0000-0000-000000000000
==============================================================================
==============================================================================
Robot:                          ROBOT0
Robot Number:                   0
Robot Type:                     TLD(8)
Media Server:                   med.server_2
Port:                           -1
Bus:                            -1
Target:                         -1
Lun:                            -1
PartiallyConfigured:            0
Pird:                           0
Host:                           -
Apath:                          /dev/sg/c0t0l1
NDMP Attach Host:               -
VMhost:                         master.server
DAhost:                         master.server
SN:                             0937BR0006
Inquiry:                        HP      MSL G3 Series   D.50
WorldWideId:                    -
Old DAhost:                     parsrvbkp
RSM GUID:                       00000000-0000-0000-0000-000000000000
==============================================================================
==============================================================================
Robot:                          ROBOT2
Robot Number:                   2
Robot Type:                     TLD(8)
Media Server:                   new med.server
Port:                           3
Bus:                            0
Target:                         22
Lun:                            1
PartiallyConfigured:            1
Pird:                           0
Host:                           -
Apath:                          -
NDMP Attach Host:               -
VMhost:                         master.server
DAhost:                         master.server
SN:                             464970G+1412SY2319
Inquiry:                        STK     SL150           0201
WorldWideId:                    -
Old DAhost:                     parsrvbkp
RSM GUID:                       00000000-0000-0000-0000-000000000000
==============================================================================
==============================================================================
Drive:                          HP.ULTRIUM4-SCSI.001
Index:                          0
Drive Type:                     hcart(3)
Media Server:                   med.server_1
Occupy Index:                   0
Opr Count:                      0
Status:                         2
Saved Mode Bits:                8192
Access Mode:                    82
Robot Type:                     TLD(8)
Robot Number:                   1
Loc1:                           1
Loc2:                           -1
Loc3:                           -1
Loc4:                           -1
Loc5:                           0
Port:                           -1
Bus:                            -1
Target:                         -1
Lun:                            -1
VH Saved Mode Bits:             0
Flags:                          0
PathFlags:                      0
DeviceFlags:                    0
Time Mounted:                   0
Total Time Mounted:             3913
Cleaning Frequency:             0
Last Time Cleaned:              0
Vendor Device Num:              0
Tape Alert 1:                   0
Tape Alert 2:                   0
Last DA Call Time:              0
Application Type:               0
Drive Path:                     /dev/rmt/2cbn
Volume Header Drive Path:       -
Vendor Drive Name:              -
Current RVSN:                   -
Current EVSN:                   -
Current User:                   -
Operator Comment:               -
SN:                             HU19346HTK
Inquiry Info:                   HP      Ultrium 4-SCSI  U28W
World Wide Id:                  -
NDMP Host:                      -
Scan Host:                      -
Assign Host:                    -
RSM GUID:                       00000000-0000-0000-0000-000000000000
APPL_GUID:                      00000000-0000-0000-0000-000000000000
==============================================================================
==============================================================================
Drive:                          HP.ULTRIUM4-SCSI.000
Index:                          0
Drive Type:                     hcart(3)
Media Server:                   med.server_2
Occupy Index:                   0
Opr Count:                      0
Status:                         2
Saved Mode Bits:                8576
Access Mode:                    82
Robot Type:                     TLD(8)
Robot Number:                   0
Loc1:                           1
Loc2:                           -1
Loc3:                           -1
Loc4:                           -1
Loc5:                           0
Port:                           -1
Bus:                            -1
Target:                         -1
Lun:                            -1
VH Saved Mode Bits:             0
Flags:                          0
PathFlags:                      0
DeviceFlags:                    0
Time Mounted:                   0
Total Time Mounted:             5720
Cleaning Frequency:             0
Last Time Cleaned:              0
Vendor Device Num:              0
Tape Alert 1:                   0
Tape Alert 2:                   0
Last DA Call Time:              0
Application Type:               0
Drive Path:                     /dev/rmt/2cbn
Volume Header Drive Path:       -
Vendor Drive Name:              -
Current RVSN:                   -
Current EVSN:                   -
Current User:                   -
Operator Comment:               -
SN:                             HU19346HTY
Inquiry Info:                   HP      Ultrium 4-SCSI  U28W
World Wide Id:                  -
NDMP Host:                      -
Scan Host:                      -
Assign Host:                    -
RSM GUID:                       00000000-0000-0000-0000-000000000000
APPL_GUID:                      00000000-0000-0000-0000-000000000000
==============================================================================
==============================================================================
Drive:                          new drive_D1
Index:                          0
Drive Type:                     hcart2(10)
Media Server:                   new med.server
Occupy Index:                   0
Opr Count:                      0
Status:                         2
Saved Mode Bits:                0
Access Mode:                    82
Robot Type:                     TLD(8)
Robot Number:                   2
Loc1:                           1
Loc2:                           -1
Loc3:                           -1
Loc4:                           -1
Loc5:                           0
Port:                           3
Bus:                            0
Target:                         22
Lun:                            0
VH Saved Mode Bits:             0
Flags:                          0
PathFlags:                      0
DeviceFlags:                    0
Time Mounted:                   0
Total Time Mounted:             0
Cleaning Frequency:             0
Last Time Cleaned:              0
Vendor Device Num:              0
Tape Alert 1:                   0
Tape Alert 2:                   0
Last DA Call Time:              0
Application Type:               0
Drive Path:                     -
Volume Header Drive Path:       -
Vendor Drive Name:              -
Current RVSN:                   -
Current EVSN:                   -
Current User:                   -
Operator Comment:               -
SN:                             HU14030V5G
Inquiry Info:                   HP      Ultrium 5-SCSI  Z55S
World Wide Id:                  -
NDMP Host:                      -
Scan Host:                      -
Assign Host:                    -
RSM GUID:                       00000000-0000-0000-0000-000000000000
APPL_GUID:                      00000000-0000-0000-0000-000000000000
==============================================================================
==============================================================================
Drive:                          new drive_D2
Index:                          1
Drive Type:                     hcart2(10)
Media Server:                   new med.server
Occupy Index:                   0
Opr Count:                      0
Status:                         2
Saved Mode Bits:                0
Access Mode:                    82
Robot Type:                     TLD(8)
Robot Number:                   2
Loc1:                           2
Loc2:                           -1
Loc3:                           -1
Loc4:                           -1
Loc5:                           0
Port:                           4
Bus:                            0
Target:                         4
Lun:                            0
VH Saved Mode Bits:             0
Flags:                          0
PathFlags:                      0
DeviceFlags:                    0
Time Mounted:                   0
Total Time Mounted:             0
Cleaning Frequency:             0
Last Time Cleaned:              0
Vendor Device Num:              0
Tape Alert 1:                   0
Tape Alert 2:                   0
Last DA Call Time:              0
Application Type:               0
Drive Path:                     -
Volume Header Drive Path:       -
Vendor Drive Name:              -
Current RVSN:                   -
Current EVSN:                   -
Current User:                   -
Operator Comment:               -
SN:                             HU13500DY7
Inquiry Info:                   HP      Ultrium 5-SCSI  Z55S
World Wide Id:                  -
NDMP Host:                      -
Scan Host:                      -
Assign Host:                    -
RSM GUID:                       00000000-0000-0000-0000-000000000000
APPL_GUID:                      00000000-0000-0000-0000-000000000000
==============================================================================
==============================================================================
Master Server:                  master.server
NetBackup Version:              7.5.0.4(750400)
Host OperatingSystem:           11
MachineState:                   ACTIVE-DI
==============================================================================
Media Server:                   med.server_1
NetBackup Version:              7.0.0(700000)
Host OperatingSystem:           2
MachineState:                   ACTIVE
==============================================================================
Media Server:                   med.server_2
NetBackup Version:              7.5.0.4(750400)
Host OperatingSystem:           2
MachineState:                   ACTIVE
==============================================================================
Media Server:                   new med.server
NetBackup Version:              7.5.0.4(750400)
Host OperatingSystem:           11
MachineState:                   ACTIVE
==============================================================================
EMM Server:                     master.server

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

Thank you

 

 

 

 

 

Marianne's picture

Please show us output of the following commands on the new media server:

tpconfig -l

scan

(commands are in <install-path>\veritas\volmgr\bin)

If you are trying to re-add a robot that was previously added, you will need to delete the previously added robot first. Delete the tape drives as well and restart NBU Device Manager service to ensure entries are removed from EMM.

Any reason why you are trying to add devices manually instead of using Device Config wizard?

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Walter_AR's picture

Hi Marianne.

Command result:

C:\Program Files\Veritas\Volmgr\bin>tpconfig -l
Device Robot Drive       Robot                    Drive        Device
Type     Num Index  Type DrNum Status  Comment    Name         Path
robot      2    -    TLD    -       -  -          -            {3,0,22,1}
  drive    -    0 hcart2    1      UP  -          new.drive_D1  {3,0,22,0}
  drive    -    1 hcart2    2      UP  -          new.drive_D2  {4,0,4,0}
 

C:\Program Files\Veritas\Volmgr\bin>scan
********************************************************************
*********************** SDT_TAPE    ****************************
*********************** SDT_CHANGER ************************
********************************************************************
 

Steps:

1- I first install the new robot tape backup.
2- The wizard not acknowledged one drive. This drive are bad connected.
3- I delete that new configuration for add the drive again and see the two drives but i not see the robot.

I first use the device wizard. the device wizard see the robot but its not added. Then now add the tape library manually.

Prints:

Captura_6_0.JPG

Captura_7.JPG

 

Captura_8.JPG

 

Captura_9.JPG

 

Result:

Robot not added

Captura_1_0.JPG

 

Drives good added

Captura_2_0.JPG

 

Thanks Marianne

 

 

Marianne's picture

'scan' on the new media server is not showing any devices? No robot and no tape drives?

Something is wrong here.
Can you see the robot and tape drives in Device Manager?

tpconfig shows that the robot (TLD(2)) and drives have been added, this is why you cannot add the same robot as another number.

Device Config Wizard says the following about the robot:

State - Unconfigured.
Limitations - Yes, see properties

Have you clicked on Properties?

We need to see what the 'Limitations' are reported by the Device Config wizard.

As long as 'scan' do not see the robot or tape drives, do not even try to config devices in NBU.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Walter_AR's picture

1- 'scan' on the new media server is not showing any devices? No robot and no tape drives?

Scan only show : SDT_TAPE   &  SDT_CHANGER

2- Can you see the robot and tape drives in Device Manager?

In Device Manager only see the two news drives.

In my first installation, in device manager I can see the new Robot and one drive, the ohter drive has a problem and it showed gray. I solved this problem changing the SAS cable. Then I delete all because I can´t add the second drive.

Now I can add the two drives but I can´t add the Robot. Is veeeeery rare!!!

 

3- Have you clicked on Properties?

Yes.

Label Robot:

Captura_10.JPG

Label SCSI:

Captura_11.JPG

Last Label:

Captura_12.JPG

 

Thanks

Marianne's picture

Seems your problem is with physical connectivity.

It looks like changing the SAS cable did not solve the problem because the robot (medium changer) is now not seen in Device Manager.

Consult your hardware documentation for SAS card and the library documentation or contact your library support team for assistance.

Only when Device Manager and 'scan' can see the robot and tape drives correctly, proceed with NBU configuration.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Walter_AR's picture

Ok. Now review the physical installation

Thanks.