The clscrs_stop_resource_in_pools
API instructs Oracle Clusterware to stop a named set of resources in server pools. Functionality is similar to clscrs_stop_resource2
, except that this function takes an extra argument—spoollist
—which is a list of server pool names or a filter based on which a list of server pools is generated. This function does not take node
as an argument.
Input:
ridlist
: The list of resources or resource instance IDs to stop, or a filter.spoollist
: The list of server pool names where a resource that you want to stop is running, or a filter.env
: Specify environment arguments to the stop operation.msgf
: User message callback, which can be NULL.msgarg
: User callback argument, which can be NULL.flag
: Either async
, force
, or event
options.Output:
op_status
: The resource list that holds the status of the stop operation for each resource.
CLSCRS_STAT_INVALID_RESNAME
: Displays if ridlist
is empty.CLSCRS_STAT_AUTHORIZATION_FAILURE
: Displays when authorization fails.CLSCRS_STAT_SUCCESS
: Displays if the request completes successfully for all requested entities or if no entities match a filter.CLSCRS_STAT_FAILURE
: Displays if at least one resource or resource ID does not stop successfully.CLSCRS_STAT_CONNECTION
: Displays if there is a communication error.