Wednesday 15 August 2007

Stop Script Oracle iAS 10g application server Environment is AIX 5.3 and Oracle iAS 10g

# Author Rafakat Hussain
# Date 15/08/2007
# shutdown script for Oracle Application Server 10g
# -------------------------------------------------
# =============================
# Shutdown 10g Application Tier
# =============================

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 stopall

$ORACLE_HOME/bin/emctl stop iasconsole

# ===========================
# Shutdown 10g Infrastructure
# ===========================

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/opmn/bin/opmnctl stopall

$ORACLE_HOME/bin/emctl stop dbconsole

$ORACLE_HOME/bin/emctl stop iasconsole

SQLDBA="$ORACLE_HOME/bin/sqlplus /nolog"

$SQLDBA <connect / as sysdba
shutdown immediate
EOF

$ORACLE_HOME/bin/lsnrctl stop

No comments:

Profile - Oracle 11i AppsDBA
Over 7 years of experience as an Oracle Applications DBA managing Oracle Public Sector HRMS 11.5.10 and Oracle Financials 11i in Unix and Windows NT environments. Strong skills and experience with installing, patching, cloning and troubleshooting various Oracle E-Business Suite products in Oracle database 9i and 10g. Proactive in the different phases of architecture design, development, testing, maintenance, performance enhancement and postproduction support. Currently working as Oracle Application DBA at Warwickshire County Council.

------------------------------------------------------------------------------------------------------------------------------