Failure Linking Manually Added Source Database (KBA8265)
KBA
KBA# 8265
Issue
Linking a manually added Oracle Source Database may fail if the Database Name, Database Unique Name, or Instance Name provided in Delphix does not match the Source Database parameters. The following is an example of this type of failure type:
Delphix Engine cannot connect to any host to load data from source "DBExample46": Selected instances "[instanceNumber: 1 instanceName: DBExample46: hostName: rh80ora1234]" are not in database "DBExample2" configuration.
exception.oracle.dsource.sync.no_hosts
Refresh host to discover database instances, or add database configuration manually. If the database was added manually, make sure that the database name and database unique name provided in Delphix match Oracle exactly.
Applicable Delphix Versions
- Click here to view the versions of the Delphix engine to which this article applies
-
Major Release All Sub Releases 6.0 6.0.0.0, 6.0.1.0, 6.0.1.1, 6.0.2.0, 6.0.2.1, 6.0.3.0, 6.0.3.1, 6.0.4.0, 6.0.4.1, 6.0.4.2, 6.0.5.0, 6.0.6.0, 6.0.6.1, 6.0.7.0, 6.0.8.0, 6.0.8.1, 6.0.9.0, 6.0.10.0, 6.0.10.1 5.3
5.3.0.0, 5.3.0.1, 5.3.0.2, 5.3.0.3, 5.3.1.0, 5.3.1.1, 5.3.1.2, 5.3.2.0, 5.3.3.0, 5.3.3.1, 5.3.4.0, 5.3.5.0, 5.3.6.0, 5.3.7.0, 5.3.7.1, 5.3.8.0, 5.3.8.1, 5.3.9.0 5.2
5.2.2.0, 5.2.2.1, 5.2.3.0, 5.2.4.0, 5.2.5.0, 5.2.5.1, 5.2.6.0, 5.2.6.1
Resolution
To resolve this issue:
- Determine the exact parameters from the Source Database by connecting to the Source Database using $ORACLE_HOME/bin/sqplus / as sysdba.
- Use the following "show parameter" or "select" statements and record the values. When entering these values into Delphix, the values must be entered exactly as what is configured in the database.
SQL> show parameter DB_UNIQUE_NAME
SQL> show parameter DB_NAME
SQL> show parameter INSTANCE_NAME
alternatively:
SQL> select INSTANCE_NAME, INSTANCE_NUMBER from v$instance;
SQL> select DB_UNIQUE_NAME,NAME from v$database;
- Record obtained values.
- Login to the Delphix Management application.
- Delete the Linked Database in UI or CLI
- Delete manually added Source Database under the appropriate Oracle Home
- Re-add the Source Database using previously recorded values using following steps:
Login to the Delphix Management application.
- Click Manage.
- Select Environments.
- Select the Environment.
- Click the Databases tab.
- Choose the installation home where the database is installed.
- Click the Plus icon.
- Fill in the dialog box with the requested parameters.
Related Articles
- Following link from the Delphix documentation on how to "Adding a Database to an Oracle Environment" for Release 5.3X
https://docs.delphix.com/docs539/delphix-administration/oracle-environments-and-data-sources/managing-oracle-environments/adding-a-database-to-an-oracle-environment - Following link from the Delphix documentation on how to "Adding a Database to an Oracle Environment" for Release 6.0.X
https://docs.delphix.com/docs/datasets/oracle-environments-and-data-sources/managing-oracle-environments-and-hosts/adding-a-database-to-an-oracle-environment