SlideShare uma empresa Scribd logo
1 de 23
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

Mais conteúdo relacionado

Mais procurados

Hammock, a Good Place to Rest
Hammock, a Good Place to RestHammock, a Good Place to Rest
Hammock, a Good Place to RestStratoscale
 
Fits Like Lego - 5 Ways to Deploy Guest Networking over OpenStack Neutron
Fits Like Lego - 5 Ways to Deploy Guest Networking over OpenStack NeutronFits Like Lego - 5 Ways to Deploy Guest Networking over OpenStack Neutron
Fits Like Lego - 5 Ways to Deploy Guest Networking over OpenStack NeutronStratoscale
 
Terraform 101: What's infrastructure as code?
Terraform 101: What's infrastructure as code?Terraform 101: What's infrastructure as code?
Terraform 101: What's infrastructure as code?GDX Wu
 
SkySQL & MariaDB What's all the buzz?
SkySQL & MariaDB What's all the buzz?SkySQL & MariaDB What's all the buzz?
SkySQL & MariaDB What's all the buzz?Ivan Zoratti
 
Introduction to ZooKeeper - TriHUG May 22, 2012
Introduction to ZooKeeper - TriHUG May 22, 2012Introduction to ZooKeeper - TriHUG May 22, 2012
Introduction to ZooKeeper - TriHUG May 22, 2012mumrah
 
Openstack meetup amsterdam (1)
Openstack meetup amsterdam (1)Openstack meetup amsterdam (1)
Openstack meetup amsterdam (1)Pablo Sanchez
 
Red Hat Forum Tokyo - OpenStack Architecture Design
Red Hat Forum Tokyo - OpenStack Architecture DesignRed Hat Forum Tokyo - OpenStack Architecture Design
Red Hat Forum Tokyo - OpenStack Architecture DesignDan Radez
 
Mike Guthrie - Revamping Your 10 Year Old Nagios Installation
Mike Guthrie - Revamping Your 10 Year Old Nagios InstallationMike Guthrie - Revamping Your 10 Year Old Nagios Installation
Mike Guthrie - Revamping Your 10 Year Old Nagios InstallationNagios
 
openstack源码分析(1)
openstack源码分析(1)openstack源码分析(1)
openstack源码分析(1)cannium
 
Introduction to Apache ZooKeeper
Introduction to Apache ZooKeeperIntroduction to Apache ZooKeeper
Introduction to Apache ZooKeeperknowbigdata
 
How to make a simple cheap high availability self-healing solr cluster
How to make a simple cheap high availability self-healing solr clusterHow to make a simple cheap high availability self-healing solr cluster
How to make a simple cheap high availability self-healing solr clusterlucenerevolution
 
Time series with apache cassandra strata
Time series with apache cassandra   strataTime series with apache cassandra   strata
Time series with apache cassandra strataPatrick McFadin
 
Deploying and managing SolrCloud in the cloud using the Solr Scale Toolkit
Deploying and managing SolrCloud in the cloud using the Solr Scale ToolkitDeploying and managing SolrCloud in the cloud using the Solr Scale Toolkit
Deploying and managing SolrCloud in the cloud using the Solr Scale Toolkitthelabdude
 
tow nodes Oracle 12c RAC on virtualbox
tow nodes Oracle 12c RAC on virtualboxtow nodes Oracle 12c RAC on virtualbox
tow nodes Oracle 12c RAC on virtualboxjustinit
 
The 2nd half. Scaling to the next^2
The 2nd half. Scaling to the next^2The 2nd half. Scaling to the next^2
The 2nd half. Scaling to the next^2Haggai Philip Zagury
 
How to integrate_custom_openstack_services_with_devstack
How to integrate_custom_openstack_services_with_devstackHow to integrate_custom_openstack_services_with_devstack
How to integrate_custom_openstack_services_with_devstackSławomir Kapłoński
 
Openstack Scheduler and Scalability Issue
Openstack Scheduler and Scalability IssueOpenstack Scheduler and Scalability Issue
Openstack Scheduler and Scalability IssueVigneshvar A.S
 

Mais procurados (20)

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

Semelhante a Oracle goldengate and RAC12c

Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1Voeurng Sovann
 
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1Osama Mustafa
 
gDBClone - Database Clone “onecommand Automation Tool”
gDBClone - Database Clone “onecommand Automation Tool”gDBClone - Database Clone “onecommand Automation Tool”
gDBClone - Database Clone “onecommand Automation Tool”Ruggero Citton
 
Create your oracle_apps_r12_lab_with_less_than_us1000
Create your oracle_apps_r12_lab_with_less_than_us1000Create your oracle_apps_r12_lab_with_less_than_us1000
Create your oracle_apps_r12_lab_with_less_than_us1000Ajith Narayanan
 
Install elasticsearch, logstash and kibana
Install elasticsearch, logstash and kibana Install elasticsearch, logstash and kibana
Install elasticsearch, logstash and kibana Chanaka Lasantha
 
Install Oracle 12c Golden Gate On Oracle Linux
Install Oracle 12c Golden Gate On Oracle LinuxInstall Oracle 12c Golden Gate On Oracle Linux
Install Oracle 12c Golden Gate On Oracle LinuxArun Sharma
 
Oracle cluster installation with grid and iscsi
Oracle cluster  installation with grid and iscsiOracle cluster  installation with grid and iscsi
Oracle cluster installation with grid and iscsiChanaka Lasantha
 
Shopping for Vulnerabilities - How Cloud Service Provider Marketplaces can He...
Shopping for Vulnerabilities - How Cloud Service Provider Marketplaces can He...Shopping for Vulnerabilities - How Cloud Service Provider Marketplaces can He...
Shopping for Vulnerabilities - How Cloud Service Provider Marketplaces can He...Tenchi Security
 
Shopping for Vulnerabilities - How Cloud Service Provider Marketplaces can He...
Shopping for Vulnerabilities - How Cloud Service Provider Marketplaces can He...Shopping for Vulnerabilities - How Cloud Service Provider Marketplaces can He...
Shopping for Vulnerabilities - How Cloud Service Provider Marketplaces can He...Alexandre Sieira
 
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle ClusterwareManaging Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle ClusterwareLeighton Nelson
 
Master your java_applications_in_kubernetes
Master your java_applications_in_kubernetesMaster your java_applications_in_kubernetes
Master your java_applications_in_kubernetesAndy Moncsek
 
Schema replication using oracle golden gate 12c
Schema replication using oracle golden gate 12cSchema replication using oracle golden gate 12c
Schema replication using oracle golden gate 12cuzzal basak
 
Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0Santosh Kangane
 
Taming the Cloud Database with Apache jclouds, ApacheCon Europe 2014
Taming the Cloud Database with Apache jclouds, ApacheCon Europe 2014Taming the Cloud Database with Apache jclouds, ApacheCon Europe 2014
Taming the Cloud Database with Apache jclouds, ApacheCon Europe 2014zshoylev
 
6 Months Sailing with Docker in Production
6 Months Sailing with Docker in Production 6 Months Sailing with Docker in Production
6 Months Sailing with Docker in Production Hung Lin
 
Best practices for optimizing Red Hat platforms for large scale datacenter de...
Best practices for optimizing Red Hat platforms for large scale datacenter de...Best practices for optimizing Red Hat platforms for large scale datacenter de...
Best practices for optimizing Red Hat platforms for large scale datacenter de...Jeremy Eder
 
[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview
[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview
[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis OverviewLeo Lorieri
 
JavaOne 2014: Taming the Cloud Database with jclouds
JavaOne 2014: Taming the Cloud Database with jcloudsJavaOne 2014: Taming the Cloud Database with jclouds
JavaOne 2014: Taming the Cloud Database with jcloudszshoylev
 
Django deployment with PaaS
Django deployment with PaaSDjango deployment with PaaS
Django deployment with PaaSAppsembler
 
Oracle cluster installation with grid and nfs
Oracle cluster  installation with grid and nfsOracle cluster  installation with grid and nfs
Oracle cluster installation with grid and nfsChanaka Lasantha
 

Semelhante a Oracle goldengate and RAC12c (20)

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

Último

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 

Último (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 

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 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
  • 23. Q/A