Planning GGHub Placement in the Platinum MAA Architecture
MAA GGHub consists of two GGHub clusters: a primary GGHub cluster and a standby GGHub cluster.
Meet the following guidelines when deciding where to place primary and standby GGHub clusters in relation to the source primary, source standby, target primary, and target standby databases:
- Locate the primary active GGHub near the target primary database. Network round trip latency between the primary active GGHub and the target primary database must be 4ms or less to ensure acceptable GoldenGate Replicat performance.
- Network round trip latency between the primary active GGHub and the source primary database must be 90ms or less to ensure acceptable GoldenGate Extract performance. If network round trip latency exceeds 90ms then GoldenGate distribution path is required.
- When configuring bi-directional replication the guidelines above must still be met. Therefore, if the network round trip latency between the source and target databases exceeds 4ms then it is necessary to configure two active GGHub configurations in the same GGHub cluster.
The table below shows you the number of GoldenGate configurations required, based on latency between sites and GoldenGate replication directionality.
| Latency between GGHub clusters | Uni-directional GoldenGate replication | Bi-directional GoldenGate replication |
|---|---|---|
| <=4 milliseconds | 1 GoldenGate configuration in 1 GGHub | 1 GoldenGate configuration in 1 GGHub |
| >4 milliseconds | 1 GoldenGate configuration in 1 GGHub | 2 GoldenGate configurations in 1 GGHub |
MAA GGHubs Placed in the Same Data Center
In this scenario, the primary and standby database are located such that latency between GGHub clusters is less than or equal to 4 milliseconds, so the primary (active) GGHub and the standby GGHub are typically located in the same data center, in separate availability domains (ADs), as shown in the image below.
As shown below, you have the following architectural components:
- Primary database and associated standby database are configured with Oracle Active Data Guard Fast Start Failover (FSFO). FSFO can be configured with Data Guard protection mode with ASYNC or SYNC redo transport depending on your maximum data loss tolerance.
- Primary GGHub on Active/Passive Cluster: Only one GGHub
software deployment and configuration on the 2-node cluster. This
cluster contains the Oracle GoldenGate software deployment at
release 23ai or higher, that can support Oracle Database 11.2.0.4
and later database versions.
This GGHub can support many primary databases and encapsulates the GoldenGate processes: GoldenGate Extract mines transactions from the source database and GoldenGate Replicat applies the same changes to target database. GoldenGate trail and checkpoint files also reside in the GGHub ACFS file system. The HA failover solution is built in to the GGHub, which includes automatic failover to the passive node in the same cluster, and restarts GoldenGate processes and activity after a node failure.
- Standby GGHub on Active/Passive Cluster: A symmetric standby GGHub is configured. ACFS replication is set up between the primary and standby GGHubs to preserve all GoldenGate files. Manual GGHub failover, which includes ACFS failover, can be executed in the rare case that you lose the entire primary GGHub.
Figure 26-1 Primary and Standby GGHubs in the Same Data Center
The figure above depicts replicating data from Primary Database A to Primary Database B and Primary B back to Primary A with the following steps:
- Primary Database A: Primary A’s Logminer server sends redo changes to a Primary GGHub Extract process.
- Primary GGHub: An Extract process writes changes to trail files.
- Primary GGHub to Primary Database B: A Primary GGHub Replicat process applies those changes to the target database (Primary B).
- Primary Database B: Primary B’s Logminer server sends redo to a Primary GGHub Extract process.
- Primary GGHub: A Primary GGHub Extract process writes changes to trail files.
- Primary GGHub to Primary Database A: A Primary GGHub Replicat process applies those changes to the target database (Primary A).
Note that one GGHub can support multiple source and target databases, even when the source and target databases are different Oracle Database releases.
Table 26-1 Outage Scenarios, Repair, and Restoring Redundancy for GGHubs in the Same Data Center
| Outage Scenario | Application Availability and Repair | Restoring Redundancy and Pristine State |
|---|---|---|
| Primary Database A (or Database B) failure |
Impact: Near-zero application downtime. GoldenGate replication resumes when a new primary database starts.
|
|
| Primary or standby GGHub single node failure |
Impact: No application impact. GoldenGate replication resumes automatically after a couple of minutes. No action is required. The HA failover solution built in to the GGHub includes automatic failover and restart of GoldenGate processes and activity. Replication activity is blocked until GoldenGate processes are active again. GoldenGate replication blackout could last a couple of minutes. |
Once the node restarts, active/passive configuration is re-established. |
| Primary GGHub cluster crashes and is not recoverable |
Impact: No application impact. GoldenGate replication resumes after restarting the existing GGHub or executing a manual GGHub failover operation.
|
If the previous GGHub eventually restarts, ACFS replication resumes in the other direction automatically. If the GGHub cluster is lost or unrecoverable, you need to rebuild a new standby GGHub. |
| Standby GGHub cluster crashes and not recoverable |
Impact: No application or replication impact.
|
N/A |
| Availability Domain (AD1 or AD2) failure |
Impact: Near-zero application downtime. GoldenGate replication resumes when the new primary database starts.
|
|
MAA GGHubs Placed in Different Data Centers
In this scenario, the primary and standby databases are located in different data centers (latency greater than 4 milliseconds), so the primary (active) GGHub is located in the same data center as the primary database, and the standby GGHub is located in the same data center as the standby database.
As shown in the following image, you have the following architectural components:
-
The primary database and associated standby database are configured with Oracle Active Data Guard Fast Start Failover (FSFO). FSFO can be configured with Data Guard protection mode with ASYNC or SYNC redo transport depending on your maximum data loss tolerance.
-
Primary GGHubs on Active/Passive Clusters: In this configuration, there’s a 2-node cluster with two Oracle GoldenGate software configurations. Because a primary GGHub needs to be 4 milliseconds or less from the target database, and the network latency between the sites is greater than 5 miliseconds, two GGHub configurations are created for each GGHub cluster. Essentially, a primary GGHub configuration is always in the same data center as the target database.
The GGHubs are configured with an Oracle GoldenGate 26ai or higher software deployment that can support Oracle Database 11g and later releases. These GGHubs can support many primary databases and encapsulate the GoldenGate processes: Extract mines transactions from the source database, and Replicat applies those changes to the target database. GoldenGate trail and checkpoint files also reside in the ACFS file system. An HA failover solution is built in to the GGHub cluster, which includes automatic failover and restart of GoldenGate processes and activity after a node failure.
Note: Each GGHub configuration contains a GoldenGate Service Manager and deployment, ACFS file system with ACFS replication, and a separate application VIP.
-
Standby GGHubs on Active/Passive Clusters: A symmetric standby GGhub is configured in each site. ACFS replication is set up between the primary and standby GGHubs to preserve all GoldenGate files. Manual GGhub failover, which includes ACFS failover, can be executed if you lose the entire primary GGhub.
Figure 26-2 Primary and Standby GGHubs in Different Data Centers
The figure above depicts replicating data from Primary Database A to Primary Database B and Primary B back to Primary A with the following steps:
- Primary Database A: Primary A’s Logminer server sends redo changes to the GGHub Extract process on Site 2, which is on the Primary GGHub for Database A.
- Primary GGHub: The Extract process writes changes to trail files.
- Primary GGHub to Primary Database B: A GoldenGate Replicat process on Site 2 applies those changes to the target database (Primary Database B).
- Primary Database B: Primary B’s Logminer server sends redo to a GGHub Extract process on Site 1, which is on the Primary GGHub for Database B.
- Primary GGHub: The Extract process writes changes to trail files.
- Primary GGHub to Primary Database A: A GoldenGate Replicat process on Site 1 applies those changes to the target database (Primary Database A).
Table 26-2 Outage Scenarios, Repair, and Restoring Redundancy for GGHubs in Different Data Centers
| Outage Scenario | Application Availability and Repair | Restoring Redundancy and Pristine State |
|---|---|---|
| Primary Database A (or Database B) failure |
Impact: Near-zero application downtime. GoldenGate replication resumes when the new primary database starts.
|
|
| Primary or standby GGHub single node failure |
Impact: No application impact. GoldenGate replication resumes automatically after a couple of minutes. No action is required. An HA failover solution is built in to the GGHub that includes automatic failover and restart of GoldenGate processes and activity. Replication activity is blocked until GoldenGate processes are active again. GoldenGate Replication blackout could last a couple of minutes. |
Once the node restarts, active/passive configuration is re-established. |
| Primary GGHub cluster crashes and is not recoverable |
Impact: No application impact. GoldenGate replication resumes after the existing primary GGHub restarts or manual GGHub failover completes.
|
|
| Standby GGHub cluster crashes and is not recoverable |
Impact: No application or replication impact.
|
N/A |
| Complete site failure |
Impact: Near Zero Application Downtime. GoldenGate replication resumes once new primary database starts.
|
|

