Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
The Db name mentioned above were just examples. The actual db names are in tns file below. The details as as below:
LSNRCTL> status
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias LISTENER_GISDEV
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
Start Date 20-JAN-2011 10:16:27
Uptime 4 days 5 hr. 5 min. 37 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\ORA\dbadmin\product\11.2.0\GISDEV\NETWORK\ADMIN\listener.ora
Listener Log File c:\ora\dbadmin\diag\tnslsnr\PDFPGISORDEV\listener_gisdev\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PDFPGISORDEV.PADOTGIS.state.pa.us)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "giszgg" has 1 instance(s).
Instance "gisdev", status READY, has 2 handler(s) for this service...
Service "orad2" has 1 instance(s).
Instance "orad2", status BLOCKED, has 1 handler(s) for this service...
The command completed successfully
Can anyone let me know why I am not able to connect both the servers at a time?
The issue was I have created giszgg cloned db from orad2. GISZGG and GISDEV are on same server. gisdev was up and running when I did clone and now all the trace files and alert log is getting created by gisdev suffix. Help me out to get solution on this so that GISZGG and GISDEV can run independantly?
Do a tnsping to both databases and post the results. Verify that the entries in the tnsnames.ora file are connect and point to different databases. Check your listener.ora file, verify the sid names, ports and server names. If everything looks correct try renaming the sqlnet.ora file and then connecting to both databases.
LSNRCTL> status
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias LISTENER_GISDEVVersion TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
Start Date 25-JAN-2011 08:36:39
Uptime 0 days 3 hr. 8 min. 6 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\ORA\dbadmin\product\11.2.0\GISDEV\NETWORK\ADMIN\listener.ora
Listener Log File c:\ora\dbadmin\diag\tnslsnr\PDFPGISORDEV\listener_gisdev\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PDFPGISORDEV.PADOTGIS.state.pa.us)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "giszgg" has 1 instance(s).
Instance "gisdev", status READY, has 2 handler(s) for this service...
The command completed successfully
LSNRCTL>
LSNRCTL>
LSNRCTL>
LSNRCTL>
LSNRCTL>
LSNRCTL>
LSNRCTL> start listener_giszgg TNS-01106: Listener using listener name LISTENER_GISDEV has already been started
LSNRCTL>
++++++++++++++++++++++++++++++++++++++++++++++++++
according to me you cannot have two listeners listening to same port at a time,so i would suggest to separate out the listener ,create a new listener.ora assign new port(say 1529) set local_listener parameter.You should be all set
This does mean that we only have one listener for all our DBs, if you want one listener per DB then I guess you would need similiar to above but with something like SID_LIST_LISTENER1 and then SID_LIST_LISTENER2. Each with their single SID_LIST and SID_DESC section.
Is that of any help?
With the tnsnames.ora file we have our SIDs listed, all with the same port.
Bookmarks