Installation of Oracle GoldenGate on RedHat Linux AS 4
I am going to install and configure standard GoldenGate configuration in which there is on Extract Group on the source machine, which sends the data to be replicated to the trail on the target system through normal network. On target system, the Replicat process consumes the data from the trail.
I am using 32-bit Oracle 10gR2 on both source and the target systems and the operating system is 32-bit Redhat Linux AS 4. I have created sourcedb on sourcemachine and targetdb on targetmachine. I have made sure that I can access both databases from both machines through SQLPLUS.
Then a folden 'ggs' was created in ORACLE_HOME and it is the directory where the GoldenGate will be installed, I added the path '$ORACLE_HOME/ggs' to the shared library enviornment variable LD_LIBRARY_PATH.
I opened up the terminal window, made sure that the ORACLE_HOME, ORACLE_SID, and LD_LIBRARY_PATH variables are set and then copied the downloaded the zip GoldenGate software file to ORACLE_HOME/ggs and unzipped it there.
It produced a TAR file. I untarred it by doing:
$ tar -xvof
Then I changed directories to the GoldenGate directory and started GoldenGate by doing:
$ ggsci
GGSCI> CREATE SUBDIRS
GGSCI> START MANAGER
GGSCI> EDIT PARAMS MGR
It will open a parameter file for the manager process in the vi editor, insert following line in the file and save and quit:
PORT 7809
:wq
GGSCI> STOP MANAGER
GGSCI> START MANAGER
I installed Oracle GoldenGate and configured the Manager process on both source and the target systems.
Now I will create Extract Group on the Source system. I am using the SCOTT SCHEMA and replicating the table 'dept':
1 comment:
The trail name must be two characters, eg: "rt". This creates a series of files prefixed by "rt", followed by six digits.
Post a Comment