![]() |
![]() |
You can add devices using Tivoli Storage Manager 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 Tivoli Storage Manager commands, see Administrator's Reference.
Some of the tasks described in this section require an understanding of Tivoli Storage Manager storage objects. For an introduction to these storage objects, see Tivoli Storage Manager Storage Objects.
Follow the manufacturer's instructions to attach the device to the system.
See Using Commands to Define Tivoli Storage Manager Storage Objects for instructions on using Tivoli Storage Manager commands to configure the device.
Determine which device the server 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 with an Automated Library or Labeling Media for Manual Libraries.
Define the objects used to represent each library device and its drives, as well as their respective paths and the policy objects used 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. Automated libraries additionally require a path defined to them using the DEFINE PATH command. Define libraries with the DEFINE LIBRARY command.
Manual Device:
define library manual8mm libtype=manual
Automated Library Device:
define library auto8mmlib libtype=scsi
define path server01 auto8mmlib srctype=server desttype=library device=lb3.0.0.0
Removable File System Device (Iomega Jaz drive):
define library manualJAZ libtype=manual
For detailed information about defining Tivoli Storage Manager libraries and library types, see Defining Devices and Paths.
All drives that you wish to use must be defined to the library. Define drives with the DEFINE DRIVE command. Additionally, you must use DEFINE PATH to define the path for each of the drives. For automated library devices with more than one drive, the server requires the drive element number in the drive definition.
Manual Device:
define drive manual8mm drive01 define drive manual8mm drive02
define path server01 drive01 srctype=server desttype=drive library=manual8mm device=mt1.0.0.0 define path server01 drive02 srctype=server desttype=drive library=manual8mm device=mt2.0.0.0
Automated Library Device:
define drive auto8mmlib 8mm_mt4 element=82 define drive auto8mmlib 8mm_mt5 element=83
define path server01 8mm_mt4 srctype=server desttype=drive library=auto8mmlib device=mt4.0.0.0 define path server01 8mm_mt5 srctype=server desttype=drive library=auto8mmlib device=mt5.0.0.0
Removable File System Device (Iomega Jaz drive):
define drive manualJAZ drive01
define path server01 drive01 srctype=server desttype=drive library=manualJAZ device=mt1.0.0.0
For detailed information about defining Tivoli Storage Manager drives, see Defining Devices and Paths.
Each Tivoli Storage Manager device must be a member of a Tivoli Storage Manager 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 Tivoli Storage Manager device classes, see Chapter 9, Defining Device Classes.
Each Tivoli Storage Manager device must be associated with a Tivoli Storage Manager 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 Tivoli Storage Manager storage pools, see Chapter 10, Managing Storage Pools and Volumes.
Administrators are responsible for creating a backup strategy and implementing it through Tivoli Storage Manager 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 the server backs up client data by manipulating Tivoli Storage Manager 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