Top
PRIMECLUSTER Wizard for Oracle 4.2 Configuration and Administration Guide

3.1.1 Standby Operation and Scalable Operation with Oracle9i RAC

This section discusses how PRIMECLUSTER Wizard for Oracle controls Oracle in standby operation or scalable operation (Oracle9i RAC).

Oracle startup

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

  1. su - <Oracle DBA 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

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 DBA 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 table space

  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 startup 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.