HP backup application invokes RMAN backup script like
allocate channel 'dev_1' type 'sbt_tape';
backup incremental level filesperset 1
And during execution folowwing error appear:
Recovery Manager: Release 22.214.171.124.0 - Production
RMAN-06005: connected to target database: CIS (DBID=3980547323)
RMAN-06009: using target database controlfile instead of recovery catalog
RMAN> 2> 3>
RMAN-03022: compiling command: allocate
RMAN-03023: executing command: allocate
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-03007: retryable error occurred during execution of command: allocate
RMAN-07004: unhandled exception during command execution on channel dev_1
RMAN-10035: exception raised in RPC: ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-19557: device error, device type: SBT_TAPE, device name:
ORA-27000: skgfqsbi: failed to initialize storage subsystem (SBT) layer
Additional information: 4110
ORA-19511: SBT error = 4110, errno = 0, BACKUP_DIR environment variable is not set
RMAN-10031: ORA-19624 occurred during call to DBMS_BACKUP_RESTORE.DEVICEALLOCATE
When I'm trying to change type of channel to 'disk', -
all command completed succesfully.
Maybe Oracle need some modification to support SBT_TAPE type or something?
Thanks in advance.
Did you replace the libobk.obj and relink?
To integrate Oracle and Backup appl. I'm:
1. Stop Oracle
2. make softlink
$ORACLE_HOME/lib/libobk.sl --> $BACKUP_SOFT_HOME/lib/libob2oracle8_64bits.sl
3. Start Oracle
Did you think the problem is in integration?
What is the tape backup client that you are using. Is it Legato or Tivoli or what?
Shutdown all oracle instances.
On the above it is called so for shared object on Solaris.
Similarly figure out the object on HP
ln -s /usr/lib/libobk.so $ORACLE_HOME/lib/libobk.so
Restart all the instances.
If your tape client is some third party one then you might have to pass some parameters. Check your manual.
For example: on Tivoli Data Protection for oracle, you have to specify some environment variables for it to get to the tape drive.