# Extension Properties # The cluster administrator must set the value of this property to point to the # directory that contains the configuration files used by the application. # For this application, DNS, specify the path of the DNS configuration file on # PXFS (typically named.conf). { PROPERTY = Confdir; EXTENSION; STRING; TUNABLE = AT_CREATION; DESCRIPTION = “The Configuration Directory Path”; } # Time out value in seconds before declaring the probe as failed. { PROPERTY = Probe_timeout; EXTENSION; INT; DEFAULT = 120; TUNABLE = ANYTIME; DESCRIPTION = “Time out value for the probe (seconds)”; }
RTR 檔案範例定義兩個延伸特性,Confdir 和 Probe_timeout。Confdir 特性指定 DNS 配置目錄的路徑。此目錄含有 in.named 檔案,DNS 需要此檔案才能成功作業。資料服務範例的 Start 和 Validate 方法在啟動 DNS 前使用此特性驗證配置目錄和 in.named 檔案是否可存取。
配置資料服務時,Validate 方法將驗證新目錄是否可存取。
資料服務範例的 PROBE 方法不是 Sun Cluster 回呼方法,而是使用者定義的方法。因此,Sun Cluster 不提供該方法的 Probe_timeout 特性。您需要定義 RTR 檔案中的延伸特性,以便叢集管理員配置 Probe_timeout 值。