Skip Navigation Links
Exit Print View
| Oracle Solaris Cluster Data Services Developer's Guide Oracle Solaris Cluster 4.1

Search Scope:

- This Document
- Entire Library

Chapter 7

## Designing Resource Types

This chapter explains the typical use of the Data Service Development Library (DSDL) in designing and implementing resource types. This chapter also focuses on designing the resource type to validate the resource configuration, and to start, stop, and monitor the resource. In addition, this chapter describes how to use the DSDL to implement the resource type callback methods.

See the `rt_callbacks`(1HA) man page for additional information.

You need access to the resource's property settings to complete these tasks. The DSDL utility `scds_initialize()` provides a uniform way to access these resource properties. This function is designed to be called at the beginning of each callback method. This utility function retrieves all the properties for a resource from the cluster framework and makes it available to the family of `scds_get` name`()` functions.

This chapter covers the following topics:

- Resource Type Registration File

- `Validate` Method

- `Start` Method

- `Stop` Method

- `Monitor_start` Method

- `Monitor_stop` Method

- `Monitor_check` Method

- `Update` Method

- Description of `Init`, `Fini`, and `Boot` Methods

- Designing the Fault Monitor Daemon

Copyright © 2000, 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices |