Sun Cluster Data Services Developer's Guide for Solaris OS

Managing Configuration Properties

All callback methods require access to the configuration properties. The DSDL supports access to properties in these ways:

The scds_initialize() function, which must be called at the beginning of each callback method, does the following:


Note –

For the Validate method, scds_initialize() parses the property values that are passed on the command line, obviating the need to write a parse function for Validate.


The DSDL provides sets of functions to retrieve resource type, resource, and resource group properties as well as commonly used extension properties. These functions standardize access to properties by using the following conventions: