Library and Drive Configuration - FAQ

Table of Contents

How to migrate a 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. On the ribbon in the CommCell Console, click the Storage tab, and then click Library and Drive.
  2. From the Select MediaAgents dialog box, select the following:
    1. From the Available MediaAgents list box, select the MediaAgent(s) that is attached to the tape library.
    2. Click Add >> to move the MediaAgent(s) to the Selected MediaAgents list box.
    3. Click OK.
  3. Click OK.
  4. Once you attach the library to the new MediaAgent, use the steps described in Device Detection to detect devices for new MediaAgent.
  5. 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.

  6. 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.

Can I perform exhaustive detection for detecting stand-alone drives?

No. Exhaustive detection procedure is not supported for detecting stand-alone drive.

Can I validate drive for libraries with WORM media/NAS File server?

No. Drive validation is not supported for libraries with WORM media and libraries attached to a NAS File Server.

How to view 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.

How to configure non-IBM libraries in an LPAR environment?

To configure non-IBM libraries in an LPAR environment, install the latest service pack and then follow the steps described in Unable to Detect Non-IBM Libraries on AIX procedure to detect any non-IBM libraries.

How to detect devices in Solaris?

To attach the wa drivers when the library is attached to QLOGIC FC HBA by SUN

  1. Ensure that the tape devices are visible to the Solaris kernel.

    You can do this using the following commands:

    Run cfgadm -al
    grep/look for type as tape devices

    If (cfgadm -al) displays all the devices configured on system, look for the word tape to identify tape devices.

    For example, the output of the cfgadm -al command may be as follows:

    Ap_Id Type Receptacle Occupant Condition
    c0 scsi-bus connected configured unknown
    c0::dsk/c0t0d0 disk connected configured unknown
    c0::dsk/c0t10d0 disk connected configured unknown
    c0::dsk/c0t6d0 CD-ROM connected configured unknown
    c0::dsk/c0t8d0 disk connected configured unknown
    c0::dsk/c0t9d0 disk connected configured unknown
    c3 scsi-bus connected unconfigured unknown
    c6 fc-fabric connected configured unknown
    c6::100000d08000167d tape connected configured unknown
    c6::100000d080001986 tape connected configured unknown
    c6::100000e00221b69 array-ctrl connected unconfigured unknown
    c6::100000e00221d909 disk connected unconfigured unknown
    c6::2100002037194c51 disk connected configured unknown
    c6::210000203719599e disk connected configured unknown
    c7 fc connected unconfigured unknown
    c8 fc connected unconfigured unknown

    If you do not see the devices as shown in the above example, make sure that the devices are visible to the Solaris kernel before proceeding any further.

  2. If you see the tape devices, as shown in the above example, run the following script:

    <software installation path>/WA/wa_sunqlc_add

    After running the script, you will be able detect the devices from the Library and Drive Configuration dialog box.

To attach the wa drivers when the library is attached to QLOGIC FC HBA by SUN with a storage router

  1. Ensure that the tape devices are visible to the Solaris kernel.

    You can do this using the following commands:

    cfgadm -al
    grep/look for type as array-ctrl

    For example, the output of the cfgadm -al command would be as follows:

    c6::100000e00221b691 array-ctrl  connected    unconfigured  unknown

    If you do not see the devices as shown in the above example, make sure that the devices are visible to the Solaris kernel before proceeding any further.

  2. If you see the array-ctrl as shown in the above example, you will have to add the necessary information in the following file:

    /usr/kernel/drv/wa.conf

  3. Add the necessary entries using the following pattern to add each device.

    name="wa" parent="fp" target=16 lun=0 fc-port-wwn="WWPN"

    Using the above example, it will be as follows:

    name="wa" parent="fp" target=16 lun=0 fc-portwwn="100000e00221b691"

    Add 8 entries from lun=0-7

    Example:

    name="wa" parent="fp" target=16 lun=0 fc-port-wwn="100000e00221b691";
    name="wa" parent="fp" target=16 lun=1 fc-port-wwn="100000e00221b691";
    name="wa" parent="fp" target=16 lun=2 fc-port-wwn="100000e00221b691";
    name="wa" parent="fp" target=16 lun=3 fc-port-wwn="100000e00221b691";
    name="wa" parent="fp" target=16 lun=4 fc-port-wwn="100000e00221b691";
    name="wa" parent="fp" target=16 lun=5 fc-port-wwn="100000e00221b691";
    name="wa" parent="fp" target=16 lun=6 fc-port-wwn="100000e00221b691";
    name="wa" parent="fp" target=16 lun=7 fc-port-wwn="100000e00221b691";
  4. Save the changes.
  5. Stop the services in the MediaAgent in which the entries were added.
  6. Execute the following commands to create the device nodes:

    rem_drv wa
    add_drv wa

  7. Start the services in the MediaAgent in which the entries were added.

    You will now be able detect the devices from the Library and Drive Configuration window.

To scan devices with LUNs Greater than 7

By default the MediaAgent scans for devices with LUNs 0-7. If the devices are over these values they will not be detected. Perform the following steps to correct this problem:

  1. Edit the following file:

    /usr/kernel/drv/wa.conf

  2. Add an additional line across all targets to add a specific LUN. For example, to add LUN 8 and assuming that you have one target - Target 0 - you need the following line:

    name="wa" class="scsi" target=0 lun=8;