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 by:

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 scds_initialize function also initializes the logging environment and validates fault monitor probe settings.

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