Sun Cluster 3.0 Data Services Developers' Guide

Callback Methods

You use the Resource Management API (RMAPI) to implement a resource type. The key elements of a resource type are the callback methods, programs invoked by the RGM to control resources on the cluster. The API defines the arguments and return value of the callback methods.

The only required callback methods for a resource type are a start method, START or PRENET_START, and a stop method, STOP or POSTNET_STOP.

The RMAPI provides callback methods in the following categories:

See Chapter 4, Resource Management API Reference and the rt_callbacks(1HA) man page for more information on the callback methods. Also see Chapter 5, Sample Application for examples of how the callback methods are used.