Après une nouvelle installation du Netbackup pour une nouvelle base de donnée (sous UNIX) il faut crée le link pour l’agent Oracle et l’installation de la Library dans le Oracle Home ($ORACLE_HOME/lib).
Sans cette installation le RMAN va générer l’erreur suivante :
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on ch00 channel at 06/25/2010 15:40:02
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27211: Failed to load Media Management Library
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on ch00 channel at 06/25/2010 15:40:02
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27211: Failed to load Media Management Library
Alors il faut exécuter la procédure suivante avec le user Oracle:
oracle@hostname: /appl/oracle/product/10.2.0.4 /lib >#/usr/openv/netbackup/bin/oracle_link
Fri Jun 25 15:53:05 WAT 2010
All Oracle instances should be shutdown before running this script.
Please log into the Unix system as the Oracle owner for running this script
Do you want to continue? (y/n) [n] y
LIBOBK path: /usr/openv/netbackup/bin
ORACLE_HOME: /appl/oracle/product/10.2.0.4
Oracle version: 10.2.0.4.0
Linking LIBOBK (64 bits):
ln -s /usr/openv/netbackup/bin/libobk.sl64 /appl/oracle/product/10.2.0.4/lib/libobk.sl
Done
Please check the trace file located in /tmp/make_trace.27820
to make sure the linking process was successful.
oracle@hostname: /appl/oracle/product/10.2.0.4/lib >#
Fri Jun 25 15:53:05 WAT 2010
All Oracle instances should be shutdown before running this script.
Please log into the Unix system as the Oracle owner for running this script
Do you want to continue? (y/n) [n] y
LIBOBK path: /usr/openv/netbackup/bin
ORACLE_HOME: /appl/oracle/product/10.2.0.4
Oracle version: 10.2.0.4.0
Linking LIBOBK (64 bits):
ln -s /usr/openv/netbackup/bin/libobk.sl64 /appl/oracle/product/10.2.0.4/lib/libobk.sl
Done
Please check the trace file located in /tmp/make_trace.27820
to make sure the linking process was successful.
oracle@hostname: /appl/oracle/product/10.2.0.4/lib >#