You can add devices using TSM commands. The following scenario adds a manual tape device, an automated library device, and a removable file system device like a Iomega Jaz drive. For more information about TSM commands, see Administrator's Reference.
Some of the tasks described in this section require an understanding of TSM storage objects. For an introduction to these storage objects, see Overview of Tivoli Storage Manager Storage Objects.
Follow the manufacturer's instructions to attach the device to the system.
See Selecting the Appropriate Device Driver for Tivoli Storage Manager Devices.
See Using Commands to Define TSM Storage Objects for instructions on using TSM commands to configure the device.
Determine which device TSM backs up client data to, and whether client data is backed up to disk, and then migrated to tape, or if it is backed up directly to tape. See "Planning for Devices" and Defining and Updating a Policy Domain.
See Labeling Media for use with an Automated Library Device or Labeling Media for use in a Manual Library Device.
Define the objects TSM uses to represent each library device and its drives, as well as the policy objects TSM uses to manage the media associated with each library device.
All devices must be defined as libraries. Manual devices require a manual type library and most automated devices require the SCSI type library. Define libraries with the DEFINE LIBRARY command.
Manual Device:
define library manual8mm libtype=manual
Automated Library Device:
define library auto8mmlib libtype=scsi device=lb3.0.0.0
Removable File System Device (Iomega Jaz drive):
define library manualJAZ libtype=manual
For detailed information about defining TSM libraries and library types, see Chapter 7, "Managing Drives and Libraries".
All devices must identify their drives to the library. Define drives with the DEFINE DRIVE command. For automated library devices with more than one drive, TSM requires the drive element number in the drive definition.
Manual Device:
define drive manual8mm drive01 device=mt1.0.0.0 define drive manual8mm drive02 device=mt2.0.0.0
Automated Library Device:
define drive auto8mmlib 8mm_mt4 device=mt4.0.0.0 element=82 define drive auto8mmlib 8mm_mt5 device=mt5.0.0.0 element=83
Removable File System Device (Iomega Jaz drive):
define drive manualJAZ drive01 device=mt1.0.0.0
For detailed information about defining TSM drives, see Chapter 7, "Managing Drives and Libraries".
Each TSM device must be a member of a TSM device class. Device classes are collections of similar devices, for example all 8mm devices that use the same media format. Several different device classes can be associated with the same library. For example, a manual 4mm tape device and a manual 8mm tape device could each be associated with the same manual library. Define device classes with the DEFINE DEVCLASS command.
Manual Device:
define devclass tape8mm_class devtype=8mm format=8500 library=manual8mm
Automated Library Device:
define devclass auto8mm_class devtype=8mm format=8500 library=auto8mmlib
Removable File System Device (Iomega Jaz drive):
define devclass JAZdisk_class devtype=removablefile library=manualJAZ
For detailed information about defining TSM device classes, see Chapter 8, "Defining Device Classes".
Each TSM device must be associated with a TSM Storage Pool. Storage pools are collections of media and like device classes. They are organized for a grouping of specific types of media, for example a storage pool named TAPE8MM_POOL for the device class TAPE8MM_CLASS and AUTO8MM_POOL for the device class AUTO8MM_CLASS.
Manual Device:
define stgpool tape8mm_pool tape8mm_class maxscratch=20
Automated Library Device:
define stgpool auto8mm_pool auto8mm_class maxscratch=10
Removable File System Device (Iomega Jaz drive):
define stgpool manualJAZ_pool JAZdisk_class
For detailed information about defining TSM storage pools, see Chapter 9, "Managing Storage Pools and Volumes".
Administrators are responsible for creating a backup strategy and implementing it through TSM policy. Typically, a backup strategy determines the device and media to which client data is written. It also determines if data is backed up directly to tape or if data is backed up to disk and then later migrated to tape.
Disk-to-Tape Backups:
Direct-to-Tape Backups:
To back up directly to tape, you must create new policy by copying default policy and modifying it for the desired results. See Configuring Policy for Direct-to-Tape Backups.
Determine the type of media and the type of device to which TSM backs up client data by manipulating TSM policy. For example, assume a policy domain named dir2tape has been established for direct-to-tape backups. To assign client node astro to the direct-to-tape policy, with the password cadet, enter:
Manual Device:
register node astro cadet dir2tape
Automated Library Device:To assign client node astro to a direct-to-tape policy domain named dsk2tape, with the password cadet, enter:
register node astro cadet dsk2tape
Removable Media Device (Iomega Jaz drive):To assign client node astro to a removable media device policy domain named rmdev, with the password cadet, enter:
register node astro cadet rmdev