This section explains how to set a device class.
Use a TSM command to set a device class, which represents the device type that TSM can use. TSM checks the device class to determine the types of the drive and tape to be used. Set the device class as shown below.
For details of the command, refer to the TSM manual "ETERNUS SF TSM Administrator's Reference".
tsm> define devclass <device class name> devtype=<device type> format=<format> library=<library name> <mount-related-option> |
Device class name
Specify any name that identifies the device class.
Device type
Specify the device type.
Format
Specify the format used to write to tape. The default is drive.
Avoid the drive specification if mixed types of drives are used within the library.
For example, do not specify drive for a library that includes a special drive that supports a higher-order recording format than other drives.
The value to specify varies in accordance with the cartridge being used.
Specify the value as follows:
If the Ultrium1 cartridge is used, specify "ultriumc".
If the Ultrium2 cartridge is used, specify "ultrium2c".
If the Ultrium3 cartridge is used, specify "ultrium3c".
Library name
Specify the library name included in the library definition.
Mount-related option
If necessary, specify an option to be used when a tape is mounted on the drive. This may be omitted. The main options are as follows:
Mountlimit
Specifies the maximum number of drives that TSM can use concurrently (ie, can mount tapes on the drives concurrently) in the tape library associated with the device class. For a tape library having two drives, specify "mountlimit=2." The default is 1 (TSM can use only one drive at a time).
Mountretention
Specifies the time to be taken before TSM unmounts a tape after it was mounted. This function saves the time taken for mounting a tape if another mount request is issued for the same tape once mounted. The default is 60 minutes. If you want to unmount a tape immediately after it is used, specify "mountretention=0" (0 minutes).
Mountwait
If the time specified for this option elapses before a tape is actually mounted after TSM issues a mount request to the tape library, the mount request is returned with an error. The default is 60 minutes.
driveencryption={on|off}
Specify "on" if you want to enable drive encryption and you are using an ETERNUS LT series drive that supports Ultrium Generation 4. Specify "off" if you do not want to enable encryption or the drive does not support it.
The encryption key information is stored in the TSM database, and is used for decryption. In case of database corruption, the key may not be recoverable, so regular backups of the TSM database are essential.
Drive encryption cannot be used if NAS backups coexist.
[Example] Define device class DRIVECLASS1 with device type LTO and format drive for library LT160.
tsm> define devclass DRIVECLASS1 devtype=LTO format=drive library=LT160 driveencryption=off |
The device class can be checked with the following command.
tsm> query devclass format=detail |