Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Cluster Data Services Developer's Guide Oracle Solaris Cluster 4.1 |
1. Overview of Resource Management
3. Resource Management API Reference
6. Data Service Development Library
8. Sample DSDL Resource Type Implementation
X Font Server Configuration File
Naming Conventions for Functions and Callback Methods
Validating the Service Before Starting the X Font Server
Starting the Service With svc_start()
Determining the Fault Monitor Action
9. Oracle Solaris Cluster Agent Builder
12. Cluster Reconfiguration Notification Protocol
13. Security for Data Services
A. Sample Data Service Code Listings
B. DSDL Sample Resource Type Code Listings
C. Requirements for Non-Cluster-Aware Applications
D. Document Type Definitions for the CRNP
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().