# Date 15/08/2007
# start script for Oracle Application Server 10g
# ----------------------------------------------
# =============================
# Start Infrastructure Metadata
# =============================
export ORACLE_SID=infra
export ORACLE_HOME=/ora111/dev5/10giAS/infra
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
export PATH=$PATH:$ORACLE_HOME/bin
$ORACLE_HOME/bin/lsnrctl start
SQLDBA="$ORACLE_HOME/bin/sqlplus /nolog"
$SQLDBA <
startup
EOF
# Starting Oracle Enterprise Manager 10g Database Control
$ORACLE_HOME/bin/emctl start dbconsole
$ORACLE_HOME/opmn/bin/opmnctl startall
$ORACLE_HOME/bin/emctl start iasconsole
# =============================
# Start 10g Application Tier
# =============================
unset CLASSPATH
export ORACLE_SID=infra
export ORACLE_HOME=/ora111/dev5/10giAS/portal
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
export PATH=$PATH:$ORACLE_HOME/bin
$ORACLE_HOME/opmn/bin/opmnctl startall
## after you modify opmn.xml file
# $ORACLE_HOME/opmn/bin/opmnctl reload
$ORACLE_HOME/bin/emctl start iasconsole
No comments:
Post a Comment