For more information about installing and using Oracle GoldenGate in a cluster, see the Oracle Maximum Availability Architecture Best Practices at:
http://www.oracle.com/technetwork/database/features/availability/fusion-middleware-maa-155387.html.
Topics:
Parent topic: Understanding Components and Other Environments
Oracle GoldenGate can be used with any cluster-management solution that has the ability to automate failover. The Oracle Clusterware solution provides the advantage of being able to be used with or without an Oracle RAC database, which enables you to include any non-database servers that are running Oracle GoldenGate.
Parent topic: Oracle GoldenGate in Clustered Environments
Note:
This section is applicable to Oracle GoldenGate Classic Architectureonly.
To ensure High Availability with Oracle GoldenGate it is recommended install the Oracle GoldenGate binaries on local storage for each node in the cluster. With a local node installation it is possible to patch and upgrade the Oracle GoldenGate software on one or more nodes in the cluster without affecting the node where Oracle GoldenGate is currently running. Then at a predetermined time, Oracle GoldenGate can be switched to one of the upgraded nodes.
To enable Oracle GoldenGate to run on any of the clustered nodes there is a requirement to place certain directories on shared storage. This provides the ability of the GoldenGate processes to restart from its last known position when running on a different node in the cluster.
When running Oracle GoldenGate in this manner follow these recommendations:
The Oracle GoldenGate installation must have the same location path on every node.
At minimum, install the following directories on the shared storage to support Oracle GoldenGate recovery requirements. On UNIX or Linux, you can create symbolic links to them from the installation directory on each node.
br
dirchk
dirdat
dirbdb
dirprm
These directories are among those created when you issue CREATE SUBDIRS
during installation.
Parent topic: Installing Oracle GoldenGate Within a Cluster
You will need to install at least some Oracle GoldenGate directories on shared storage. Select cluster-aware shared storage that is independent of, but available to, all nodes of the cluster. You could use any of the following example Oracle cluster storage options:
Oracle Database File System (DBFS) reates a standard file system interface on top of files and directories that are stored in database tables. DBFS is similar to NFS in that it provides a shared network file system that looks like a local file system and has both a server component and a client component. Because the files are stored inside the database they are protected using the database backup and recovery features, along with High Availability using Oracle Data Guard.
Oracle Storage Management Cluster File System is a multi-platform, scalable file system, and storage management technology that extends Oracle Automatic Storage Management functionality to provide a POSIX compatible file system.
Oracle ZFS - Using an Oracle ZFS Appliance that can be mounted from each node in the cluster using the NFS protocol.
Parent topic: Installing Oracle GoldenGate Within a Cluster
Log into one of the nodes in the cluster.
Choose a drive for the Oracle GoldenGate installation location. This drive must be a resource within the same cluster group that contains the database instance.
Ensure that this cluster group is owned by the cluster node that you are logging into.
Install Oracle GoldenGate according to Installing the Oracle GoldenGate Files.
Parent topic: Oracle GoldenGate in Clustered Environments
If you installed Oracle GoldenGate in a cluster, use the following steps to integrate Oracle GoldenGate within the cluster solution:
Parent topic: Oracle GoldenGate in Clustered Environments
These instructions apply generically and may not be applicable to your specific cluster system.
You must meet the following requirements when integration Oracle GoldenGate into a cluster:
Register the Oracle GoldenGate Manager process (and only Manager) as a cluster-managed resource as you would any other application. Manager must be the only Oracle GoldenGate process that the cluster-management software starts and stops, because it is the parent process that manages all other processes.
If the cluster uses a virtual IP address, you may need to obtain an available fixed IP address for the Manager process. The VIP must be an available IP address on the public subnet and cannot be determined through DHCP. In the parameter files of the Extract data pumps, specify the VIP of the remote Manager as the input value of the RMTHOST
parameter. Other Oracle GoldenGate products that access Manager also should use the VIP.
Make certain that all nodes in the cluster have synchronized system clocks. The clocks must be synchronized with the clock on the system where Extract is executed. Oracle GoldenGate compares the time of the local system to the commit timestamps to make critical decisions. For information about synchronizing system clocks, consult your system administrator.
When you configure Manager, add the AUTOSTART
and AUTORESTART
parameters so that Manager starts the replication processes automatically. You can, when needed, control Extract, Replicat, and other Oracle GoldenGate processes from within the Oracle GoldenGate user interfaces.
Mount the shared drive on one node only. This prevents processes from being started on another node. Use the same mount point on all nodes.
Configure Oracle GoldenGate as appropriate for your environment.
Parent topic: Integrating into a Cluster
When installing Oracle GoldenGate in a Windows cluster, follow these instructions to establish Oracle GoldenGate as a cluster resource and configure the Manager service correctly on all nodes.
In the cluster administrator, add the Manager process to the group that contains the database instance to which Oracle GoldenGate will connect.
Make sure all nodes on which Oracle GoldenGate will run are selected as possible owners of the resource.
Make certain the Manager Windows service has the following dependencies (configurable from the Services control panel):
The database resource
The disk resource that contains the Oracle GoldenGate directory
The disk resource that contains the database transaction log files
The disk resource that contains the database transaction log backup files
Parent topic: Integrating into a Cluster