[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to change Oracle 9iAS opmn bind ports



 
    
how to change Oracle 9iAS opmn bind ports
-----------------------------------------

1. shutdown 9iAS app tier:

bash-2.05b$ $ORACLE_HOME/bin/webcachectl stop 
bash-2.05b$ $ORACLE_HOME/dcm/bin/dcmctl stop -ct ohs
bash-2.05b$ $ORACLE_HOME/opmn/bin/opmnctl stopall

2. make the change:

bash-2.05b$ pwd
/oracle/apptest/9ias/opmn/conf

bash-2.05b$ diff opmn.xml opmn.xml.orig 
3c3
<     <port local="6102" remote="6202" request="6005"/>
---
>     <port local="6101" remote="6201" request="6004"/>

...

3. start opmn on app tier only:

bash-2.05b$ $ORACLE_HOME/opmn/bin/opmnctl start

4. propagate the changes in "opmn.xml" configuration file to the configuration repository:

bash-2.05b$ $ORACLE_HOME/dcm/bin/dcmctl updateConfig -ct opmn -v -d

bash-2.05b$ $ORACLE_HOME/dcm/bin/dcmctl getError ADMN-99905 (if you get a error)
 return

5. start all the other app tier component:

bash-2.05b$ $ORACLE_HOME/dcm/bin/dcmctl start -ct ohs
bash-2.05b$ $ORACLE_HOME/dcm/bin/dcmctl start -co home
bash-2.05b$ $ORACLE_HOME/dcm/bin/dcmctl start -co OC4J_Portal
bash-2.05b$ $ORACLE_HOME/dcm/bin/dcmctl start -co OC4J_Wireless
bash-2.05b$ $ORACLE_HOME/dcm/bin/dcmctl getState -v 
bash-2.05b$ $ORACLE_HOME/bin/webcachectl start 
bash-2.05b$ $ORACLE_HOME/bin/emctl start


You need keep Oracle 9iAS infrastructure running all the time during the 
change. It's better run "$ORACLE_HOME/dcm/bin/dcmctl updateConfig" on both 
infrastructure and application tier.

Reference
---------

+ Increasing the OPMN Log Level, <http://metalink.oracle.com/metalink/plsql/ml2_documents.showNOT?p_id=217128.1&p_showHeader=1&p_showHelp=1>


Google