Results 1 to 8 of 8
  1. #1
    Newcomer
    Join Date
    May 2012
    Posts
    5
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Trouble with LANFree configuration

    Hi!
    I try to configure TSM Server with LANFree backups to IBM TS3200 tape library. TSM Server is installed on Windows 2008 R2 virtual machine, all client hosts are Oracle 5.6 machines. Here are config files for Storage Agent and backup/archive client (they are both installed on the same machine with hostname SR11, TSM Server's hostname is WIN-GB00N32B25M and it's IP added as "TSM" in /etc/hosts on the client host):

    Code:
    # cat lb.conf
    HOST[0]=5
    CHANNEL[0]=0
    ID[0]=1
    LUN[0]=1
    Code:
    # cat mt.conf
    HOST[0]=5
    CHANNEL[0]=0
    ID[0]=1
    LUN[0]=0
     
    HOST[1]=6
    CHANNEL[1]=0
    ID[1]=0
    LUN[1]=0
    Code:
    # cat dsmsta.opt
    DEVCONFIG devconfig.out
    SERVERNAME WIN-GB00N32B25M
    SANDISCOVERY ON
    Code:
    #cat devconfig.out
    SET STANAME SR11AGENT
    SET STAPASSWORD 21449f6b489d09a82439527079e64c2781
    SET STAHLADDRESS SR11
    DEFINE SERVER WIN-GB00N32B25M HLADDRESS=TSM LLADDRESS=1500 SERVERPA=2350e36a4397  8a29bc0d0d3f294e41c1f2
    Code:
    # cat dsm.opt
    SERVERNAME TSM
    Code:
    # cat dsm.sys
    SERVERNAME TSM
       NODENAME         SR11
       COMMMETHOD TCPIP
       TCPPORT 1500
    enablelanfree yes
    LANFREECommmethod TCPIP
    LANFREETCPPort 1500
    lanfreetcpserveraddress SR11
    Code:
    # cat /proc/scsi/scsi
    Attached devices:
    Host: scsi0 Channel: 02 Id: 00 Lun: 00
      Vendor: IBM      Model: ServeRAID M5015  Rev: 2.0.
      Type:   Direct-Access                    ANSI SCSI revision: 05
    Host: scsi5 Channel: 00 Id: 00 Lun: 07
      Vendor: IBM      Model: 1814      FAStT  Rev: 1065
      Type:   Direct-Access                    ANSI SCSI revision: 05
    Host: scsi5 Channel: 00 Id: 00 Lun: 08
      Vendor: IBM      Model: 1814      FAStT  Rev: 1065
      Type:   Direct-Access                    ANSI SCSI revision: 05
    Host: scsi5 Channel: 00 Id: 00 Lun: 13
      Vendor: IBM      Model: Universal Xport  Rev: 1065
      Type:   Direct-Access                    ANSI SCSI revision: 05
    Host: scsi5 Channel: 00 Id: 00 Lun: 15
      Vendor: IBM      Model: 1814      FAStT  Rev: 1065
      Type:   Direct-Access                    ANSI SCSI revision: 05
    Host: scsi5 Channel: 00 Id: 01 Lun: 00
      Vendor: IBM      Model: ULT3580-TD4      Rev: 97F2
      Type:   Sequential-Access                ANSI SCSI revision: 03
    Host: scsi5 Channel: 00 Id: 01 Lun: 01
      Vendor: IBM      Model: 3573-TL          Rev: 8.50
      Type:   Medium Changer                   ANSI SCSI revision: 05
    Host: scsi6 Channel: 00 Id: 00 Lun: 00
      Vendor: IBM      Model: ULT3580-TD4      Rev: 97F2
      Type:   Sequential-Access                ANSI SCSI revision: 03
    Host: scsi6 Channel: 00 Id: 01 Lun: 07
      Vendor: IBM      Model: 1814      FAStT  Rev: 1065
      Type:   Direct-Access                    ANSI SCSI revision: 05
    Host: scsi6 Channel: 00 Id: 01 Lun: 08
      Vendor: IBM      Model: 1814      FAStT  Rev: 1065
      Type:   Direct-Access                    ANSI SCSI revision: 05
    Host: scsi6 Channel: 00 Id: 01 Lun: 13
      Vendor: IBM      Model: Universal Xport  Rev: 1065
      Type:   Direct-Access                    ANSI SCSI revision: 05
    Host: scsi6 Channel: 00 Id: 01 Lun: 15
      Vendor: IBM      Model: 1814      FAStT  Rev: 1065
      Type:   Direct-Access                    ANSI SCSI revision: 05
    Host: scsi5 Channel: 00 Id: 02 Lun: 07
      Vendor: IBM      Model: 1814      FAStT  Rev: 1065
      Type:   Direct-Access                    ANSI SCSI revision: 05
    Host: scsi6 Channel: 00 Id: 02 Lun: 07
      Vendor: IBM      Model: 1814      FAStT  Rev: 1065
      Type:   Direct-Access                    ANSI SCSI revision: 05
    Host: scsi5 Channel: 00 Id: 02 Lun: 08
      Vendor: IBM      Model: 1814      FAStT  Rev: 1065
      Type:   Direct-Access                    ANSI SCSI revision: 05
    Host: scsi6 Channel: 00 Id: 02 Lun: 08
      Vendor: IBM      Model: 1814      FAStT  Rev: 1065
      Type:   Direct-Access                    ANSI SCSI revision: 05
    Host: scsi5 Channel: 00 Id: 02 Lun: 13
      Vendor: IBM      Model: Universal Xport  Rev: 1065
      Type:   Direct-Access                    ANSI SCSI revision: 05
    Host: scsi6 Channel: 00 Id: 02 Lun: 13
      Vendor: IBM      Model: Universal Xport  Rev: 1065
      Type:   Direct-Access                    ANSI SCSI revision: 05
    Host: scsi5 Channel: 00 Id: 02 Lun: 15
      Vendor: IBM      Model: 1814      FAStT  Rev: 1065
      Type:   Direct-Access                    ANSI SCSI revision: 05
    Host: scsi6 Channel: 00 Id: 02 Lun: 15
      Vendor: IBM      Model: 1814      FAStT  Rev: 1065
      Type:   Direct-Access                    ANSI SCSI revision: 05
    Code:
    # ./ddinfo
    there are 1 devices in lb.conf
    there are 2 devices in mt.conf
    there are 0 devices in op.conf
    Tivoli Tape Drives:
    ===================
    Index Minor Host CHN ID  LUN Type Vendor_ID Device_Serial_Number Product_ID       Rev.
    000   005   005  000 001 000 001  IBM       1310218788           ULT3580-TD4      97F2
    001   007   006  000 000 000 001  IBM       1310180093           ULT3580-TD4      97F2
    
    Tivoli Medium Changer Devices:
    ==============================
    Index Minor Host CHN ID  LUN Type Vendor_ID Device_Serial_Number Product_ID       Rev.
    000   006   005  000 001 001 008  IBM       00L4U78M0139_LL0     3573-TL          8.50
    As shown above ddinfo produces correct output by itself, but when I issue tsmscsi command, the output somehow changes:
    Code:
    # ./tsmscsi
     21 sg
    
    
    
    total 0
    lrwxrwxrwx 1 root root 8 May 11 23:16 lb0 -> /dev/sg6
    lrwxrwxrwx 1 root root 8 May 11 23:16 mt0 -> /dev/sg5
    lrwxrwxrwx 1 root root 8 May 11 23:16 mt1 -> /dev/sg7
    there are 1 devices in lb.conf
    there are 2 devices in mt.conf
    there are 0 devices in op.conf
    Open /dev/tsmscsi/lb0 failed!
    Please check this device!
    Open /dev/tsmscsi/mt0 failed!
    Please check this device!
    Open /dev/tsmscsi/mt1 failed!
    Please check this device!
    
    Tivoli Tape Drives:
    ===================
    Index Minor Host CHN ID  LUN Type Vendor_ID Device_Serial_Number Product_ID       Rev.
    
    000   000   000  000 000 000 000
    000   000   000  000 000 000 000
    
    
    Tivoli Medium Changer Devices:
    ==============================
    Index Minor Host CHN ID  LUN Type Vendor_ID Device_Serial_Number Product_ID       Rev.
    
    000   000   000  000 000 000 000
    And, then I start Storage Agent and try to backup something to the tape, backup operation takes a lot of time and then produces an error:
    Code:
    # ./dsmsta
    ANR7800I DSMSERV generated at 10:56:24 on May 12 2010.
    Tivoli Storage Manager for Linux/x86_64
    Version 6, Release 2, Level 1.0
    Licensed Materials - Property of IBM
    (C) Copyright IBM Corporation 1990, 2010.
    All rights reserved.
    U.S. Government Users Restricted Rights - Use, duplication or disclosure
    restricted by GSA ADP Schedule Contract with IBM Corporation.
    ANR7801I Subsystem process ID is 15747.
    ANR0900I Processing options file /opt/tivoli/tsm/StorageAgent/bin/dsmsta.opt.
    ANR7814I Using instance directory /opt/tivoli/tsm/StorageAgent/bin.
    ANR4726I The ICC support module has been loaded.
    ANR8285I Shared Memory driver ready for connection with clients on port 1510
    ANR8200I TCP/IP Version 4 driver ready for connection with clients on port
    1500.
    ANR0408I Session 1 started for server WIN-GB00N32B25M (Windows) (Tcp/Ip) for
    storage agent.
    ANR1811W HBAAPI returned zero FC adapters from the system.
    ANR0408I Session 2 started for server WIN-GB00N32B25M (Windows) (Tcp/Ip) for
    event logging.
    ANR0408I Session 3 started for server WIN-GB00N32B25M (Windows) (Tcp/Ip) for
    library sharing.
    ANR8920I Initialization and recovery has ended for shared library TAPE.
    ANR0409I Session 3 ended for server WIN-GB00N32B25M (Windows).
    ANR0408I Session 4 started for server WIN-GB00N32B25M (Windows) (Tcp/Ip) for
    storage agent.
    TSM:SR11AGENT>
    ANR0993I Server initialization complete.
    ANR0916I TIVOLI STORAGE MANAGER distributed by Tivoli is now ready for use.
    ANR0406I Session 8 started for node SR11 (Linux86) (Tcp/Ip 192.168.101.11(3306-
    0)).
    ANR0408I Session 9 started for server WIN-GB00N32B25M (Windows) (Tcp/Ip) for
    storage agent.
    ANR0408I Session 10 started for server WIN-GB00N32B25M (Windows) (Tcp/Ip) for
    library sharing.
    ANR0409I Session 10 ended for server WIN-GB00N32B25M (Windows).
    ANR0408I Session 11 started for server WIN-GB00N32B25M (Windows) (Tcp/Ip) for
    library sharing.
    ANR0408I Session 12 started for server WIN-GB00N32B25M (Windows) (Tcp/Ip) for
    library sharing.
    ANR0409I Session 12 ended for server WIN-GB00N32B25M (Windows).
    ANR8779E Unable to open drive /dev/tsmscsi/mt0, error number= 255.
    ANR0409I Session 11 ended for server WIN-GB00N32B25M (Windows).
    ANR1401W Mount request denied for volume 866BDXL4 - mount failed.
    ANR0408I Session 13 started for server WIN-GB00N32B25M (Windows) (Tcp/Ip) for
    library sharing.
    validate lanfree sr11 sr11agent issued in the server console says that configuration is OK.

    Please, help to make all this stuff work.

  2. #2
    Moderator Harry_Redl's Avatar
    Join Date
    Dec 2003
    Location
    Czech Republic
    Posts
    2,220
    Thanks
    3
    Thanked 100 Times in 99 Posts

    Default

    Hi,

    seems you are using TSM device driver (bundled with the TSM) and IBM devices (TS3200 and 3580-TD4 drives). What you need is IBM device driver - it can be found here:
    http://www-933.ibm.com/support/fixcentral/
    More information about supported devices and required drivers is here:
    http://www-01.ibm.com/software/sysmg...XHPSUNWIN.html
    http://www-01.ibm.com/software/sysmg...for_Linux.html


    Harry

  3. #3
    Newcomer
    Join Date
    May 2012
    Posts
    5
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Hi, Harry
    Thank you for your answer. I installed lin_tape drivers version 1.61 on the client machine, lin_tape module is loaded and lin_taped daemon is running.
    Maybe I need some additional configuration in Storage Agent to make it use this drivers instead of built-in drivers? Also why ddinfo command in tsmscsi script shows incorrect output, but right after executing it ddinfo command by itself works well?

  4. #4
    Newcomer
    Join Date
    May 2012
    Posts
    5
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    I've added sleep 10 before ./ddinfo into tsmsci script and it now works. But I still don't know why agent doesn't work

  5. #5
    Moderator Harry_Redl's Avatar
    Join Date
    Dec 2003
    Location
    Czech Republic
    Posts
    2,220
    Thanks
    3
    Thanked 100 Times in 99 Posts

    Default

    Hi,

    you do not need tsmscsi at all - all your devices should be /dev/IBMtapeX and /dev/IBMchangerY (created by lin_taped daemon).
    These paths should be defined on the TSM server - you need paths from the TSM server to the library (lbA.B.C.D) and all drives (mtX.Y.Z.U) and from the storage agent to the drives only (/dev/IBMtapeX).

    Should do the trick.

    Harry

  6. The Following User Says Thank You to Harry_Redl For This Useful Post:

    XoJIoD (05-14-2012)

  7. #6
    Newcomer
    Join Date
    May 2012
    Posts
    5
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Thank you once again. I've changed path definition from agent to drives from /dev/tsmsci/mt* to /dev/IBMtape* and I receive another error:
    ANR8965W The server is unable to obtain the serial number of the SCSI device SECOND.

  8. #7
    Moderator Harry_Redl's Avatar
    Join Date
    Dec 2003
    Location
    Czech Republic
    Posts
    2,220
    Thanks
    3
    Thanked 100 Times in 99 Posts

    Default

    Hi,

    it is possible you have defined the paths incorrectly (device file points to the other drive). Serial numbers can be found using "cat /proc/scsi/IBMtape"
    Or you can enable SANDISCOVERY ON in the dsmsta.opt
    Can I see output from the TSM server activity log, the /proc/scsi/IBMtape file, path definitions and drive definitions (serial numbers), log from the dsmsta (run on the foreground)?

    Thanks

    Harry

  9. The Following User Says Thank You to Harry_Redl For This Useful Post:

    XoJIoD (05-14-2012)

  10. #8
    Newcomer
    Join Date
    May 2012
    Posts
    5
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Yes, my bad, the SECOND drive was /dev/IBMtape0, not /dev/IBMtape1. Thank you so much, Harry, finally it works!

Similar Threads

  1. VMWare backup to Lanfree or not to Lanfree
    By s_valtchanov in forum VMWare / Virtual Machine
    Replies: 2
    Last Post: 11-02-2011, 04:55 AM
  2. lanfree configuration
    By wesd in forum TSM Client
    Replies: 3
    Last Post: 07-10-2009, 01:15 AM
  3. Lanfree backup configuration
    By adsm04 in forum TSM Client
    Replies: 2
    Last Post: 05-21-2009, 12:13 PM
  4. TDPO for AIX configuration trouble
    By aseryz in forum TDP/Application Layer Backup
    Replies: 2
    Last Post: 05-13-2005, 11:08 AM
  5. Lanfree TDP for SQL backups, configuration and performance question
    By scotteiktsm in forum Exchange / Outlook
    Replies: 3
    Last Post: 03-25-2003, 01:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •