The RGM runs callback methods, as follows:
method -R resource-name -T type-name -G group-name
The method is the path name of the program that is registered as the Start, Stop, or other callback. The callback methods of a resource type are declared in its registration file.
All callback method arguments are passed as flagged values, as follows:
-R indicates the name of the resource instance
-T indicates the type of the resource
-G indicates the group into which the resource is configured
Use the arguments with access functions to retrieve information about the resource.
The Validate method is called with additional arguments that include the property values of the resource and resource group on which it is called.
The scha_calls(3HA) man page contains more information.