Top
PRIMECLUSTER Wizard for Oracle 4.3 Configuration and Administration Guide

3.1.1 Standby Operation

This section discusses how PRIMECLUSTER Wizard for Oracle controls Oracle in standby operation.

Oracle startup

Oracle is started through a shell script. The startup procedure is as follows:

  1. su - <Oracle user>

  2. sqlplus / nolog

  3. connect / as sysdba

  4. startup nomount or startup mount

  5. alter database mount (if “startup nomount” was executed at step 4.)

  6. alter database open

Oracle shutdown

  1. su - <Oracle user>

  2. sqlplus / nolog

  3. connect / as sysdba

  4. shutdown <immediate / abort / transactional> (Setup with StopModeStop)
    Default : immediate

  5. If Oracle is not stopped at step 4 (except for abort), use shutdown abort.

  6. If Oracle is not stopped at step 4 or step 5, shut it down forcibly by sending SIGKILL to the background process.

  1. su - <Oracle user>

  2. sqlplus / nolog

  3. connect / as sysdba

  4. shutdown <immediate / abort / transactional> (Setup with StopModeFail)
    Default : abort

  5. If Oracle is not stopped at step 4 (except for abort), use shutdown abort.

  6. If Oracle is not stopped at step 4, shut it down forcibly by sending SIGKILL to the background process.

Oracle monitoring

Oracle is monitored through binary programs. The monitoring procedure is as follows:

  1. Check the background process (PMON, SMON) periodically. If the process status can be confirmed, go to step 2.

  2. su - <Oracle user>

  3. Local connection to the Oracle instance as a SYSTEM user

  4. Check if Oracle status is OPEN

  5. Check if the background process (PMON, SMON, DBWn, LGWR, CKPT) are alive.

  6. Check if “insert”, “update” and “delete” can be properly executed using the monitoring table on the SYSTEM user's default tablespace

  7. Oracle is reconnected once every 24 hours.

If Oracle is stopped, 1 is executed at a 30 second interval (static). If Oracle gets activated, 2 or after is executed. If node startup is completed then the node is operating, only 5 and 6 are executed at a regular interval. The default value is 30 seconds, and can be changed. Note that “6” is executed at a 60-second interval at least.

Listener startup

Listener is started through a shell script. The startup procedure is as follows:

  1. su - <Oracle user>

  2. lsnrctl start <ListenerName>

  3. Make sure that a listener process does exist.

Listener shutdown

Listener is shutdown through a shell script. The shutdown procedure is as follows:

  1. su - <Oracle user>

  2. lsnrctl stop <ListenerName>

  3. Make sure that a listener process does not exist.

  4. If Listener is not stopped at step 3, shut it down forcibly by sending SIGKILL to the background process.

Listener monitoring

Listener is monitored through binary programs. The monitoring procedure is as follows:

  1. Make sure that a listener process does not exist.

  2. Make sure that the net service name is valid with tnsping if TNSName is set.

If a listener of a standby node is stopped, execute 1 at regular time intervals. If the listener gets activated and becomes an operating node, execute 1. and 2. at regular time intervals. The default interval time is 30 seconds, and it can be changed with Interval. Note that 2. is executed at a 60-second interval at least.

ASM instance startup

ASM instance startup procedure is as follows:

  1. su - <Oracle user>

  2. sqlplus /nolog

  3. connect / as sysdba (In case of Oracle 11g or later, "connect / as sysasm")

  4. startup mount (When the state is already STARTED, "alter diskgroup all mount;")

ASM instance shutdown

ASM instance shutdown procedure is as follows:

ASM instance monitoring

PRIMECLUSTER Wizard for Oracle does not monitor ASM instance. NullDetector flag is automatically enabled.