NetBackup105 DeviceConfig Guide
NetBackup105 DeviceConfig Guide
Configuration Guide
Release 10.5
NetBackup Device Configuration Guide
Last updated: 2024-09-30
Legal Notice
Copyright © 2024 Veritas Technologies LLC. All rights reserved.
Veritas, the Veritas Logo, Veritas Alta, 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
Make sure that you have the current version of the documentation. Each document displays
the date of the last update on page 2. 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:
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 9
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. Linux
■ Chapter 3. Solaris
■ Chapter 4. Windows
Chapter 2
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
■ Native udev rules for persistent device paths (/dev/tape/by-path)
After you configure the hardware, add the robots and the drives to NetBackup.
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.)
■ API control over a LAN.
See the "Oracle StorageTek ACSLS robots" topic of this guide.
The NetBackup avrd daemon establishes a default tape driver operating mode. If
you change the default mode, NetBackup may not read and write tapes correctly,
which results in data loss.
Linux 15
Verifying the device configuration on Linux
Attached devices:
Host: scsi8 Channel: 00 Id: 05 Lun: 00
Vendor: IBM Model: ULT3580-HH8 Rev: HB81
Type: Sequential-Access ANSI SCSI revision: 06
Host: scsi8 Channel: 00 Id: 05 Lun: 01
Vendor: IBM Model: 3573-TL Rev: 1110
Type: Medium Changer ANSI SCSI revision: 05
Host: scsi2 Channel: 00 Id: 01 Lun: 00
Vendor: IBM Model: ULT3580-HH7 Rev: H9E3
Type: Sequential-Access ANSI SCSI revision: 06
http://www.netbackup.com/compatibility
■ For SCSI controlled libraries, NetBackup issues SCSI commands to the robotic
devices.
For NetBackup to function correctly, the properly named device files must exist,
as follows:
■ NetBackup installs its own pass-through driver, the SCSI generic sg driver.
You must configure this driver properly to create device files for any device
NetBackup uses.
■ The Solaris tape and disk driver interfaces also create a device file for each
tape drive device. These device files must exist for all read or write I/O
capability.
See “About Solaris robotic controls” on page 30.
■ Verify that the Solaris st driver is installed.
■ Verify that the devices are configured correctly. To do so, use the Solaris mt
command and the NetBackup /usr/openv/volmgr/bin/sgscan utility.
For the tape drives that you want to share among NetBackup hosts, ensure that
the operating system detects the devices on the SAN.
■ When you configure devices, you should attach all peripherals and restart the
system with the reconfigure option (boot -r or reboot -- -r).
■ If you remove or replace adapter cards, remove all device files that are
associated with that adapter card.
■ If you use the Automated Cartridge System (ACS) robotic software, you must
ensure that the Solaris Source Compatibility Package is installed. The package
is required so that the ACS software can use the shared libraries in /usr/ucblib.
■ Oracle systems with parallel SCSI host bus adapters do not support 16-byte
SCSI commands on any devices that are attached to these HBAs. Therefore,
those HBAs do not support WORM media. To override this limitation, create a
touch file as follows:
touch /usr/openv/volmgr/database/SIXTEEN_BYTE_CDB
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 19.
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 27.
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 22.
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 27.
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 19.
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 24
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 25
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
If you use device discovery in NetBackup, NetBackup discovers the robotic control
device files in the /dev/sg directory (and hence the devices) automatically. If you
add a robot manually in NetBackup, you must enter the pathname to the device
file.
To display the device files that the sg driver can use, use the NetBackup sgscan
command with the all parameter. The word "Changer" in the sgscan output
identifies robotic control device files.
Examples are available.
See “Examples of SCSI and FCP robotic control device files on Solaris” on page 31.
# /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]
■ 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
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]
Solaris 33
About Solaris tape drive device files
■ 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 Solaris is required.
■ For the tape drives that do not support CRH, you must disable SPC-2 SCSI
reserve in Solaris 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 on Solaris” on page 34.
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.
■ The "How NetBackup reserves drives" topic in the NetBackup Administrator’s
Guide, Volume II.
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.
For more information about what you need for unsupported devices, contact the
device vendor. Also see the Solaris devices and file systems documentation.
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 35.
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 36.
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;
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.
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 "Oracle StorageTek ACSLS robots" topic in this guide.
After configuring the hardware, add the drives and robots to NetBackup.
■ 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 primary 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
may also describe the configuration information for such devices. To determine
which versions of NetBackup support which peripheral devices, see the NetBackup
Enterprise Server and Server - Hardware and Cloud Storage Compatibility List.
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.
SCSI control No
Robot overview 43
NetBackup robot attributes
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 HCART, DLT, DLT2, DLT3, 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.
Robot examples HPE MSL, Fujitsu FibreCAT HPE MSL, Fujitsu FibreCAT
TX48, IBM TotalStorage3583, TX48, IBM TotalStorage3583,
Spectra Logic T680, Sun/Oracle Spectra Logic T680, Sun/Oracle
SL3000 SL3000
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
See “NetBackup robot types” on page 41.
Robot overview 45
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
See “NetBackup robot types” on page 41.
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 from the NetBackup web UI
in one of the following ways:
■ On the left, click Activity Monitor and then click the Daemons tab. Select ltid
and then click Start or Stop.
Robot overview 46
Robotic processes
■ On the left, click Storage > Media servers and then click the Media servers
tab. Select the media server, then click Stop/Restart media manager device
daemon.
In addition, the NetBackup Commands Reference Guide describes commands to
control the robotic processes that run on Windows media servers.
You can determine if a robotic process or robotic control process is active by in the
Processes tab of the Activity monitor.
You can determine the control state of a device in the Device monitor. On the left
click Storage > Tape storage and click on the Device monitor tab. If the value in
the Control column for a drive shows the control mode, the robotic process is
running and the drive is usable. For example, for a TLD robot the control mode is
TLD.
Other values such as AVR or DOWN may indicate that the drive is unusable.
See “Processes by robot type” on page 46.
See “Robotic process example” on page 47.
See “NetBackup robot types” on page 41.
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 47
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.
Host A
Host B
Robotic control host
Robotics
tldcd
Drive 1
SCSI SCSI
Drive 2
The NetBackup Device Manager services on host A and B start tldd. The tldd
process on host A also starts tldcd. Requests to mount tapes from host B go to
tldd on host B, which then sends the robotic command to tldcd on host A.
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
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)
■ Oracle 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 56
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 58
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 61
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 64
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 65
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 67.
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 66
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 Oracle StorageTek storage server interface. Therefore, it
supports environment variables to control most aspects of operational behavior.
See “Optional environment variables” on page 67.
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 67
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 6-4 Multiple ACS robots, one ACS library software host
Robot 1
Oracle
StorageTek
ACS 0
NetBackup Server
ACS Library
ACS(10) controls drive 1 Software
ACS(20) controls drive 2 Host
Robot 2
Oracle
StorageTek
ACS 0
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 6-5 Multiple ACS robots, multiple ACS library software hosts
Robot 1
ACS Library
Oracle
Software
StorageTek
Host A
ACS 0
NetBackup Server
Robot 2
ACS Library
Oracle
Software
StorageTek
Host B
ACS 0
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 Oracle 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 Oracle 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 7
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 primary 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 75
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 primary 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 78
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