ADD DISTPATH
Use ADD DISTPATH to create a distribution path. Distribution
paths are created to link the Distribution Service of one deployment to the Receiver Service
of another deployment, in order to send trails from the source to that target
deployment.
Syntax
ADD DISTPATH path-name
SOURCE source-uri
TARGET target-uri|
[TARGETTYPE ( MANAGER | COLLECTOR | RECVSRVR )] |
AUTHENTICATION ( OAUTH
| (CERTIFICATE certificate-name)
| (USERIDALIAS alias [DOMAIN domain])
| [ENCRYPTIONPROFILE encryption-profile-name ]
-
path-name -
The unique name of the distribution path you want to add.
-
source-uri -
Specifies the source URI after the source keyword to indicate where the data is originated. The format of this URI contains the protocol (only supports trail), hostname, port number of the Distribution Service, and location of the source trail files.
-
target-uri -
Specifies the target URI after the target keyword to indicate where the data will be sent to. The format of this URI is:
a supported protocol,
udt,ogg, web socketws, or secure web socketwssa hostname,
the port number of the Receiver Service,
and the location of the target trail files.
-
TARGETTYPE -
Specifies the target type in case the distribution path uses the legacy protocol. This argument is only valid if the target URI schema is
ogg://.Choose
MANAGERif the target is a legacy deployment with a manager running.Choose
COLLECTORif the target is a legacy deployment with a static collector running.Choose
RECVSRVRif the target is an Microservices Architecture deployment with a Receiver Service running.
-
AUTHENTICATION OAUTH -
Use this option if you are using external Identity Provider (IDCS) authorization profile. This will set up the flow from the Distribution Service to the Receiver Service.
Note:
If your deployment is enabled for IDCS, you can still choose to authentication using other authentication options.
-
AUTHENTICATION CERTIFICATE certificate-name -
Identifier of distribution path-specific client certificate uploaded and managed in Administration Service.
Examples
-
ADD DISTPATH dpe SOURCE trail://localhost:9002/services/v2/sources?trail=ea TARGET wss://localhost:9003/services/v2/targets?trail=ea -
The target trail must specify the directory that contains your trail files. The default
dirdatdirectory is used in this example.ADD DISTPATH dpe SOURCE trail://localhost:9002/services/v2/sources?trail=ea TARGET ogg://localhost:9003/services/v2/targets?trail=dirdat/eb TARGETTYPE MANAGER -
A fully-qualified
DBLOGIN USERIDALIAS.ADD DISTPATH dpe SOURCE ... TARGET ws://recvsrvr-host:recvsrvr-port ... AUTHENTICATION USERIDALIAS target-dblogin-useridalias DOMAIN target-domain -
A
DBLOGIN USERIDALIASfrom a default domain.ADD DISTPATH dpe SOURCE ... TARGET wss://recvsrvr-host:recvsrvr-port ...An exmaple of this implementation is:ADD DISTPATH dpe SOURCE ... TARGET wss://recvsrvr-host:recvsrvr-port ... AUTHENTICATION USERIDALIAS ggeast DOMAIN OracleGoldenGate -
You can alternatively choose to run the command with
base64-encoded user:passwordfor authenticating with theUSERIDALIASthat is managed in the credential store.ADD DISTPATH dpe SOURCE ... TARGET ws://webuser:webpass@recvsrvr-host:recvsrvr-port...In this example,
webuseris the user andwebpassis the password.