JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Cluster Data Services Developer's Guide     Oracle Solaris Cluster 4.1
search filter icon
search icon

Document Information

Preface

1.  Overview of Resource Management

2.  Developing a Data Service

3.  Resource Management API Reference

4.  Modifying a Resource Type

5.  Sample Data Service

6.  Data Service Development Library

7.  Designing Resource Types

8.  Sample DSDL Resource Type Implementation

9.  Oracle Solaris Cluster Agent Builder

10.  Generic Data Service

11.  DSDL API Functions

General-Purpose Functions

Initialization Functions

Retrieval Functions

Failover and Restart Functions

Execution Functions

Property Functions

Network Resource Access Functions

Host Name Functions

Port List Functions

Network Address Functions

Fault Monitoring Using TCP Connections Functions

PMF Functions

Fault Monitor Functions

Utility Functions

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

E.  CrnpClient.java Application

Index

General-Purpose Functions

The functions in this section provide a broad range of functionality.

These functions enable you to perform the following operations:

Initialization Functions

The following functions initialize the calling method:

Retrieval Functions

The following functions retrieve information about zones, resource types, resources, resource groups, and extension properties:

The following function retrieves status information about the SUNW.HAStoragePlus resources that are used by a resource:

scds_hasp_check(3HA) – Retrieves status information about SUNW.HAStoragePlus resources that are used by a resource. This information is obtained from the state (online or otherwise) of all SUNW.HAStoragePlus resources on which the resource depends by using the Resource_dependencies or Resource_dependencies_weak system properties that are defined for the resource. See the SUNW.HAStoragePlus(5) man page for more information.

Failover and Restart Functions

The following functions fail over or restart a resource or resource group:

Execution Functions

The following functions execute a command under a timeout and convert an error code to an error message: