The standby site of Oracle Data Guard/Oracle Active Data Guard can be operated on the cluster system by using PRIMECLUSTER Wizard for Oracle.
This software provides the following features:
Feature | Description |
---|---|
Environment Setup | Environment setup tool to enable clustering of Oracle database |
Monitoring | Daemon processes to monitor Oracle instance, Listener and detect their failures |
Start and Stop Control | Scripts used for startup and stop of Oracle instances, Listeners |
Setup and Operation Commands | Commands used for setup and operations |
Environment Setup
RMS Wizard allows you to set up the REDOApply setting in the standby database. For details, refer to "F.2 Oracle Environment Setting".
Monitoring
PRIMECLUSTER Wizard for Oracle provides daemon processes to monitor Oracle instances and Listeners and detect their failures. If errors are detected in monitoring, Oracle instances and Listeners are restarted and a failover occurs automatically. For details, refer to "F.3 Operation".
Oracle instance Monitoring
The daemon processes monitor Oracle instances in the following way.
Primary Site (Role is "PRIMARY")
The Monitoring of the primary site is same as does not use Oracle Data Guard of "1.1 Feature Outline".
Process Monitoring
The daemon process connects to the Oracle instance as the SYSTEM user and cyclically monitors Oracle background processes (PMON, SMON, DBWn, LGWR and CKPT).
Table Monitoring
The daemon process creates a table for monitoring and cyclically manipulates data on the table with SQL statements (INSERT, UPDATE, DELETE and COMMIT). It checks the SQL execution result to monitor Oracle instances. Therefore, it means that not only the background process failures but also logical failures can be detected.
Standby Site(Role is "PHYSICAL STANDBY" or "LOGICAL STANDBY" or "SNAPSHOT STANDBY")
The daemon process connects to the Oracle instance using SYSDBA privilege ("/ as sysdba") and cyclically monitors Oracle background processes (PMON, SMON, DBWn, LGWR and CKPT).
Listener Monitoring
The daemon process monitors a Listener process in the following way. The Monitoring of the primary site and the standby site is same as does not use Oracle Data Guard of "1.1 Feature Outline".
Process Monitoring
The daemon process cyclically monitors Listener process.
Tnsping command
The daemon process cyclically executes the tnsping command to check that Oracle Net Services are running.
Start and Stop Control
PRIMECLUSTER Wizard for Oracle provides scripts to start up and stop Oracle instances and Listeners automatically, according to the state transition of userApplication. For details, refer to "F.3 Operation".
Oracle instance Start and Stop
Primary Site (Role is "PRIMARY")
Start and Stop Control of the primary site and the standby site is same as does not use Oracle Data Guard of "1.1 Feature Outline".
Start Oracle instance to "OPEN" status.
When stopping, the scripts stop the instance in the IMMEDIATE mode. If it fails, the script immediately tries in the ABORT.
Standby Site (Role is "PHYSICAL STANDBY" or "LOGICAL STANDBY" or "SNAPSHOT STANDBY")
Start Oracle instance to "MOUNTED" or "OPEN" status, and start apply service. Apply service is not monitored, and redo transport services are not controlled.
When stopping, the scripts stop the instance in the IMMEDIATE mode. If it fails, the script immediately tries in the ABORT. Also apply service is stopped.
Listener Start and Stop
Start and Stop of the primary site and the standby site is same as does not use Oracle Data Guard of "1.1 Feature Outline".
In standby operation, the script starts up and stops the Listener with "lsnrctl start/stop" command, checking the state.
Setup and Operation Commands
PRIMECLUSTER Wizard for Oracle provides auxiliary commands for setup and operation. For details, refer to "Chapter 4 Command".
For the operating environment of standby operation using Oracle Data Guard refer to "1.2 Operating Environment".