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 (23ai)
- 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:
Known issues
To create Distribution Paths to send data to or pull data from Oracle Cloud Infrastructure GoldenGate, ensure that you add the root certificate to Certificate Management or your client wallet
To send data to or pull data from OCI GoldenGate, you must create a Distribution Server Path or a target initiated path on the Receiver Server in your on-premises or Marketplace Oracle GoldenGate, respectively. You must also add the OCI GoldenGate root certificate or self-signed certificate to your Oracle GoldenGate Certificate Management (Oracle GoldenGate 21c or higher) or client wallet (Oracle GoldenGate 19c). This creates a trusted connection between your Oracle GoldenGate and OCI GoldenGate deployments. Only WebSocket Secure (WSS) protocol is supported for Distribution and Receiver Server Paths between Oracle GoldenGate and OCI GoldenGate.
A change in the OCI GoldenGate root certificate will cause the Distribution Server Path or a target initiated path on the Receiver Server in your on-premises or Marketplace Oracle GoldenGate to fail and produce the following error:
ERROR OGG-10390 Oracle GoldenGate Receiver Service: Generic error -1 noticed for endpoint
wss://<deployment URL>:443/services/v2/sources?trail=<trail name>. Error description - SSL
connection unexpectedly closed.
Workaround: To fix this issue, update the certificate in the client wallet or Service Manager's Certificate Management screen to use the OCI GoldenGate Deployment Console root certificate. In some cases, when the OCI GoldenGate deployment’s certificate is not signed directly by the root certificate but by intermediate one(s) for example, it might be necessary to also add the intermediate CA certificate(s).
Learn more:
- For Oracle GoldenGate 19c users, see Creating a Distribution Server Path User Certificate.
- For users of Oracle GoldenGate 21c or higher, see Create a Trusted Connection Between Oracle GoldenGate and OCI GoldenGate.
Only Digest Authentication is currently supported
Oracle Cloud Infrastructure GoldenGate doesn't currently support certificate-based authentication when you use Oracle Cloud Infrastructure GoldenGate as the Distribution Path target.
Workaround: None.