Tivoli Header

Administrator's Guide


Configuring Manually Mounted Devices

In the following example, two 8mm drives are attached to the server system. Because an operator must mount tapes for these drives, you must define the drives as part of a manual library.

Set up the Device on the Server System

You must first set up the device on the server system. This involves the following tasks:

  1. Set the appropriate SCSI ID for the device.
  2. Physically attach the device to the server hardware.
  3. Install and configure the appropriate device driver for the device.
  4. Determine the device name that is needed to define the device to Tivoli Storage Manager.
See Attaching a Manual Drive and Installing and Configuring Device Drivers for details.

Define the Device to Tivoli Storage Manager

  1. Define a manual library named MANUAL8MM:
    define library manual8mm libtype=manual
    
  2. Define the drives in the library:
    define drive manual8mm drive01
    define drive manual8mm drive02
    

    See Defining Drives and http://www.tivoli.com/support/storage_mgr/tivolimain.html.

  3. Define a path from the server to each drive:
    define path server1 drive01 srctype=server desttype=drive 
    library=manual8mm device=/dev/mt1
    define path server1 drive02 srctype=server desttype=drive 
    library=manual8mm device=/dev/mt2
    

    In this example, the path between the server, SERVER1, and the drive called DRIVE01 is defined using the special file name /dev/mt1. The path between the server, SERVER1, and the drive DRIVE02 is defined using the special file name /dev/mt2. You might prefer to have the device special file name and the TSM name match. For more about device names, see Determining Device Special File Names.

    For more information about paths, see Defining Paths.

  4. Classify the drives according to type by defining a device class named TAPE8MM_CLASS. We recommend that you use FORMAT=DRIVE as the recording format only if all the drives associated with the device class are identical.
    define devclass tape8mm_class library=manual8mm devtype=8mm format=drive
    
    A closer look:
    When you associate more than one drive to a single device class through a manual library, ensure that the recording formats and media types of the devices are compatible. If you have a 4mm tape drive and an 8mm tape drive, you must define separate manual libraries and device classes for each drive.

    See Defining and Updating Device Classes for Tape Devices.

  5. Verify your definitions by issuing the following commands:
    query library
    query drive
    query path
    query devclass
    

    See Requesting Information About Libraries, Requesting Information about Drives, Requesting Information about a Device Class, and Requesting Information About Paths.

  6. Define a storage pool named TAPE8MM_POOL associated with the device class named TAPE8MM_CLASS:
    define stgpool tape8mm_pool tape8mm_class maxscratch=20
    

    Key choices:

    1. Scratch volumes are empty volumes that are labeled and available for use. If you allow scratch volumes for the storage pool by specifying a value for the maximum number of scratch volumes, the server can use any scratch volumes available without further action on your part. If you do not allow scratch volumes (MAXSCRATCH=0), you must perform the extra step of explicitly defining each volume to be used in the storage pool.

    2. Collocation is turned off by default. Collocation is a process by which the server attempts to keep all files belonging to a client node or client file space on a minimal number of volumes. Once clients begin storing data in a storage pool with collocation off, you cannot easily change the data in the storage pool so that it is collocated. To understand the advantages and disadvantages of collocation, see Keeping a Client's Files Together: Collocation and How Collocation Affects Reclamation.

    See Defining or Updating Primary Storage Pools.

Label Volumes

Use the following procedure to ensure that volumes are available to the server:

  1. Label volumes that do not already have a standard label. For example, enter the following command to use one of the drives to label a volume with the ID of vol001:
    label libvolume manual8mm vol001
    

    Keep enough labeled volumes on hand so that you do not run out during an operation such as client backup.

  2. Depending on whether you use scratch volumes or private volumes, do one of the following:

Using the Devices to Store Client Data

After you have attached and defined your devices, you can store client data in two ways:


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]