Oracle Solaris operating systems

Reinstalling or upgrading the Tivoli Storage Manager device driver

When the Tivoli® Storage Manager device driver is reinstalled, upgraded, or reloaded, or when changes are made to add a device, it is possible for the drive or library device name to change.

About this task

For example, a DLT drive with the device name /dev/rmt/3mt may change to /dev/rmt/5mt. Tivoli Storage Manager SAN Device Mapping will automatically update device special file names after the server is restarted if the feature is supported and the device has been defined to the server. Since the SAN Device Mapping is only supported by certain operating systems and HBAs, check the Tivoli Storage Manager Supported HBAs for San Device Mapping Technote at http://www.ibm.com/software/sysmgmt/products/support/IBM_TSM_Supported_Devices_for_AIXHPSUNWIN.html before reinstalling or upgrading the Tivoli Storage Manager device driver. If the support is not available for your system, the device special file name will have to be updated manually. Complete the following steps to manually update device special file names.
  1. Save the old device name. If the device is configured through autoconf, the device information has already been saved in the device information files--mtinfo, lbinfo, and opinfo. If the Tivoli Storage Manager device driver is loaded manually through the add_drv command, ensure that all devices controlled by the Tivoli Storage Manager device driver are not being used. Run TSMDLIST in the /opt/tivoli/tsm/devices/bin directory to collect device information into mtinfo, lbinfo, and opinfo. Rename the files using the following commands:
    • mv /opt/tivoli/tsm/devices/bin/mtinfo /opt/tivoli/tsm/devices/bin/mtinfo.org
    • mv /opt/tivoli/tsm/devices/bin/lbinfo /opt/tivoli/tsm/devices/bin/lbinfo.org
    • mv /opt/tivoli/tsm/devices/bin/opinfo /opt/tivoli/tsm/devices/bin/opinfo.org
  2. Once the Tivoli Storage Manager device driver has been reinstalled or upgraded, or the device configuration file has been updated, reconfigure the device through autoconf using the following command:
    /opt/tivoli/tsm/devices/bin/autoconf
  3. Compare the device names in the old device information files with those in the new device information files.
    If the new device name in the Special File column is different from the previous name, you will need to update the device path and provide the new device name for the DEVICE parameter. The following example shows the device name for the HP Ultrium 3 drive has been changed from /dev/rmt/0mt to /dev/rmt/1mt after a new device, Sony SDX-550V, was added to the tape configuration file:
    #cat /opt/tivoli/tsm/devices/bin/mtinfo.org 
    Inst Special File Vendor Product        Serial     Tar- LUN  World Wide Name  Firm
                                                       get                        ware
    ---- ------------ ------ -------------- -—----—--- ---  ---- ---------------- ----
    1    /dev/rmt/0mt HP     Ultrium 3-SCSI HU1044827C 1    0    50060b00002c203e G54W
    
    #cat /opt/tivoli/tsm/devices/bin/mtinfo
    Inst Special File Vendor Product        Serial     Tar- LUN  World Wide Name  Firm
                                                       get                        ware
    ---- ------------ ------ -------------- -—----—--- --–  ---- ---------------- ----
    4    /dev/rmt/0mt SONY   SDX-550V       0001000052 4    0    08004606c00f4274 0100
    1    /dev/rmt/1mt HP     Ultrium 3-SCSI HU1044827C 1    0    50060b00002c203e G54W
  4. Start the Tivoli Storage Manager server, and update the path for the device. If library device names are not updated, library initialization will fail. Drive will be taken offline if their device paths are not updated. Use the following commands to update the paths.
    For a drive:
    UPDate PATH source_name destination_name SRCType=SERVer DESTType=DRive LIBRary=library_name DEVIce=new_drive_name
    For a library:
    UPDate PATH source_name destination_name SRCType=SERVer DESTType=LIBRary DEVIce=new_library_name