> For the complete documentation index, see [llms.txt](https://docs.digibee.com/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digibee.com/documentation/troubleshooting/connectivity-guides/digibee-oracle-rac.md).

# How to connect Digibee to Oracle RAC

Learn how to establish a connection between Digibee and Oracle RAC via VPN.

## **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="https://content.gitbook.com/content/boT4qPJIk6PZotrxlJWL/blobs/NrQluBXacnLRej1Gi836/image1.png" 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="https://content.gitbook.com/content/boT4qPJIk6PZotrxlJWL/blobs/f9927lVxQsYqQBcidrp5/image2.png" 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
