1 2 Previous Next 15 Replies Latest reply on Mar 22, 2011 8:12 AM by 560551 Go to original post
      • 15. Re: Get file from TSM with RMAN
        560551
        Hi All

        I put here a file requiered before:

        El fichero /opt/tivoli/tsm/client/oracle/bin64/tdpo.opt

        ***************************************************************************
        * IBM Tivoli Storage Manager for Databases
        * Data Protection for Oracle
        *
        * Sample tdpo.opt for the LinuxAMD64 Data Protection for Oracle
        *********************************************************************

        DSMI_ORC_CONFIG /opt/tivoli/tsm/client/oracle/bin64/dsm.opt
        DSMI_LOG /opt/tivoli/tsm/client/oracle/bin64

        TDPO_FS /oracle_diaria
        TDPO_NODE host_oracle
        TDPO_OWNER oracle
        TDPO_PSWDPATH /opt/tivoli/tsm/client/oracle/bin64

        *TDPO_DATE_FMT      1
        *TDPO_NUM_FMT       1
        *TDPO_TIME_FMT      1

        *TDPO_MGMT_CLASS_2   mgmtclass2
        *TDPO_MGMT_CLASS_3   mgmtclass3
        *TDPO_MGMT_CLASS_4   mgmtclass4

        * 03/03/2011 ISG Agregado para obtener trazas del proceso de restore
        tdpo_trace_flags orclevel0 orclevel1 orclevel2 orcbuff
        tdpo_trace_file /tmp/tdpo.trc

        And the trace file:

        03/21/2011 19:25:32.946 [026550] [1512099008] : get2.cpp ( 252): sbtread2(): Enter
        03/21/2011 19:25:32.946 [026550] [1512099008] : get2.cpp ( 292): sbtread2(): Calling DSMGETDATA(). dsmHandle = 1
        03/21/2011 19:25:32.953 [026550] [1512099008] : get2.cpp ( 373): sbtread2(): Return from DSMGETDATA() with 262144 byte data buffer.
        03/21/2011 19:25:32.953 [026550] [1512099008] : get2.cpp ( 387): sbtread2(): Buffers received from TSM = 25400.
        03/21/2011 19:25:32.953 [026550] [1512099008] : get2.cpp ( 390): sbtread2(): Bytes received from TSM = 6658457600.
        03/21/2011 19:25:32.953 [026550] [1512099008] : get2.cpp ( 397): sbtread2(): Exit - OK

        03/21/2011 19:25:32.954 [026550] [1512099008] : get2.cpp ( 252): sbtread2(): Enter
        03/21/2011 19:25:32.954 [026550] [1512099008] : get2.cpp ( 292): sbtread2(): Calling DSMGETDATA(). dsmHandle = 1
        03/21/2011 19:25:32.962 [026550] [1512099008] : get2.cpp ( 373): sbtread2(): Return from DSMGETDATA() with 262144 byte data buffer.
        03/21/2011 19:25:32.962 [026550] [1512099008] : get2.cpp ( 387): sbtread2(): Buffers received from TSM = 25401.
        03/21/2011 19:25:32.962 [026550] [1512099008] : get2.cpp ( 390): sbtread2(): Bytes received from TSM = 6658719744.
        03/21/2011 19:25:32.962 [026550] [1512099008] : get2.cpp ( 397): sbtread2(): Exit - OK

        03/21/2011 19:25:32.964 [026550] [1512099008] : get2.cpp ( 252): sbtread2(): Enter
        03/21/2011 19:25:32.965 [026550] [1512099008] : get2.cpp ( 292): sbtread2(): Calling DSMGETDATA(). dsmHandle = 1
        03/21/2011 19:25:32.969 [026550] [1512099008] : get2.cpp ( 373): sbtread2(): Return from DSMGETDATA() with 262144 byte data buffer.
        03/21/2011 19:25:32.969 [026550] [1512099008] : get2.cpp ( 387): sbtread2(): Buffers received from TSM = 25402.
        03/21/2011 19:25:32.969 [026550] [1512099008] : get2.cpp ( 390): sbtread2(): Bytes received from TSM = 6658981888.
        03/21/2011 19:25:32.969 [026550] [1512099008] : get2.cpp ( 397): sbtread2(): Exit - OK

        03/21/2011 19:28:59.440 [026550] [1512099008] : get2.cpp ( 252): sbtread2(): Enter
        03/21/2011 19:28:59.440 [026550] [1512099008] : get2.cpp ( 292): sbtread2(): Calling DSMGETDATA(). dsmHandle = 1
        03/21/2011 19:29:01.803 [026550] [1512099008] : get2.cpp ( 314): sbtread2(): 'ANS1017E (RC-50) Session rejected: TCP/IP connection failure
        '
        03/21/2011 19:29:01.803 [026550] [1512099008] : get2.cpp ( 320): sbtread2(): Exit DSMGETDATA() failed. dsmHandle = 1, rc = -50

        03/21/2011 19:29:02.506 [026550] [1512099008] : error2.cpp ( 154): sbterror(): Enter
        03/21/2011 19:29:02.506 [026550] [1512099008] : error2.cpp ( 180): sbterror(): Error Code = 7501, Native Message = 'ANS1017E (RC-50) Session rejected: TCP/IP connection failure
        ', Unicode Message = '<NULL>'
        03/21/2011 19:29:02.506 [026550] [1512099008] : error2.cpp ( 190): sbterror(): Exit - OK

        03/21/2011 19:29:02.507 [026550] [1512099008] : get2.cpp ( 252): sbtread2(): Enter
        03/21/2011 19:29:02.507 [026550] [1512099008] : get2.cpp ( 292): sbtread2(): Calling DSMGETDATA(). dsmHandle = 1
        03/21/2011 19:29:02.508 [026550] [1512099008] : get2.cpp ( 314): sbtread2(): 'ANS1017E (RC-50) Session rejected: TCP/IP connection failure
        '
        03/21/2011 19:29:02.508 [026550] [1512099008] : get2.cpp ( 320): sbtread2(): Exit DSMGETDATA() failed. dsmHandle = 1, rc = -50

        03/21/2011 19:29:02.508 [026550] [1512099008] : error2.cpp ( 154): sbterror(): Enter
        03/21/2011 19:29:02.508 [026550] [1512099008] : error2.cpp ( 180): sbterror(): Error Code = 7501, Native Message = 'ANS1017E (RC-50) Session rejected: TCP/IP connection failure
        ', Unicode Message = '<NULL>'
        03/21/2011 19:29:02.508 [026550] [1512099008] : error2.cpp ( 190): sbterror(): Exit - OK

        03/21/2011 19:29:02.509 [026550] [1512099008] : term2.cpp ( 278): sbtclose2(): Enter
        03/21/2011 19:29:02.509 [026550] [1512099008] : term2.cpp ( 889): closeGet(): Enter
        03/21/2011 19:29:02.509 [026550] [1512099008] : term2.cpp ( 893): closeGet(): Calling DSMENDGETOBJ(). dsmHandle = 1
        03/21/2011 19:29:02.509 [026550] [1512099008] : term2.cpp ( 921): closeGet(): Calling DSMENDGETDATA(). dsmHandle = 1
        03/21/2011 19:29:02.509 [026550] [1512099008] : term2.cpp ( 954): closeGet(): Exit - OK

        03/21/2011 19:29:02.678 [026550] [1512099008] : term2.cpp ( 512): sbtclose2(): ANU2527I Restore details for backup piece /oracle_diaria//usm7k0oh_7_1. Total bytes received: 6658981888. Total processing time: 00:11:06. Throughput rate: 9764.13 Kb/Sec.


        03/21/2011 19:29:02.678 [026550] [1512099008] : term2.cpp ( 579): sbtclose2(): Calling DSMTERMINATE(), dsmHandle = 1
        03/21/2011 19:29:02.678 [026550] [1512099008] : term2.cpp ( 608): sbtclose2(): Exit - OK

        03/21/2011 19:29:46.973 [026550] [1512099008] : term2.cpp ( 639): sbtend(): Enter
        03/21/2011 19:29:46.973 [026550] [1512099008] : term2.cpp ( 670): sbtend() Cleanup Query Pointer, dsmHandle = 1, bkupInfoTypeP = 0x157162c0
        03/21/2011 19:29:46.973 [026550] [1512099008] : term2.cpp ( 712): sbtend(): Calling tdpoCleanUp()
        03/21/2011 19:29:46.973 [026550] [1512099008] : utility2.cpp (1687): tdpoCleanUp(): Enter
        03/21/2011 19:29:46.973 [026550] [1512099008] : utility2.cpp (1706): tdpoCleanUp(): Oracle Thread Count = 1, state = 6
        03/21/2011 19:29:46.973 [026550] [1512099008] : utility2.cpp (1718): tdpoCleanUp(): Decrementing oracleThrdCtr
        03/21/2011 19:29:46.973 [026550] [1512099008] : utility2.cpp (1727): tdpoCleanUp(): Calling DSMCLEANUP()
        03/21/2011 19:29:47.035 [026550] [1512099008] : utility2.cpp (1734): tdpoCleanUp(): Calling nlterm()
        03/21/2011 19:29:47.035 [026550] [1512099008] : utility2.cpp (1742): tdpoCleanUp(): Calling destroyNlsGlobalObject
        03/21/2011 19:29:47.035 [026550] [1512099008] : utility2.cpp (1750): tdpoCleanUp(): Calling gDsmApiObjP->Cleanup().
        03/21/2011 19:29:47.076 [026550] [1512099008] : utility2.cpp (1758): tdpoCleanUp(): Calling FreeOrcBlock()
        03/21/2011 19:29:47.076 [026550] [1512099008] : utility2.cpp (1765): tdpoCleanUp(): Exit - Last trace for this session
        1 2 Previous Next