1 # 2 # CDDL HEADER START 3 # 4 # The contents of this file are subject to the terms of the 5 # Common Development and Distribution License (the License). 6 # You may not use this file except in compliance with the License. 7 # 8 # You can obtain a copy of the license at usr/src/CDDL.txt 9 # or http://www.opensolaris.org/os/licensing. 10 # See the License for the specific language governing permissions 11 # and limitations under the License. 12 # 13 # When distributing Covered Code, include this CDDL HEADER in each 14 # file and include the License file at usr/src/CDDL.txt. 15 # If applicable, add the following below this CDDL HEADER, with the 16 # fields enclosed by brackets [] replaced with your own identifying 17 # information: Portions Copyright [yyyy] [name of copyright owner] 18 # 19 # CDDL HEADER END 20 # 21 22 # 23 # Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24 # Use is subject to license terms. 25 # 26 #ident "@(#)SUNW.dns 1.23 07/06/06 SMI" 27 28 # Registration information and Paramtable for Domain Name Service (DNS) 29 # 30 # NOTE: Keywords are case insensitive, i.e. users may use any 31 # capitalization style they wish 32 # 33 34 RESOURCE_TYPE = "dns"; 35 VENDOR_ID = SUNW; 36 RT_DESCRIPTION = "Domain Name Service on Sun Cluster"; 37 38 RT_VERSION ="3.2"; 39 API_VERSION = 2; 40 FAILOVER = TRUE; 41 42 43 RT_BASEDIR=/opt/SUNWscdns/bin; 44 45 START = dns_svc_start; 46 STOP = dns_svc_stop; 47 48 VALIDATE = dns_validate; 49 UPDATE = dns_update; 50 51 MONITOR_START = dns_monitor_start; 52 MONITOR_STOP = dns_monitor_stop; 53 MONITOR_CHECK = dns_monitor_check; 54 55 PKGLIST = SUNWscdns; 56 57 # 58 # Upgrade directives 59 # 60 #$upgrade 61 #$upgrade_from "1.0" anytime 62 #$upgrade_from "3.1" anytime 63 64 65 # The paramtable is a list of bracketed resource property declarations 66 # that come after the resource-type declarations 67 # The property-name declaration must be the first attribute 68 # after the open curly of a paramtable entry 69 # 70 { 71 PROPERTY = Start_timeout; 72 MIN=60; 73 DEFAULT=300; 74 } 75 { 76 PROPERTY = Stop_timeout; 77 MIN=60; 78 DEFAULT=300; 79 } 80 { 81 PROPERTY = Validate_timeout; 82 MIN=60; 83 DEFAULT=300; 84 } 85 { 86 PROPERTY = Update_timeout; 87 MIN=60; 88 DEFAULT=300; 89 } 90 { 91 PROPERTY = Monitor_Start_timeout; 92 MIN=60; 93 DEFAULT=300; 94 } 95 { 96 PROPERTY = Monitor_Stop_timeout; 97 MIN=60; 98 DEFAULT=300; 99 } 100 { 101 PROPERTY = Monitor_Check_timeout; 102 MIN=60; 103 DEFAULT=300; 104 } 105 { 106 PROPERTY = Thorough_Probe_Interval; 107 MIN=0; 108 MAX=3600; 109 DEFAULT=60; 110 TUNABLE = ANYTIME; 111 } 112 { 113 PROPERTY = Retry_Count; 114 MIN=0; 115 MAX=10; 116 DEFAULT=2; 117 TUNABLE = ANYTIME; 118 } 119 { 120 PROPERTY = Retry_Interval; 121 MIN=0; 122 MAX=3600; 123 DEFAULT=750; 124 TUNABLE = ANYTIME; 125 } 126 { 127 PROPERTY = FailOver_Mode; 128 DEFAULT = SOFT; 129 TUNABLE = ANYTIME; 130 } 131 { 132 PROPERTY = Network_resources_used; 133 TUNABLE = WHEN_DISABLED; 134 DEFAULT = ""; 135 } 136 { 137 PROPERTY = Port_list; 138 DEFAULT = "53/udp"; 139 TUNABLE = AT_CREATION; 140 } 141 142 # 143 # Extension Properties 144 # 145 146 # Not to be edited by end user 147 { 148 PROPERTY = Paramtable_version; 149 EXTENSION; 150 STRING; 151 DEFAULT = "1.0"; 152 DESCRIPTION = "The Paramtable Version for this Resource"; 153 } 154 155 # Must specify installation path of DNS (on PXFS) 156 { 157 PROPERTY = Confdir_list; 158 EXTENSION; 159 STRINGARRAY; 160 TUNABLE = AT_CREATION; 161 DESCRIPTION = "The Configuration Directory Path(s)"; 162 } 163 164 # These two control the restarting of the fault monitor itself 165 # (not the serer daemon) by PMF. 166 { 167 PROPERTY = Monitor_retry_count; 168 EXTENSION; 169 INT; 170 MIN=-1; 171 DEFAULT = 4; 172 TUNABLE = ANYTIME; 173 DESCRIPTION = "Number of PMF restarts allowed for the fault monitor"; 174 } 175 176 { 177 PROPERTY = Monitor_retry_interval; 178 EXTENSION; 179 INT; 180 MIN=-1; 181 DEFAULT = 2; 182 TUNABLE = ANYTIME; 183 DESCRIPTION = "Time window (minutes) for fault monitor restarts"; 184 } 185 186 # Time out value for the probe 187 { 188 PROPERTY = Probe_timeout; 189 EXTENSION; 190 INT; 191 MIN=15; 192 DEFAULT = 120; 193 TUNABLE = ANYTIME; 194 DESCRIPTION = "Time out value for the probe (seconds)"; 195 } 196 197 { 198 PROPERTY = DNS_mode; 199 EXTENSION; 200 STRING; 201 DEFAULT = "conf"; 202 TUNABLE = AT_CREATION; 203 DESCRIPTION = "Configuration file (named.conf or named.boot) to use"; 204 } 205