clscrs_whatif_unregister_serverpool

The clscrs_whatif_unregister_serverpool API determines the actions that Oracle Clusterware would take if you unregistered a specific server pool.

Parameters

Input:

  • name: Name of the server pool.
  • 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_unregister_serverpool(const oratext *poolname, uword flags,
                                     clscrs_querylist *qlist,
                                     clscrs_crsentitylist *status,
                                     clscrs_actionlist *alist);