Connect to Oracle Autonomous Databases
Learn to create a connection to Oracle Autonomous Transaction Processing or Autonomous Data Warehouse to use as sources and targets for OCI GoldenGate.
Before you begin
Ensure that you:
- Review how OCI GoldenGate connects to your sources and targets.
- Depending on your Oracle GoldenGate version:
- Unlock the GGADMIN user in Autonomous Database.
Connect to Autonomous Database
Note:
For Autonomous Database Shared connections with remote peers configured with Data Guard, failover automatically occurs from the primary to the standby database, so long as you configure your network to resolve the standby database's host name from the primary database's subnet. You can select the database or manually enter the database details when you create the connection. If you manually enter the database details, ensure that you enter the database connection string of both the primary and standby databases.Known issues
Action required for Autonomous Databases that use mTLS Authentication
When an Autonomous Database wallet is rotated, the OCI GoldenGate connection to this database must be refreshed to retrieve the latest wallet information.
For more information see, My Oracle Support (MOS) Document 2911553.1.
To refresh an Autonomous Database connection: Edit and save the connection to the Autonomous Database (Autonomous Transaction Processing or Autonomous Data Warehouse). Saving the connection automatically downloads and refreshes the wallet. No other changes to the connection is needed.
To verify:
- Launch the deployment console for a deployment that uses the Autonomous Database connection.
- In the deployment console, open the navigation menu, and then click Configuration.
- On the Credentials screen, observe the Autonomous
Database connection string.
Before the wallet is refreshed, the connection string looks like the following:
ggadmin@(DESCRIPTION=(TRANSPORT_CONNECT_TIMEOUT=3)(CONNECT_TIMEOUT=60)(RECV_TIMEOUT=120)(retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1522)(host=adb.us-phoenix-1.oraclecloud.com))(CONNECT_DATA=(COLOCATION_TAG=ogginstance)(FAILOVER_MODE=(TYPE=SESSION)(METHOD=BASIC)(OVERRIDE=TRUE))(service_name=<adb-servicename>_low.adb.oraclecloud.com))(security=(MY_WALLET_DIRECTORY=“/u02/connections/ocid1.goldengateconnection.oc1.phx.<ocid>/wallet”)(SSL_SERVER_DN_MATCH=TRUE)(ssl_server_cert_dn=“CN=adwc.uscom-east-1.oraclecloud.com, OU=Oracle BMCS US, O=Oracle Corporation, L=Redwood City, ST=California, C=US”)))
After the wallet is refreshed, the connection string is updated to look like the following:
ggadmin@(DESCRIPTION=(TRANSPORT_CONNECT_TIMEOUT=3)(CONNECT_TIMEOUT=60)(RECV_TIMEOUT=120)(retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1522)(host=adb.us-phoenix-1.oraclecloud.com))(CONNECT_DATA=(COLOCATION_TAG=ogginstance)(FAILOVER_MODE=(TYPE=SESSION)(METHOD=BASIC)(OVERRIDE=TRUE))(service_name=<adb-servicename>_low.adb.oraclecloud.com))(security=(MY_WALLET_DIRECTORY=“/u02/connections/ocid1.goldengateconnection.oc1.phx.<ocid>/wallet”)(SSL_SERVER_DN_MATCH=TRUE)(ssl_server_dn_match=yes)))