NetBackup DeviceConfig Guide
NetBackup DeviceConfig Guide
Release 7.5
Legal Notice
Copyright 2012 Symantec Corporation. All rights reserved. Symantec and the Symantec Logo, Veritas, and NetBackup are trademarks or registered trademarks of Symantec Corporation or its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners. This Symantec product may contain third party software for which Symantec 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. Please see the Third Party Legal Notice Appendix to this Documentation or TPIP ReadMe File accompanying this Symantec product for more information on the Third Party Programs. 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 Symantec Corporation and its licensors, if any. THE DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID. SYMANTEC CORPORATION SHALL NOT BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES IN CONNECTION WITH THE FURNISHING, PERFORMANCE, OR USE OF THIS DOCUMENTATION. THE INFORMATION CONTAINED IN THIS DOCUMENTATION IS SUBJECT TO CHANGE WITHOUT NOTICE. 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, "Rights in Commercial Computer Software or Commercial Computer Software Documentation", as applicable, and any successor regulations. 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.
Technical Support
Symantec Technical Support maintains support centers globally. Technical Supports primary role is to respond to specific queries about product features and functionality. The Technical Support group also creates content for our online Knowledge Base. The Technical Support group works collaboratively with the other functional areas within Symantec to answer your questions in a timely fashion. For example, the Technical Support group works with Product Engineering and Symantec Security Response to provide alerting services and virus definition updates. Symantecs support offerings include the following:
A range of support options that give you the flexibility to select the right amount of service for any size organization Telephone and/or Web-based support that provides rapid response and up-to-the-minute information Upgrade assurance that delivers software upgrades Global support purchased on a regional business hours or 24 hours a day, 7 days a week basis Premium service offerings that include Account Management Services
For information about Symantecs support offerings, you can visit our Web site at the following URL: www.symantec.com/business/support/ All support services will be delivered in accordance with your support agreement and the then-current enterprise technical support policy.
Hardware information Available memory, disk space, and NIC information Operating system Version and patch level Network topology Router, gateway, and IP address information Problem description:
Error messages and log files Troubleshooting that was performed before contacting Symantec Recent software configuration changes and network changes
Customer service
Customer service information is available at the following URL: www.symantec.com/business/support/ Customer Service is available to assist with non-technical questions, such as the following types of issues:
Questions regarding product licensing or serialization Product registration updates, such as address or name changes General product information (features, language availability, local dealers) Latest information about product updates and upgrades Information about upgrade assurance and support contracts Information about the Symantec Buying Programs Advice about Symantec's technical support options Nontechnical presales questions Issues that are related to CD-ROMs, DVDs, or manuals
Contents
Section 1
Chapter 2
Contents
Chapter 3
HP-UX
.................................................................................... 47 47 48 48 49 50 50 51 51 51 52 52 53 53 54 54 54 55 56 56 57 57 64 64 68 68 68 69
Before you begin on HP-UX ............................................................ About robotic control on HP-UX ..................................................... About HP-UX device addressing schemes ......................................... About tape drive device file requirements ......................................... About device drivers and files for persistent DSFs .............................. About device drivers for persistent DSFs .................................... About persistent DSFs for robotic control ................................... About persistent DSFs for tape drive access ................................ About persistent DSF pass-through paths ................................... About configuring persistent DSFs .................................................. Creating HP-UX persistent DSFs ............................................... Upgrading NetBackup to use HP-UX persistent DSFs .................... Creating persistent DSF pass-through paths ............................... About HP-UX legacy device drivers and files ..................................... About device drivers for legacy device files ................................. About legacy robotic control device files ..................................... About legacy tape drive device files ........................................... About legacy pass-through paths for tape drives .......................... Creating device files for SAN clients on HP-UX .................................. About configuring legacy device files ............................................... Creating legacy SCSI and FCP robotic controls on HP-UX ............... About creating legacy tape drive device files ............................... Creating tape drive pass-through device files .............................. About SPC-2 SCSI reserve on HP-UX ................................................ Disabling SPC-2 SCSI reserve in HP-UX ............................................ About disabling the HP-UX EMS Tape Device Monitor for a SAN ........... HP-UX command summary ............................................................
Chapter 4
Linux
...................................................................................... 71 71 72 73 74 74 74 74 75 75 75 76
Before you begin on Linux ............................................................. About the required Linux SCSI drivers ............................................. st driver support for additional tape devices ................................ About st buffer size and performance ........................................ About the st driver debug mode ................................................ Verifying the Linux drivers ............................................................ About configuring robot and drive control for the Linux 2.6 kernel .................................................................................. About the Linux 2.6 kernel robotic control device files ................. About the Linux 2.6 kernel tape drive device files ......................... Verifying the device configuration .................................................. About SAN clients on Linux ...........................................................
Contents
About SCSI persistent bindings ....................................................... About Emulex HBAs ..................................................................... Utilities to test SCSI devices ........................................................... Linux command summary .............................................................
77 77 78 78
Chapter 5
Solaris .................................................................................... 79
Before you begin on Solaris ............................................................ About the NetBackup sg driver ....................................................... Determining if the NetBackup sg driver is installed ............................ Special configuration for the Sun StorEdge Network Foundation HBA driver .................................................................................. About binding Fibre Channel HBA drivers ......................................... Configuring Solaris 10 x86 for multiple drive paths ............................ Installing/reinstalling the sg and the st drivers .................................. st.conf file example ................................................................ sg.conf file example ................................................................ sg.links file example ............................................................... Preventing Solaris driver unloading ................................................ About Solaris robotic controls ........................................................ About SCSI and FCP robotic controls on Solaris ........................... About Solaris tape drive device files ................................................ About Berkeley-style close ....................................................... About no rewind device files on Solaris ...................................... About fast-tape positioning (locate-block) on Solaris .................... About SPC-2 SCSI reserve on Solaris .......................................... Disabling SPC-2 SCSI reserve on Solaris ..................................... About nonstandard tape drives ................................................. Configuring SAN clients to recognize FT media servers ....................... Adding the FT device entry to the st.conf file ............................... Modifying the st.conf file so that Solaris discovers devices on two LUNS ....................................................................... Uninstalling the sg driver .............................................................. Solaris command summary ............................................................ 79 80 81 82 82 83 83 85 86 87 88 89 89 90 91 92 92 92 93 93 94 94 95 95 96
Chapter 6
Windows ................................................................................ 97
Before you begin on Windows ......................................................... 97 About tape device drivers on Windows ............................................. 98 Attaching devices to a Windows system ........................................... 98
10
Contents
Section 2
Chapter 7
Chapter 8
Contents
11
Chapter 9
Chapter 10
12
Contents
Chapter 11
Chapter
Using this guide General device configuration sequence Use the support Web site Read the NetBackup Release Notes
Portions of this guide apply only to a specific NetBackup server type (for example, NetBackup Enterprise Server). Such topics are identified. Read the "Before you start" sections (if applicable) of the chapters in this guide. These sections provide any important platform-specific instructions or may contain specific instructions or limitations for server types. To determine if your hardware configuration is supported, see the following:
14
The NetBackup release notes. See Read the NetBackup Release Notes on page 15.
Symantec tested the configuration file options in this guide; other configuration settings may also work. To minimize configuration errors, you can cut and paste configuration details from a text file of the operating system chapters of this configuration guide. The format of this text file is similar to the printed version of the guide. Be sure to review the differences as explained at the beginning of the text file. The NetBackup_DeviceConfig_Guide.txt file is installed with NetBackup server software in the following paths:
Physically connect the storage devices to the media server. Perform any hardware configuration steps that the device vendor or the operating system vendor specifies. Create any required system device files for the drives and robotic control. Device files are created automatically on Windows and on some UNIX platforms. Explicit configuration of device files is required on some UNIX servers to make full use of NetBackup features. For SCSI controlled libraries, NetBackup issues SCSI commands to the robotic devices. SCSI commands allow NetBackup to discover and configure devices automatically. You may have to configure the server operating system to allow device discovery. Add the storage devices to NetBackup and configure them. For instructions, see the NetBackup Administrators Guide, Volume I or the NetBackup Administration Console help. You can configure devices in NetBackup from the master server or the media server to which the devices are attached (the device host). For more information, see "To administer devices on other servers" in the NetBackup Administrators Guide, Volume I or the NetBackup Administration Console help.
15
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. For information about the NetBackup use of SCSI reservation, see the following:
"Enable SCSI reserve" in the NetBackup Administrators Guide, Volume I. "How NetBackup reserves drives" in the NetBackup Administrators Guide, Volume II.
Symantec 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.
NetBackup Enterprise Server and NetBackup Server. NetBackup licensed optional software (for example, the Shared Storage Option for Tape). Server platform. Robot and drive types.
For the compatibility information, see the Compatibility List for NetBackup Server or NetBackup Enterprise Server. The following is the address for the site: http://entsupport.symantec.com
16
Section
Operating systems
Chapter 2. AIX Chapter 3. HP-UX Chapter 4. Linux Chapter 5. Solaris Chapter 6. Windows
18
Chapter
AIX
This chapter includes the following topics:
Before you begin on AIX RS/6000 AIX adapter number conventions About the SCSI pass-through driver ovpass Installing the ovpass driver Ensuring that the ovpass driver device files are accessible Upgrading the ovpass driver Removing the ovpass driver About configuring robotic control device files for IBM robots in AIX About configuring robotic control ovpass device files in AIX About configuring tape drive device files in AIX About Sony AIT drives AIX command summary
Verify that NetBackup supports your server platform and devices. The Symantec support Web site contains server platform compatibility information. For the compatibility information, see the Compatibility List for NetBackup Server or NetBackup Enterprise Server. The following is the URL:
http://entsupport.symantec.com
20
Attach all peripherals and reboot the system before you configure devices. For many configuration steps, you can use the smit System Management Interface Tool. For more information, see the smit(1) man page. For SCSI controlled libraries, NetBackup issues SCSI commands to the robotic devices. To discover and communicate with SCSI connected devices, NetBackup uses the Symantec ovpass pass-through driver. It is included with NetBackup. You must configure the ovpass driver and create the device files. See About configuring robotic control ovpass device files in AIX on page 23. See About configuring tape drive device files in AIX on page 36.
To verify that the devices are configured correctly, use smit and /usr/sbin/lsdev command. For the shared storage options, ensure that the operating system detects the devices on the SAN before you install and configure the option. To obtain error and debug information about devices and robotic software daemons, the syslogd daemon must be active. See syslogd(1) for more information.
After you configure the hardware, add the robots and the drives to NetBackup.
AA identifies the location code of the drawer that contains the adapter card, as follows
If AA is 00, the adapter card is located in the CPU drawer or system unit, depending on the type of system. If AA is not 00, the card is located in an I/O expansion drawer, as follows:
The first digit identifies the I/O bus; 0 corresponds to the standard I/O bus and 1 corresponds to the optional I/O bus. The second digit identifies the slot on the I/O bus.
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.
21
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-00 identifies the Standard I/O Planar. 00-05 indicates an adapter card that is in slot 5 of the standard I/O board. The board is in either the CPU drawer or the system unit, depending on the type of system. 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.
Note: You cannot use the System Manager Interface Tool (SMIT) to configure ovpass device files.
22
AIX Ensuring that the ovpass driver device files are accessible
AIX About configuring robotic control device files for IBM robots in AIX
23
About configuring robotic control device files for IBM robots in AIX
If you use IBM robots, Symantec recommends that you install the IBM AIX Atape driver. NetBackup discovers the device files when you configure devices. For information about the driver, see the IBM documentation. If you use robots other than IBM, Symantec recommends that you use the NetBackup ovpass driver. See About the SCSI pass-through driver ovpass on page 21. See About configuring robotic control ovpass device files in AIX on page 23.
SCSI or Fibre Channel Protocol control. See Configuring SCSI or FCP robotic controls in AIX on page 24. API control over a LAN. See the "ADIC Automated Media Library (AML)" chapter of this guide. See the "IBM Automated Tape Library (ATL)" chapter of this guide. See the "Sun StorageTek ACSLS robots" chapter of this guide.
Examples of how to create device files are available. All examples assume that the ovpass driver is installed and that the robotic devices are in the Available state. Examples are available.
24
See Configuring robotic control at LUN 0 on page 31. See Configuring robotic control at LUN 1 on page 32. See Configuring robotic control at LUN 6 on page 33. See Configuring robotic control of a Fibre Channel attached library on page 33.
Task
Install the NetBackup SCSI See About the SCSI pass-through driver ovpass pass-through driver ovpass on page 21. If the ovpass device file already exists, you do not have to configure the robotic controls. Help to determine if the device files exist is available. See Determining if the device file exists on page 24.
Determine the controller name and SCSI address Create the device file
See Determining the controller name on page 25. See Determining the SCSI address on page 26. See Creating the device file on page 29.
Examples of how to configure robotic control are available. See SCSI robotic control configuration examples on page 30.
25
For usage information for the AIX commands, see their man pages. To determine if the device files exist
Display the current device files by using the AIX lsdev command. For SCSI device files, use the -s scsi option and argument. For Fibre Channel Protocol device files, use the -s fcp option and argument. The following are examples of the two options:
/usr/sbin/lsdev -C -s scsi /usr/sbin/lsdev -C -s fcp
If the device files exist, they appear in the lsdev output as ovpass0, ovpass1, and so on. In the following example, ovpass0 is a SCSI robotic device file for NetBackup:
ovpass0 Available 00-01-5,0 Veritas Media Changer
If an ovpassx device file exists, you can determine to which robotic device it applies. To do so, correlate the ovpass device file location to the locations of the controllers. See Determining the controller name on page 25.
If an ovpassx device file does not exist, use the following procedures to create one:
a b c d See Determining the controller name on page 25. See Determining the SCSI address on page 26. See Alternative methods to determine the SCSI ID on AIX on page 29. See Creating the device file on page 29.
26
Display the I/O controllers in the system by using the following AIX command:
/usr/sbin/lsdev -C | grep I/O
The output shows the name, the status, the location, and the description. The following example shows both a SCSI controller (scsi0) and a Fibre Channel SCSI controller (fscsi0) :
scsi0 Available 00-01 SCSI I/O Controller fscsi0 Available 10-68-01 FC SCSI I/O Controller Protocol Device
If you have more than one SCSI controller, identify the appropriate controller by correlating the tape drive locations to the controllers. To do so, continue with the following steps.
Display the devices that are connected to the SCSI controllers by using the following lsdev 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 are examples of SCSI drive and Fibre Channel SCSI drive output:
rmt0 rmt1 Available 00-01-00-3,0 Available 10-68-01 Other SCSI Tape Drive Other FC SCSI Tape Drive
Correlate the location of the drives with the names of the controllers. For example, the SCSI tape drive at location 00-01-00-3,0 is attached to the controller at 00-01. So the controller name is scsi0.
27
The following information can help you determine the SCSI ID and LUN of a robotic device:
To determine the SCSI ID, you must first determine the SCSI addresses of the tape drives. Then, use the tape drive addresses to infer the SCSI ID of the robotic device. For the libraries that have more than one robotic device, you must determine the SCSI ID and LUN for each robotic device. To determine the SCSI ID, use the procedure later in this subsection. To determine the LUN, refer to the vendor documentation. How the library assigns LUNs to its devices depends on the library:
The library may use a specific LUN for the robotic control device. For example, LUN 0 may be the robotic device and LUN 1 and higher may be the tape drives. The library may include the management software that assigns LUNs when you configure it. The software also may let you determine the LUNs for the drives and robotic devices. The library may use physical switches (such as DIP switches) that let you specify the LUNs for the drives and robotic devices.
For usage information for the AIX commands, see their man pages. AIX may create device files automatically for some SCSI attached IBM libraries. For those libraries, more information is available. See About the IBM library SCSI address on page 29.
28
Display the SCSI and Fibre Channel devices in the system by using the following lsdev 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 are examples of a SCSI drive and a Fibre Channel SCSI drive:
rmt0 rmt1 Available 00-01-00-3,0 Available 10-68-01 Other SCSI Tape Drive Other FC SCSI Tape Drive
For each tape drive in the library, inspect the ODM database for the SCSI ID of the tape drive. Use the odmget command as in the following example (rmtX is the name of the tape device):
/usr/bin/odmget -q "name=rmtX" CuAt
For a Fibre Channel Protocol controlled device, the SCSI ID is the ID of the N_Port on the robotic device (the destination ID (D_ID)).
If all tape drives in the library have the same SCSI ID and one robotic device exists, use that SCSI ID. If all tape drives in the library have the same SCSI ID and more than one robotic device exists: Create a device file for each robotic device. Use the same SCSI ID for each device file. If the tape drives have more than one SCSI ID, a robotic device likely exists for each SCSI ID. Create a device file for each SCSI ID.
To determine the LUN of each robotic device, consult the vendor documentation.
29
Use the lsattr command rather than the odmget command. For example, the following command shows the attributes of tape device rmt0:
/usr/sbin/lsattr -l rmt0 -E -H
In a Fibre Channel switch environment, inspect the name server for the switch (if available). Each vendor uses a unique method to show address information. Consult the documentation for the switch vendor. In a Fibre Channel bridge environment, inspect the bridge for mapping information (if available). Each vendor uses a unique method to show address information. Consult the documentation for the bridge vendor.
30
Create the device file by using the AIX mkdev command. The following is the command syntax:
mkdev -c media_changer -s type -t ovpass -p controller -w scsi_id,lun
-s type is scsi for a SCSI attached robot or fcp for a Fibre Channel
attached robot.
Protocol controlled device, the SCSI ID is the ID of the N_Port on the robotic device (the destination ID (D_ID)).
lun (the second argument to the -w option) is the logical unit number of the robotic connection.
To verify, display the device files by using the lsdev 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
In the following example output, ovpass0 is a SCSI robotic control device file:
hdisk0 hdisk1 rmt0 ovpass0 Available Available Available Available 00-01-00-0,0 00-01-00-1,0 00-01-00-3,0 00-01-5,0 400 MB SCSI Disk Drive 400 MB SCSI Disk Drive Other SCSI Tape Drive Veritas Media Changer
31
The following output shows that scsi0 is the logical name for SCSI controller 1.
scsi0 Available 00-01 SCSI I/O Controller
The output shows the device files exist for tape and disk. However, a device file does not exist for the controller scsi0 and SCSI ID 5.
hdisk0 rmt0 Available 00-01-00-0,0 400 MB SCSI Disk Drive Available 00-01-00-3,0 Other SCSI Tape Drive
400 MB SCSI Disk Drive 400 MB SCSI Disk Drive Other SCSI Tape Drive Veritas Media Changer
To configure the robotic control manually in NetBackup, use the following device file pathname:
/dev/ovpass0
32
The following output shows that scsi0 is the logical name for SCSI controller 1:
scsi0 Available 00-01 SCSI I/O Controller
The following output shows that the device files exist for tape and disk. However, a device file does not exist for the controller scsi0, SCSI ID 3, and LUN 1:
hdisk0 rmt0 Available 00-01-00-0,0 400 MB SCSI Disk Drive Available 00-01-00-3,0 Other SCSI Tape Drive
400 MB SCSI Disk Drive 400 MB SCSI Disk Drive Other SCSI Tape Drive Veritas Media Changer
To configure the robotic control manually in NetBackup, use the following device file pathname:
/dev/ovpass0
33
SCSI I/O Controller Wide SCSI I/O Controller Adapter SCSI I/O Controller Protocol SCSI I/O Controller Protocol
Use vscsi1 as the controller name when you create the ovpass device file:
mkdev -c media_changer -t ovpass -s scsi -p vscsi1 -w 6,0
34
Display the I/O controllers in the system by using the following AIX command:
/usr/sbin/lsdev -C | grep I/O fscsi0 Available 10-68-01 FC SCSI I/O Controller Protocol Device fscsi1 Available 20-58-01 FC SCSI I/O Controller Protocol Device
Display the Fibre Channel devices in the system by using the following command:
/usr/sbin/lsdev -C -s fcp rmt0 Available 10-68-01 rmt1 Available 10-68-01 rmt2 Available 10-68-01 rmt3 Available 10-68-01 rmt4 Available 10-68-01 rmt5 Available 10-68-01
FC FC FC FC FC FC
All tape drives are connected to controller 10-68-01, which is the controller named fscsi0.
35
Display the attributes for the tape drives by using the odmget command. The following example shows excerpts from the output of rmt0 and rmt3:
/usr/bin/odmget -q "name=rmt0" CuAt CuAt: name = "rmt0" attribute = "scsi_id" value = "0x11400" type = "R" generic = "D" rep = "s" nls_index = 6 /usr/bin/odmget -q "name=rmt3" CuAt CuAt: name = "rmt3" attribute = "scsi_id" value = "0x11500" type = "R" generic = "D" rep = "s" nls_index = 6
In this example, rmt0 through rmt2 have SCSI ID 0x11400, and rmt3 through rmt5 have SCSI ID 0x11500. Because two SCSI IDs exists, two robotic devices exist in this library.
The library uses LUN 0 for robotic control (determined from the library configuration software). Therefore, configure the two robotic control device files by using the following commands:
mkdev -c media_changer -s fcp -t ovpass -p fscsi0 -w 0x11400,0 mkdev -c media_changer -s fcp -t ovpass -p fscsi0 -w 0x11500,0
36
Display the Fibre Channel protocol devices by using the following command:
/usr/sbin/lsdev -C -s fcp ovpass0 Available 10-68-01 ovpass1 Available 10-68-01 rmt0 Available 10-68-01 rmt1 Available 10-68-01 rmt2 Available 10-68-01 rmt3 Available 10-68-01 rmt4 Available 10-68-01 rmt5 Available 10-68-01
Veritas Media Veritas Media Other FC SCSI Other FC SCSI Other FC SCSI Other FC SCSI Other FC SCSI Other FC SCSI
Changer Changer Tape Drive Tape Drive Tape Drive Tape Drive Tape Drive Tape Drive
To configure the robotic control manually in NetBackup, use the following device file pathnames when you configure devices in NetBackup:
/dev/ovpass0 /dev/ovpass1
About choosing a tape driver See About choosing a tape driver on page 37. About extended-file marks for drives See About extended-file marks for drives on page 37. About fast-tape positioning (locate-block) on AIX See About fast-tape positioning (locate-block) on AIX on page 38. About non-QIC tape drives See About non-QIC tape drives on page 37. About SPC-2 SCSI reserve on AIX See About SPC-2 SCSI reserve on AIX on page 42. Creating no rewind device file example See Creating a no rewind device file on page 40. Creating no rewind device files for tape drives See Creating no rewind device files for tape drives on page 38. Disabling SPC-2 SCSI reserve in AIX See Disabling SPC-2 SCSI reserve in AIX on page 43.
37
Using multiple tape densities See Using multiple tape densities on page 42.
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.
38
When you add a tape drive to NetBackup, NetBackup issues the chdev command to configure the drive to use extended file marks. For reference, the following is the command that NetBackup uses:
/usr/sbin/chdev -l Dev -a extfm=yes
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.
39
Display the I/O controllers in the system by using the following command:
/usr/sbin/lsdev -C | grep I/O
The following sample output shows that SCSI controller 1 (00-01) has been assigned the logical identifier scsi0.
scsi0 Available 00-01 SCSI I/O Controller
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:
hdisk0 hdisk1 rmt0 Available 00-01-00-0,0 400 MB SCSI Disk Drive Available 00-01-00-1,0 400 MB SCSI Disk Drive Available 00-01-00-3,0 Other SCSI 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.
If a device file does not exist for the wanted tape drive, create it by using the following command:
/usr/sbin/mkdev -c tape -s scsi -t ost -p controller -w id,lun
controller is the logical identifier of the drives SCSI adapter, such as scsi0, fscsi0, or vscsi1. scsi_id is the SCSI ID of the drive connection. lun is the logical unit number of the drive connection.
For example, the following command creates a device file for a non-IBM 8-mm drive connected to controller scsi0 at SCSI address 5,0:
mkdev -c tape -s scsi -t ost -p scsi0 -w 5,0
40
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 rmt1 Available 00-01-00-3,0 Other SCSI Tape Drive Available 00-01-00-5,0 Other SCSI Tape Drive
The output shows that the rmt1 device file was created.
If the device files do not exist on an FCP controller, use the following command to create them:
/usr/sbin/cfgmgr -l device
device is the controller number from step 1. You may receive a message that a device package is required for an FCP changer. NetBackup uses the ovpass driver for medium changers, so you can disregard the message.
Ensure that the device is configured for variable-mode and extended file marks. Use the chdev command, as follows (dev is the logical identifier for the drive (for example, rmt1)).
/usr/sbin/chdev -l dev -a block_size=0 /usr/sbin/chdev -l dev -a extfm=yes
To configure the drive manually in NetBackup, enter the following device file pathname:
/dev/rmt1.1
41
The following output shows that scsi0 is the logical name for SCSI controller 1:
scsi0 Available 00-01 SCSI I/O Controller
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):
hdisk0 hdisk1 rmt0 Available 00-01-00-0,0 400 MB SCSI Disk Drive Available 00-01-00-1,0 400 MB SCSI Disk Drive Available 00-01-00-3,0 Other SCSI Tape Drive
400 MB SCSI Disk Drive 400 MB SCSI Disk Drive Other SCSI Tape Drive Other SCSI Tape Drive
To ensure that the tape device is configured for variable-mode and extended file marks, use the following commands:
chdev -l rmt1 -a block_size=0 chdev -l rmt1 -a extfm=yes
To configure the drive manually in NetBackup, enter the following device file pathname:
/dev/rmt1.1
42
The following commands modify both of the tape drive device files:
chdev -l tapedev -a density_set_1=density chdev -l tapedev -a density_set_2=density
tapedev is the logical identifier for the drive, such as rmt0 or rmt1. density is a decimal number from 0 to 255 that represents the wanted density. Zero (0) selects the default density for the tape drive, which is usually the drive's high density setting. Permitted values and their meanings vary with different types of tape drives.
To use density setting 1, use the following no rewind on close device file when you configure the device in NetBackup:
/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
43
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 43. 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 following:
The NetBackup Administrators Guide for UNIX and Linux, Volume I The NetBackup Administrators Guide for Windows, Volume I
The NetBackup Administrators Guide for UNIX and Linux, Volume II The NetBackup Administrators Guide for Windows, Volume II
Replace name with the name of the device file, such as rmt0.
44
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. Table 2-2 Switch
SWA-1 SWA-2 SWA-3 SWA-4 SWA-5 SWA-6 SWA-7 SWA-8
45
/usr/openv/volmgr/bin/driver/install_ovpass
/usr/openv/volmgr/bin/driver/remove_ovpass
/usr/openv/volmgr/bin/driver/mkdev_ovpass
Place this command in the system startup script to ensure that the ovpass driver device files are accessible after each system boot.
/usr/sbin/lsdev -C -s filetype
Displays the device files that have been created, where filetype defines the type of file displayed: scsi displays SCSI files and fcp displays Fibre Channel files.
Creates the device files for the robotic control SCSI ID. controller is the logical identifier of the drive SCSI adapter (such as scsi0 or scsi1). id is the SCSI ID of the robotic connection. lun is the logical unit number of the robotic connection.
Creates the device files for the robotic control Fibre Channel SCSI ID. controller is the logical identifier of the drive SCSI adapter (such as scsi0 or scsi1). scsi_id is the Fibre Channel SCSI ID of the robotic connection. lun is the logical unit number of the robotic connection.
Creates the device files for tapes. controller is the logical identifier of the drive SCSI adapter (such as scsi0 or scsi1). id is the SCSI ID of the robotic connection. lun is the logical unit number of the robotic connection.
Configures the drive with logical identifier specified by dev (for example: rmt0) to variable mode.
Configures the drive with logical identifier specified by dev (for example: rmt0) for extended file marks. Where ovpass_id is the logical identifier assigned to the device.
46
/etc/lsattr -l dev -E -H
Displays the device information, where dev is the name of the device (for example, rmt1).
/usr/sbin/cfgmgr -l device
Creates the device files on a Fibre Channel Protocol controller, where device is the controller number (for example, fscsi0).
Displays the device attributes for the device (rmtX). This command can be used to determine SCSI target and LUN pairs when you configure Fibre Channel devices. Where rmtX is the name of the tape device (for example: rmt0 or rmt1).
Chapter
HP-UX
This chapter includes the following topics:
Before you begin on HP-UX About robotic control on HP-UX About HP-UX device addressing schemes About tape drive device file requirements About device drivers and files for persistent DSFs About configuring persistent DSFs About HP-UX legacy device drivers and files Creating device files for SAN clients on HP-UX About configuring legacy device files About SPC-2 SCSI reserve on HP-UX Disabling SPC-2 SCSI reserve in HP-UX About disabling the HP-UX EMS Tape Device Monitor for a SAN HP-UX command summary
Verify that NetBackup supports your server platform and devices. The Symantec support Web site contains server platform compatibility information. For the compatibility information, see the NetBackup Operating System Compatibility List at the following URL:
48
http://entsupport.symantec.com
For SCSI controlled libraries, NetBackup issues SCSI commands to the robotic devices. For NetBackup to function correctly, the properly named device files must exist. To verify that the devices are configured correctly, use the HP-UX sam utility and the ioscan -f command. For the NetBackup Shared Storage Option, ensure that the operating system detects the devices on the SAN. Some HP SCSI adapters do not support SCSI pass through; therefore, devices on such adapters are not discovered automatically.
After you configure the hardware, add the robots and the drives to NetBackup.
SCSI or Fibre Channel Protocol control. SCSI control includes Fibre Channel Protocol (FCP), which is SCSI over Fibre Channel. A robotic device in a library moves the media between storage slots and the drives in the library. See About HP-UX device addressing schemes on page 48. API control over a LAN. See the "ADIC Automated Media Library (AML)" topic. See the "IBM Automated Tape Library (ATL)" topic. See the "Sun StorageTek ACSLS robots" topic. If you use API control, you still must configure tape drive device file access in HP-UX.
Agile addressing, which was introduced in HP-UX 11i v3. Agile addressing uses persistent device special files (DSFs) for devices. NetBackup device discovery finds persistent DSFs only. Therefore, Symantec recommends that you use persistent DSFs. See About device drivers and files for persistent DSFs on page 50. See About configuring persistent DSFs on page 52. The legacy naming model. Legacy device files are supported in HP-UX 11i v3 and earlier.
49
If you use the legacy model, you must configure devices manually in NetBackup. You cannot use NetBackup device discovery and automatic configuration. See About HP-UX legacy device drivers and files on page 54. See About configuring legacy device files on page 57. When HP-UX 11i v3 is installed, both legacy and persistent DSFs are created on the system. Both types of DSFs can coexist and may be used simultaneously to access mass storage devices. NetBackup requires specific device file capabilities for tape drives. See About tape drive device file requirements on page 49. You may be required to perform other HP-UX configuration. See About SPC-2 SCSI reserve on HP-UX on page 68. See Creating device files for SAN clients on HP-UX on page 56. See About disabling the HP-UX EMS Tape Device Monitor for a SAN on page 68. See Disabling SPC-2 SCSI reserve in HP-UX on page 68.
50
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.
51
The estape driver for tape drives. For IBM tape drives, the atdd driver. NetBackup requires a minimum atdd driver level. See the NetBackup Hardware Compatibility List for IBM atdd driver levels that are supported and atdd configuration information. http://www.symantec.com/docs/TECH76495 Also see the NetBackup Operating System Compatibility List for the minimum OS patch level that is required to run on HP-UX: http://www.symantec.com/docs/TECH76648
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
The # represents the instance number. BEST indicates the highest density. n indicates no rewind on close. b indicates Berkeley-style close.
52
/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 53.
Robotic control. See Creating HP-UX persistent DSFs on page 52. See Upgrading NetBackup to use HP-UX persistent DSFs on page 53. Tape drive read and write accesss. See Creating HP-UX persistent DSFs on page 52. See Creating persistent DSF pass-through paths on page 53.
Depending on the driver, enter the following command as root: For the eschgr autochanger driver, enter insf d eschgr. For the estape tape driver, enter insf d estape. For the IBM atdd tape driver, enter insf d atdd To refresh the device path for all devices that use a driver, adding the e option to the command line. For more information about using the HP-UX insf command, see the man page.
53
Add the following entry to the /usr/openv/volmgr/vm.conf file (the syntax must be as specified in all capital letters):
AUTO_PATH_CORRECTION=YES
The AUTO_PATH_CORRECTION entry directs NetBackup to scan for device paths when the ltid device daemon starts.
After adding the entry to the vm.conf file and with no current jobs running on the media server, run the following command:
/usr/openv/volmgr/bin/stopltid
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.
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.
54
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.
The sctl driver for robotic control. The stape driver for tape drives. For IBM tape drives, the atdd driver. NetBackup requires a minimum atdd driver level. See the NetBackup Hardware Compatibility List for IBM atdd driver levels that are supported and atdd configuration information. http://www.symantec.com/docs/TECH76495 NetBackup also supports the use of the IBM atdd tape driver on HP-UX 11i v3. Also see the NetBackup Operating System Compatibility List for the minimum OS patch level that is required to run on HP-UX: http://www.symantec.com/docs/TECH76648
55
Where:
CARD is the card instance number of the adapter. TARGET is the SCSI ID of the robotic control. LUN is the SCSI logical unit number (LUN) of the robot. Major is the character major number (from the lsdev command). II are two hexadecimal digits that represent the card instance number. T is a hexadecimal digit that represents the SCSI ID of robotic control. 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 57.
c# is the card instance number. t# is the SCSI ID. d# is the device LUN. BEST indicates the highest density format and data compression the device
supports.
See About creating legacy tape drive device files on page 64.
56
57
Description
See the HP-UX scsi_ctl(7) man page.
Step 2
Create the pass-through paths required. See About legacy pass-through paths for tape drives on page 56. See Creating tape drive pass-through device files on page 64.
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.
Robotic control using SCSI or Fibre Channel Protocol control. SCSI control includes Fibre Channel Protocol (FCP), which is SCSI over Fibre Channel. A robotic device in a library moves the media between storage slots and the drives in the library. See Creating legacy SCSI and FCP robotic controls on HP-UX on page 57. Tape drive read and write access. See About creating legacy tape drive device files on page 64. See Creating tape drive pass-through device files on page 64. SAN client pass-through paths for Fibre Transport traffic to NetBackup media servers. See Creating device files for SAN clients on HP-UX on page 56.
Install and configure the sctl driver. For more information, see the HP-UX scsi_ctl(7) man page.
58
The sctl driver may be the default pass-through driver on your system. If so, you do not have to configure the kernel to use the sctl pass-through driver.
Install and configure the schgr device driver. For more information, see the HP-UX autochanger(7) man page. Attach the devices.
Examples of how to create the device files are available. See Example of how to create a sctl device file for SCSI (PA-RISC) on page 59. See Example of how to create a sctl device file for FCP (PA-RISC) on page 60. See Example of how to create sctl device files for FCP (Itanium) on page 62. To create sctl device files
1 2
Invoke the ioscan -f command to obtain SCSI bus and robotic control information. Examine the output for the card instance number and the SCSI ID and LUN of the robotic device, as follows:
The instance number of the card is in the I column of the output. The H/W Path column of the changer output (schgr) includes the SCSI ID and LUN. Use the card's H/W Path value to filter the changer's H/W Path entry; the SCSI ID and the LUN remain.
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.
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. TARGET is the SCSI ID of the robotic control. LUN is the SCSI logical unit number (LUN) of the robot. Major is the character major number (from the lsdev command).
59
II are two hexadecimal digits that represent the card instance number. T is a hexadecimal digit that represents the SCSI ID of robotic control. L is a hexadecimal digit that represents the SCSI LUN of the robotic control.
An ADIC Scalar 100 library is on a SCSI bus with an instance number of 7, SCSI ID 2, and LUN 0. The robotic control for an IBM ULT3583-TL library is on the same SCSI bus at SCSI ID 3 and LUN 0.
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
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.
60
Determine the character major number of the sctl driver by using the following command:
lsdev -d sctl Character Block 203 -1
Driver sctl
Class ctl
The output from this command shows that the character major number for the sctl driver is 203.
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
61
Invoke the ioscan -f command. The following output example is edited for readability:
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
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.
62
Determine the character major number of the sctl driver by using the lsdev command, as follows:
lsdev -d sctl Character Block 203 -1
Driver sctl
Class ctl
The output from this command shows that the character major number for the sctl driver is 203.
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
An HP EML E-Series robot with four HP drives (two LTO2 and two LTO3 drives). A separate path exists for each drive pair. The robotic control is through card instance 12 (0/4/1/1.2.12.255.0). An HP VLS 6000 robot with six drives. The robot is partitioned into two virtual libraries, three Quantum SDLT320 drives in one library and three HP LTO3 drives in the other library. Separate robotic control exists for each library.
63
Invoke the ioscan -f command. The following is a command output excerpt that shows the Fibre Channel devices on a host:
fcd_vbus tgt stape stape fcd_vbus tgt schgr stape stape stape schgr stape stape stape fcd_vbus tgt schgr stape stape CLAIMED CLAIMED CLAIMED CLAIMED CLAIMED CLAIMED CLAIMED CLAIMED CLAIMED CLAIMED CLAIMED CLAIMED CLAIMED CLAIMED CLAIMED CLAIMED CLAIMED CLAIMED CLAIMED INTERFACE DEVICE DEVICE DEVICE INTERFACE DEVICE DEVICE DEVICE DEVICE DEVICE DEVICE DEVICE DEVICE DEVICE INTERFACE DEVICE DEVICE DEVICE DEVICE FCP Device Interface HP Ultrium 3-SCSI HP Ultrium 3-SCSI FCP Device Interface HP VLS QUANTUM SDLT320 QUANTUM SDLT320 QUANTUM SDLT320 HP VLS HP Ultrium 3-SCSI HP Ultrium 3-SCSI HP Ultrium 3-SCSI FCP Device Interface HP EML E-Series HP Ultrium 2-SCSI HP Ultrium 2-SCSI
ext_bus target tape tape ext_bus target autoch tape tape tape autoch tape tape tape ext_bus target autoch tape tape
4 7 18 20 13 8 4 22 23 24 5 25 26 27 12 6 1 19 21
0/4/1/1.2.10.255.0 0/4/1/1.2.10.255.0.0 0/4/1/1.2.10.255.0.0.0 0/4/1/1.2.10.255.0.0.1 0/4/1/1.2.11.255.0 0/4/1/1.2.11.255.0.0 0/4/1/1.2.11.255.0.0.0 0/4/1/1.2.11.255.0.0.1 0/4/1/1.2.11.255.0.0.2 0/4/1/1.2.11.255.0.0.3 0/4/1/1.2.11.255.0.0.4 0/4/1/1.2.11.255.0.0.5 0/4/1/1.2.11.255.0.0.6 0/4/1/1.2.11.255.0.0.7 0/4/1/1.2.12.255.0 0/4/1/1.2.12.255.0.0 0/4/1/1.2.12.255.0.0.0 0/4/1/1.2.12.255.0.0.1 0/4/1/1.2.12.255.0.0.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.
64
Determine the character major number of the sctl driver by using the following command:
lsdev -d sctl Character Block 203 -1
Driver sctl
Class ctl
The output from this command shows that the character major number for the sctl driver is 203.
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
Create pass-through tape drive device files See To create pass-through tape drive device files on page 65. Create SAN client pass-through device files
65
See To create SAN client pass-through device files on page 67. To create pass-through tape drive device files
Determine the devices that are attached to the SCSI bus by using the HP-UX ioscan -f command, as follows:
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 robotic control for an ADIC Scalar 100 library is on a SCSI bus with an instance number of 7. The SCSI ID is 2, and the LUN is 0. The robotic control for an IBM ULT3583-TL library is on the same SCSI bus at SCSI ID 3 and LUN 0. The ADIC library contains two Quantum Super DLT drives. One has a SCSI ID of 0 and a LUN of 0. The other has a SCSI ID of 1 and a LUN of 0. The IBM library contains two IBM Ultrium LTO drives. One has a SCSI ID of 4 and a LUN of 0. The other has a SCSI ID of 5 and a LUN of 0. Use the IBM atdd driver when you configure IBM tape drives on HP-UX. Configure atdd and BEST device paths according to the IBM driver documentation. Do not configure atdd for robotic control of IBM robots.
66
For the latest recommended atdd driver version from IBM, check the Symantec support Web site.
Create the pass-through device files for the tape drives, as follows:
cd /dev/sctl /usr/sbin/mknod /usr/sbin/mknod /usr/sbin/mknod /usr/sbin/mknod
c c c c
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
67
Determine the devices that are attached to the SCSI bus by using the HP-UX ioscan -f command, as follows:
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.
Determine the character major number of the sctl driver by using the following command:
lsdev -d sctl Character Block 203 -1
Driver sctl
Class ctl
The output from this command shows that the character major number for the sctl driver is 203.
c9 defines the instance number of the interface card. t0 defines the SCSI ID (the target). l1 defines the LUN (the first character is the letter l).
sys sys
68
The description of the Enable SCSI Reserve Media host property in the following:
The NetBackup Administrators Guide for UNIX and Linux, Volume I The NetBackup Administrators Guide for Windows, Volume I
The NetBackup Administrators Guide for UNIX and Linux, Volume II The NetBackup Administrators Guide for Windows, Volume II
1 2
About disabling the HP-UX EMS Tape Device Monitor for a SAN
This topic is a NetBackup Enterprise Server topic. You should configure the Tape Device Monitor (dm_stape) so it does not run on HP-UX hosts in a SAN configuration. The Tape Device Monitor is a component of the Event Monitoring System (EMS). The EMS service periodically polls the tape
69
devices to monitor their conditions. When a server polls the devices while another server uses a tape device, backup operations may time out and fail. You can avoid the situation as follows:
To disable EMS completely, run the HP-UX Hardware Monitoring Request Manager and select (K) kill (disable) Monitoring. Invoke the Hardware Monitoring Request Manager by using the /etc/opt/resmon/lbin/monconfig command. 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
ioscan -C class -f
Shows the information about the physical interfaces. Numeric information is displayed in decimal. class is the type of interface, as follows:
Creates the device files for SCSI robotic or tape drive controls. The following describe the device file names:
CARD is the card instance number of the adapter. TARGET is the SCSI ID of the robotic control. LUN is the SCSI logical unit number (LUN) of the robot. Major is the character major number (from the lsdev command). II are two hexadecimal digits that represent the card instance number. T is a hexadecimal digit that represents the SCSI ID of robotic control. L is a hexadecimal digit that represents the SCSI LUN of the robotic control.
lsdev -d driver
70
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
Linux
This chapter includes the following topics:
Before you begin on Linux About the required Linux SCSI drivers Verifying the Linux drivers About configuring robot and drive control for the Linux 2.6 kernel Verifying the device configuration About SAN clients on Linux About SCSI persistent bindings About Emulex HBAs Utilities to test SCSI devices Linux command summary
Verify that NetBackup supports your server platform and devices. The Symantec support Web site contains server platform compatibility information. For the compatibility information, see the Compatibility List for NetBackup Server or NetBackup Enterprise Server. The following is the URL:
http://entsupport.symantec.com
For SCSI controlled libraries, NetBackup issues SCSI commands to the robotic devices. For NetBackup to function correctly, the properly named device files must exist. Information about how to configure device files is available.
72
See About configuring robot and drive control for the Linux 2.6 kernel on page 74.
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.
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.
Linux SCSI generic (sg) driver. This driver allows pass-through commands to SCSI tape drives and control of robotic devices. If you do not use a pass-through driver, performance suffers. NetBackup and its processes use the pass-through driver as follows:
To scan drives For SCSI reservations For SCSI locate-block operations For SAN error recovery For Quantum SDLT performance optimization To collect robot and drive information To collect Tape Alert information from tape drives For WORM tape support
73
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
64 tape devices (with four minor device numbers) 128 tape devices (with two minor device numbers)
The following table shows the ST_NBR_MODE_BITS parameter values. Modify the ST_NBR_MODE_BITS parameter in the st.h file; use a value from the table. The st.h file resides in the /drivers/scsi directory. The path to the /drivers/scsi directory depends on the Linux version and build. In the following two example paths, the first is on a RedHat Linux system and the second is on a SUSE Linux system:
/usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.x86_64/drivers/scsi /usr/src/linux-2.6.16.60-0.21/drivers/scsi
Table 4-1
74
About configuring robot and drive control for the Linux 2.6 kernel
NetBackup supports SCSI control and API control of robotic devices. SCSI control includes Fibre Channel Protocol (FCP), which is SCSI over Fibre Channel.
75
SCSI or Fibre Channel Protocol control. 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 2.6 kernel robotic control device files on page 75. See About the Linux 2.6 kernel tape drive device files on page 75. 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.
76
If the operating system detects the SCSI devices, NetBackup can discover them. To verify that the operating system can see the devices
Rev: 1040 ANSI SCSI revision: 03 Rev: 010F ANSI SCSI revision: 02 Rev: 010F ANSI SCSI revision: 02
77
echo "scsi add-single-device echo "scsi add-single-device echo "scsi add-single-device echo "scsi add-single-device echo "scsi add-single-device echo "scsi add-single-device echo "scsi add-single-device echo "scsi add-single-device echo "scsi add-single-device echo "scsi add-single-device echo "scsi add-single-device echo "scsi add-single-device echo "scsi add-single-device echo "scsi add-single-device echo "scsi add-single-device echo "scsi add-single-device echo "scsi add-single-device echo "scsi add-single-device echo "scsi add-single-device echo "scsi add-single-device /dev/MAKEDEV sg
0 0 0 0 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7
1" 1" 1" 1" 1" 1" 1" 1" 1" 1" 1" 1" 1" 1" 1" 1" 1" 1" 1" 1"
> > > > > > > > > > > > > > > > > > > >
/proc/scsi/scsi /proc/scsi/scsi /proc/scsi/scsi /proc/scsi/scsi /proc/scsi/scsi /proc/scsi/scsi /proc/scsi/scsi /proc/scsi/scsi /proc/scsi/scsi /proc/scsi/scsi /proc/scsi/scsi /proc/scsi/scsi /proc/scsi/scsi /proc/scsi/scsi /proc/scsi/scsi /proc/scsi/scsi /proc/scsi/scsi /proc/scsi/scsi /proc/scsi/scsi /proc/scsi/scsi
78
/sbin/lsmod
/sbin/modprobe
/usr/sbin/reboot
/bin/mknod /dev/sgx c 21 N
Chapter
Solaris
This chapter includes the following topics:
Before you begin on Solaris About the NetBackup sg driver Determining if the NetBackup sg driver is installed Special configuration for the Sun StorEdge Network Foundation HBA driver About binding Fibre Channel HBA drivers Configuring Solaris 10 x86 for multiple drive paths Installing/reinstalling the sg and the st drivers Preventing Solaris driver unloading About Solaris robotic controls About Solaris tape drive device files Configuring SAN clients to recognize FT media servers Uninstalling the sg driver Solaris command summary
Verify that NetBackup supports your server platform and devices. The Symantec support Web site contains server platform compatibility information. For the compatibility information, see the Compatibility List for NetBackup Server or NetBackup Enterprise Server. The following is the URL:
80
http://entsupport.symantec.com
For SCSI controlled libraries, NetBackup issues SCSI commands to the robotic devices. For NetBackup to function correctly, the properly named device files must exits, 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 89.
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 NetBackup shared storage options, ensure that the SAN and storage devices are configured correctly. When you configure devices, you should attach all peripherals and reboot 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 SunOS/BSD Source Compatibility Package is installed. The package is required so that the ACS software can use the shared libraries in /usr/ucblib. Sun 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.
81
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. See Installing/reinstalling the sg and the st drivers on page 83.
82
Solaris Special configuration for the Sun StorEdge Network Foundation HBA driver
Special configuration for the Sun StorEdge Network Foundation HBA driver
When you configure the sg driver, it binds the StorEdge Network Foundation host bus adapter World Wide Port Names for use by the sg driver. See Installing/reinstalling the sg and the st drivers on page 83. The configuration process uses the Solaris luxadm command to probe for HBAs that are installed in the system. Ensure that the luxadm command is installed and in the shell path. To determine if a host contains a StorEdge Network Foundation HBA, you can run the following command:
/usr/openv/volmgr/bin/sgscan
If the script detects a StorEdge Network Foundation HBA, it produces output similar to the following example:
#WARNING: detected StorEdge Network Foundation connected devices not in sg configuration file: # # Device World Wide Port Name 21000090a50001c8 # # See /usr/openv/volmgr/NetBackup_DeviceConfig_Guide.txt topic # "Special configuration for Sun StorEdge Network Foundation # HBA/Driver" for information on how to use sg.build and # sg.install to configure these devices
Each time you add or remove a device, you should configure the sg and the st drivers again.
83
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 83. Each time you add or remove a device, you must update the bindings and then configure the sg and the st drivers again.
Change the mpxio-disable value from no to yes. After the change, the line in the file should appear as follows:
mpxio-disable="yes"
84
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 all option creates the following files and populates them with the appropriate entries:
/usr/openv/volmgr/bin/driver/st.conf
/usr/openv/volmgr/bin/driver/sg.conf
/usr/openv/volmgr/bin/driver/sg.links
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. 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.
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:
name="st" name="st" name="st" name="st" name="st" name="st" name="st" class="scsi" class="scsi" class="scsi" class="scsi" class="scsi" class="scsi" class="scsi" target=0 target=1 target=2 target=3 target=4 target=5 target=6 lun=0; lun=0; lun=0; lun=0; lun=0; lun=0; lun=0;
You should make a backup copy of the /kernel/drv/st.conf file before you modify it.
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 devices it discovers.
85
Verify that the system created the device nodes for all the tape devices by using the following command:
ls -l /dev/rmt/*cbn
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
Installs and loads the sg driver. Copies the /usr/openv/volmgr/bin/driver/sg.conf file to /kernel/drv/sg.conf. Creates the /dev/sg directory and nodes. Appends the /usr/openv/volmgr/bin/driver/sg.links file to the /etc/devlink.tab file.
Verify that the sg driver finds all of the robots and tape drives.
86
87
88
type=ddi_pseudo;name=sg;addr=w500104f0008d53b9,1; type=ddi_pseudo;name=sg;addr=w500104f0008d53c3,0; type=ddi_pseudo;name=sg;addr=w500104f0008d53c3,1; type=ddi_pseudo;name=sg;addr=w500104f0008d53c6,0; type=ddi_pseudo;name=sg;addr=w500104f0008d53c6,1; type=ddi_pseudo;name=sg;addr=w500104f0008d53c9,0; type=ddi_pseudo;name=sg;addr=w500104f0008d53c9,1; type=ddi_pseudo;name=sg;addr=w500104f0008d53cc,0; type=ddi_pseudo;name=sg;addr=w500104f0008d53cc,1; type=ddi_pseudo;name=sg;addr=w500104f0008d53b9,0; type=ddi_pseudo;name=sg;addr=w500104f0008d53b9,1; # end SCSA devlinks
sg/c\N0t\A1l1 sg/c\N0t\A1l0 sg/c\N0t\A1l1 sg/c\N0t\A1l0 sg/c\N0t\A1l1 sg/c\N0t\A1l0 sg/c\N0t\A1l1 sg/c\N0t\A1l0 sg/c\N0t\A1l1 sg/c\N0t\A1l0 sg/c\N0t\A1l1
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
89
SCSI or Fibre Channel Protocol control. See About SCSI and FCP robotic controls on Solaris on page 89. API control over a LAN. 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.
90
Changer: "STK SL500" Tape (/dev/rmt/22): "HP Ultrium 3-SCSI" Tape (/dev/rmt/10): "HP Ultrium 3-SCSI" Tape (/dev/rmt/18): "IBM ULTRIUM-TD3" Tape (/dev/rmt/19): "IBM ULTRIUM-TD3" Disk (/dev/rdsk/c1t0d0): "FUJITSU MAV2073RCSUN72G" 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]
ID is the logical drive number as shown by the NetBackup sgscan command. c indicates compression. b indicates Berkeley-style close.
91
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"
The following are examples of no-rewind, compression, Berkeley-style close device files from the preceding sgscan example output:
For the Ultrium3 SCSI drive at LUN 0 of World Wide Node Name (WWNN) 500104f0008d53c3, the device file pathname is:
/dev/rmt/0cbn
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]
92
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 93.
For more information about NetBackup and SCSI reservations, see the following:
93
The description of the Enable SCSI Reserve Media host property in the following:
The NetBackup Administrators Guide for UNIX and Linux, Volume I The NetBackup Administrators Guide for Windows, Volume I
The NetBackup Administrators Guide for UNIX and Linux, Volume II The NetBackup Administrators Guide for Windows, Volume II
Modify the Solaris st.conf file on the NetBackup media server. In the tape-config-list section of the st.conf file, set the ST_NO_RESERVE_RELEASE configuration value (0x20000) in the appropriate data-property-name entry. For example, the following entry disables SCSI reserve and release for all tape drives that use the DLT7k-data configuration values:
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.
94
Task
Add the Fibre Transport device entry to See Adding the FT device entry to the the st.conf file st.conf file on page 94. Modify the st.conf file so that Solaris See Modifying the st.conf file so that Solaris discovers devices on two LUNS discovers devices on two LUNS on page 95.
1 2
In the /kernel/drv/st.conf file, find the tape-config-list= section or create it if it does not exist. Examine the tape-config-list= section for a line that begins with ARCHIVE Python and contains ARCH_04106. If such a line exists, ensure that it begins with a comment character (#). Add the following line to the tape-config-list= section:
"ARCHIVE Python", "FT Pipe", "ARCH_04106";
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;
95
Modifying the st.conf file so that Solaris discovers devices on two LUNS
The following procedure describes how to modify the st.conf file so that Solaris discovers devices on two LUNS. To modify the st.conf file so that Solaris discovers devices on two LUNS
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.
name="st" name="st" name="st" name="st" name="st" name="st" name="st" name="st" name="st" name="st" name="st" name="st" name="st" name="st" name="st" name="st" name="st" name="st" name="st" class="scsi" target=0 class="scsi" target=0 class="scsi" target=1 class="scsi" target=1 class="scsi" target=2 class="scsi" target=2 class="scsi" target=3 class="scsi" target=3 class="scsi" target=4 class="scsi" target=4 class="scsi" target=5 class="scsi" target=5 parent="fp" target=0; parent="fp" target=1; parent="fp" target=2; parent="fp" target=3; parent="fp" target=4; parent="fp" target=5; parent="fp" target=6; lun=0; lun=1; lun=0; lun=1; lun=0; lun=1; lun=0; lun=1; lun=0; lun=1; lun=0; lun=1;
96
/usr/sbin/modinfo | grep sg
/usr/openv/volmgr/bin/driver/sg.install
/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.
Updates st.conf, sg.conf, and sg.links, and generates SCSI Target IDs with multiple LUNs.
/usr/openv/volmgr/bin/sgscan all
Scans all connected devices with an SCSI inquiry and provides correlation between physical and the logical devices that use all device files in /dev/sg. Also checks for the devices that are connected to the Sun StorEdge Network Foundation HBA that are not configured for use by Symantec products.
boot -r or reboot -- -r
Reboot the system with the reconfigure option (-r). The kernels SCSI disk (sd) driver then recognizes the drive as a disk drive during system initialization. See the procedures in this chapter for examples of their usage.
Chapter
Windows
This chapter includes the following topics:
Before you begin on Windows About tape device drivers on Windows Attaching devices to a Windows system
The Symantec support web site contains server platform compatibility information for a number of vendors and products (see the NetBackup Product > Compatibility area of the site). Verify that your server platform is supported before configuring devices. The following is the URL: http://entsupport.symantec.com For NetBackup to recognize and communicate with connected devices and for device discovery to discover devices, NetBackup issues SCSI pass-through commands to the devices in a configuration. A tape driver must exist for each tape device. Attached devices appear in the registry. Use the Microsoft Windows device applications to verify that the devices are configured correctly. The device applications available on your server may differ depending on your Windows operating system. Make sure that Windows detects the devices on the SAN before you configure the NetBackup Shared Storage Option. If you have multiple devices connected to a fibre bridge, Windows may only see one LUN. This will normally be the device with the lowest-ordered LUN.
98
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.
1 2
Use the appropriate Windows application to obtain information on any currently attached SCSI devices. If you attach a new robotic library or drive to a NetBackup media server, follow the vendors instructions for attaching the device. Shut down the server and physically attach the supported device. Ensure that SCSI targets and termination settings are consistent with adapter card and peripheral vendor recommendations.
Reboot the server and answer the prompts for adapter card peripheral configuration options. Watch the display to ensure that the adapter card recognizes the attached peripherals. If you add drives, install the tape drivers and use the appropriate Windows application to verify that the drive was recognized.
Section
Chapter 7. Robot overview Chapter 8. ADIC Automated Media Library (AML) Chapter 9. IBM Automated Tape Library (AML) Chapter 10. Sun StorageTek ACSLS robots Chapter 11. Device configuration examples
100
Chapter
Robot overview
This chapter includes the following topics:
About NetBackup robot types Robot attributes Table-driven robotics Robotic test utilities Robotic processes
The communication method the robotic control software uses; SCSI and API are the two main methods. The physical characteristics of the robot. Library usually refers to a larger robot, in terms of slot capacity or number of drives. Stacker usually refers to a robot with one drive and low media capacity (6 - 12 media slots). The media type commonly used by that class of robots. HCART (1/2-inch cartridge tape) and 8 mm are examples of media types.
The following table lists the NetBackup robot types, with drive and slot limits for each type. To determine which robot type applies to the model of robot that you use, see the Symantec support Web site at the following URL:
102
http://entsupport.symantec.com
Description
Automated Cartridge System
Slot limits
No limit
Note
API control. Drive limit determined by ACS library software host. SCSI control. SCSI control. SCSI control. API control. API control.
Tape library 4mm Tape library 8mm Tape library DLT Tape library Half-inch Tape library Multimedia
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 NetBackup release notes or visit the Symantec support web site.
ACS robots
ACS robots are supported on NetBackup Enterprise Server only. 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. Table 7-2 Attribute
API robot SCSI control
103
NDMP support Shared drives support Drive cleaning support Media access port support NetBackup tracks slots Media type support Hosts Supported
Barcode Support
Yes. Depends on ACS library software to obtain NetBackup media IDs. Barcodes must be the same as the media ID (1 to 6 characters).
Robot Examples
TL4 robots
The following table describes the tape library 4mm attributes. Table 7-3 Attribute
API robot SCSI control LAN control
104
Remote robot control NDMP support Shared drives support Drive cleaning support Media access port support NetBackup tracks slots Media type support Hosts supported Barcode support
Yes 4MM Windows, UNIX, and Linux No, but the robot has inventory capability and can report whether a slot in the robot contains media. HP DAT Autochanger
Yes 4MM Windows, UNIX, and Linux No, but the robot has inventory capability and can report whether a slot in the robot contains media. HP DAT Autochanger
Robot examples
TL8 robots
The following table describes the tape library 8mm attributes. Table 7-4 Attribute
API robot SCSI control LAN control Remote robot control NDMP support Shared drives support Drive cleaning support
105
NetBackup tracks slots Media type support Hosts supported Barcode support
Yes 8MM, 8MM2, 8MM3 Windows, UNIX, and Linux Yes. Barcodes can be from 1 to 16 characters. The Media Manager media ID is six or fewer characters. Spectra Logic 64K and Sony LIB-162
Yes 8MM, 8MM2, 8MM3 Windows, UNIX, and Linux Yes. Barcodes can be from 1 to 16 characters. The Media Manager media ID is six or fewer characters. Spectra Logic 64K and Sony LIB-162
Robot examples
TLD robots
The following table describes the tape library DLT attributes. Table 7-5 Attribute
API robot SCSI control LAN control Remote robot control NDMP support Shared drives support Drive cleaning support Media access port support NetBackup tracks slots
Yes
Yes
106
Barcode support
Robot examples
TLH robots
TLH robots are supported on NetBackup Enterprise Server only. The following table describes the tape library half-inch attributes. Table 7-6 Attribute
API robot SCSI control LAN control Remote robot control NDMP support Shared drives support Drive cleaning support Media access port support NetBackup tracks slots
No
107
Robot examples
TLM robots
TLM robots are supported on NetBackup Enterprise Server only. The following table describes the tape library multimedia attributes: Table 7-7 Attribute
API robot SCSI control LAN control Remote robot control
NDMP support Shared drives support Drive cleaning support Media access port support NetBackup tracks slots Media type support
No 4MM, 8MM, 8MM2, 8MM3, DLT, DLT2, DLT3, DTF, HCART, HCART2, HCART3, REWR_OPT (HP9000-800 only), WORM_OPT (HP9000-800 only). Windows, UNIX, and Linux
Hosts supported
108
Robot examples
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 Symantec. 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.
From each test utility, you can obtain a list of available test commands by entering a question mark (?). The following point applies only to NetBackup Enterprise Server. Use the drstat command to determine the drive addressing parameters for ACS, TLH, and TLM robot types. 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 TLH robot types, by the IBM device number For TLM robot types, by the DAS/SDLC drive name
109
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.) The Daemons (UNIX and Linux) tab or Services (Windows) tab of the NetBackup Activity Monitor has commands to start and stop this daemon or service. You can also start and stop this daemon or service by using the Device Monitor Actions menu or the Media and Device Management Actions menu. 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 using the NetBackup Activity Monitor Processes tab. You can determine the control state of NetBackup by using the Device Monitor Drive paths pane or Drive status pane. 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. For the possible values and their explanations, see the online help for the Device Monitor. See Processes by robot type on page 109. See Robotic process example on page 111.
110
Process
acsd
acssel
acsssi
tldcd
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. 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. 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.
tl8d
tl8cd
The tape library Half-inch daemon tlhd runs on each NetBackup server 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.
111
tlmd
Device Manager
Device Manager
tldd
tldd
Each host connects to one drive, and a tldd robotic process runs on each host. The robotic control and therefore the robotic control process, tldcd, is on host A.
112
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.
Chapter
About ADIC Automated Media Library Sample TLM configuration Media requests for a TLM robot Configuring TLM robotic control Configuring TLM drives on the host Configuring TLM drives in NetBackup Configuring shared TLM drives Providing common access to volumes Adding tapes to a TLM robot Removing tapes from a TLM robot Robot inventory operations on TLM robots
114
TLM robots are API robots (a NetBackup robot category in which the robot manages its own media). Support for these devices is different than for other types of robots. This chapter provides an overview of those differences.
A configuration that uses Distributed AML Server software. See Figure 8-1 on page 114. An explanation of the major components in the sample configuration. See Table 8-1 on page 115. Typical ADIC DAS configuration
TLM Robot Inventory requests DAS client software
Figure 8-1
tlmd
ADIC Automated Media Library (AML) Media requests for a TLM robot
115
This NetBackup daemon or service uses the ADIC client software to pass mount and dismount requests to the DAS or Scalar DLC server. It also processes return status. tlmd also receives and processes robot inventory requests. A PC that runs an IBM OS/2 or Windows operating system, usually located in or near the AML cabinet. The DAS or Scalar DLC server runs on the AMU. These are two ADIC client and server software products that reside in the Archive Management Unit. They provide shared access to the Automated Media Libraries (AML).
Distributed AML Server (DAS) Scalar Distributed Library Controller (DLC) Automated Media Library (AML)
The Media Manager device daemon (UNIX) or NetBackup Device Manager service (Windows) ltid receives the request from bptm.
ltid sends a mount request to the TLM daemon tlmd. tlmd uses the ADIC
client software to pass the request to the DAS or Scalar DLC server software that resides in the Archive Management Unit.
The DAS or Scalar DLC server locates the media and directs the robotics to mount the media in the drive. When the NetBackup media server receives a successful response from the server, it allows NetBackup to start sending data to the drive.
116
Install the appropriate ADIC library files on the NetBackup media server that functions as the device host. The libraries provide the client functionality in the ADIC client and server architecture. Configure environment variables on that NetBackup media server. Allocate the drives on the DAS or Scalar DLC server so they are available to that NetBackup media server. That media server is the DAS or Scalar DLC client.
For more information about how to configure the DAS or Scalar DLC server and client, see the ADIC documentation. For information about how to install the ADIC client software, configure the DAS or Scalar DLC client name, and allocate TLM drives on a DAS or Scalar DLC server, see the following:
Installing ADIC client software on UNIX See Installing ADIC client software on UNIX on page 117. Installing ADIC client software on Windows See Installing ADIC client software on Windows on page 117. Configuring the DAS or Scalar DLC client name See Configuring the DAS or Scalar DLC client name on page 118. Allocating TLM drives on a DAS server See Allocating TLM drives on a DAS server on page 119. Allocating TLM drives on a Scalar DLC server See Allocating TLM drives on a Scalar DLC server on page 120.
ADIC Automated Media Library (AML) Configuring TLM drives on the host
117
Install the ADIC library (libaci.so) in the operating system folder /usr/lib. On HP-UX systems, the ADIC library is named libaci.sl.
118
ADIC Automated Media Library (AML) Configuring TLM drives on the host
Set the following system environment variables and values on the Windows media server host computer:
DAS_CLIENT DAS_SERVER name_of_NetBackup_media_server name_of_DAS_server
2 3
Set any other environment variables that ADIC requires. Copy the following DLLs from the software media that came with the ADIC library to the Windows\System32 directory or the install_path\Volmgr\bin directory:
aci.dll ezrpcw32.dll winrpc32.dll aci64.dll (64-bit Windows only)
Run the portinst.exe command that is provided with the Windows DAS client. This command installs the NobleNet Portmapper for TCP service. NobleNet Portmapper is provided with the Windows DAS client.
Use Windows Computer Management to set the NobleNet Portmapper for TCP service to start automatically when the host is started.
ADIC Automated Media Library (AML) Configuring TLM drives on the host
119
In the configuration file on the DAS or Scalar DLC server, change the name of the client system that is the NetBackup media server. For instructions on how to change a client name, see the ADIC documentation.
On the NetBackup media server, change the client name. It must be the same as the client name in the configuration file on the DAS or Scalar DLC server. How to change the client name depends on the operating system type, as follows:
UNIX. Add the new client name by using a DAS_CLIENT entry in the /usr/openv/volmgr/vm.conf file. These entries are of the form: DAS_CLIENT = DASclientname Where DASclientname is the name that you want the NetBackup media server to use as its DAS or Scalar DLC client name. Windows. Set the DAS_CLIENT environment variable to the new client name.
3 4
Stop and start the ltid daemon (UNIX) or service (Windows) to enable the TLM daemon to use the new client name. When the client names are correct, restart the DAS or Scalar DLC server and then allocate the drives to the NetBackup media server.
120
Use the dasadmin listd command to list the clients and drives available. For example, the following shows two drives and the clients to which they are allocated. DN1 and DN2 are the drives, and grouse and mouse are the clients (grouse is a NetBackup media server).
./dasadmin listd ==>listd for client: successful drive: DN1 amu drive: 01 st: UP type: N sysid: client: grouse volser: cleaning 0 clean_count: 17 drive: DN2 amu drive: 02 st: UP type: N sysid: client: mouse volser: cleaning 0 clean_count: 4
Use the dasadmin allocd command to allocate the drive. For example, the following two commands deallocate drive DN2 from client mouse and allocate it to client grouse (the NetBackup media server):
./dasadmin allocd DN2 DOWN mouse ./dasadmin allocd DN2 UP grouse
Start the Scalar DLC console and expand Configuration > Clients. Enter the client name for the value of Name. Enter the network host name for the value of Client Host Name.
Select the Drive Reservation tab on the client and choose UP for the drives that you want to allocate to this client.
121
Use the same methods to create device files or add tape drivers for these drives as for other drives. If the drives are SCSI and connect to the robot through a control unit, the drives share the same SCSI ID. Therefore, you must specify the logical unit number (LUN) for each drive. Symantec recommends that you use the NetBackup Device Configuration Wizard to configure the robots and drives in NetBackup.
Older drives The DAS or Scalar DLC servers that do not support serialization
You must determine the drive designations so you know which drives to add to NetBackup. To add the drives to NetBackup, see the NetBackup Administrators Guide for UNIX and Linux, Volume I or NetBackup Administrators Guide for Windows, Volume I. Warning: When you add drives to NetBackup, ensure that you assign the correct DAS or Scalar DLC drive name to each drive. If the drive name is incorrect, tape mounts or backups may fail. Use the NetBackup TLM test utility to determine the DAS or Scalar DLC drive designations. The following example uses tlmtest:
tlmtest -r dasos2box
The following is the output from this utility (the user entered the drstat command on the third line).
Current client name is 'grouse'. Enter tlm commands (? returns help information) drstat Drive 1: name = DN1, amu_name = 01, state = UP, type = N, client = grouse, volser = , cleaning = NO, clean_count = 17 Drive 2: name = DE3, amu_name = 03, state = UP, type = E, client = grouse, volser = , cleaning = NO, clean_count = 480 Drive 3: name = DE4, amu_name = 04, state = UP, type = E, client = grouse, volser = , cleaning = NO, clean_count = 378 DRIVE STATUS complete
122
This output shows that you should use DAS or Scalar DLC drive names DN1, DE3, and DE4 should be used. It also shows that you should use grouse as the client name of the NetBackup media server.
Configuring the ADIC DAS server See Configuring the ADIC DAS server on page 122. Configuring the ADIC Scalar DLC server See Configuring the ADIC Scalar DLC server on page 123. Configuring the drives in NetBackup See Configuring the shared drives in NetBackup on page 124.
Modify the DAS servers \ETC\CONFIG file to create a shared client entry. For example, the following creates a client entry named NetBackupShared.
client client_name = NetBackupShared # ip address = 000.000.000.000 hostname = any
Place the IP addresses of all NetBackup media servers that use the shared client entry in the \MPTN\ETC\HOSTS file on the DAS server. For example, the following adds two servers:
192.168.100.100 server_1 192.168.100.102 server_2
123
3 4
In the DASADMIN interface, choose UP for the drives that you want to allocate to the shared client (NetBackupShared from the example in step 1). On each of the NetBackup media servers that share the drives, create an entry in the vm.conf file with the shared DAS client name. For example, the following adds NetBackupShared as a DAS client:
DAS_CLIENT = NetBackupShared
Test the DAS configuration by using the NetBackup robtest and tlmtest utilities:
For example, set the client name (use client NetBackupshared in tlmtest) and run the drive status command drstat. On Windows media servers, the client name is obtained from the DAS_CLIENT environment variable so the client command is not needed in tlmtest.
In the Scalar DLC console, create a new, shared client by using the following values:
Name Client Host Name name_of_client (such as NetBackupShared) any
2 3 4
In the Scalar DLC console, select the Drive Reservation tab for the shared client (NetBackupShared). Choose UP for the drives that you want to allocate to the shared client. Configure the shared client name on the NetBackup media servers that share the drives, as follows:
UNIX. Create an entry in the vm.conf file with the shared client name, such as the following: DAS_CLIENT = NetBackupShared Windows. Set the DAS_CLIENT Windows operating system environment variable to the shared client name, such as NetBackupShared.
124
For example, set the client name (use client NetBackupshared in tlmtest) and run the drive status command drstat. On Windows media servers, the client name is obtained from the DAS_CLIENT environment variable so the client command is not needed in tlmtest.
Run the NetBackup Device Configuration Wizard on one of the hosts to which drives in an TLM-controlled library are attached. Allow the drives to be added as stand-alone drives. Add the TLM robot definition and update each drive to indicate its appropriate position in the robot. Make each drive robotic. To determine the correct drive addresses and verify the drive paths, see "Correlating device files to physical drives" in the NetBackup Administrators Guide, Volume I.
After you verify the drive paths on one host, run the NetBackup Device Configuration Wizard again. Scan all of the hosts that have TLM drives in the library. The wizard adds the TLM robot definition and the drives to the other hosts and uses the correct device paths.
125
The wizard discovered the devices and their serial numbers successfully the first time. You configured the drive paths correctly on the first host.
Add barcode labels to the media and insert the media into the robot by using the media access port (insert area). Do one of the following to empty the media access port:
In the NetBackup Administration Console, select the robot inventory update inventory function and select Empty media access port prior to update. Issue the DAS insert directive from a DAS administrative interface. You can obtain the insert area name from the DAS configuration file.
Issue the DAS insert directive from the NetBackup tlmtest utility. You can obtain the insert area name from the DAS configuration file. The AMU Archive Management Software then reads the bar codes, classifies the media by media type, and tracks storage cell locations for the media.
Define the media in NetBackup by using the DAS or Scalar DLC volser as media IDs. To define the media, do one of the following:
126
ADIC Automated Media Library (AML) Removing tapes from a TLM robot
Update the volume configuration by using the robot inventory function. For procedures, see the NetBackup Administrators Guide for UNIX and Linux, Volume I or NetBackup Administrators Guide for Windows, Volume I.
Add new volumes. For procedures, see the NetBackup Administrators Guide for UNIX and Linux, Volume I or NetBackup Administrators Guide for Windows, Volume I. Because the DAS or Scalar DLC volser 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; the ADIC software manages them.
To verify your configuration, use Show Contents and Compare Contents with Volume Configuration from the Robot Inventory dialog box in NetBackup. Also, use these options to update the NetBackup volume configuration when media has moved. The configuration update maintains consistency betSee About ADIC Automated Media Library on page 113.ween the DAS or Scalar DLC database and the NetBackup EMM database.
Physically remove the media from the library by using one of the following:
Actions > Eject Volumes From Robot in the NetBackup Administration Console. The NetBackup vmchange command. For usage, see the NetBackup Commands Reference Guide guide. The eject command in the NetBackup tlmtest utility. A DAS or Scalar DLC administrative interface.
If you use a DAS or Scalar DLC administrative interface or the NetBackup tlmtest utility, update the volume location to stand alone in NetBackup. To do so, do one of the following:
Update the volume configuration by using the robot inventory function. See the NetBackup Administrators Guide for UNIX and Linux, Volume I or NetBackup Administrators Guide for Windows, Volume I. Move the volumes.
ADIC Automated Media Library (AML) Robot inventory operations on TLM robots
127
See the NetBackup Administrators Guide for UNIX and Linux, Volume I or NetBackup Administrators Guide for Windows, Volume I. If you do not update the EMM database, NetBackup does not know the new location of the media and may issue mount requests for it. The result is an error such as Misplaced Tape.
NetBackup requests volume information from the DAS server or SDLC server through a DAS or Scalar DLC application library call. The server responds by providing a list of volume IDs and associated information from its database. NetBackup filters out the volumes that are not occupied in their home cell locations or in drives. NetBackup then displays a list of the volumes and their media types according to the DAS or Scalar DLC server. The following are examples of the type of information received. TLM volume ID
A00250 J03123 DLT001 MM1200 NN0402 002455
NetBackup translates the volsers directly into media IDs and barcodes. In the previous table, volser A00250 becomes media ID A00250, and the barcode for that media ID is also A00250. If the operation does not require updating the volume configuration, NetBackup uses the media type defaults for TLM robots when it creates an inventory report. If the operation requires a volume configuration update, NetBackup maps the TLM media types to the default NetBackup media types
128
ADIC Automated Media Library (AML) Robot inventory operations on TLM robots
Information about the default media type mappings and how to change them is available. See the NetBackup Administrators Guide for UNIX and Linux, Volume I or the NetBackup Administrators Guide for Windows, Volume I.
Chapter
About IBM Automated Tape Library Sample TLH configurations Media requests for a TLH robot About configuring robotic control About configuring TLH drives About cleaning drives Adding tapes to TLH robots Removing tapes from TLH robots Robot inventory operations on TLH robots
130
The robotic control host communicates directly to robot See Figure 9-1 on page 131. Robotic control and robot connection on separate hosts. See Figure 9-2 on page 132.
An explanation of the major components in those configurations. See Table 9-1 on page 133.
131
Figure 9-1
This server can be a NetBackup master or media server (or SAN media server). Inventory requests
tlhd
tlhcd
IBM library device driver (AIX) Or Tape library interface (non-AIX) Library Manager Robotic requests lmcpd (PC)
003590B1A00
003590B1A01
132
Figure 9-2
NetBackup media server
tlhd
NetBackup media server B (robot control host) NetBackup media server tlhcd tlhd Server B can be AIX, HP-UX, Windows, Linux, or Solaris SPARC. Server B also can be a NetBackup master or media server (or SAN media server).
Inventory requests IBM library device driver (AIX) or Tape library interface (other UNIX)
lmcpd
003590B1A00
003590B1A01
133
NetBackup media server A host that has NetBackup media server software and is a client to the ATL through the Library Manager Control Point daemon (lmcpd). The NetBackup Media Manager device daemon, ltid, forwards mount and dismount requests to the Tape Library Half-inch daemon (tlhd). Tape Library Half-inch daemon (tlhd) This daemon resides on a NetBackup media serve. It passes mount and dismount requests to the tape library half-inch control daemon (tlhcd) on the robotic control host. This daemon receives mount or dismount requests from tlhd or robot inventory requests through an external socket interface. tlhcd must reside on the same system that communicates with lmcpd. Communication occurs by using the IBM Library Device Driver interface (on AIX) or IBM Tape Library system calls (other UNIX systems).
Library Manager Control A component of IBM ATL support. This software handles all Point daemon (lmcpd) communications with the Library Manager and must run on any system from which the Automatic Tape Library is directly controlled. Library manager A component of IBM ATL support that provides control of the robotics and the robotic library. The Library Manager is a PC that usually is located within the robot cabinet. An IBM physical library under automated robotic control.
Robotic control on host with ATL drives. See Figure 9-3 on page 134. Robotic control and robot connection on separate hosts. See Figure 9-4 on page 135.
An explanation of the major components in those configurations. See Table 9-2 on page 136.
134
Figure 9-3
tlhd
tlhcd
Inventory requests
(PC)
003590B1A00
003590B1A01
135
Figure 9-4
NetBackup media server
tlhd
NetBackup media server B NetBackup media server tlhcd tlhd Server B can be any NetBackup Windows master server or media server (or SAN media server) and is the robot control host.
Inventory requests IBM Automated Tape Library API Library Manager Robotic requests IBM Automated Tape Library Service (PC)
003590B1A00
003590B1A01
136
IBM Automated Tape Library (AML) Media requests for a TLH robot
NetBackup media server A host that has NetBackup media server software and is a client to the Automated Tape Library through the IBM ATL service. The NetBackup Device Manager service (ltid) forwards mount and dismount requests to the Tape Library Half-inch service (tlhd). Tape Library Half-inch process (tlhd) This process resides on a NetBackup media server. It passes mount and dismount requests to the Tape Library Half-inch control process (tlhcd) on the robotic control host. This process receives mount or dismount requests from tlhd or robot inventory requests through an external socket interface. tlhcd must reside on the same system that communicates with the IBM ATL service. A component of IBM ATL support. This software handles all communications with the Library Manager and must be running on any system from which the Automatic Tape Library is directly controlled. A component of IBM ATL support that provides control of the robotics and the robotic library. The Library Manager is a PC that is usually located within the robot cabinet. An IBM physical library under automated robotic control.
Library Manager
The Media Manager device daemon (UNIX) or NetBackup Device Manager service (Windows) ltid receives the request from the NetBackup bptm process. ltid sends a mount request to the NetBackup TLH daemon tlhd. tlhd passes the request to the NetBackup TLH control daemon tlhcd. tlhcd resides on the host to which the Automatic Tape Library is connected. This host can be the same host on which tlhd is running or another host. tlhcd communicates with the robotic library as follows:
AIX. The control daemon communicates with the Library Manager Control Point daemon lmcpd by using the Library Device Driver interface.
137
UNIX. The control daemon communicates with the Library Manager Control Point daemon lmcpd through Tape Library system calls from an application library interface. Windows. The control process communicates with the IBM ATL service through Tape Library system calls from an application library interface.
lmcpd (UNIX) or the IBM ATL service (Windows) passes the information to the Library Manager. The Library Manager then locates the media and directs the TLH robotics to mount the media in the drive. When the NetBackup media server receives a successful response from the Library Manager, it allows NetBackup to start sending data to the drive.
The IBM Automated Tape Library is physically connected and configured correctly. For information about how to configure the IBM components of the Automated Tape Library, see the IBM documentation. The documentation includes SCSI Tape Drive, Medium Changer, and Library Device Drivers Installation and User's Guide (or any related publications). For information on platform support for TLH robotic control, see the NetBackup release notes and the Symantec support Web site: http://entsupport.Symantec.com You use a recommended version of the Automated Tape Library. To locate the recommended levels, see the Symantec support Web site.
138
139
Where /dev/lmcp0 is the path to the robotic device file and maui is the EMM server for this robot.
140
is first configured (see your IBM system documentation). The library name is configured in the /etc/ibmatl.conf file; determine the library name by viewing the contents of the file. The following is an example entry in that file:
3494AH 176.123.154.141 ibmpc1
3494AH is the library name. 176.123.154.141 is the IP address of the PC workstation that is running the Library Manager software. ibmpc1 is the host name of the PC workstation that is running the Library Manager software.
141
Gripper 2 available Vision system operational comp avail status......... Primary library manager installed. Primary library manager available. Primary hard drive installed. Primary hard drive available. Convenience input station installed. Convenience input station available. Convenience output station installed. Convenience output station available. avail 3490 cleaner cycles..0 avail 3590 cleaner cycles..92
Where 3494AH is the library name and glozer is the EMM server for this robot.
142
3494AH is the library name. 176.123.154.141 is the IP address of the PC workstation that is running the Library Manager software. ibmpc1 is the host name of the PC workstation that is running the Library Manager software.
143
machine type...............3494 sequence number............11398 number of cells............141 available cells............129 subsystems.................2 convenience capacity.......30 accessor config............01 accessor status............Accessor available Gripper 1 available Gripper 2 available Vision system operational comp avail status..........Primary library manager installed. Primary library manager available. Primary hard drive installed. Primary hard drive available. Convenience input station installed. Convenience input station available. Convenience output station installed. Convenience output station available. library facilities.........00 bulk input capacity........0 bulk input empty cells.....0 bulk output capacity.......0 bulk output empty cells....0 avail 3490 cleaner.........0 avail 3590 cleaner.........92
144
<3,1,1,0> Currently defined robotics are: TLH(0) library name = 3494AH TLD(5) SCSI port=3, bus=1, target=6, lun=0 EMM Server = glozer
3494AH is the library name, and glozer is the EMM server for this robot.
On UNIX systems, create or identify device files for these drives. Use the same methods to create or identify device files for these drives as for other drives. On Windows systems, you must install a system tape driver according to the appropriate system and vendor documentation.
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. Warning: When you add drives to NetBackup, ensure that you assign the correct IBM device number to each drive. If the IBM device number is incorrect, tape mounts or backups may fail. Use the NetBackup TLH test utility (tlhtest) to determine the TLH drive designations. The following example uses tlhtest and shows the drives in the robot that NetBackup controls:
If the robotic control is configured on a UNIX server other than AIX, use the library name as configured in /etc/ibmatl.conf. Do not use the LMCP device path on the call to tlhtest.
145
The following is the output from tlhtest (the user entered the drstat command on the third line). You would use 156700 and 156600 when you add these drives to NetBackup.
Opening /dev/lmcp0 (UNIX) Opening 3494AH (Windows) Enter tlh commands (? returns help information) drstat Drive information: device name: 003590B1A00 device number: 0x156700 device class: 0x10 - 3590 device category: 0x0000 mounted volser: <none> mounted category: 0x0000 device states: Device installed in ATL. Dev is available to ATL. ACL is installed. Drive information: device name: 003590B1A01 device number: 0x156600 device class: 0x10 - 3590 device category: 0x0000 mounted volser: <none> mounted category: 0x0000 device states: Device installed in ATL. Dev is available to ATL. ACL is installed. QUERY DEVICE DATA complete
146
IBM Automated Tape Library (AML) Removing tapes from TLH robots
Add barcode labels to the media and insert the media into the robot by using the media access port.
Define the media in To define the media, do one of the following: NetBackup by using the ATL Add new volumes by using the Configure Volumes volume IDs as media IDs Wizard. See the NetBackup Administrators Guide for UNIX and Linux, Volume I or NetBackup Administrators Guide for Windows Volume I. Update the volume configuration by using the NetBackup robot inventory function. See the NetBackup Administrators Guide for UNIX and Linux, Volume I or NetBackup Administrators Guide for Windows Volume I. Because the ATL volume IDs and barcodes are the same, NetBackup has a record of the barcodes for the media. Note that you do not enter slot locations because the ACS library software manages them. Verify the volume configuration Use Show Contents and Compare Contents with Volume Configuration from the Robot Inventory dialog.
Physically remove the media from the library by using one of the following:
Actions > Eject Volumes From Robot in the NetBackup Administration Console. The NetBackup vmchange command. For usage, see the NetBackup Commands Reference Guide guide. The eject command in the NetBackup tlhtest utility.
IBM Automated Tape Library (AML) Robot inventory operations on TLH robots
147
If you use the IBM Library Manager interface or the NetBackup tlhtest utility, update the volume location to stand alone in NetBackup. To do so, do one of the following:
Update the volume configuration by using the robot inventory function. For procedures, see the NetBackup Administrators Guide for UNIX and Linux, Volume I or NetBackup Administrators Guide for Windows Volume I. Move the volumes. For procedures, see the NetBackup Administrators Guide for UNIX and Linux, Volume I or NetBackup Administrators Guide for Windows Volume I.
If you do not update the volume location, NetBackup does not know the new location of the media and may issue mount requests for it. The result is an error such as Misplaced Tape.
NetBackup requests volume information from the Library Manager through the Library Manager Control Point daemon. The Library Manager responds by providing a list of volume IDs and volume attributes from its database. NetBackup filters out the volume categories that cannot be used. NetBackup displays a list of the volumes and a translated version of the volumes media type. The media type is based on the attributes that were returned. The following table shows an example of the types of information that NetBackup receives: TLH volume ID
PFE011 303123 CB5062 DP2000
148
IBM Automated Tape Library (AML) Robot inventory operations on TLH robots
NetBackup translates the volume IDs into media IDs and barcodes. In the previous table, volume ID PFE011 becomes media ID PFE011, and the barcode for that media ID is also PFE011. If the operation does not require updating the volume configuration, NetBackup uses the media type defaults for TLH robots when it creates the inventory report. If the operation requires a volume configuration update, NetBackup maps the TLH media types to the default NetBackup media types Information about the default media type mappings and how to change them is available. See the NetBackup Administrators Guide for UNIX and Linux, Volume I or NetBackup Administrators Guide for Windows Volume I..
robot_number is the number of the robot in NetBackup. value1 is a filter value of type IBM category (if filter_type = BY_CATEGORY). value2 is a second filter value (up to 10 filter values are allowed).
Chapter
10
About StorageTek ACSLS robots Sample ACSLS configurations Media requests for an ACS robot About configuring ACS drives Configuring shared ACS drives Adding tapes to ACS robots About removing tapes from ACS robots Robot inventory operations on ACS robots NetBackup robotic control, communication, and logging ACS robotic test utility Changing your ACS robotic configuration ACS configurations supported Sun StorageTek ACSLS firewall configuration
150
Note: If you use the access control feature of Sun StorageTek ACSLS controlled robots and the NetBackup media sharing feature, do the following: ensure that all servers in the NetBackup media server share group have the same ACSLS permissions to all the same ACSLS media and ACSLS drives. Any mismatches can cause failed jobs and stranded tapes in drives. Sun StorageTek Automated Cartridge System Library Software controlled robots are NetBackup robot type ACS. ACS robots are API robots (a NetBackup robot category in which the robot manages its own media). Unlike other robot types, NetBackup does not track slot locations for the media in ACS robots. The Automated Cartridge System Library Software tracks slot locations and reports them to NetBackup. The term automated cartridge system (ACS) can refer to any of the following:
A type of NetBackup robotic control. The Sun StorageTek system for robotic control. The highest-level component of the Sun StorageTek ACSLS. It refers to one robotic library or to multiple libraries that are connected with a media pass-through mechanism.
The ACS library software component can be either of the following Sun StorageTek products:
Sun StorageTek Automated Cartridge System Library Software (ACSLS) Sun StorageTek Library Station
A typical UNIX ACSLS configuration. See Figure 10-1 on page 151. A typical Windows ACSLS configuration. See Figure 10-2 on page 152. The major components in typical configurations. See Table 10-1 on page 153.
151
Figure 10-1
ascd
Database
Robotics
Data
Drive
Driv e
C AP
Drive
152
Figure 10-2
acsd
IPC
Database
Robotics
Data
Drive
Driv e
C AP
Drive
153
Description
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 Sun StorageTek LibAttach service. This service sends the requests to the ACS library software.
Sun StorageTek LibAttach Specifies that Library Attach for Windows, an ACS library software client application, 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 Sun. See the Symantec 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. Library Storage Module (LSM) Control Unit (CU) Contains the robot, drives, or media.
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.
CAP
154
The Media Manager device daemon (UNIX) or NetBackup Device Manager service (Windows) ltid receives the request from bptm.
ltid sends a mount request to the NetBackup ACS process acsd. acsd formulates the request.
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 Sun 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.
155
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. Table 10-2 ACS drive coordinates Description
Specifies the index, in ACS library software terms, that identifies the robot that has this drive. Specifies the Library Storage Module that has this drive. Specifies the panel where the drive is located. 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.
156
Figure 10-3
ACS number (0-126) Library Management Unit (LMU) LSM number (0-23)
Robotics
D ri ve
SCSI ID
Drive Drive
SC
SI
ID
SCSI ID Drive
157
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
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. 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 Administrators Guide for UNIX and Linux, Volume I or NetBackup Administrators Guide for Windows, Volume I.
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.
158
Dollar sign ($) Pound sign (#) The yen symbol Leading and trailing spaces
The following tables is an overview of how to add tapes to an ACS robot and then add those tapes to NetBackup. Table 10-3 Task
Add barcode labels to the media and insert the media into the robot by using the media access port.
Description
The Library Manager reads the bar codes and classifies the media by media type. A category is assigned to each volume. Some volume categories restrict application access to certain volumes. The Library Manager tracks volume locations.
Define the media in To define the media, do one of the following: NetBackup by using the ACS Update the volume configuration by using the robot inventory function. For volume IDs as media IDs. procedures, see the NetBackup Administrators Guide for UNIX and Linux, Volume I or NetBackup Administrators Guide for Windows, Volume I. Add new volumes by using the Volume Configuration Wizard. For procedures, see the NetBackup Administrators Guide for UNIX and Linux, Volume I or NetBackup Administrators Guide for Windows, Volume I. 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 configuration Use Show Contents and Compare Contents with Volume Configuration from the Robot Inventory dialog.
159
Update the volume configuration by using the NetBackup robot inventory function. See the NetBackup Administrators Guide for UNIX and Linux, Volume I or NetBackup Administrators Guide for Windows Volume I. Move the volumes. See the NetBackup Administrators Guide for UNIX and Linux, Volume I or NetBackup Administrators Guide for Windows Volume I.
Select Actions > Eject Volumes From Robot in the NetBackup Administration Console. Use the NetBackup vmchange command. See the NetBackup Commands Reference Guide guide.
Both of these methods performs the logical move and the physical move.
160
The following sequence of events occurs when you inventory an ACS robot in NetBackup:
NetBackup requests volume information from the ACS library software. The ACS library software provides a listing of the volume IDs, media types, ACS location, and LSM location from its database. See Table 10-4 on page 160. NetBackup maps the volume IDs into media IDs and bar codes. For example in the previous table, volume ID 100011 becomes media ID 100011 and the barcode for that media ID is also 100011. If the operation does not require a volume configuration update, NetBackup uses the media type defaults for ACS robots when it creates its report. If the operation requires a volume configuration update, NetBackup does the following:
Maps the ACS media types to the default NetBackup media types. Adds the ACS and the LSM locations for new volumes to the EMM database. This location information is used for media and drive selection.
Information about the default media type mappings and how to configure media type mappings is available. See the NetBackup Administrators Guide for UNIX and Linux, Volume I or the NetBackup Administrators Guide for Windows, Volume I. The following table shows an example of the ACS drive coordinates that NetBackup receives. Table 10-4 ACS volume ID
100011 200201 412840 412999 521212 521433 521455 770000
ACS
0 0 0 0 0 0 0 0
LSM
0 0 1 1 0 1 1 0
161
ACS
0 0 0
LSM
0 0 0
Use the ACSLS administrative interface (ACSSA) command to create a scratch pool. Assign ID 4 and 0 to 500 as the range for the number of volumes, as follows:
ACSSA> define pool 0 500 4
Use the ACSLS administrative interface (ACSSA) command to define the volumes in scratch pool 4:
ACSSA> set scratch 4 600000-999999
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:
INVENTORY_FILTER = ACS robot_number BY_ACS_POOL acs_scratch_pool1 [acs_scratch_pool2 ...]
162
Sun StorageTek ACSLS robots NetBackup robotic control, communication, and logging
robot_number is the number of the robot in NetBackup. acs_scratch_pool1 is the scratch pool ID as configured in the ACS library software. acs_scratch_pool2 is a second scratch pool ID (up to 10 scratch pools are allowed).
For example, the following entry forces ACS robot number 0 to query scratch volumes from Sun StorageTek pool IDs 4 and 5.
INVENTORY_FILTER = ACS 0 BY_ACS_POOL 4 5
Windows systems See NetBackup robotic control, communication, and logging for Windows systems on page 162. UNIX systems See NetBackup robotic control, communication, and logging for UNIX systems on page 163.
Sun StorageTek ACSLS robots NetBackup robotic control, communication, and logging
163
Note: Symantec 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.
164
Sun StorageTek ACSLS robots 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. The full path to the event logger is /usr/openv/volmgr/bin/acssel. The usage format is as follows:
acssel [-d] -s socket_name
-d displays debug messages (by default, debug messages are disabled). socket_name is the socket name (or IP port) to listen on for messages.
Modify the vm.conf configuration file. See To change the default by modifying the vm.conf configuration file. Add environment variables. This method assumes that one ACS robot is configured and that the SSI default socket name has not been changed. (The vm.conf ACS_SEL_SOCKET entry can change the default). See To change the default by adding environment variables. acssel also has a command line option to specify the socket name. However, because acsssi needs to know the event logger socket name, setting an environment variable is preferred.
Edit the vm.conf file and add an ACS_SEL_SOCKET entry. The following is an example:
ACS_SEL_SOCKET = 13799
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
Restart the NetBackup daemons and processes by invoking the following script:
/usr/openv/NetBackup/bin/bp.start_all
Sun StorageTek ACSLS robots NetBackup robotic control, communication, and logging
165
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
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
Set the ACS library software host name for acsssi in an environment variable.
CSI_HOSTNAME = einstein export CSI_HOSTNAME
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 167. The robtest utility specifies drive paths automatically if ACS drives have been configured.
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.
166
Sun StorageTek ACSLS robots NetBackup robotic control, communication, and logging
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 167.
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
167
1 2
Start the event logger, acssel. Start acsssi. The format is acsssi socket_name.
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.
168
The acstest utility lets you verify ACS communications and provides a remote system administrative interface to an ACS robot. It can also be used to query, enter, 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.
successfully. You can verify that this service is started by using the Services tool available in administrative tools in the Windows control panel. acstest attempts to communicate with ACS library software by using the LibAttach service. The usage format follows:
acstest -r ACS_library_software_hostname [-d device_name ACS, LSM, panel, drive] ... [-C sub_cmd]
attempts to communicate with ACS library software using acsssi and connects on an existing socket. The usage format follows. You can pass the socket name on the command line. Otherwise, the default socket name (13741) is used.
acstest -r ACS_library_software_hostname [-s socket_name] [-d drive_path ACS, LSM, panel, drive] ... [-C sub_cmd]
The following example assumes that the acsssi process has been started by using socket 13741:
/usr/openv/volmgr/bin/acstest -r einstein -s 13741
169
If you change your ACS robot configuration, you should update NetBackup so that acsssi can successfully communicate with acsd, acstest, and ACS library software. 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 2 3
Make your configuration changes. Use /usr/openv/NetBackup/bin/bp.kill_all to stop all running processes. Restart the NetBackup daemons and processes by invoking the following script:
/usr/openv/NetBackup/bin/bp.start_all
Multiple robots that are controlled from a single ACS host See Multiple ACS robots with one ACS library software host on page 169. Multiple robots that are controlled from multiple ACS hosts See Multiple ACS robots and ACS library software hosts on page 170.
A NetBackup server is connected to drives in multiple ACS robots. The robots are controlled from a single ACS library software host.
The following figure shows multiple ACS robots that are controlled from a single ACS library software host.
170
Figure 10-4
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.
A NetBackup server is connected to drives in multiple ACS robots. The robots are controlled from separate ACS library software hosts.
The following figure shows multiple ACS robots that are controlled from multiple ACS library software hosts.
171
Figure 10-5
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.
172
See the NetBackup Administrators Guide for UNIX and Linux, Volume II or the NetBackup Administrators Guide for Windows, Volume II. 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:
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
11
A robot on a server example Stand-alone drives on a server example A robot and multiple servers example An ACS robot on a Windows server example An ACS robot on a UNIX server example A TLH robot on a UNIX server example A TLM robot on a UNIX server example
174
Figure 11-1
TL8 robot Path EMM server Robotic drive 1 8mm Robotic drive 2 8mm [4,0,0,0] Drive name eel_drv_1
[4,0,1,0]
eel_drv_2
This configuration has a tape library that contains two 8mm tape drives. The robot and drives are connected to a server that runs Microsoft Windows. The following table shows the attributes for the robot. Table 11-1 Dialog box field
Device Host Robot Type Robot Number
Robot is controlled locally by this device host Set (cannot be changed for this robot type) Robot Device When you select a robot, the SCSI Port, Bus, Target, and LUN numbers are propogated to the Add Robot dialog for Windows servers.
The following table shows the attributes for drive 1. Table 11-2 Dialog box field
Device Host Drive Name Drive Type Path Information
175
Add Drive dialog entries (drive1) for Windows host (continued) Value
0 (hours) Yes TL8(0) - eel 1
Cleaning Frequency Drive is in a Robotic Library Robotic Library Robot Drive Number
The following table shows the attributes for drive 2. Table 11-3 Dialog box field
Device Host Drive Name Drive Type Path Information Cleaning Frequency Drive is in a Robotic Library Robotic Library Robot Drive Number
The following table shows the attributes for the robot if host eel is a UNIX server. Table 11-4 Dialog box field
Device Host Robot Type Robot Number
Robot is controlled locally by this device host Set (cannot be changed for this robot type) Robotic Device File /dev/sg/c0t4l0
The following table shows the attributes for drive 1 if host eel is a UNIX server.
176
Cleaning Frequency Drive Status Drive is in a Robotic Library Robotic Library Robot Drive Number
The following table shows the attributes for drive 1 if eel is a UNIX host Table 11-6 Dialog box field
Device Host Drive Name Drive Type No Rewind Device Cleaning Frequency Drive Status Drive is in a Robotic Library Robotic Library Robot Drive Number
177
See A robot on a server example on page 173. Figure 11-2 Server with standalone drives and robot configuration example
Robot number 0
TL8 robot Path EMM server Robotic drive 1 8mm Robotic drive 2 8mm Path [5,0,0,0] Drive name eel_qdrv_2 Drive 1 qscsi Drive 2 qscsi Drive 3 4mm [4,0,0,0] Drive name eel_drv_1
[4,0,1,0]
eel_drv_2
[5,0,2,0]
eel_qdrv_3
[5,0,1,0]
eel_4mm_drv_4
The following table shows the attributes for stand-alone drive 1. Table 11-7 Dialog box field
Device Host Drive Name Drive Type Path Information Drive is in a Robotic Library
178
The following table shows the attributes for stand-alone drive 3. Table 11-9 Dialog box field
Device Host Drive Name Drive Type Path Information Cleaning Frequency Drive is in a Robotic Library
The following table shows the attributes for stand-alone drive 1 if host eel is a UNIX server. Table 11-10 Dialog box field
Device Host Drive Name Drive Type No Rewind Device Drive Status Drive is in a Robotic Library
179
The following table shows the attributes for stand-alone drive 2 if host eel is a UNIX server. Table 11-11 Dialog box field
Device Host Drive Name Drive Type No Rewind Device Drive Status Drive is in a Robotic Library
The following table shows the attributes for stand-alone drive 3 if host eel is a UNIX server. Table 11-12 Dialog box field
Device Host Drive Name Drive Type No Rewind Device Cleaning Frequency Drive Status Drive is in a Robotic Library
180
Figure 11-3
Robotic control
EMM server
SCSI
[4,0,0,0]
SCSI
[5,0,1,0]
shark_drv_2
/dev/nrst15 whale_drv_3
This example is a more complex configuration than the previous examples because of the following:
The robotic control is on one NetBackup media server, server eel. Two other media servers use the drives.
Following are some things to note when you review this example:
Media for all devices is configured in an EMM server, which is located on server eel. The Robot number is 0 in all three cases because the three servers refer to the same physical robot. In this case, robotic control is on host eel. Robot drive numbers correlate to the physical drive assignment within the robot. When you add volumes, add them to host eel because the EMM server is on that server.
The configuration attributes for each host are in separate topics. See Configuration on the Windows server eel on page 181. See Configuration on the Windows server shark on page 181. See Configuration on the UNIX server whale on page 182.
181
Robot is controlled locally by this device host Set Robot Device When you select a robot, the SCSI Port, Bus, Target, and LUN numbers are propogated to the Add Robot dialog for Windows servers.
The following table shows the drive 1 attributes for the local Windows server eel. Table 11-14 Dialog box field
Device Host Drive Name Drive Type Path Information Cleaning Frequency Drive is in a Robotic Library Robotic Library Robot Drive Number
182
The following table shows the drive 2 attributes for the remote Windows server shark. Table 11-16 Dialog box field
Device Host Drive Name Drive Type Path Information Cleaning Frequency Drive is in a Robotic Library Robotic Library Robot Drive Number
183
The following table shows the drive 3 attributes for the remote UNIX server whale. Table 11-18 Dialog box field
Device Host Drive Name Drive Type No Rewind Device Cleaning Frequency Drive Status Drive is in a Robotic Library Robotic Library Robot Drive Number
184
Figure 11-4
Windows server shark
lun 0 Drive 0 Control unit (cu) lun 1 Drive 1 Library Storage Module (LSM 0) CAP
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 Sun 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.
185
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. Table 11-19 Dialog box field
Device Host Robot Type Robot Number Robot control is handled by a remote host ACSLS Host
The following table shows the drive 0 attributes. Table 11-20 Dialog box field
Device Host Drive Type Drive Name Path Information Drive is in a Robotic Library Robotic Library ACS
186
187
Figure 11-5
UNIX server shark
acsssi
lun 0 Drive 0 Control unit (cu) lun 1 Drive 1 Library Storage Module (LSM 0) CAP
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.
188
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. Table 11-22 Dialog box field
Device Host Robot Type Robot Number Robot control is handled by a remote host ACSLS Host
The following table shows the drive 0 attributes. Table 11-23 Dialog box field
Device Host Drive Name Drive Type No Rewind Device Drive is in a Robotic Library Robotic Library ACS
189
LMCP
Library Manager
PC
SCSI
003590B1A00
003590B1A01
TLH_rob_drv1
TLH_rob_drv2
190
This configuration adds a TLH robot to the configuration. The server shark can be a UNIX (AIX, Solaris SPARC, HP-UX), Linux, or Windows server, and can be a NetBackup master server or media server. The following are some things to note when you review this example:
The robot control host is the server shark. The robotic control (tlhcd) also can exist on a different server. The main difference between TLH robot configuration and other robot types is the robotic device file. The robotic device file is the Library Manager Control Point (LMCP) file on AIX systems and is the library name on non-AIX systems. In this example, shark is a AIX server, so the LMCP file is specified for the robotic device file. If shark was a UNIX server that was not AIX or a Windows server, you would specify the library name (for example 3494AH). The drive configuration uses the IBM device number. You cannot assign a cleaning frequency in NetBackup.
The following table shows the robot attributes. Table 11-25 Dialog box field
Device Host Robot Type Robot Number
Robot is controlled locally by this device host Set LMCP Device File /dev/lmcp0
The following table shows the drive 1 attributes. Table 11-26 Dialog box field
Device Host Drive Name Drive Type No Rewind Device Drive Status
191
The following table shows the drive 2 attributes. Table 11-27 Dialog box field
Device Host Drive Name Drive Type No Rewind Device Drive Status Drive is in a Robotic Library Robotic Library Vendor Drive Identifier
192
Figure 11-7
SCSI
CN0
CN1
TLM_rob_drv1
TLM_rob_drv2
This configuration adds a TLM robot. The device configuration for this robot is similar to the TL8 robot example. See A robot on a server example on page 173. However with a TLM robot, you specify the DAS/SDLC server instead of a robot control host. This server may reside on an IBM OS/2 system, usually in or near the robot cabinet, or on a Windows server. In this example, the DAS Server entry is dasos2_pc. You must configure the DAS/SDLC server to recognize server shark as a client and allocate the AML drives to shark. The following table shows the robot attributes. Table 11-28 Dialog box field
Device Host Robot Type Robot Number Robot control is handled by a remote host DAS Server
193
The following table shows the drive 1 attributes. Table 11-29 Dialog box field
Device Host Drive Name Drive Type No Rewind Device Cleaning Frequency Drive Status Drive is in a Robotic Library Robotic Library Vendor Drive Identifier
The following table shows the drive 2 attributes. Table 11-30 Dialog box field
Device Host Drive Name Drive Type No Rewind Device Cleaning Frequency Drive Status Drive is in a Robotic Library Robotic Library Vendor Drive Identifier
194
Index
Symbols
/etc/ibmatl.conf file 140
A
ACS. See Automated Cartridge System ACS daemon (acsd) NetBackup 163 ACS drives configuring 154 ACS robot ACSLS firewall configuration 171 changing configuration 169 ACS robot on a UNIX server configuration example 187 ACS robot on a Windows server configuration example 184 ACS robot type 102 ACS robotic test utility 168 ACS robots 102 adding tapes 158 removing tapes 158 robot inventory filtering 161 robot inventory operations 159 with mulitple ACS hosts 170 with single ACS host 169 ACS SSI event logger (acssel) NetBackup 163 using with a different socket name 164 ACS storage server interface (acsssi) NetBackup 166 starting manually 167 ACS_SSI_SOCKET configuration option 166 acsd daemon 163 acsd process NetBackup 162 ACSLS configurations 150 ACSLS utility removing tapes 159
acssel 163 using with a different socket name 164 acsssi 166 environment variables 167 starting manually 167 acstest 165, 168 on UNIX systems 168 on Windows systems 168 adding tapes to a TLM robot 125 adding tapes to ACS robots 158 to TLH robots 145 ADIC client software installing on UNIX 117 installing on Windows 117 ADIC DAS server configuring 122 ADIC Scalar DLC server configuring 123 agile addressing 48 AIX adapter number conventions 20 adapter numbers 20 command summary 44 configure robotic device file 139 configuring robotic control device files for IBM robots 23 configuring robotic control ovpass device files 23 configuring tape drive device files 36 disabling SPC-2 SCSI reserve 43 install_ovpass script 21 introduction 19 locate-block 38 ovpass driver 21 installing 21 uninstalling 23 upgrading 22 passthru driver 21 remove_ovpass command 23 robotic controls 24
196
Index
AIX (continued) SCSI robotic controls 24 make device files 29, 34 smit tool 2021 tape drive configuration extended file marks 37 multiple densities 42 variable mode devices 37 AIX computer verify library communications 138 AIX system robotic control 137 AL-PA destination ID Solaris 83 allocating TLM drives on a DAS server 119 on a Scalar DLC server 120 alternate media types ACS robots 154 AML. See Distributed AML Server AMU. See Archive Management Unit API robots 114, 129, 150 Archive Management Unit (AMU) 115 atdd driver HP-UX 66 ATL. See Automated Tape Library ATL library name on UNIX 140 ATL name on Windows 142 attaching devices to a Windows system 98 attributes robot 102 Automated Cartridge System adding volumes 158 barcode operations 159 configuration example 184, 187 configurations supported 169 Library Server (ACSLS) 150, 153 media requests 154 multiple ACS robots with multiple ACS hosts 170 multiple ACS robots with single ACS host 169 removing tapes 126 robot inventory filtering 161 Solaris 80 special characters 158 STK Library Station 150, 153
Automated Cartridge System (ACS) removing tapes 158 Automated Tape Library (ATL) 133, 136
B
Berkeley-style close HP-UX 49 Solaris 91 boot -r Solaris 96
C
cfgmgr command 46 chdev command 37, 45 choosing tape driver 37 cleaning drives for TLH robots 145 command summary for AIX 44 HP-UX 69 Linux 78 Solaris 96 common access to volumes 125 configuration changing ACS robot 169 for Sun StorEdge Network Foundation HBA driver 82 configuration example ACS robot on a UNIX server 187 ACS robot on a Windows server 184 for a robot on a server 173 for local Windows server 181 for remote UNIX server 182 for remote Windows server 181 robot and multiple servers 179 stand-alone drives on a server 176 TLH robot on a UNIX server 190 TLM robot on a UNIX server 192 configuration guidelines HP-UX 47 configuration option ACS_SSI_SOCKET 166 configurations UNIX system examples 130 configurations supported Automated Cartridge System 169
Index
197
configure robot control at LUN 0 example 31 robot control at LUN 1 example 32 robot control at LUN 6 example 33 robotic control for a Fibre Channel device example 33 robotic device file on AIX 139 robotic device file on other UNIX systems 141 robotic library name 143 TLH drives 144 configuring ACS drives 154 ADIC DAS server 122 ADIC Scalar DLC server 123 DAS or Scalar DLC client name 118 legacy device files 57 NetBackup drives 124 persistent DSFs 52 robotic control 137 robotic control device files for IBM robots in AIX 23 robotic control ovpass device files in AIX 23 SAN clients to recognize FT media servers 94 SCSI or FCP robotic controls 24 shared ACS drives 156 shared TLM drives 122 tape drive device files in AIX 36 TLM drives 116 TLM drives in NetBackup 120 TLM robotic control 116 control unit ACS 153 controller name determining 25 conventions RS/6000 AIX adapter number 20 creating HP-UX persistent DSFs 52 legacy SCSI and FCP robotic controls on HP-UX 57 legacy tape drive device files 64 no rewind device files for tape drives 38 persistent DSF pass-through paths 53 sctI device file for FCP (Itanium) 62 sctI device file for FCP (PA-RISC) 60 sctl device file for SCSI (PA-RISC) 59 tape drive pass-through device files 64 the device file 29
D
D_ID 30 DAS. See Distributed AML Server DAS or Scalar DLC client name configuring 118 DAS server allocating TLM drives 119 DAS_CLIENT environment variable 119 vm.conf entry 119 DASADMIN command 119, 123 debug mode for st tape driver 74 determine path to LMCP device file 137 determining controller name 25 existence of device file 24 SCSI address 26 device configuration wizard 156 device addressing schemes HP-UX 48 device configuration sequence 14 device discovery 14 device drivers for legacy device files 54 for persistent DSFs 50 ovpass 21 sg Linux 72 Solaris 80 st Linux 73 device drivers and files for persistent DSFs 50 device file creating 29 determining if it exists 24 device files creating for SAN clients on HP-UX 56 creating no rewind 38 for legacy tape drives 55 Linux (2.6 kernel) robotic control 75 Linux (2.6 kernel) tape drive 75
198
Index
device files (continued) ovpass driver accessibility 22 device special files persistent 50 disable HP-UX EMS Tape Device Monitor for a SAN 68 SPC-2 SCSI reserve in HP-UX 68 disabling Solaris Multiplexed I/O (MPxIO) 83 SPC-2 SCSI reserve in AIX 43 SPC-2 SCSI reserve on Solaris 93 Distributed AML Server 113 See also Tape Library Multimedia \\ETC\\CONFIG file 122 \\MPTN\\ETC\\HOSTS file 122 about 113 drive cleaning for TLH robots 145 drive designations determining 121 driver unloading Solaris 88 drives Sony S-AIT 44 drstat command 108 DSFs. See device special files 50
examples (continued) SCSI and FCP robotic control device files 89 TLH configurations 130 extended file marks for drives 37
F
fabric assigned destination ID Solaris 83 fast-tape positioning. See locate-block Fibre Channel drivers 88 HP-UX configuration example 60, 62 fibre channel binding process Solaris 82 Fibre Channel HBA drivers binding 82 firewall configuration Sun StorageTek ACSLS 171 fixed length block 37 forward-space-file/record HP-UX 50
H
HBAs Emulex 77 HP-UX command summary 69 configuration guidelines 47 creating legacy SCSI and FCP robotic controls 57 creating persistent DSFs 52 device addressing schemes 48 disable EMS Tape Device Monitor for a SAN 68 disable SPC-2 SCSI reserve 68 legacy device drivers and files 54 robotic control 48 SAM utility 68 SCSI robotic controls 54 SPC-2 SCSI reserve 68 Tape drive configuration Berkeley-style close 49 make device files 50 upgrading NetBackup to use persistent DSFs 53
E
Emulex Fibre Channel HBA 77 environment variables for acsssi processes 167 example robotic process 111 sg.conf file 86 sg.links file 87 st.conf file 85 STK SL500 90 StorEdge Network Foundation HBA 90 TLM configuration 114 example configuration ACSLS 150 examples configure robot control at LUN 0 31 configure robot control at LUN 1 32 configure robot control at LUN 6 33 configure robotic control for a Fibre Channel device 33 no rewind device file 40
I
IBM Automated Tape Library 129 See also Tape Library Half-inch
Index
199
IBM Automated Tape Library service 136 IBM device number 108, 144 IBM library SCSI address 29 install_ovpass script 21, 45 installing ADIC client software on UNIX 117 ADIC client software on Windows 117 introduction Linux 71 Solaris 79 ioscan command HP-UX 69
LMU. See Library Management Unit locate-block on AIX 38 on Solaris 92 lsattr command 46 lsdev command HP-UX 70 on AIX 45 LSM. See Library Storage Module lsmod command Linux 74
M
media requests for an ACS robot 154 for TLH robot 136 mkdev command 45 mknod command HP-UX 69 modinfo command Solaris 96 modprobe command Linux 73 mt command Linux 78 mtlib command IBM 138 multiple tape densities using 42
L
legacy device drivers and files HP-UX 54 legacy device files configuring 57 device drivers supported 54 legacy pass-through paths for tape drives 56 legacy tape drive device files creating 64 legacy tape drives device file names 55 Library Management Unit 153 Library Management Unit (LMU) 154 Library Manager Control Point daemon (LMCPD) 133 Library Storage Module 153 Library Storage Module (LSM) 154 Linux command summary 78 introduction 71 loading drivers 73 robotic controls 75 SAN clients 76 SCSI robotic controls 75 sg driver 72 st tape driver 73 st tape driver buffer size 74 utilities to test SCSI devices 78 verifying the device configuration 75 Linux (2.6 kernel) robotic controls 75 tape drive device files 75 LMCP device file determine path 137 LMCPD 133
N
N_Port address 30 NetBackup ACS daemon (acsd) 163 ACS SSI event logger (acssel) 163 ACS storage server interface (acsssi) 166 acsd process 162 removing tapes 159 robotic control, communication, and logging 162 using acssel with different socket name 164 NetBackup Device Configuration wizard 124 NetBackup drives configuring 124 NetBackup Enterprise Server 68 NetBackup sg driver verify installation 81 no rewind device file example 40
200
Index
O
odmget command 46 ovpass driver 21 upgrading 22 ovpass driver device files ensuring accessibility 22
P
pass-through paths for persistent DSFs 51 persistent DSF pass-through paths creating 53 persistent DSFs configuring 52 device drivers 50 device drivers and files 50 for robotic control 51 for tape drive access 51 pass-through paths 51 processes by robotic type 109 robotic 109 robotic control 109
R
rem_drv command Solaris 96 remove_ovpass command 23, 45 removing tapes from a TLM robot 126 tapes from ACS robots 158 tapes using NetBackup 159 tapes using the ACSLS utility 159 removing tapes from TLH robots 146 requirements tape drive device files 49 robot attributes 102 process 109 robot and multiple servers configuration example 179
robot inventory operations on ACS robots 159 on TLH robots 147 robot types 101 robotic processes 109 robotic control process 109 test utilities 108 test utilities, ACS 168 robotic control for persistent DSFs 51 on a UNIX system 139 on a Windows system 142 on an AIX system 137 on HP-UX 48 on UNIX systems 163 on Windows systems 162 robotic control device files for IBM robots in AIX 23 robotic control, communication, and logging during tape operations 162 robotic controls SCSI HP-UX 54 Linux (2.6 kernel) 75 on AIX 24, 75, 89 Solaris 89 robotic device file configure on other UNIX systems 141 robotic inventory filtering 148, 161 robotic library name configure 143 robotic process example 111 robotics table-driven 108 robots ACS 102 Sun StorageTek ACSLS 150 TL4 103 TL8 104 TLD 105 TLH 106 TLM 107 robtest 108, 123, 165 robtest utility Linux 78
Index
201
S
SAM utility HP-UX 68 SAN clients about drivers for Linux 76 configuring drivers on HP-UX 56 configuring drivers on Solaris 94 Scalar DLC server allocating TLM drives 120 schgr device driver HP-UX 58 Scripts sg.install Solaris 83 scripts install_ovpass 21 remove_ovpass 23 sgscan 89, 96 SCSI pass through driver Solaris 80 passthru driver on AIX 21 robotic control HP-UX 54 Linux (2.6 kernel) 75 on AIX 24 on Linux 75 on Solaris 89 SCSI address determination 26 IBM library 29 SCSI or FCP robotic controls configuration 24 SCSI persistent bindings 77 SCSI reservations data integrity 15 disabling 15 disabling SPC-2 reserve in AIX 42 disabling SPC-2 reserve in HP-UX 68 disabling SPC-2 reserve on Solaris 93 sctl device file creating for FCP (Itanium) 62 creating for FCP (PA-RISC) 60 creating for SCSI (PA-RISC) 59 server and robot configuration example 173 sg driver Linux 72
sg driver (continued) Solaris 80 uninstalling 95 sg.build command Solaris 96 sg.conf file example 86 sg.install script Solaris 83, 96 sg.links file example 87 shared ACS drives configuring 156 shared TLM drives configuring 122 smit command 37 Solaris adapter card removal 80 binding Fibre Channel HBA drivers 82 command summary 96 configuring SAN clients 94 disabling MPxIO 83 disabling SPC-2 reserve on Solaris 93 examples of SCSI and FCP robotic control device files 89 introduction 79 locate-block 92 no rewind device files 92 preventing driver unloading 88 robotic controls 89 SCSI pass through driver 80 SCSI robotic controls 89 sg driver install or reconfigure 83 sg.install script 83 SPC-2 SCSI reserve 92 tape drive configuration 90 Berkeley-style close 91 using ACS 80 Solaris Multiplexed I/O (MPxIO) disable 83 Sony S-AIT drives 44 SPC-2 SCSI reserve disable in HP-UX 68 disabling in AIX 43 Solaris 92 SSO configuring non-serialized shared TLM drives 124 configuring shared ACS drives 157
202
Index
SSO (continued) configuring TLM robot types 122 st driver Linux 73 st tape driver buffer size and performance 74 debug mode 74 Linux 73 st.conf file example 85 stand-alone drives on a server configuration example 176 STK SL500 example 90 StorEdge Network Foundation HBA example 90 Sun acstest utility on UNIX 168 acstest utility on Windows 168 Automated Cartridge System multiple ACS robots with multiple ACS hosts 170 multiple ACS robots with single ACS host 169 Automated Cartridge System (ACS) configurations supported 169 configuring shared ACS drives 156 StorageTek ACSLS robots 150 Sun StorageTek ACSLS firewall configuration 171 Sun StorEdge Network Foundation HBA driver configuration 82 switch settings Sony S-AIT on AIX 44 Symantec support web site 15
T
table-driven robotics 108 tape device drivers Windows 98 tape drive access persistent DSFs 51 Tape drive configuration HP-UX no rewind 50 tape drive configuration Solaris 90
tape drive device files Linux (2.6 kernel) 75 requirements 49 tape drive device files in AIX configuring 36 tape drive pass-through device files creating 64 tape driver choosing 37 tape drives creating no rewind device files 38 legacy pass-through paths 56 nonstandard 93 Tape Library Half-inch (TLH) adding volumes 145 cleaning drives 145 configuration example 190 configuring robotic control 137 control daemon 133, 136 daemon 133 drive mapping 144 media requests 136 removing tapes 146 robot inventory 147 service 136 Tape Library Multimedia (TLM) about 113 adding volumes 125 allocating drives 116 configuration example 192 configuring drives 120 configuring robotic control 116 daemon 115 Drive mapping 121 inventory operations 127 media requests 115 removing tapes 126 tapes adding to a TLM robot 125 removing from a TLM robot 126 removing from ACS robots 158 removing using NetBackup 159 removing using the ACSLS utility 159 text version of this guide 14 TL4 robots 103 TL8 robots 104 TLD robots 105 TLH configurations examples 130
Index
203
TLH drives configure 144 TLH example configurations Windows 133 TLH robot configuring 137 TLH robot on a UNIX server configuration example 190 TLH robots 106 adding tapes 145 removing tapes 146 robot inventory filtering 148 TLM configuration example 114 TLM drives configuring 116 TLM drives in NetBackup configuring 120 TLM robot adding tapes 125 media requests 115 removing tapes 126 TLM robot on a UNIX server configuration example 192 TLM robotic control configuring 116 TLM robots 107 robot inventory operations 127 tlmtest 121, 123126
V
variable length block 37 variable-mode devices on AIX 37 verify library communications on an AIX computer 138 on UNIX 140 on Windows 142 verifying device configuration on Linux 75 vm.conf file DAS_CLIENT entries 119 volumes providing common access 125
W
Windows acstest utility 168 attaching devices 98 determine the ATL name 142 installing ADIC client software 117 tape device drivers 98 TLH example configurations 133 verify library communications 142 Windows server (local) configuration example 181 Windows server (remote) configuration example 181 Windows system robotic control 142 world wide node names (WWNN) 83 world wide port names (WWPN) 8283
U
uninstalling the sg driver 95 UNIX acstest utility 168 determine ATL library name 140 installing ADIC client software 117 verify library communications 140 UNIX server (remote) configuration example 182 UNIX system example configurations 130 robotic control 139 upgrading NetBackup to use HP-UX persistent DSFs 53 ovpass driver 22 using guide 13