To support implementation of callback methods, the API provides an interface to the RGM in the form of methods to access resource properties and other cluster information. The access methods are provided both in the form of shell commands and in the form of C functions.
The API provides commands and functions to do the following:
Access information about resources, resource types, resource groups, and clusters
Set the Status and Status_msg properties of a resource
Request the restart or relocation of a resource group
See Chapter 4, Resource Management API Reference for more information on the access methods. Also see Chapter 5, Sample Application for examples of how the access methods are used.