User Tools

Site Tools


prod_install

Zero Downtime Database Migration

The following details the steps needed to setup bi-directional replication.
There is no database upgrade in this case.

Installation

Number Date Description Commands
112/09/2016Install GoldenGate on both hosts using shared storage visible by both RAC nodes. mkdir -p /u01/app/oracle/product/11.2.0/gg_1
Version 11.2.0.1.20 (Patch 18377868)tar -xvof fbo_ggs_Solaris_sparc_ora10g_64bit.tar
Location: and-hsk-rac10inta1 $GGHOME/fbo_ggs_Solaris_sparc_ora10g_64bit.tar./ggsci
CREATE SUBDIRS

Configuration

Number Date Description Commands
2 Configure Production instance for GoldenGate
12/09/2016Create GoldenGate Database User$GGHOME/dirsql/gg_user.sql
12/09/2016Turn Recycle Bin offalter system set recyclebin=off sid = '*';
12/09/2016Install DDL Scripts$GGHOME/dirsql/ddl_create.sql
12/09/2016Add transactional log groups for all tables in MAILONLINE, REGISTRATION, RDRCOMMENTS$GGHOME/diroby/trandata.oby
12/09/2016Create exceptions table in GGATE schema$GGHOME/dirsql/exceptions.sql
Create Database Links, Sequence Logging Tables and Scheduled Job$GGHOME/dirsql/mol_sequences_other.txt
Install Sequence Packages$GGHOME/dirsql/mol_sequences_10g.pkg

GLOBALS and MGR

Number Date Description Commands
312/09/2016Configure ./GLOBALS parameter on both databasesGLOBALS file in $GGHOME
12/09/2016Configure and Start Manager process on both databasesmgr.prm file in $GGHOME/dirprm
./ggsci and START MGR

TCP/IP Packet Size

Number Date Description Commands
412/09/2016Increase TCP/IP Packet Size on all hosts to 256Kndd -set /dev/tcp tcp_recv_hiwat 262144
ndd -set /dev/tcp tcp_xmit_hiwat 262144
Also add details to /etc/rc2.d/S99ndd

Create Clusterware Resource

Number Date Description Commands
513/09/2016Configure GoldenGate as a Clusterware Resource on production/replication serversSee Document Oracle GoldenGate and RAC High Availability

Configure Extract / Data Pump

Number Date Description Commands
613/09/2016Configure Extract / Data Pump processes on and-hsk-raca1/2Parameter files in $GGHOME/diroby
13/09/2016REGISTRATION SchemaObey files in $GGHOME/diroby
14/09/2016MAILONLINE Schema
15/09/2016RDRCOMMENTS Schema
19/09/2016All Other Schemas

Create Data Guard

Number Date Description Commands
7 Setup Data Guard on moldbb1/2

Failover Data Guard

Number Date Description Commands
819/09/2016Convert Data Guard to Read/Write using Failover Methodalter database recover managed standby database cancel;
srvctl stop instance -d moldbb -i moldbb2
alter database recover managed standby database finish force;
alter database activate physical standby database;
alter database open;

Scheduled Jobs

Number Date Description Commands
919/09/2016Turn off scheduled jobs on moldbb1/2 exec dbms_scheduler.disable('MO_NIGHTLY_CHAIN_1_JOB');
exec dbms_scheduler.disable('VIDEO_MAINTENANCE');

Configure/Start Replication

Number Date Description Commands
1019/09/2016Configure Replicat process on moldbb1/2Parameter files in $GGHOME/dirprm
Obey files in $GGHOME/diroby
19/09/2016Start replicat process at SCN from select statementselect standby_became_primary_scn from v$database;
start replicat repmol01 atcsn <SCN>

Configure for Bi-Directional

Number Date Description Commands
1120/09/2016Configure Extract / Data Pump processes on moldbd1Parameter files in $GGHOME/dirprm
21/09/2016Configure Replicat process on and-hsk-raca1/2 (DO NOT START)Obey files in $GGHOME/diroby
21/09/2016REGISTRATION Schema
22/09/2016MAILONLINE Schema
26/09/2016RDRCOMMENTS Schema
27/09/2016All Other Schemas
prod_install.txt · Last modified: 2021/12/06 11:30 by 127.0.0.1