Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: how to specify different Oracle Enterprise Manager 10g ports for each instance?

Re: how to specify different Oracle Enterprise Manager 10g ports for each instance?

From: Marc Bruinsma <marc.bruinsma_at_chello.nl>
Date: Fri, 20 Jul 2007 15:45:46 +0200
Message-ID: <e03oi.1185$Rv4.561@amstwist00>


Kuwerti wrote:

> Hello All,
>
> I have an oracle 10g server with two oracle instances (databases)
> installed on it.
> instance names SHOP1 and SHOP2
>
> The problem is that if I go to the enterprise manager
> (using http://192.168.0.33:1158/em/) I ALWAYS get connected to
> databse SHOP1
>
> How can I change this?
> Do I have to ADD shop2 database and assign a different port-number?
>
> The portlist.ini file states the folowoing:
>
> iSQL*Plus HTTP port number =5560
> Enterprise Manager Console HTTP Port (SHOP1) = 1158
> Enterprise Manager Agent Port (SHOP1) = 3938
>
> Any help would be very appreciated.
> Regards,
> Anneke
> The Netherlands.

Assuming that you are talking about Database Control, which applies to one database only, then you have to configure the console for SHOP2 as well. The portnumber will then probably be something like 1159, so you should then try :http://192.168.0.33:1159/em/

You can check if it has been configured by:

. oraenv
SHOP2
emctl status dbconsole

if you get an error like OC4J Configuration issue. <$ORACLE_HOME>/oc4j/j2ee/OC4J_DBConsole_<hostname_dbname> not found, then it probably isn't.

Set it up with emca -config dbcontrol db -repos create, and answer the questions.

That should tell you the portnumber when it's done. If not, you can check it in $ORACLE_HOME/sysman/config/emd.properties.

Of course, this means that you will be running two consoles, two agents, etc on the host, as well as the two databases, so you might consider Grid Control, will will only require one agent on your database host, and of course a separate host for the Management Server.

Good luck. Received on Fri Jul 20 2007 - 08:45:46 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US