Oracle® Solaris Cluster Data Services Developer's Guide

Exit Print View

Updated: July 2014, E39646-01
 
 

scds_initialize() Function

The DSDL requires that each callback method call the scds_initialize() function at the beginning of the method.

    This function performs the following operations:

  • Checks and processes the command-line arguments (argc and argv) that the framework passes to the data service method. The method does not have to process any additional command-line arguments.

  • Sets up internal data structures for use by the other functions in the DSDL.

  • Initializes the logging environment.

  • Validates fault monitor probe settings.

Use the scds_close() function to reclaim the resources that are allocated by scds_initialize().