SlideShare a Scribd company logo
Presented by
Siraj Ahmed – Database Expert Team Lead
Sejel Technology
Date 29-Sep-2016
Time 9:00am – 4:00pm
City Jeddah
Venue Intercontinental Hotel
• RAC (Real Application Cluster)
• Integration of RAC with GG 12cIntegration of RAC with GG 12c
• ASM Cluster File System (ACFS)ASM Cluster File System (ACFS)
• Install and Configure ACFSInstall and Configure ACFS
• Install Oracle Golden GateInstall Oracle Golden Gate
• Application VIPApplication VIP
• Install the Oracle Grid Infrastructure
Bundled Agent
• Register Goldengate with the bundled
agents
• Stop/start Goldengate on one Node
• Testing RAC node down
• Oracle Real Application Clusters (Oracle RAC) enables multiple
instances that are linked by an interconnect to share access to an
Oracle database.
• In an Oracle RAC environment, Oracle Database runs on two or
more systems in a cluster while concurrently accessing a single
shared database.
• Oracle Clusterware enables servers to communicate with each
other, so that they appear to function as a collective unit.
RAC (Real Application Cluster)
• ASM Cluster File System (ACFS).
• OGG Installation
• Create the Application VIP.
• Download and install the Oracle Grid Infrastructure Bundled
Agent.
• Register Goldengate with the bundled agents using agctl utility.
• GoldenGate on RAC References
• Conclusion
Integration of RAC with GG 12c
4
ASM Cluster File System (ACFS)
5
CREATING ORACLE ASM CLUSTER FILE SYSTEMS (ACFS) ON RAC/EXADATA.
Oracle ASM Cluster File System (ACFS) is a general purpose cluster file system
implemented as part of ASM. It can be used to store almost anything, including the
database executables.
OGG v12 installation in an RAC environment requires a shared file system. It is
mandatory to have a shared filesystem. The preferred way of configuring/creating a
shared file system is, using the DBFS, NFS or ACFS.
Lets process proceed with the ACFS option.
Create and configure Oracle ACFS precisely the same on Exadata and non-Exadata
environments.
Launch the (./asmca) ASMCA tool from one of the nodes to create a volume group
(VG) and subsequently ACFS.
Install and Configure ACFS
There are typically three disk groups are already created and mounted after the basic
configuration on Exadata, shown in the following screen shot:
(1) DATAC1 (2) RECOC1 (3) DBFS_DG.
Use the DBFS_DG disk group to create the Volume and ACFS.
Click the Create button to create a new Volume
Install and Configure ACFS
Input the required
values: Name, Disk
group, Size and click
on OK button to
complete.
Install and Configure ACFS
Once the Volume is created, create an ACFS. The subsequent screenshots demonstrates the method to create the ACFS:
Go to the ASM Cluster File Systems tab and click on Create button.
Install and Configure ACFS
Click ok to complete the installation
Install and Configure ACFS
Input the appropriate values: FS type, user, group, Auto Mount enable etc.
Install Oracle GoldenGate
11
Downloaded the Oracle Golden Gate v12.1.2.0.0 from Oracle’s eDelivery site and start
over the installation procedure. Installation procedure demonstrated in the below
screen shots:
Choose the appropriate Oracle Database version for this Golden Gate installation.
Install Oracle GoldenGate
12
• Input the Software Location (must be a shared location, otherwise, your installation
you will not start).
• Port 7809 is the default port OGG manager process.
• When Start Manager option is enabled, the manager process will be automatically
started.
Click the Next button, review the Installation Summary.
Install Oracle GoldenGate
13
Successfully installed tried the dblogin option, and it worked perfectly.
Install Oracle GoldenGate
14
Create an application VIP.
The VIP will be used to access Oracle GoldenGate.
Run the appvipcfg command to create the Application VIP as below.
$GRID_HOME/bin/appvipcfg create -network=1 -ip= 192.168.66.20
-vipname=gg_vip_source -user=root
Assign an IP address to the Application VIP.
Run following command to identify the value we use for the network parameter as
well as the subnet for the VIP.
$ crsctl stat res -p |grep -ie .network -ie subnet |grep -ie name -ie subnet
NAME=ora.net1.network
USR_ORA_SUBNET=192.168.66.0
Application VIP
15
Now allow the oracle clusterware owner to run the script to start the VIP.
$GRID_HOME/bin/crsctl setperm resource gg_vip_source -u user:oracle:r-x
As the Oracle database software owner start the VIP
$GRID_HOME/bin/crsctl start resource gg_vip_source
Verify the status of the Application VIP
$GRID_HOME/bin/crsctl status resource gg_vip_source
$ ping 192.168.66.20
PING 192.168.66.20 (192.168.66.20) 56(84) bytes of data.
64 bytes from 192.168.66.20: icmp_seq=1 ttl=64 time=2.29 ms
64 bytes from 192.168.66.20: icmp_seq=2 ttl=64 time=0.389 ms
Application VIP
16
•The bundled agent for Goldengate provides integration between Oracle Goldengate and
dependent resources like the database, filesystem and the network.
•The AGCTL agent command line utility can be used to start and stop Goldengate.
•There is an xag/bin directory with the agctl executable already existing in the $GRID_HOME
root directory.
•Need to install the new bundled agent in a separate directory.
Download bundle agent>> http://www.oracle.com/technetwork/database/database-
technologies/clusterware/downloads/index.html
Install the Oracle Grid Infrastructure Bundled Agent
17
Register Goldengate with the bundled agents
18
•Register Goldengate with the bundled agents using agctl utility
•Ensure that running agctl from the downloaded bundled agent directory and not from the
$GRID_HOME/xag/bin directory or ensure that the $PATH variable has been amended as
described earlier.
•/home/oracle/xagent/bin/agctl add goldengate gg_source --gg_home
/u01/app/oracle/goldengate
Register Goldengate with the bundled agents
19
Use ‘agctl’ to start and stop Goldengate processes.
The agctl command will start the Manager process with other processes like Extract, Data
Pump and Replicat.
Check the Status –currently on node rac2
$ pwd
/home/oracle/xagent/bin
$ ./agctl status goldengate gg_source
Goldengate instance 'gg_source' is running on rac2
Stop the Goldengate environment
$ ./agctl stop goldengate gg_source
$ ./agctl status goldengate gg_source
Goldengate instance ' gg_source ' is not running
GGSCI (rac2.localdomain) 1> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER STOPPED
EXTRACT STOPPED EXT1 00:00:03 00:01:19
EXTRACT STOPPED EXTDP1 00:00:00 00:01:18
Start the Goldengate environment – note the resource has relocated to node rac1 from rac2
and the Goldengate processes on rac2 have been stopped and started on node rac1.
Stop/start Goldengate on one Node
20
$ ./agctl start goldengate gg_source
$ ./agctl status goldengate gg_source
Goldengate instance 'gg_source' is running on rac1
GGSCI (rac2.localdomain) 2> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER STOPPED
GGSCI (rac1.localdomain) 1> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT RUNNING EXT1 00:00:09 00:00:06
EXTRACT RUNNING EXTDP1 00:00:00 00:05:22
Stop/start Goldengate on one Node
21
Testing RAC node down
22
[root@rac1 ~]# shutdown -h now
Broadcast message from oracle@rac1.localdomain
[root@rac1 ~]# (/dev/pts/0) at 15:25 ...
The system is going down for halt NOW!
Connect to the surviving node rac2 and check ……
[oracle@rac2 bin]$ ./agctl status goldengate gg_source
Goldengate instance 'gg_source' is running on rac2
GGSCI (rac2.localdomain) 1> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT RUNNING EXT1 00:00:07 00:00:02
EXTRACT RUNNING EXTDP1 00:00:00 00:00:08
Q/A

More Related Content

PDF
Terraform 101
PPTX
Hostvn ceph in production v1.1 dungtq
PDF
Infrastructure as Code & Terraform 101
PPTX
Understanding DSE Search by Matt Stump
PPTX
Running High Performance & Fault-tolerant Elasticsearch Clusters on Docker
PPTX
Benchmarking Openstack Installations using Rally
PDF
How to Run Solr on Docker and Why
PDF
London open stack meet up - nov 2015
Terraform 101
Hostvn ceph in production v1.1 dungtq
Infrastructure as Code & Terraform 101
Understanding DSE Search by Matt Stump
Running High Performance & Fault-tolerant Elasticsearch Clusters on Docker
Benchmarking Openstack Installations using Rally
How to Run Solr on Docker and Why
London open stack meet up - nov 2015

What's hot (20)

PPTX
Hammock, a Good Place to Rest
PPTX
Fits Like Lego - 5 Ways to Deploy Guest Networking over OpenStack Neutron
PDF
Demystifying puppet
PDF
Terraform 101: What's infrastructure as code?
PDF
SkySQL & MariaDB What's all the buzz?
DOCX
Oracle WebLogic
PDF
Introduction to ZooKeeper - TriHUG May 22, 2012
PPTX
Openstack meetup amsterdam (1)
PDF
Red Hat Forum Tokyo - OpenStack Architecture Design
PDF
Mike Guthrie - Revamping Your 10 Year Old Nagios Installation
PDF
openstack源码分析(1)
PDF
Introduction to Apache ZooKeeper
PDF
TIAD 2016 : Using and abusing container metadata
PDF
How to make a simple cheap high availability self-healing solr cluster
PDF
Time series with apache cassandra strata
PPTX
Deploying and managing SolrCloud in the cloud using the Solr Scale Toolkit
PPTX
tow nodes Oracle 12c RAC on virtualbox
PDF
The 2nd half. Scaling to the next^2
PDF
How to integrate_custom_openstack_services_with_devstack
PDF
Openstack Scheduler and Scalability Issue
Hammock, a Good Place to Rest
Fits Like Lego - 5 Ways to Deploy Guest Networking over OpenStack Neutron
Demystifying puppet
Terraform 101: What's infrastructure as code?
SkySQL & MariaDB What's all the buzz?
Oracle WebLogic
Introduction to ZooKeeper - TriHUG May 22, 2012
Openstack meetup amsterdam (1)
Red Hat Forum Tokyo - OpenStack Architecture Design
Mike Guthrie - Revamping Your 10 Year Old Nagios Installation
openstack源码分析(1)
Introduction to Apache ZooKeeper
TIAD 2016 : Using and abusing container metadata
How to make a simple cheap high availability self-healing solr cluster
Time series with apache cassandra strata
Deploying and managing SolrCloud in the cloud using the Solr Scale Toolkit
tow nodes Oracle 12c RAC on virtualbox
The 2nd half. Scaling to the next^2
How to integrate_custom_openstack_services_with_devstack
Openstack Scheduler and Scalability Issue
Ad

Similar to Oracle goldengate and RAC12c (20)

PDF
Installing oracle grid infrastructure and database 12c r1
PDF
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
PDF
gDBClone - Database Clone “onecommand Automation Tool”
PDF
Create your oracle_apps_r12_lab_with_less_than_us1000
DOCX
Install elasticsearch, logstash and kibana
PDF
Install Oracle 12c Golden Gate On Oracle Linux
PDF
Oracle cluster installation with grid and iscsi
PDF
Shopping for Vulnerabilities - How Cloud Service Provider Marketplaces can He...
PDF
Shopping for Vulnerabilities - How Cloud Service Provider Marketplaces can He...
PPT
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
PDF
Master your java_applications_in_kubernetes
DOC
Schema replication using oracle golden gate 12c
PDF
Oracle 11g R2 RAC setup on rhel 5.0
PDF
Taming the Cloud Database with Apache jclouds, ApacheCon Europe 2014
PDF
6 Months Sailing with Docker in Production
PDF
Best practices for optimizing Red Hat platforms for large scale datacenter de...
PDF
[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview
PDF
JavaOne 2014: Taming the Cloud Database with jclouds
KEY
Django deployment with PaaS
PDF
Oracle cluster installation with grid and nfs
Installing oracle grid infrastructure and database 12c r1
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
gDBClone - Database Clone “onecommand Automation Tool”
Create your oracle_apps_r12_lab_with_less_than_us1000
Install elasticsearch, logstash and kibana
Install Oracle 12c Golden Gate On Oracle Linux
Oracle cluster installation with grid and iscsi
Shopping for Vulnerabilities - How Cloud Service Provider Marketplaces can He...
Shopping for Vulnerabilities - How Cloud Service Provider Marketplaces can He...
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Master your java_applications_in_kubernetes
Schema replication using oracle golden gate 12c
Oracle 11g R2 RAC setup on rhel 5.0
Taming the Cloud Database with Apache jclouds, ApacheCon Europe 2014
6 Months Sailing with Docker in Production
Best practices for optimizing Red Hat platforms for large scale datacenter de...
[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview
JavaOne 2014: Taming the Cloud Database with jclouds
Django deployment with PaaS
Oracle cluster installation with grid and nfs
Ad

Recently uploaded (20)

PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
A Presentation on Artificial Intelligence
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Approach and Philosophy of On baking technology
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
August Patch Tuesday
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Spectroscopy.pptx food analysis technology
PDF
Mushroom cultivation and it's methods.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
NewMind AI Weekly Chronicles - August'25-Week II
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
A Presentation on Artificial Intelligence
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Approach and Philosophy of On baking technology
OMC Textile Division Presentation 2021.pptx
August Patch Tuesday
Spectral efficient network and resource selection model in 5G networks
Network Security Unit 5.pdf for BCA BBA.
Unlocking AI with Model Context Protocol (MCP)
Diabetes mellitus diagnosis method based random forest with bat algorithm
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Mobile App Security Testing_ A Comprehensive Guide.pdf
Programs and apps: productivity, graphics, security and other tools
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Spectroscopy.pptx food analysis technology
Mushroom cultivation and it's methods.pdf

Oracle goldengate and RAC12c

  • 1. Presented by Siraj Ahmed – Database Expert Team Lead Sejel Technology Date 29-Sep-2016 Time 9:00am – 4:00pm City Jeddah Venue Intercontinental Hotel
  • 2. • RAC (Real Application Cluster) • Integration of RAC with GG 12cIntegration of RAC with GG 12c • ASM Cluster File System (ACFS)ASM Cluster File System (ACFS) • Install and Configure ACFSInstall and Configure ACFS • Install Oracle Golden GateInstall Oracle Golden Gate • Application VIPApplication VIP • Install the Oracle Grid Infrastructure Bundled Agent • Register Goldengate with the bundled agents • Stop/start Goldengate on one Node • Testing RAC node down
  • 3. • Oracle Real Application Clusters (Oracle RAC) enables multiple instances that are linked by an interconnect to share access to an Oracle database. • In an Oracle RAC environment, Oracle Database runs on two or more systems in a cluster while concurrently accessing a single shared database. • Oracle Clusterware enables servers to communicate with each other, so that they appear to function as a collective unit. RAC (Real Application Cluster)
  • 4. • ASM Cluster File System (ACFS). • OGG Installation • Create the Application VIP. • Download and install the Oracle Grid Infrastructure Bundled Agent. • Register Goldengate with the bundled agents using agctl utility. • GoldenGate on RAC References • Conclusion Integration of RAC with GG 12c 4
  • 5. ASM Cluster File System (ACFS) 5 CREATING ORACLE ASM CLUSTER FILE SYSTEMS (ACFS) ON RAC/EXADATA. Oracle ASM Cluster File System (ACFS) is a general purpose cluster file system implemented as part of ASM. It can be used to store almost anything, including the database executables. OGG v12 installation in an RAC environment requires a shared file system. It is mandatory to have a shared filesystem. The preferred way of configuring/creating a shared file system is, using the DBFS, NFS or ACFS. Lets process proceed with the ACFS option. Create and configure Oracle ACFS precisely the same on Exadata and non-Exadata environments. Launch the (./asmca) ASMCA tool from one of the nodes to create a volume group (VG) and subsequently ACFS.
  • 6. Install and Configure ACFS There are typically three disk groups are already created and mounted after the basic configuration on Exadata, shown in the following screen shot: (1) DATAC1 (2) RECOC1 (3) DBFS_DG. Use the DBFS_DG disk group to create the Volume and ACFS. Click the Create button to create a new Volume
  • 7. Install and Configure ACFS Input the required values: Name, Disk group, Size and click on OK button to complete.
  • 8. Install and Configure ACFS Once the Volume is created, create an ACFS. The subsequent screenshots demonstrates the method to create the ACFS: Go to the ASM Cluster File Systems tab and click on Create button.
  • 10. Click ok to complete the installation Install and Configure ACFS Input the appropriate values: FS type, user, group, Auto Mount enable etc.
  • 11. Install Oracle GoldenGate 11 Downloaded the Oracle Golden Gate v12.1.2.0.0 from Oracle’s eDelivery site and start over the installation procedure. Installation procedure demonstrated in the below screen shots: Choose the appropriate Oracle Database version for this Golden Gate installation.
  • 12. Install Oracle GoldenGate 12 • Input the Software Location (must be a shared location, otherwise, your installation you will not start). • Port 7809 is the default port OGG manager process. • When Start Manager option is enabled, the manager process will be automatically started. Click the Next button, review the Installation Summary.
  • 13. Install Oracle GoldenGate 13 Successfully installed tried the dblogin option, and it worked perfectly.
  • 15. Create an application VIP. The VIP will be used to access Oracle GoldenGate. Run the appvipcfg command to create the Application VIP as below. $GRID_HOME/bin/appvipcfg create -network=1 -ip= 192.168.66.20 -vipname=gg_vip_source -user=root Assign an IP address to the Application VIP. Run following command to identify the value we use for the network parameter as well as the subnet for the VIP. $ crsctl stat res -p |grep -ie .network -ie subnet |grep -ie name -ie subnet NAME=ora.net1.network USR_ORA_SUBNET=192.168.66.0 Application VIP 15
  • 16. Now allow the oracle clusterware owner to run the script to start the VIP. $GRID_HOME/bin/crsctl setperm resource gg_vip_source -u user:oracle:r-x As the Oracle database software owner start the VIP $GRID_HOME/bin/crsctl start resource gg_vip_source Verify the status of the Application VIP $GRID_HOME/bin/crsctl status resource gg_vip_source $ ping 192.168.66.20 PING 192.168.66.20 (192.168.66.20) 56(84) bytes of data. 64 bytes from 192.168.66.20: icmp_seq=1 ttl=64 time=2.29 ms 64 bytes from 192.168.66.20: icmp_seq=2 ttl=64 time=0.389 ms Application VIP 16
  • 17. •The bundled agent for Goldengate provides integration between Oracle Goldengate and dependent resources like the database, filesystem and the network. •The AGCTL agent command line utility can be used to start and stop Goldengate. •There is an xag/bin directory with the agctl executable already existing in the $GRID_HOME root directory. •Need to install the new bundled agent in a separate directory. Download bundle agent>> http://www.oracle.com/technetwork/database/database- technologies/clusterware/downloads/index.html Install the Oracle Grid Infrastructure Bundled Agent 17
  • 18. Register Goldengate with the bundled agents 18 •Register Goldengate with the bundled agents using agctl utility •Ensure that running agctl from the downloaded bundled agent directory and not from the $GRID_HOME/xag/bin directory or ensure that the $PATH variable has been amended as described earlier. •/home/oracle/xagent/bin/agctl add goldengate gg_source --gg_home /u01/app/oracle/goldengate
  • 19. Register Goldengate with the bundled agents 19 Use ‘agctl’ to start and stop Goldengate processes. The agctl command will start the Manager process with other processes like Extract, Data Pump and Replicat. Check the Status –currently on node rac2 $ pwd /home/oracle/xagent/bin $ ./agctl status goldengate gg_source Goldengate instance 'gg_source' is running on rac2
  • 20. Stop the Goldengate environment $ ./agctl stop goldengate gg_source $ ./agctl status goldengate gg_source Goldengate instance ' gg_source ' is not running GGSCI (rac2.localdomain) 1> info all Program Status Group Lag at Chkpt Time Since Chkpt MANAGER STOPPED EXTRACT STOPPED EXT1 00:00:03 00:01:19 EXTRACT STOPPED EXTDP1 00:00:00 00:01:18 Start the Goldengate environment – note the resource has relocated to node rac1 from rac2 and the Goldengate processes on rac2 have been stopped and started on node rac1. Stop/start Goldengate on one Node 20
  • 21. $ ./agctl start goldengate gg_source $ ./agctl status goldengate gg_source Goldengate instance 'gg_source' is running on rac1 GGSCI (rac2.localdomain) 2> info all Program Status Group Lag at Chkpt Time Since Chkpt MANAGER STOPPED GGSCI (rac1.localdomain) 1> info all Program Status Group Lag at Chkpt Time Since Chkpt MANAGER RUNNING EXTRACT RUNNING EXT1 00:00:09 00:00:06 EXTRACT RUNNING EXTDP1 00:00:00 00:05:22 Stop/start Goldengate on one Node 21
  • 22. Testing RAC node down 22 [root@rac1 ~]# shutdown -h now Broadcast message from [email protected] [root@rac1 ~]# (/dev/pts/0) at 15:25 ... The system is going down for halt NOW! Connect to the surviving node rac2 and check …… [oracle@rac2 bin]$ ./agctl status goldengate gg_source Goldengate instance 'gg_source' is running on rac2 GGSCI (rac2.localdomain) 1> info all Program Status Group Lag at Chkpt Time Since Chkpt MANAGER RUNNING EXTRACT RUNNING EXT1 00:00:07 00:00:02 EXTRACT RUNNING EXTDP1 00:00:00 00:00:08
  • 23. Q/A