ADSM-L

Re: ADSM Connect Agent for Oracle on Sun

2000-03-06 04:31:32
Subject: Re: ADSM Connect Agent for Oracle on Sun
From: Pier Antonio BIANCHI <pierantonio.bianchi AT JRC DOT IT>
Date: Mon, 6 Mar 2000 10:31:32 +0100
To answer all the suggest, I write this.

The sbtio.log of the target database (8.0.5) contains these two row for every
run of the script:
(11721) OBK-sbt: sbtinit: initializing SBT API
(11721) OBK-sbt: sbtpvt_tfn: BACKUP_DIR not set.
I don' t know the meaning!

the setting of the parameter field of the script now is:
ENV=(DSMI_CONFIG=/opt/IBMDSMoba/dsm.opt,
DSMI_ORC_CONFIG=/opt/IBMDSMoba/dsm.opt, DSMI_ORC_DIR=/opt/IBMDSMoba,
DSMI_DIR=/opt/IBMadsm-a, DSMO_NODE=deveiconag, DSMO_AVG_SIZE=1000)';

You have to know there are two server instances in the dsm.sys file, then in
the /opt/IBMDSMoba/dsm.opt I point the connect agent' s one and in the
/opt/IBMadsm-c/dsm.opt I point the client one's: so, with the setting given, I
hope the connect agent uses the right dsm.opt file and server instance.
But anyway I' ve put the same server call in every dsm.opt: same result!

There is an inclexc file /opt /IBMDSMoba/inclexcl.txt with this line only:
include /adsmorc/.../* orclbck

I don' t know really what is wrong!

But the ADSM connect agent does have to be installed on the target database or
on the rcvcat database? Because I' ve installed it on the rcvcat database
(8.0.4) only.

Good ADSMing,
Pier Antonio.

Gale Darter wrote:

> Pier,
>
> RMAN 7086 = invalid argument(s)  to sbtinfo;
>
> Is it possible that you meant DSMI_CONFIG rather than DSMI_ORC_CONFIG?
>
> ex:
> allocate channel t2 type 'SBT_TAPE' parms 'ENV=( DSMO_OWNER=oracle,
> DSMI_CONFIG=
> /usr/lpp/adsm/bin/dsm.opt)';
>
> Pier Antonio BIANCHI wrote:
>
> > Hi all,
> > I' ve already sent a message like that, but the response was not
> > satisfactory, so I repost it adding as information as I can.
> >
> > ADSM version 3.1.2.50 on Solaris 2.6
> > ADSM connect Agent  2.1.7 (IP21410)
> > Oracle 8.0.4.
> >
> > All the above program are installed on the same machine.
> >
> > I' ve done the procedure in the installation guide
> > I' ve done the relink of ioracle, as from example, from /bin/sh, I' ve
> > renamed the lib libobk.a under $ORACLE_HOME/lib before the relinking,
> > but when I run the example script I get:
> > _____________________________________
> > run
> >                      {
> >                        #ENV is case sensitive
> >                        allocate channel t1 type 'sbt_tape' parms
> >
> > 'ENV=(DSMI_ORC_CONFIG=/opt/IBMDSMoba/dsm.opt,
> >                                   DSMO_AVG_SIZE=1000)';
> >                        backup
> >                          format 'df_%t_%s_%p'
> >                          (database);
> >                      }
> >
> > Recovery Manager: Release 8.0.4.0.0 - Production
> >
> > RMAN-06005: connected to target database: EIDB
> > RMAN-06008: connected to recovery catalog database
> >
> > RMAN> run
> > 2>                      {
> > 3>                        #ENV is case sensitive
> > 4>                        allocate channel t1 type 'sbt_tape' parms
> > 5>
> > 'ENV=(DSMI_ORC_CONFIG=/opt/IBMDSMoba/dsm.opt,
> > 6>                                   DSMO_AVG_SIZE=1000)';
> > 7>                        backup
> > 8>                          format 'df_%t_%s_%p'
> > 9>                          (database);
> > 10>                      }
> > 11>
> > RMAN-03022: compiling command: allocate
> > RMAN-03023: executing command: allocate
> > RMAN-08030: allocated channel: t1
> > RMAN-08500: channel t1: sid=20 devtype=SBT_TAPE
> > RMAN-03022: compiling command: backup
> > RMAN-03023: executing command: backup
> > RMAN-08008: channel t1: starting datafile backupset
> > RMAN-08502: set_count=16 set_stamp=391177399
> > RMAN-08010: channel t1: including datafile 7 in backupset
> > RMAN-08010: channel t1: including datafile 12 in backupset
> > RMAN-08010: channel t1: including datafile 14 in backupset
> > RMAN-08010: channel t1: including datafile 3 in backupset
> > RMAN-08010: channel t1: including datafile 1 in backupset
> > RMAN-08011: channel t1: including current controlfile in backupset
> > RMAN-08010: channel t1: including datafile 5 in backupset
> > RMAN-08010: channel t1: including datafile 2 in backupset
> > RMAN-08010: channel t1: including datafile 6 in backupset
> > RMAN-08010: channel t1: including datafile 13 in backupset
> > RMAN-08010: channel t1: including datafile 9 in backupset
> > RMAN-08010: channel t1: including datafile 10 in backupset
> > RMAN-08010: channel t1: including datafile 4 in backupset
> > RMAN-08010: channel t1: including datafile 11 in backupset
> > RMAN-08010: channel t1: including datafile 8 in backupset
> > RMAN-00569: ================error message stack follows================
> > RMAN-03007: retryable error occurred during execution of command: backup
> >
> > RMAN-07004: unhandled exception during command execution on channel t1
> > RMAN-10032: unhandled exception during execution of job step 1:
> > ORA-06512: at li
> > ne 343
> > RMAN-10035: exception raised in RPC: ORA-19624: operation failed, retry
> > possible
> > ORA-19506: failed to create sequential file, name="df_391177399_16_1",
> > parms=""
> > ORA-27006: sbtremove returned error
> > Additional information: 7086
> > Additional information: 1
> > ORA-06512: at "SYS.DBMS_BACKUP_RESTORE", line 408
> > RMAN-10031: ORA-19624 occurred during call to
> > DBMS_BACKUP_RESTORE.BACKUPPIECECRE
> > ATE
> >
> > Recovery Manager complete.
> >
> >

--
Pier Antonio BIANCHI
Pier Antonio BIANCHI

ObjectWay s.p.a.
via XXV Aprile, 25
21027 ISPRA (VA) Italy
Tel. +39 332 782164
Fax. +39 332 782163