MediaMgr DeviceConfig Guide
MediaMgr DeviceConfig Guide
N15280C
September 2005
Disclaimer
The information contained in this publication is subject to change without notice. VERITAS Software
Corporation makes no warranty of any kind with regard to this manual, including, but not limited to,
the implied warranties of merchantability and fitness for a particular purpose. VERITAS Software
Corporation shall not be liable for errors contained herein or for incidental or consequential damages
in connection with the furnishing, performance, or use of this manual.
Third-Party Copyrights
For a list of third-party copyrights, see the NetBackup Release Notes appendix.
ii NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Getting Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x
Configuration Cautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
iii
Configuring Third-Party Fibre Channel HBA Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Enabling locate-block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Disabling locate-block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Solaris Patches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Command Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
iv NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring SCSI Robotic Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Automatic Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Automatic Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Command Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Contents
v
Configuring Device Files for the spt Passthru Driver . . . . . . . . . . . . . . . . . . . . . 60
Automatic Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Enabling locate-block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Disabling locate-block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Using the Configure Storage Devices Wizard with Optical Disk Drives . . . . . 69
Command Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
vi NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Device-Specific Entry for HP Ultrium 460 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Command Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Improving Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
Command Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
Contents vii
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
viii
NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Preface
This guide contains configuration information for adding storage peripherals (devices) to
NetBackup media servers or SAN media servers controlled by Media Manager
(NetBackup master servers can also be media servers).
NetBackup (includes Media Manager) can be installed on UNIX or Windows servers. See
the NetBackup release notes for information on the supported UNIX and Windows server
platforms.
Media Manager is the component of VERITAS NetBackupTM and VERITAS Storage
MigratorTM that is used to configure and manage media, drives, and robots that are used to
store and retrieve your backup data.
The intended audience for this guide is the system administrator responsible for adding
the storage peripherals to media servers, and it assumes a thorough knowledge of UNIX
and Windows system and device configuration.
ix
How To Use This Guide
Getting Help
You can find answers to questions and get help from the NetBackup documentation and
from the VERITAS technical support web site.
x NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Getting Help
Note Telephone support for NetBackup is only available with a valid support
contract. To contact VERITAS for technical support, dial the appropriate phone
number listed on the Technical Support Guide included in the product box and
have your product license information ready for quick navigation to the proper
support group.
Preface xi
Accessibility Features
a. From the main http://support.veritas.com page, click the E-mail Support icon.
A wizard guides you to do the following:
◆ Select a language of your preference
Accessibility Features
NetBackup contains features that make the user interface easier to use by people who are
visually impaired and by people who have limited dexterity. Accessibility features
include:
◆ Support for assistive technologies such as screen readers and voice input (Windows
servers only)
◆ Support for keyboard (mouseless) navigation using accelerator keys and mnemonic
keys
For more information, see the NetBackup Installation Guide.
xii NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Comment on the Documentation
Please only use this address to comment on product documentation. See “Getting Help”
in this preface for information on how to contact Technical Support about our software.
Preface xiii
Comment on the Documentation
xiv NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Using This Guide 1
Before You Start Configuring Devices
Observe the following important points before using this guide to configure media
servers or SAN media servers, and devices.
1
Before You Start Configuring Devices
◆ To minimize configuration errors, you can cut/paste configuration details from the
text version of this configuration guide. The formatting of this text file is similar, but is
not identical to the printed version of the guide. Be sure to review the differences as
explained at the beginning of the text file.
This file is installed with NetBackup Media Manager software in the following UNIX
path:
/usr/openv/volmgr/MediaMgr_DeviceConfig_Guide.txt.
This file is installed with NetBackup Media Manager software in the following
Windows path:
\program files\VERITAS\volmgr\MediaMgr_DeviceConfig_Guide.txt.
2 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
General Device Configuration Sequence
1. Physically connect the storage devices to the media server and perform any hardware
configuration steps specified by the device or operating system vendor.
See the appropriate chapter of this guide for your media server or SAN media server
platform.
2. For NetBackup to recognize and communicate with the connected devices, and for
device discovery to discover devices, NetBackup issues SCSI pass-thru commands to
the devices.
The server platforms supported by NetBackup as servers may require special
operating system configuration changes. This may include changes needed for device
discovery and other configuration requirements for devices to be recognized.
Create any required system device files for the drives and robotic control. Device files
are created automatically on Windows and on some UNIX platforms.
See the appropriate chapter of this guide for your media server or SAN media server
platform.
3. Use one of the available Media Manager configuration interfaces to add the storage
devices to your Media Manager configuration.
See the VERITAS NetBackup Media Manager System Administrator’s Guide for UNIX and
Linux or the VERITAS NetBackup Media Manager System Administrator’s Guide for
Windows for instructions.
Configuration Cautions
Observe the following cautions:
◆ Starting with release 4.5, NetBackup uses SCSI reserve/release to improve data
integrity. SCSI reserve/release operates at the SCSI target level and depends on the
fibre-to-scsi bridge hardware working correctly.
The use of SCSI reserve/release is enabled by default, but can be disabled using the
NetBackup Administration Console configuration GUI. See the Reference Topics
appendix of the VERITAS NetBackup Media Manager System Administrator’s Guide for
UNIX and Linux or the VERITAS NetBackup Media Manager System Administrator’s
Guide for Windows for information about the NetBackup use of SCSI reserve/release.
◆ VERITAS does not recommend or support the use of single-ended to differential SCSI
converters on Media Manager controlled devices. You may encounter problems if you
use these converters.
4 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Sun Solaris 2
This chapter explains how to configure storage devices for use with Media Manager
running on a Solaris platform.
After configuring the hardware, use one of the available Media Manager configuration
interfaces to add the drives and robots to your Media Manager configuration
The major topics included are as follows:
◆ “Before You Start” on page 6
5
Before You Start
Observe the following points when performing the configurations described in this
chapter:
◆ The VERITAS support web site (http://www.support.veritas.com) contains server
platform compatibility information for a number of vendors and products (see the
NetBackup Product > Compatibility area of the site). Verify that your server platform
is supported before configuring devices.
◆ For NetBackup to recognize and communicate with connected devices, and for device
discovery to discover devices, NetBackup issues SCSI pass-thru commands to the
devices in a configuration.
Devices must have device files, which are links to character-special files with naming
conventions that are driver and HBA-dependent. NetBackup installs its own
pass-through driver called SG (SCSI Generic).
This driver must be properly configured to create device files for any device used by
NetBackup, or performance and functionality is limited. Each tape or optical disk
drive device also has a device file that is created for use by the system tape/disk
driver interface, which must exist for all read or write I/O capability.
Device files must exist that follow the naming conventions explained in “Configuring
Robotic Controls” on page 13, “Configuring Tape Drives” on page 16, and
“Configuring Optical Disk Drives” on page 23.
◆ Use mt and /usr/openv/volmgr/bin/sgscan to verify that the devices are
configured correctly. Make sure you can “see” your devices on the SAN before you
install and configure the SSO option.
◆ When configuring devices, you should attach all peripherals and reboot the system
with the reconfigure option (boot -r or reboot -- -r).
◆ When removing or replacing adapter cards, remove all device files previously
associated with the adapter card.
◆ If you use the Automated Cartridge System (ACS) robotic software, you must ensure
that the SunOS/BSD Source Compatibility Package is installed, so that the ACS
software can make use of shared libraries in /usr/ucblib.
◆ Sun systems with parallel SCSI HBA’s cannot use sixteen byte commands on any
device attached to these HBA’s. WORM media is not supported with these HBA’s for
either LTO-3 or SDLT drives. To override this rule, run:
touch /usr/openv/volmgr/database/SIXTEEN_BYTE__CDB
6 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Preventing Possible System Problems
When system memory is limited, Solaris unloads unused drivers from memory and
reloads drivers as needed. Tape drivers are a frequent candidate for unloading, since they
tend to be less heavily used than disk drivers. Depending on the timing of these unload
and load events for the st (Sun), sg (VERITAS), and fibre channel drivers, various
problems may result. These problems can range from devices “disappearing” from a SCSI
bus to system panics.
VERITAS recommends adding the following forceload statements to the
/etc/system file. These statements prevent the st and sg drivers from being unloaded
from memory.
forceload: drv/st
forceload: drv/sg
Other statements may be necessary for various fibre channel drivers, such as the
following example for JNI drivers. This statement prevents the named driver from being
unloaded from memory.
forceload: drv/fcaw
Note Since NetBackup uses its own passthru driver, the Solaris sgen scsi passthru driver
is not supported.
The SCSI passthru driver and SCSI passthru device paths are required by NetBackup for
full feature support. Performance will be degraded if SCSI passthru is not provided. The
passthru driver is used
◆ By avrd and robotic processes to scan drives.
Once the driver has been installed, it is not necessary to reboot the system or run
the sg.install command during or after each system boot.
8 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring SG and ST Drivers
▼ To configure drivers
1. Execute the sg.build script to add target IDs 0-6, 8-15, and LUNs 0-1 to the
following files:
/usr/openv/volmgr/bin/driver/st.conf
/usr/openv/volmgr/bin/driver/sg.conf
/usr/openv/volmgr/bin/driver/sg.links
cd /usr/openv/volmgr/bin/driver
The -mt 15 parameter specifies the maximum target ID that is in use on any SCSI
bus (or bound to a fibre channel device).
The -ml 1 parameter specifies the maximum target LUN that is in use on any SCSI
bus (or by a fibre channel device).
target=0 lun=0;
name="st" class="scsi"
target=1 lun=0;
name="st" class="scsi"
target=2 lun=0;
name="st" class="scsi"
target=3 lun=0;
name="st" class="scsi"
target=4 lun=0;
name="st" class="scsi"
target=5 lun=0;
name="st" class="scsi"
target=6 lun=0;
c. Reboot the system with the reconfigure option (boot -r or reboot -- -r).
d. Verify that the system created device nodes for all the tape devices using the
following command: ls -l /dev/rmt/*cbn
10 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring SG and ST Drivers
type=ddi_pseudo;name=sg;addr=0,0; sg/c\N0t0l0
type=ddi_pseudo;name=sg;addr=0,1; sg/c\N0t0l0
type=ddi_pseudo;name=sg;addr=1,0; sg/c\N0t1l0
type=ddi_pseudo;name=sg;addr=1,1; sg/c\N0t1l1
type=ddi_pseudo;name=sg;addr=2,0; sg/c\N0t2l0
type=ddi_pseudo;name=sg;addr=2,1; sg/c\N0t2l1
type=ddi_pseudo;name=sg;addr=3,0; sg/c\N0t3l0
type=ddi_pseudo;name=sg;addr=3,1; sg/c\N0t3l1
type=ddi_pseudo;name=sg;addr=4,0; sg/c\N0t4l0
type=ddi_pseudo;name=sg;addr=4,1; sg/c\N0t4l1
type=ddi_pseudo;name=sg;addr=5,0; sg/c\N0t5l0
type=ddi_pseudo;name=sg;addr=5,1; sg/c\N0t5l1
type=ddi_pseudo;name=sg;addr=6,0; sg/c\N0t6l0
type=ddi_pseudo;name=sg;addr=6,1; sg/c\N0t6l1
type=ddi_pseudo;name=sg;addr=8,0; sg/c\N0t8l0
type=ddi_pseudo;name=sg;addr=8,1; sg/c\N0t8l1
type=ddi_pseudo;name=sg;addr=9,0; sg/c\N0t9l0
type=ddi_pseudo;name=sg;addr=9,1; sg/c\N0t9l1
type=ddi_pseudo;name=sg;addr=a,0; sg/c\N0t10l0
type=ddi_pseudo;name=sg;addr=a,1; sg/c\N0t10l1
type=ddi_pseudo;name=sg;addr=b,0; sg/c\N0t11l0
type=ddi_pseudo;name=sg;addr=b,1; sg/c\N0t11l1
type=ddi_pseudo;name=sg;addr=c,0; sg/c\N0t12l0
type=ddi_pseudo;name=sg;addr=c,1; sg/c\N0t12l1
type=ddi_pseudo;name=sg;addr=d,0; sg/c\N0t13l0
type=ddi_pseudo;name=sg;addr=d,1; sg/c\N0t13l1
type=ddi_pseudo;name=sg;addr=e,0; sg/c\N0t14l0
type=ddi_pseudo;name=sg;addr=e,1; sg/c\N0t14l1
type=ddi_pseudo;name=sg;addr=f,0; sg/c\N0t15l0
type=ddi_pseudo;name=sg;addr=f,1; sg/c\N0t15l1
Caution The field separator between the fields addr=x, y; and sg/ is a tab. The addr=
field uses hexadecimal notation, while the sg/ field uses decimal values.
/usr/openv/volmgr/bin/driver/sg.install
6. Verify that the sg driver found all the robots, tape drives, and optical disk drives (see
the appropriate hardware configuration sections in this chapter for instructions).
type=ddi_pseudo;name=sg;addr=w22000090a50001c8,1; sg/c\N0t\A1l1
Note Each time a new device is added or an old device removed, re-create and re-install
the new sg configuration (see “Configuring SG and ST Drivers” on page 9).
in sg configuration file:
#
# Device World Wide Port Name 21000090a50001c8
#
# See /usr/openv/volmgr/MediaMgr_DeviceConfig_Guide.txt topic
# "Configuring the Sun StorEdge Network Foundation HBA/Driver"
# for information on how to use sg.build and sg.install
# to configure these devices
12 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring Robotic Controls
The binding process is vendor and product unique. Please refer to the documentation
available for your specific HBA.
The binding may be based on the fibre channel World Wide name of the port (WWPN) or
the node (WWNN), or the destination ID (AL-PA or fabric assigned).
Once the selected binding is in place, the configuration proceeds in the same manner as
for parallel SCSI installations (see “Configuring SG and ST Drivers” on page 9).
Note Each time a new device is added or an old device removed, the binding must be
updated to the new configuration.
◆ Configuration of network controlled robotic libraries (for example, ACS robot types)
is discussed in the appendices of the VERITAS NetBackup Media Manager System
Administrator’s Guide for UNIX and Linux or the VERITAS NetBackup Media Manager
System Administrator’s Guide for Windows.
Note You must install the sg driver before continuing with the instructions in this topic
(see “Configuring SG and ST Drivers” on page 9 for details).
To display the device files that are available to be used through the sg driver, use the
sgscan command with the all parameter and note the lines that indicate changer
devices (robotic libraries), as in the following example:
# /usr/openv/volmgr/bin/sgscan all
Note Specific device types can be filtered from the output using other forms of sgscan.
Usage: sgscan [all|basic|changer|disk|tape] [conf] [-v]
Example 1
Using the previous sgscan output, if the SCSI robotic control for an Exabyte 210 is SCSI
ID 5 of adapter 1, use the following path:
/dev/sg/c1t5l0
Example 2
Using the previous sgscan output, if the SCSI robotic control for a Sony library is SCSI ID
3 of adapter 6, use the following path:
/dev/sg/c6t3l0
14 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring Robotic Controls
Example 3
Using the previous sgscan output, if the SCSI robotic control for an STK 9710 is SCSI ID
6 of adapter 8 and you want to use TLD robotics, use the following path:
/dev/sg/c8t6l0
Example 4
If the SCSI robotic control for a DLT2700, DLT4700, or HP C1560B was SCSI ID 5 of
adapter 0, use the following path:
/dev/sg/c0t5l1
Note that logical unit number 1 is used for those devices. The sg driver configuration can
be modified so sgscan lists LUN 1 devices. In the sample sgscan output the
configuration was not modified.
Example 5
Using the previous sgscan output, even if the SCSI robotic control for an STK 9740 is
SCSI ID 3 of adapter 8, you would not enter any path to configure ACS robotic control.
Instead, assuming ACS control over the network, enter the appropriate ACSLS Host
name. If you want to use TLD robotics to control the 9740, specify the following path:
/dev/sg/c8t3l0
If drive 1 is SCSI ID 5, the robotic control for the robotic library is /dev/sg/c1t5l1.
If the drive is SCSI ID 0, the robotic control for the stacker is /dev/sg/c1t0l1.
16 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring Tape Drives
Enabling locate-block
NetBackup and Storage Migrator use the locate-block command by default if you did
not uninstall the sg passthru driver. This uninstall procedure is explained in
“Understanding the SCSI Passthru Drivers” on page 7. The driver is automatically
installed with Media Manager.
Disabling locate-block
VERITAS recommends that you do not disable locate-block positioning. If you need to
disable locate-block positioning, execute the following command:
touch /usr/openv/volmgr/database/NO_LOCATEBLOCK
Note All device types can be displayed in the output using the all parameter with
sgscan. This command can be helpful for associating tape devices with other SCSI
devices that may be configured on the same adapter. Usage: sgscan
[all|basic|changer|disk|tape] [conf] [-v]
No rewind on close device files are in the /dev/rmt directory, and have the following
format:
/dev/rmt/LOGICAL_DRIVE cbn
Where:
◆ LOGICAL_DRIVE is the logical drive id, as shown by the sgscan command.
◆ c indicates compression.
◆ b indicates Berkeley-style close.
◆ n indicates no rewind on close.
Example 1
Using the sgscan output, if an Exabyte 8505C drive is SCSI ID 2 of adapter 1, the device
path you use follows:
/dev/rmt/7cbn
Example 2
Using the sgscan output, if a DLT7000 drive is SCSI ID 5 of adapter 2, the device path
you use follows:
/dev/rmt/11cbn
18 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring Tape Drives
Solaris Patches
Some drives (for example, Quantum SDLT600) require Solaris patches for support. In
these cases VERITAS lists the required patches for the drive on the VERITAS support web
site (http://www.support.veritas.com). Device and library compatibility information for
a number of vendors and products is available (see the NetBackup Product >
Compatibility area of the site).
Caution As shown by the st.conf entries, you must configure non-QIC tape drives as
variable-mode devices, if they are to be used by Media Manager. Otherwise
NetBackup is able to write data, but may not be able to read it correctly. During
a read, you may see a “not in tar format” error.
If you were to omit four of the spaces in the vendor name as shown in the following
example, the drive would not be recognized correctly. The incorrect vendor name
used would be HP + 2 spaces + C153.
"HP C1533A",
◆ The best way to ensure that your entries are accurate is to copy them from the
MediaMgr_DeviceConfig_Guide.txt file into the st.conf file.
See “Considerations When Using This Guide” on page 1.
◆ After making any changes, verification with a test backup and restore should be done.
Incorrect entries in this file may result in data loss.
20 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring Tape Drives
Caution Note in the list of data-property-names that the third parameter (variable
mode) must be zero. Not using zero causes restores to fail and may result in
data loss (the first entry, ARCHIVE_VIP, is the only exception and is 512).
ARCHIVE_VIP = 1,0x32,512,0x163a,4,0x0,0x0,0x0,0x0,3;
BM-DLT = 1,0x38,0,0x18639,4,0x40,0x40,0x40,0x40,3;
CLASS_3580 = 1,0x24,0,0x45863d,2,0x00,0x01,0;
CLASS_3590 = 1,0x24,0,0x1c63d,4,0x0,0x0,0x0,0x0,3;
CLASS_3592 = 1,0x24,0,0x45D639,2,0x00,0x51,0;
CLASS_LTO2 = 1,0x24,0,0x45863d,2,0x00,0x01,0;
CLASS_STK = 1,0x36,0,0x1d639,1,0x00,0;
DEC-DLT = 1,0x36,0,0x9639,4,0x0,0x0,0x0,0x0,3;
DLT8k-data = 1,0x38,0,0x19639,4,0x1a,0x1b,0x41,0x41,3;
EXB-8500C = 1,0x35,0,0x9639,4,0x14,0x15,0x8C,0x00,3;
EXB-8505 = 1,0x35,0,0x9639,4,0x14,0x15,0x8C,0x00,3;
EXB-8500 = 1,0x35,0,0x9639,4,0x14,0x00,0x00,0x15,2;
EXB-8900 = 1,0x35,0,0x9639,4,0x27,0x27,0x27,0x00,3;
EXB-MAMMOTH2 = 1,0x35,0,0x19639,4,0,0x27,0x28,0x7f,2;
FJ-D3 = 1,0x21,0,0xCA19,4,0x09,0x09,0x09,0x09,0;
FJ-M8100 = 1,0x24,0,0x1d63d,4,0x0,0x0,0x0,0x0,3;
gy20-data = 1,0x36,0,0xd659,1,0x00,0;
gy2120-data = 1,0x36,0,0x19659,1,0x00,0;
HP-DAT = 1,0x34,0,0x9639,4,0x0,0x0,0x0,0x0,3;
HP-DAT-DDS3 = 1,0x34,0,0,0x9639,4,0x0,0x8c,0x8c,0x8c,3;
HP_DAT_4 = 1,0x34,0,0x9639,4,0x00,0x8c,0x8c,0x8c,1;
IBM-3590 = 1,0x24,0,0x1c63d,4,0x0,0x0,0x0,0x0,3;
Q-DLT7000 = 1,0x38,0,0x19639,4,0x82,0x83,0x84,0x85,3;
SDLT-data = 1,0x38,0,0x19639,4,0x90,0x91,0x90,0x91,3;
SDLT-320 = 1,0x38,0,0x19639,4,0x92,0x93,0x92,0x93,3;
SDLT320 = 1,0x38,0,0x8639,4,0x90,0x91,0x92,0x93,3;
SDLT-600 = 1,0x38,0,0x19639,4,0x00,0x00,0x00,0x00,3;
SEAGATE_LTO = 1,0x36,0,0x1d639,4,0x00,0x00,0x00,0x00,1;
SONY_AIT = 1,0x36,0,0x9639,4,0x0,0x0,0x0,0x0,0;
SONY_AIT3 = 1,0x36,0,0xd679,4,0x00,0x00,0x00,0x00,0;
SONY_SAIT = 1,0x36,0,0x1d639,4,0x00,0x00,0x00,0x00,0;
STK-4781 = 1,0x24,0,0x1d43d,1,0x00,0;
STK-4791 = 1,0x24,0,0x1d67d,1,0x00,0;
STK-4890 = 1,0x24,0,0x1d67d,1,0x00,0;
STK-9840 = 1,0x36,0,0x1d639,1,0x00,0;
STK-SD-3 = 1,0x24,0,0x1d67d,1,0x00,0;
TAND-8G-VAR = 1,0x37,0,0x963b,4,0xa0,0xd0,0xd0,0xd0,3;
Ultrium = 1,0x36,0,0x19639,4,0x00,0x00,0x00,0x00,3;
ULTRIUM2 = 1,0x36,0,0xd639,4,0x40,0x00,0x00,0x00,3;
Note Reboot the system when you have finished changing the st.conf file. Use the
reconfigure option (boot -r or reboot -- -r) to allow the kernel’s SCSI tape (st)
driver to recognize the drives as the correct type during system initialization.
22 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring Optical Disk Drives
To display the disk device files that are configured on your system, use the sgscan
command with the disk parameter:
# /usr/openv/volmgr/bin/sgscan disk
Note All device types can be displayed using the all parameter when executing
sgscan. This command can be helpful for associating disk devices with other SCSI
devices that may be configured on the same adapter. Usage: sgscan
[all|basic|changer|disk|tape] [conf] [-v]
Optical disk device files are located in the /dev directory and have the following formats.
Volume header device:
/dev/rdsk/cADAPTERtTARGETd0s0
Character device:
/dev/rdsk/cADAPTERtTARGETd0s6
Where:
◆ ADAPTER is the logical adapter number as shown in the sgscan output.
◆ TARGET is the SCSI ID.
Example 1
Using the previous sample sgscan output, if the desired optical disk drive connects to
SCSI ID 5 of adapter card 0, you would use the following device paths:
Volume header device:
/dev/rdsk/c0t5d0s0
Character device:
/dev/rdsk/c0t5d0s6
24 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring Optical Disk Drives
Example 2
Using the previous sample sgscan output, if the desired optical disk drive connects to
SCSI ID 0 of S bus 1 adapter card 1, you would use the following device paths:
Volume header device:
/dev/rdsk/c1t0d0s0
Character device:
/dev/rdsk/c1t0d0s6
1. Install the sg loadable driver, if it is not already installed. See “Configuring SG and ST
Drivers” on page 9 for information on installing this driver.
2. Use the scsi_command command to change the device type (stored in the drive’s
nonvolatile memory) from optical memory to disk. The format of the command
follows.
/usr/openv/volmgr/bin/scsi_command -d /dev/sg/sg_id -disk
sg_id is the logical identifier assigned to the optical disk drive for use by the sg driver.
See “Configuring SCSI Robotic Controls” on page 13 for information on determining
the logical identifier.
Note The /dev path allows Media Manager to access the optical disk drive through the
sg driver. This is an exception to the usual case where Media Manager uses the sg
driver to access robotic controls. Therefore be sure to specify the SCSI ID for the
optical disk drive, not the SCSI ID for the robotic control.
3. Reboot the system with the reconfigure option (boot -r or reboot -- -r) to allow
the drive to be recognized as a disk drive by the kernel’s SCSI disk (sd) driver during
system initialization.
Command Summary
The following is a summary of commands that may be useful when configuring and
verifying devices. See the procedures in this chapter for examples of their usage.
/usr/sbin/modinfo | grep sg
Uninstalls the sg driver. This command is usually not necessary, since sg.install
does this before performing a driver update.
/usr/openv/volmgr/bin/sg.build all -mt max_target -ml max_lun
Updates st.conf, sg.conf, and sg.links, and generates SCSI Target IDs with
multiple LUNs.
/usr/openv/volmgr/bin/sgscan all
Scans all connected devices with a SCSI inquiry and provides correlation between
physical and logical devices using all device files in /dev/sg.
Also checks for devices connected to the Sun StorEdge Network Foundation HBA that
are not configured for use by VERITAS products.
/usr/openv/volmgr/bin/scsi_command -d /dev/sg/sg_id -disk
Changes the device type (stored in the drive’s nonvolatile memory) from optical
memory to disk.
sg_id is the logical identifier assigned to the optical disk drive for use by the sg driver.
See “Configuring SCSI Robotic Controls” on page 13 for information on determining
the logical identifier.
boot -r or reboot -- -r
Reboot the system with the reconfigure option (-r) to allow a drive to be recognized
as a disk drive during system initialization by the kernel’s SCSI disk (sd) driver.
26 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
IBM AIX 3
This chapter explains how to configure storage devices for use with Media Manager
running on an IBM AIX system.
After configuring the hardware, use one of the available Media Manager configuration
interfaces to add the drives and robots to your Media Manager configuration
The major topics included are as follows:
◆ “Before You Start” on page 28
27
Before You Start
Observe the following points when performing the configurations described in this
chapter:
◆ The VERITAS support web site (http://www.support.veritas.com) contains server
platform compatibility information for a number of vendors and products (see the
NetBackup Product > Compatibility area of the site). Verify that your server platform
is supported before configuring devices.
◆ Attach all peripherals and reboot the system before configuring devices. Many of
these steps may be accomplished using smit (the System Management Interface
Tool). See the smit(1) man page for more information.
◆ For NetBackup to recognize and communicate with connected devices, and for device
discovery to discover devices, NetBackup issues SCSI pass-thru commands to the
devices in a configuration.
The ovpass driver must be properly configured for SCSI-controlled robot discovery,
and device files must exist that follow the naming conventions explained in
“Configuring Robotic Controls” on page 31, “Configuring Tape Drives” on page 38,
and “Configuring Optical Disk Drives” on page 45.
◆ Use smit and /usr/sbin/lsdev to verify that the devices are configured correctly.
Make sure you can “see” your devices on the SAN before you install and configure
the SSO option.
◆ To obtain error and debugging information about devices and robotic software
daemons, the syslogd daemon must be configured to be active. See syslogd(1) for
more information.
28 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
RS6000 AIX Adapter Number Conventions
The first digit of BB identifies the I/O bus containing the adapter card. If the card is in the
CPU drawer or system unit, this digit will be 0 for the standard I/O bus or 1 for the
optional I/O bus. If the card is in an I/O expansion drawer, this digit is 0. The second
digit identifies the slot number on the indicated I/O bus (or slot number in the I/O
expansion drawer) that contains the card.
A location code of 00-00 is used to identify the Standard I/O Planar.
Examples
00-05 identifies an adapter card that is in slot 5 of the standard I/O bus in either the CPU
drawer or system unit, depending on the type of system.
00-12 identifies an adapter card that is in slot 2 of the optional I/O bus in the CPU
drawer.
18-05 identifies an adapter card located in slot 5 of an I/O expansion drawer. The
drawer is the one connected to the asynchronous expansion adapter located in slot 8 of the
optional I/O bus in the CPU drawer.
❖ Enter:/usr/openv/volmgr/bin/driver/install_ovpass
30 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring Robotic Controls
▼ To ensure the driver device files are accessible after a system boot
❖ Enter: /usr/openv/volmgr/bin/driver/remove_ovpass
Some versions of Media Manager before release 4.5 used a version of the passthru driver
that did not support FCP SCSI controllers.
Caution Any device files (/dev/ovpassn) will be removed and must be re-created.
/usr/openv/volmgr/bin/driver/remove_ovpass
/usr/openv/volmgr/bin/driver/install_ovpass
◆ Configuration for network controlled robotic libraries (for example, ACS robots) is
discussed in the appendices of the VERITAS NetBackup Media Manager System
Administrator’s Guide for UNIX and Linux or the VERITAS NetBackup Media Manager
System Administrator’s Guide for Windows.
1. Install the SCSI passthru driver as explained in “The SCSI Passthru Driver (ovpass)”
on page 30.
2. Display which SCSI controllers are physically available on your machine by using the
following command:
/usr/sbin/lsdev -C | grep I/O
In the following sample output, SCSI controller 1 (01) has been assigned the logical
identifier scsi0:
scsi0 Available 00-01 SCSI I/O Controller
In the following sample output, FCP SCSI controller 3A-08 has been assigned the
logical identifier fscsi0:
fscsi0 Available 3A-08-01 FC SCSI I/O Controller Protocol Device
3. Display the SCSI device files that have already been created by using the following
command:
/usr/sbin/lsdev -C -s scsi
This output shows that two disk drives and one tape drive are configured as follows:
◆ hdisk0 is a disk drive at controller 1 (01) and SCSI ID 0 (0,0)
32 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring Robotic Controls
4. Display the FCP SCSI device files that have already been created by using the
following command:
/usr/sbin/lsdev -C -s fcp
5. If device files for the desired robotic control SCSI ID do not exist, create the files using
the following commands.
Note If you get an error (mkdev error code 0514-0520) while trying to configure a FCP
SCSI device, review the topic “Upgrading The SCSI Passthru Driver” on page 31.
-w scsi_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.
Several methods exist for determining the D_ID of the robot as follows:
◆ Inspect the name server for the switch (if available). Each vendor uses a unique
method to make this information available. Consult the documentation for the
switch vendor.
◆ Inspect the bridge for mapping information (if available). Each vendor uses a
unique method to make this information available. Consult the documentation
for the bridge vendor.
◆ Inspect the odm database for any tape devices in the robot using the following
command:
/usr/bin/odmget -q "name=rmtX" CuAt
Where rmtX is the name of the tape device (for example: rmt0 or rmt1).
The following output shows that rmt0 is at SCSI ID 0x1009ef and the robot might
also be at this address:
CuAt:
name = "rmt0"
attribute = "scsi_id"
value = "0x1009ef"
type = "R"
generic = "DU"
rep = "s"
nls_index = 6
◆ Use the smc (Library Medium Changer) entry for the robot to determine the
correct SCSI ID and lun values. Inspect the lsdev output from step 4 and look for
an entry like the following:
smc0 Available 14-08-01 IBM 3584 Library Medium Changer
(FCP)
If you see an entry for the robot, inspect the odm database using the following
command:
/usr/bin/odmget -q "name=smc0" CuAt
CuAt:
name = "smc0"
attribute = "scsi_id"
value = "0x111ca"
type = "R"
generic = "DU"
rep = "s"
nls_index = 25
CuAt:
name = "smc0"
attribute = "lun_id"
value = "0x1000000000000"
type = "R"
generic = "DU"
rep = "s"
nls_index = 26
From the example output, the SCSI ID is 0x111ca and the lun is 1. The lun is
derived from the lun ID, by right shifting it 48 bits.
34 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring Robotic Controls
Note Note that the smc device file only exists for IBM robots using the Atape driver. If
smc0 device files exist for SCSI-connected IBM silos, remove the smc0 device files
to allow for the use of ovpass0 files. See the VERITAS support site for a tech note
with instructions for removing the smc0 files. The headline of the tech note is
“Install_ovpass script does not appear to work upon AIX reboot”.
6. Display the newly created logical identifier for the device by using one of the
following commands:
/usr/sbin/lsdev -C -s scsi
/usr/sbin/lsdev -C -s fcp
In the following example output, ovpass0 is a SCSI robotic control device file:
hdisk0 Available 00-01-00-0,0 400 MB SCSI Disk Drive
The path name for these types of device files has the following form, where ovpass_id
is the logical identifier assigned to the device.
/dev/ovpass_id
In this example, you would use the following device file path:
/dev/ovpass0
Example 1
For this example, assume this robot is a LUN 0 controlled robot. The ovpass driver has
been installed and the desired SCSI robotic controller is controller 1 at SCSI ID 5, but the
device files do not exist.
The following output shows that scsi0 is the logical name for SCSI controller 1.
scsi0 Available 00-01 SCSI I/O Controller
The output shows that the device files exist for tape and disk, but not for the SCSI
robotic control at controller 1 (scsi0) and SCSI ID 5 (5,0).
hdisk0 Available 00-01-00-0,0 400 MB SCSI Disk Drive
For this example use the following device file path to configure the SCSI robotic
control connected to controller 1 and SCSI ID 5:
/dev/ovpass0
Example 2
For this example, assume this robot is a LUN 1 controlled robot, rather than LUN 0. The
ovpass driver has been installed, but the device files for SCSI robotic control at controller
1 with SCSI ID 3 and logical unit number 1 do not exist.
The following output shows that scsi0 is the logical name for SCSI controller 1:
scsi0 Available 00-01 SCSI I/O Controller
3. The device files can now be created using the following command:
mkdev -c media_changer -t ovpass -s scsi -p scsi0 -w 3,1
36 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring Robotic Controls
For this example, the device file to use for the TSD SCSI robotic control connected at
controller 1 with SCSI ID 3 and logical unit number 1 would be:
/dev/ovpass0
Example 3
Assume the robot and drives are connected to a SCSI adapter and the passthru driver has
been installed. Assume the drives are at SCSI ID's 4 and 5, and the robotics is at SCSI ID 6.
lsdev -C -c tape
2. The drives are on Adapter 00-04-01. Therefore, vscsi1 is the correct adapter for
making the ovpass device file as follows:
mkdev -c media_changer -t ovpass -s scsi -p vscsi1 -w 6,0
If this is the case, the host system which is connected to Drive 1 must also have the robotic
control. Also, the library should be in RANDOM mode and BASE configuration. See the
operator's guide supplied with the unit for information on setting library mode and
configuration.
Assume a configuration as follows:
lsdev -C -c tape
If drive 1 is SCSI ID 5, the robotic control for the robotic library will be LUN 1 of this SCSI
ID. Assuming vscsi1 is the correct adapter, make the passthru device (ovpass) as follows:
mkdev -c media_changer -t ovpass -s scsi -p vscsi1 -w 5,1
1. Display the SCSI tape devices configured in the system using the following command:
/usr/sbin/lsdev -C -c tape
2. The SCSI robotic path for the IBM 3590 is the same as the no rewind on close tape
path. When configuring the TSH SCSI robotic path, the robotic control path for the
3590 would be /dev/rmt12.1. The tape drive path would also be /dev/rmt12.1.
38 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring Tape Drives
Automatic Configuration
When a non-QIC tape drive is configured using NetBackup, NetBackup will
automatically issue the chdev command to configure the drive as a variable length block
device. It is normally not necessary to manually run the chdev command, but the details
of the command issued by NetBackup are provided (see “Using the chdev Command” on
page 39).
Where Dev is the logical identifier for the drive (for example: rmt0 or rmt1).
Automatic Configuration
When a tape drive is configured using NetBackup, NetBackup will automatically issue the
chdev command to configure the drive to use extended file marks. It is normally not
necessary to manually run the chdev command, but the details of the command issued by
NetBackup are provided (see “Using the chdev Command” on page 40).
Where Dev is the logical identifier for the drive (for example: rmt0 or rmt1)
forward-space-file/record method.
1. Display which SCSI controllers are physically available by using the lsdev command
as follows:
/usr/sbin/lsdev -C | grep I/O
40 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring Tape Drives
This sample output shows that SCSI controller 1 (00-01) has been assigned the
logical identifier scsi0.
scsi0 Available 00-01 SCSI I/O Controller
2. Display the SCSI device files that have already been created by using one of the
following commands:
/usr/sbin/lsdev -C -s scsi
/usr/sbin/lsdev -C -s fcp
This example output shows that two disk drives and one tape drive exist as follows:
◆ hdisk0 is a disk drive at controller 1 (00-01) and SCSI ID 0 (0,0)
3. If the device files for the SCSI ID of the desired tape drive do not exist, create them
using the following command:
/usr/sbin/mkdev -c tape -s scsi -t ost -p controller -w id,lun
Where:
◆ controller is the logical identifier of the SCSI adapter for the device, such as scsi0
or scsi1.
◆ id is the SCSI ID of the drive connection.
You can display the newly created logical identifier for the device by using the lsdev
command.
/usr/sbin/lsdev -C -s scsi
4. If the device files do not exist on a FCP controller, use the following command to
create them, where device is the controller number from step 1 on page 40. For
example, fscsi0.
/usr/sbin/cfgmgr -l device
5. Ensure that the device being used is configured for variable-mode and extended file
marks as required by Media Manager by using the chdev command as follows,
where Dev is the logical identifier for the drive (for example: rmt0 or rmt1).
/usr/sbin/chdev -l Dev -a block_size=0
The following output shows that some device files exist for tape and disk, but not for
the 8-mm tape drive at controller 1 (scsi0) and SCSI ID 5 (5,0):
hdisk0 Available 00-01-00-0,0 400 MB SCSI Disk Drive
42 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring Tape Drives
/usr/sbin/lsdev -C -s scsi
5. To ensure that the tape device is configured for variable-mode and extended file
marks, use the following commands:
chdev -l rmt1 -a block_size=0
Enter the following device file path to configure the 8-mm drive connected to
controller 1 and SCSI ID 5:
/dev/rmt1.1
Where:
◆ tapedev is the logical identifier for the drive, such as rmt0 or rmt1.
To use density setting 1, use the following no rewind on close device file:
/dev/rmt*.1
To use density setting 2, use the following no rewind on close device file:
/dev/rmt*.5
Switch Setting
SWA-1 1
SWA-2 0
SWA-3 0
SWA-4 0
SWA-5 0
SWA-6 0
SWA-7 1
SWA-8 0
44 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring Optical Disk Drives
Note To use HP optical disk drives, the system must recognize the optical drives as disk
drives at system boot time. If you are adding HP 1.2 gigabyte or equivalent model
magneto-optical disk drives to an AIX system, the system may not recognize them
as disk drives, and thus cannot use them. See “Setting the HP Optical Drive Type in
Nonvolatile Memory” on page 48 for information on correcting this condition.
1. Display which SCSI controllers are physically available on your machine by using the
following lsdev command:
/usr/sbin/lsdev -C -c adapter | grep SCSI
This sample output shows that SCSI controller 1 (00-01) has been assigned the
logical identifier scsi0.
scsi0 Available 00-01 SCSI I/O Controller
2. Display the SCSI device files that have already been created by using the following
lsdev command:
/usr/sbin/lsdev -C -s scsi
The following example output shows that two disk drives and one tape drive exist:
◆ hdisk0 is a disk drive at controller 1 (00-01) and SCSI ID 0 (0,0)
If the device files for the SCSI optical disk drives exist, they show up in the output as
hdisk0, hdisk1, and so on.
hdisk0 Available 00-01-00-0,0 400 MB SCSI Disk Drive
/dev/rhdisk0
3. If the device files for the desired optical drive’s SCSI ID do not exist, you can create
them with the following command:
mkdev -c disk -s scsi -t osdisk -p controller -w id,lun
Where:
◆ controller is the logical identifier of the device’s SCSI adapter, such as scsi0 or
scsi1.
◆ id is the SCSI ID of the drive connection.
4. You can display the newly-created logical identifier for the device by using the
following command:
/usr/sbin/lsdev -C -s scsi
The device files for hdisk2 have been created and you can now use them.
46 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring Optical Disk Drives
The output shows that scsi0 is the logical name for SCSI controller 1.
scsi0 Available 00-01 SCSI I/O Controller
3. Create device files for the optical disk drive on controller 1 at SCSI ID 5 by using the
following command:
mkdev -c disk -t osdisk -s scsi -p scsi0 -w 5,0
5. Enter the following character device file path to configure the optical disk drive
connected to controller 1 and SCSI ID 5:
/dev/rhdisk2
2. If you see the appropriate controller and SCSI ID combination for the optical drive
listed as Other SCSI Disk Drive, the system recognizes the drive as a disk drive.
hdisk0 Available 00-00-0S-0,0 2.2 GB SCSI Disk Drive
1. Install the ovpass driver if it is not already installed. See “The SCSI Passthru Driver
(ovpass)” on page 30.
2. Create the ovpass device file for the optical drive so that the driver can be used to
communicate with the optical drive.
a. Display the SCSI device files that have already been created by using the
following command: /usr/sbin/lsdev -C -s scsi
48 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring Optical Disk Drives
The following example output shows that a disk drive, a tape drive, an optical
drive, and SCSI robotic control are configured:
◆ hdisk0 is a disk drive at controller 1 (00) and SCSI ID 0 (0,0)
◆ ovpass0 refers to the SCSI robotic control for controller 1 (00) and SCSI ID 2
(2,0)
Drive
b. Create the device files for the optical drive by using the following command:
mkdev -c media_changer -s scsi -t ovpass -p controller
-w id,lun
Where:
controller is the logical identifier of the drive’s SCSI adapter, such as scsi0 or scsi1.
For example:
Use the following command to obtain the logical identifier for the optical drive
you just created:
/usr/sbin/lsdev -C -s scsi
3. Use the following command to change the device type (stored in the drive’s
nonvolatile memory) from optical memory to disk. The format of the command is as
follows, where ovpass_id is the logical identifier assigned to the device.
/usr/openv/volmgr/bin/scsi_command -d /dev/ovpass_id -disk
For example:
/usr/openv/volmgr/bin/scsi_command -d /dev/ovpass1 -disk
4. Remove the ovpass device files and the optical drive that were created by using
rmdev command as in the following:
rmdev -l ovpass_id -d
rmdev -l optical_drive_id -d
Where:
◆ ovpass_id is the logical identifier assigned to the device.
◆ optical_drive_id is the optical drive identifier assigned to the optical drive.
For example:
rmdev -l ovpass1 -d
rmdev -l omd0 -d
5. Reboot the system to allow the drive to be recognized as a disk drive by the kernel’s
SCSI disk driver during system initialization.
The optical drive should be displayed as: hdisklogical_number, where logical_number
is the logical number assigned to the drive by the system.
For example:
/usr/sbin/lsdev -C -s scsi
The following example output shows a disk drive, tape drive, robotic control, and
optical drive:
hdisk0 Available 00-00-0S-0,0 2.2 GB SCSI Disk Drive
50 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Command Summary
Command Summary
The following is a summary of commands that may be useful when configuring devices.
See the procedures in this chapter for examples of their usage.
/usr/openv/volmgr/bin/driver/install_ovpass
Place this command in the system startup script to ensure that the ovpass driver
device files are accessible after each system boot.
/usr/sbin/lsdev -C | grep I/O
Displays the device files that have been created, where filetype defines the type of file
displayed. scsi displays SCSI files and fcp displays fibre channel files.
mkdev -c media_changer -s scsi -t ovpass -p controller -w id,lun
Creates device files for the robotic control fibre channel SCSI ID.
Where controller is the logical identifier of the drive SCSI adaptor (such as scsi0 or
scsi1), scsi_id is the fibre channel SCSI ID of the robotic connection, and lun is the
logical unit number of the robotic connection.
mkdev -c disk -s scsi -t osdisk -p controller -w id,lun
Configures the drive with logical identifier specified by dev (for example: rmt0) to
variable mode.
/usr/sbin/chdev -l dev -a extfm=yes
Configures the drive with logical identifier specified by dev (for example: rmt0) for
extended file marks.
/usr/openv/volmgr/bin/scsi_command -d /dev/ovpass_id -disk
Used for HP optical disk drives to change the device type (stored in the drive’s
nonvolatile memory) from optical memory to disk.
Where ovpass_id is the logical identifier assigned to the device.
/etc/lsattr -l dev -E -H
Displays device information, where dev is the name of the device (for example, rmt1).
/usr/sbin/cfgmgr -l device
Creates device files on a FCP controller, where device is the controller number (for
example, fscsi0).
/usr/bin/odmget -q "name=rmtX" CuAt
Displays the device attributes for the device (rmtX). This command can be used to
determine SCSI target and lun pairs when configuring fibre channel devices.
Where rmtX is the name of the tape device (for example: rmt0 or rmt1).
52 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Hewlett-Packard HP-UX 4
This chapter explains how to configure storage devices for use with Media Manager
running on an HP-UX system.
After configuring the hardware, use one of the available Media Manager configuration
interfaces to add the drives and robots to your Media Manager configuration
The major topics included are as follows:
◆ “Before You Start” on page 54
◆ “Handling Errors when More Than 10 NetBackup Jobs are Active” on page 69
53
Before You Start
Observe the following points when performing the configurations described in this
chapter:
◆ The VERITAS support web site (http://www.support.veritas.com) contains server
platform compatibility information for a number of vendors and products (see the
NetBackup Product > Compatibility area of the site). Verify that your server platform
is supported before configuring devices.
◆ For NetBackup to recognize and communicate with connected devices and for device
discovery to discover devices, NetBackup issues SCSI pass-thru commands to the
devices in a configuration.
Device files must exist that follow the naming conventions explained in “Configuring
Robotic Controls” on page 55, “Configuring Tape Drives” on page 62, and
“Configuring Optical Disk Drives” on page 68.
◆ Use /usr/sbin/sam (HP utility) and ioscan -f to verify that the devices are
configured correctly. Make sure you can “see” your devices on the SAN before you
install and configure the SSO option.
◆ Some HP SCSI adapters do not support SCSI pass-thru, so devices on these adapters
are not auto-discovered.
54 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring Robotic Controls
Examples
To determine the type of interface on your system, use the ioscan -f command as
shown in the following examples.
====================================================================
================================================================
Interface
In this case, the ext_bus entry (which designates the bus adapter) specifies a scsi1
driver. You would configure the spt passthru driver for the SCSI robotic controls on this
system (see “Configuring Device Files for the spt Passthru Driver” on page 60).
Note You do not have to reconfigure the HP-UX kernel to use the sctl passthru driver
on HP9000-700 systems, since the generic SCSI driver is part of basic HP-UX.
56 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring Robotic Controls
If the devices do not exist, you can create device files by using the mknod command as
follows. See the scsi_ctl(7) man page.
mkdir /dev/sctl
cd /dev/sctl
Where:
◆ CONTROLLER is the Instance number of the controlling bus. The Instance value is
displayed in ioscan -f output under column I of the controller entry (ext_bus in
the Class column).
◆ TARGET is the SCSI ID of the robotic control.
◆ II are two hexadecimal digits that identify the controlling bus interface card by its
Instance number (same as controller).
◆ T is one hexadecimal digit representing the SCSI ID.
===================================================================
The Class, I, and Driver columns may also have invalid information. In these instances
the robotics are correct, but ioscan returns invalid information.
1. Use the ioscan -f command to get information on the SCSI bus and the robotic
control.
Class I H/W Path Driver S/W State H/W Type Description
=================================================================
2. The commands to create the device files follow. See the “Command Summary” on
page 70 for the mknod command format or see the scsi_ctl(7) man page.
cd /dev/sctl
This creates the following device files, which you specify to Media Manager during
configuration of the ADIC robotic control and IBM robotic control respectively:
/dev/sctl/c7t2l0
/dev/sctl/c7t3l0
Note It is important to also create the passthru driver device files for tape drives. See
“Configuring Tape Drives” on page 62.
58 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring Robotic Controls
Example 2
Assume the robotic control for an Exabyte 10i tape stacker (TS8) is on a built-in SCSI bus
at SCSI ID 3, LUN 0. Also assume that an ioscan -f verifies that the SCSI ID is 3 and
shows that the Instance number for the robot’s SCSI bus is 1.
The commands to create the device file are
cd /dev/sctl
This creates the following device file, which you specify to Media Manager:
/dev/sctl/c1t3l0
Example 3
1. Use the ioscan -f command to get information on the SCSI bus and the robotic
control.
Class I H/W Path Driver S/W State H/W Type Description
==================================================================
2. The commands to create the device file for the robotic control are as follows:
cd /dev/sctl
These commands create the following device file, which you specify to Media
Manager during configuration of the robotic control:
/dev/sctl/c3t1l0
3. The commands to create the passthru device file for the tape drive follow. See the
“Command Summary” on page 70 for the mknod command format or see the
scsi_ctl(7) man page.
cd /dev/sctl
Although the passthru device file is used during NetBackup operation, it is not
specified during configuration. During Media Manager tape drive configuration, the
following no rewind on close device file path is used:
/dev/rmt/c3t0d0BESTnb
Note The HP-UX kernel has to be configured to use the spt SCSI passthru driver. Refer
to the HP-UX scsi_pt (7) man page.
The device files for the spt driver have the following format:
/dev/spt/cCONTROLLERtTARGETlUNIT
Where:
◆ CONTROLLER is the Instance number of the controlling bus. The Instance value is
displayed in the output of ioscan -f in the column labeled I of the controller’s
entry (ext_bus in the column labeled Class).
◆ TARGET is the SCSI ID of the robotic control.
◆ UNIT is the SCSI logical unit number (LUN) of the robot. This is usually 0.
You must create the device files for the spt driver manually, as they are not created
automatically when the system boots.
2. Determine the character major number of the spt driver using lsdev -d spt.
60 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring Robotic Controls
3. Use the following commands to create the device file for the SCSI robotic control:
mkdir /dev/spt
Where:
◆ Name is the device name as defined in the format:
cCONTROLLERtTARGETlUNIT
◆ II is two hexadecimal digits identifying the controlling bus interface card by its
Instance number.
◆ T is one hexadecimal digit representing the SCSI ID of robotic control.
◆ L is one hexadecimal digit representing the SCSI LUN of the robotic control.
1. Use the ioscan -f command to get information on the SCSI bus and the robotic
control.
Class I H/W Path Driver S/W State H/W Type Description
===============================================================
Interface
The Instance number for the robot’s SCSI bus is 1. It also confirms that the spt driver is
attached to the optical robotic control at H/W Path 56/16.3.0.
2. Use lsdev to get the character major number for the spt driver.
lsdev -d spt
The output from this command shows that the character major number for the spt
driver is 137.
Character Block Driver Class
This command creates the /dev/spt/c1t3l0 device file. Specify this file as the
robot control path when configuring your device under Media Manager.
62 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring Tape Drives
◆ To collect TapeAlert information from tape devices allowing support of functions such
as tape drive cleaning.
◆ For WORM tape support.
Note Passthru paths are not supported on HP-PB adapters such as HP 28696A - Wide
SCSI or HP 28655A - SE SCSI.
Automatic Configuration
Because using the passthru path is so important, NetBackup will automatically create the
corresponding passthru path whenever a tape drive is configured with a device file of the
format: /dev/rmt/cCONTROLLERtTARGETdUNITBESTnb.
These paths are created in the /dev/sctl directory, which will also be created if it does
not exist. Passthru paths will also be created automatically whenever the NetBackup
device configuration wizard is run. In either case, NetBackup will not modify or delete
any existing passthru paths. NetBackup assumes that any existing passthru paths were
created correctly.
NetBackup does not detect the type of adapter cards installed in the system, so it will also
create passthru paths for tape drives connected to adapter cards that do not support
passthru. This is expected and will not cause any problems.
It is normally not necessary to manually create passthru paths for tape drives, but the
steps for doing so are provided (see “Enabling Passthru Paths” on page 63).
Note When using the mknod command for tape drives, TARGET is the SCSI ID of the
tape drive not the SCSI ID of the robotic control.
Example:
In this example the robotic control for a ADIC Scalar 100 library is on a SCSI bus with a
instance number of 7 (ext_bus entry, I column), SCSI ID 2 and LUN 0, and the robotic
control for a IBM ULT3583-TL library is on the same SCSI bus at SCSI ID 3 and LUN 0.
The ADIC library contains 2 Quantum Super DLT drives, one with SCSI ID 0, SCSI LUN 0
and the other with SCSI ID 1, SCSI LUN 0.
The IBM library contains 2 IBM Ultrium LTO drives, one with SCSI ID 4, SCSI LUN 0 and
the other with SCSI ID 5, SCSI LUN 0.
Use the following procedure to create the robotic control device files and the passthru
driver tape drive device files:
=================================================================
Note Use the IBM atdd driver when configuring IBM tape drives on HP-UX. Configure
atdd and BEST device paths according to IBM driver documentation. Do not
configure atdd for robotic control of IBM robots. Check the VERITAS support web
site for the latest recommended atdd driver version from IBM.
2. The commands to create the robotic device files follow. See the “Command Summary”
on page 70 for the mknod command format or see the scsi_ctl(7) man page.
cd /dev/sctl
This creates the following device files, which you specify to Media Manager during
configuration of the ADIC robotic control and IBM robotic control respectively:
/dev/sctl/c7t2l0
/dev/sctl/c7t3l0
64 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring Tape Drives
3. The commands to create the passthru device files for the tape drives are as follows:
cd /dev/sctl
These commands create the following passthru device files. Although the passthru
device files for tape drives are used during NetBackup operation, they are not
specified during configuration.
/dev/sctl/c7t0l0
/dev/sctl/c7t1l0
/dev/sctl/c7t4l0
/dev/sctl/c7t5l0
During Media Manager tape drive configuration, the following no rewind on close
device files are used. See “No Rewind Device Files” on page 67 for instruction on
creating no rewind device files.
/dev/rmt/c7t0d0BESTnb
/dev/rmt/c7t1d0BESTnb
/dev/rmt/c7t4d0BESTnb
/dev/rmt/c7t5d0BESTnb
Enabling locate-block
NetBackup and Storage Migrator use the locate-block command by default if a passthru
path is configured. See “Enabling Passthru Paths” on page 63.
Disabling locate-block
To disable locate-block positioning, execute the following command:
touch /usr/openv/volmgr/database/NO_LOCATEBLOCK
1. Set the kernel parameter st_ats_enabled to zero. Using the SAM utility is the
easiest way to set this parameter.
Leaving this parameter set to ONE causes conflicts between the operating system and
NetBackup or Storage Migrator’s use of SCSI reserve/release commands.
66 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring Tape Drives
Where:
◆ CONTROLLER is the Instance number of the controlling bus. The Instance value is
displayed in ioscan -f output under the column I of the controllers entry (ext_bus
in the Class column).
◆ TARGET is the SCSI ID of the tape drive.
◆ UNIT is the SCSI logical unit number (LUN) of the drive. This is usually 0.
If the desired tape device file does not exist, you can create device files using the sam
utility or with the following mksf(1M) command:
mksf -C tape -H H/W_Path -b BEST -u -n
Where H/W_Path is the hardware path of the tape drive as specified by ioscan.
===================================================================
Interface
The Instance number for the controlling bus is 0 and the H/W path for the tape drive is
56/52.2.0.
The command to create the device file for the drive follows:
mksf -C tape -H 56/52.2.0 -b BEST -u -n
This creates the following device file, which you specify to Media Manager:
/dev/rmt/c0t2d0BESTnb
Where:
◆ BI is the bus Instance number of the controlling bus. The Instance value is displayed
in ioscan output under the column I of the ext_bus entries.
◆ TARGET is the SCSI ID of the drive. This ID is in the third position of the H/W Path as
displayed by ioscan. For example, in 56/52.5.0 the SCSI ID is 5.
You can determine the bus Instance using ioscan -C ext_bus -f. The output is
similar to the following example:
Class I H/W Path Driver S/W State H/W Type Description
============================================================
Interface
Interface
You can determine the configured drives using ioscan -C disk -f. The output is
Class I H/W Path Driver S/W State H/W Type Description
============================================================
For target 2:
/dev/rdsk/c0t2d0
68 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Handling Errors when More Than 10 NetBackup Jobs are Active
Using the Configure Storage Devices Wizard with Optical Disk Drives
The Media Manager device configuration wizard can discover and automatically
configure optical disk drives that have a /dev/sctl SCSI passthru device file.
2. Start the wizard from the list of wizards displayed in the right pane of the Media and
Device Management window of the NetBackup Administration Console.
Select Configure Storage Devices.
See theVERITAS NetBackup Media Manager System Administrator’s Guide for UNIX and
Linux or the VERITAS NetBackup Media Manager System Administrator’s Guide for
Windows for more information on using this wizard.
3. Select semmnu.
9. Select Process New Kernel from the menu to process the kernel modifications and
exit the utility.
Command Summary
The following is a summary of commands that may be useful when configuring and
verifying devices. See the procedures in this chapter for examples of usage.
ioscan -C TYPE -f
70 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Command Summary
L is one hexadecimal digit for the SCSI LUN of the robotic control.
lsdev -d spt
Creates device files for tape drives. Where H/W_Path is the hardware path of the tape
drive, as specified by ioscan.
72 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Hewlett-Packard Tru64 5
This chapter explains how to configure storage devices for use with Media Manager
running on an HP Alpha system.
After configuring the hardware, use one of the available Media Manager configuration
interfaces to add the drives and robots to your Media Manager configuration
The main topics included in this chapter are
◆ “Before You Start” on page 74
73
Before You Start
Observe the following points when performing the configurations described in this
chapter:
◆ The VERITAS support web site (http://www.support.veritas.com) contains server
platform compatibility information for a number of vendors and products (see the
NetBackup Product > Compatibility area of the site). Verify that your server platform
is supported before configuring devices.
◆ For NetBackup to recognize and communicate with connected devices and for device
discovery to discover devices, NetBackup issues SCSI pass-thru commands to the
devices in a configuration.
Device files must exist that follow the naming conventions explained in “Configuring
Robotic Controls” on page 74 and “Configuring Tape Drives” on page 75. The
operating system creates all device files automatically.
◆ Use /sbin/hwmgr to verify that the devices are configured correctly. Make sure you
can “see” your devices on the SAN before you install and configure the SSO option.
74 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring Tape Drives
--------------------------------------------------------------
3: /dev/kevm
Where:
◆ ID is the identification number of the tape device.
◆ Values for DENSITY can be 0 - 7. Typically, 1 (for high density) is used.
To display devices that are available on the system, use the following command:
--------------------------------------------------------------
3: /dev/kevm
76 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring Tape Drives
◆ ddr_config(8)
# Matches "Ultrium"
Type = tape
PARAMETERS:
BLockSize = 262144
TagQueueDepth = 0
SyncTransfers = enabled
WideTransfers = enabled
InquiryLength = 0x20
DENSITY:
DensityNumber = 0,1,2,3,4,5,6,7
OneFileMarkOnClose = yes
DensityCode = 0x42
Blocking = 0
CompressionCode = 1
Buffered = 1
Speed = 0
MODESELECT:
ModeSelectNumber = 0
SavePage = No
PageFormat = scsi2
BlockDescriptor = yes
TransferLength = 16
Hdr.Tape.BufferMode = 0x1
Hdr.MediumType = 0
Data.UBYTE[1] = 0x02
Data.UBYTE[2] = 0x01
Data.UBYTE[3] = 0x00
Type = tape
PARAMETERS:
MaxTransferSize = 0xffffff
ReadyTimeSeconds = 0x2d
InquiryLength = 0x20
DENSITY:
DensityNumber = 0
OneFileMarkOnClose = yes
DensityCode = 0x00
Blocking = 0
CompressionCode = 0x0
Buffered = 0x1
78 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring Tape Drives
DENSITY:
DensityNumber = 1
OneFileMarkOnClose = yes
DensityCode = 0x00
Blocking = 0
CompressionCode = 0x1
Buffered = 0x1
Type = tape
PARAMETERS:
TypeSubClass = tk
TagQueueDepth = 0
CMD_PreventAllow = supported
CMD_ExtReserveRelease = supported
BlockSize = 0
PwrMgmt_Capable = false
DENSITY:
DensityNumber = 0,2,3,4,5,6,7
DensityCode = default
CompressionCode = 0x0
Buffered = 0x1
DENSITY:
DensityNumber = 1
DensityCode = default
CompressionCode = 0x1
Buffered = 0x1
Type = tape
Stype = 2
PARAMETERS:
TypeSubClass = 3480
BlockSize = 0
SyncTransfers = enabled
WideTransfers = enabled
Disconnects = enabled
CmdReordering = disabled
TaggedQueuing = disabled
TagQueueDepth = 0
WCE_Capable = false
PwrMgmt_Capable = false
LongTimeoutRetry = disabled
ReadyTimeSeconds = 240
DisperseQueue = false
CMD_PreventAllow = supported
CMD_ExtReserveRelease = supported
DENSITY:
# /dev/tape/tapeX_d0, _d4
DensityNumber = 0,4
DensityCode = 0x42
CompressionCode = 0
Buffered = 0x1
DENSITY:
# /dev/tape/tapeX_d1, _d5
DensityNumber = 1,5
DensityCode = 0x42
CompressionCode = 1
80 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Command Summary
DENSITY:
# /dev/tape/tapeX_d2, _d6
DensityNumber = 2,6
DensityCode = 0x43
CompressionCode = 0
Buffered = 0x1
Command Summary
The following is a summary of commands that may be useful when configuring and
verifying devices. See the procedures in this chapter for usage examples.
hwmgr -view devices
82 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Enterprise Linux 6
This chapter explains how to configure devices for use with Media Manager on an Intel
host platform running Linux. After configuring the hardware, use one of the available
Media Manager configuration interfaces to add the drives and robots to your Media
Manager configuration.
The main topics included in this chapter are as follows:
◆ “Before You Start” on page 84
83
Before You Start
sg 14844 0
st 24556 0
The standard Enterprise Linux releases have these modules available for loading.
When running Enterprise Linux, these modules are dynamically loaded as needed. It
is also possible to load these modules if they are not in the kernel. Use the following
commands:
/sbin/modprobe st
/sbin/modprobe sg
◆ Creates device files for each tape device and library of the format required by
Media Manager and places them in these directories.
84 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Using the Passthru Driver
◆ Establishes a default tape driver operating mode. If the operator changes the
default mode, NetBackup may be unable to correctly read and write tape media,
resulting in data loss.
In particular, never set MT_ST_ASYNC_WRITES, or MT_ST_SYSV to the value
one. Never set MTSETBLK to a non-zero value. Do not interfere with the execution
of make_scsi_dev at system boot (it is called by the S77netbackup startup
script).
See “Configuring SCSI Robotic Control Device Paths (2.4 kernel)” on page 87 and
“Adding Standard Tape Drives (2.4 kernel)” on page 88.
◆ For Linux distributions using the 2.6 kernel, avrd establishes a default tape driver
operating mode. If the operator changes the default mode, NetBackup may be unable
to correctly read and write tape media, resulting in data loss
◆ Verify that a SCSI low-level driver is installed for each HBA in your system. Refer to
your HBA vendor documentation.
◆ Follow the HBA Vendor's installation guide to install or load the driver in the
kernel.
◆ Configure the kernel for SCSI tape support, SCSI generic support.
◆ Probe all LUNs on each SCSI device and enable the SCSI low-level driver for the
HBA.
◆ Enable multi-LUN support for the kernel according to operating system
documentation.
◆ Linux kernels previous to 2.4.15 do not support sixteen byte SCSI commands. WORM
media is not supported with these HBA’s for either LTO-3 or SDLT drives. To
override this rule, run:
touch /usr/openv/volmgr/database/SIXTEEN_BYTE_CDB
◆ SCSI-adaptor driver.
86 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Configuring Robotic Controls
Where:
◆ HOST is the host bus adaptor.
◆ CHANNEL is channel.
◆ TARGET is the target ID.
◆ LUN is the logical unit number.
Use the files in the /dev/sg directory for the robotic path when using Media Manager
interfaces to configure robots.
There must be a /dev/sgN entry (where N is a decimal number from 0 to 255) for each
device. These entries are needed by make_scsi_dev, which is run during the NetBackup
installation.
If you have devices that are not being discovered by Media Manager device discovery, it
may be because the Linux default number of these entries is not sufficient. You may need
to create additional entries.
Create device entries as follows, where N is a decimal number from 0 to 255. After creating
all entries necessary, rerun make_scsi_dev.
mknod /dev/sgN c 21 N
h10c0t2l0
h10c0t3l0
h25c0t0l0
h25c0t1l0
2. Run make_scsi_dev.
Where:
◆ n is the no rewind on close device file.
◆ HOST is the host bus adaptor.
◆ CHANNEL is channel.
◆ TARGET is the target ID.
◆ LUN is the logical unit number.
When adding tape drives to a Media Manager configuration, you need to specify a no
rewind on close device path. Use the files in the /dev/st directory when configuring
tape drives.
nh10c0t3l0
88 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Verifying The Device Configuration
Since NetBackup uses only one minor number, you can modify the driver and support up
to 128 tape devices. The st.h source file, found in the Linux source directory
/drivers/scsi, must be modified to change the number of devices that will be
supported as shown in the following table:
Improving Performance
The st tape driver has internal buffers that have a default size of 32K. Performance may be
enhanced if they are set to match the default block size used by bptm. The default block
size for bptm is 64K. Edit the st_options.h file as shown in the following table:
You also may need to change the following entry to have a smaller value depending on
the available system memory:
#define ST_MAX_BUFFERS 4
Follow the operating system guidelines for incorporating these source changes into your
system.
90 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Utilities to Test SCSI Devices
Command Summary
The following is a summary of commands that may be useful when configuring devices.
See the appropriate sections of this chapter for examples of their usage.
/sbin/lsmod
Create SCSI generic device files. Where N is a decimal number from 0 to 255.
/usr/openv/volmgr/bin/make_scsi_dev
Create NetBackup device files for Linux distributions running the 2.4 kernel. For
Linux distributions running the 2.6 kernel, this command is not used.
92 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Microsoft Windows 2000, 2003
7
This chapter explains how to configure storage devices and install tape device drivers for
use with Media Manager on a platform running Microsoft Windows.
After configuring the hardware, use one of the available Media Manager configuration
interfaces to add the drives and robots to your Media Manager configuration
The main topics included in this chapter are the following:
◆ “Before You Start” on page 94
93
Before You Start
Observe the following points when performing the configurations described in this
chapter:
◆ The VERITAS support web site (http://www.support.veritas.com) contains server
platform compatibility information for a number of vendors and products (see the
NetBackup Product > Compatibility area of the site). Verify that your server platform
is supported before configuring devices.
◆ For NetBackup to recognize and communicate with connected devices and for device
discovery to discover devices, NetBackup issues SCSI pass-thru commands to the
devices in a configuration.
A tape driver must exist for each tape device. Attached devices appear in the registry.
◆ Use the Microsoft Windows device applications to verify that the devices are
configured correctly. The device applications available on your server may differ
depending on your Windows operating system. Make sure you can “see” your
devices on the SAN before you install and configure the SSO option.
◆ If you have multiple devices connected to a fibre bridge, Windows may only see one
LUN. This will normally be the device with the lowest-ordered LUN.
This limitation occurs because of the default install settings for the device driver for
some fibre channel HBAs. See your vendor documentation to verify the settings.
94 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Installing Tape Device Drivers on 32 Bit Servers
4. Follow the prompts in the wizard to install device drivers for your storage device.
On the Choosing tape drivers screen of the wizard, select Use VERITAS tape drivers
for all tape devices and Use Plug and Play drivers.
Use the More Information button for explanations of the available choices.
5. On the Installing VERITAS drivers screen of the wizard, a warning message may be
displayed when the device drivers are installed indicating that the driver has not been
Windows Logo tested to verify its compatibility with Windows.
This is a standard Microsoft Windows warning. System and driver performance will
not be affected, and you can safely ignore the messages. VERITAS device drivers go
through a similar testing process and they are digitally signed drivers.
C:\WINNT\system32\drivers
The device driver files do not have a version number. To determine the version of a device
driver file, use the Modified date found in the file Properties dialog (right click on the
driver file name).
http://www.support.veritas.com
96 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
Index
A E
accessibility features xii
editing the st.conf file, Sun4/SPARC 19
F
AL-PA destination ID, Sun4/SPARC 13
Sun4/SPARC 13
fibre channel
Sun4/SPARC 6
B configuration 59
Berkeley-style close
drivers 7
HP9000 62
fixed length block 39
Sun4/SPARC 16
fixed mode devices, Sun4/SPARC 19
C H
cfgmgr command 52
HP 1.2 GB optical
command summary
HP Alpha
for RS6000 51
Dynamic Device Recognition 77
HP Alpha 81
locate-block 75
HP9000 70
SCSI robotic controls 74
Linux 92
HP LTO, HP Alpha 77
Sun4/SPARC 26
HP optical disk
HP9000 68
D
on RS6000 45
D_ID 33
Sun4/SPARC 23
HP9000
device discovery 3
files 68
device drivers
ovpass 30
sd, Sun4/SPARC 25
sg, Linux 84
sg, Sun4/SPARC 13
Berkeley-style close 62
st, Linux 84
st, Sun4/SPARC 22
Windows 94
97
I optical disk
HP9000 71 locate-block 40
M
installing 30
make_scsi_dev command
uninstalling 31
Linux 84
upgrading 31
98 NetBackup Media Manager Device Configuration Guide for UNIX, Windows, and Linux
remove_ovpass 31
optical disk configuration, make device
sg.install, Sun4/SPARC 8
files 23
SCSI
nonvolatile memory 25
passthru driver
SCSI robotic controls 13
on RS6000 30
sg driver install or reconfigure 8
Sun4/SPARC 7
sg.install script 8
robotic control
st driver 22
HP Alpha 74
st.conf file 19
HP9000 55
tape drive configuration
on RS6000 32, 38
variable mode devices 19
SCSI reserve/release
switch settings, Sony S-AIT
data integrity 3
on RS6000 44
disabling 3
T
enabling 66
scsi_command
HP Alpha 76
on RS6000 52
HP9000 67
Sun4/SPARC 25, 26
Linux 88
sd driver, Sun4/SPARC 25
on RS6000
semmnu 69
sg driver
Linux 84
Sun4/SPARC 13
U
sg.build command, Sun4/SPARC 26
using the passthru driver, capabilities 62, 85
optical drives 69
V
SCSI reserve/release 66
variable length block 39
smit command 39
variable-mode devices
st driver
Sun4/SPARC 19
Linux 84
VERITAS Storage Migrator ix
Sun4/SPARC 22
VERITAS support web site 2
STK 9840
HP Alpha 77
W
Sun4/SPARC
world wide node names (WWNN) 13
locate-block 16
Index 99