بتاريخ: 20 يوليو 201015 سنة comment_197061 Installation (Oracle 11g on Linux)This example will illustrate the installation of Oracle GoldenGate on an RHEL 5 platform. We had in an earlier post discussed the architecture and various components of a GoldenGate environment.Select the Product Pack “Oracle Fusion Middleware” and the platform Linux X86-64.Then select “Oracle GoldenGate on Oracle Media Pack for Linux x86-64″ and since we are installing this for an Oracle 11g database, we download “Oracle GoldenGate V10.4.0.x for Oracle 11g 64bit on RedHat 5.0″$ unzip V18159-01.zipArchive: V18159-01.zipinflating: ggs_redhatAS50_x64_ora11g_64bit_v10.4.0.19_002.tar$tar -xvof ggs_redhatAS50_x64_ora11g_64bit_v10.4.0.19_002.tar$ export PATH=$PATH:/u01/oracle/ggs$ export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/u01/oracle/ggs$ ggsciOracle GoldenGate Command Interpreter for OracleVersion 10.4.0.19 Build 002Linux, x64, 64bit (optimized), Oracle 11 on Sep 17 2009 23:51:28Copyright © 1995, 2009, Oracle and/or its affiliates. All rights reserved.GGSCI (redhat346.localdomain) 1>GGSCI (redhat346.localdomain) 1> CREATE SUBDIRSCreating subdirectories under current directory /u01/app/oracle/product/11.2.0/dbhome_1Parameter files /u01/oracle/ggs/dirprm: createdReport files /u01/oracle/ggs/dirrpt: createdCheckpoint files /u01/oracle/ggs/dirchk: createdProcess status files /u01/oracle/ggs/dirpcs: createdSQL script files /u01/oracle/ggs/dirsql: createdDatabase definitions files /u01/oracle/ggs/dirdef: createdExtract data files /u01/oracle/ggs/dirdat: createdTemporary files /u01/oracle/ggs/dirtmp: createdVeridata files /u01/oracle/ggs/dirver: createdVeridata Lock files /u01/oracle/ggs/dirver/lock: createdVeridata Out-Of-Sync files /u01/oracle/ggs/dirver/oos: createdVeridata Out-Of-Sync XML files /u01/oracle/ggs/dirver/oosxml: createdVeridata Parameter files /u01/oracle/ggs/dirver/params: createdVeridata Report files /u01/oracle/ggs/dirver/report: createdVeridata Status files /u01/oracle/ggs/dirver/status: createdVeridata Trace files /u01/oracle/ggs/dirver/trace: createdStdout files /u01/oracle/ggs/dirout: createdWe then need to create a database user which will be used by the GoldenGate Manager, Extract and Replicat processes. We can create individual users for each process or configure just a common user – in our case we will create the one user GGS_OWNER and grant it the required privileges.SQL> create tablespace ggs_data2 datafile ‘/u02/oradata/gavin/ggs_data01.dbf’ size 200m;SQL> create user ggs_owner identified by ggs_owner2 default tablespace ggs_data3 temporary tablespace temp;User created.SQL> grant connect,resource to ggs_owner;Grant succeeded.SQL> grant select any dictionary, select any table to ggs_owner;Grant succeeded.SQL> grant create table to ggs_owner;Grant succeeded.SQL> grant flashback any table to ggs_owner;Grant succeeded.SQL> grant execute on dbms_flashback to ggs_owner;Grant succeeded.SQL> grant execute on utl_file to ggs_owner;Grant succeeded.We can then confirm that the GoldenGate user we have just created is able to connect to the Oracle database$ ggsciOracle GoldenGate Command Interpreter for OracleVersion 10.4.0.19 Build 002AIX 5L, ppc, 64bit (optimized), Oracle 11 on Sep 17 2009 23:54:16Copyright © 1995, 2009, Oracle and/or its affiliates. All rights reserved.GGSCI (devu007) 1> DBLOGIN USERID ggs_owner, PASSWORD ggs_ownerSuccessfully logged into database.We also need to enable supplemental logging at the database level otherwise we will get this error when we try to start the Extract process -2010-02-08 13:51:21 GGS ERROR 190 No minimum supplemental logging is enabled. This may cause extract process to handle key update incorrectly if keycolumn is not in first row piece.2010-02-08 13:51:21 GGS ERROR 190 PROCESS ABENDING.SQL> ALTER DATABASE ADD SUPPLEMENTAL LOG DATA (ALL) COLUMNS;Database alteredComing Next! – configuring the Manager, Extract and Replicat processes and setting up online Change Synchronization تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.