Library and Drive Configuration

Topics | How To | Troubleshoot | Related Topics


Overview

Device Detection

Configuration

Validating Drives in a Library

Migrating Tape Library to a New MediaAgent

Discovering Media

Use QProfile Utility to Display Drive Utilization or Library Job Details


Overview

You can open the Library and Drive Configuration window from the CommCell Console. You can access this window from CommCell Console of the Control Panel.

The Library and Drive Configuration window is used to perform the following operations on all supported libraries in the selected MediaAgents.

Understanding the Library and Drive Configuration Window

The Library and Drive Configuration window displays several tabs. Each of these tabs can are used for distinct purposes as described in the following sections.

Libraries

The Libraries tab displays the configured devices such as the libraries, library controllers, drives and drives controllers. This view provides a physical view of a library and its drive along with information on the library and drive controllers accessing them. This view facilitates faster browsing of devices especially in a SAN environment and for libraries with dual HBA cards.

The image on the right highlights some of the important information displayed in the Libraries tab.

   

Data Paths

The Data Paths tab displays a detailed view of a library and its drives which includes all the master drive pools and drive pools that are configured to access them. Once configured the window displays all the logical data paths to the devices.

The image on the right highlights some of the important information displayed in the Data Paths tab.

   

Copy Manager

The Copy Manager tab allows you to detect and configure all eligible copy manager devices. Once configured the Copy Manager Devices are displayed in the window.

The image on the right highlights some of the important information displayed in the Copy Manager tab.

 
   

Shared Disk Device

The Shared Disk Device tab allows you to detect and configure the shared disk devices in the CommCell. Once configured the configured devices are displayed in the Window.

The image on the right highlights some of the important information displayed in the Shared Disk Device tab.

 
   

The following table lists the levels in the Data Paths tab tree, together with the information that is presented at each level.

Level in Tree

Information Displayed

Details

Library (tape or optical libraries only) library name The default library name includes the library manufacturer and model.
media changer SCSI ID Complete SCSI ID (including SCSI card number, bus, target, and LUN) of the library’s media changer.
associated MediaAgent The MediaAgent that controls the media changer in the library.
configuration and detection status See Detection and Configuration for detailed information.
Master Drive Pool (tape or optical libraries only) master drive pool name  
configuration status See Detection and Configuration for detailed information.
Drive Pool (tape or optical libraries only) drive pool name  
associated MediaAgent The MediaAgent that controls the drives belonging to this drive pool.
Drive (tape or optical libraries only) physical location The number by which the library identifies the drive internally.
drive name The default drive name includes the drive manufacturer and model.
SCSI ID Complete SCSI ID (including SCSI card number, bus, target, and LUN) of the drive.
configuration and detection status See Detection and Configuration for detailed information.
Library (disk) library name  
associated MediaAgent The MediaAgent that control the disk library.
Mount Path (disk only) mount path number The number by which the MediaAgent identifies the mount path, internally.
path File system path for disk storage.

 

Understanding SCSI Mappings in the Library and Drive Configuration Window

In order to understand the information  that follows, you should be able to differentiate between the following items of drive-related information:
  • Drive numbers

    Libraries with multiple drives, number the drives, based on its physical location. (drive slots) This is used by the MediaAgent for internal identification. Different libraries follow different conventions; drives may be numbered from left to right or top to bottom, physically labeled on the outside of the library, etc. See the library’s vendor documentation for the numbering conventions used.

  • SCSI address

    This is the complete SCSI address (including bus, target, logical unit number (LUN) and PCI port number) through which the MediaAgent attempts to access a device.

  • Drive name

    The MediaAgent initially assigns a drive name which is derived from the drive manufacturer and model.

    You can change the name of a drive by providing an alias at any point. We recommend that you give each drive a descriptive name, for easier system administration.

The sample image on the right shows each of these items as it appears in the Library and Drive Configuration window.

Although the library’s display of the drive numbers may start with a number other than 1 (e.g., 0), the MediaAgent always starts numbering physical locations within a library from 1.

Ensure that the actual SCSI numbers and drive numbers in the library correspond to the SCSI numbers and drive numbers displayed for the library in the Library and Drive Configuration window. If you are not sure, or if there is a mismatch, run the exhaustive detection process. For information on performing exhaustive detection on libraries and drives, see Detect Devices Using Exhaustive Detection.


Device Detection

Detection is the process by which the selected set of MediaAgents, on which the detection process is run, establishes hardware communications with storage devices. Device detection is of two types; Detection, and Exhaustive Detection.

Detection

When a device has detect success status, it indicates that the system has all of the information necessary to use the device. Note that the system only detects devices for which device drivers are loaded. A device may also have the following status:

See Detect Devices for step-by-step instructions.

Note that some devices (e.g., the library associated with a stand-alone drive) have no detection status, since they are virtual entities and as such have no hardware components that can be detected.

On AIX MediaAgents, the presence of a number of SCSI adaptors may result in slowing down the detection process. If you know that some of these adaptors are not required by the MediaAgent you can skip them during the detection process. See Device Detection on AIX MediaAgent is Slow for more information.

Exhaustive Detection

Exhaustive detection is a process of associating drive numbers to its correct SCSI address. This is done by mounting a media to each of the drives in the library to obtain the drive’s SCSI address. The following icons are displayed in the Library and Drive Configuration window, depending on whether devices were successfully identified:

This icon is displayed for libraries and drives that were successfully identified during the exhaustive detection process. This indicates that the devices were successfully detected but not configured. (all configured devices have no icons.)
This icon is displayed for drive slots that are either empty, not detected or cannot be detected on the selected MediaAgent
This icon indicates that the exhaustive detection option was not selected and hence the detection process has performed a SCSI detect of the devices and made a best guess by associating drives and libraries to arrive at a tree structure.

We strongly recommend that you perform an exhaustive detection of the devices the first time you configure the libraries and drives.  When you start the exhaustive detection operation, the system will detect all the libraries (and drives) attached to selected MediaAgent(s). See Detect Devices Using Exhaustive Detection on all Devices Controlled by the MediaAgent(s) for step-by-step instructions.

This process attempts to mount a media in each of the selected drives to determine the drive numbers to its correct SCSI address. Due to the nature of this operation and depending on the number of drives, the time it takes to complete this operation may vary.

This procedure cannot be used for detecting stand-alone drives.

After the initial configuration, exhaustive detection can be performed at the Library/Drive/Library Controller levels, in the following situations:

If the library and drive configuration has changed extensively and the library does not support the drive identifiers then perform the operation at the library level; for minor changes at the drive level, perform the operation at the drive level. See Detect Devices Using Exhaustive Detection on a Specific Library/Drive/Library Controller for step-by-step instructions.

Detection for libraries that support SCSI 3 drive identification information

If the library supports SCSI 3 the library can be configured without performing exhaustive detection.

To verify whether the library supports SCSI 3, run the ScanScsiTool.exe from the command prompt.

This tool is available in the following locations:

If SCSI 3 is supported, the Drive Identifiers will be displayed under the Library Information. You will notice that when SCSI 3 is present, a regular detection (as opposed to an exhaustive detection) will display the yellow question mark icon in the Library and Drive Configuration window, when the devices were successfully identified.

Configuration

Configuration is the process by which the MediaAgent software collects the information that is needed for software support of a device. This process must be performed in the Library and Drive Configuration window.

When a device has a configured status, it indicates that the MediaAgent  has all of the information necessary to use the device.

If you have to share the same physical library between multiple CommCells, the library needs to be virtualized so that one virtual partition is assigned to a given CommCell. This can be achieved using library vendor provided options.

Configuring Libraries and Drives from the Command Line using Scanscsitool

The Scanscsitool can be used to configure Shared Disk and tape libraries from command line. The following section describes the command line and the option available to this tool:

To configure tape libraries:

  1. From the command prompt, navigate to <Software_Installation_Directory>\Base folder.
  2. Run the following command:

    Usage:

    C:\Program Files\Company\Software\Base> ScanScsiTool.exe [option1|option2|...]

To create Shared Disk Library:

  1. From the command prompt, navigate to <Software_Installation_Directory>\Base folder.
  2. Run the following command:

    Usage:

    ScanSCSITool -h <MediaAgent Name> -a <Magnetic_Library_Name> -f <Mount Path>

    For Windows, you can also provide UNC Path when creating a shared disk library:

    ScanSCSITool -h <MediaAgent Name> -a <Magnetic_Library_Name> -useUNC -f <UNC Path> -u <UserName> -p <Password>

    Example:

    C:\Program Files\Company\Software\Base>scanscsitool -h giant -a "SCSIMagLib" -f "D:\0113\Maglib_mountpath"

    C:\Program Files\Company\Software\Base>scanscsitool -h giant -a "SCSIMagLib" -useUNC -f "\\scorpio\D\01132011\Magli_mountpath" -u scorpio\administrator -p password1

    Scanscsi tool is used to create a shared disk library with one MediaAgent. To share the device with multiple MediaAgents, see Configure Multiple MediaAgents for a Static Shared Disk Device for step-by-step instruction.

Options:

Host Options:

-h<hostname> MediaAgent Name
-i<instanceName> Instance Name

Auto Config options for MediaAgent (with '-h' option):

-n<libraryName> Library Alias Name, if set, only configure the matched library
-l<libraryID> Library ID, if libraryID = 0, all detected libraries will be configured
-s<libSerial#> Library serial number, if not set, all detected libraries will be configured
-a<magLibraryName> Disk Library Alias Name, if set, only configure the matched disk library
-m<magLibraryId> Disk Library ID, if not set, a new Disk Library will be configured
-f<mountpath> Mount path
-u<username> User name for network mount path
-p<password> Password for network mount path
-useUNC To use UNC Path as  mount path (For Windows only)

Validating Drives in a Library

When the validation process is performed from the Library and Drive Configuration window, the system identifies the drives in the library. During the validation process, for each drive, the system randomly picks up a media from one of the slots in the library and uses it to validate the drives. Every drive may use the same or a different media, depending on the randomization. Drive validation can be performed from the library, master drive pool, drive pool or from the individual drive.

Drive validation is not supported for optical libraries and libraries with WORM media.

Another form of drive validation can be performed from the CommCell Console. See Validate Drive for more details.


Migrating Tape Library to a New MediaAgent

When tape library has been moved to the new MediaAgent, use the following steps to migrate the tape library to a new MediaAgent.

  1. From the CommCell Console, click the Tools menu and then click Control Panel.
  2. From the Control Panel, double-click the Library & Drive Configuration.
  3. From the Select MediaAgents dialog box, select the following:
  4. Click OK.
  5. Once you attach the library to the new MediaAgent, use the steps described in Detect Devices to detect devices for new MediaAgent.
  6. For existing MediaAgent the library will appear as configured.

    Use the steps described in Deconfigure Libraries to deconfigure the library. Once deconfigured the status of the library appear as not configured.

    Use the steps described in Delete Deconfigured Libraries to delete the library.

  7. To use the new Tape library, change the data path on the Storage Policy Copy which was previously used by existing library.

    See Change Data Path on Storage Policy Copy for step-by-step instructions.


Discovering Media

Before using a new media, the system must collect certain information about it through a process known as discovery. When a media has been discovered its information is entered into the CommServe database. Media can be discovered from both the Library and Drive Configuration window and the CommCell Browser. For comprehensive information on discovering media, see Discover Media.


Use QProfile Utility to Display Drive Utilization or Library Job Details

The QProfile utility in the Resource Pack can be used to show the drive utilization or attempts and failures of library jobs per a given interval. This utility will generate a report of the jobs associated with library jobs for a given time period. To obtain additional details regarding the given jobs, select the Details check box.


Back to Top