5.2 Starting, terminating, and monitoring Oracle instances and Oracle listeners

This section explains how to start, terminate, and monitor Oracle instances or Oracle listeners on a system that uses HA Monitor Kit. Oracle instances and Oracle listeners are managed as monitor-mode servers. Therefore, you use HA Monitor commands to start, terminate, or monitor Oracle instances or Oracle listeners.

To start or terminate an Oracle instance or Oracle listener that is running as a HA Monitor server, you must use an HA Monitor command. If you use a command other than a HA Monitor command for starting or terminating an Oracle instance or Oracle listener in a hot-standby configuration that uses HA Monitor Kit, HA Monitor may report this as an error.

Organization of this section
(1) Starting an Oracle instance or Oracle listener
(2) Terminating an Oracle instance or Oracle listener
(3) Monitoring an Oracle instance or Oracle listener

(1) Starting an Oracle instance or Oracle listener

To start an Oracle instance or Oracle listener, execute the monitor-mode server start command (monbegin command). This command is an HA Monitor operation command.

For details about this command, see the description under monbegin (starts a server in the monitor mode) in the manual HA Monitor (for Linux(R)).

(2) Terminating an Oracle instance or Oracle listener

To terminate an Oracle instance or Oracle listener, execute the monitor-mode server termination command (monend command). This command is an HA Monitor operation command. If HA Monitor Kit fails to terminate an Oracle instance or Oracle listener during a server termination process, or if an Oracle instance or Oracle listener does not terminate within the user-specified time, HA Monitor Kit forcibly terminates the Oracle instance or Oracle listener.

For details about this command, see the description under monend (terminates a server in the monitor mode) in the manual HA Monitor (for Linux(R)).

(3) Monitoring an Oracle instance or Oracle listener

Once an Oracle instance or Oracle listener has started, HA Monitor monitors servers by executing the server monitoring command.

The server monitoring command monitors servers using the following methods:

When the server is an Oracle instance:
  • Monitors for the operation of an Oracle instance process.
  • Uses SQL to check the status of an Oracle instance.
  • Monitors for slowdown of an Oracle instance.
When the server is an Oracle listener:
  • Monitors for the operation of an Oracle listener process.
  • Uses the listener control utility to monitor for slowdown based on the response time.

For an overview and the operational details of the server monitoring command, see the description under Monitoring servers in the monitor mode and Controlling the server monitoring command in the manual HA Monitor (for Linux(R)).