Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd44.htm#HDRDSKSCEN
Tivoli Storage Manager for Windows Administrator's Guide Chapter 3. Using Magnetic Disk Devices with Tivoli Storage Manager
With Tivoli Storage Manager, magnetic disk devices are used for: Storing the database and the recovery log. For details, see Chapter 18, Managing the Database and Recovery Log. Storing client data that has been backed up, archived, or migrated from client nodes. The client data is stored in storage pools. Procedures for configuring disk storage of client data are described in this chapter. Storing backups of the TSM database and to export and import TSM data. See Using FILE Volumes for Database Backups and Export Operations. See the following sections:
Concepts: "Using Cache" "Freeing Space on Disk" "Specifying Scratch FILE Volumes" "Using FILE Volumes for Database Backups and Export Operations" Tasks: "Configuring Random Access Volumes on Disk Devices" "Configuring FILE Sequential Volumes on Disk Devices" "Varying Disk Volumes Online or Offline"
In this chapter, most examples illustrate how to perform tasks by using the TSM command line interface. For information about the TSM commands, see Administrator's Reference, or issue the HELP command from the command line of a TSM administrative client. All of the TSM commands can be performed from the administrative Web interface. For more information about using the administrative interface, see Quick Start. Note: Some of the tasks described in this chapter require an understanding of TSM storage objects. For an introduction to these storage objects, see Overview of Tivoli Storage Manager Storage Objects. [ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
1 of 1
6/18/2013 5:45 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd45.htm#HDRCONFDD
Task
"Configuring Random Access Volumes on Disk Devices" System "Configuring FILE Sequential Volumes on Disk Devices" System
1 of 2
6/18/2013 5:46 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd45.htm#HDRCONFDD
2 of 2
6/18/2013 5:46 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd45.htm#HDRDISKRAV
Task
"Configuring Random Access Volumes on Disk Devices" System "Configuring FILE Sequential Volumes on Disk Devices" System
1 of 2
6/18/2013 5:46 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd45.htm#HDRDISKRAV
2 of 2
6/18/2013 5:46 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd46.htm#HDRVARY
To perform maintenance on a disk volume or to upgrade disk hardware, you can vary a disk volume offline. For example, to vary the disk volume named STGVOL.POOL001 offline, enter:
vary offline stgvol.pool001
If the server encounters a problem with a disk volume, the server automatically varies the volume offline. You can make the disk volume available to the server again by varying the volume online. For example, to make the disk volume named STGVOL.POOL001 available to the server, enter:
vary online stgvol.pool001
1 of 1
6/18/2013 5:47 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd47.htm#Header_48
Using Cache
When you define a storage pool that uses disk random access volumes, you can choose to enable or disable cache. When you use cache, a copy of the file remains on disk storage even after the file has been migrated to the next pool in the storage hierarchy (for example, to tape). The file remains in cache until the space it occupies is needed to store new files. Using cache can improve how fast a frequently accessed file is retrieved. Faster retrieval can be important for clients storing spacemanaged files. If the file needs to be accessed, the copy in cache can be used rather than the copy on tape. However, using cache can degrade the performance of client backup operations and increase the space needed for the TSM database. For more information, see Using Cache on Disk Storage Pools.
1 of 1
6/18/2013 5:47 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd48.htm#HDRMANSCEN
Tivoli Storage Manager for Windows Administrator's Guide Chapter 4. Adding Devices to Tivoli Storage Manager
This chapter contains concepts and procedures for configuring tape devices, optical disk devices, and removable file devices, such as Iomega Zip drives and Jaz drives. The following table contains conceptual information needed to understand TSM device support:
Concepts: "Devices Supported by Tivoli Storage Manager" "Overview of Adding Devices" "Device Alias Names for Tivoli Storage Manager" "Overview of Selecting Device Drivers" "Overview of TSM Storage Area Network (SAN) Support"
The tasks in this chapter are performed using the TSM Server Utilities and the TSM command line interface. For information about the Server Utilities, see the Server Utilities online help. For information about the TSM commands, see Administrator's Reference or issue the HELP command from the command line of a TSM administrative client. All of the TSM commands can be performed from the administrative Web interface. For more information about using the administrative interface, see Quick Start. Some of the tasks described in this chapter require an understanding of TSM storage objects. For an introduction to these storage objects, see Overview of Tivoli Storage Manager Storage Objects. [ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
1 of 1
6/18/2013 5:47 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd49.htm#HDRSUPORT
1 of 1
6/18/2013 5:48 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd50.htm#HDROBTELEM
1 of 1
6/18/2013 5:48 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd51.htm#HDRCONFMD
2. Plan for the device. See Planning for Devices. 3. Start the appropriate device driver. Both the TSM device driver and the native Windows device driver can be used. TSM administrators may need to specify which device driver acquires which devices. See Selecting the Appropriate Device Driver for Tivoli Storage Manager Devices. 4. Configure the device. The device configuration wizard automatically detects drives, and allows administrators to drag and drop them to configure. Note: In most cases, TSM expects to have exclusive use of devices defined to the server. Attempting to use a TSM device with another application may cause TSM or the other application to fail. This restriction does not apply to 3494 library devices, or when using a storage area network to share library devices. See Adding 3494 Automated Library Devices and Overview of TSM Storage Area Network (SAN) Support.
5. Determine the media type and device type for client data. Administrators link clients to devices by directing client data to a type of media. For example, accounting department data might be directed to 8mm tapes, and as a result TSM would select 8mm devices. Administrators direct data to a specific media-type through TSM policy. When administrators register client nodes they choose the associated media type. See Chapter 9, Adding Client Nodes. For configuring devices by using TSM commands, administrators must also define or update the TSM policy objects that will link clients to the pool of storage volumes and to the device.
1 of 2
6/18/2013 5:49 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd51.htm#HDRCONFMD
For an introduction to the TSM policy objects, see How Tivoli Storage Manager Stores Client Data. For a description of the standard policy that is installed with TSM, see Using the Standard Policy. 6. Register clients to the policy domain defined or updated in the preceding step. This step links clients and their data with storage volumes and devices. For information about registering clients, see Managing Nodes.
7. Prepare media for the device. Administrators must label tapes and optical disks before TSM can use them. For automated library devices, they must also add the media to the device's volume inventory by checking media into the library device. See Overview of Setting Up a Tape Rotation. [ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
2 of 2
6/18/2013 5:49 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd52.htm#HDRDEVPLAN
For each device defined to TSM, the Device Configuration Wizard creates a storage pool, a collection of media for the device. Administrators determine the backup device for a client's data when that client is associated with a storage pool. Tape drive performance often depends on the way that devices are positioned in the storage hierarchy and whether the server is a stand-alone implementation or a networked implementation. A TSM server in a stand-alone implementation can go directly to tape to reduce contention for disk resources. Networked TSM servers benefit from a storage hierarchy where files are backed up to disk and migrated to tape later. See Chapter 11, "Implementing Policies for Client Data" and "Overview: The Storage Pool Hierarchy". [ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
1 of 1
6/18/2013 5:49 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd53.htm#HDRDEVALIS
(Tape drive at SCSI ID 3, LUN 0, bus 0, port 0) (Tape drive at SCSI ID 5, LUN 0, bus 0, port 1)
mt5.0.0.1
lb Indicates the device is the controller for an automated library device. For example:
lb4.1
x Indicates the SCSI ID for the targeted device y Indicates the logical unit number (LUN) for the targeted device z Indicates the bus number supported by the adapter device driver n Indicates the port number for the SCSI adapter device driver Note: Alias names can be abbreviated when the trailing numbers are zeros. [ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
1 of 1
6/18/2013 5:49 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd54.htm#HDRDEVAPP
Table 2. Device Types and Recommended Device Drivers Device Type Automated Library Devices Recommended Device Driver TSM Device Driver (required) See Adding Automated Library Devices. Manual Library Devices TSM Device Driver (preferred) See Adding Manual Devices. Manual Library Devices Windows Device Driver (must meet TSM requirements) See Adding Devices Not Supported by the Tivoli Storage Manager Device Driver. Optical Devices TSM Device Driver (required) See Adding Removable Media Devices. Removable Media Devices (attached as local file systems) Windows Device Driver (required) See Adding Removable Media Devices.
1 of 2
6/18/2013 5:50 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd54.htm#HDRDEVAPP
Limitations of Using Windows Device Drivers Using Windows device drivers for TSM devices limits TSM functionality: TSM does not recognize the device type. Administrators adding devices with the intention of using the Windows device drivers must understand that TSM knows nothing of actual device types and recording formats. For example, using a Windows device driver for a 4mm drive, does not tell TSM that the drive is a 4mm drive using the DDS2 recording format. TSM will know that the device is a tape drive and it will use the drive's default recording format. TSM is unable to prevent errors when it does not know the device type. For example, if one GENERICTAPE device class points to a manual library device containing both a 4mm drive and an 8mm drive, then TSM may make an impossible request: mount a 4mm cartridge into an 8mm drive. This could happen because TSM does not know that the drives are loaded with incompatible tapes. Device problems may be more difficult to solve. TSM cannot report I/O errors with as much detail. Without the TSM device driver, TSM can obtain only minimal information for display in the server console log. Windows device driver provides no bar code reader support Controlling Windows Device Drivers Windows device drivers can be manually started or automatically set to start when the operating system starts. Procedures for controlling the device drivers are described in Selecting the Appropriate Device Driver for Tivoli Storage Manager Devices. [ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
2 of 2
6/18/2013 5:50 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd55.htm#HDRSELMAIN
Determine if Devices Meet Requirements for Using Windows Device Drivers with Tivoli Storage Manager
Devices may be used with Windows device drivers or with the manufacturer's device drivers, but the devices must have the following capabilities: Write in variable mode Write filemarks Can forward/reverse space blocks Can forward/reverse space filemarks A file listing devices and their attributes can be created: 1. Click Start>Programs>Command Prompt on the Windows Start button. The Command Prompt dialog appears. 2. Change directories to the directory in which the TSM Server Utilities been installed. For default installations, the path resembles the following:
c:\program files\tivoli\tsm\utils
Select from the following device driver setup procedures based upon the device environment.
1 of 3
6/18/2013 5:51 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd55.htm#HDRSELMAIN
Windows NT 1. 2. 3. 4. 5. Click Settings>Control Panel on the Windows Start button. The Control Panel dialog appears. Double click Devices. The Devices dialog appears. Click the Windows device driver to select it. Click the Startup... button. The Device dialog appears. Click Manual. This ensures that the Windows device driver does not start until administrators enter the Control Panel dialog and manually start the Windows device driver. 6. Click OK.
Windows 2000
Administrators using TSM with Windows 2000 do not need to explicitly control the Windows device driver's acquisition of devices. When the TSM device driver is in boot mode, it automatically acquires all devices not specified in its Device Exclude List.
Controlling Some Devices With the TSM Device Driver and Others With Windows Device Drivers
Some devices are not supported by the TSM device driver, but they can still be used with TSM using the Windows device drivers. At sites where a mix of supported and unsupported devices are used, both the TSM and the Windows device drivers may be used together. An example of this scenario is an environment where some data is backed up to an automated library device and some data is backed up to an Iomega Jaz drive. The automated library device requires the TSM device driver. However, the TSM device driver does not support Iomega Jaz drives so the Windows device driver is used to allow TSM to back up to the Iomega Jaz drive. To Configure Some Devices to Use the TSM Device Drivers and Other Devices to Use the Windows Device Driver In the TSM Server Utilities... 1. Double click the TSM Server Utilities icon on the desktop. The TSM Server Utilities window opens. 2. Click Service Information in the TSM Server Utilities tree in the left panel. The TSM Services tab appears in the right panel. 3. Right click TSM Device Driver. A pop-up menu appears. 4. Click Options... in the pop-up menu. The TSM Device Driver Options dialog appears. 5. Click to check the Enable Optical Device Support check box. The startup type is set to Boot as a default. 6. Click Exclude the Following Devices at Startup. The Device Exclude List gets focused. Enter the names of the devices that administrators want the Windows device driver to control. Separate the names with semicolons. These devices are excluded from TSM control when the TSM device driver is automatically started. Note: See Obtaining Alias Names for Devices. Adding TSM device names to the Device Exclude List may require an additional server reboot to update the Device Information view. 7. Click OK. In the Windows Control Panel... Windows NT 1. 2. 3. 4. 5. Click Settings>Control Panel on the Windows Start button. The Control Panel dialog appears. Double click Devices. The Devices dialog appears. Click the Windows device driver to select it. Click the Startup... button. The Device dialog appears. Click Manual. This ensures that the Windows device driver does not start until administrators enter the Control Panel dialog and manually start the Windows device driver. Note: After the system starts, administrators must manually start the Windows device driver so that it can acquire the devices excluded by the TSM device driver. 6. Click OK.
Windows 2000
Administrators using TSM with Windows 2000 do not need to explicitly control the Windows device driver's acquisition of devices. When the TSM device driver is in boot mode, it automatically acquires all devices not specified in its Device Exclude List.
Controlling the Same Device With the TSM Device Driver and the Windows Device Driver
2 of 3
6/18/2013 5:51 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd55.htm#HDRSELMAIN
In some environments, administrators will want to use the same devices with both the TSM device driver and the Windows device driver. For example, this occurs when devices are used to back up data with TSM and then the same devices are used at other times to back up data with a different backup utility. This scenario requires a reboot of the system to switch between applications. The device drivers can be set up to give administrators the choice of starting either device driver. To Configure a Device to Use the TSM Device Driver with TSM and the Windows Device Driver with Other Applications Activate the TSM Device Driver... 1. 2. 3. 4. 5. Double click the TSM Server Utilities icon on the desktop. The TSM Server Utilities window opens. Click Service Information in the TSM Server Utilities tree (left pane). The TSM Services tab appears in the right pane. Right click TSM Device Driver. A pop-up menu appears. Click Options... in the pop-up menu. The TSM Device Driver Options dialog appears. To use the TSM device driver: Click to check the Enable Optical Device Support check box. The TSM device driver is automatically set to start at boot time and acquire all devices. To use the Windows device driver: Click to uncheck the Enable Optical Device Support check box. This ensures that the Windows device driver acquires devices. 6. Click OK. Activate the Windows Device Driver... Windows NT 1. 2. 3. 4. 5. Click Settings>Control Panel on the Windows Start button. The Control Panel dialog appears. Double click Devices. The Devices dialog appears. Click the Windows device driver to select it. Click the Startup... button. The Device dialog appears. Click Manual. This ensures that the Windows device driver does not start until administrators enter the Control Panel dialog and manually start the Windows device driver. Note: After the system starts, administrators must manually start the Windows device driver so that it can acquire the devices excluded by the TSM device driver. 6. Click OK.
Windows 2000
Administrators using TSM with Windows 2000 do not need to explicitly control the Windows device driver's acquisition of devices. When the TSM device driver is in boot mode, it automatically acquires all devices not specified in its Device Exclude List.
3 of 3
6/18/2013 5:51 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd56.htm#HDRALIASNAME
1 of 1
6/18/2013 5:51 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd57.htm#HDRDAVCO
"Adding Devices Not Supported by the Tivoli Storage Manager System Device Driver" "Adding Optical Devices" "Adding Removable Media Devices" System System
1 of 6
6/18/2013 5:52 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd57.htm#HDRDAVCO
Follow the manufacturer's instructions to attach the device to the system. Set Up the Appropriate Device Driver for the Automated Library Device See Selecting the Appropriate Device Driver for Tivoli Storage Manager Devices. Configure the Automated Library Device 1. Double click the TSM Server Utilities icon on the desktop. The TSM Server Utilities window opens. 2. Click Device Configuration in the TSM Server Utilities tree (left pane). The Device Configuration tab appears in the right pane. 3. Click Device Configuration in the right pane to select it. 4. Click Start. The TSM Device Configuration Wizard appears. 5. Follow the instructions in the wizard. Determine Backup Strategy Administrators need to 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". Label Volumes See Preparing Media for Automated Library Devices. Add Volumes to an Automated Device Administrators add volumes to an automated device by checking the volumes into the volume inventory for the device. Scratch Volumes are checked in differently than private volumes. Adding volumes depends on the presence of scratch volumes or private volumes in the library device: Scratch volumes are recommended. As volumes are used, administrators may need to increase the number of scratch volumes allowed in the storage pool defined for this library. Private volumes are not recommended because administrators must define volumes to the storage pool. The defined volumes must have been labeled already. For information on defining volumes, see Defining Storage Pool Volumes.
TSM then uses the following categories in the new MY3494 library: 400 (X'190') Private volumes for 3590 drives 401 (X'191') Unused 402 (X'192') Scratch volumes for 3590 drives
2 of 6
6/18/2013 5:52 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd57.htm#HDRDAVCO
To avoid overlapping categories, do not specify a number that is equal to the scratch category plus 1. Attention: The default values for the categories are acceptable in most cases. However, if you connect other systems or TSM servers to a single 3494 library device, ensure that each uses unique category numbers. Otherwise, two or more systems may try to use the same volume, and cause a corruption or loss of data. For information on the ENABLE3590LIBRARY server option, see Administrator's Reference. To set up the device, as for other sequential access devices, use the following steps. Attach the 3494 Device to the System Follow the manufacturer's instructions to attach the device to the system. Set Up the TSM Device Driver See Selecting the Appropriate Device Driver for Tivoli Storage Manager Devices. Configure the 3494 Device See Define the Device to TSM for instructions on using TSM commands to configure the device. Determine Backup Strategy Administrators need to 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". Update the Policy Define the TSM policy that links client data with media for the device. For an example, see Defining and Updating a Policy Domain. Label Volumes See Labeling Media for use with an Automated Library Device or Labeling Media for use in a Manual Library Device. Add Volumes to a 3494 Device Administrators add volumes to an automated device by checking the volumes into the volume inventory for the device. Scratch Volumes are checked in differently than private volumes. Adding volumes depends on the presence of scratch volumes or private volumes in the library device: Scratch volumes are recommended. As volumes are used, administrators may need to increase the number of scratch volumes allowed in the storage pool defined for this library. Private volumes are not recommended because administrators must define volumes to the storage pool. The defined volumes must have been labeled already. For information on defining volumes, see Defining Storage Pool Volumes.
Adding Devices Not Supported by the Tivoli Storage Manager Device Driver
Unsupported devices can be added using TSM commands. See Adding Devices Using TSM Commands for detailed instructions and examples. Administrators can configure devices that run with their own or Windows device drivers as long as the devices meet TSM requirements. See Determine if Devices Meet Requirements for Using Windows Device Drivers with Tivoli Storage Manager. Attach the Device to the System Follow the manufacturer's instructions to attach the device to the system. Set Up the Appropriate Windows Device Driver
3 of 6
6/18/2013 5:52 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd57.htm#HDRDAVCO
See Selecting the Appropriate Device Driver for Tivoli Storage Manager Devices. Configure the Non-TSM-Supported Device See Define the Device to TSM for instructions on using TSM commands to configure the device. The following guidelines must be followed: The device class must have a device type of GENERICTAPE. Define a different device class and a different manual library device for every unique device type that will be controlled by the Windows device driver. For example, to use a 4mm drive and an 8mm drive, define two manual libraries, and two device classes (both with device type GENERICTAPE). Determine Backup Strategy Administrators need to 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". Update the Policy Define the TSM policy that links client data with media for the device. For an example, see Defining and Updating a Policy Domain. Label Volumes See Labeling Media for use with an Automated Library Device or Labeling Media for use in a Manual Library Device.
4 of 6
6/18/2013 5:52 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd57.htm#HDRDAVCO
Must be viewed by the operating system as a removable media drive, and not as a fixed, hard disk drive. TSM cannot use the device if the SCSI adapter card makes the removable media drive appear as a fixed disk drive to the operating system. The operating system treats some optical drives as fixed drives after data is written to them and until the system reboots. TSM cannot use these drives as removable file devices. Administrators can use the CD-ROM media as input media on a target TSM server by using the REMOVABLEFILE device class for input. Using REMOVABLEFILE device class for input allows TSM to distinguish media volumes by a "volume label", to prompt for additional media, and to dismount media. With CD-ROM support for Windows, administrators can also use CD-ROM media as an output device class. Using CD-ROM media as output requires other software which uses a file system on top of the CD-ROM media. ADAPTEC Direct CD software is the most common package for this application. This media allows other software to write to a CD by using a drive letter and file names. The media can be either CD-R (read) or CD-RW (read/write). If a data cartridge that is associated with a REMOVABLEFILE device class has two sides, TSM treats each side as a separate TSM volume. To set up the device, as for other sequential access devices, use the following steps. Attach the Device to the System Follow the manufacturer's instructions to attach the device to the system. Set Up the Appropriate Device Driver for the Removable Media Device See Selecting the Appropriate Device Driver for Tivoli Storage Manager Devices. Configure the Removable Media Device See Define the Device to TSM for instructions on using TSM commands to configure the device. The following parameters must be specified: The device class must have device type of REMOVABLEFILE. The library type must be MANUAL. The device name used in defining drives is the drive letter by which the system knows the drive. See Obtaining Alias Names for Devices. Determine Which Clients Back Up Data to this Device See Defining and Updating a Policy Domain. Determine Backup Strategy See "Planning for Devices". Label Optical and Other Removable File Media TSM does not supply utilities to format or label CD-ROMs. Use the utilities that are supplied with the device or operating system. See Labeling Media for Devices not Supported by the TSM Device Driver. Example of Removable File Support (CD-ROM) Use these steps as an example of TSM REMOVABLEFILE support. This example takes an export object and moves it from one server to another. Server A: Define a device class named expfile with a device type of FILE.
define devclass expfile devtype=file directory=c:\data\move
Export the node. This command creates a file named CDR03 in the c:\data\move directory. CDR03 contains the export data for node USER1.
5 of 6
6/18/2013 5:52 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd57.htm#HDRDAVCO
Administrators can use software for writing CD-ROMs to create a CD with volume label CDR03 that contains the file named CDR03. Server B: Insert the CD in a drive on the Windows system, for example, E: Issue the following TSM commands to import the node data on the CD-ROM volume CDR03:
define library manual define devclass cdrom devtype=removablefile library=manual define drive manual cddrive device=e: import node user1 filedata=all devclass=cdrom vol=CDR03
6 of 6
6/18/2013 5:52 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd58.htm#HDRCOMMANDS
For detailed information about defining TSM libraries and library types, see Chapter 6, "Defining Drives and Libraries". Define the Drives in the Library All devices must identify their drives to the library. Administrators 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
1 of 3
6/18/2013 5:53 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd58.htm#HDRCOMMANDS
For detailed information about defining TSM drives, see Chapter 6, "Defining Drives and Libraries". Define the Device Classes that Group Together Similar Devices 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. Administrators define device classes with the DEFINE DEVCLASS command. Manual Device:
define devclass tape8mm_class devtype=8mm format=8500 library=manual8mm
For detailed information about defining TSM device classes, see Chapter 7, "Defining Device Classes". Create a Storage Pool for the Device Added 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
For detailed information about defining TSM storage pools, see Chapter 8, "Managing Storage Pools and Volumes".
2 of 3
6/18/2013 5:53 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd58.htm#HDRCOMMANDS
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
Label Media
See Labeling Media for use with an Automated Library Device or Labeling Media for use in a Manual Library Device.
3 of 3
6/18/2013 5:53 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd59.htm#HDRLIBSAN
When TSM servers share a storage device, one server, the library manager, controls device operations. These operations include mount, dismount, volume ownership, and library inventory. Other servers, library clients, use server-to-server communications to contact the library manager and request device service. Data moves over the SAN between each server and the storage device. See Configuring TSM Servers to Share SAN-Connected Devices. TSM servers use the following features when sharing an automated library device: Partitioning of the Volume Inventory The inventory of media volumes in the shared library device is partitioned among servers. Either one TSM server owns a
1 of 2
6/18/2013 5:54 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd59.htm#HDRLIBSAN
particular volume, or the volume is in the global scratch pool. No server owns the scratch pool at any given time. Serialized Drive Access Only one TSM server accesses each tape drive at a time. Drive access is serialized and controlled so that servers do not dismount other servers' volumes or write to drives where other servers mount their volumes. Serialized Mount Access The library device's autochanger performs a single mount or dismount operation at a time. A single server (library manager) performs all mount operations to provide this serialization.
SAN data movement by a client requires the installation of a storage agent on the client machine. The TSM server maintains the TSM database and recovery log and controls device operations. The storage agent on the client handles the data transfer to the device on the SAN. This implementation frees up bandwidth on the LAN that would otherwise be used for client data movement. The following outlines a typical backup scenario for a TSM client that uses SAN data movement: 1. The client begins a backup operation. The client and the server exchange policy information over the LAN to determine the destination of the backed up data. For a client using LAN-free data movement, the destination is a storage pool that uses a device on the SAN. That device must also be mapped for the client. 2. Because the destination is on the SAN, the client contacts the storage agent, which will handle the data transfer. The storage agent sends a request for a volume mount to the server. 3. The server contacts the storage device and mounts the appropriate media. 4. The server notifies the client of the location of the mounted media. 5. The client, via the storage agent, writes the backup data directly to the device over the SAN. 6. The storage agent sends file attribute information to the TSM server and the server stores the information in its database. See Configuring TSM Clients to Directly Access SAN-Attached Devices. Note: Support for SAN data movement is currently limited. See the TSM home page at http://www.tivoli.com/support/storage_mgr /tivolimain.html for the latest information on clients that support the feature. [ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
2 of 2
6/18/2013 5:54 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd60.htm#HDRSHARLIB
"Setting up the Library Manager Server" System or unrestricted storage "Setting up the Library Client Servers" System or unrestricted storage
6. Define at least one device class. Use a low mount retention time (1-2 minutes) and mount wait time for shared library devices. Set the mount wait times to different values for each server.
define devclass tape devtype=dlt mountretention=1 mountwait=10 library=sangroup
7. Check in the library inventory. The following example checks all volumes into the library inventory as scratch volumes. The server uses the name on the barcode label as the volume name.
checkin libvolume sangroup search=yes status=scratch
1 of 3
6/18/2013 5:54 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd60.htm#HDRSHARLIB
checklabel=barcode
8. Set up a storage pool for the shared library with a maximum of 50 scratch volumes.
define stgpool backtape tape description='storage pool for shared sangroup' maxscratch=50
5. Define the drives to the library by using the same names as the drives on the library manager. Element addresses are not required for shared libraries when defining drives on the library client.
define drive sangroup drivea device=mt0.1.0.3 define drive sangroup driveb device=mt0.2.0.3
Note: Administrators do not have to specify all of the drives in the shared library device. 6. Define at least one device class. Use a low mount retention time (1-2 minutes) and mount wait time for shared library devices. Set the mount wait times to different values for each server.
define devclass tape devtype=dlt mountretention=1 mountwait=10 library=sangroup
7. Define the storage pool, BACKTAPE, that will use the shared library.
define stgpool backtape tape description='storage pool for shared sangroup' maxscratch=50
Server Operations
When the library manager server starts and the storage device initializes, or after a library manager server is defined to a library client server, the library client server contacts the library manager server. The library client server confirms that the contacted server is the library manager for the named library device. The library client server also compares drive definitions with the library manager server for consistency. The library client server contacts the library manager server for each of the following operations: Volume Mount A library client server sends a request to the library manager server for access to a particular volume in the shared library device. For a scratch volume, the library client server does not specify a volume name. If the library manager server cannot
2 of 3
6/18/2013 5:54 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd60.htm#HDRSHARLIB
access the requested volume, or if scratch volumes are not available, the library manager server denies the mount request. If the mount is successful, the library manager server returns the name of the drive where the volume is mounted. Volume Release (free to scratch) When a library client server no longer needs to access a volume, it notifies the library manager server that the volume should be returned to scratch. The library manager server database is updated with the volume's new owner. The volume is deleted from the volume inventory of the library client server. Table 3 shows the interaction between library client servers and the library manager server in executing TSM commands. Table 3. How SAN-enabled Servers Execute Common TSM Commands Server command QUERY LIBVOLUME Library Manager Server Displays the volumes that are checked into the library. For private volumes, the owner server is also displayed. Performs the commands to the library device. Library Client Server Not applicable.
Not applicable. When a check-in operation must be performed because of a client restore, a request is sent to the library manager server.
Requests that the library manager server perform the operations. Generates a checkout process on the library manager server.
Performs the inventory synchronization Performs the inventory with the library device. synchronization with the library manager server. Performs the labeling and check-in of media. Not applicable.
Sends the request to the library device. Requests that the library manager server perform the operation. Checks whether the volume is owned Requests that the library manager by the requesting library client server server perform the operation. and checks whether the volume is in the library device.
3 of 3
6/18/2013 5:54 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd61.htm#HDRSHARDEV
Note: Do not use a device type of GENERICTAPE for drives to be shared on a SAN with clients. 7. Define a storage pool, SANPOOL.
define stgpool sanpool santape description='SAN storage pool' maxscratch=50
For each client for which you want to enable SAN data transfer, do the following: 8. On the server, define the client's storage agent as if it were a server. The name must match the name specified during storage agent configuration. For example, if the storage agent's name is IRIS, issue the following command:
1 of 2
6/18/2013 5:55 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd61.htm#HDRSHARDEV
9. On the client system, do the following: a. Start the TSM device driver. b. Determine the device name by which the storage agent knows the device. For details on these steps, see TSM Managed System for SAN Storage Agent User's Guide. 10. On the server, define drive mapping for every drive that the storage agent will access, by using the DEFINE DRIVEMAPPING command. For the device name, specify the device name by which the storage agent knows the device.
define drivemapping iris sangroup drivea device=mt5.0.0.1 define drivemapping iris sangroup driveb device=mt5.2.0.1
11. Set up the policy so that the clients use the new storage pool as the destination for their backup operations. See Configuring Policy for Managed System for SAN for details. 12. On the client system, do the following: a. Start the storage agent. b. Start a backup operation to verify that the setup is complete. For details on these steps, see TSM Managed System for SAN Storage Agent User's Guide. [ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
2 of 2
6/18/2013 5:55 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd62.htm#HDRCONFNTS
1 of 1
6/18/2013 5:55 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd63.htm#HDRMNGMTOP
Tivoli Storage Manager for Windows Administrator's Guide Chapter 5. Managing Removable Media Operations
Tapes and optical disks represent the most common removable media used by TSM. The media are associated with devices and are also associated with TSM policy. When administrators add devices using the Device Configuration Wizard, the wizard automatically defines the media for the devices. If they use TSM commands, administrators define the media. After devices have been configured, administrators must prepare media by labeling it, and, if the media is for an automated library device, they must check the media into the library volume inventory. Once devices and media are operational, administrators are responsible for setting up media rotations, which are media management schemes that capture the data retention and media reuse goals of the administrator. See Overview of Setting Up a Tape Rotation. Administrators and operators can monitor media operations and respond to device and media requests using the server console. See Starting the Administrative Client as a Server Console Monitor. For automated library devices, TSM maintains a volume inventory that allows TSM to interact with the device to mount volumes, but sends messages when the device needs attention from an operator. For manual library devices, TSM sends mount requests and messages expecting a person to interact with devices and media. This chapter contains the following sections:
Concepts: "Overview of Volumes" "Overview of Media Management and TSM Policy" "Overview of Setting Up a Tape Rotation" Tasks: Automated (Robotic) Devices: "Preparing Media for Automated Library Devices" "Managing Media in Automated Library Devices" "Reusing Media"
Manual (Single-Drive) Devices: "Preparing Media for Manual Library Devices" "Managing Media in Manual Library Devices" "Reusing Media"
All Devices: "Managing Media Mount Operations" "Setting Up a Tape Rotation" "Using Removable Media Managers With Tivoli Storage Manager"
In this chapter, most examples illustrate how to perform tasks by using the TSM command line interface. For information about the TSM commands, see Administrator's Reference, or issue the HELP command from the command line of a TSM administrative client. All of the TSM commands can be performed from the administrative Web interface. For more information about using the administrative interface, see Quick Start. [ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
1 of 1
6/18/2013 5:56 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd64.htm#HDROVRVOL
Defining Volumes
Any tape or optical disk is a candidate to become a TSM volume. TSM volumes are defined when administrators configure devices, specifically when they create the storage pools for the devices. When administrators add devices with the Device Configuration Wizard, the wizard automatically creates a storage pool for each device it configures and allows a maximum of 500 scratch volumes for the storage pool. When administrators add devices with TSM commands, they determine the maximum number of scratch volumes with the MAXSCRATCH parameter of the DEFINE STGPOOL or UPDATE STGPOOL command. If the MAXSCRATCH parameter is 0, all the volumes in the storage pool are private volumes. If the MAXSCRATCH parameter is greater than zero, all of the volumes in the storage pool are scratch volumes. For example, to create a storage pool named STORE1 that can use up to 500 scratch volumes, an administrator might enter the following:
define stgpool store1 maxscratch=500
For each storage pool, administrators must decide whether to use scratch volumes or private volumes. Scratch volumes are recommended for the following reasons: Administrators need not explicitly define each storage pool volume. Scratch volumes are convenient to manage and they fully exploit the automation of robotic devices. Different storage pools sharing the same automated library device can dynamically acquire volumes from the library's collection of scratch volumes. The volumes need not be preallocated to the different storage pools. Private volumes require much more human intervention than scratch volumes. However, some administrators may need to regulate the volumes used by individual storage pools, and want to manually control the volumes. These administrators are willing to trade the additional human intervention for absolute control over volumes. In these situations, the administrator must define each private
1 of 2
6/18/2013 5:56 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd64.htm#HDROVRVOL
volume with the DEFINE VOLUME command. To mount private volumes, administrators must provide the volume names. For database backups, dumps, or loads, or for server import or export operations, the administrator must list the private volumes.
Managing Volumes
When TSM requires a new volume, it chooses the volume from the storage pool available for client backups. If administrators set up private volumes, TSM selects a specific volume. If administrators set up scratch volumes, TSM selects any scratch volume in the library. This is true for all devices except 3494 devices. See Managing Category Numbers for 3494 Library Devices. Managing Partially-Written Volumes TSM is unaware of a scratch volume until after the volume is mounted. Then, its status is changed to private and the volume is automatically defined as part of the storage pool for which the mount request was made. Partially-written volumes are always private volumes, even if their status was scratch before they were selected. TSM tracks the original status of scratch volumes, so it can return them to scratch status when they become empty. For information on changing the status of a volume in an automated library device, see Modifying the Status of Automated Library Volumes. Managing the Volume Inventory for an Automated Library Device TSM maintains a volume inventory for each automated library device. The volume inventory allows the device to provide maximum automation. The volume inventory is created when the administrator checks media volumes into the library device. TSM tracks the status of volumes in the inventory as either scratch or private. A list of volumes in the library volume inventory would not necessarily be identical to a list of volumes in the storage pool inventory for the device. For example, scratch volumes may be checked in to the library device but not defined to a storage pool because they have not yet been selected for backup; private volumes may be defined to a storage pool, but not checked into the device's volume inventory. Managing Database Backup and Database Export Volumes For database backup and database export volumes, administrators must issue the DELETE VOLHISTORY command or the UPDATE LIBVOLUME command to change the status of the volume. When TSM backs up the database or exports server information, TSM records information about the volumes used for these operations in the volume history file. Volumes that are tracked in the volume history file require the administrator to delete the volume information from the volume history file. The volume history file is a key component of server recovery and is discussed in detail in Chapter 21, Protecting and Recovering Your Server. [ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
2 of 2
6/18/2013 5:56 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd65.htm#HDRMEDLIFE
Numbers in the following text (such as (1)) refer to numbers in Figure 7. The Storage Pool parameters and functions can be specified in the DEFINE STGPOOL and UPDATE STGPOOL commands. Policy: (1) Policy Domain Policy domains are policy objects that contain other policy objects. The policy objects control the behavior of TSM backups. Administrators assign client nodes to policy domains when they register the nodes with TSM. See Getting Users Started. (2) Policy Set Policy sets are policy objects that contain management classes and copy groups. Policy sets allow administrators to create different sets of policy for different purposes, for example, everyday policy for regular backups and special policy for weekends, end-of-year, or, holidays. See Changing Policy with the Active Policy Set. (3) Management Class Management classes are policy objects that allow users to specify how copies of client data are backed up, archived, or both. For space-managed data, the management class specifies how client files are migrated to storage pools. See Chapter 11, Implementing Policies for Client Data. (4) Copy Group Copy groups are policy objects that point to storage pools. Storage pools contain volumes, which represent the media on which client data is stored. Storage pools are also the constructs used to associate client data with particular storage devices. See Defining and Updating a Backup Copy Group.
1 of 2
6/18/2013 5:56 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd65.htm#HDRMEDLIFE
Storage Pool: (5) Collocation Collocation is a function that allows administrators to group client data together on volumes. Collocation provides faster data recovery at the cost of additional backup overhead. See Keeping a Client's Files Together: Collocation. (6) Reclamation Reclamation is a function that assists in setting up a media rotation because it allows the administrator to reclaim valid data and to reuse physical media. See Reclaiming Space in Sequential Access Storage Pools. (7) Maxscratch Maxscratch is a parameter that specifies whether the volumes in a storage pool are scratch volumes or private volumes and it determines the number of scratch volumes in the pool. (8) Reuse Delay Reuse delay is a parameter that sets the amount of time that must elapse before an empty volume can be rewritten. For more information, see Chapter 11, Implementing Policies for Client Data and Chapter 8, Managing Storage Pools and Volumes. [ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
2 of 2
6/18/2013 5:56 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd66.htm#HDRMEDIAROT
Numbers in the following text (such as (1)) refer to numbers in Figure 8. (1) Label tapes. See Labeling Media for use with an Automated Library Device or Labeling Media for use in a Manual Library Device.
1 of 2
6/18/2013 5:57 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd66.htm#HDRMEDIAROT
(2) Determine whether tapes are scratch tapes or private tapes. This decision is made when devices are configured for TSM. See Overview of Volumes. (3) Check the tapes into their respective libraries. Checking tapes into manual library devices is a matter of storing the tapes, for example, in a file cabinet or desk drawer. Checking tapes into automated library devices requires the administrator to add new tapes to the volume inventory. See Checking Media into Automated Library Devices. (4) Set up expiration processing. Expiration processing is a step in the data deletion process where the server removes database entries, effectively deleting data. Administrators control expiration processing through TSM policy. After tapes have been labeled and libraries are populated, administrators set up expiration processing by either accepting the TSM data expiration defaults or by modifying TSM policy for the desired data expiration. See Basic Policy Planning. (5) Set up reclamation processing. As data expires, much of the data on tapes becomes invalid. Administrators can set up reclamation processing to reclaim valid TSM data and reclaim physical media. See Reusing Media - Reclamation Processing. (6) Ongoing TSM tape processing. See TSM Volume Processing. (7) Determine when tapes have reached their end of life. See Determining When Media has Reached Its End of Life. [ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
2 of 2
6/18/2013 5:57 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd67.htm#HDRMEDPREPAUTO
Labeling Media
Labeling media for use with automated library devices is different than labeling media for use with single-drive, manual devices because automated devices require the administrator to also check media into the library volume inventory. The extra checkin processing can be done at the same time that the volume is labeled. Administrators labeling volumes with the Labeling Wizard can select checkin processing in the wizard. Administrators labeling volumes with the LABEL LIBVOLUME command can issue the CHECKIN parameter. Any media, used in any TSM device, requires a label. All labels used with TSM must meet the following criteria: 6 characters or less No embedded blanks or periods Valid when used as a file name on the media Labeling Media for use with an Automated Library Device Administrators insert tapes or optical disks into storage slots or entry/exit ports and invoke the Labeling Wizard. 1. 2. 3. 4. 5. Double click the TSM Server Utilities icon on the desktop. The TSM Server Utilities window opens. Click Volume Labeling in the TSM Server Utilities tree. The Volume Labeling view appears in the right pane. Click Library Media Labeling in the right pane of the TSM Server Utilities. Click the Start button. The TSM Autochanger Media Labeling Wizard appears. Follow the instructions in the wizard. In the last wizard dialog, check the box named Checkin Tapes.
By default, the label command does not overwrite an existing label on a volume. However, if you want to overwrite existing volume labels, you can specify OVERWRITE=YES when you use the LABEL LIBVOLUME command. See Labeling Volumes Using TSM Commands. Attention: By overwriting a volume label, you destroy all of the data that resides on the volume. Use caution when overwriting volume labels to avoid destroying important data. Labeling Media for use with a Bar-Code Reader Library devices equipped with bar-code readers can obtain volume names using the reader instead of prompting the administrator. Administrators labeling media with the labeling wizard can check the bar-code check box in the wizard. Administrators labeling media with TSM commands can issue the LABEL LIBVOLUME command with the SEARCH=YES and LABELSOURCE=BARCODE parameters. TSM reads the bar code and the media is moved from the entry/exit port to a drive where the information on the bar-code label is written as the internal label on the media. After the tape is labeled, it is moved back to the entry/exit port or to a storage slot if the CHECKIN option is specified. Do not mix volumes with bar-code labels and volumes without bar-code labels in a library device because bar-code scanning can take a long time for unlabeled volumes. Bar-code support is available only for TSM-controlled library devices using the TSM device driver. Bar code support is unavailable for devices using the native Windows device driver or devices whose media is managed by other programs. Removable Storage
1 of 3
6/18/2013 5:58 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd67.htm#HDRMEDPREPAUTO
Manager (RSM). See Using Removable Media Managers With Tivoli Storage Manager. For volumes for device type REMOVABLEFILE, see Labeling Media for Devices not Supported by the TSM Device Driver.
TSM finds that the first empty slot is at element address 5, and issues the following message:
ANR8306I 001: Insert 8MM volume VOL001 R/W in slot with element address 5 of library TAPELIB within 60 minutes; issue 'REPLY' along with the request ID when ready.
If the library device is equipped with entry/exit ports, the administrator can load the volume into a port without knowing the element addresses of the device's storage slots. After inserting the volume into an entry/exit port or storage slot, the administrator responds to the preceding message at a TSM command line by issuing the REPLY command with the request number (the number at the beginning of the mount request):
reply 1
Checking Volumes In Using a Library Device's Bar-Code Reader Administrators can save time checking volumes into library devices equipped with bar-code readers by using the characters on the bar-code labels as names for the volumes being checked in. TSM reads the bar-code labels and uses the information on the labels to write the internal media labels. For volumes missing bar-code labels, TSM mounts the volumes in a drive and attempts to read the internal, recorded label. For example, to use a bar-code reader to search a library device named TAPELIB and check in a scratch tape, enter:
checkin libvolume tapelib search=yes status=scratch checklabel=barcode
Checking Volumes in from the Library Device's Entry/Exit Ports Administrators can check multiple volumes into automated library devices by issuing the CHECKIN LIBVOLUME command with the SEARCH=BULK parameter. TSM searches the device's entry/exit ports for labeled volumes that it can check in automatically. The CHECKLABEL=NO option is invalid with the SEARCH=BULK option, so the process takes on the behavior of label checking
2 of 3
6/18/2013 5:58 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd67.htm#HDRMEDPREPAUTO
which is to move the volume from the entry/exit ports to the drive where the label is read. After reading the label, TSM moves the tape from the drive to a storage slot. When bar-code reading is enabled with the CHECKLABEL=BARCODE parameter, TSM reads the label and moves the tape from the entry/exit port to a storage slot. Checking Volumes in from the Library Device's Storage Slots Administrators can check multiple volumes into automated library devices by issuing the CHECKIN LIBVOLUME command with the SEARCH=YES parameter. TSM automatically searches the storage slots for new volumes that have not yet been added to the volume inventory. Issuing the SEARCH=YES parameter eliminates issuing an explicit CHECKIN LIBVOLUME command for each volume. For example, for a SCSI device you can simply open the library access door, place all of the new volumes in unused slots, close the door, and issue the CHECKIN LIBVOLUME command with SEARCH=YES. See Obtaining Element Addresses for Library Device Storage Slots. Checking In Private Volumes Private volumes are volumes that are either predefined to a storage pool or volumes that are partially-written. Administrators can check in private volumes, but they must ensure they assign a private status to them before checking them in. Private volumes cannot accidentally be overwritten when a scratch mount is requested. The server does not allow the administrator to check in a volume with scratch status when that volume already belongs to a storage pool. See Overview of Volumes. Checking in Partially-Written Volumes Partially written volumes are always private volumes. Volumes begin their lives with a status of either scratch or private, but once TSM stores data on them, their status becomes private. See Returning Partially-Written Volumes to Automated Library Devices. Checking Volumes into Fully-Populated Library Devices Administrators can check volumes into devices that are fully populated and have no empty storage slots by enabling tape swapping. Swapping allows TSM to select and eject volumes to store in a different physical location. TSM selects the volume to eject by checking first for any available scratch volumes, then for the least frequently mounted volumes. Without tape swapping, the check-in fails. See Setting Up and Managing a Volume Overflow Location for an Automated Library Device Checking Volumes into 3494 Library Devices When a volume is first inserted into the device, either manually or automatically at the convenience I/O station, the volume is assigned to the insert category (X'FF00'). A software application, such as TSM, can then interact with the device control unit to change a volume's category number to a different value. To do this for TSM, use the CHECKIN LIBVOLUME command. Obtaining Element Addresses for Library Device Storage Slots Administrators managing devices equipped with entry/exit ports add and remove media by loading the media into the ports, but administrators managing devices without entry/exit ports must load tapes into storage slots. This requires administrators to reply to mount requests that identify storage slots with element addresses. An element address is a number that indicates the physical location of a storage slot or drive within an automated library device. Administrators need device names and element addresses when: Using TSM commands to define or update drives in an automated library device. Checking volumes into automated library devices when they are not equipped with entry/exit ports. Using a single specific drive in an automated library device to label volumes. Element addresses for IBM-supported devices are available in the Device Configuration wizard and at Web site ( http://www.tivoli.com/support/storage_mgr/tivolimain.html ) or see the device manufacturer's documentation. [ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
3 of 3
6/18/2013 5:58 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd68.htm#HDRMNGINV
1 of 4
6/18/2013 5:59 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd68.htm#HDRMNGINV
After TSM has reclaimed valid data from volumes, TSM can reuse the media. Scratch volumes are automatically returned to the library as scratch volumes. To reuse private volumes, check them into the library. See Overview of Volumes.
Setting Up and Managing a Volume Overflow Location for an Automated Library Device
As the demand for media grows, the number of volumes needed for a storage pool may exceed the physical capacity of an automated library device. To make room for new volumes while keeping track of existing volumes, administrators can define a physical location as an overflow area. TSM tracks the volumes moved to the overflow area thus allowing administrators to make storage slots available for new volumes. Administrators can perform the following steps to create an overflow location: 1. Create a Volume Overflow Location. Define or update the storage pool associated with the automated library device by issuing the DEFINE STGPOOL or UPDATE STGPOOL command with the OVERFLOW parameter. For example, to create an overflow location named ROOM2948 for a storage pool named ARCHIVEPOOL, issue the following:
update stgpool archivepool ovflocation=Room2948
2. Move Media to the Overflow Location as Required. Issue the MOVE MEDIA command to move media from the library device to the overflow location. For example, to move all
2 of 4
6/18/2013 5:59 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd68.htm#HDRMNGINV
full volumes in the specified storage pool out of the library device.
move media * stgpool=archivepool
All full volumes are checked out of the library device, and TSM records the location of the volumes as Room2948. Use the DAYS parameter to specify the number of days that must elapse before the volume is eligible for processing by the MOVE MEDIA command. 3. Check in new scratch volumes (if required). See Checking Media into Automated Library Devices. 4. Identify the empty scratch tapes in the overflow location. For example, enter this command:
query media * stg=* whereovflocation=Room2948 wherestatus=empty move media * stg=* wherestate=mountablenotinlib wherestatus=empty cmd="checkin libvol autolib &vol status=scratch" cmdfilename=\storage\move\media\checkin.vols
5. Check in volumes from the overflow area when TSM requests them. Operators must check volumes in from the overflow area when TSM needs them. TSM issues mount requests that include the location of the volumes. Operators can locate volumes in an overflow location by issuing the QUERY MEDIA command. This command can also be used to generate commands. For example, you can issue a QUERY MEDIA command to list the volumes in the overflow location, and at the same time generate the commands to check those volumes into the library device. For example, enter this command:
query media format=cmd stgpool=archivepool whereovflocation=Room2948 cmd="checkin libvol autolib &vol status=private" cmdfilename="\storage\move\media\checkin.vols"
Use the DAYS parameter to specify the number of days that must elapse before the volumes are eligible for processing by the QUERY MEDIA command. The file that contains the generated commands can be run using the TSM MACRO command. For this example, the file may look like this:
checkin libvol autolib TAPE13 status=private checkin libvol autolib TAPE19 status=private
3 of 4
6/18/2013 5:59 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd68.htm#HDRMNGINV
4 of 4
6/18/2013 5:59 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd69.htm#HDRMEDREUS
1 of 1
6/18/2013 5:59 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd70.htm#HDRMEDPREP
"Labeling Media for Devices not Supported by the TSM Device System Driver" "Making Volumes Available to Stand-alone, Manual Library Devices" Any Administrator
Labeling Media
Any volume, used in any TSM library device, requires a label. All labels used with TSM must meet the following criteria: 6 characters or less No embedded blanks or periods Valid when used as a file name on the media Note: Some devices that are not supported by the TSM device driver must be labeled using the manufacturer's or Windows utilities. See Labeling Media for Devices not Supported by the TSM Device Driver. Labeling Media for use in a Manual Library Device Administrators can label tapes and optical disks for use in a manual library device by inserting the media into the drive and invoking the Labeling Wizard. 1. 2. 3. 4. 5. Double click the TSM Server Utilities icon on the desktop. The TSM Server Utilities window opens. Click Volume Labeling in the TSM Server Utilities tree. The Volume Labeling view appears in the right pane. Click Manual Media Labeling in the right pane of the TSM Server Utilities. Click the Start button. The TSM Manual Device Media Labeling Wizard appears. Follow the instructions in the wizard.
Note: After labeling a tape for a manual library device, place the tape on the shelf. See Labeling Volumes Using TSM Commands. Labeling Media for Devices not Supported by the TSM Device Driver Administrators must label CD-ROM, Zip, or Jaz volumes with the device manufacturer's or Windows utilities because TSM does not provide utilities to format or label these media. The operating system utilities include the Disk Administrator program (a graphical user interface) and the label command. See Labeling Media. Making Volumes Available to Stand-alone, Manual Library Devices Stand-alone devices are always associated with manual libraries, and as such, they require a human (and not a robot) to load media into drives. After media has been labeled, it is ready to use, and requires no checkin processing. [ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
1 of 1
6/18/2013 6:00 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd71.htm#HDRMEDMAN
1 of 1
6/18/2013 6:01 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd72.htm#HDRSTAMEDREUS
1 of 1
6/18/2013 6:01 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd73.htm#HDRMEDMOU
TSM displays a 3-digit request ID number as part of the message. The request ID number can also be obtained by issuing a QUERY REQUEST command. If the request requires the operator to provide a device to be used for the mount, the second parameter for this
1 of 2
6/18/2013 6:02 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd73.htm#HDRMEDMOU
2 of 2
6/18/2013 6:02 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd74.htm#HDRTAPEROT
1 of 2
6/18/2013 6:03 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd74.htm#HDRTAPEROT
functions.
2 of 2
6/18/2013 6:03 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd75.htm#HDRMANCOMM
If the server is not available, issue the following command: Automated Library Device:
> dsmlabel -drive=mt3.0.0.0,116 -drive=mt4.0.0.0,117 -library=lb5.0.0.0 -overwrite -keep
See Administrator's Reference for more information about the LABEL LIBVOLUME command. [ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
1 of 1
6/18/2013 6:03 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd76.htm#HDRMEDMANREM
1 of 4
6/18/2013 6:04 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd76.htm#HDRMEDMANREM
"Setting up RSM or TRMM Device Control" "Defining RSM or TRMM Libraries Using the Device Configuration Wizard" "Adding Media to RSM or TRMM Libraries" Setting up RSM or TRMM Device Control
When the RSM or TRMM service is started, it will automatically take control of all eligible storage devices. For a device to be eligible for RSM or TRMM control: A Windows driver must be installed for the device, and The TSM device driver cannot have already claimed the device Both RSM and TRMM rely on native device drivers for drive support. TRMM, however, uses the TSM device driver, ADSMSCSI, for device support. This requires that administrators explicitly control the acquisition of devices by device drivers to use these media managers with TSM. Administrators must either disable the TSM device driver or add devices to be controlled by the media manager to the TSM Device Exclude List before starting the RSM or TRMM service. See Overview of Selecting Device Drivers. Defining RSM or TRMM Libraries Using the Device Configuration Wizard It is recommended that administrators use the TSM Device Configuration Wizard to define RSM or TRMM libraries. For example: 1. Double -click the TSM Server Utilities icon on the desktop. The TSM Server Utilities window opens. 2. Click Device Configuration in the TSM Server Utilities tree (left pane). The Device Configuration tab appears in the right pane. 3. Click Device Configuration in the right pane to select it. 4. Click Start. The TSM Device Configuration Wizard appears. 5. Follow the instructions in the wizard. This procedure creates the following TSM storage objects: An RSM or TRMM library An associated device class with a device type of GENERICTAPE An associated storage pool
Creating Media Pools
When you create and configure an RSM or a TRMM library, typically with the TSM Device Configuration Wizard, TSM directs RSM or TRMM to create: A top-level media pool called Tivoli Storage Manager A second-level TSM server instance pool Under the Tivoli Storage Manager media pool, TSM creates two storage pools that are media-type specific. The first pool is associated with the physical changer device and the second pool with an import media pool. An RSM or TRMM media pool is analogous to a directory or folder. The names of the volumes in the pool are listed in the folder. The volumes contain TSM data. RSM or TRMM retains information that maps physical media to devices. Adding Media to RSM or TRMM Libraries To add media to an RSM-controlled library device, administrators must activate the Microsoft Management Console (MMC) snap-in for RSM, open Removable Storage, and then request door access. Normally, the library door is locked by RSM. To add media to a TRMM-controlled library device, administrators must access the TRMM administrative Web interface and then request door access. On RSM: 1. Click Start> Programs > Administrative Tools > Computer Management. 2. In the console tree under Storage, double-click Removable Storage. To request door access:
2 of 4
6/18/2013 6:04 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd76.htm#HDRMEDMANREM
1. Double-click Physical Location. 2. Click on the applicable library, and then select Door Access. 3. When prompted, open the door.
On TRMM: 1. Click Start> Programs > Administrative Tools > Tivoli >TRMM Web Admin. To request door access: 1. Click Operation View in the left pane of the interface. 2. Click Work with Libraries and Slots. 3. Click Access Library Door.
You can use the library door to insert and remove media. After media is injected and the library door is closed, RSM or TRMM automatically inventories the device. If the new media matches the media type for a defined RSM or TRMM library, RSM or TRMM labels the media and adds it to one of the following media pools in that library: Free Pool for RSM (Scratch Pool for TRMM) This pool is used to track previously unlabeled media. Free or scratch pool media is assumed to be empty or to contain invalid data. Media in free or scratch pools are available for use by any application. Administrators must provide an adequate supply of media in the free or scratch pool to satisfy mount requests. When TSM needs media, RSM or TRMM obtains it from the import pool. RSM or TRMM manages the media from that point. Import Pool This pool is used to track previously labeled media that is recognized by a particular application in the RSM-controlled storage management system. Media in import pools can be allocated by any application, including the application that originally labeled it. To safeguard data, it is recommended that administrators move these volumes to the application-specific import pool. You can use the Properties dialog to view the attributes of any volume in the Import Pool. Unrecognized Pool This pool is used to track previously labeled media that is not recognized by any application in the RSM or TRMM-controlled storage management system. Unrecognized Pool volumes cannot be allocated by any application, and require administrator intervention to correct labeling or program errors. Normally, volumes in the Unrecognized Pool would be moved to the Free Pool for later application use. Labeling Media for the RSM or TRMM-Managed Device Administrators need not concern themselves with tape-labeling issues because RSM or TRMM automatically labels tapes. However, an RSM or TRMM administrator must ensure that an adequate supply of blank tapes are available in the free (scratch) pool for the configured type of media. Checking Media into RSM or TRMM-Managed Automated Library Devices Administrators need not concern themselves with library check-in procedures because RSM or TRMM-managed media is not tracked in the TSM volume inventory. Using DRM to Manage the Data on RSM or TRMM-Managed Media Administrators protecting their data with DRM can exploit the benefits of RSM or TRMM. You can use the MOVE DRMEDIA command to issue an operator request to remove the media from the library. For more information, see Chapter 22, Using Tivoli Disaster Recovery Manager. Defining RSM or TRMM Libraries Using Tivoli Storage Manager Commands
3 of 4
6/18/2013 6:04 PM
https://oit.wvu.edu/systems/files/tsm/4.1/wnt/guide/anrwgd76.htm#HDRMEDMANREM
The following example defines an RSM or TRMM library for an 8mm autochanger device containing two drives: 1. Define a library for the RSM or TRMM-managed device. For example:
define library astro libtype=rsm mediatype="8mm AME"
Notes: 1. Specify the library type as libtype=rsm for both RSM or TRMM. 2. Enclose the media type within quotation marks if it contains embedded blanks. 2. Define a device class for the RSM or TRMM library with a device type of GENERICTAPE. The MOUNTLIMIT parameter specifies the number of drives in the library device. Note: For storage environments in which devices are shared across applications, MOUNTRETENTION and MOUNTWAIT settings must be carefully considered. These parameters determine how long an idle volume remains in a drive and the timeout value for mount requests. Because RSM or TRMM will not dismount an allocated drive to satisfy pending requests, you must tune these parameters to satisfy competing mount requests while maintaining optimal system performance.
define devclass 8MMCLASS1 devtype=generictape library=rsmlib format=drive mountretention=5 mountwait=10 mountlimit=2
Migrating Media from Tivoli Storage Manager Control to RSM or TRMM Control
We strongly recommend that you not migrate media from TSM to RSM or TRMM. Instead, use RSM or TRMM on a new TSM configuration or when defining RSM or TRMM supported devices to TSM.
4 of 4
6/18/2013 6:04 PM