The APIs listed in Table H-2 make calls to the Cluster Ready Services daemon (CRSD) to run commands. The CRSD must be up and running for these APIs to function.
Table H-2 Summary of Interactive CLSCRS APIs for Oracle Clusterware
C API | Description |
---|---|
clscrs_check_resource2 |
Notifies Oracle Clusterware to run the check entry points for the identified resources. |
clscrs_get_server_by_category |
Obtains a list of servers that match a particular server category. |
clscrs_is_crs_admin |
Checks whether the user is an Oracle Clusterware administrator. |
clscrs_register_resource2 |
Registers the resources in the input resource list. |
clscrs_register_servercategory |
Registers server categories in the input server category list. |
clscrs_register_serverpool |
Registers a server pool for the input list of servers. |
clscrs_register_type |
Registers the resource types in the input resource list. |
clscrs_relocate_resource2 |
Relocates the list of resource identifiers. |
clscrs_relocate_server |
Relocates a list of servers. |
clscrs_request_action |
Notifies Oracle Clusterware to run a specific set of actions. |
clscrs_restart_resource |
Instructs Oracle Clusterware to restart a named set of resources. |
clscrs_start_resource2 |
Notifies Oracle Clusterware to start a named set of resources. |
clscrs_stat2 |
Obtains information about specific resources. |
clscrs_stat3 |
Obtains information about specific entities. |
clscrs_stop_resource2 |
Notifies Oracle Clusterware to stop a named set of resources. |
clscrs_stop_resource_in_pools |
Instructs Oracle Clusterware to stop specific resources in server pools. |
clscrs_start_resource_in_pools |
Instructs Oracle Clusterware to start specific resources in server pools. |
clscrs_unregister_resource2 |
Unregisters the resources in the input list of resource names. |
clscrs_unregister_servercategory |
Unregisters server categories in the input server category list. |
clscrs_unregister_serverpool |
Unregisters the given server pool. |
clscrs_unregister_type |
Unregisters the resource types in the input list. |
clscrs_whatif_add_server |
Simulates what happens if you add a server. |
clscrs_whatif_delete_server |
Simulates what happens if you delete a server. |
clscrs_whatif_fail_resource |
Simulates what happens if a resource fails. |
clscrs_whatif_register_resource |
Simulates what happens if you register a resource. |
clscrs_whatif_register_serverpool |
Simulates what happens if you register a server pool. |
clscrs_whatif_relocate_resource |
Simulates what happens if you relocate a resource. |
clscrs_whatif_relocate_server |
Simulates what happens if you relocate a server. |
clscrs_whatif_set_activepolicy |
Simulates what happens if you activate a policy. |
clscrs_whatif_start_resource |
Simulates what happens if you start a resource. |
clscrs_whatif_stop_resource |
Simulates what happens if you stop a resource. |
clscrs_whatif_unregister_serverpool |
Simulates what happens if you unregister a server pool. |