clsagfwret clsagfw_init(sb4 argc, oratext **argv, ub4 flags, const oratext *logName, void *reserved);
argc
: Number of command line arguments passed to the agent process
argv
: Command line arguments passed to the agent process
flags
:
logName
: Name of the log file for this agent
reserved
: Pass NULL
Oracle Clusterware automatically starts the agent configured for a resource when actions must be performed on the resource. On startup, the agent process calls this function first to initialize the agent framework run time. The command line arguments passed to the agent process by the Oracle Clusterware server must be passed to clsagfw_init()
. After initialization is complete, the agent can register resource types that are managed by the agent.