One of my blog readers asked me how we can change the ports of Grid Control after install. Yes it’s possible to change the ports after installing EM Grid Control and it’s well documented for Enterprise Manager Cloud control. I tested if these steps are valid for Grid Control and it worked. I think no one uses insecure ports so I’ll show how I will set Oracle Enterprise Manager (secure) web site port to 8000 and “secure/https upload port” to 2000 on Oracle Enterprise Manager Grid Control 11g:

First we need to stop OMS:

Then modify the port information in repository:

Modify the ports in the configuration files (/oracle/gc_inst/em/EMGC_OMS1/emgc.properties):

Change values of EM_CONSOLE_HTTPS_PORT (Oracle Enterprise Manager web console port) and EM_UPLOAD_HTTPS_PORT (upload port used by agents)

Edit SSL configuration of Apache (/oracle/gc_inst/WebTierIH1/config/OHS/ohs1/ssl.conf ) and find “Listen 7799″ and “VirtualHost *:7799″ and enter new port numbers:

Edit SSL configuration of EM Upload service (/oracle/gc_inst/WebTierIH1/config/OHS/ohs1/httpd_em.conf), find the following lines:

and enter new port numbers:

Now you can start OMS. Of course you also need to modify agent configuration if you change upload ports. The agent configuration file can be found at $AGENT_INSTANCE_HOME/sysman/config/emd.properties. Open it and search for REPOSITORY_URL.

Modify its value according to your new OMS upload port:

9 Responses to “Customizing HTTPS Console and Upload Ports After Installing Enterprise Manager Grid/Cloud Control”

  1. hi,

    Are the steps same for the standby OMS created in multi OMS env?

  2. Thanks for the steps to change the ports.

  3. hi,
    I have configured a standby oms to my primary oms in 12c. however the https console port for oms and http console port for oms has changed in standby site and do not match primary oms. agent upload port and other configuration is same except the ports.
    When I use the steps above to change ports at standby site I get following error
    “Input oms_name is invalid. Management Server with this name does not exists”
    I also tried with -oms_name local_oms but getting same error. please advise.

  4. amith says:

    can any one give me good document to create stand by oms, I have already built my 3 node prod oms, now I want to have the standby oms for that 3 nodes
    thanks,
    Amith

  5. IrvingHunk says:

    Hello Gokhan,

    I just did this last night in EM12c R4 and after restarting I started to get error

    “Failed to find OMS details: null java.lang.NullPointerException”

    while trying to get OMS status. After several hours of being struggling and looking for a solution, I found this which saved me from reinstalling after hours of frustration. In case somebody face the same issue.

    https://community.oracle.com/thread/2476946?tstart=0

    Thank you for the time you spend helping out others!!

  6. Thomas Beetz says:

    Hi,

    i try to change oracle.sysman.emSDK.svlt.EMConsoleServerHTTPSPort to 2000 (from 7802) and for cloudcontrol 12.1.0.4 and it doesn’t work, oracle linux 6.5. I change the property and the ssl.conf file. Now i use iptables.

    If someone have time for a test, i’ll be interested in your results.

    Best Regards

    Thomas

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">