This is a relatively easier step and is done at the source database.
The extract (in the previous post) and the Data Pump extract should be running on the source.
The role of the DP extract is to transfer the files from the local location (where extract is writing to) and push it to the remote server. Therefore it is only logical that it should have 2 directories and a remote server name to work on.
First and foremost, decide a name for the DP extract process. In my example I have named it as DPATHDV.
Please go to dirprm directory under the folden gate home and create a file called dpathdv.prm with the following content.
+++++++++++++++++++++++++++++++++++++++++++
extract dpathdv
passthru
rmthost <remote server name>,mgrport 7809
rmttrail /oracle/software/goldengate/11.1.1.1/dirdat/at
table scott.*;
+++++++++++++++++++++++++++++++++++++++++++++++
Port 7809 is the default port where the manager process is listening on the remote server.Please ensure that the manager process is running to receive the files.
Also /oracle/software/goldengate/11.1.1.1/dirdat is the directory in the remote server and files will be pushed with a name starting with "at" .
Now login , into ggsci
1.
add extract dpathdv,exttrailsource /oracle/goldengatedata/dirdat/at
The above directory is the local directory
2. add rmttrail /oracle/software/goldengate/11.1.1.1/dirdat/at,extract dpathdv,megabytes 250
The above directory is remote directory (which is also mentioned in the prm file).
3. Start the DP extract
start ext dpathdv
GGSCI (jupiter) 12> info all
Program Status Group Lag Time Since Chkpt
MANAGER RUNNING
EXTRACT RUNNING DPATHDV 00:00:00 00:00:04
EXTRACT RUNNING XTATHDV 00:00:00 00:00:01
GGSCI (jupiter) 13>
The above shows that both extract and DP extract is running on the source database.
No comments:
Post a Comment