Monitor installation and startup
It can take up to 20 minutes for the Grid Infrastructure (GI) installation to complete. SSH into node1 of the Primary cluster and Standby cluster in single- or multi-region configurations, Primary cluster if primary only configuration, or Standby cluster if Standby only configuration. to monitor this process.
Establish ACFS replication for independently created clusters
If you've just configured and installed a Single-region Standby Cluster only or Single-region Primary Cluster only deployment, follow the instructions below to establish ACFS replication between independently created primary and standby clusters.
You can run /u01/oracle/scripts/hybrid_replconfig.sh
to
establish ACFS replication between independently created Primary and Standby
clusters.
This script:
- (Optional) Enables password less SSH for grid user for all nodes in both clusters.
- Initiates ACFS replication between the Primary and Standby cluster.
- Updates Standby cluster GoldenGate XAG resource configurations if they're are different from the Primary cluster. For example, the Service Manager port, configuration and var directories.
- Generates and pushes Nginx configuration file to all Standby cluster nodes, and then restarts Nginx on these nodes so that Nginx references the new configuration file.
- Verifies that ACFS replication is healthy and all the GGHub Standby cluster resources are in expected the state.
Tip:
Before you begin, ensure that you:- Add the XAG path to the
root
userPATH
for all nodes of the primary and standby clusters. - Set
OGG_HOME
for theoracle
user for all nodes of the primary and standby clusters.
This script takes the following inputs:
Parameter | Parameter description/example |
---|---|
-p |
Required. Primary cluster host names. Example: |
-s |
Required. Standby cluster host names. Example: |
-a |
Required. Primary cluster VIP DNS name. Example: |
-b |
Required. Standby cluster VIP DNS name. Example: |
-u |
Optional. SSH username to connect to clusters from
client host. This user should have sudo privileges.
Default: opc Example: |
-m |
Optional. ACFS mount point.
Example:
|
-d |
Optional. GoldenGate deployment name.
Example: |
-e |
Optional. Enable passwordless SSH. Enter
n to skip enabling passwordless SSH for the grid
user. Default: y Example: |
-h |
Optional. Show Help. |
Run the script on a client host configured to SSH. For example:
hybrid_replconfig.sh -p oggcla1-node1,oggcla1-node2 -s oggclb2-node1,oggclb2-node2 -a oggcla1.cluster.ggoraclevcn.com -b oggclb2.cluster.ggoraclevcn.com -m /mnt/acfs_gg1 -d Marketplace -u opc -e n
If you don't input the ACFS mount point or GoldenGate deployment name, the script prompts you with a mount point or deployment name retrieved from the cluster resource details so that you can select them or enter your preference.
#### ACFS replication and GoldenGate configuration successful between Primary and Standby cluster ####
Verify VIP and ACFS failover
/u01/oracle/scripts/verify_vip_and_acfs_failover.sh
script to
validate the configuration.
WARNING:
Running the script could trigger an ACFS role reversal by changing the ACFS replication sites.verify_vip_and_acfs_failover.sh [-m <ACFS mount point>] [-d <Goldengate deployment name>] [-r <Application VIP resource name>] [-h]
Example:
verify_vip_and_acfs_failover.sh -m /mnt/acfs_gg1 -d Marketplace