C and C++ Entry Point Types and Codes

The agent framework currently defines seven entry point types corresponding to resource management commands and operations performed on a resource. Agents must register entry points for START, STOP, CHECK, and CLEAN commands. Other command entry points are optional. The agent registers entry points by calling the clsagfw_set_entrypoint() API for each resource type and command. Table G-2 lists and describes entry point types and their equivalent type codes.

Table G-2 Entry Point Types

Name Description Type Code

START

Start a resource and bring it online

CLSAGFW_ACTION_START

STOP

Stop a resource and take it offline

CLSAGFW_ACTION_STOP

CLEAN

Clean up after a failed command on the resource

CLSAGFW_ACTION_CLEAN

CHECK

Check the state of the resource

CLSAGFW_ACTION_CHECK

ABORT

End an executing command that has timed out

CLSAGFW_ACTION_ABORT

DELETE

Resource is about to be deleted

CLSAGFW_ACTION_RES_DELETED

MODIFY

Resource is modified

CLSAGFW_RESATTR_MODIFIED

ACTION

Invoke custom action on the resource

CLSAGFW_RES_ACTION

See Also:

"Oracle Clusterware Resources and Agents" for more information about entry points