Oracle agent functions

The Oracle agent monitors the database processes.

Table: Oracle agent functions lists the Oracle agent functions.

Table: Oracle agent functions

Agent operation

Description

Online

Starts the Oracle database by using the following sqlplus command:

startup force pfile=$PFile

The default Startup option is STARTUP_FORCE. You can also configure the agent to start the database using different Startup options for Oracle.

Offline

Stops the Oracle database with the specified options by using the following sqlplus command:

shutdown immediate

The default Shutdown option is IMMEDIATE. You can also configure the agent to stop the database using different Shutdown options for Oracle.

Monitor

Verifies the status of the Oracle processes. The Oracle agent provides two levels of monitoring: basic and detail.

oracle_imf_init

Initializes the agent to interface with the AMF kernel driver, which is the IMF notification module for Oracle agent. This function runs when the agent starts up.

oracle_imf_getnotification

Gets notification about resource state changes. This function runs after the agent initializes with the AMF kernel module. This function continuously waits for notification and takes action on the resource upon notification.

oracle_imf_register

Registers or unregisters resource entities with the AMF kernel module. This function runs for each resource after the resource goes into steady state (online or offline).

Clean

Forcibly stops the Oracle database by using the following sqlplus command:

shutdown abort

If the process does not respond to the shutdown command, then the agent does the following:

  • Scans the process table for the processes that are associated with the configured instance

  • Kills the processes that are associated with the configured instance

Info

Provides the static and dynamic information about the state of the database.

Note:

This attribute is not applicable PDB resources.

Action

Performs the predefined actions on a resource.

More Information

Startup and shutdown options for the Oracle agent

Startup and shutdown options for the Oracle agent

Monitor options for the Oracle agent in traditional database and container database

Info entry point for Cluster Server agent for Oracle

Action entry point for Cluster Server agent for Oracle