
Installgen
Features and Benefits
Installgen
Demo Available for download...
Bookmark This Page

#!/bin/sh
# script: 27_sol_920_rman_oem_setup_1.sh
# Features: This shell script registers a production database into the RMAN
# recovery catalog. This script is run from the production server,
# not the OEM/OMS server.
#
# Script Sequence#: 27
# Used By: executed by script 9_sol_920_ora_post_install_1.sh during setup
# Usage:
# Copyright 2002 by .com Solutions Inc.
#
# ---------------------- Revision History ---------------
# Date By Changes
# 10-31-2001 dsimpson Initial Release
# 04-29-2002 dsimpson Added use of oem sid domain.
# This output file was created by Installgen version 1.38 on Sun Nov 10 14:20:50 2002. By .com Solutions Inc. www.dotcomsolutionsinc.net
# define globally used paths/variables
ORACLE_BASE=/u01/v901
ORACLE_HOME=/u01/v901
ORACLE_OWNER=oracle
ORACLE_OWNER_PATH=/export/oracle
ORACLE_GROUP=dba
ORACLE_HOME=/u01/v901
ORACLE_SID=prod1
LD_LIBRARY_PATH=/u01/v901/lib:/u01/v901/lib64:/usr/dt/lib
CLASSPATH=$ORACLE_HOME/jdbc/lib/classes111.zip
ORAENV_ASK=NO
TNS_ADMIN=$ORACLE_HOME/network/admin
PATH=/usr/sbin/:/bin:/usr/bin:/usr/ccs/bin:/usr/ucb/bin:/usr/ucb:/usr/openwin/bin:/usr/dt/bin:/usr/local/bin:/opt/bin:/usr/opt/SUNWmd/sbin:/usr/platform/sun4u/sbin:/opt/sfw/bin:.:/usr/local/sbin:/u01/v901/bin
TERM=vt100
NLS_LANG=AMERICAN_AMERICA.US7ASCII
export ORACLE_OWNER ORACLE_OWNER_PATH ORACLE_GROUP ORACLE_HOME ORACLE_SID ORA_BDUMP_DIR LD_LIBRARY_PATH PATH ORAENV_ASK TNS_ADMIN TERM NLS_LANG
# connect to the target database (prod1 ) which is currently being set up
# and register the prod1 database into the recovery catalog in database oem1
$ORACLE_HOME/bin/rman 'target /'<< EOF
connect catalog rman/rt-ut@oem1.world
register database;
exit;
EOF

