Sun Cluster 3.0 5/02 Supplement

Chapter 7 Data Services Development

This chapter provides new data services development information that has been added to the Sun Cluster 3.0 5/02 update release. This information supplements the Sun Cluster 3.0 12/01 Data Services Developer's Guide.

This chapter contains new information for the following topics.

Data Services Development Library (DSDL)

The following information applies to this update release and all subsequent updates.

Enabling Highly Available Local File Systems (5/02)

The following feature was introduced in the Sun Cluster 3.0 5/02 update release and applies to this update and all subsequent updates to Sun Cluster 3.0 software.

The HAStoragePlus resource type can be used to make a local file system highly available within a Sun Cluster environment. The local file system partitions must reside on global disk groups with affinity switchovers enabled and the Sun Cluster environment must be configured for failover. This enables the user to make any file system on multi-host disks accessible from any host directly connected to those multi-host disks. Using a highly available local file system is strongly recommended for some I/O intensive data services, and configuring the HAStoragePlus resource type has been added to the Registration and Configuration procedures in the Sun Cluster Data Services Installation and Configuration Guide.

Designing Resource Types

The following information applies to this update release and all subsequent updates.

The VALIDATE Method (5/02)

The following feature was introduced in the Sun Cluster 3.0 5/02 update release and applies to this update and all subsequent updates to Sun Cluster 3.0 software.

If you are using local file systems managed by HAStoragePlus, you use the scds_hasp_check to check the state of the HAStoragePlus resource, This information is obtained from the state (online or otherwise) of all SUNW.HAStoragePlus resources that the resource depends upon using Resource_dependencies or Resource_dependencies_weak system properties defined for the resource. See scds_hasp_check(3HA) for a complete list of status codes returned from the scds_hasp_check call.

DSDL Reference

The following information applies to this update release and all subsequent updates.

General Purpose Functions (5/02)

The following feature was introduced in the Sun Cluster 3.0 5/02 update release and applies to this update and all subsequent updates to Sun Cluster 3.0 software.

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

Standard Properties

The following information applies to this update release and all subsequent updates.

General Purpose Functions (5/02)

The following feature was introduced in the Sun Cluster 3.0 5/02 update release and applies to this update and all subsequent updates to Sun Cluster 3.0 software.

A new resource group property, Auto_start_on_new_cluster, has been added to the list of supported Resource Group properties.

Table 7-1 Resource Group Properties

Property Name 

Description 

Updatable 

Category 

Auto_start_on_new_cluster

This property can be used to disable automatic startup of the Resource Group when a new cluster is forming. The default is true. If set to true, the Resource Group Manager attempts to start the resource group automatically to achieve Desired_primaries when the cluster is rebooted. If set to FALSE, the Resource Group does not start automatically when the cluster reboots.

Optional 

Generic Data Service

This feature was introduced in the Sun Cluster 3.0 5/02 update release and applies to this update and all subsequent updates to Sun Cluster 3.0 software. See Appendix F, Generic Data Service.