The RGM invokes 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, with -R indicating the name of the resource instance, -T indicating the type of the resource, and -G indicating 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 (the property values of the resource and resource group on which it is called).
See rt_callbacks(1HA) for more information.