RMAPI Callback Methods
Callback
methods are the key elements that are provided by the API for implementing
a resource type. Callback methods enable the RGM to control resources
in the cluster in the event of a change in cluster membership, such
as the failure of a node.
Note - The callback methods are executed by the RGM with root role or the greatest RBAC role permissions because
the client programs control HA services in the cluster system. Install
and administer these methods with restrictive file ownership and permissions.
Specifically, give these methods a privileged owner, such as bin or root, and do not make them writable.
This section describes callback method arguments and exit codes.
Callback methods in the following categories are described:
Control and initialization methods
Administrative support methods
Net-relative methods
Monitor control methods
Note - This section provides brief descriptions of the callback
methods, including the point at which the method is run and the expected
effect on the resource. However, the
rt_callbacks(1HA) man page is the
definitive reference for the callback methods.