thor.xsd.in 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ################################################################################
  4. # HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
  5. #
  6. # Licensed under the Apache License, Version 2.0 (the "License");
  7. # you may not use this file except in compliance with the License.
  8. # You may obtain a copy of the License at
  9. #
  10. # http://www.apache.org/licenses/LICENSE-2.0
  11. #
  12. # Unless required by applicable law or agreed to in writing, software
  13. # distributed under the License is distributed on an "AS IS" BASIS,
  14. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. # See the License for the specific language governing permissions and
  16. # limitations under the License.
  17. ################################################################################
  18. -->
  19. <!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by Rajeev Moondhra (Seisint, Inc.) -->
  20. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
  21. <xs:include schemaLocation="environment.xsd"/>
  22. <xs:element name="ThorCluster">
  23. <xs:annotation>
  24. <xs:documentation>Describes a thor cluster</xs:documentation>
  25. </xs:annotation>
  26. <xs:complexType>
  27. <!--DOC-Autobuild-code-->
  28. <xs:annotation>
  29. <xs:appinfo>
  30. <docid>Th.t1</docid>
  31. </xs:appinfo>
  32. </xs:annotation>
  33. <xs:choice maxOccurs="unbounded">
  34. <xs:element name="ThorSpareProcess" minOccurs="0" maxOccurs="unbounded">
  35. <xs:annotation>
  36. <xs:documentation>Describes a thor spare</xs:documentation>
  37. <xs:appinfo>
  38. <viewType>none</viewType>
  39. </xs:appinfo>
  40. </xs:annotation>
  41. <xs:complexType>
  42. <xs:complexContent>
  43. <xs:extension base="SimpleProcessBase"/>
  44. </xs:complexContent>
  45. </xs:complexType>
  46. </xs:element>
  47. <xs:element name="ThorSlaveProcess" maxOccurs="unbounded">
  48. <xs:annotation>
  49. <xs:documentation>Describes a thor slave</xs:documentation>
  50. <xs:appinfo>
  51. <viewType>none</viewType>
  52. </xs:appinfo>
  53. </xs:annotation>
  54. <xs:complexType>
  55. <xs:complexContent>
  56. <xs:extension base="SimpleProcessBase"/>
  57. </xs:complexContent>
  58. </xs:complexType>
  59. </xs:element>
  60. <xs:element name="ThorMasterProcess">
  61. <xs:annotation>
  62. <xs:documentation>Describes a thormaster</xs:documentation>
  63. <xs:appinfo>
  64. <viewType>none</viewType>
  65. </xs:appinfo>
  66. </xs:annotation>
  67. <xs:complexType>
  68. <xs:complexContent>
  69. <xs:extension base="SimpleProcessBase"/>
  70. </xs:complexContent>
  71. </xs:complexType>
  72. </xs:element>
  73. <xs:element name="Topology">
  74. <xs:annotation>
  75. <xs:appinfo>
  76. <viewType>thor_topology</viewType>
  77. </xs:appinfo>
  78. <xs:documentation>Describes the Topology of the given thor cluster</xs:documentation>
  79. </xs:annotation>
  80. <xs:complexType>
  81. <xs:sequence maxOccurs="unbounded">
  82. <xs:element name="Node" type="NodeType" minOccurs="0"/>
  83. </xs:sequence>
  84. </xs:complexType>
  85. <xs:keyref name="thorProcessKeyRef1" refer="thorProcessKey">
  86. <xs:selector xpath=".//*"/>
  87. <xs:field xpath="@process"/>
  88. </xs:keyref>
  89. </xs:element>
  90. <xs:element name="SSH">
  91. <xs:annotation>
  92. <xs:appinfo>
  93. <title>SSH options</title>
  94. <tooltip>Options for using SSH remote execution</tooltip>
  95. </xs:appinfo>
  96. </xs:annotation>
  97. <xs:complexType>
  98. <!--DOC-Autobuild-code-->
  99. <xs:annotation>
  100. <xs:appinfo>
  101. <docid>Th.t3</docid>
  102. </xs:appinfo>
  103. </xs:annotation>
  104. <xs:attribute name="SSHidentityfile" type="xs:string" default="$HOME/.ssh/id_rsa">
  105. <xs:annotation>
  106. <xs:appinfo>
  107. <tooltip>location of identity file (private key) on Thor master</tooltip>
  108. </xs:appinfo>
  109. </xs:annotation>
  110. </xs:attribute>
  111. <xs:attribute name="SSHusername" type="xs:string" default="hpcc">
  112. <xs:annotation>
  113. <xs:appinfo>
  114. <tooltip>Username to use when running Thor slaves</tooltip>
  115. </xs:appinfo>
  116. </xs:annotation>
  117. </xs:attribute>
  118. <xs:attribute name="SSHpassword" type="xs:string" default="">
  119. <xs:annotation>
  120. <xs:appinfo>
  121. <viewType>password</viewType>
  122. <tooltip>Fixed password - only required if no identity file present NB **insecure**</tooltip>
  123. </xs:appinfo>
  124. </xs:annotation>
  125. </xs:attribute>
  126. <xs:attribute name="SSHtimeout" type="xs:nonNegativeInteger" default="0">
  127. <xs:annotation>
  128. <xs:appinfo>
  129. <tooltip>Timeout in seconds for SSH connects</tooltip>
  130. </xs:appinfo>
  131. </xs:annotation>
  132. </xs:attribute>
  133. <xs:attribute name="SSHretries" type="xs:nonNegativeInteger" default="3">
  134. <xs:annotation>
  135. <xs:appinfo>
  136. <tooltip>Number of times to retry failed connect</tooltip>
  137. </xs:appinfo>
  138. </xs:annotation>
  139. </xs:attribute>
  140. </xs:complexType>
  141. </xs:element>
  142. <xs:element name="Debug">
  143. <xs:annotation>
  144. <xs:appinfo>
  145. <title>Debug</title>
  146. </xs:appinfo>
  147. </xs:annotation>
  148. <xs:complexType>
  149. <!--DOC-Autobuild-code-->
  150. <xs:annotation>
  151. <xs:appinfo>
  152. <docid>Th.t2</docid>
  153. </xs:appinfo>
  154. </xs:annotation>
  155. <xs:attribute name="dllsToSlaves" type="xs:boolean" use="optional" default="true">
  156. <xs:annotation>
  157. <xs:appinfo>
  158. <tooltip>Controls whether query DLLs are broadcast to slaves at start of query, or loaded from master's shared directory.</tooltip>
  159. </xs:appinfo>
  160. </xs:annotation>
  161. </xs:attribute>
  162. <xs:attribute name="crcReadEnabled" type="xs:boolean" use="optional" default="true">
  163. <xs:annotation>
  164. <xs:appinfo>
  165. <tooltip>Verify that a read file's CRC matches the published meta data CRC</tooltip>
  166. </xs:appinfo>
  167. </xs:annotation>
  168. </xs:attribute>
  169. <xs:attribute name="crcWriteEnabled" type="xs:boolean" use="optional" default="true">
  170. <xs:annotation>
  171. <xs:appinfo>
  172. <tooltip>Calculate and publish a CRC per published disk output file</tooltip>
  173. </xs:appinfo>
  174. </xs:annotation>
  175. </xs:attribute>
  176. <xs:attribute name="slaveDaliClient" type="xs:boolean" use="optional" default="false">
  177. <xs:annotation>
  178. <xs:appinfo>
  179. <tooltip>Set to true if thor slaves require dali connectivity</tooltip>
  180. </xs:appinfo>
  181. </xs:annotation>
  182. </xs:attribute>
  183. </xs:complexType>
  184. </xs:element>
  185. <xs:element name="SwapNode">
  186. <xs:annotation>
  187. <xs:appinfo>
  188. <title>SwapNode</title>
  189. <tooltip>Options for automatic node swap</tooltip>
  190. </xs:appinfo>
  191. </xs:annotation>
  192. <xs:complexType>
  193. <!--DOC-Autobuild-code-->
  194. <xs:annotation>
  195. <xs:appinfo>
  196. <docid>Th.t4</docid>
  197. </xs:appinfo>
  198. </xs:annotation>
  199. <xs:attribute name="AutoSwapNode" type="xs:boolean" default="false">
  200. <xs:annotation>
  201. <xs:appinfo>
  202. <tooltip>Failing nodes will be automatically swapped for spare nodes</tooltip>
  203. </xs:appinfo>
  204. </xs:annotation>
  205. </xs:attribute>
  206. <xs:attribute name="SwapNodeCheckPrimaryDrive" type="xs:boolean" use="optional" default="true">
  207. <xs:annotation>
  208. <xs:appinfo>
  209. <tooltip>Primary drive is checked for read/write</tooltip>
  210. </xs:appinfo>
  211. </xs:annotation>
  212. </xs:attribute>
  213. <xs:attribute name="SwapNodeCheckMirrorDrive" type="xs:boolean" use="optional" default="true">
  214. <xs:annotation>
  215. <xs:appinfo>
  216. <tooltip>Mirror drive is checked for read/write</tooltip>
  217. </xs:appinfo>
  218. </xs:annotation>
  219. </xs:attribute>
  220. <xs:attribute name="SwapNodeMaxConcurrent" type="xs:nonNegativeInteger" use="optional" default="1">
  221. <xs:annotation>
  222. <xs:appinfo>
  223. <tooltip>Maximum number of concurrent automatic swaps (within the swap interval)</tooltip>
  224. </xs:appinfo>
  225. </xs:annotation>
  226. </xs:attribute>
  227. <xs:attribute name="SwapNodeInterval" type="xs:nonNegativeInteger" use="optional" default="24">
  228. <xs:annotation>
  229. <xs:appinfo>
  230. <tooltip>Interval (in hours) for maximum concurrent swaps</tooltip>
  231. </xs:appinfo>
  232. </xs:annotation>
  233. </xs:attribute>
  234. <xs:attribute name="SwapNodeRestartJob" type="xs:boolean" use="optional" default="false">
  235. <xs:annotation>
  236. <xs:appinfo>
  237. <tooltip>Restart job that failed prior to swap</tooltip>
  238. </xs:appinfo>
  239. </xs:annotation>
  240. </xs:attribute>
  241. <xs:attribute name="CheckAfterEveryJob" type="xs:boolean" use="optional" default="false">
  242. <xs:annotation>
  243. <xs:appinfo>
  244. <tooltip>Check nodes after every job (if false, only check after failed jobs)</tooltip>
  245. </xs:appinfo>
  246. </xs:annotation>
  247. </xs:attribute>
  248. </xs:complexType>
  249. </xs:element>
  250. <xs:element name="Storage">
  251. <xs:annotation>
  252. <xs:appinfo>
  253. <title>Backup</title>
  254. <tooltip>Options for mirroring thor data</tooltip>
  255. </xs:appinfo>
  256. </xs:annotation>
  257. <xs:complexType>
  258. <!--DOC-Autobuild-code-->
  259. <xs:annotation>
  260. <xs:appinfo>
  261. <docid>Th.t5</docid>
  262. </xs:appinfo>
  263. </xs:annotation>
  264. </xs:complexType>
  265. </xs:element>
  266. <xs:element name="Notes" maxOccurs="unbounded">
  267. <xs:annotation>
  268. <xs:appinfo>
  269. <viewChildNodes>true</viewChildNodes>
  270. </xs:appinfo>
  271. </xs:annotation>
  272. <xs:complexType>
  273. <xs:sequence>
  274. <xs:element name="Note" type="xs:string" minOccurs="0" maxOccurs="1"/>
  275. </xs:sequence>
  276. <xs:attribute name="severity" use="optional" default="Minor">
  277. <xs:annotation>
  278. <xs:appinfo>
  279. <tooltip>Significance of this note.</tooltip>
  280. <title>Severity</title>
  281. <colIndex>1</colIndex>
  282. </xs:appinfo>
  283. </xs:annotation>
  284. <xs:simpleType>
  285. <xs:restriction base="xs:string">
  286. <xs:enumeration value="Minor"/>
  287. <xs:enumeration value="Normal"/>
  288. <xs:enumeration value="Critical"/>
  289. </xs:restriction>
  290. </xs:simpleType>
  291. </xs:attribute>
  292. <xs:attribute name="date" type="AutoTimeStampType" use="optional">
  293. <xs:annotation>
  294. <xs:appinfo>
  295. <title>Date / Time</title>
  296. <tooltip>Date and time this note was entered</tooltip>
  297. <viewType>readonly</viewType>
  298. <width>120</width>
  299. <colIndex>2</colIndex>
  300. </xs:appinfo>
  301. </xs:annotation>
  302. </xs:attribute>
  303. <xs:attribute name="computer" type="AutoComputerType" use="optional">
  304. <xs:annotation>
  305. <xs:appinfo>
  306. <title>Computer</title>
  307. <tooltip>Computer from which this note was entered</tooltip>
  308. <viewType>readonly</viewType>
  309. <colIndex>3</colIndex>
  310. </xs:appinfo>
  311. </xs:annotation>
  312. </xs:attribute>
  313. <xs:attribute name="user" type="AutoUseridType" use="optional">
  314. <xs:annotation>
  315. <xs:appinfo>
  316. <title>User</title>
  317. <tooltip>User account from which this note was entered</tooltip>
  318. <viewType>readonly</viewType>
  319. <colIndex>4</colIndex>
  320. </xs:appinfo>
  321. </xs:annotation>
  322. </xs:attribute>
  323. </xs:complexType>
  324. </xs:element>
  325. </xs:choice>
  326. <xs:attribute name="build" type="buildType" use="required">
  327. <xs:annotation>
  328. <xs:appinfo>
  329. <tooltip>The build name to be deployed</tooltip>
  330. <viewType>hidden</viewType>
  331. </xs:appinfo>
  332. </xs:annotation>
  333. </xs:attribute>
  334. <xs:attribute name="buildSet" type="buildSetType" use="required">
  335. <xs:annotation>
  336. <xs:appinfo>
  337. <viewType>hidden</viewType>
  338. </xs:appinfo>
  339. </xs:annotation>
  340. </xs:attribute>
  341. <xs:attribute name="name" type="xs:string" use="required">
  342. <xs:annotation>
  343. <xs:appinfo>
  344. <tooltip>Name for this process</tooltip>
  345. </xs:appinfo>
  346. </xs:annotation>
  347. </xs:attribute>
  348. <xs:attribute name="description" type="xs:string" default="Thor process">
  349. <xs:annotation>
  350. <xs:appinfo>
  351. <tooltip>Description for this process</tooltip>
  352. </xs:appinfo>
  353. </xs:annotation>
  354. </xs:attribute>
  355. @XSD_PLUGIN_DEFINITION@
  356. <xs:attribute name="daliServers" type="daliServersType" use="required">
  357. <xs:annotation>
  358. <xs:appinfo>
  359. <autogenforwizard>1</autogenforwizard>
  360. <tooltip>Specifies the dali server to which this thor is attached.</tooltip>
  361. </xs:appinfo>
  362. </xs:annotation>
  363. </xs:attribute>
  364. <xs:attribute name="externalProgDir" type="absolutePath" use="optional">
  365. <xs:annotation>
  366. <xs:appinfo>
  367. <tooltip>If specified, external programs executed via PIPE will be started in the named directory</tooltip>
  368. </xs:appinfo>
  369. </xs:annotation>
  370. </xs:attribute>
  371. <xs:attribute name="masterMemorySize" type="xs:nonNegativeInteger" use="optional">
  372. <xs:annotation>
  373. <xs:appinfo>
  374. <tooltip>Memory (in MB) to use for rows on thor master. It will default to globalMemorySize if unset</tooltip>
  375. </xs:appinfo>
  376. </xs:annotation>
  377. </xs:attribute>
  378. <xs:attribute name="fileCacheLimit" type="xs:nonNegativeInteger" default="1800">
  379. <xs:annotation>
  380. <xs:appinfo>
  381. <tooltip>File Cache limit (in MB). It will default to 1800 if unset</tooltip>
  382. </xs:appinfo>
  383. </xs:annotation>
  384. </xs:attribute>
  385. <xs:attribute name="globalMemorySize" type="xs:nonNegativeInteger" use="optional">
  386. <xs:annotation>
  387. <xs:appinfo>
  388. <tooltip>Memory (in MB) to use for rows per Thor slave process. If unset, default = [75% of physical memory] / slavesPerNode</tooltip>
  389. </xs:appinfo>
  390. </xs:annotation>
  391. </xs:attribute>
  392. <xs:attribute name="memorySpillAt" type="xs:nonNegativeInteger" use="optional">
  393. <xs:annotation>
  394. <xs:appinfo>
  395. <tooltip>Threshold that the memory manager should start requesting memory to be freed (percentage)</tooltip>
  396. </xs:appinfo>
  397. </xs:annotation>
  398. </xs:attribute>
  399. <xs:attribute name="heapUseHugePages" type="xs:boolean" default="false">
  400. <xs:annotation>
  401. <xs:appinfo>
  402. <tooltip>Allow Thor master and slave to use memory from huge pages if they have been configured.</tooltip>
  403. </xs:appinfo>
  404. </xs:annotation>
  405. </xs:attribute>
  406. <xs:attribute name="heapMasterUseHugePages" type="xs:boolean" use="optional">
  407. <xs:annotation>
  408. <xs:appinfo>
  409. <tooltip>Allow heapUseHugePages to be overridden for the master. Useful to disable if running on a single machine.</tooltip>
  410. </xs:appinfo>
  411. </xs:annotation>
  412. </xs:attribute>
  413. <xs:attribute name="heapUseTransparentHugePages" type="xs:boolean" default="true">
  414. <xs:annotation>
  415. <xs:appinfo>
  416. <tooltip>Allow Thor master and slave to use memory from transparent huge pages.</tooltip>
  417. </xs:appinfo>
  418. </xs:annotation>
  419. </xs:attribute>
  420. <xs:attribute name="heapRetainMemory" type="xs:boolean" default="false">
  421. <xs:annotation>
  422. <xs:appinfo>
  423. <tooltip>Retain and do not return unused memory to the operating system.</tooltip>
  424. </xs:appinfo>
  425. </xs:annotation>
  426. </xs:attribute>
  427. <xs:attribute name="pluginsPath" type="relativePath" default="${PLUGINS_PATH}/"/>
  428. <xs:attribute name="nodeGroup" type="xs:string" use="optional">
  429. <xs:annotation>
  430. <xs:appinfo>
  431. <tooltip>Name of a node group running Thor slaves. (if omitted uses same name as Thor)</tooltip>
  432. <autogenforwizard>1</autogenforwizard>
  433. <autogendefaultvalue>$processname</autogendefaultvalue>
  434. </xs:appinfo>
  435. </xs:annotation>
  436. </xs:attribute>
  437. <xs:attribute name="defaultOutputNodeGroup" type="xs:string" use="optional">
  438. <xs:annotation>
  439. <xs:appinfo>
  440. <tooltip>Default group to output to. Leave blank if output defaults to local cluster.</tooltip>
  441. </xs:appinfo>
  442. </xs:annotation>
  443. </xs:attribute>
  444. <xs:attribute name="masterport" type="xs:nonNegativeInteger" default="20000">
  445. <xs:annotation>
  446. <xs:appinfo>
  447. <tooltip>Base port to use for master</tooltip>
  448. </xs:appinfo>
  449. </xs:annotation>
  450. </xs:attribute>
  451. <xs:attribute name="slaveport" type="xs:nonNegativeInteger" default="20100">
  452. <xs:annotation>
  453. <xs:appinfo>
  454. <tooltip>Base port to use for slaves</tooltip>
  455. </xs:appinfo>
  456. </xs:annotation>
  457. </xs:attribute>
  458. <xs:attribute name="localThor" type="xs:boolean" default="false">
  459. <xs:annotation>
  460. <xs:appinfo>
  461. <tooltip>Assume all slaves are local to this machine rather than started via agent</tooltip>
  462. </xs:appinfo>
  463. </xs:annotation>
  464. </xs:attribute>
  465. <xs:attribute name="slavesPerNode" type="xs:nonNegativeInteger" default="1">
  466. <xs:annotation>
  467. <xs:appinfo>
  468. <tooltip>Defines how many slave processes there are on each node</tooltip>
  469. </xs:appinfo>
  470. </xs:annotation>
  471. </xs:attribute>
  472. <xs:attribute name="channelsPerSlave" type="xs:nonNegativeInteger" default="1">
  473. <xs:annotation>
  474. <xs:appinfo>
  475. <tooltip>Defines how many slave channels per slave process</tooltip>
  476. </xs:appinfo>
  477. </xs:annotation>
  478. </xs:attribute>
  479. <xs:attribute name="localThorPortInc" type="xs:nonNegativeInteger" default="20">
  480. <xs:annotation>
  481. <xs:appinfo>
  482. <tooltip>Port increment between slaves on same node</tooltip>
  483. </xs:appinfo>
  484. </xs:annotation>
  485. </xs:attribute>
  486. <xs:attribute name="multiThorMemoryThreshold" type="xs:nonNegativeInteger" use="optional">
  487. <xs:annotation>
  488. <xs:appinfo>
  489. <tooltip>Memory usage (in MB) beneath which multiple Thors will run in parallel. Leave blank if no limit.</tooltip>
  490. </xs:appinfo>
  491. </xs:annotation>
  492. </xs:attribute>
  493. <xs:attribute name="multiThorPriorityLock" type="xs:boolean" use="optional" default="false">
  494. <xs:annotation>
  495. <xs:appinfo>
  496. <tooltip>If set true, prevents lower priority jobs starting on a multithor</tooltip>
  497. </xs:appinfo>
  498. </xs:annotation>
  499. </xs:attribute>
  500. <xs:attribute name="multiThorExclusionLockName" type="xs:string" use="optional">
  501. <xs:annotation>
  502. <xs:appinfo>
  503. <tooltip>Prevents other thors (on any queue) sharing the same multiThorExclusionLockName name from running jobs at the same time</tooltip>
  504. </xs:appinfo>
  505. </xs:annotation>
  506. </xs:attribute>
  507. <xs:attribute name="replicateOutputs" type="xs:boolean" default="true">
  508. <xs:annotation>
  509. <xs:appinfo>
  510. <autogenforwizard>1</autogenforwizard>
  511. <autogendefaultvalue>false</autogendefaultvalue>
  512. <autogendefaultformultinode>true</autogendefaultformultinode>
  513. <tooltip>Replicate output files</tooltip>
  514. </xs:appinfo>
  515. </xs:annotation>
  516. </xs:attribute>
  517. <xs:attribute name="replicateAsync" type="xs:boolean" default="true">
  518. <xs:annotation>
  519. <xs:appinfo>
  520. <autogenforwizard>1</autogenforwizard>
  521. <autogendefaultvalue>false</autogendefaultvalue>
  522. <autogendefaultformultinode>true</autogendefaultformultinode>
  523. <tooltip>Perform output replication in the background, allowing thor to process next task</tooltip>
  524. </xs:appinfo>
  525. </xs:annotation>
  526. </xs:attribute>
  527. <xs:attribute name="autoCopyBackup" type="xs:boolean" default="false">
  528. <xs:annotation>
  529. <xs:appinfo>
  530. <tooltip>If files at primary location are missing, copy into place from backup location</tooltip>
  531. <autogenforwizard>1</autogenforwizard>
  532. <autogendefaultvalue>false</autogendefaultvalue>
  533. </xs:appinfo>
  534. </xs:annotation>
  535. </xs:attribute>
  536. <xs:attribute name="checkPointRecovery" type="xs:boolean" use="optional" default="false">
  537. <xs:annotation>
  538. <xs:appinfo>
  539. <tooltip>Enable support for continuing failed workunits from point of failure</tooltip>
  540. </xs:appinfo>
  541. </xs:annotation>
  542. </xs:attribute>
  543. <xs:attribute name="watchdogEnabled" type="xs:boolean" default="true">
  544. <xs:annotation>
  545. <xs:appinfo>
  546. <tooltip>Enable/disable watchdog process (periodically checking slaves are still alive)</tooltip>
  547. </xs:appinfo>
  548. </xs:annotation>
  549. </xs:attribute>
  550. <xs:attribute name="watchdogProgressEnabled" type="xs:boolean" default="true">
  551. <xs:annotation>
  552. <xs:appinfo>
  553. <tooltip>Enable/Disable graph progress reporting in watchdog process</tooltip>
  554. </xs:appinfo>
  555. </xs:annotation>
  556. </xs:attribute>
  557. <xs:attribute name="watchdogProgressInterval" type="xs:nonNegativeInteger" use="optional" default="30">
  558. <xs:annotation>
  559. <xs:appinfo>
  560. <tooltip>Graph progress reporting interval (seconds)</tooltip>
  561. </xs:appinfo>
  562. </xs:annotation>
  563. </xs:attribute>
  564. <xs:attribute name="slaveDownTimeout" type="xs:nonNegativeInteger" use="optional" default="300">
  565. <xs:annotation>
  566. <xs:appinfo>
  567. <tooltip>A slave will be marked down after the specified elapsed time period (seconds)</tooltip>
  568. </xs:appinfo>
  569. </xs:annotation>
  570. </xs:attribute>
  571. <xs:attribute name="verifyDaliConnectionInterval" type="xs:nonNegativeInteger" use="optional" default="300">
  572. <xs:annotation>
  573. <xs:appinfo>
  574. <tooltip>Interval between verification of thor to dali connection (seconds)</tooltip>
  575. </xs:appinfo>
  576. </xs:annotation>
  577. </xs:attribute>
  578. <xs:attribute name="idleRestartPeriod" type="xs:nonNegativeInteger" use="optional" default="480">
  579. <xs:annotation>
  580. <xs:appinfo>
  581. <tooltip>Period of idle time after which to initiate an auto restart (minutes)</tooltip>
  582. </xs:appinfo>
  583. </xs:annotation>
  584. </xs:attribute>
  585. <xs:attribute name="smallSortThreshold" type="xs:nonNegativeInteger" use="optional" default="1024">
  586. <xs:annotation>
  587. <xs:appinfo>
  588. <tooltip>Sort size threshold for thor global sorting on multiple nodes (MB)</tooltip>
  589. </xs:appinfo>
  590. </xs:annotation>
  591. </xs:attribute>
  592. <xs:attribute name="maxActivityCores" type="xs:nonNegativeInteger" use="optional" default="0">
  593. <xs:annotation>
  594. <xs:appinfo>
  595. <tooltip>Maximum number of cores to use per activity (only currently used by sorting activities). Default equals all available</tooltip>
  596. </xs:appinfo>
  597. </xs:annotation>
  598. </xs:attribute>
  599. <xs:attribute name="monitorDaliFileServer" type="xs:boolean" default="true">
  600. <xs:annotation>
  601. <xs:appinfo>
  602. <tooltip>Warn if dafilesrv process is not running on computers</tooltip>
  603. <autogenforwizard>1</autogenforwizard>
  604. <autogendefaultvalue>true</autogendefaultvalue>
  605. </xs:appinfo>
  606. </xs:annotation>
  607. </xs:attribute>
  608. <xs:attribute name="allowedPipePrograms" type="xs:string" use="optional" default="*">
  609. <xs:annotation>
  610. <xs:appinfo>
  611. <tooltip>Comma separated list of allowed PIPE program (* for allow all)</tooltip>
  612. </xs:appinfo>
  613. </xs:annotation>
  614. </xs:attribute>
  615. <xs:attribute name="compressInternalSpills" type="xs:boolean" default="true">
  616. <xs:annotation>
  617. <xs:appinfo>
  618. <tooltip>Compress internal writes to disk when spilling</tooltip>
  619. </xs:appinfo>
  620. </xs:annotation>
  621. </xs:attribute>
  622. <xs:attribute name="affinity" type="xs:string" use="optional">
  623. <xs:annotation>
  624. <xs:appinfo>
  625. <tooltip>A comma separated list of cpu ids (and ranges) to bind all thor slaves to</tooltip>
  626. </xs:appinfo>
  627. </xs:annotation>
  628. </xs:attribute>
  629. <xs:attribute name="autoAffinity" type="xs:boolean" default="true">
  630. <xs:annotation>
  631. <xs:appinfo>
  632. <tooltip>Automatically bind slave processes to a single cpu socket, if multiple slaves are running on a multi socket machine</tooltip>
  633. </xs:appinfo>
  634. </xs:annotation>
  635. </xs:attribute>
  636. <xs:attribute name="numaBindLocal" type="xs:boolean" default="false">
  637. <xs:annotation>
  638. <xs:appinfo>
  639. <tooltip>Restrict allocations to memory attached to the cpu sockets the slave process is bound to</tooltip>
  640. </xs:appinfo>
  641. </xs:annotation>
  642. </xs:attribute>
  643. <xs:attribute name="httpCallerIdHeader" type="xs:string" use="optional" default="HPCC-Caller-Id">
  644. <xs:annotation>
  645. <xs:appinfo>
  646. <tooltip>HTTP Header field to use for sending and receiving CallerId</tooltip>
  647. </xs:appinfo>
  648. </xs:annotation>
  649. </xs:attribute>
  650. <xs:attribute name="httpGlobalIdHeader" type="xs:string" use="optional" default="HPCC-Global-Id">
  651. <xs:annotation>
  652. <xs:appinfo>
  653. <tooltip>HTTP Header field to use for sending and receiving GlobalId</tooltip>
  654. </xs:appinfo>
  655. </xs:annotation>
  656. </xs:attribute>
  657. </xs:complexType>
  658. <xs:attribute name="fieldTranslationEnabled" use="optional" default="payload">
  659. <xs:annotation>
  660. <xs:appinfo>
  661. <tooltip>Enables translation (where possible) of mismatched file layouts on-the-fly. Specify 'payload' to attempt to translate payload fields only</tooltip>
  662. </xs:appinfo>
  663. </xs:annotation>
  664. <xs:simpleType>
  665. <xs:restriction base="xs:string">
  666. <xs:enumeration value="false"/>
  667. <xs:enumeration value="true"/>
  668. <xs:enumeration value="payload"/>
  669. </xs:restriction>
  670. </xs:simpleType>
  671. </xs:attribute>
  672. <xs:key name="thorProcessKey1">
  673. <xs:selector xpath="./ThorMasterProcess|./ThorSlaveProcess"/>
  674. <xs:field xpath="@name"/>
  675. </xs:key>
  676. </xs:element>
  677. </xs:schema>