Video Screencast Help

Netbackup can't see robot erorr 202

Created: 29 Oct 2013 | 14 comments

Hello,

I'm trying to add a 2nd tape libary, a Oracle SL150. I doing this on to two different networks. The GUI can see Robotic Path but not the Robot Control Host. The Robet also shows up as not enabled. I'm guessing that I'm missing a setting somewhere.

Ohter info:
Drive one has a bridged connection with the SL150 libary
 

Out put of some commands I ran on the 2nd media server

sudo tpconfig -d

Id  DriveName           Type   Residence

      Drive Path                                                       Status

****************************************************************************

0   HP.ULTRIUM5-SCSI.008 hcart3 TLD(1)  DRIVE=5

      /dev/rmt/4cbn                                                    DOWN

1   HP.ULTRIUM5-SCSI.009 hcart3 TLD(1)  DRIVE=1

      /dev/rmt/5cbn                                                    DOWN

2   HP.ULTRIUM5-SCSI.010 hcart3 TLD(1)  DRIVE=6

      /dev/rmt/2cbn                                                    UP

3   HP.ULTRIUM5-SCSI.011 hcart3 TLD(1)  DRIVE=4

      /dev/rmt/1cbn                                                    DOWN

4   HP.ULTRIUM5-SCSI.012 hcart3 TLD(1)  DRIVE=2

      /dev/rmt/0cbn                                                    UP

5   HP.ULTRIUM5-SCSI.013 hcart3 TLD(1)  DRIVE=3

      /dev/rmt/3cbn                                                    DOWN

 

Currently defined robotics are:

  TLD(1)     robotic path = /dev/sg/c0tw500104f000d1600al1

 

EMM Server = Master-2

 

sudo tpconfig -l

Device Robot Drive       Robot                    Drive                 Device         Second

Type     Num Index  Type DrNum Status  Comment    Name                  Path           Device Path

robot      1    -    TLD    -       -  -          -                     /dev/sg/c0tw500104f000d1600al1

  drive    -    0 hcart3    5    DOWN  -          HP.ULTRIUM5-SCSI.008  /dev/rmt/4cbn

  drive    -    1 hcart3    1    DOWN  -          HP.ULTRIUM5-SCSI.009  /dev/rmt/5cbn

  drive    -    2 hcart3    6      UP  -          HP.ULTRIUM5-SCSI.010  /dev/rmt/2cbn

  drive    -    3 hcart3    4    DOWN  -          HP.ULTRIUM5-SCSI.011  /dev/rmt/1cbn

  drive    -    4 hcart3    2      UP  -          HP.ULTRIUM5-SCSI.012  /dev/rmt/0cbn

  drive    -    5 hcart3    3    DOWN  -          HP.ULTRIUM5-SCSI.013  /dev/rmt/3cbn

 

sudo tpautoconf -t

TPAC60 HP      Ultrium 5-SCSI  Y5BS HU1331WR67 -1 -1 -1 -1 /dev/rmt/4cbn - -

TPAC60 HP      Ultrium 5-SCSI  Y5BS HU1331WR4P -1 -1 -1 -1 /dev/rmt/5cbn - -

TPAC60 HP      Ultrium 5-SCSI  Y5BS HU1243RY1G -1 -1 -1 -1 /dev/rmt/2cbn - -

TPAC60 HP      Ultrium 5-SCSI  Y5BS HU1331WR5A -1 -1 -1 -1 /dev/rmt/1cbn - -

TPAC60 HP      Ultrium 5-SCSI  Y5BS HU1331WR6K -1 -1 -1 -1 /dev/rmt/0cbn - -

TPAC60 HP      Ultrium 5-SCSI  Y5BS HU1331WR65 -1 -1 -1 -1 /dev/rmt/3cbn - -

 

Any help would be great.

Operating Systems:

Comments 14 CommentsJump to latest comment

cyberninja's picture

I have now brough up some of the drives

 

tpconfig -l

Device Robot Drive       Robot                    Drive                 Device         Second

Type     Num Index  Type DrNum Status  Comment    Name                  Path           Device Path

robot      1    -    TLD    -       -  -          -                     /dev/sg/c0tw500104f000d1600al1

  drive    -    0 hcart3    5      UP  -          HP.ULTRIUM5-SCSI.008  /dev/rmt/4cbn

  drive    -    1 hcart3    1      UP  -          HP.ULTRIUM5-SCSI.009  /dev/rmt/5cbn

  drive    -    2 hcart3    6      UP  -          HP.ULTRIUM5-SCSI.010  /dev/rmt/2cbn

  drive    -    3 hcart3    4      UP  -          HP.ULTRIUM5-SCSI.011  /dev/rmt/1cbn

  drive    -    4 hcart3    2      UP  -          HP.ULTRIUM5-SCSI.012  /dev/rmt/0cbn

  drive    -    5 hcart3    3      UP  -          HP.ULTRIUM5-SCSI.013  /dev/rmt/3cbn

revaroo's picture

Is this the correct robot or are you missing a different robot?

robot      1    -    TLD    -       -  -          -                     /dev/sg/c0tw500104f000d1600al1

 

If so, run robtest, select the robot and then run "s d" to see if it's able to communicate with drives, if so not sure what the issue is here.

cyberninja's picture

Thanks for replying.

In NetBackup I get an 202 error when I Try to inventory the tapes in the library. The robot you listed is the right one, NetBackup can't seam to use it. I think I missed something in the setup process.

revaroo's picture

Have you tried robtest as mentioned?

How about the output of scan -changer  (which is in /usr/openv/volmgr/bin for unix and %install_path%\veritas\volmgr\bin on Windows

cyberninja's picture

Here is the output

scan -changer

************************************************************
*********************** SDT_CHANGER ************************

************************************************************

 

Marianne's picture

Please show us output of :

/usr/openv/volmgr/bin/sgscan

/usr/openv/volmgr/bin/scan

Your OS is listed as Solaris - is this SPARC or x86?

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

cyberninja's picture

The media server is a SPARC server. The master server is x86.

When I ran the sgscan all command all looked good to me. I will post the results when I get into work tomorrow. I'm not familiar with the scan command, Li will post that output as well.

cyberninja's picture

Out of the commands you asked me to run

sudo sgscan

#

#WARNING: detected StorEdge Network Foundation connected devices not in

#         SG configuration file:

#

#    Device World Wide Port Name 500a0983883a7b72

#    Device World Wide Port Name 500a0983983a7b72

#    Device World Wide Port Name 500a0984883a7b72

#    Device World Wide Port Name 500a0984983a7b72

#

#    See /usr/openv/volmgr/NetBackup_DeviceConfig_Guide.txt chapter

#    "Special configuration for "Sun StorEdge Network Foundation" HBA/Driver"

#    for information on how to use sg.build and sg.install to

#    configure these devices

#

 

/dev/sg/c0tw500104f000d1600al0: Tape (/dev/rmt/5): "HP      Ultrium 5-SCSI"

/dev/sg/c0tw500104f000d1600al1: Changer: "STK     SL150"

/dev/sg/c0tw500104f000d1600dl0: Tape (/dev/rmt/0): "HP      Ultrium 5-SCSI"

/dev/sg/c0tw500104f000d16010l0: Tape (/dev/rmt/3): "HP      Ultrium 5-SCSI"

/dev/sg/c0tw500104f000d16013l0: Tape (/dev/rmt/1): "HP      Ultrium 5-SCSI"

/dev/sg/c0tw500104f000d16016l0: Tape (/dev/rmt/4): "HP      Ultrium 5-SCSI"

/dev/sg/c0tw500104f000d16019l0: Tape (/dev/rmt/2): "HP      Ultrium 5-SCSI"

 

scan

************************************************************

*********************** SDT_TAPE    ************************

*********************** SDT_CHANGER ************************

************************************************************

 

Marianne's picture

I find it weird that scan does not show any output, put sgscan does.

I notice that you ran 'sudo sgscan'. Please do the same for 'scan'.

Please show output for 'cfgadm -al' as well. 

 

PS: Have you seen this TN? 
http://www.symantec.com/docs/TECH38927

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

cyberninja's picture

This the output of the commands

sudo cfgadm -al

Ap_Id                          Type         Receptacle   Occupant     Condition

c1                             scsi-sas     connected    configured   unknown

c1::dsk/c1t6d0                 CD-ROM       connected    configured   unknown

c3                             fc           connected    unconfigured unknown

c4                             fc           connected    unconfigured unknown

c5                             scsi-sas     connected    configured   unknown

c5::w5000cca0220f3961,0        disk-path    connected    configured   unknown

c6                             scsi-sas     connected    unconfigured unknown

c7                             fc           connected    unconfigured unknown

c8                             fc           connected    unconfigured unknown

c9                             fc-fabric    connected    configured   unknown

c9::500a0984883a7b72           disk         connected    configured   unknown

c9::500a0984983a7b72           disk         connected    configured   unknown

c10                            fc-fabric    connected    configured   unknown

c10::500a0983883a7b72          disk         connected    configured   unknown

c10::500a0983983a7b72          disk         connected    configured   unknown

c11                            scsi-sas     connected    configured   unknown

c11::w5000cca0221ae92d,0       disk-path    connected    configured   unknown

c12                            scsi-sas     connected    unconfigured unknown

c13                            fc-fabric    connected    configured   unknown

c13::500104f000d1600d          tape         connected    configured   unknown

c13::500104f000d16013          tape         connected    configured   unknown

c13::500104f000d16019          tape         connected    configured   unknown

c14                            fc-fabric    connected    configured   unknown

c14::500104f000d1600a          tape         connected    configured   unknown

c14::500104f000d16010          tape         connected    configured   unknown

c14::500104f000d16016          tape         connected    configured   unknown

usb0/1                         unknown      empty        unconfigured ok

usb0/2                         unknown      empty        unconfigured ok

usb0/3                         unknown      empty        unconfigured ok

usb1/1                         unknown      empty        unconfigured ok

usb1/2                         unknown      empty        unconfigured ok

usb2/1                         unknown      empty        unconfigured ok

usb2/2                         usb-hub      connected    configured   ok

usb2/2.1                       unknown      empty        unconfigured ok

usb2/2.2                       unknown      empty        unconfigured ok

usb2/2.3                       usb-hub      connected    configured   ok

usb2/2.3.1                     unknown      empty        unconfigured ok

usb2/2.3.2                     usb-storage  connected    configured   ok

usb2/2.3.3                     usb-communi  connected    configured   ok

usb2/2.4                       usb-device   connected    configured   ok

usb2/3                         unknown      empty        unconfigured ok

usb2/4                         usb-hub      connected    configured   ok

usb2/4.1                       unknown      empty        unconfigured ok

usb2/4.2                       unknown      empty        unconfigured ok

usb2/4.3                       unknown      empty        unconfigured ok

usb2/4.4                       unknown      empty        unconfigured ok

usb2/5                         unknown      empty        unconfigured ok

 

sudo scan

************************************************************

*********************** SDT_TAPE    ************************

*********************** SDT_CHANGER ************************

************************************************************

------------------------------------------------------------

Device Name  : "/dev/rmt/4cbn"

Passthru Name: "/dev/sg/c0tw500104f000d16016l0"

Volume Header: ""

Port: -1; Bus: -1; Target: -1; LUN: -1

Inquiry    : "HP      Ultrium 5-SCSI  Y5BS"

Vendor ID  : "HP      "

Product ID : "Ultrium 5-SCSI  "

Product Rev: "Y5BS"

Serial Number: "HU1331WR67"

WWN          : ""

WWN Id Type  : 0

Device Identifier: ""

Device Type    : SDT_TAPE

NetBackup Drive Type: 10

Removable      : Yes

Device Supports: SCSI-6

Flags : 0x0

Reason: 0x0

------------------------------------------------------------

Device Name  : "/dev/rmt/5cbn"

Passthru Name: "/dev/sg/c0tw500104f000d1600al0"

Volume Header: ""

Port: -1; Bus: -1; Target: -1; LUN: -1

Inquiry    : "HP      Ultrium 5-SCSI  Y5BS"

Vendor ID  : "HP      "

Product ID : "Ultrium 5-SCSI  "

Product Rev: "Y5BS"

Serial Number: "HU1331WR4P"

WWN          : ""

WWN Id Type  : 0

Device Identifier: ""

Device Type    : SDT_TAPE

NetBackup Drive Type: 10

Removable      : Yes

Device Supports: SCSI-6

Flags : 0x0

Reason: 0x0

------------------------------------------------------------

Device Name  : "/dev/rmt/2cbn"

Passthru Name: "/dev/sg/c0tw500104f000d16019l0"

Volume Header: ""

Port: -1; Bus: -1; Target: -1; LUN: -1

Inquiry    : "HP      Ultrium 5-SCSI  Y5BS"

Vendor ID  : "HP      "

Product ID : "Ultrium 5-SCSI  "

Product Rev: "Y5BS"

Serial Number: "HU1243RY1G"

WWN          : ""

WWN Id Type  : 0

Device Identifier: ""

Device Type    : SDT_TAPE

NetBackup Drive Type: 10

Removable      : Yes

Device Supports: SCSI-6

Flags : 0x0

Reason: 0x0

------------------------------------------------------------

Device Name  : "/dev/rmt/1cbn"

Passthru Name: "/dev/sg/c0tw500104f000d16013l0"

Volume Header: ""

Port: -1; Bus: -1; Target: -1; LUN: -1

Inquiry    : "HP      Ultrium 5-SCSI  Y5BS"

Vendor ID  : "HP      "

Product ID : "Ultrium 5-SCSI  "

Product Rev: "Y5BS"

Serial Number: "HU1331WR5A"

WWN          : ""

WWN Id Type  : 0

Device Identifier: ""

Device Type    : SDT_TAPE

NetBackup Drive Type: 10

Removable      : Yes

Device Supports: SCSI-6

Flags : 0x0

Reason: 0x0

------------------------------------------------------------

Device Name  : "/dev/rmt/0cbn"

Passthru Name: "/dev/sg/c0tw500104f000d1600dl0"

Volume Header: ""

Port: -1; Bus: -1; Target: -1; LUN: -1

Inquiry    : "HP      Ultrium 5-SCSI  Y5BS"

Vendor ID  : "HP      "

Product ID : "Ultrium 5-SCSI  "

Product Rev: "Y5BS"

Serial Number: "HU1331WR6K"

WWN          : ""

WWN Id Type  : 0

Device Identifier: ""

Device Type    : SDT_TAPE

NetBackup Drive Type: 10

Removable      : Yes

Device Supports: SCSI-6

Flags : 0x0

Reason: 0x0

------------------------------------------------------------

Device Name  : "/dev/sg/c0tw500104f000d1600al1"

Passthru Name: "/dev/sg/c0tw500104f000d1600al1"

Volume Header: ""

Port: -1; Bus: -1; Target: -1; LUN: -1

Inquiry    : "STK     SL150           0200"

Vendor ID  : "STK     "

Product ID : "SL150           "

Product Rev: "0200"

Serial Number: "464970G+1336SY1459"

WWN          : ""

WWN Id Type  : 0

Device Identifier: "STK     SL150           464970G+1336SY1459"

Device Type    : SDT_CHANGER

NetBackup Robot Type: 8

Removable      : Yes

Device Supports: SCSI-5

Number of Drives : 8

Number of Slots  : 119

Number of Media Access Ports: 4

Drive 1 Serial Number      : "HU1331WR4P"

Drive 2 Serial Number      : "HU1331WR6K"

Drive 3 Serial Number      : "HU1331WR65"

Drive 4 Serial Number      : "HU1331WR5A"

Drive 5 Serial Number      : "HU1331WR67"

Drive 6 Serial Number      : "HU1243RY1G"

Drive 7 Serial Number      : ""

Drive 8 Serial Number      : ""

Flags : 0x0

Reason: 0x0

------------------------------------------------------------

Device Name  : "/dev/rmt/3cbn"

Passthru Name: "/dev/sg/c0tw500104f000d16010l0"

Volume Header: ""

Port: -1; Bus: -1; Target: -1; LUN: -1

Inquiry    : "HP      Ultrium 5-SCSI  Y5BS"

Vendor ID  : "HP      "

Product ID : "Ultrium 5-SCSI  "

Product Rev: "Y5BS"

Serial Number: "HU1331WR65"

WWN          : ""

WWN Id Type  : 0

Device Identifier: ""

Device Type    : SDT_TAPE

NetBackup Drive Type: 10

Removable      : Yes

Device Supports: SCSI-6

Flags : 0x0

Reason: 0x0

 

cyberninja's picture

On both networks the tapes are now being seen.

I don't why but on network one the tapes are being seen. On the second network the tape library was on an offline state for some reason. So I put the library back to an online status.

Marianne's picture

What do you mean with 'network one' and 'second network'?
Are you referring to Storage Area Network (SAN)?
Is everything working fine now?

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

cyberninja's picture

At work we have more then one computer network. I had this issue on two different networks. These networks are not connected to each other in any way.

We do have NetApp for our SANs. We backups to the SAN, then we do a vault job, which writes to tape.

Yeah, everything is working now.

Thanks for your help.