NetBackup80 DeviceConfig Guide
NetBackup80 DeviceConfig Guide
Veritas, the Veritas Logo, and NetBackup are trademarks or registered trademarks of Veritas
Technologies LLC or its affiliates in the U.S. and other countries. Other names may be
trademarks of their respective owners.
This product may contain third party software for which Veritas is required to provide attribution
to the third party (“Third Party Programs”). Some of the Third Party Programs are available
under open source or free software licenses. The License Agreement accompanying the
Software does not alter any rights or obligations you may have under those open source or
free software licenses. Refer to the third party legal notices document accompanying this
Veritas product or available at:
https://www.veritas.com/about/legal/license-agreements
The product described in this document is distributed under licenses restricting its use, copying,
distribution, and decompilation/reverse engineering. No part of this document may be
reproduced in any form by any means without prior written authorization of Veritas Technologies
LLC and its licensors, if any.
The Licensed Software and Documentation are deemed to be commercial computer software
as defined in FAR 12.212 and subject to restricted rights as defined in FAR Section 52.227-19
"Commercial Computer Software - Restricted Rights" and DFARS 227.7202, et seq.
"Commercial Computer Software and Commercial Computer Software Documentation," as
applicable, and any successor regulations, whether delivered by Veritas as on premises or
hosted services. Any use, modification, reproduction release, performance, display or disclosure
of the Licensed Software and Documentation by the U.S. Government shall be solely in
accordance with the terms of this Agreement.
http://www.veritas.com
.
Technical Support
Technical Support maintains support centers globally. All support services will be delivered
in accordance with your support agreement and the then-current enterprise technical support
policies. For information about our support offerings and how to contact Technical Support,
visit our website:
https://www.veritas.com/support
You can manage your Veritas account information at the following URL:
https://my.veritas.com
If you have questions regarding an existing support agreement, please email the support
agreement administration team for your region as follows:
Japan [email protected]
Documentation
The latest documentation is available on the Veritas website:
https://sort.veritas.com/documents
Documentation feedback
Your feedback is important to us. Suggest improvements or report errors or omissions to the
documentation. Include the document title, document version, chapter title, and section title
of the text on which you are reporting. Send feedback to:
[email protected]
You can also see documentation information or ask a question on the Veritas community site:
http://www.veritas.com/community/
https://sort.veritas.com/data/support/SORT_Data_Sheet.pdf
Contents
■ install_path\Veritas\Volmgr (Windows)
Configuration cautions
Observe the following cautions:
■ In multiple-initiator (multiple host bus adapter) environments, NetBackup uses
SCSI reservation to avoid tape drive usage conflicts and possible data loss
problems. SCSI reservation operates at the SCSI target level; the hardware that
bridges Fibre Channel to SCSI must work correctly.
By default, NetBackup uses SPC-2 SCSI reserve and release. Alternatively,
you can use SCSI persistent reserve or disable SCSI reservation entirely.
Introducing device configuration 10
About the NetBackup compatibility lists
For information about the NetBackup use of SCSI reservation, see the following:
■ "Enable SCSI reserve" in the NetBackup Administrator’s Guide, Volume I.
■ "How NetBackup reserves drives" in the NetBackup Administrator’s Guide,
Volume II.
■ Veritas does not recommend or support the use of single-ended to differential
SCSI converters on NetBackup controlled devices. You may encounter problems
if you use these converters.
■ Chapter 2. AIX
■ Chapter 3. HP-UX
■ Chapter 4. Linux
■ Chapter 5. Solaris
■ Chapter 6. Windows
Chapter 2
AIX
This chapter includes the following topics:
■ To verify that the devices are configured correctly, use smit and
/usr/sbin/lsdev command.
For the tape drives that you want to share among NetBackup hosts, ensure that
the operating system detects the devices on the SAN before you configure the
NetBackup Shared Storage Option.
■ To obtain error and debug information about devices and robotic software
daemons, the syslogd daemon must be active. See the AIX syslogd(1) man
page for more information.
After you configure the hardware, add the robots and the drives to NetBackup.
■ BB identifies the I/O bus and the slot that contains the card, as follows:
■ The first digit of BB identifies the I/O bus that contains the adapter card, as
follows:
■ If the card is in the CPU drawer or system unit, 0 represents the standard
I/O bus and 1 represents 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 I/O bus (or slot number
in the I/O expansion drawer) that contains the card.
■ 00-12 indicates an adapter card that is in slot 2 of the optional I/O bus in the
CPU drawer.
■ 18-05 indicates an adapter card that is located in slot 5 of an I/O expansion
drawer. The drawer is connected to the asynchronous expansion adapter that
is located in slot 8 of the optional I/O bus in the CPU drawer.
See “Creating AIX no rewind device files for tape drives” on page 17.
Subject Topic
About choosing a tape driver See “About choosing a tape driver on AIX”
on page 15.
About non-QIC tape drives See “About non-QIC tape drives on AIX”
on page 16.
About extended-file marks for drives See “About extended-file marks for drives”
on page 16.
Creating no rewind device files for tape drives See “About no rewind device files on AIX”
on page 17.
About multiple tape densities See “Using multiple tape densities on AIX”
on page 21.
About SPC-2 SCSI reserve on AIX See “About SPC-2 SCSI reserve on AIX”
on page 21.
For information about the drivers and how to configure device files, see the IBM
documentation.
When you add a non-QIC tape drive to NetBackup, NetBackup issues the chdev
command to configure the drive as a variable length block device. For reference,
the following is the command that NetBackup uses to configure a drive for variable
mode:
Dev represents the logical identifier for the drive (for example: rmt0 or rmt1).
Therefore, you do not have to configure the drive manually for variable mode.
Replace Dev with the logical identifier for the drive (such as rmt0 or rmt1)
Therefore, you do not have to configure the drive manually for extended file marks.
AIX 17
About configuring tape drive device files in AIX
touch /usr/openv/volmgr/database/NO_LOCATEBLOCK
/dev/rmtID.1
ID is the logical identifier assigned to the device by the system. The .1 extension
specifies the no rewind, no retension on open device file.
Normally, AIX creates tape drive device files automatically at boot time. Alternatively,
you can run the AIX cfgmgr command, which should create the device files. If they
do not exist, you must create them for the tape drives.
See “Creating AIX no rewind device files for tape drives” on page 17.
The following sample output shows that SCSI controller 1 (00-01) has been
assigned the logical identifier scsi0.
2 Display the SCSI and Fibre Channel devices in the system by using the
following command. For SCSI devices, use scsi for the type; for Fibre Channel
Protocol devices, use fcp for the type.
/usr/sbin/lsdev -C -s type
The following example shows two disk drives and a tape drive:
If the device files for the tape drives exist, they appear in the output as rmt0,
rmt1, and so on. The previous example output shows rmt0.
3 If a device file does not exist for the wanted tape drive, create it by using the
following command:
4 To verify, display the SCSI device files by using the lsdev command, as follows:
/usr/sbin/lsdev -C -s scsi
hdisk0 Available 00-01-00-0,0 400 MB SCSI Disk Drive
hdisk1 Available 00-01-00-1,0 400 MB SCSI Disk Drive
rmt0 Available 00-01-00-3,0 Other SCSI Tape Drive
rmt1 Available 00-01-00-5,0 Other SCSI Tape Drive
The output shows that the rmt1 device file was created.
5 If the device files do not exist on an FCP controller, use the following command
to create them:
/usr/sbin/cfgmgr -l device
7 To configure the drive manually in NetBackup, enter the following device file
pathname:
/dev/rmt1.1
The following output shows that scsi0 is the logical name for SCSI controller
1:
/usr/sbin/lsdev -C -s scsi
The following output shows that some device files exist for tape and disk.
However, a device files does not exist for the 8-mm tape drive at controller 1
(scsi0) and SCSI ID 5 (5,0):
/usr/sbin/lsdev -C -s scsi
hdisk0 Available 00-01-00-0,0 400 MB SCSI Disk Drive
hdisk1 Available 00-01-00-1,0 400 MB SCSI Disk Drive
rmt0 Available 00-01-00-3,0 Other SCSI Tape Drive
rmt1 Available 00-01-00-5,0 Other SCSI Tape Drive
5 To ensure that the tape device is configured for variable-mode and extended
file marks, use the following commands:
6 To configure the drive manually in NetBackup, enter the following device file
pathname:
/dev/rmt1.1
AIX 21
About configuring tape drive device files in AIX
/dev/rmt*.1
To use density setting 2, use the following no rewind on close device file when
you configure the device in NetBackup:
/dev/rmt*.5
■ For the tape drives that support SPC-3 Compatible Reservation Handling (CRH),
you can use SCSI persistent reserve by enabling it in NetBackup. No special
configuration in AIX is required.
■ For the tape drives that do not support CRH, you must disable SPC-2 SCSI
reserve in AIX for those drives. After you disable SPC-2 SCSI reserve, you can
use persistent reserve by enabling it in NetBackup. If the drive does not support
CRH and you do not disable SPC-2 SCSI reserve, access attempts to the drive
fail.
See “Disabling SPC-2 SCSI reserve in AIX” on page 22.
Warning: If the tape driver does not let you disable SPC-2 SCSI reserve, do
not use SCSI persistent reserve with the drives that do not support CRH. The
sctape driver is an example of a tape driver that lets you disable SPC-2 SCSI
reserve.
For more information about NetBackup and SCSI reservations, see the following:
■ The description of the Enable SCSI Reserve Media host property in the
NetBackup Administrator’s Guide, Volume I.
http://www.veritas.com/docs/DOC5332
■ The "How NetBackup reserves drives" topic in the NetBackup Administrator’s
Guide, Volume II.
http://www.veritas.com/docs/DOC5332
Replace name with the name of the device file, such as rmt0.
For the NetBackup Shared Storage Option, you must set the SWA-1 (No Reply
Unit Attention After Process Login) switch correctly. Its factory setting depends
on the serial number of the drive.
If the drive has an early serial number, switch SWA-1 may be OFF. If so, change
the switch to ON.
Drives with newer serial numbers have SWA-1 set to ON as the default.
These newer serial numbers are as follows:
■ SDZ-130 :01442007 and later
■ SDZ-130/L :01200696 and later
Also, for the drives that have a date of May 17, 2004 and later, the DIP switch is
set to ON.
The following table shows the dip switch settings for the newer serial number drives.
SWA-1 1
SWA-2 0
SWA-3 0
SWA-4 0
SWA-5 0
SWA-6 0
SWA-7 1
SWA-8 0
■ About disabling the HP-UX EMS Tape Device Monitor for a SAN
Requirement Description
Berkeley-style NetBackup requires Berkeley-style close for tape drive device files. The
close letter b in the file name indicates Berkeley-style close device files.
Requirement Description
Fast-tape HP-UX supports locate-block for most drive types for Fast Wide GSC
positioning SCSI adapters. For a list of drive types that NetBackup supports, see
(locate-block) the Veritas Hardware Compatibility List.
touch /usr/openv/volmgr/database/NO_LOCATEBLOCK
No rewind on close NetBackup requires no rewind on close for tape devices. The letter n
in the file name indicates no rewind device files.
Note: NetBackup device discovery finds persistent DSFs only. Therefore, Veritas
recommends that you use persistent DSFs.
See “About legacy pass-through paths for tape drives” on page 34.
See “About legacy tape drive device files” on page 33.
The # represents the instance number. For example, if HP-UX discovers two robotic
devices (auto-changers) and assigns them instance numbers 0 and 1 respectively,
HP-UX automatically creates the following device files:
/dev/rchgr/autoch0
/dev/rchgr/autoch1
NetBackup creates pass-through paths for all valid /dev/rtape paths. NetBackup
creates the paths during device discovery or when you run the
/usr/openv/volmgr/bin/scan command. The following is the file name format:
/dev/pt/pt_tape#
The # represents the instance number that matches the number in the
/dev/rtape/tape#_BESTnb device file or that is retrieved from the ioscan output.
Although NetBackup uses the pass-through device files during tape drive operations,
you specify the /dev/rtape device files if you configure the drives manually in
NetBackup. NetBackup then uses the appropriate pass-through device files.
See “Creating persistent DSF pass-through paths” on page 32.
3 Wait a few minutes for the service to stop, then restart ltid by running the
following command:
/usr/openv/volmgr/bin/ltid
Upon start-up, ltid scans for device paths, adds the new DSFs, and then
purges the legacy DSFs from your NetBackup configuration for the media
server.
After ltid starts, only the new persistent DSF paths should be configured in
NetBackup.
4 After the services are started and device paths updated, you can (but do not
have to) remove the AUTO_PATH_CORRECTION=YES entry from the vm.conf file.
However, you can create them manually. The following example shows how to
create a pass-through device file for a persistent DSF.
To create a pass-through path for a tape drive
◆ Enter the following command (# is the instance number of the device from the
ioscan output):
mksf –P –C tape –I #
For more information about using the HP-UX mksf command, see the man
page.
Note: NetBackup device discovery finds persistent DSFs only. Therefore, Veritas
recommends that you use persistent DSFs.
See “About device drivers and files for HP-UX persistent DSFs” on page 28.
HP-UX 33
About HP-UX legacy device drivers and files
Where:
■ CARD is the card instance number of the adapter.
■ II are two hexadecimal digits that represent the card instance number.
■ L is a hexadecimal digit that represents the SCSI LUN of the robotic control.
A library may have more than one robotic device. Each robotic device requires a
device file.
See “Creating legacy SCSI and FCP robotic controls on HP-UX” on page 36.
■ BEST indicates the highest density format and data compression the device
supports.
■ n indicates no rewind on close.
/dev/rmt/c7t0d0BESTnb
/dev/rmt/c7t1d0BESTnb
/dev/rmt/c7t4d0BESTnb
/dev/rmt/c7t5d0BESTnb
See “About creating legacy tape drive device files” on page 43.
Note: Pass-through paths are not supported on HP-PB adapters such asHP28696A
- Wide SCSI or HP 28655A - SE SCSI.
Step 1 If the sctl driver is not the default See the HP-UX scsi_ctl(7) man
pass-through driver on your system, page.
install and configure the sctl driver.
Step 2 Create the pass-through paths required. See “About legacy pass-through paths
for tape drives” on page 34.
The media server FT devices appear as ARCHIVE Python tape devices during SCSI
inquiry from the SAN client. However, they are not tape devices and do not appear
as tape devices in NetBackup device discovery.
3 Determine the character major number of the sctl driver by using the following
command:
lsdev -d sctl
Examine the output for an entry that shows sctl in the Driver column.
4 Use the following commands to create the device file for the SCSI robotic
control:
mkdir /dev/sctl
cd /dev/sctl
/usr/sbin/mknod cCARDtTARGETlLUN c Major 0xIITL00
Where:
■ CARD is the card instance number of the adapter.
■ II are two hexadecimal digits that represent the card instance number.
■ L is a hexadecimal digit that represents the SCSI LUN of the robotic control.
ioscan -f
Class I H/W Path Driver S/W State H/W Type Description
=================================================================
ext_bus 7 0/7/0/1 c720 CLAIMED INTERFACE SCSI C896 Fast Wide LVD
target 10 0/7/0/1.0 tgt CLAIMED DEVICE
tape 65 0/7/0/1.0.0 stape CLAIMED DEVICE QUANTUM SuperDLT1
target 11 0/7/0/1.1 tgt CLAIMED DEVICE
tape 66 0/7/0/1.1.0 stape CLAIMED DEVICE QUANTUM SuperDLT1
target 12 0/7/0/1.2 tgt CLAIMED DEVICE
autoch 14 0/7/0/1.2.0 schgr CLAIMED DEVICE ADIC Scalar 100
target 13 0/7/0/1.3 tgt CLAIMED DEVICE
autoch 19 0/7/0/1.3.0 schgr CLAIMED DEVICE IBM ULT3583-TL
target 14 0/7/0/1.4 tgt CLAIMED DEVICE
tape 21 0/7/0/1.4.0 atdd CLAIMED DEVICE IBM ULT3580-TD1
target 15 0/7/0/1.5 tgt CLAIMED DEVICE
tape 19 0/7/0/1.5.0 atdd CLAIMED DEVICE IBM ULT3580-TD1
2 Examine the output for the card instance number and the SCSI ID and LUN
of the robotic device, as follows:
The card H/W Path is 0/7/0/1; the card instance number (I column) is 7. Apply
the H/W Path value as a mask. The ADIC robotic device (schgr) is at SCSI ID
2, LUN 0 on this bus. The IBM robotic device (schgr) is at SCSI ID 3, LUN 0
on this bus.
HP-UX 39
About configuring legacy device files
3 Determine the character major number of the sctl driver by using the following
command:
lsdev -d sctl
Character Block Driver Class
203 -1 sctl ctl
The output from this command shows that the character major number for the
sctl driver is 203.
4 The commands to create the device files follow. For the ADIC robot, the card
instance number is 7, the target is 2, and the LUN is 0. For the IBM robot, the
card instance number is 7, the SCSI ID is 3, and the LUN is 0.
cd /dev/sctl
/usr/sbin/mknod c7t2l0 c 203 0x072000
/usr/sbin/mknod c7t3l0 c 203 0x073000
If you add the robots to NetBackup manually, you specify the following for ADIC
robotic control and IBM robotic control respectively:
/dev/sctl/c7t2l0
/dev/sctl/c7t3l0
ioscan -f
Class I H/W Path Driver S/W State H/W Type Description
=============================================================================
fc 0 0/2/0/0 td CLAIMED INTERFACE HP Tachyon XL2 Fibre
Channel Mass Storage
Adapter
fcp 4 0/2/0/0.10 fcp CLAIMED INTERFACE FCP Domain
ext_bus 6 0/2/0/0.10.11.255.0 fcpdev CLAIMED INTERFACE FCP Device Interface
target 5 0/2/0/0.10.11.255.0.0 tgt CLAIMED DEVICE
autoch 2 0/2/0/0.10.11.255.0.0.0 schgr CLAIMED DEVICE HP VLS
tape 5 0/2/0/0.10.11.255.0.0.1 stape CLAIMED DEVICE HP Ultrium 4-SCSI
tape 6 0/2/0/0.10.11.255.0.0.2 stape CLAIMED DEVICE HP Ultrium 4-SCSI
tape 7 0/2/0/0.10.11.255.0.0.3 stape CLAIMED DEVICE HP Ultrium 4-SCSI
2 Examine the output for the card instance number and the SCSI ID and LUN
of the robotic device. In this example, the interface card instance number (the
I column) is 6. If you use the card's H/W Path value as a mask
(0/2/0/0.10.11.255.0), you see the following:
■ An HP VLS9000 robot is at SCSI ID 0, LUN 0.
■ Three Ultrium 4-SCSI drives are at SCSI ID 0 and LUN 1, LUN 2, and LUN
3.
HP-UX 41
About configuring legacy device files
3 Determine the character major number of the sctl driver by using the lsdev
command, as follows:
lsdev -d sctl
Character Block Driver Class
203 -1 sctl ctl
The output from this command shows that the character major number for the
sctl driver is 203.
4 The commands to create the device file for the HP VLS9000 robotic control
are as follows. The card instance number is 6, the target is 0, and the LUN is
0.
cd /dev/sctl
/usr/sbin/mknod c6t0l0 c 203 0x060000
If you add the robot to NetBackup manually, specify the following pathname
for robotic control:
/dev/sctl/c6t0l0
2 Examine the output for the card instance number and the SCSI ID and LUN
of the robotic device.
In this example, the following devices are attached to this host:
■ The robotic control for the HP EML E-Series robot is through card instance
12 (0/4/1/1.2.12.255.0). Two of the drives are accessed through the same
path, and the other two are accessed through card instance 4
(0/4/1/1.2.10.255.0).
■ The robotic controls for the HP VLS 6000 robot partitions are through card
instance 13. Robotic control for one partition is at SCSI ID 0 and LUN 0.
Robotic control for the other partition is at SCSI ID 0 and LUN 4.
HP-UX 43
About configuring legacy device files
3 Determine the character major number of the sctl driver by using the following
command:
lsdev -d sctl
Character Block Driver Class
203 -1 sctl ctl
The output from this command shows that the character major number for the
sctl driver is 203.
4 The commands to create the devices file for the robotic controls are as follows:
cd /dev/sctl
/usr/sbin/mknod c12t0l0 c 203 0x0c0000
/usr/sbin/mknod c13t0l0 c 203 0x0d0000
/usr/sbin/mknod c13t0l4 c 203 0x0d0400
If you add the robots to NetBackup manually, you specify the following
pathnames for robotic control. The first device file is for the HP EML E-Series
robot. The second and third device files are for the VLS 6000 robot (two robotic
devices).
/dev/sctl/c12t0l0
/dev/sctl/c13t0l0
/dev/sctl/c13t0l4
ioscan -f
Class I H/W Path Driver S/W State H/W Type Description
=================================================================
ext_bus 7 0/7/0/ c720 CLAIMED INTERFACE SCSI C896 Fast Wide LVD
target 10 0/7/0/1.0 tgt CLAIMED DEVICE
tape 65 0/7/0/1.0.0 stape CLAIMED DEVICE QUANTUM SuperDLT1
target 11 0/7/0/1.1 tgt CLAIMED DEVICE
tape 66 0/7/0/1.1.0 stape CLAIMED DEVICE QUANTUM SuperDLT1
target 12 0/7/0/1.2 tgt CLAIMED DEVICE
autoch 14 0/7/0/1.2.0 schgr CLAIMED DEVICE ADIC Scalar 100
target 13 0/7/0/1.3 tgt CLAIMED DEVICE
autoch 19 0/7/0/1.3.0 schgr CLAIMED DEVICE IBM ULT3583-TL
target 14 0/7/0/1.4 tgt CLAIMED DEVICE
tape 21 0/7/0/1.4.0 atdd CLAIMED DEVICE IBM ULT3580-TD1
target 15 0/7/0/1.5 tgt CLAIMED DEVICE
tape 19 0/7/0/1.5.0 atdd CLAIMED DEVICE IBM ULT3580-TD1
the latest recommended atdd driver version from IBM, check the Veritas
support Web site.
2 Create the pass-through device files for the tape drives, as follows:
cd /dev/sctl
/usr/sbin/mknod c7t0l0 c 203 0x070000
/usr/sbin/mknod c7t1l0 c 203 0x071000
/usr/sbin/mknod c7t4l0 c 203 0x074000
/usr/sbin/mknod c7t5l0 c 203 0x075000
When you use the HP-UX mknod command for tape drives, the target is the
SCSI ID of the tape drive. It is not the SCSI ID of the robotic control.
The previous commands create the following pass-through device files.
/dev/sctl/c7t0l0
/dev/sctl/c7t1l0
/dev/sctl/c7t4l0
/dev/sctl/c7t5l0
Although the pass-through device files for tape drives are used during
NetBackup operation, they are not used during NetBackup configuration. During
NetBackup tape drive configuration, use the following device files to configure
the tape drives.
/dev/rmt/c7t0d0BESTnb
/dev/rmt/c7t1d0BESTnb
/dev/rmt/c7t4d0BESTnb
/dev/rmt/c7t5d0BESTnb
HP-UX 46
About configuring legacy device files
ioscan -f
Class I H/W Path Driver S/W State H/W Type Description
=================================================================================
ext_bus 9 0/3/1/0.1.22.255.0 fcd_vbus CLAIMED INTERFACE FCP Device Interface
target 4 0/3/1/0.1.22.255.0.0 tgt CLAIMED DEVICE
tape 6 0/3/1/0.1.22.255.0.0.0 stape CLAIMED DEVICE ARCHIVE Python
tape 7 0/3/1/0.1.22.255.0.0.1 stape CLAIMED DEVICE ARCHIVE Python
This example output shows that the instance number of the Fibre Channel
HBA is 9. It also shows that the target mode drivers on the Fibre Transport
media server appear as ARCHIVE Python devices. One has a SCSI ID of 0
and a LUN of 0; the other has a SCSI ID of 0 and a LUN of 1.
2 Determine the character major number of the sctl driver by using the following
command:
lsdev -d sctl
Character Block Driver Class
203 -1 sctl ctl
The output from this command shows that the character major number for the
sctl driver is 203.
3 Create the pass-through device files, as follows:
cd /dev/sctl
/usr/sbin/mknod c9t0l0 c 203 0x090000
/usr/sbin/mknod c9t0l1 c 203 0x090100
# ls -l /dev/sctl
total 0
crw-r--r-- 1 root sys 203 0x090000 Nov 1 13:19 c9t0l0
crw-r--r-- 1 root sys 203 0x090100 Nov 1 13:19 c9t0l1
HP-UX 47
About SPC-2 SCSI reserve on HP-UX
■ To configure EMS so it does not log any events or poll devices, set the
POLL_INTERVAL value to 0 (zero). The POLL_INTERVAL parameter is in the
following HP-UX configuration file:
/var/stm/config/tools/monitor/dm_stape.cfg
EMS runs but does not send any SCSI commands.
■ II are two hexadecimal digits that represent the card instance number.
■ L is a hexadecimal digit that represents the SCSI LUN of the robotic control.
■ lsdev -d driver
Displays the information about the SCSI robotic control drivers.
■ mksf -C tape -H hw-path -b BEST -u -n
Creates the device files for tape drives. The hw-path is the hardware path of
the tape drive, as specified by the ioscan command.
Chapter 4
Linux
This chapter includes the following topics:
■ Verify that a SCSI low-level driver is installed for each HBA in your system, as
follows:
■ Follow the HBA vendor's installation guide to install or load the driver in the
kernel.
■ Configure the kernel for SCSI tape support and 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 the Linux
documentation.
For more information, refer to your HBA vendor documentation.
■ Multipath configurations (multiple paths to robots and drives) are supported only
with the following configurations:
■ Native path (/dev/nstx, /dev/sgx)
■ The sysfs file system that is mounted on /sys
After you configure the hardware, add the robots and the drives to NetBackup.
■ SCSI tape (st) driver. This driver allows the use of SCSI tape drives.
■ Standard SCSI driver.
■ SCSI-adapter driver.
The standard Enterprise Linux releases have the sg and the st modules available
for loading. The modules are loaded as needed. Also, you can load these modules
if they are not in the kernel. Use the following commands:
/sbin/modprobe st
/sbin/modprobe sg
lsmod
Module Size Used by
sg 14844 0
st 24556 0
NetBackup uses device files to configure control for SCSI tape devices, including
robotic devices. (A robotic device in a library moves the media between storage
slots and the drives in the library.)
See “About the Linux robotic control device files ” on page 52.
See “About the Linux tape drive device files” on page 52.
■ API control over a LAN.
See the "ADIC Automated Media Library (AML)" topic of this guide.
See the "IBM Automated Tape Library (ATL)" topic of this guide.
See the "Sun StorageTek ACSLS robots" topic of this guide.
Attached devices:
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: HP Model: C7200-8000 Rev: 1040
Type: Medium Changer ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 02 Lun: 00
Vendor: QUANTUM Model: DLT8000 Rev: 010F
Type: Sequential-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 03 Lun: 00
Vendor: QUANTUM Model: DLT8000 Rev: 010F
Type: Sequential-Access ANSI SCSI revision: 02
You can use theNetBackup robtest utility to test robots. The robtest utility resides
in /usr/openv/volmgr/bin.
A set of SCSI utilities are available from the Linux SCSI Generic (sg) driver home
page.
■ Special configuration for the Oracle StorEdge Network Foundation HBA driver
After you configure the hardware, add the robots and the drives to NetBackup.
For full feature support, NetBackup requires the sg driver and SCSI pass-through
device paths.
Install the NetBackup sg driver on each Solaris NetBackup media server that hosts
tape devices. Each time you add or remove a device, you should reinstall the sg
driver again.
If you do not use a pass-through driver, performance suffers.
NetBackup uses the pass-through driver for the following:
■ By avrd and robotic processes to scan drives.
■ By NetBackup to position tapes by using the locate-block method.
■ By NetBackup for SAN error recovery.
■ By NetBackup for Quantum SDLT performance optimization.
■ By NetBackup for SCSI reservations.
■ By NetBackup device configuration to collect robot and drive information.
■ To collect Tape Alert information from tape devices allowing support of functions
such as tape drive cleaning.
■ For WORM tape support.
■ Future NetBackup features and enhancements
Note: Because NetBackup uses its own pass-through driver, NetBackup does not
support the Solaris sgen SCSI pass-through driver.
If the script detects a StorEdge Network Foundation HBA, it produces output similar
to the following example:
Each time you add or remove a device, you should configure the NetBackup sg
driver and the Sun st driver again.
See “About the NetBackup sg driver” on page 57.
For 6 GB and larger serial attached SCSI (SAS) HBAs, also configure class 08 and
0101 for the sg driver.
See “Configuring 6 GB and larger SAS HBAs in Solaris” on page 65.
In some instances, Veritas products are configured to use a specific target ID. If
you change the ID, the products fail until you configure the ID correctly.
How you bind devices to targets is vendor and product specific. For information
about how to modify the HBA configuration files to bind devices to targets, see the
documentation for the HBA.
The binding may be based on the following:
■ Fibre Channel World Wide Port Name (WWPN)
■ World Wide Node Name (WWNN)
■ The destination target ID and LUN
After you bind the devices to target IDs, continue with the Solaris configuration in
the same manner as for parallel SCSI installations.
See “Installing/reinstalling the sg and the st drivers” on page 60.
Each time you add or remove a device, you must update the bindings and then
configure the sg and the st drivers again.
2 Change the mpxio-disable value from no to yes. After the change, the line
in the file should appear as follows:
mpxio-disable="yes"
Each time you add or remove a device, you should configure the NetBackup sg
driver and the Sun st driver again. For 6 GB and larger serial-attached SCSI (SAS)
HBAs, also configure class 08 and 0101 for the sg driver.
See “Configuring 6 GB and larger SAS HBAs in Solaris” on page 65.
Before you configure the sg and the st drivers, ensure that all devices are turned
on and connected to the HBA.
See “About the NetBackup sg driver” on page 57.
The sg.build command uses the Solaris sasinfo command to probe for SAS
attached device paths. This command is only available on Solaris 11 and later. On
Solaris 10 and earlier, you must configure the sg driver manually.
To install and configure the sg and the st drivers
1 Invoke the following two commands to run the NetBackup sg.build script:
cd /usr/openv/volmgr/bin/driver
/usr/openv/volmgr/bin/sg.build all -mt target -ml lun
■ The -mt target option and argument specify the maximum target ID that
is in use on the SCSI bus (or bound to an FCP HBA). The maximum value
is 126. By default, the SCSI initiator target ID of the adapter is 7, so the
script does not create entries for target ID 7.
Solaris 62
Installing/reinstalling the sg and the st drivers
■ The -ml lun option and argument specify the maximum number of LUNs
that are in use on the SCSI bus (or by an FCP HBA). The maximum value
is 255.
2 Replace the following seven entries in the /kernel/drv/st.conf file with all
of the entries from the /usr/openv/volmgr/bin/driver/st.conf file:
You should make a backup copy of the /kernel/drv/st.conf file before you
modify it.
3 Reboot the system with the reconfigure option (boot -r or reboot -- -r).
During the boot process, the system probes all targets in the st.conf file for
devices. It should create device files for all of the devices it discovers.
4 Verify that Solaris created the device nodes for all the tape devices by using
the following command:
ls -l /dev/rmt/*cbn
5 Install the new sg driver configuration by invoking the following two commands:
/usr/bin/rm -f /kernel/drv/sg.conf
/usr/openv/volmgr/bin/driver/sg.install
6 Verify that the <command>sg</command> driver finds all of the robots and
tape drives.
Solaris 63
Installing/reinstalling the sg and the st drivers
type=ddi_pseudo;name=sg;addr=0,1; sg/c\N0t0l1
type=ddi_pseudo;name=sg;addr=0,2; sg/c\N0t0l2
type=ddi_pseudo;name=sg;addr=0,3; sg/c\N0t0l3
type=ddi_pseudo;name=sg;addr=0,4; sg/c\N0t0l4
type=ddi_pseudo;name=sg;addr=0,5; sg/c\N0t0l5
type=ddi_pseudo;name=sg;addr=0,6; sg/c\N0t0l6
type=ddi_pseudo;name=sg;addr=0,7; sg/c\N0t0l7
type=ddi_pseudo;name=sg;addr=1,0; sg/c\N0t1l0
type=ddi_pseudo;name=sg;addr=1,1; sg/c\N0t1l1
...
<entries omitted for brevity>
...
type=ddi_pseudo;name=sg;addr=f,5; sg/c\N0t15l5
type=ddi_pseudo;name=sg;addr=f,6; sg/c\N0t15l6
type=ddi_pseudo;name=sg;addr=f,7; sg/c\N0t15l7
type=ddi_pseudo;name=sg;addr=w500104f0008d53c3,0; sg/c\N0t\A1l0
type=ddi_pseudo;name=sg;addr=w500104f0008d53c3,1; sg/c\N0t\A1l1
type=ddi_pseudo;name=sg;addr=w500104f0008d53c6,0; sg/c\N0t\A1l0
type=ddi_pseudo;name=sg;addr=w500104f0008d53c6,1; sg/c\N0t\A1l1
type=ddi_pseudo;name=sg;addr=w500104f0008d53c9,0; sg/c\N0t\A1l0
type=ddi_pseudo;name=sg;addr=w500104f0008d53c9,1; sg/c\N0t\A1l1
type=ddi_pseudo;name=sg;addr=w500104f0008d53cc,0; sg/c\N0t\A1l0
type=ddi_pseudo;name=sg;addr=w500104f0008d53cc,1; sg/c\N0t\A1l1
type=ddi_pseudo;name=sg;addr=w500104f0008d53b9,0; sg/c\N0t\A1l0
type=ddi_pseudo;name=sg;addr=w500104f0008d53b9,1; sg/c\N0t\A1l1
type=ddi_pseudo;name=sg;addr=w500104f0008d53c3,0; sg/c\N0t\A1l0
type=ddi_pseudo;name=sg;addr=w500104f0008d53c3,1; sg/c\N0t\A1l1
type=ddi_pseudo;name=sg;addr=w500104f0008d53c6,0; sg/c\N0t\A1l0
type=ddi_pseudo;name=sg;addr=w500104f0008d53c6,1; sg/c\N0t\A1l1
type=ddi_pseudo;name=sg;addr=w500104f0008d53c9,0; sg/c\N0t\A1l0
type=ddi_pseudo;name=sg;addr=w500104f0008d53c9,1; sg/c\N0t\A1l1
type=ddi_pseudo;name=sg;addr=w500104f0008d53cc,0; sg/c\N0t\A1l0
type=ddi_pseudo;name=sg;addr=w500104f0008d53cc,1; sg/c\N0t\A1l1
type=ddi_pseudo;name=sg;addr=w500104f0008d53b9,0; sg/c\N0t\A1l0
type=ddi_pseudo;name=sg;addr=w500104f0008d53b9,1; sg/c\N0t\A1l1
# end SCSA devlinks
Note: Support for Solaris 6 GB serial-attached SCSI (SAS) HBAs for tape devices
requires a specific Solaris patch level. Ensure that you install the required patches.
For supported Solaris versions, see the Oracle Support website.
6 GB SAS tape devices should have iport@ in the name path. The following
is an example of the output (the tape drive address is highlighted):
type=ddi_pseudo;name=sg;addr=wdrive_address,0,1; sg/c\N0t\A1l0
type=ddi_pseudo;name=sg;addr=wdrive_address,1,1; sg/c\N0t\A1l1
Include the following lines for every 6 GB SAS robotic library in the
/etc/devlink.tab file. Replace drive_address with the tape drive address;
see the output from step 1 for the tape drive address.
type=ddi_pseudo;name=medium-changer;addr=wdrive_address,0; sg/c\N0t\A1l0
type=ddi_pseudo;name=medium-changer;addr=wdrive_address,1; sg/c\N0t\A1l1
3 Verify that the sg driver SCSI classes are 08 and 0101 by running the following
command:
grep sg /etc/driver_aliases
sg "scsiclass,0101"
sg "scsiclass,08"
4 If the sg driver SCSI classes are not 08 and 0101, reinstall the sg driver by
using the following commands:
rem_drv sg
update_drv -d -i "scsiclass,08" sgen
add_drv -m '* 0600 root root' -i '"scsiclass,0101" "scsiclass,08"' sg
The following is an example of the output (the output was modified to fit on the
page):
c0tw500104f000ba856al0 ->
../../devices/pci@400/pci@0/pci@9/LSI,sas@0/iport@8/sg@w500104f000ba856a,0,1:raw
c0tw500104f000ba856al1 ->
../../devices/pci@400/pci@0/pci@9/LSI,sas@0/iport@8/medium-changer@w500104f000ba856a,1:raw
7 Verify that the NetBackup sgscan utility recognizes the tape devices by entering
the following command:
/usr/openv/volmgr/bin/sgscan
The drivers NetBackup uses are the st driver (from Sun), the sg driver (from Veritas),
and Fibre Channel drivers. Problems may occur depending on when the driver
loads and unloads. These problems can range from a SCSI bus not able to detect
a device to system panics.
Veritas recommends that you prevent Solaris from unloading the drivers from
memory.
The following procedures describe how to prevent Solaris from unloading the drivers
from memory.
To prevent Solaris from unloading the drivers from memory
◆ Add the following forceload statements to the /etc/system file:
forceload: drv/st
forceload: drv/sg
To prevent Solaris from unloading the Fibre Channel drivers from memory
◆ Add an appropriate forceload statement to the /etc/system file.
Which driver you force to load depends on your Fibre Channel adapter. The
following is an example for a Sun Fibre Channel driver (SunFC FCP
v20100509-1.143):
forceload: drv/fcp
# /usr/openv/volmgr/bin/sgscan all
/dev/sg/c0t6l0: Cdrom: "TOSHIBA XM-5401TASUN4XCD"
/dev/sg/c1tw500104f0008d53b9l0: Changer: "STK SL500"
/dev/sg/c1tw500104f0008d53c3l0: Tape (/dev/rmt/0): "HP Ultrium 3-SCSI"
/dev/sg/c1tw500104f0008d53c6l0: Tape (/dev/rmt/1): "HP Ultrium 3-SCSI"
/dev/sg/c1tw500104f0008d53c9l0: Tape (/dev/rmt/2): "IBM ULTRIUM-TD3"
/dev/sg/c1tw500104f0008d53ccl0: Tape (/dev/rmt/3): "IBM ULTRIUM-TD3"
/dev/sg/c2t1l0: Changer: "STK SL500"
/dev/sg/c2t2l0: Tape (/dev/rmt/22): "HP Ultrium 3-SCSI"
/dev/sg/c2t3l0: Tape (/dev/rmt/10): "HP Ultrium 3-SCSI"
/dev/sg/c2tal0: Tape (/dev/rmt/18): "IBM ULTRIUM-TD3"
/dev/sg/c2tbl0: Tape (/dev/rmt/19): "IBM ULTRIUM-TD3"
/dev/sg/c3t0l0: Disk (/dev/rdsk/c1t0d0): "FUJITSU MAV2073RCSUN72G"
/dev/sg/c3t3l0: Disk (/dev/rdsk/c1t3d0): "FUJITSU MAV2073RCSUN72G"
You can filter the sgscan output for device types by using other sgscan options.
The following is the sgscan usage statement:
sgscan [all|basic|changer|disk|tape] [conf] [-v]
When you configure the Solaris st driver, Solaris creates the device files for the
attached tape devices
See “Installing/reinstalling the sg and the st drivers” on page 60.
The device files are in the /dev/rmt directory, and they have the following format:
/dev/rmt/IDcbn
■ c indicates compression.
If you use device discovery in NetBackup, NetBackup discovers the device files
and hence the devices. If you add a tape drive to a NetBackup configuration
manually, you must specify the pathname to the device file. NetBackup requires
compression, no rewind on close, and Berkeley-style close device files.
To display the tape device files that are configured on your system, use the sgscan
command with the tape parameter, as follows:
# /usr/openv/volmgr/bin/sgscan tape
/dev/sg/c1tw500104f0008d53c3l0: Tape (/dev/rmt/0): "HP Ultrium 3-SCSI"
/dev/sg/c1tw500104f0008d53c6l0: Tape (/dev/rmt/1): "HP Ultrium 3-SCSI"
/dev/sg/c1tw500104f0008d53c9l0: Tape (/dev/rmt/2): "IBM ULTRIUM-TD3"
/dev/sg/c1tw500104f0008d53ccl0: Tape (/dev/rmt/3): "IBM ULTRIUM-TD3"
/dev/sg/c2t2l0: Tape (/dev/rmt/22): "HP Ultrium 3-SCSI"
/dev/sg/c2t3l0: Tape (/dev/rmt/10): "HP Ultrium 3-SCSI"
/dev/sg/c2tal0: Tape (/dev/rmt/18): "IBM ULTRIUM-TD3"
/dev/sg/c2tbl0: Tape (/dev/rmt/19): "IBM ULTRIUM-TD3"
■ For the HP Ultrium3 SCSI drive at SCSI ID 2 of adapter 2, the device file
pathname is:
/dev/rmt/22cbn
Solaris 71
About Solaris tape drive device files
You can show all device types by using the all option. The output can help you
associate tape devices with other SCSI devices that may be configured on the same
adapter. The following is the sgscan usage statement:
sgscan [all|basic|changer|disk|tape] [conf] [-v]
DLT7k-data = 1,0x38,0,0x20000,4,0x82,0x83,0x84,0x85,2;
For more information about the st.conf file, see the Solaris st(7D) man page.
Solaris 73
Configuring Solaris SAN clients to recognize FT media servers
1 Add the Fibre Transport device entry to See “Adding the FT device entry to the
the st.conf file st.conf file” on page 73.
2 Modify the st.conf file so that Solaris See “Modifying the st.conf file so that
discovers devices on two LUNS Solaris discovers devices on two LUNS”
on page 74.
4 Find the line that begins with ARCH_04106, copy it, and paste it after the
tape-config-list= line. Delete the comment character (#) from the beginning
of the line. The following is an example of the line:
ARCH_04106 = 1, 0x2C, 0, 0x09639, 4, 0x00, 0x8C, 0x8c, 0x8C, 3;
To modify the st.conf file so that Solaris discovers devices on two LUNS
1 Find the following line in the st.conf file:
name="st" class="scsi" target=0 lun=0;
2 Replace that line and the following lines through target 5 with the following.
Doing so modifies the st.conf file to include searches on non-zero LUNs.
■ /usr/sbin/modinfo | grep sg
Displays whether or not the sg driver is installed.
■ /usr/openv/volmgr/bin/driver/sg.install
Installs the sg driver or updates the sg driver.
■ /usr/sbin/rem_drv sg
Uninstalls the sg driver. This command usually is not necessary because
sg.install uninstalls the old driver before it upgrades a driver.
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.
■ Information about how to configure API robot control over a LAN is available
See the "ADIC Automated Media Library (AML)" topic in this guide.
See the "IBM Automated Tape Library (ATL)" topic in this guide.
See the "Sun StorageTek ACSLS robots" topic in this guide.
After configuring the hardware, add the drives and robots to NetBackup.
■ Robot attributes
■ Table-driven robotics
■ Robotic processes
ACS Automated Cartridge System 1680 No limit API control. The ACS library
software host determines the
drive limit.
Note: The user interface for NetBackup may show configuration options for the
peripheral devices that are not supported in that release. Those devices may be
supported in an earlier release, and a NetBackup master server can manage the
hosts that run earlier NetBackup versions. Therefore, the configuration information
for such devices must appear in the user interface. The NetBackup documentation
also may describe the configuration information for such devices. To determine
which versions of NetBackup support which peripheral devices, see the hardware
compatibility list:
http://www.netbackup.com/compatibility
For configuration information about the robots that NetBackup supports in releases
earlier than 8.0 Draft, see the NetBackup Device Configuration Guide for that
release, available through the following URL:
http://www.veritas.com/docs/DOC5332
Robot attributes
NetBackup configures and controls robots differently depending on the robot type.
The following tables list the attributes that dictate how these robot types differ.
For more detailed information about supported devices, firmware levels, and
platforms, see the hardware compatibility list for your NetBackup version:
http://www.netbackup.com/compatibility
ACS robots
Unlike other robot types, NetBackup does not track slot locations for the media in
ACS robots. The ACS library software tracks slot locations and reports them to
NetBackup.
The following table describes the ACS robot attributes.
Robot overview 82
Robot attributes
SCSI control No
Remote Robot control No. Each host that has ACS drives that are attached to it has
robotic control.
Drive cleaning support No. The ACS library software manges drive cleaning.
Media type support DLT, DLT2, DLT3, HCART, HCART2, and HCART3.
TLD robots
The following table describes the tape library DLT attributes.
API robot No No
Hosts supported Windows, UNIX, and Linux. Windows, UNIX, and Linux.
Media type support DLT, DLT2, DLT3, DTF, 8MM, DLT, DLT2, DLT3, DTF, 8MM,
8MM2, 8MM3, QIC, HCART, 8MM2, 8MM3, QIC, HCART,
HCART2, HCART3 HCART2, HCART3
Barcode support Yes. Barcodes can be from 1 to Yes. Barcodes can be from 1 to
16 characters in length. The 16 characters in length. The
Media Manager media ID is six Media Manager media ID is six
or fewer characters. or fewer characters.
Table-driven robotics
Table-driven robotics provides support for new robotic library devices without the
need to modify any library control binary files. This feature uses a device mapping
file for supported robots and drives.
You may be able to add support for new or upgraded devices without waiting for a
maintenance patch from Veritas. The device mapping file includes the information
that relates to the operation and control of libraries. Therefore, you can download
an updated mapping file to obtain support for newly NetBackup-certified devices.
For the device mappings file downloads, see the following URL:
http://www.netbackup.com/compatibility
Robot overview 84
Robotic test utilities
■ install_path\Veritas\Volmgr\bin\robtest.exe (Windows)
From each test utility, you can obtain a list of available test commands by entering
a question mark (?).
Use the drstat command to determine the drive addressing parameters for the
ACS robot type. This command is available in the robotic test utilities for these robot
types.
NetBackup addresses drives as follows:
■ For ACS robot types, by ACS, LSM, Panel, and Drive number
■ For other robot types, by the robot drive number
Robotic processes
A NetBackup robotic process and possibly a robotic control process exist on a
NetBackup media server for each robot that you install, as follows:
■ Every media server that has a drive in a robotic library has a robotic process
for that robotic library. The robotic process receives requests from the NetBackup
Device Manager (ltid) and sends necessary information directly to the robotics
or to a robotic control process.
■ Robotic control processes exist only for the robot types that support library
sharing (or robot sharing).
When the NetBackup Device Manager starts, it starts the robotic processes and
the robotic control processes for all of the configured robots on that host. When the
Device Manager stops, the robotic processes and the robotic control processes
stop. (On UNIX, the name is Media Manager Device daemon.)
You can start and stop the Device Manager manually by using the NetBackup
Administration Console as follows:
■ In the NetBackup Activity Monitor Daemons tab, select it and then select
Actions Start Daemon or Stop Daemon.
■ Select Device Monitor, Media, or Devices in the right pane and then select
Actions Stop/Restart Media Manager Device Daemon.
Robot overview 85
Robotic processes
Automated Cartridge acsd The NetBackup ACS daemon acsd provides robotic control to mount and
System (ACS) dismount volumes. It also requests inventories of the volumes that are under
the control of ACS library software.
acssel The NetBackup ACS storage server interface (SSI) event logger acssel
logs events. UNIX and Linux only.
acsssi The NetBackup ACS storage server interface (SSI) acsssi communicates
with the ACS library software host. acsssi processes all RPC
communications from acsd or from the ACS robotic test utility that are
intended for the ACS library software. UNIX and Linux only.
Tape library DLT (TLD) tldd The tape library DLT daemon tldd runs on a NetBackup server that has a
drive in the tape library DLT. This process receives NetBackup Device
Manager requests to mount and unmount volumes, and sends these requests
to the robotic-control process, tldcd.
Robot overview 86
Robotic processes
tldcd The tape library DLT Control daemon tldcd communicates with the tape
library DLT robotics through a SCSI interface.
For library sharing, tldcd runs on the NetBackup server that has the robotic
control.
Tape library 4MM (TL4) tl4d The tape library 4MM daemon tl4d runs on the host that has a tape library
4MM. This process receives NetBackup Device Manager requests to mount
and unmount volumes and communicates these requests to the robotics
through a SCSI interface.
Tape library 8MM (TL8) tl8d The tape library 8MM daemon tl8d runs on a NetBackup server that has a
drive in the tape library 8MM. This process receives NetBackup Device
Manager requests to mount and unmount volumes, and sends these requests
to the robotic-control process, tl8cd.
tl8cd The tape library 8MM Control daemon tl8cd communicates with the TL8
robotics through a SCSI interface.
For library sharing, tl8cd runs on the NetBackup server that has the robotic
control.
Tape library Half-inch tlhd The tape library Half-inch daemon tlhd runs on each NetBackup server
(TLH) that has a drive in the tape library Half-inch. This process receives NetBackup
Device Manager requests to mount and unmount volumes and sends these
requests to the robotic-control process.
tlhcd The tape library half-inch control daemon tlhcd runs on the NetBackup
server that has the robotic control. It communicates with the TLH robotics
through a SCSI interface
Tape library Multimedia tlmd tlmd runs on the NetBackup server and communicates mount and unmount
(TLM) requests to the host that controls the TLM robotics.
Host A
Host B
Robotic control host
Robotics
tldcd
Drive 1
SCSI SCSI
Drive 2
ACSLS
NetBackup media server Administrative Utility
acssel
Database
Device Drivers
SCSI SCSI
Library Management
Unit (LMU)
Robotics
Unit (CU)
Drive
Drive
ACSLS
NetBackup media server Administrative Utility
Database
Device Drivers
SCSI SCSI
Library Management
Unit (LMU)
Robotics
CAP
Module (LSM)
(CU) Drive
Drive
Component Description
NetBackup media server Specifies a host that has NetBackup media server software and is a client to the ACS
library software host.
The NetBackup ACS robotic daemon (acsd) formulates requests for mounts, unmounts,
and inventories. An API then uses IPC communication to routes these requests to:
■ (UNIX) The NetBackup ACS storage server interface (acsssi). The requests are
converted into RPC-based communications and sent to the ACS library software.
■ (Windows) the Oracle StorageTek LibAttach service. This service sends the requests
to the ACS library software.
Oracle StorageTek Specifies that Library Attach for Windows, an ACS library software client application,
LibAttach Service enables Windows servers to use the StorageTek Nearline enterprise storage libraries.
Windows computers only LibAttach provides the connection between Windows and ACS library software through
a TCP/IP network.
Obtain the appropriate LibAttach software from Oracle. See the Veritas support Web site
for the latest compatibility information.
The following ACS library Receives the robotic requests from NetBackup and uses the Library Management Unit
software: to find and mount or unmount the correct cartridge on media management requests.
■ Automated Cartridge On compatible host platforms, you may be able to configure ACS library software and
System Library NetBackup media server software on the same host.
Software (ACSLS)
■ Sun StorageTek Library
Station
Library Management Unit Provides the interface between the ACS library software and the robot. A single LMU
(LMU) can control multiple ACSLS robots.
Control Unit (CU) Specifies that the NetBackup media server connects to the drives through device drivers
and a control unit (tape controller). The control unit may have an interface to multiple
drives. Some control units also allow multiple hosts to share these drives.
Most drives do not require a separate control unit. In these cases, the media server
connects directly to the drives.
An API then uses Internal Process Communications (IPC) to send the request
on the following systems:
■ UNIX. The NetBackup ACS storage server interface acsssi. The request is
then converted into RPC-based communications and sent to the ACS library
software.
■ Windows. The Oracle StorageTek LibAttach service. This service sends the
request to the ACS library software.
■ If the Library Storage Module (LSM) in which the media resides is offline, the
ACS library software reports this offline status to NetBackup. NetBackup assigns
the request a pending status. NetBackup retries the request hourly until the LSM
is online and the ACS library software can satisfy the media request.
■ The ACS library software locates the media and sends the necessary information
to the Library Management Unit (LMU).
■ The LMU directs the robotics to mount the media in the drive. When the LibAttach
service (Windows) or acsssi (UNIX) receives a successful response from the
ACS library software, it returns the status to acsd.
■ The acsd child process (that is associated with the mount request) scans the
drive. When the drive is ready, acsd sends a message to ltid that completes
the mount request. NetBackup then begins to send data to or read data from
the drive.
Before you configure drives in NetBackup, configure the operating system tape
drivers and device files for those drives. For information about how to do so, refer
to the operating system documentation. For guidance about the NetBackup
requirements, see the information about the host operating system in this guide
Use the same methods to create or identify device files for these drives as for other
drives. If the drives are SCSI and connect to the robot through a shared control
unit, the drives share the same SCSI ID. Therefore, you must specify the same
logical unit number (LUN) for each drive.
When you configure ACS drives as robotic in NetBackup, you must include the
ACS drive coordinate information.
The following table shows the ACS drive coordinates.
ACS number Specifies the index, in ACS library software terms, that
identifies the robot that has this drive.
LSM number Specifies the Library Storage Module that has this drive.
Drive number Specifies the physical number of the drive in ACS library
software terms.
The following figure shows the location of this information in a typical ACS robot.
Oracle StorageTek ACSLS robots 95
Configuring shared ACS drives
ID
SI
Panel number (0-19)
SC
Robotics
ve
ri
D
SCSI ID Control Drive
Unit (CU) Library Storage SCSI ID
Module (LSM) Drive
Drive
Drive number
(0-19)
these configuration steps require that you configure only 20 device paths rather
than 600 device paths.
During the setup phase, the NetBackup Device Configuration Wizard tries to
discover the tape drives available. The wizard also tries to discover the positions
of the drives within the library (if the robot supports serialization).
A SAN (including switches rather than direct connection) can increase the possibility
of errors. If errors occur, you can define the tape drive configuration manually by
using the NetBackup Administration Console or NetBackup commands.
Take care to avoid any errors. With shared drives, the device paths must be correct
for each server. Also, ensure that the drives are defined correctly to avoid errors.
(A common error is to define a drive as ACS index number 9 rather than ACS index
0.)
Use the following procedure to configure shared drives in a nonserialized
configuration.
To configure shared drives in a nonserialized configuration
1 Run the NetBackup Device Configuration Wizard on one of the hosts to which
drives in an ACS-controlled library are attached. Allow the drives to be added
as stand-alone drives.
2 Add the ACS robot definition and update each drive to indicate its position in
the robot. Make each drive robotic and add the ACS, LSM, Panel, and Drive
information.
Information about how to determine the correct drive addresses and how to
verify the drive paths is available. See "Correlating device files to physical
drives" in the NetBackup Administrator’s Guide, Volume I.
3 After you verify the drive paths on one host, run the Device Configuration
Wizard again. Scan all hosts that have ACS drives in the library.
The wizard adds the ACS robot definition and the drives to the other hosts and
uses the correct device paths.
For this process to work correctly, the following must be true:
■ The wizard discovered the devices and their serial numbers successfully
the first time.
■ You configured the drive paths correctly on the first host.
Oracle StorageTek ACSLS robots 97
Adding tapes to ACS robots
Task Description
Add barcode labels to the The Library Manager reads the bar codes and classifies the media by media type. A
media and insert the media category is assigned to each volume. Some volume categories restrict application
into the robot by using the access to certain volumes. The Library Manager tracks volume locations.
media access port.
http://www.veritas.com/docs/DOC5332
Because the ACS volume IDs and bar codes are the same, NetBackup has a record
of the bar codes for the media. Note that you do not enter slot locations because the
ACS library software manages slot locations.
Verify the volume Use Show Contents and Compare Contents with Volume Configuration from the
configuration Robot Inventory dialog.
Information about the default media type mappings and how to configure media
type mappings is available.
See the NetBackup Administrator’s Guide, Volume I.
The following table shows an example of the ACS drive coordinates that NetBackup
receives.
100011 DLTIV 0 0
200201 DD3A 0 0
412840 STK1R 0 1
412999 STK1U 0 1
521212 JLABEL 0 0
521433 STK2P 0 1
521455 STK2W 0 1
770000 LTO_100G 0 0
Oracle StorageTek ACSLS robots 100
Robot inventory operations on ACS robots
775500 SDLT 0 0
900100 EECART 0 0
900200 UNKNOWN 0 0
3 On the NetBackup media server from which you invoke the inventory operation,
add an INVENTORY_FILTER entry to the vm.conf file. The following is the
usage statement:
Note: Veritas recommends that acssel run continuously because it tries to connect
on the event logger's socket for its message logging. If acsssi cannot connect to
acssel, NetBackup cannot process requests immediately. Therefore, retry and
error recovery situations can occur.
Oracle StorageTek ACSLS robots 103
NetBackup robotic control, communication, and logging
On UNIX systems, only the kill command stops acssel. The NetBackup
bp.kill_all utility (UNIX ) stops the acssel process. On Windows systems, the
bpdown.exe program stops the acssel process.
2 Stop the acsd, acsssi, and acssel processes by invoking the following script.
(This script stops all NetBackup processes.)
/usr/openv/NetBackup/bin/bp.kill_all
3 Restart the NetBackup daemons and processes by invoking the following script:
/usr/openv/NetBackup/bin/bp.start_all
Oracle StorageTek ACSLS robots 104
NetBackup robotic control, communication, and logging
2 Set the wanted socket name in an environment variable and export it. The
following is an example:
ACS_SEL_SOCKET = 13799
export ACS_SEL_SOCKET
4 Set the ACS library software host name for acsssi in an environment variable.
CSI_HOSTNAME = einstein
export CSI_HOSTNAME
6 Optionally, start acstest by using the robtest utility or by using the following
command:
/usr/openv/volmgr/bin/acstest -r einstein -s 13741
If you request SCSI unloads, you also must specify drive paths on the acstest
command line.
See “ACS robotic test utility” on page 106.
The robtest utility specifies drive paths automatically if ACS drives have been
configured.
7 Start ltid as follows, which starts acsd. You can use the -v option for verbose
message output.
/usr/openv/volmgr/bin/ltid
During initialization, acsd obtains the SSI Event Logger socket name from
vm.conf and sets ACS_SEL_SOCKET in the environment before it starts acssel.
If acsssi is started manually, it has to use (listen on) the same SSI socket that
acsd uses to send data.
Oracle StorageTek ACSLS robots 105
NetBackup robotic control, communication, and logging
You can specify the socket name (IP port) used by acsssi in any of the following
ways:
■ On the command line when you start acsssi.
■ By using an environment variable (ACS_SSI_SOCKET).
■ Through the default value.
If you configure acsssi to use a nondefault socket name, you also must configure
the ACS daemon and ACS test utility to use the same socket name.
The ACS library software host name is passed to acsssi by using the CSI_HOSTNAME
environment variable.
acsssi is based on the Sun StorageTek storage server interface. Therefore, it
supports environment variables to control most aspects of operational behavior.
See “Optional environment variables” on page 106.
The following is an example entry (do not use the IP address of the ACS library
host for this parameter):
ACS_SSI_SOCKET = einstein 13750
Oracle StorageTek ACSLS robots 106
ACS robotic test utility
Before you can start acsssi manually, you must configure the CSI_HOSTNAME
environment variable. The following is a Bourne shell example:
CSI_HOSTNAME=einstein
export CSI_HOSTNAME
/usr/openv/volmgr/bin/acsssi 13741 &
Environment Description
variable
SSI_HOSTNAME Specifies the name of the host where ACS library software RPC
return packets are routed for ACS network communications. By
default, the local host name is used.
CSI_RETRY_TIMEOUT Set this variable to a small positive integer. The default is 2 seconds.
CSI_RETRY_TRIES Set this variable to a small positive integer. The default is five retries.
CSI_CONNECT_AGETIME Set this variable to a value between 600 seconds and 31536000
seconds. The default is 172800 seconds.
eject, mount, unload, and dismount volumes. In addition, acstest lets you define,
delete, and populate ACS library software scratch pools.
While acsd services requests, do not use acstest. Communication problems may
occur if acsd and acstest process ACS requests at the same time.
The following example assumes that the acsssi process has been started by using
socket 13741:
/usr/openv/volmgr/bin/acstest -r einstein -s 13741
Any acsssi processes must be canceled after your changes are made and before
the Media Manager device daemon ltid is restarted. Also, for the acstest utility
to function, acsssi for the selected robot must be running.
Use the following procedure to update NetBackup after you change your
configuration.
To update NetBackup after you change your configuration
1 Make your configuration changes.
2 Use /usr/openv/NetBackup/bin/bp.kill_all to stop all running processes.
3 Restart the NetBackup daemons and processes by invoking the following script:
/usr/openv/NetBackup/bin/bp.start_all
Figure 8-4 Multiple ACS robots, one ACS library software host
Robot 1
Sun
NetBackup Server
StorageTek
ACS 0
ACS(10) controls drive 1
ACS Library
ACS(20) controls drive 2
Software
Host
Robot 2
Sun
StorageTek
ACS 1
Inventory requests include: the volumes that are configured on the ACS library
software host that resides on the ACS robot that is designated in the drive address.
In this example, assume the following about drive 1:
■ Has an ACS drive address (ACS, LSM, panel, drive) of 0,0,1,1 in the NetBackup
device configuration
■ Is under control of robot number 10 (ACS(10)).
If any other robot ACS(10) drives have a different ACS drive address (for example,
1,0,1,0), the configuration is invalid.
NetBackup supports configurations of multiple LSMs in a single ACS robot if a
pass-through port exists.
Figure 8-5 Multiple ACS robots, multiple ACS library software hosts
Inventory requests include the volumes that are configured on the ACS library
software hosts (Host A for Robot 1 and Host B for Robot 2). The software hosts
reside on the robot (ACS 0 for each) that is designated in the Sun StorageTek drive
address.
In this example, assume the following about drive 1:
■ Has an ACS drive address (ACS, LSM, panel, drive) of 0,0,1,1 in the NetBackup
device configuration
■ Is under control of robot number 10 (ACS(10))
If any other robot ACS(10) drives have a different ACS drive address (for example,
1,0,1,0), the configuration is invalid.
NetBackup supports configurations of multiple LSMs in a single ACS robot if a
pass-through port exists.
■ ACS_SSI_INET_PORT
■ ACS_TCP_RPCSERVICE
The Sun StorageTek ACSLS server configuration options must match the entries
in the vm.conf file. For example, in a typical ACSLS firewall configuration, you
would change the following settings as shown:
■ Changes to alter use of TCP protocol...
Set to TRUE - Firewall-secure ACSLS runs across TCP.
■ Changes to alter use of UDP protocol...
Set to FALSE - Firewall-secure ACSLS runs across TCP.
■ Changes to alter use of the portmapper...
Set to NEVER - Ensures that the ACSLS server does not query the portmapper
on the client platform.
■ Enable CSI to be used behind a firewall...
Set to TRUE - Allows specification of a single port for the ACSLS server.
■ Port number used by the CSI...
The port that the user chooses. The 30031 default value is used most often.
This port number must match the port number that you specify in the NetBackup
vm.conf file.
For complete information about setting up a firewall-secure ACSLS server, refer to
your vendor documentation.
Chapter 9
Device configuration
examples
This chapter includes the following topics:
acsd
SCSI
Data
Panel 2 Robotics
lun 0
Drive 0
CAP
Library Storage
Control unit (cu)
lun 1 Module (LSM 0)
Drive 1
This configuration uses an Automated Cartridge System (ACS) robot for storage.
Server shark can be a Windows NetBackup master server or media server.
The following are items to note when you review this example:
■ The Oracle StorageTek ACSLS host (in the Add Robot dialog) is host whale,
where the ACS library software resides. In this example, Automated Cartridge
System Library Software (ACSLS) is installed as the ACS library software.
On some server platforms, you can run NetBackup media server software and
ACS library software on the same server. Therefore, you need only one server.
■ The ACS, LSM, PANEL, and DRIVE numbers are part of the ACS library software
configuration and must be obtained from the administrator of that host.
■ Robot number and ACS number are different terms. Robot number is the robot
identifier used in NetBackup. ACS number is the robot identifier in ACS library
software. These numbers can be different, although they both default to zero.
Device configuration examples 114
An ACS robot on a Windows server example
■ If you connnect the drives through an independent control unit, you must use
the correct Logical Unit Numbers (LUNs) so that the correct tape name is used.
■ The Add Robot dialog entries include an ACSLS Host entry so that the ACS
library software host communicates by using STK LibAttach software. This
software must be installed on each Windows server that has the ACS drives
attached to it.
The following table shows the robot attributes for the remote host shark.
Robot Number 0
Robot control is handled by a remote host Set (cannot be changed for this robot type)
ACS ACS: 0
LSM: 0
PANEL: 2
DRIVE: 0
ACS ACS: 0
LSM: 0
PANEL: 2
DRIVE: 1
acsd
SCSI
Data
Panel 2 Robotics
lun 0
Drive 0
CAP
Library Storage
Control unit (cu)
lun 1 Module (LSM 0)
Drive 1
This configuration uses an Automated Cartridge System (ACS) robot for storage.
Host shark can be a UNIX NetBackup master server or media server.
The following are some items to note when you review this example:
■ The ACSLS Host (in the Add Robot dialog) is server whale, where the ACS
library software resides. In this example, Automated Cartridge System Library
Software (ACSLS) is installed as the ACS library software.
On some server platforms, you can run NetBackup media server software and
ACS library software on the same server. Therefore, you need only one server.
■ The ACS, PANEL, LSM, and DRIVE numbers are part of the ACS library software
configuration and must be obtained from that system.
■ Robot number and ACS number are different terms. Robot number is the robot
identifier used in NetBackup. ACS number is the robot identifier in ACS library
software. These numbers can be different, although they both default to zero.
Device configuration examples 117
An ACS robot on a UNIX server example
■ If you connnect the drives through an independent control unit, you must use
the correct Logical Unit Numbers (LUNs) so that the correct tape name is used.
■ The Add Robot dialog entries include an ACSLS Host entry. That entry configures
NetBackup to use the ACS Storage Server Interface (acsssi) to communicate
with the ACS library software host.
The following table shows the robot attributes.
Robot Number 0
Robot control is handled by a remote host Set (cannot be changed for this robot type)
PANEL Number: 0
DRIVE Number: 0
LSM Number: 2
PANEL Number: 0
DRIVE Number: 1
Index
A acsssi (continued)
ACS. See Automated Cartridge System starting manually 106
ACS daemon (acsd) acstest 104, 107
NetBackup 102 on UNIX systems 107
ACS drives on Windows systems 107
configuring 93 adding tapes
ACS robot to ACS robots 97
ACSLS firewall configuration 110 agile addressing 26
changing configuration 107 AIX
ACS robot on a UNIX server adapter number conventions 13
configuration example 116 adapter numbers 13
ACS robot on a Windows server command summary 23
configuration example 113 configuring robotic control device files for IBM
ACS robot type 81 robots 14
ACS robotic test utility 107 configuring tape drive device files 15
ACS robots 81 disabling SPC-2 SCSI reserve 22
adding tapes 97 introduction 12
removing tapes 97 locate-block 17
robot inventory filtering 100 smit tool 12
robot inventory operations 99 tape drive configuration
with mulitple ACS hosts 109 extended file marks 16
with single ACS host 108 make device files 17
ACS SSI event logger (acssel) multiple densities 21
NetBackup 102 variable mode devices 16
using with a different socket name 103 AL-PA destination ID
ACS storage server interface (acsssi) Solaris 60
NetBackup 105 alternate media types
starting manually 106 ACS robots 93
ACS_SSI_SOCKET API robots 89
configuration option 105 atdd driver
acsd daemon 102 HP-UX 45
acsd process attaching devices
NetBackup 101 to a Windows system 78
ACSLS attributes
configurations 89 robot 81
ACSLS utility Automated Cartridge System
removing tapes 98 adding volumes 97
acssel 102 barcode operations 99
using with a different socket name 103 configuration example 113, 116
acsssi 105 configurations supported 108
environment variables 106 Library Server (ACSLS) 89, 92
media requests 93
Index 120
robotic SCSI
control process 84 pass through driver
test utilities 84 Solaris 57
test utilities, ACS 107 robotic control
robotic control HP-UX 33
for persistent DSFs 29 Linux (2.6 kernel) 52
on HP-UX 26 on Linux 51
on UNIX systems 102 on Solaris 69
on Windows systems 101 SCSI persistent bindings 54
robotic control device files SCSI reservations
for IBM robots in AIX 14 data integrity 9
robotic control, communication, and logging disabling 9
during tape operations 101 disabling SPC-2 reserve in AIX 21
robotic controls disabling SPC-2 reserve in HP-UX 47
SCSI disabling SPC-2 reserve on Solaris 72
HP-UX 33 sctl device file
Linux (2.6 kernel) 52 creating for FCP (Itanium) 41
on AIX 51, 69 creating for FCP (PA-RISC) 39
Solaris 68 creating for SCSI (PA-RISC) 37
robotic inventory sg driver
filtering 100 Linux 50
robotic process Solaris 57
example 86 uninstalling 75
robotics sg.build command
table-driven 83 Solaris 76
robots sg.conf file
ACS 81 example 63
Oracle StorageTek ACSLS 89 sg.install script
TLD 82 Solaris 60, 76
robtest 84, 104 sg.links file
robtest utility example 64
Linux 55 shared ACS drives
configuring 95
S smit command 16
Solaris
SAM utility
adapter card removal 57
HP-UX 47
binding Fibre Channel HBA drivers 59
SAN clients
command summary 75
about drivers for Linux 53
configuring SAN clients 73
configuring drivers on AIX 14
disabling MPxIO 60
configuring drivers on HP-UX 35
disabling SPC-2 reserve on Solaris 72
configuring drivers on Solaris 73
examples of SCSI and FCP robotic control device
schgr device driver
files 69
HP-UX 36
introduction 56
Scripts
locate-block 71
sg.install
no rewind device files 71
Solaris 60
preventing driver unloading 67
scripts
robotic controls 68–69
sgscan 69, 76
SCSI pass through driver 57
Index 124
W
Windows
acstest utility 107
attaching devices 78
tape device drivers 78
world wide node names (WWNN) 60
world wide port names (WWPN) 59–60