Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

387 lines
19 KiB

  1. /*++
  2. Copyright (c) 1995-1999 Microsoft Corporation
  3. Module Name:
  4. clusudef.h
  5. Abstract:
  6. This module contains definitions of constants used across
  7. multiple user-mode targets in the cluster project.
  8. Revision History:
  9. Environment:
  10. User-mode only.
  11. --*/
  12. #ifndef _CLUSUDEF_H_
  13. #define _CLUSUDEF_H_
  14. //default cluster settings
  15. #define CLUSTER_SHUTDOWN_TIMEOUT 60 // default shutdown timeout in minutes
  16. //
  17. // Default cluster property settings
  18. //
  19. #define CLUSTER_RESOURCE_DLL_DEFAULT_DEADLOCK_TIMEOUT_SECS 4 * 60 // Default deadlock timeout in secs
  20. #define CLUSTER_RESOURCE_DLL_DEFAULT_DEADLOCK_THRESHOLD 3 // Default deadlock threshold
  21. #define CLUSTER_RESOURCE_DLL_DEFAULT_DEADLOCK_PERIOD_SECS 30 * 60 // Default deadlock period in secs
  22. //
  23. // Minimum cluster property settings
  24. //
  25. #define CLUSTER_RESOURCE_DLL_MINIMUM_DEADLOCK_TIMEOUT_SECS 3 * 60 // Minimum deadlock timeout in secs
  26. #define CLUSTER_RESOURCE_DLL_MINIMUM_DEADLOCK_THRESHOLD 0
  27. #define CLUSTER_RESOURCE_DLL_MINIMUM_DEADLOCK_PERIOD_SECS CLUSTER_RESOURCE_DLL_MINIMUM_DEADLOCK_TIMEOUT_SECS
  28. //
  29. // Maximum cluster property settings
  30. //
  31. #define CLUSTER_RESOURCE_DLL_MAXIMUM_DEADLOCK_TIMEOUT_SECS ((DWORD) -1)
  32. #define CLUSTER_RESOURCE_DLL_MAXIMUM_DEADLOCK_THRESHOLD ((DWORD) -1)
  33. #define CLUSTER_RESOURCE_DLL_MAXIMUM_DEADLOCK_PERIOD_SECS ((DWORD) -1)
  34. //
  35. // Default group property definitions
  36. //
  37. #define CLUSTER_GROUP_DEFAULT_FAILOVER_THRESHOLD 10
  38. #define CLUSTER_GROUP_DEFAULT_FAILOVER_PERIOD 6
  39. #define CLUSTER_GROUP_DEFAULT_AUTO_FAILBACK_TYPE ClusterGroupPreventFailback
  40. #define CLUSTER_GROUP_FAILBACK_WINDOW_NONE ((DWORD) -1)
  41. #define CLUSTER_GROUP_DEFAULT_FAILBACK_WINDOW_START CLUSTER_GROUP_FAILBACK_WINDOW_NONE
  42. #define CLUSTER_GROUP_DEFAULT_FAILBACK_WINDOW_END CLUSTER_GROUP_FAILBACK_WINDOW_NONE
  43. #define CLUSTER_GROUP_DEFAULT_LOADBAL_STATE 1
  44. //
  45. // Minimum group property definitions
  46. //
  47. #define CLUSTER_GROUP_MINIMUM_FAILOVER_THRESHOLD 0
  48. #define CLUSTER_GROUP_MINIMUM_FAILOVER_PERIOD 0
  49. #define CLUSTER_GROUP_MINIMUM_FAILBACK_WINDOW_START CLUSTER_GROUP_FAILBACK_WINDOW_NONE
  50. #define CLUSTER_GROUP_MINIMUM_FAILBACK_WINDOW_END CLUSTER_GROUP_FAILBACK_WINDOW_NONE
  51. //
  52. // Maximum group property definitions
  53. //
  54. #define CLUSTER_GROUP_MAXIMUM_FAILOVER_THRESHOLD ((DWORD) -1)
  55. #define CLUSTER_GROUP_MAXIMUM_FAILOVER_PERIOD 1193
  56. #define CLUSTER_GROUP_MAXIMUM_AUTO_FAILBACK_TYPE (ClusterGroupFailbackTypeCount - 1)
  57. #define CLUSTER_GROUP_MAXIMUM_FAILBACK_WINDOW_START 23
  58. #define CLUSTER_GROUP_MAXIMUM_FAILBACK_WINDOW_END 23
  59. //
  60. // Default resource property definitions
  61. //
  62. #define CLUSTER_RESOURCE_USE_DEFAULT_POLL_INTERVAL ((DWORD) -1)
  63. #define CLUSTER_RESOURCE_DEFAULT_LOOKS_ALIVE CLUSTER_RESOURCE_USE_DEFAULT_POLL_INTERVAL
  64. #define CLUSTER_RESOURCE_DEFAULT_IS_ALIVE CLUSTER_RESOURCE_USE_DEFAULT_POLL_INTERVAL
  65. #define CLUSTER_RESOURCE_DEFAULT_RESTART_ACTION ClusterResourceRestartNotify
  66. #define CLUSTER_RESOURCE_DEFAULT_RESTART_THRESHOLD 3
  67. #define CLUSTER_RESOURCE_DEFAULT_RESTART_PERIOD (900 * 1000)
  68. #define CLUSTER_RESOURCE_DEFAULT_RETRY_PERIOD_ON_FAILURE ((DWORD)-1)
  69. #define CLUSTER_RESOURCE_DEFAULT_PENDING_TIMEOUT (3 * 60 * 1000)
  70. #define CLUSTER_RESOURCE_DEFAULT_LOADBAL_STARTUP (5 * 60 * 1000)
  71. #define CLUSTER_RESOURCE_DEFAULT_LOADBAL_SAMPLE ( 10 * 1000)
  72. #define CLUSTER_RESOURCE_DEFAULT_LOADBAL_ANALYSIS (5 * 60 * 1000)
  73. #define CLUSTER_RESOURCE_DEFAULT_PERSISTENT_STATE ((DWORD) -1)
  74. //
  75. // Minimum resource property definitions
  76. //
  77. #define CLUSTER_RESOURCE_MINIMUM_LOOKS_ALIVE 10
  78. #define CLUSTER_RESOURCE_MINIMUM_IS_ALIVE 10
  79. #define CLUSTER_RESOURCE_MINIMUM_RESTART_THRESHOLD 0
  80. #define CLUSTER_RESOURCE_MINIMUM_RESTART_PERIOD 0
  81. #define CLUSTER_RESOURCE_MINIMUM_PENDING_TIMEOUT 10
  82. #define CLUSTER_RESOURCE_MINIMUM_PERSISTENT_STATE ((DWORD) -1)
  83. //
  84. // Maximum resource property definitions
  85. //
  86. #define CLUSTER_RESOURCE_MAXIMUM_LOOKS_ALIVE ((DWORD) -1)
  87. #define CLUSTER_RESOURCE_MAXIMUM_LOOKS_ALIVE_UI ((DWORD) -2)
  88. #define CLUSTER_RESOURCE_MAXIMUM_IS_ALIVE ((DWORD) -1)
  89. #define CLUSTER_RESOURCE_MAXIMUM_IS_ALIVE_UI ((DWORD) -2)
  90. #define CLUSTER_RESOURCE_MAXIMUM_RESTART_ACTION (ClusterResourceRestartActionCount - 1)
  91. #define CLUSTER_RESOURCE_MAXIMUM_RESTART_THRESHOLD ((DWORD) -1)
  92. #define CLUSTER_RESOURCE_MAXIMUM_RESTART_PERIOD ((DWORD) -1)
  93. #define CLUSTER_RESOURCE_MAXIMUM_PENDING_TIMEOUT ((DWORD) -1)
  94. #define CLUSTER_RESOURCE_MAXIMUM_PERSISTENT_STATE 1
  95. //
  96. // Default resource type property definitions
  97. //
  98. #define CLUSTER_RESTYPE_DEFAULT_LOOKS_ALIVE (5 * 1000)
  99. #define CLUSTER_RESTYPE_DEFAULT_IS_ALIVE (60 * 1000)
  100. #define CLUSTER_RESTYPE_DEFAULT_QUORUM_CAPABLE FALSE
  101. //
  102. // Minimum resource type property definitions
  103. //
  104. #define CLUSTER_RESTYPE_MINIMUM_LOOKS_ALIVE 10
  105. #define CLUSTER_RESTYPE_MINIMUM_IS_ALIVE 10
  106. //
  107. // Maximum resource type property definitions
  108. //
  109. #define CLUSTER_RESTYPE_MAXIMUM_LOOKS_ALIVE ((DWORD) -1)
  110. #define CLUSTER_RESTYPE_MAXIMUM_IS_ALIVE ((DWORD) -1)
  111. //
  112. // Default quorum definitions
  113. //
  114. #define CLUSTER_QUORUM_DEFAULT_ARBITRATION_TIMEOUT 60
  115. #define CLUSTER_QUORUM_DEFAULT_MAX_LOG_SIZE 4 * 1024 * 1024 // 4096 K(4 Meg) PSS:Reqquest a higher sizes
  116. #define CLUSTER_QUORUM_MIN_LOG_SIZE 32 * 1024 //32 K
  117. #define CLUSREG_NAME_SVC_PARAM_NOVER_CHECK L"NoVersionCheck"
  118. #define CLUSREG_NAME_SVC_PARAM_NOREP_EVTLOGGING L"NoRepEvtLogging"
  119. #define CLUSREG_NAME_SVC_PARAM_NOGROUPINFO_EVTLOGGING L"NoGroupInfoEvtLogging"
  120. #define CLUSREG_NAME_SVC_PARAM_RESTORE_DB L"RestoreDatabase"
  121. #define CLUSREG_NAME_SVC_PARAM_FORCE_RESTORE_DB L"ForceRestoreDatabase"
  122. #define CLUSREG_NAME_SVC_PARAM_QUORUM_DRIVE_LETTER L"NewQuorumDriveLetter"
  123. #define CLUSREG_NAME_SVC_PARAM_FORCE_QUORUM L"ForceQuorum"
  124. #define CLUSREG_NAME_SVC_PARAM_RESDLL_UPGD_PROGRESS_LIST L"ResourceDllUpgradeInProgressList"
  125. #define CLUSREG_NAME_SVC_PARAM_RESMON_EP L"Endpoint"
  126. //
  127. // Key, value, and property names
  128. //
  129. #define CLUSREG_KEYNAME_CLUSTER L"Cluster"
  130. #define CLUSREG_KEYNAME_CLUSTER_PARAMETERS L"Cluster\\Parameters"
  131. #define CLUSREG_KEYNAME_GROUPS L"Groups"
  132. #define CLUSREG_KEYNAME_NETWORKS L"Networks"
  133. #define CLUSREG_KEYNAME_NETINTERFACES L"NetworkInterfaces"
  134. #define CLUSREG_KEYNAME_NODES L"Nodes"
  135. #define CLUSREG_KEYNAME_QUORUM L"Quorum"
  136. #define CLUSREG_KEYNAME_RESOURCES L"Resources"
  137. #define CLUSREG_KEYNAME_RESOURCE_TYPES L"ResourceTypes"
  138. #define CLUSREG_KEYNAME_PARAMETERS L"Parameters"
  139. #define CLUSREG_KEYNAME_CLUSSVC_PARAMETERS L"SYSTEM\\CurrentControlSet\\Services\\ClusSvc\\Parameters"
  140. #define CLUSREG_KEYNAME_CLUSSVC L"SYSTEM\\CurrentControlSet\\Services\\ClusSvc"
  141. #define CLUSREG_KEYNAME_IMAGE_PATH L"ImagePath"
  142. #define CLUSREG_KEYNAME_WELCOME_UI L"WelcomeUI"
  143. #define CLUSREG_KEYNAME_RUNONCE L"Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce"
  144. #define CLUSREG_KEYNAME_NODE_DATA L"Software\\Microsoft\\Windows NT\\CurrentVersion\\Cluster Server"
  145. #define CLUSREG_KEYNAME_PREV_OS_INFO L"PreviousOSVersionInfo"
  146. #define CLUSREG_NAME_EVICTION_STATE L"NodeHasBeenEvicted"
  147. #define CLUSREG_INSTALL_DIR_VALUE_NAME L"ClusterInstallationDirectory"
  148. #define CLUSREG_NAME_INSTALLATION_STATE L"ClusterInstallationState"
  149. #define CLUSREG_NAME_CHARACTERISTICS L"Characteristics"
  150. #define CLUSREG_NAME_FLAGS L"Flags"
  151. #define CLUSREG_NAME_ADMIN_EXT L"AdminExtensions"
  152. #define CLUSREG_NAME_SECURITY_DLL_NAME L"SecurityDLL"
  153. #define CLUSREG_NAME_SECURITY_PACKAGE_LIST L"SecurityPackageList"
  154. #define CLUSREG_NAME_CLUS_NAME L"ClusterName"
  155. #define CLUSREG_NAME_CLUS_DESC L"Description"
  156. // used for NT4 SDs
  157. #define CLUSREG_NAME_CLUS_SECURITY L"Security"
  158. // used for NT5 and higher SDs
  159. #define CLUSREG_NAME_CLUS_SD L"Security Descriptor"
  160. #define CLUSREG_NAME_CLUS_CLUSTER_NAME_RES L"ClusterNameResource"
  161. #define CLUSREG_NAME_CLUS_REG_SEQUENCE L"RegistrySequence"
  162. #define CLUSREG_NAME_CLUS_SHUTDOWN_TIMEOUT L"ShutdownTimeout"
  163. #define CLUSREG_NAME_CLUS_DEFAULT_NETWORK_ROLE L"DefaultNetworkRole"
  164. #define CLUSREG_NAME_CLUS_EVTLOG_PROPAGATION L"EnableEventLogReplication"
  165. #define CLUSREG_NAME_MAX_NODES L"MaxNodesInCluster"
  166. #define CLUSREG_NAME_CLUS_EVTLOGDELTA_GENERATION L"EnableEventDeltaGeneration"
  167. #define CLUSREG_NAME_CLUS_CLUSTER_INSTANCE_ID L"ClusterInstanceID"
  168. #define CLUSREG_NAME_CLUS_ENABLE_RESOURCE_DLL_DEADLOCK_DETECTION L"EnableResourceDllDeadlockDetection"
  169. #define CLUSREG_NAME_CLUS_RESOURCE_DLL_DEADLOCK_TIMEOUT L"ResourceDllDeadlockTimeout"
  170. #define CLUSREG_NAME_CLUS_RESOURCE_DLL_DEADLOCK_THRESHOLD L"ResourceDllDeadlockThreshold"
  171. #define CLUSREG_NAME_CLUS_RESOURCE_DLL_DEADLOCK_PERIOD L"ResourceDllDeadlockPeriod"
  172. #define CLUSREG_NAME_NODE_NAME L"NodeName"
  173. #define CLUSREG_NAME_NODE_HIGHEST_VERSION L"NodeHighestVersion"
  174. #define CLUSREG_NAME_NODE_LOWEST_VERSION L"NodeLowestVersion"
  175. #define CLUSREG_NAME_NODE_DESC L"Description"
  176. #define CLUSREG_NAME_NODE_PAUSED L"Paused"
  177. #define CLUSREG_NAME_NODE_MAJOR_VERSION L"MajorVersion"
  178. #define CLUSREG_NAME_NODE_MINOR_VERSION L"MinorVersion"
  179. #define CLUSREG_NAME_NODE_BUILD_NUMBER L"BuildNumber"
  180. #define CLUSREG_NAME_NODE_CSDVERSION L"CSDVersion"
  181. #define CLUSREG_NAME_NODE_EVTLOG_PROPAGATION L"EnableEventLogReplication"
  182. #define CLUSREG_NAME_QUORUM_ARBITRATION_TIMEOUT L"QuorumArbitrationTimeMax"
  183. #define CLUSREG_NAME_QUORUM_ARBITRATION_EQUALIZER L"QuorumArbitrationTimeMin"
  184. #define CLUSREG_NAME_NODE_PRODUCT_SUITE L"ProductSuite"
  185. #define CLUSREG_NAME_DISABLE_GROUP_PREFERRED_OWNER_RANDOMIZATION L"DisableGroupPreferredOwnerRandomization"
  186. #define CLUSREG_NAME_GRP_NAME L"Name"
  187. #define CLUSREG_NAME_GRP_DESC L"Description"
  188. #define CLUSREG_NAME_GRP_PERSISTENT_STATE L"PersistentState"
  189. #define CLUSREG_NAME_GRP_FAILBACK_TYPE L"AutoFailbackType"
  190. #define CLUSREG_NAME_GRP_FAILBACK_WIN_START L"FailbackWindowStart"
  191. #define CLUSREG_NAME_GRP_FAILBACK_WIN_END L"FailbackWindowEnd"
  192. #define CLUSREG_NAME_GRP_FAILOVER_THRESHOLD L"FailoverThreshold"
  193. #define CLUSREG_NAME_GRP_FAILOVER_PERIOD L"FailoverPeriod"
  194. #define CLUSREG_NAME_GRP_PREFERRED_OWNERS L"PreferredOwners"
  195. #define CLUSREG_NAME_GRP_CONTAINS L"Contains"
  196. #define CLUSREG_NAME_GRP_LOADBAL_STATE L"LoadBalState"
  197. #define CLUSREG_NAME_GRP_ANTI_AFFINITY_CLASS_NAME L"AntiAffinityClassNames"
  198. #define CLUSREG_NAME_RES_NAME L"Name"
  199. #define CLUSREG_NAME_RES_TYPE L"Type"
  200. #define CLUSREG_NAME_RES_DESC L"Description"
  201. #define CLUSREG_NAME_RES_DEBUG_PREFIX L"DebugPrefix"
  202. #define CLUSREG_NAME_RES_SEPARATE_MONITOR L"SeparateMonitor"
  203. #define CLUSREG_NAME_RES_PERSISTENT_STATE L"PersistentState"
  204. #define CLUSREG_NAME_RES_LOOKS_ALIVE L"LooksAlivePollInterval"
  205. #define CLUSREG_NAME_RES_IS_ALIVE L"IsAlivePollInterval"
  206. #define CLUSREG_NAME_RES_RESTART_ACTION L"RestartAction"
  207. #define CLUSREG_NAME_RES_RESTART_THRESHOLD L"RestartThreshold"
  208. #define CLUSREG_NAME_RES_RESTART_PERIOD L"RestartPeriod"
  209. #define CLUSREG_NAME_RES_RETRY_PERIOD_ON_FAILURE L"RetryPeriodOnFailure"
  210. #define CLUSREG_NAME_RES_PENDING_TIMEOUT L"PendingTimeout"
  211. #define CLUSREG_NAME_RES_POSSIBLE_OWNERS L"PossibleOwners"
  212. #define CLUSREG_NAME_RES_DEPENDS_ON L"DependsOn"
  213. #define CLUSREG_NAME_RES_LOADBAL_STARTUP L"LoadBalStartupInterval"
  214. #define CLUSREG_NAME_RES_LOADBAL_SAMPLE L"LoadBalSampleInterval"
  215. #define CLUSREG_NAME_RES_LOADBAL_ANALYSIS L"LoadBalAnalysisInterval"
  216. #define CLUSREG_NAME_RES_LOADBAL_PROCESSOR L"LoadBalMinProcessorUnits"
  217. #define CLUSREG_NAME_RES_LOADBAL_MEMORY L"LoadBalMinMemoryUnits"
  218. #define CLUSREG_NAME_RES_USER_MODIFIED_POSSIBLE_LIST L"UserModifiedPossibleNodeList"
  219. #define CLUSREG_NAME_RESTYPE_NAME L"Name"
  220. #define CLUSREG_NAME_RESTYPE_DESC L"Description"
  221. #define CLUSREG_NAME_RESTYPE_LOOKS_ALIVE L"LooksAlivePollInterval"
  222. #define CLUSREG_NAME_RESTYPE_IS_ALIVE L"IsAlivePollInterval"
  223. #define CLUSREG_NAME_RESTYPE_DLL_NAME L"DllName"
  224. #define CLUSREG_NAME_RESTYPE_DEBUG_PREFIX L"DebugPrefix"
  225. #define CLUSREG_NAME_RESTYPE_DEBUG_CTRLFUNC L"DebugControlFunctions"
  226. #define CLUSREG_NAME_RESTYPE_POSSIBLE_NODES L"PossibleNodes"
  227. #define CLUSREG_NAME_RESTYPE_ADMIN_EXTENSIONS L"AdminExtensions"
  228. #define CLUSREG_NAME_NET_NAME L"Name"
  229. #define CLUSREG_NAME_NET_DESC L"Description"
  230. #define CLUSREG_NAME_NET_ROLE L"Role"
  231. #define CLUSREG_NAME_NET_PRIORITY L"Priority"
  232. #define CLUSREG_NAME_NET_TRANSPORT L"Transport"
  233. #define CLUSREG_NAME_NET_ADDRESS L"Address"
  234. #define CLUSREG_NAME_NET_ADDRESS_MASK L"AddressMask"
  235. #define CLUSREG_NAME_NETIFACE_NAME L"Name"
  236. #define CLUSREG_NAME_NETIFACE_DESC L"Description"
  237. #define CLUSREG_NAME_NETIFACE_NODE L"Node"
  238. #define CLUSREG_NAME_NETIFACE_NETWORK L"Network"
  239. #define CLUSREG_NAME_NETIFACE_ADAPTER_NAME L"Adapter"
  240. #define CLUSREG_NAME_NETIFACE_ADAPTER_ID L"AdapterId"
  241. #define CLUSREG_NAME_NETIFACE_ADDRESS L"Address"
  242. #define CLUSREG_NAME_NETIFACE_ENDPOINT L"ClusnetEndpoint"
  243. #define CLUSREG_NAME_NETIFACE_STATE L"State"
  244. #define CLUSREG_NAME_QUORUM_RESOURCE L"Resource"
  245. #define CLUSREG_NAME_QUORUM_PATH L"Path"
  246. #define CLUSREG_NAME_QUORUM_MAX_LOG_SIZE L"MaxQuorumLogSize"
  247. #define CLUSREG_NAME_CHECKPOINT_INTERVAL L"CheckpointInterval"
  248. #define CLUSREG_NAME_FAILURE_RETRY_COUNT L"RetryCount"
  249. #define CLUSREG_NAME_FAILURE_RETRY_INTERVAL L"RetryInterval"
  250. //
  251. // Private property names
  252. //
  253. #define CLUSREG_NAME_PHYSDISK_SIGNATURE L"Signature"
  254. #define CLUSREG_NAME_PHYSDISK_DRIVE L"Drive"
  255. #define CLUSREG_NAME_PHYSDISK_SKIPCHKDSK L"SkipChkdsk"
  256. #define CLUSREG_NAME_PHYSDISK_CONDITIONAL_MOUNT L"ConditionalMount"
  257. #define CLUSREG_NAME_PHYSDISK_USEMOUNTPOINTS L"UseMountPoints"
  258. #define CLUSREG_NAME_PHYSDISK_MPVOLGUIDS L"MPVolGuids"
  259. #define CLUSREG_NAME_PHYSDISK_VOLGUID L"VolGuid"
  260. #define CLUSREG_NAME_PHYSDISK_SERIALNUMBER L"SerialNumber"
  261. #define CLUSREG_NAME_GENAPP_COMMAND_LINE L"CommandLine"
  262. #define CLUSREG_NAME_GENAPP_CURRENT_DIRECTORY L"CurrentDirectory"
  263. #define CLUSREG_NAME_GENAPP_INTERACT_WITH_DESKTOP L"InteractWithDesktop"
  264. #define CLUSREG_NAME_GENAPP_USE_NETWORK_NAME L"UseNetworkName"
  265. #define CLUSREG_NAME_GENSCRIPT_SCRIPT_FILEPATH L"ScriptFilepath"
  266. #define CLUSREG_NAME_GENSVC_SERVICE_NAME L"ServiceName"
  267. #define CLUSREG_NAME_GENSVC_STARTUP_PARAMS L"StartupParameters"
  268. #define CLUSREG_NAME_GENSVC_USE_NETWORK_NAME L"UseNetworkName"
  269. #define CLUSREG_NAME_IPADDR_NETWORK L"Network"
  270. #define CLUSREG_NAME_IPADDR_ADDRESS L"Address"
  271. #define CLUSREG_NAME_IPADDR_SUBNET_MASK L"SubnetMask"
  272. #define CLUSREG_NAME_IPADDR_ENABLE_NETBIOS L"EnableNetBIOS"
  273. #define CLUSREG_NAME_IPADDR_OVERRIDE_ADDRMATCH L"OverrideAddressMatch"
  274. #define CLUSREG_NAME_NETNAME_NAME L"Name"
  275. #define CLUSREG_NAME_NETNAME_REMAP_PIPE_NAMES L"RemapPipeNames"
  276. #define CLUSREG_NAME_NETNAME_REQUIRE_DNS L"RequireDNS"
  277. #define CLUSREG_NAME_NETNAME_REQUIRE_KERBEROS L"RequireKerberos"
  278. #define CLUSREG_NAME_NETNAME_STATUS_NETBIOS L"StatusNetBIOS"
  279. #define CLUSREG_NAME_NETNAME_STATUS_DNS L"StatusDNS"
  280. #define CLUSREG_NAME_NETNAME_STATUS_KERBEROS L"StatusKerberos"
  281. #define CLUSREG_NAME_PRTSPOOL_DEFAULT_SPOOL_DIR L"DefaultSpoolDirectory"
  282. #define CLUSREG_NAME_PRTSPOOL_DRIVER_DIRECTORY L"ClusterDriverDirectory"
  283. #define CLUSREG_NAME_PRTSPOOL_TIMEOUT L"JobCompletionTimeout"
  284. #define CLUSREG_NAME_FILESHR_SHARE_NAME L"ShareName"
  285. #define CLUSREG_NAME_FILESHR_PATH L"Path"
  286. #define CLUSREG_NAME_FILESHR_REMARK L"Remark"
  287. #define CLUSREG_NAME_FILESHR_MAX_USERS L"MaxUsers"
  288. #define CLUSREG_NAME_FILESHR_SECURITY L"Security"
  289. #define CLUSREG_NAME_FILESHR_SD L"Security Descriptor"
  290. #define CLUSREG_NAME_FILESHR_SHARE_SUBDIRS L"ShareSubDirs"
  291. #define CLUSREG_NAME_FILESHR_HIDE_SUBDIR_SHARES L"HideSubDirShares"
  292. #define CLUSREG_NAME_FILESHR_IS_DFS_ROOT L"IsDfsRoot"
  293. #define CLUSREG_NAME_FILESHR_CSC_CACHE L"CSCCache"
  294. #define CLUSREG_NAME_DHCP_DATABASE_PATH L"DatabasePath"
  295. #define CLUSREG_NAME_DHCP_BACKUP_PATH L"BackupPath"
  296. #define CLUSREG_NAME_WINS_DATABASE_PATH L"DatabasePath"
  297. #define CLUSREG_NAME_WINS_BACKUP_PATH L"BackupPath"
  298. //
  299. // Standard Resource Type Names
  300. //
  301. #define CLUS_RESTYPE_NAME_GENAPP L"Generic Application"
  302. #define CLUS_RESTYPE_NAME_GENSVC L"Generic Service"
  303. #define CLUS_RESTYPE_NAME_FTSET L"Fault Tolerant Disk Set"
  304. #define CLUS_RESTYPE_NAME_PHYS_DISK L"Physical Disk"
  305. #define CLUS_RESTYPE_NAME_IPADDR L"IP Address"
  306. #define CLUS_RESTYPE_NAME_NETNAME L"Network Name"
  307. #define CLUS_RESTYPE_NAME_FILESHR L"File Share"
  308. #define CLUS_RESTYPE_NAME_PRTSPLR L"Print Spooler"
  309. #define CLUS_RESTYPE_NAME_TIMESVC L"Time Service"
  310. #define CLUS_RESTYPE_NAME_LKQUORUM L"Local Quorum"
  311. #define CLUS_RESTYPE_NAME_DHCP L"DHCP Service"
  312. #define CLUS_RESTYPE_NAME_MSMQ L"Microsoft Message Queue Server"
  313. #define CLUS_RESTYPE_NAME_NEW_MSMQ L"MSMQ"
  314. #define CLUS_RESTYPE_DISPLAY_NAME_NEW_MSMQ L"Message Queuing"
  315. #define CLUS_RESTYPE_NAME_MSDTC L"Distributed Transaction Coordinator"
  316. #define CLUS_RESTYPE_NAME_WINS L"WINS Service"
  317. #define CLUS_RESTYPE_NAME_IIS4 L"IIS Server Instance"
  318. #define CLUS_RESTYPE_NAME_SMTP L"SMTP Server Instance"
  319. #define CLUS_RESTYPE_NAME_NNTP L"NNTP Server Instance"
  320. #define CLUS_RESTYPE_NAME_GENSCRIPT L"Generic Script"
  321. #define CLUS_RESTYPE_NAME_MAJORITYNODESET L"Majority Node Set"
  322. #define CLUS_NAME_DEFAULT_FILESPATH L"MSCS\\"
  323. #define MAJORITY_NODE_SET_DIRECTORY_PREFIX L"MNS."
  324. //
  325. // Misc. strings
  326. //
  327. #define CLUSTER_SERVICE_NAME L"ClusSvc"
  328. #define TIME_SERVICE_NAME L"TimeServ"
  329. #define CLUSTER_DIRECTORY L"%windir%\\cluster"
  330. #define CLUSTER_DATABASE_NAME L"CLUSDB"
  331. #define CLUSTER_DATABASE_TMPBKP_NAME L"CLUSDB.BKP$"
  332. //
  333. // Clussvc Clusnet Heartbeating defines. Nobody outside NM need to know this.
  334. //
  335. #define CLUSTER_HEARTBEAT_TIMEOUT_KEYNAME L"ClusSvcHeartbeatTimeout"
  336. #define CLUSTER_HANG_RECOVERY_ACTION_KEYNAME L"HangRecoveryAction"
  337. #define CLUSTER_HEARTBEAT_TIMEOUT_MIN 6 // 6 secs
  338. #define CLUSTER_HEARTBEAT_TIMEOUT_DEFAULT 60 // 1 min
  339. #define CLUSTER_HANG_RECOVERY_ACTION_DEFAULT ClussvcHangActionTerminateService
  340. #define RGP_CLOCK_PERIOD 300 // 300 ms, copied from secvice\mm\Jrgpos.h
  341. #endif // _CLUSUDEF_H_