PRIMECLUSTER Wizard for Oracle is a software product that facilitates cluster operation management for Oracle database operating on a PRIMECLUSTER system.
The standby operation with Oracle database is enabled. The single-node cluster operation requires an operation node in which a cluster consists of one node.
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
To enable clustering of Oracle database, it is required that Oracle instances and Listeners are registered on userApplication(cluster application) as a "resource". PRIMECLUSTER Wizard for Oracle enables it. For details, refer to "Chapter 2 Environment Setup".
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 "3.1 Oracle database Control through PRIMECLUSTER Wizard for Oracle".
Oracle instance Monitoring
The daemon processes monitor Oracle instances in the following way.
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.
Listener Monitoring
The daemon process monitors a Listener process in the following way.
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 "3.1 Oracle database Control through PRIMECLUSTER Wizard for Oracle".
Oracle instance Start and Stop
In standby operation, the script starts up the Oracle instance, checking the state and recovering. For example, if the Oracle instance had failed during online backup, the scripts automatically execute "END BACKUP" during the startup.
When stopping, the scripts stop the instance in the IMMEDIATE mode. If it fails, the script immediately tries in the ABORT. It means that the failover of userApplication can be performed at high-speed.
Listener Start and Stop
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".