clscrs_servercategory_create

The clscrs_servercategory_create API creates a server category.

Parameters

Input:

  • ctx: CLSCRS context.
  • sc_name: Name of the server category.

Output:

sc: The newly created server category.

Returns

  • clscrsretSUCC: Indicates that Oracle Clusterware completed the request successfully.
  • clscrsretNOMEM: Displays if no memory can be allocated.
  • clscrsretBADCTX: Displays if the context is NULL.
  • clscrsretBADARG: Displays if the server name is NULL.

clscrsret

clscrs_servercategory_create(clscrs_ctx *ctx, const oratext *sc_name,
                                clscrs_crsentity **sc);