Loading...

Import Media - Configuration

Table of Contents

Import Media

  • Do not open the library door while media are mounted in drives within the library if you are not using the mail slot. Some library models (for example, ATL 200, ATL 500) unmount all media when the door is opened, even those media that are in active use. This might cause problems with the database. In addition, it can cause any jobs that are running to fail.
  • Inserting media in and closing the mail slots of some libraries might trigger a full inventory operation,rather than an inventory update.

  1. From the CommCell Browser, right-click the library (or the scratch pool of the library) into which you want to import media, and then click Import Media from the short-cut menu.

    All the newly imported media will be automatically moved to the default scratch pool, if the Enable Auto-Discover Media into default scratch pool option is enabled in the Media tab of Library Properties dialog box, . Use the Move Media option to move the media to another scratch pool. If you have cleaning media make sure that you move it to the Cleaning Media pool.

  2. An Import Media prompt appears, advising you to do one of the following:
    • If you are importing through a mail slot, insert one or more media into the mail slot and wait for them to be moved to storage slots. Do not click OK until all of the imported media have been moved to storage slots.

      If you click OK in the Insert Media prompt before the media are moved to storage slots, the MediaAgent will not discover the media. For information on discovering media, see Discover Media from the CommCell Console.

      After all media are transferred to storage slots, click OK in the Import Media prompt.

    • If you are inserting media directly, open the library door, insert media into storage slots, and then close the door. Click OK in the Import Media prompt.
  3. A warning message is displayed to move cleaning media to cleaning media pool. Click OK.
  4. If the imported media were previously discovered, their barcodes are displayed in the library inventory in the right pane of the CommCell Browser. Otherwise, the media must be discovered.
    • If you imported undiscovered media through the mail slot (and you did not click OK in the Insert Media prompt until the media were moved to storage slots), the MediaAgent automatically discovers the media. In the Select Media Type dialog box that appears, select the hardware type of the new media from the Media Type to be Imported list and the scratch pool to which you want the media assigned from the Destination Scratch Pool list. The total number of undiscovered media available in the library is displayed in the No. of media in Free Media Pool field. Specify the number of media you would like to discover in the No. of media to be discovered field. Click OK.
    • If you opened the library door and inserted media directly, or if you imported through a mail slot and clicked OK before the media were moved to storage slots, you must manually discover media as described in Discover Media from the CommCell Console.

Enable Automatic Media Discover During Library Configuration

  1. Display the Expert Storage Configuration window.
  2. Detect the devices. Use Device Detection as required.
  3. Configure the library as described in Configuring Devices.

    During the configuration process,  if the library has a barcode reader, the Discover Media Options dialog box appears.

  4. Do either of the following:
    • To automatically discover the media in the library, select the default media type and then click Yes.
    • To manually discover the media, click No. See Discover Media from the CommCell Console for instructions about how to discover media in a library manually.
  5. Ensure that media is discovered before using the library for a data protection operations.

    If the library does not have a barcode reader, another Discover Media Options dialog box appears.

  6. Select the correct media type that is available in the library.
  7. Click OK.

Enable or Disable Automatic Media Discovery

  1. From the CommCell Browser, right-click the appropriate library, and then click Properties.
  2. Click the Media Usage tab.
  3. In the Auto-Discovery of Media area, select the Enable Auto-Discovery of Media into default scratch pool check box. (Clear this check box to disable this option.)
  4. Select the default media type available in the library from the Default Media Type list.

    The media that are available in a library must be compatible with the drives that are attached to the library.

  5. Click OK.

    When you subsequently import media, the imported media is automatically moved to the default scratch pool.

Discover Media from the CommCell Console

You can use this procedure to:

  • Discover all media within a library
  • Discover a partial set of media within a library
  1. From the CommCell Browser, expand to Storage Resources | Libraries.
  2. Right-click the appropriate library, and then click Discover Media.

    If one or more new media are discovered, the Discover New Media dialog box appears.

  3. Select the hardware type of the new media from the New Media Type list.
  4. Select the scratch pool to which you want the media assigned from the Destination Scratch Pool list.

    The total number of undiscovered media available in the library is displayed in the No. of media in Free Media Pool field.

  5. Specify the number of media to discover in the No. of media to be discovered field.
  6. Click OK.

For an alternative method, see Discover Media from the Expert Storage Configuration Dialog Box.

Discover a Specific Media Within a Library

  1. From the CommCell Browser, expand to Storage Resources | Libraries | <Library>.
  2. Click Media in Library.

    All of the media that are available in the library appear in the right-pane.

  3. Right-click the undiscovered media, and then click Discover.
  4. In the Discover New Media dialog box that appears, select the Media Type and Scratch Pool where the media must be moved.
  5. Click OK.

    The media is discovered and assigned to the specified scratch pool.

Prevent Import of Exported Media After Resetting a Library

For libraries with an I/E Port, media is imported back into the library after a reset operation. However, if you can prevent exported media from being reimported to the library. If the library is shared amongst multiple MediaAgents, all of the MediaAgent computers are affected.

  1. From the CommCell Browser, expand to Storage Resources | Libraries.
  2. Right-click the appropriate library, and then click Properties.
  3. Click the Advanced tab.
  4. Click Add.
  5. In the Configuration Parameters section, select the Do not import media from I/E port back to the slots check box.
  6. Click OK.

Import Outside Media Only

If you have media that are waiting in the I/E Port to be exported from the library, you can prevent them from being reimported when outside media are imported into the library.

  1. On the ribbon in the CommCell Console, click the Storage tab, and then click Media Management.

    The Media Management Configuration dialog box appears.

  2. On the Service Configuration tab, set the Import only media that were not moved to IE Port as part of export operation option to 1.
  3. Click OK.

    The next time you import outside media, any media that are waiting in the I/E Port for export remain in the I/E Port.

Importing Specific Media To Specific Slots

By default, when media is imported in a library, it is assigned to the available storage slots in a library. However, you can select media and import it to specific storage slots.

You can import specific media to a specific slot from the CommCell Console or by using the Command Line interface. For more information on importing specific media to a specific slot using command line, see Command Line Interface - qlibrary import.

Procedure

  1. From the CommCell Browser, expand to Storage Resources > Libraries> appropriate tape library > I/E Ports.
  2. Right-click the appropriate media that you want to import and click Import.

    To select multiple media, hold down the Ctrl key and click on the media.

  3. In the Import Media dialog box, select the specific storage slots from the list of Available Slots and click Add to add a media or click Add All to add multiple media.
  4. Click OK to import media to the specific slots.