Solved

Oracle RAC Load balancing and ODBC

Posted on 2006-11-24
2
1,301 Views
Last Modified: 2012-06-21
We have just installed an Oracle RAC solution. We still have one old VB app that needs to access one of the databases. My understanding to date has been that to do this I need to configure the TNSnames entry to ignore load balancing as ODBC couldnt cope with this (using the standard MS ODBC drivers).

I'd appreciate any info on whether this is still the case. I'm using the MS for oracle driver version

200.85.1022.00
0
Comment
Question by:colindow
2 Comments
 
LVL 12

Accepted Solution

by:
Gibu George earned 250 total points
ID: 18044960
Use the oracle 10g ODBC driver, and add the tns entry like this
RAC =
  (DESCRIPTION =
  (ADDRESS = (PROTOCOL = TCP)(HOST = rac1)(PORT = 1521))
  (ADDRESS = (PROTOCOL = TCP)(HOST = rac2)(PORT = 1521))
  (LOAD_BALANCE = ON)
  (FAILOVER = ON)
  (CONNECT_DATA =
  (SERVICE_NAME = rac)
  (failover_mode = (type=select)(method=basic))
  )
  )

0
 

Author Comment

by:colindow
ID: 18115937
Hi in fact it turned out that there was a rather strange entry in out DNS lookup. We had to use a network trace to find this out. Very odd as it worked intermittently.

Ill mark as answered so that any viewer can see the solution
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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.
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

828 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