Thursday, July 29, 2004

Change the default EM (Enterprise Manager) port number

Summary
Changing the EMD_URL in $ORACLE_HOME/sysman/config/emd.properties does not change the EM web page port number. Changing the EM port number may break some standard EM links if the instance(s) have already been associated to an Infrastructure. These instructions change the port from 1813 to 1815.

Details
* On OAS 10.1.2, this can be simply done by running the following command:
        emctl config iasconsole port 1820

            However, if you are running OAS 9.0.4, this is done manually via the steps below...

1. Edit the $ORACLE_HOME/sysman/j2ee/config/emd-web-site.xml configuration file and update the following:
            OLD VALUE -->  port="1813"
        NEW VALUE -->  port="1815"

2. Edit the $ORACLE_HOME/sysman/config/emiasconsole.properties configuration file and update the following (optional):
            OLD VALUE -->  #oracle.sysman.emSDK.svlt.ConsoleServerPort=1813
        NEW VALUE -->  #oracle.sysman.emSDK.svlt.ConsoleServerPort=1815

3. Edit the $ORACLE_HOME/install/portlist.ini file (optional, only for documentation purposes):
            OLD VALUE -->  Application Server Control port = 1813
        NEW VALUE -->  Application Server Control port = 1815
           
4. Restart the EM console:
        emctl stop iasconsole
        emctl start iasconsole

Applicable Versions
Oracle Application Server 10g (9.0.4)

No comments: