ADSM-L

Re: [ADSM-L] API (tdpo) for linux problem !

2009-03-10 12:26:03
Subject: Re: [ADSM-L] API (tdpo) for linux problem !
From: Howard Coles <Howard.Coles AT ARDENTHEALTH DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Tue, 10 Mar 2009 11:24:22 -0500
Sorry I missed this, should have read it closer the first time.  
However, you need to alter your DSMI_ORC_CONFIG to point to the dsm.opt file 
not the tdpo.opt file they are two different animals.

Here's an example of our tdpo.opt on one box:

DSMI_ORC_CONFIG    /usr/tivoli/tsm/client/api/bin64/dsm.opt
DSMI_LOG           /usr/tivoli/tsm/client/api/bin64

TDPO_FS            db01-whse
TDPO_NODE          db01-oracle
TDPO_OWNER         oracle
TDPO_PSWDPATH      /usr/tivoli/tsm/client/oracle/bin64

The tdpo.opt file points to the dsm.opt file.

See Ya'
Howard


> -----Original Message-----
> From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf
> Of goc
> Sent: Tuesday, March 10, 2009 10:57 AM
> To: ADSM-L AT VM.MARIST DOT EDU
> Subject: Re: [ADSM-L] API (tdpo) for linux problem !
> 
> thanks, thats exactly the case ... so i'm still in the dark
> 
> # ls -lrt
> total 4028
> -r-xr-xr-x  1 root bin  2274183 Nov 28  2006 libApiTSM64.so
> -rwsr-xr-x  1 root bin  1832042 Nov 28  2006 dsmtca
> -r--r--r--  1 root bin      971 Dec  5  2006 dsm.sys.smp
> -r--r--r--  1 root bin      782 Dec  5  2006 dsm.opt.smp
> lrwxrwxrwx  1 root bin       16 Mar 10 12:59 en_US -> ../../lang/en_US
> drwxr-xr-x  2 root bin        0 Mar 10 12:59 sample
> lrwxrwxrwx  1 root root      20 Mar 10 14:11 dsm.sys ->
> ../../ba/bin/dsm.sys
> -rw-r--r--  1 root root      22 Mar 10 14:24 MMSDB_tdpo.opt
> -rw-r--r--  1 root root       0 Mar 10 16:51 dsm.opt
> [root@CLA-0(MAG_NPS) /opt/tivoli/tsm/client/api/bin64]
> 
> # ls -lrt /opt/tivoli/tsm/client/oracle/bin64/libobk.so
> -rwxr-xr-x  1 root root 575528 Mar 21  2007
> /opt/tivoli/tsm/client/oracle/bin64/libobk.so
> 
> and something "funny" -->
> 
> # ls -lrt /var/mnt/local/localimg/R_NPS6_5.30.0-base-
> 1/sets/R_NPS6_5.30.0/usr/lib64/libobk.so
> lrwxrwxrwx  1 root root 45 Mar 10 14:04
> /var/mnt/local/localimg/R_NPS6_5.30.0-base-
> 1/sets/R_NPS6_5.30.0/usr/lib64/libobk.so
> -> /opt/tivoli/tsm/client/oracle/bin64/libobk.so
> 
> 
> q: maybe somthing with permissions ?
> 
> thx.
> //
> g
> 
> On Tue, Mar 10, 2009 at 4:04 PM, Howard Coles
> <Howard.Coles AT ardenthealth DOT com> wrote:
> > Make sure you have at least a softlink of the dsm.sys in the
> api/bin64
> > directory, and the dsm.opt (real not a link) in the api/bin64
> directory,
> > and make sure you have a softlink (so that it gets updated if you
> > upgrade the client) to libobk64.so in $ORACLE_HOME/lib.
> >
> > The API has to have access to the dsm.sys file in its directory or it
> > may fail.
> >
> > See Ya'
> > Howard
> >
> >
> >> -----Original Message-----
> >> From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On
> Behalf
> >> Of goc
> >> Sent: Tuesday, March 10, 2009 8:38 AM
> >> To: ADSM-L AT VM.MARIST DOT EDU
> >> Subject: [ADSM-L] API (tdpo) for linux problem !
> >>
> >> hi all, i'm trying to configure TDPO on linux redhat, but i'm
> getting
> >> this --->
> >>
> >> [root@CLA-0(MAG_NPS) /opt/tivoli/tsm/client/oracle/bin64]
> >> # tdpoconf showenv -tdpo_opt=tdpo.opt
> >>
> >>
> >> IBM Tivoli Storage Manager for Databases:
> >> Data Protection for Oracle
> >> Version 5, Release 4, Level 1.0
> >> (C) Copyright IBM Corporation 1997, 2007. All rights reserved.
> >>
> >> ANU0156E Could not load the Tivoli Storage Manager API.
> >> [root@CLA-0(MAG_NPS) /opt/tivoli/tsm/client/oracle/bin64]
> >> #
> >>
> >> i installed API 5.4.1.0  (32 version), then API 5.4.1.0 (64 version
> >> since it says that 32 is dependency ?!?), then i installed BA Client
> >> 5.4.1.0,
> >> and then 5.4.1.0-TIV-TSMORA-LinuxX64.bin (this versions are because
> it
> >> complements the server version)
> >>
> >> the content of tdpo.opt is this (nothing special) --->
> >>
> >> DSMI_ORC_CONFIG    /opt/tivoli/tsm/client/api/bin64/MMSDB_tdpo.opt
> >> *DSMI_ORC_CONFIG    /opt/tivoli/tsm/client/api/bin/MMSDB_tdpo.opt
> >>
> >> *DSMI_LOG           <dirname>
> >>
> >> *TDPO_FS            orc9_db
> >>
> >> *TDPO_NODE          <hostname>
> >> TDPO_NODE          MMSDB_tdpo
> >>
> >> *TDPO_OWNER         <username>
> >> *TDPO_OWNER         oracle
> >>
> >> *TDPO_PSWDPATH      /usr/tivoli/tsm/client/oracle/bin64
> >> TDPO_PSWDPATH      /home/oracle
> >>
> >> TDPO_DATE_FMT      4
> >> *TDPO_NUM_FMT       1
> >> *TDPO_TIME_FMT      1
> >>
> >> *TDPO_MGMT_CLASS_2   orcbackup
> >> *TDPO_MGMT_CLASS_3   mgmtclass3
> >> *TDPO_MGMT_CLASS_4   mgmtclass4
> >>
> >> the content of  /opt/tivoli/tsm/client/api/bin/MMSDB_tdpo.opt (and
> >> /opt/tivoli/tsm/client/api/bin64/MMSDB_tdpo.opt) is --->
> >>
> >> servername mmsdb_tdpo
> >>
> >> which redirects to mmsdb_tdpo stanza in dsm.sys file
> >>
> >> the normal BA client works okay with no problems, i also tried with
> 32
> >> version of tdpo but i get the same errors ....
> >>
> >> error explanation --->
> >>
> >> ANU0156E
> >> Could not load the Tivoli Storage Manager API.
> >> Explanation:
> >>
> >> The Tivoli Storage Manager API could not be loaded.
> >> System action:
> >>
> >> Processing ends.
> >> User response:
> >>
> >> Ensure the Tivoli Storage Manager API is correctly installed. Run
> the
> >> Data Protection for Oracle application client with the
> /TRACEFLAGS=API
> >> /TRACEFILE=filename options and view the tracefile to determine why
> it
> >> could not be loaded. Another possible cause is that the TSMAPI.DLL
> >> does not exist in the system directory. Re-install the Tivoli
> Storage
> >> Manager API, if this is the case.
> >>
> >> !
> >> What am i doing wrong ? Any clues would be greatly appreciated.
> Thanks
> >> in advance.
> >> !
> >>
> >> installed:
> >> 5.4.1.0-TIV-TSMORA-LinuxX64.bin
> >> TIVsm-API.i386.rpm
> >> TIVsm-API64.i386.rpm
> >> TIVsm-BA.i386.rpm
> >

<Prev in Thread] Current Thread [Next in Thread>