Add a Distribution Path
When to use a Distribution Path
Use a Distribution Path when you need to replicate data in a distributed deployment environment. A Distribution Path sends the transaction of data from the Extract to the Replicat. Creating and running a Distribution Path automatically creates a Receiver Path in the target deployment's Receiver service. The Receiver Path receives the transaction of data from the source deployment's Distribution service.
The source deployment is the deployment where you create the Distribution Path. The target deployment is the deployment to which the extracted data and Trails are sent.
Before you begin
Ensure that you create GoldenGate connections for each deployment you want to connect to, and then assign them to the deployment from which the path originates. For example, the deployment where you create the Distribution Path or target-initiated Receiver Path.
Otherwise, in IAM-enabled deployments, you'll encounter the error:
The network connection could not be established: 'OGG-08654' - 'Invalid or missing OAuth
resource - audiencescope in Client application'.Create and run a Distribution Path (26ai)
- In the target deployment console, log in, and then access the User Adminstration page from the left navigation.
- Click Add New User, and then complete the following:
- Authenticated By: Select Password from the dropdown.
- Role: Select Operator from the dropdown.
- Username: Enter your username.
- Password and Verify Password: Enter the password associated with this user.
- Open the source deployment console, and then navigate to the Path Connections in the left navigation menu.
- Click Add Path Connection, and then complete the
following:
- Credential Alias: Enter an alias.
- User ID: Enter the name of the user created in step 2.
- Password and Verify Password: Enter the password associated with this user from step 2.
- Click Submit.
Create and run a Distribution Path (21c)
- In the target deployment console, log in, and then access the Administrator page from the navigation menu.
- Click Add User, and then create a user that the source deployment can use to connect to the target deployment. Assign this user the Operator role.
- Open the source deployment console, and then navigate to the Configuration page.
- Under the Database tab, click Add Credential, and then
complete the following:
- Credential Domain: Enter a name for this connection
- Credential Alias: Enter an alias
- User ID: Enter the name of the user created in step 2.
- Password and Verify Password: Enter the password associated with this user from step 2.
- Click Submit.
- In the OCI GoldenGate deployment console, click Distribution Service.
- On the Distribution Service Overview page, click Add Path (plus icon).
- On the Add Path page, complete the fields as follows:
- Under the Encryption Profile section, complete the following fields as needed:
- Under Rule-set Configuration, complete the following fields as needed:
- For Enable Filtering, if selected, click Add Rule, and then complete the additional fields.
- Under More Options, complete the following fields as needed:
- Click Create and Run.
Learn more
Interested in learning more about the Distribution Path process? Refer to the following resources:
Distribution and Receiver Paths may fail after 21.x deployments upgraded to 21.17
Beginning with Oracle GoldenGate versions 21.17 and 23ai, Paths use the default reserved domain name, "Network," so existing Paths that use any other domain name fail with the following error reported:
ERROR| Exception Message: The network connection could not be established: 'OGG-10351' - 'Generic error -1 noticed. Error description - credential store alias not found in domain.'Workaround: In the OCI GoldenGate deployment console, edit each Path and change the domain name to "Network," and then restart the Path. To verify, check the domain of the Path auth user in the Credential store section of the Configuration page.
If you prefer to use Admin Client, run the following commands to update the domain name. Ensure that you replace the <path_name> and <alias> placeholders:
For source-initiated paths:
ALTER DISTPATH <path_name> TARGET AUTHENTICATION USERIDALIAS <alias> domain
NetworkFor target-initiated paths:
ALTER RECVPATH <path_name> SOURCE AUTHENTICATION USERIDALIAS <alias> domain
Network