Veritas-bu

[Veritas-bu] Qualstar 8236 with IBM LTO-2 ( ULTRIUM-TD2 ) Drives under Solaris 9

2003-06-03 10:30:07
Subject: [Veritas-bu] Qualstar 8236 with IBM LTO-2 ( ULTRIUM-TD2 ) Drives under Solaris 9
From: derek.hunt AT yale DOT edu (Hunt, Derek)
Date: Tue, 3 Jun 2003 10:30:07 -0400
Hi all, I have fought for the past few weeks to get this solution to work.
I have seen a few questions on similar hardware in the past, so hopefully
this will be of use to someone in the future.

What is listed below is basically a walkthrough on how to get a Qualstar
8236 robot with two IBM-LTO2 (ULTRIUM-TD2) drives to work under Solaris 9
with Netbackup 4.5FP3 (or GA with MP4). This also contains an st.conf line
for the Sun L40 Unit (for those that are interested).

* My Environment *
Sun 220R w/two 450MHz Ultra Sparc II Procs, 2048MB Ram
two QLA2200  Fibre Channel HBA
Sun L40 (with two Quantum DLT8000 drives) attached via HVD SCSI Card
Qualstar 8236 (with two IBM LTO-2 (Ultrium TD-2) Drives) attached via
Fibre Channel.

Install Solaris from the 04/03 Release.
Download and install the Latest Patch Cluster from 5/30/03.
Download patch 113277-11 from Sun (Adds IBM LTO-2 Native Support).

You can verify IBM Ultrium-TD2 support by typing:
strings /kernel/drv/st | grep -i lto
It should return:
[root@tape /]$ strings /kernel/drv/st | grep -i lto
HP Ultrium LTO 2
HP Ultrium LTO
Seagate Ultrium LTO
IBM Ultrium Gen 2 LTO
IBM Ultrium Gen 2 LTO
IBM Ultrium LTO
IBM Ultrium LTO
[root@tape /]$

Install Qlogic 4.08 Drive for qla2200 HBAs.

Install Qlogic SANblade Control FX. This software allows you to use 
the gui to set persistent binding for each adapter. One adapter has
disk drives attached (SAN Raid Array), the other has the the Qualstar
8236 unit bound to it.

Start SANblade Control fx
/opt/QLogic_Corporation/SANblade/Control_FX/scfx

Go through the wizard and setup persistent binding for each adapter -
Disk Subsystem on one adapter, Tape Subsystem on the other adapter.

Add these entries to the /kernel/drv/st.conf
# Quantum DLT8000 Support
"QUANTUM DLT8000",  "Quantum DLT8000", "DLT8k-data",

# IBM LTO-2 (Ultrium-TD2) Support
"IBM     ULTRIUM-TD2",  "IBM Ultrium-2", "CLASS_LTO2",
"IBM     ULT3580-TD2", "IBM 3580 Ultrium-2", "CLASS_LTO2";

# Quantum DLT8000
DLT8k-data = 1, 0x36,    0, 0x0D639, 4, 0x84, 0x85, 0x88, 0x89, 2;

# LTO-2 (Ultrium-TD2) Support
CLASS_LTO2 = 2,0x3B,0,0x45863d,2,0x40,0x42,0,60,0,540,9060,720,720,9060;


Reboot with: reboot -- -r (to rebuild the kernel).

Put a test LTO-2 tape in each drive and test
the new devices with ufsdump (ufsdump 0f /dev/rmt/(tape dev) /)
Example:
ufsdump 0f /dev/rmt/3cbn /

* Veritas Setup *

Veritas uses the ST driver, but need the SG devices created correctly.

Edit /etc/devlink.tab and remove the entries between:
# begin SCSA Generic devlinks file - creates nodes in /dev/sg

and

# end SCSA devlinks

Next run the following commands to build the correct dev files:

# Remove existing sg devices
rm /dev/sg/*

# Remove current driver
/usr/sbin/rem_drv sg

# Remove the config file
rm -f /kernel/drv/sg.conf

# The qualstar unit sets each drive on its own lun
# Max Targets 15, Max Luns 2 - rebuild both
cd /usr/openv/volmgr/bin/driver ; /usr/openv/volmgr/bin/sg.build sg.links
-mt 15 -ml 2 -sl ./sg.links
cd /usr/openv/volmgr/bin/driver ; /usr/openv/volmgr/bin/sg.build sg.conf -mt
15 -ml 2 -sc ./sg.conf
cd /usr/openv/volmgr/bin/driver ; ./sg.install

Then run /usr/openv/volmgr/bin/sgscan
You should see the new devices. For example:


* Test drive support under Veritas *
Install latest MP or FP+fixes.
Install Latest Mappings (April 7th mappings includes support for Ultrium2
drives).

The Qualstar 8236 is not recognized through configuration, so it needs to be
setup manually.
Setup the Qualstar unit as a TLD (DLT Tape Library) device.

The IBM drives should be auto configured, if not, specify both drives as
HCART2.

Create a new policy.
Click "Allow Multiple Streams"
under the files section create entries with "NEW_STREAM" directives.
Example:
NEW_STREAM
/backup/home
/
NEW_STREAM
/backup/h2
/backup/disk2

This will spawn one stream to one drive, and the other stream to the
remaining drive.

Configure Multiplexing (If needed).

Start a manual backup.

I am receiving around 30MB/sec on each IBM LTO-2 drive.

- Derek

-----------------------------------------------------------------
Derek J. Hunt                   International Center for Finance
Manager Research Computing      Yale School of Management
derek.hunt AT yale DOT edu             135 Prospect Street
203.432.5921                    P.O. Box 208200
203.432.8974 fax                New Haven, CT 06520-8200

<Prev in Thread] Current Thread [Next in Thread>
  • [Veritas-bu] Qualstar 8236 with IBM LTO-2 ( ULTRIUM-TD2 ) Drives under Solaris 9, Hunt, Derek <=