The odbc.ini file contains connection parameters. For Oracle RAC, you must specify values pertaining to the Oracle RAC installation in the odbc.ini file.
Follow these steps:
section_name =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = host_name_or_IP_address)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = service_name)
)
)
For example:
fwdincrac =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.30.250.18)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = forwardinc)
)
)
Note: If Oracle RAC is client configured, then include all the nodes in this format.
For example:
#HostName=172.30.251.251 #PortNumber=1521 #SID=an
TNSNamesFile=ARCOT_HOME/ora_file_name ServerName=section_name
For example:
TNSNamesFile=/var/opt/tns.ora ServerName=fwdincrac
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|