Sun Cluster Data Services Developer's Guide for Solaris OS

Arguments That You Can Provide to Callback Methods

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:

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.