# How to connect Digibee to Oracle RAC

## **What is Oracle RAC?**

Oracle RAC (Real Application Cluster) transparently scales both reads and writes for all workloads, including OLTP, analytics, AI vectors, SaaS, JSON, batch, text, graph, Internet of Things (IoT), and in-memory. It offers a range of database computing benefits such as scalability, availability, load balancing, redundancy, and monitoring. Further information can be found on the [Oracle website](https://www.oracle.com/database/real-application-clusters/).

## **Connecting Oracle RAC to Digibee**

If you connect a pipeline to a database via a VPN (Virtual Private Network), the network topology prevents visibility of the nodes behind the Oracle SCAN Listener. As a result, the JDBC driver can’t connect to the node that the listener has returned as available to receive a connection.

<figure><img src="/files/KxB5vi5ojBVolNYt7CF5" alt=""><figcaption></figcaption></figure>

To address this issue:

* Avoid using the SCAN Listener mapping.
* Inform the [Digibee Support team](/documentation/troubleshooting/help-and-faq/support.md) of the IPs of each node in the cluster’s database.
* Use a connection string with multiple hosts to ensure traffic and redundancy between hosts that can be handled by the connection string.​

<figure><img src="/files/vJKShqxhzQrC7rymZbb7" alt=""><figcaption></figcaption></figure>

See the example below:

```
jdbc:oracle:thin:@(DESCRIPTION=
   (ADDRESS_LIST=
      (ADDRESS=(PROTOCOL=TCP)(HOST=10.158.xx.xxx)(PORT=1111))
      (ADDRESS=(PROTOCOL=TCP)(HOST=10.158.xx.xxx)(PORT=2222))
      (ADDRESS=(PROTOCOL=TCP)(HOST=10.158.xx.xxx)(PORT=3333))
      (FAILOVER=on)
      (LOAD_BALANCE=on)
   )
   (CONNECT_DATA=(SERVICE_NAME=SERVICENAME))
)
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.digibee.com/documentation/troubleshooting/connectivity-guides/digibee-oracle-rac.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
