IBM TS2340 User Guide - Page 89
Create the Hardware Path Entry for Ultrium Tape Drives, Create the Hardware Path Entry
UPC - 883436006873
View all IBM TS2340 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 89 highlights
HP-UX Device Driver (ATDD) Create the Hardware Path Entry for Ultrium Tape Drives: If devices are to be configured with settings other than the defaults, entries defining the hardware device paths must be placed in the /etc/rc.config.d/atdd configuration file. Create an entry for each device that requires further configuration settings. The format for the entries is HW_PATH[index]=DeviceHardwarePath. The index is used to identify the device for control of the configuration settings in the next section. For example: ATDD_HWPATH[0]=0/4/0/0.1.0 (3580 stand alone SCSI drive) ATDD_HWPATH[1]=1/10/0/0.5.0 (3581 SCSI drive 1) ATDD_HWPATH[2]=1/10/0/0.6.0 (3581 SCSI drive 2) ATDD_HWPATH[3]=0/5/0/0.0.0.255.7.9.0 (3580 stand alone FC drive) ATDD_HWPATH[4]=0/8/0/0.8.0.0.0.0.2 (3583 SCSI drive 1 with SDG) ATDD_HWPATH[5]=0/8/0/0.8.0.0.0.0.3 (3583 SCSI drive 2 with SDG) This example shows that four devices are CLAIMED by the ATDD. The first device, 3580 Stand Alone SCSI Tape Drive at SCSI target address 1, LUN 0, has index=0. The second device, 3581 with two 3580 SCSI Tape Drives inside at SCSI target addresses 5 and 6, LUN 0, has index=1 and 2 . The third device, 3580 Stand Alone FC Tape Drive at target 9, LUN 0, has index=3. The last one is 3583 with SAN Data Gateway (SDG) Module and two 3580 SCSI Tape Drives at target 0, LUN 2 and 3 (index=4 and 5). Create the Hardware Path Entry: You must tell the driver which hardware path you want to attach to. Create an entry in the /etc/rc.config.d/atdd.cfg configuration file for each device you want the driver to attach. For example ATDD_HWPATH[0]=56/40.1.0 ATDD_HWPATH[1]=56/40.6.0 Note: This example shows that two devices are CLAIMED by ATDD. If you have a single 3590 device operating in one LUN mode, then you would have only a single ATDD_HWPATH entry. If you have three tape devices attached, three ATDD_HWPATH entries are required in the configuration file. For 3590 devices configured in random 2 LUN mode, two hardware path entries are required. One is needed for the drive (LUN 0), and one is needed for the ACF (LUN 1). At least one hardware path entry is required in the configuration file. Create the Device Specific Configuration Entries (Optional): The ATDD is shipped with default settings for all configuration parameters. To change these settings, an entry is made in the configuration file assigning an appropriate value to the desired configuration variable. Each device may have a different value for each configuration variable. The index number associated with the configuration variable associates the parameter setting with the device at the hardware path with the same index. Example 1: ATDD_IMMEDIATE[0]=1 This allows application control back from the device before rewind is complete for the device at hardware path 56 / 40.1.0 (based on the hardware path entry in "Create the Hardware Path Entry" on page 71). Example 2: Chapter 4. HP-UX Tape and Medium Changer Device Driver 71