Sun Cluster Data Services Developer's Guide for Solaris OS

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