Solved

Toad Auto debugger doesn't work. Unable to find RAC connection information

Posted on 2014-11-19
5
1,019 Views
Last Modified: 2014-11-30
Hi

I'm trying to use debug option in toad 9.7 but it shows this message "UNABLE TO FIND RAC CONNECTION INFORMATION FOR RAC (INST_ID=1)"

I found some information and it says that Oracle doesn't support debugging accros RAC instances. We have a RAC instances and It was working fine until now but all of a sudden i faced the error message today.

Even I followed some instructions to create additional entries in tnsname.ora for each RAC nodes without load balancing parameter but it fails and faced the same error message.

Following is the tns entries.

Actual Entry

RAC =
 (DESCRIPTION =
   (ADDRESS = (PROTOCOL = TCP)(HOST = mcmsdb)(PORT = 1521))
   (FAILOVER=on)
   (CONNECT_DATA =
     (SERVER = DEDICATED)
     (SERVICE_NAME = mcmsdrac)
     (FAILOVER_MODE = (TYPE = SELECT)(METHOD = BASIC)(RETRIES = 180)(DELAY = 5))
   )
 )

Instance 1

RAC1 =
 (DESCRIPTION =
   (ADDRESS =
     (PROTOCOL = TCP)
     (HOST = xx.xx.xxx.xx)
     (PORT = 1521)
   )
   (CONNECT_DATA =
     (SERVICE_NAME = mcmsdrac)
     (instance_name = mcmsdrac1)
   )
 )

Instance 2

RAC2 =
 (DESCRIPTION =
   (ADDRESS =
     (PROTOCOL = TCP)
     (HOST = xx.xx.xxx.xx)
     (PORT = 1521)
   )
   (CONNECT_DATA =
     (SERVER = DEDICATED)
     (SERVICE_NAME = mcmsdrac)
     (instance_name = mcmsdrac2)
   )
 )

Please help me to get rid out of this issue.
0
Comment
Question by:mehmast
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 
LVL 21

Expert Comment

by:Amitkumar Panchal
ID: 40454135
Can you give it a try by making slight change in your tnsnames.ora file ? Just add the couple of lines (marked bold) in RAC entry.

RAC =
 (DESCRIPTION =
   (ADDRESS = (PROTOCOL = TCP)(HOST = mcmsdb)(PORT = 1521))
  (ADDRESS = (PROTOCOL = TCP)(HOST = <HOST FROM RAC1>)(PORT = 1521))
   (ADDRESS = (PROTOCOL = TCP)(HOST = <HOST FROM RAC2>)(PORT = 1521))
  (FAILOVER=on)
   (CONNECT_DATA =
     (SERVER = DEDICATED)
     (SERVICE_NAME = mcmsdrac)
     (FAILOVER_MODE = (TYPE = SELECT)(METHOD = BASIC)(RETRIES = 180)(DELAY = 5))
   )
 )

RAC1 =
 (DESCRIPTION =
   (ADDRESS =
     (PROTOCOL = TCP)
     (HOST = xx.xx.xxx.xx)
     (PORT = 1521)
   )
   (CONNECT_DATA =
     (SERVICE_NAME = mcmsdrac)
     (instance_name = mcmsdrac1)
   )
 )

RAC2 =
 (DESCRIPTION =
   (ADDRESS =
     (PROTOCOL = TCP)
     (HOST = xx.xx.xxx.xx)
     (PORT = 1521)
   )
   (CONNECT_DATA =
     (SERVER = DEDICATED)
     (SERVICE_NAME = mcmsdrac)
     (instance_name = mcmsdrac2)
   )
 )


Refer toad documentation at http://www.toadworld.com/products/toad-for-oracle/b/weblog/archive/2008/03/19/toad-does-rac-really.aspx for more details.
0
 

Author Comment

by:mehmast
ID: 40454307
I tried by updating the tnsfile with the below entries, still same error message

(ADDRESS = (PROTOCOL = TCP)(HOST = host ip add of RAC1>)(PORT = 1521))
   (ADDRESS = (PROTOCOL = TCP)(HOST = host ip add of RAC2>)(PORT = 1521))
0
 

Author Comment

by:mehmast
ID: 40459333
Any other help please
0
 

Accepted Solution

by:
mehmast earned 0 total points
ID: 40466219
Problem got resolved by using Toad 10.6 instead of 9.7
0
 

Author Closing Comment

by:mehmast
ID: 40472356
Resolved by myself.
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that useā€¦
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.
Suggested Courses

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question