Connecting to a RAC (Real Application Cluster) using SQL*Net
-
- Posts: 6
- Joined: Tue 24 May 2011 12:22
Connecting to a RAC (Real Application Cluster) using SQL*Net
Hello,
Our IT department is migrating a number of our servers to a RAC configuration. After they do this, I am no longer able to connect to them using SQL*Net. I can still connect to the cluster with OCI using the TNS name.
Is there any way to connect to the cluster with SQL*Net?
Best regards,
Bill
Our IT department is migrating a number of our servers to a RAC configuration. After they do this, I am no longer able to connect to them using SQL*Net. I can still connect to the cluster with OCI using the TNS name.
Is there any way to connect to the cluster with SQL*Net?
Best regards,
Bill
-
- Posts: 6
- Joined: Tue 24 May 2011 12:22
Hi,
Thank you for looking into this. I'm glad to hear that it works for you. Note: I replaced our domain name with "xxxxxxxxxxx".
I've tried both of these database strings:
DataBase=srd01v.xxxxxxxxxxx.com:1523:SN=vqaprod
DataBase=srd02v.xxxxxxxxxxx.com:1523:SN=vqaprod
I get: "Database Server Error: NET: Invalid Service Name"
Driver version: 4.90.0.25
Section of tnsnames.ora file:
VQA_PROD.WORLD =
(DESCRIPTION =
(FAILOVER = ON)
(LOAD_BALANCE = OFF)
(ADDRESS = (PROTOCOL = tcp)(HOST = srd02v.xxxxxxxxxxx.com)(PORT = 1523))
(ADDRESS = (PROTOCOL = tcp)(HOST = srd01v.xxxxxxxxxxx.com)(PORT = 1523))
(CONNECT_DATA =
(SERVICE_NAME = VQAPROD.xxxxxxxxxxx.COM)
)
)
Thank you for looking into this. I'm glad to hear that it works for you. Note: I replaced our domain name with "xxxxxxxxxxx".
I've tried both of these database strings:
DataBase=srd01v.xxxxxxxxxxx.com:1523:SN=vqaprod
DataBase=srd02v.xxxxxxxxxxx.com:1523:SN=vqaprod
I get: "Database Server Error: NET: Invalid Service Name"
Driver version: 4.90.0.25
Section of tnsnames.ora file:
VQA_PROD.WORLD =
(DESCRIPTION =
(FAILOVER = ON)
(LOAD_BALANCE = OFF)
(ADDRESS = (PROTOCOL = tcp)(HOST = srd02v.xxxxxxxxxxx.com)(PORT = 1523))
(ADDRESS = (PROTOCOL = tcp)(HOST = srd01v.xxxxxxxxxxx.com)(PORT = 1523))
(CONNECT_DATA =
(SERVICE_NAME = VQAPROD.xxxxxxxxxxx.COM)
)
)
Hello,
To connect using Service Name, you should set the DataBase property in the following way:
To connect using Service Name, you should set the DataBase property in the following way:
Code: Select all
DataBase=srd02v.xxxxxxxxxxx.com:1523:SN=VQAPROD.xxxxxxxxxxx.COM
DataBase=srd01v.xxxxxxxxxxx.com:1523:SN=VQAPROD.xxxxxxxxxxx.COM
-
- Posts: 6
- Joined: Tue 24 May 2011 12:22
-
- Posts: 6
- Joined: Tue 24 May 2011 12:22
-
- Posts: 6
- Joined: Tue 24 May 2011 12:22
-
- Posts: 6
- Joined: Tue 24 May 2011 12:22
Oh. If ODAC cannot switch between servers automatically in Direct mode, I don't need to be able to connect by Service Name.
The whole reason to use the Service Name was to get the automatic switching. If I'm on my own to know which server to connect to, I can just use the SID.
When, do you expect to have automatic switching available?
The whole reason to use the Service Name was to get the automatic switching. If I'm on my own to know which server to connect to, I can just use the SID.
When, do you expect to have automatic switching available?