ECLSchedAdmin.xml 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
  4. <book>
  5. <bookinfo>
  6. <title>ECL Scheduler</title>
  7. <author>
  8. <firstname>Boca Raton</firstname>
  9. <surname>Documentation Team</surname>
  10. <affiliation>
  11. <orgname>Lexis Nexis</orgname>
  12. </affiliation>
  13. </author>
  14. <pubdate>2012</pubdate>
  15. </bookinfo>
  16. <chapter id="ECLSched-Admin">
  17. <title>ECL Scheduler Admin</title>
  18. <sect1 role="nobrk">
  19. <title>Command Line Interface: scheduleadmin</title>
  20. <para>The <emphasis role="bold">scheduleadmin</emphasis> is the command
  21. line interface to the ECL Scheduler. The scheduleadmin is located by
  22. default in <emphasis role="bold">/opt/HPCCSystems/bin/ </emphasis>on
  23. your HPCC system.</para>
  24. <para><emphasis role="bold">scheduleadmin
  25. </emphasis><emphasis>daliserver</emphasis>
  26. <emphasis>operation</emphasis> <emphasis
  27. role="bold">[</emphasis><emphasis>options</emphasis> <emphasis
  28. role="bold">]</emphasis></para>
  29. <para><informaltable colsep="0" frame="none" rowsep="0">
  30. <tgroup cols="2">
  31. <colspec colwidth="122.40pt" />
  32. <colspec />
  33. <tbody>
  34. <row>
  35. <entry><emphasis>daliserver</emphasis></entry>
  36. <entry>The URL (http:// or https://) and/or IP address of the
  37. Dali server. The port may also be included.</entry>
  38. </row>
  39. <row>
  40. <entry><emphasis>operation</emphasis></entry>
  41. <entry>One of the following actions: <programlisting
  42. role="tab"> servers
  43. add
  44. remove
  45. removeall
  46. list
  47. monitor
  48. cleanup
  49. push
  50. </programlisting></entry>
  51. </row>
  52. <row>
  53. <entry><emphasis>options</emphasis></entry>
  54. <entry>Optional. A space-delimited list of optional items
  55. (listed below) appropriate to the
  56. <emphasis>operation</emphasis> being executed.</entry>
  57. </row>
  58. </tbody>
  59. </tgroup>
  60. </informaltable></para>
  61. <para>The <emphasis role="bold">scheduleadmin</emphasis> application
  62. accepts command line parameters to maintain the list of workunits the
  63. ECL Scheduler monitors.</para>
  64. <sect2>
  65. <title>Support Operations</title>
  66. <para>The following operations are supported.</para>
  67. <sect3>
  68. <title>Servers</title>
  69. <para>The server operation returns a list of the ECL Server queues
  70. attached to the specifed daliserver that have events being
  71. monitored.</para>
  72. <para>Example:</para>
  73. <para><programlisting> scheduleadmin 10.150.50.11:7070 servers
  74. //returns data that looks like this:
  75. eclserver_training
  76. </programlisting></para>
  77. </sect3>
  78. <sect3>
  79. <title>Add wuid</title>
  80. <para>The add operation allows you to re-add the specified wuid
  81. after having removed it from the monitor list.</para>
  82. <para>These options are used by the add operation:</para>
  83. <para><informaltable colsep="0" frame="none" rowsep="0">
  84. <?dbfo keep-together="always"?>
  85. <tgroup cols="2">
  86. <colspec colwidth="49.50pt" />
  87. <colspec />
  88. <tbody>
  89. <row>
  90. <entry><emphasis>wuid</emphasis></entry>
  91. <entry>A workunit identifier that contains an action with
  92. a WHEN workflow service.</entry>
  93. </row>
  94. </tbody>
  95. </tgroup>
  96. </informaltable></para>
  97. <para>Example:</para>
  98. <para><programlisting> scheduleadmin 10.150.50.11 add W20120303-100635
  99. </programlisting></para>
  100. </sect3>
  101. <sect3>
  102. <title>Remove wuid</title>
  103. <para>The remove operation allows you to remove the specified wuid
  104. from the monitor list.</para>
  105. <para>These options are used by the remove operation:</para>
  106. <para></para>
  107. <para><informaltable colsep="0" frame="none" rowsep="1">
  108. <?dbfo keep-together="always"?>
  109. <tgroup cols="2">
  110. <colspec colwidth="49.50pt" />
  111. <colspec />
  112. <tbody>
  113. <row>
  114. <entry><emphasis>wuid</emphasis></entry>
  115. <entry>A workunit identifier that contains an action with
  116. a WHEN workflow service.</entry>
  117. </row>
  118. </tbody>
  119. </tgroup>
  120. </informaltable>Example:</para>
  121. <para><programlisting> scheduleadmin 10.150.50.11 remove W20120303-100635
  122. </programlisting></para>
  123. </sect3>
  124. <sect3>
  125. <title>Removeall</title>
  126. <para>The removeall operation allows you to remove all workunits
  127. that contain actions with WHEN workflow services from the monitor
  128. list.</para>
  129. <para>Example:</para>
  130. <para><programlisting> scheduleadmin 10.150.50.11 removeall
  131. </programlisting></para>
  132. </sect3>
  133. <sect3>
  134. <title>List [<emphasis>eclserver </emphasis>|
  135. <emphasis>event</emphasis>]</title>
  136. <para>The list operation displays the list of monitored workunits
  137. and the events that they are waiting to occur.</para>
  138. <para>These options are used by the List operation.</para>
  139. <informaltable colsep="0" frame="none" rowsep="0">
  140. <?dbfo keep-together="always"?>
  141. <tgroup cols="2">
  142. <colspec colwidth="59.50pt" />
  143. <colspec />
  144. <tbody>
  145. <row>
  146. <entry><emphasis>eclserver</emphasis></entry>
  147. <entry>The name of an ECL Server queue attached to the
  148. daliserver.</entry>
  149. </row>
  150. <row>
  151. <entry><emphasis>event</emphasis></entry>
  152. <entry>Optional. The name of an event. If omitted, all
  153. events are displayed.</entry>
  154. </row>
  155. </tbody>
  156. </tgroup>
  157. </informaltable>
  158. <para>Example:</para>
  159. <para><programlisting> scheduleadmin 10.150.50.11 list eclserver_training
  160. //returns data that looks like this:
  161. 2012-03-16T19:18:40
  162. CRON
  163. 10 19 * * *
  164. W20120316-130812
  165. MyEvent
  166. *
  167. W20120316-133145
  168. </programlisting></para>
  169. </sect3>
  170. <sect3>
  171. <title>Monitor[<emphasis>eclserver</emphasis>|
  172. <emphasis>event</emphasis>]</title>
  173. <para>The monitor operation blocks and updates the display of the
  174. list of monitored workunits as changes occur. Press the ENTER key to
  175. return to the command prompt.</para>
  176. <para>These options are used by the monitor operation.</para>
  177. <informaltable colsep="0" frame="none" rowsep="0">
  178. <?dbfo keep-together="always"?>
  179. <tgroup cols="2">
  180. <colspec colwidth="59.50pt" />
  181. <colspec />
  182. <tbody>
  183. <row>
  184. <entry><emphasis>eclserver</emphasis></entry>
  185. <entry>The name of an ECL Server queue attached to the
  186. daliserver.</entry>
  187. </row>
  188. <row>
  189. <entry><emphasis>event</emphasis></entry>
  190. <entry>Optional. The name of an event. If omitted, all
  191. events are displayed.</entry>
  192. </row>
  193. </tbody>
  194. </tgroup>
  195. </informaltable>
  196. <para>Example:</para>
  197. <para><programlisting> scheduleadmin 10.150.50.11 monitor eclserver_training
  198. //returns data that looks like this:
  199. 2012-03-16T19:07:22
  200. CRON
  201. 40 18 * * *
  202. W20120316-124216
  203. 10 19 * * *
  204. W20120316-130812
  205. monitoring...
  206. </programlisting></para>
  207. </sect3>
  208. <sect3>
  209. <title>Cleanup</title>
  210. <para>The cleanup operation trims unused branches from the tree list
  211. of monitored workunits.</para>
  212. <para>Example:</para>
  213. <para><programlisting> scheduleadmin 10.150.50.11 cleanup
  214. </programlisting></para>
  215. </sect3>
  216. <sect3>
  217. <title>Push [<emphasis>eclserver</emphasis>|
  218. <emphasis>event</emphasis>]</title>
  219. <para>The push operation posts the specified event as having
  220. occurred. This allows you to "fake" an event occurrence for testing
  221. purposes.</para>
  222. <para>These options are used by the push operation.</para>
  223. <informaltable colsep="0" frame="none" rowsep="0">
  224. <?dbfo keep-together="always"?>
  225. <tgroup cols="2">
  226. <colspec colwidth="59.50pt" />
  227. <colspec />
  228. <tbody>
  229. <row>
  230. <entry><emphasis>event</emphasis></entry>
  231. <entry>The name of a user-defined event (this must NOT be
  232. "CRON").</entry>
  233. </row>
  234. <row>
  235. <entry><emphasis>subtype</emphasis></entry>
  236. <entry>The string value to match the second parameter to the
  237. EVENT function.</entry>
  238. </row>
  239. </tbody>
  240. </tgroup>
  241. </informaltable>
  242. <para>Example:</para>
  243. <para><programlisting> scheduleadmin 10.150.50.11 push MyFileEvent MyFile.d00
  244. </programlisting></para>
  245. </sect3>
  246. </sect2>
  247. </sect1>
  248. </chapter>
  249. </book>