All Apps and Add-ons

DB Connect and Oracle failover

bohrasaurabh
Communicator

I would like to configure the DB connect to do fail over logic for Oracle database. I was given the below two options to handle that. Is there a way to configure this? If not what could be the best option for me to query the active database.

JDBC string that handles the db failover logic:

jdbc:oracle:thin:@(description=(address_list=(load_balance=on)(failover=on)(address=(protocol=tcp)(host=1.2.3.4)(port=9999))(address=(protocol=tcp)(host=5.6.7.8)(port=9999)))(connect_data=(service_name=MYDB)(failover_mode=(type=select)(method=basic))))

.

.

TNS entry:

MYDB.dummy =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 1.2.3.4)(PORT = 9999))
(ADDRESS = (PROTOCOL = TCP)(HOST = 5.6.7.8)(PORT = 9999))
)
(CONNECT_DATA =
(SERVICE_NAME = MYDB))
)
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 5.6.7.8)(PORT = 9999))
(ADDRESS = (PROTOCOL = TCP)(HOST = 1.2.3.4)(PORT = 9999))
)
(CONNECT_DATA =
(SERVICE_NAME = MYDB))
)
)

Tags (2)

ShaneNewman
Motivator

We connected Splunk to the virtual instance, this way it queries the active node.

Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...