ADSM-L

Re: ADSM and DB2 (really UDB 6)

2000-12-01 23:14:14
Subject: Re: ADSM and DB2 (really UDB 6)
From: Gyula Bereczky <bx AT MAIL.DATATRANS DOT HU>
Date: Sat, 2 Dec 2000 05:14:27 +0100
On Fri, Dec 01, 2000 at 09:06:40AM -0500, Jim Kirkman wrote:
...
I am not sure if udb 6 requres v3 client or if it can work with v4...

>  3. set the enviroment variables to point to your *sm installation
>  ( this is described in the udb admin guide )
> added the following: DSMI_CONFIG >c:\program files\tivoli\tsm\baclient
>                                DSMI_LOG>c:\program files\tivoli\tsm\api
>                                DSMI_DIR>c:program files\tivoli\tsm\api
> Now- the DSMI_DIR is supposed to identify the path where the API trusted
> agent file is located. The manual says this should be dsmapitca or
> dsmtca. Couldn't locate either file anywhere on either drive, so what's
> up there? Obviously guessing at the path.
I don't know dsmapitca/dsmtca, all I know, that your udb is going to look
for the tsm dll file.. this should be located somewhere under your nt\system
something directory.. sorry, I am a unix guy.. don't know too much about
m$ things, and right now there is no machine around with windows installed...
I remember having some problem locating the dsm.opt file and I remember
puting it next to the dll... but I am not quite sure, it happened more than
a year ago.

>  5. configure your database for *sm, see "db2 get db cfg for <dbname>",
> and
>  check/set your *sm variables.
>  ( they are adsm_* in udb 6, but tsm_* in udb 7 IIRC )
>
> when I run the get db cfg command (after db2stop and db2start) it shows
> the ADSM  parameters but with no entries. Am I skipping or missing a
> step here?
I think so.
You can set these parameters with
db2 "set db cfg for <dbname> using <parameter> <value>"
You should set at least the nodename, management class and password.
Owner is not critical.

After setting everything you can try to run a db2 backup by
db2 backup database <dbname> use adsm

If you get some error code, there is a dsmrc.h in your tsm api install dir,
you can check them there. Also check your *SM server actlog.

Good luck!

--
                        bx
                        bx

"Using vim will surely improve ones computer skills."
<Prev in Thread] Current Thread [Next in Thread>