clscrs_whatif_stop_resource

The clscrs_whatif_stop_resource API determines the actions that Oracle Clusterware would take if you stopped specific resources.

Parameters

Input:

  • name: Resource or instance ID, or a filter.
  • flags: CLSCRS_FLAG_NONE
  • CLSCRS_FLAG_WHATIF_VERBOSE
  • CLSCRS_FLAG_FORCE

See Also:

CLRSCRS_FLAG enum for more details

qlist: Specifies the client query on Oracle Clusterware entity status. NULL indicates no query specified.

Output:

  • status: List containing the returned entity information.
  • alist: Action list containing the actions that Oracle Clusterware will perform.

Returns

  • CLSCRS_STAT_SUCCESS: Indicates that Oracle Clusterware completed the request successfully or that no entities matched a filter.
  • CLSCRS_STAT_AUTHORIZATION_FAILURE: Displays when authorization fails.
  • CLSCRS_STAT_CONNECTION: Displays if there is a communication error.
  • CLSCRS_STAT_WRONG_ACTIVE_VERSION: Displays if you use the API before you have upgraded the cluster to Oracle Clusterware 12c.
  • CLSCRS_STAT_INTERNAL_ERROR: Displays if an unexpected, non-user error occurs.
  • CLSCRS_STAT_INVALID_ARGS: Displays if you provide incorrect arguments.

CLSCRS_STAT

clscrs_whatif_stop_resource(clscrs_splist *name, uword flags,
                              clscrs_querylist *qlist,
                              clscrs_crsentitylist *status,
                              clscrs_actionlist *alist);