Skip Navigation Links | |
Exit Print View | |
![]() |
Sun Storage Archive Manager 5.3 Configuration and Administration Guide Sun QFS and Sun Storage Archive Manager 5.3 Information Library |
2. Configuring Storage Devices for Archiving
Task Map: Configuring Storage Devices for Archiving
Adding Tape Devices for Archiving
Files that Contain Configuration Information
How to Add Tape Devices for Archiving (Command Line)
How to Add Tape Drive Interface Target IDs and LUNs for Archiving (Command Line)
Adding Libraries or Magneto-Optical Drives for Archiving
How to Configure Device Support in SCSI or FC Environments Using SAM-QFS Manager
How to Configure Device Support for a Direct-Attached Library
Recovering After a Direct-Attached Library Fails to Initialize
Verifying and Implementing Configurations
How to Verify That All Devices Are Configured and Implement the Changes
Handling Errors in the st.conf File
3. Performing Additional SAM-QFS Configuration
4. Creating Parameters Files for Network-Attached Automated Libraries
5. Checking the Drive Order in Libraries
7. Managing Automated Libraries and Manually Loaded Drives
8. Managing Vendor-Specific Libraries
11. Archive Directives (archiver.cmd)
12. Archive Set Directives (archiver.cmd)
The procedures in Task Map: Configuring Storage Devices for Archivinginclude an example that is based on the inventory list shown in the following table.
Table 2-1 Inventory List — Devices to Be Configured
|
Note - The device names are shown as they appear in the discovery output.
The following files contains configuration information:
/kernel/drv/st.conf – Configures tape drives attached to the server through a SCSI or FC attachment.
/kernel/drv/samst.conf – Configures the following devices that the Sun Storage Archive Manager (SAM) software recognizes by default:
Direct-attached automated libraries
Magneto-optical drives attached to the server through a SCSI or FC attachment
The SAM package includes the /opt/SUNWsamfs/examples/st.conf_changes file, which contains configuration information for tape drives that are not supported in the Oracle Solaris kernel by default.
You can also add tape devices from SAM-QFS Manager. For information, see How to Add Tape Devices for Archiving (SAM-QFS Manager).
For example:
# cp /kernel/drv/st.conf /kernel/drv/st.conf.orig
For each tape drive on your inventory list, do the following:
For example, searching for the Quantum DLT 7000 tape drive that is in the example inventory finds the following entry:
"QUANTUM DLT7000", "DLT 7000 tape drive", "dlt7-tape",
The following example shows the resulting st.conf file.
... tape-config-list= "QUANTUM DLT7000", "DLT 7000 tape drive", "dlt7-tape", ...
Note that the final string in the entry, which is enclosed in quotation marks, is the tape configuration value. In this example, the final string is "dlt7-tape".
In this example, the value is:
dlt7-tape = 1,0x36,0,0xd679,4,0x82,0x83,0x84,0x85,3;
The following example shows the lines now contained in the st.conf file.
... tape-config-list= "QUANTUM DLT7000", "DLT 7000 tape drive", "dlt7-tape"; dlt7-tape = 1,0x36,0,0xd679,4,0x82,0x83,0x84,0x85,3; ...
Note - In the st.conf_changes file, a tape configuration value is repeated for each device definition that uses the same tape configuration. In the st.conf file, include only one entry for each tape configuration value. For example, the Sony SDT-5000 and the Sony SDT-5200 tape drives both use "DAT" as the final string. A single entry for the DAT tape configuration value is sufficient.
The following example shows an st.conf file that has definitions for the Quantum DLT 7000, the StorageTek 9840, and the IBM ULT3580 tape drives. The semicolon is after "CLASS_3580"
... tape-config-list= "QUANTUM DLT7000", "DLT 7000 tape drive", "dlt7-tape", "STK 9840", "STK 9840 Fast Access", "CLASS_9840", "IBM ULT3580-TD1", "IBM 3580 Ultrium", "CLASS_3580"; dlt7-tape = 1,0x36,0,0xd679,4,0x82,0x83,0x84,0x85,3; CLASS_9840 = 1,0x36,0,0x1d679,1,0x00,0; CLASS_3580 = 1,0x24,0,0x418679,2,0x00,0x01,0; ...
Do not close the st.conf file because you continue to edit the file in the How to Add Tape Drive Interface Target IDs and LUNs for Archiving (Command Line) procedure.
This procedure shows how to verify and, if necessary, add target ID and LUN entries to the st.conf file for each tape drive on your hardware inventory list that is attached through a SCSI or FC interface.
Note - Do not use this procedure to add interface information for magneto-optical drives. See Adding Libraries or Magneto-Optical Drives for Archiving.
name="st" class="scsi" target=target lun=lun;
target is the target ID for each SCSI drive found and lun is the corresponding LUN for each SCSI drive found.
Note that some entries might extend over two lines.
If an entry is preceded by a hash character (#), remove the character. A hash character marks a line as a comment.
If an entry is missing, create an entry for the SCSI target and LUN line you need. Follow the format shown in Step 2a and use the information in your hardware inventory list.
Use the following format:
name="st" parent="fp" lun=lun fc-port-wwn="world-wide-name"
lun specifies the LUN for the drive. world-wide-name specifies the World Wide Name (WWN) for the drive.
Example 2-1 Entries Corresponding to Tape Drives
The following example shows that two entries correspond to the two Quantum DLT 7000 drives that are attached to LUN 0 and have target IDs 1 and 2, shown in Table 2-1.
name="st" class="scsi" target=1 lun=0; name="st" class="scsi" target=2 lun=0;
Example 2-2 Adding Lines that Support Tape Drives
The following example shows the lines that support the StorageTek 9840 and IBM ULT3580 tape drives that are included in Table 2-1.
name="st" parent="fp" lun=0 fc-port-wwn="500104f00043abfc" name="st" parent="fp" lun=0 fc-port-wwn="500104f00045eeaf" name="st" parent="fp" lun=0 fc-port-wwn="500104f000416304" name="st" parent="fp" lun=0 fc-port-wwn="500104f000416303"