Sun Cluster 3.0 Data Services Developers' Guide

START Overview

Before attempting to launch DNS, the START method in the sample data service verifies the configuration directory and configuration file (named.conf) are accessible and available. Information in named.conf is essential to successful operation of DNS.

This method uses the process monitor facility (pmfadm) to start the DNS daemon (in.named). If DNS crashes or fails to start, the method attempts to start it a prescribed number of times during a specified interval. The number of retries and the interval are specified by properties in the data service's RTR file.

This START method is guaranteed to be idempotent. Although the RGM should not call a START method twice without first stopping the data service with a call to its STOP method, this START method exits with success even if DNS is already running.