Configure Netbackup Device (Robot & drive) on AIX

Hardware :
Sun Storagetek L40 with SCSI LVD/SE.
2 drive : Seagate LT01 and SDLT 320
SCSI ID : Robotic = 6
Drive 0 = 0
Drive 1 = 1
———

1. run command : lsdev –C –c adapter (to determine the logical indetifier for the SCSI controler)
# lsdev -C -c adapter
ent0 Available 10-80 IBM 10/100 Mbps Ethernet PCI Adapter (23100020)
fda0 Available 01-D1 Standard I/O Diskette Adapter
mg20 Available 10-70 GXT130P Graphics Adapter
paud0 Available 01-Q2 Ultimedia Integrated Audio
ppa0 Available 01-R1 CHRP IEEE1284 (ECP) Parallel Port Adapter
sa0 Available 01-S1 Standard I/O Serial Port
sa1 Available 01-S2 Standard I/O Serial Port
scsi0 Available 10-60 Wide/Fast-20 SCSI I/O Controller (used for CDROM & SCSI Hardisk)
scsi1 Available 10-88 Wide/Ultra-2 SCSI I/O Controller (Tape & robotic)

sioka0 Available 01-K1-00 Keyboard Adapter
siokma0 Available 01-K1 Keyboard/Mouse Adapter
sioma0 Available 01-K1-01 Mouse Adapter
siota0 Available 01-Q1 Tablet Adapter

2. run command : lsdev –C –s scsi (to display the SCSI device files)
# lsdev -C -s scsi
cd0 Available 10-60-00-1,0 16 Bit SCSI Multimedia CD-ROM Drive
hdisk0 Available 10-60-00-9,0 16 Bit LVD SCSI Disk Drive
rmt0 Available 10-88-00-0,0 Other SCSI Tape Drive
rmt1 Available 10-88-00-1,0 Other SCSI Tape Drive

Note:
Detected two drives, but robotic didn’t detected.

3. to detect robot, run this command :
#cd /usr/openv/volmgr/bin/driver
#./install_ovpass {to install the SCSI passthru driver}

Then run:
#mkdev -c media_changer -s scsi -t ovpass -p controller -w id,lun

Where:
◆ controller is the logical identifier of the drive’s SCSI adaptor, such as scsi0, scsi1 or vscsi1.
◆ id is the SCSI ID of the robotic connection.
◆ scsi_id is the fibre channel identifier for the N_Port address (D_ID) of the robotic connection.
◆ lun is the logical unit number of the robotic connection.

Example:
# mkdev -c media_changer -s scsi -t ovpass -p scsi1 -w 6,0

4. run command : lsdev –C –s scsi (to display the SCSI device files)
# lsdev -C -s scsi
cd0 Available 10-60-00-1,0 16 Bit SCSI Multimedia CD-ROM Drive
hdisk0 Available 10-60-00-9,0 16 Bit LVD SCSI Disk Drive
ovpass0 Available 10-88-6,0 VERITAS Media Changer {SCSI device driver for robotic}
rmt0 Available 10-88-00-0,0 Other SCSI Tape Drive {SCSI device driver for drive0)
rmt1 Available 10-88-00-1,0 Other SCSI Tape Drive {SCSI device driver for drive1)

5. make sure with the performing command: ./scan from /usr/openv/volmgr/bin/
#cd /usr/openv/volmgr/bin
# ./scan
************************************************************
*********************** SDT_TAPE ************************
*********************** SDT_CHANGER ************************
*********************** SDT_OPTICAL ************************
************************************************************
————————————————————
Device Name : “/dev/rmt0.1”
Passthru Name: “/dev/rmt0.1”
Volume Header: “”
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : “SEAGATE ULTRIUM06242-XXX1619”
Vendor ID : “SEAGATE ”
Product ID : “ULTRIUM06242-XXX”
Product Rev: “1619”
Serial Number: “xxx”
WWN : “SEAGATE ULTRIUM06242-XXX ”
WWN Id Type : 1
Device Identifier: “SEAGATE ULTRIUM06242-XXX”
Device Type : SDT_TAPE
NetBackup Drive Type: 3
Removable : Yes
Device Supports: SCSI-3
Flags : 0x4
Reason: 0x0
————————————————————
Device Name : “/dev/rmt1.1”
Passthru Name: “/dev/rmt1.1”
Volume Header: “”
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : “QUANTUM SDLT320 5E5E”
Vendor ID : “QUANTUM ”
Product ID : “SDLT320 ”
Product Rev: “5E5E”
Serial Number: “xxx”
WWN : “QUANTUM SDLT320 xxx”
WWN Id Type : 1
Device Identifier: “QUANTUM SDLT320 xxx ”
Device Type : SDT_TAPE
NetBackup Drive Type: 11
Removable : Yes
Device Supports: SCSI-2
Flags : 0x4
Reason: 0x0
————————————————————
Device Name : “/dev/ovpass0”
Passthru Name: “/dev/ovpass0”
Volume Header: “”
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : “STK L40 xxx”
Vendor ID : “STK ”
Product ID : “L40 ”
Product Rev: “0215”
Serial Number: “LLC0220xxx”
WWN : “”
WWN Id Type : 0
Device Identifier: “”
Device Type : SDT_CHANGER
NetBackup Robot Type: 8
Removable : Yes
Device Supports: SCSI-3
Number of Drives : 0
Number of Slots : 0
Number of Media Access Ports: 0
Flags : 0x0
Reason: 0x0
# lsdev -C -s scsi
cd0 Available 10-60-00-1,0 16 Bit SCSI Multimedia CD-ROM Drive
hdisk0 Available 10-60-00-9,0 16 Bit LVD SCSI Disk Drive
ovpass0 Available 10-88-6,0 VERITAS Media Changer
rmt0 Available 10-88-00-0,0 Other SCSI Tape Drive
rmt1 Available 10-88-00-1,0 Other SCSI Tape Drive
# lsdev -C -c adapter
ent0 Available 10-80 IBM 10/100 Mbps Ethernet PCI Adapter (23100020)
fda0 Available 01-D1 Standard I/O Diskette Adapter
mg20 Available 10-70 GXT130P Graphics Adapter
paud0 Available 01-Q2 Ultimedia Integrated Audio
ppa0 Available 01-R1 CHRP IEEE1284 (ECP) Parallel Port Adapter
sa0 Available 01-S1 Standard I/O Serial Port
sa1 Available 01-S2 Standard I/O Serial Port
scsi0 Available 10-60 Wide/Fast-20 SCSI I/O Controller
scsi1 Available 10-88 Wide/Ultra-2 SCSI I/O Controller
sioka0 Available 01-K1-00 Keyboard Adapter
siokma0 Available 01-K1 Keyboard/Mouse Adapter
sioma0 Available 01-K1-01 Mouse Adapter
siota0 Available 01-Q1 Tablet Adapter
#

6. ALL DETECTED NOW!!
To ensure the driver device files are accessible after each system boot, the following command should be placed in the systemstartup script:
/usr/openv/volmgr/bin/driver/mkdev_ovpass

7. If u get an error, maybe there caused by the SCSI connection.
to remove the SCSI passthru driver, run : ./remove_ovpass from /usr/openv/volmgr/bin/driver

4 responses to “Configure Netbackup Device (Robot & drive) on AIX

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s