Home » RDBMS Server » Enterprise Manager » why Scan address used in OEM (Grid Control 11g)
why Scan address used in OEM [message #553044] Tue, 01 May 2012 06:19 Go to next message
daverich
Messages: 23
Registered: January 2010
Location: UK
Junior Member
Hi,

I am an OEM Gird Control 11g server with Oracle 11.2.0 running on OEL 5.3

I also have 2 node RAC cluster running Oracle 11.2.0 on OEL 5.3. I have installed OEM Agent on nodes of this cluster. I can see them on OEM Grid Console. When I check the configuration of the Database Instance GTRD1 (one of my target instance)I can see that the "Listener Machine Name" is the management IP address of target database server. Similarly Database Instance GTRD2 has the management IP address of target database server. When I click test conenctions it works. This is without entering any reference to this server/IP address in /etc/hosts file.

But when I select targets->all targets->Database Instance GTRD1 and then try to access performance tab, it does not connect. I get this error
"The Network Adapter could not establish the connection"

Looking at the "emoms.trc" I find the follwing

2012-04-30 14:02:12,071 [EMUI_14_02_12_/console/database/instance/sitemap] ERROR perf.sitemapPerfChart logp.251 - java.sql.SQLException: The Network Adapter could not establish the connection

The Connect Descriptor was (description=(address=(host=GTRD-scan.GTRD)(protocol=tcp)(port=1521))(connect_data=(service_name=GTRD1)(instance_name=GTRD1)(UR=A)))
java.sql.SQLException: The Network Adapter could not establish the connection

The Connect Descriptor was (description=(address=(host=GTRD-scan.GTRD)(protocol=tcp)(port=1521))(connect_data=(service_name=GTRD1)(instance_name=GTRD1)(UR=A)))


But when I enter the scan address in the /etc/hosts as "112.5.14.154 GTRD-scan.GTRD" Then everythign work works.
NOTE: 112.5.14.154 is GTRD1 server and 112.5.14.155 is GTRD2 server


Now my questions are:
1. Do I must enter scan address/ref "GTRD-scan.GTRD" in /etc/hosts?
2. Is there are way to change it to use hostname or the IP address?
3. If I am to use scan address, then how I refer to the other IP address in hosts file?

Please help.

[EDITED by LF: removed superfluous empty lines]

[Updated on: Tue, 01 May 2012 06:34] by Moderator

Report message to a moderator

Re: why Scan address used in OEM [message #553248 is a reply to message #553044] Wed, 02 May 2012 14:20 Go to previous message
LKBrwn_DBA
Messages: 425
Registered: July 2003
Location: WPB, FL
Senior Member
Quote:
The Connect Descriptor was (description=(address=(host=GTRD-scan.GTRD)...

1. Do I must enter scan address/ref "GTRD-scan.GTRD" in /etc/hosts?
What is "GTRD-scan.GTRD"? If it is a server name (host), then it should be either in the DNS or /etc/hosts

2. Is there are way to change it to use hostname or the IP address?
Preferably use a host name, just code it something like this "(address=(host=MyGTRDhost.mydomain.com)" in the connect descriptor.

3. If I am to use scan address, then how I refer to the other IP address in hosts file?
Refer to answer to questions #1 "What is 'scan address'"? and #2 Use host name

[Updated on: Thu, 03 May 2012 00:51] by Moderator

Report message to a moderator

Previous Topic: Grid 12c - Agent Password Repository
Next Topic: Oracle enterprise manager Cloud control 12c installation fails on repository configuration
Goto Forum:
  


Current Time: Thu Jul 24 03:31:02 CDT 2014

Total time taken to generate the page: 0.07615 seconds