• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1311
  • Last Modified:

Oracle RAC Load balancing and ODBC

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
colindow
Asked:
colindow
1 Solution
 
Gibu GeorgeChief Technology OfficerCommented:
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
 
colindowAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now