RunningHPCCinaVirtualMachine.xml 78 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
  4. <book lang="en_US" xml:base="../">
  5. <title>Running HPCC in a Virtual Machine</title>
  6. <bookinfo>
  7. <title>HPCC in a Virtual Machine</title>
  8. <mediaobject>
  9. <imageobject>
  10. <imagedata fileref="images/redswooshWithLogo3.jpg" />
  11. </imageobject>
  12. </mediaobject>
  13. <author>
  14. <surname>Boca Raton Documentation Team</surname>
  15. </author>
  16. <legalnotice>
  17. <para>We welcome your comments and feedback about this document via
  18. email to <email>docfeedback@hpccsystems.com</email></para>
  19. <para>Please include <emphasis role="bold">Documentation
  20. Feedback</emphasis> in the subject line and reference the document name,
  21. page numbers, and current Version Number in the text of the
  22. message.</para>
  23. <para>LexisNexis and the Knowledge Burst logo are registered trademarks
  24. of Reed Elsevier Properties Inc., used under license.</para>
  25. <para>HPCC Systems is a registered trademark of LexisNexis Risk Data
  26. Management Inc.</para>
  27. <para>Other products, logos, and services may be trademarks or
  28. registered trademarks of their respective companies.</para>
  29. <para>All names and example data used in this manual are fictitious. Any
  30. similarity to actual persons, living or dead, is purely
  31. coincidental.</para>
  32. <para></para>
  33. </legalnotice>
  34. <xi:include href="common/Version.xml" xpointer="FooterInfo"
  35. xmlns:xi="http://www.w3.org/2001/XInclude" />
  36. <xi:include href="common/Version.xml" xpointer="DateVer"
  37. xmlns:xi="http://www.w3.org/2001/XInclude" />
  38. <corpname>HPCC Systems</corpname>
  39. <xi:include href="common/Version.xml" xpointer="Copyright"
  40. xmlns:xi="http://www.w3.org/2001/XInclude" />
  41. <mediaobject role="logo">
  42. <imageobject>
  43. <imagedata fileref="images/LN_Rightjustified.jpg" />
  44. </imageobject>
  45. </mediaobject>
  46. </bookinfo>
  47. <chapter>
  48. <title>Introduction</title>
  49. <para>These instructions will guide you through installing and running an
  50. HPCC<footnote>
  51. <para><emphasis role="bold">H</emphasis>igh <emphasis
  52. role="bold">P</emphasis>erformance <emphasis
  53. role="bold">C</emphasis>omputing <emphasis
  54. role="bold">C</emphasis>luster (HPCC) is a massively parallel
  55. processing computing platform that solves Big Data problems. See
  56. <ulink
  57. url="http://hpccsystems.com/Why-HPCC/How-it-works">http://hpccsystems.com/Why-HPCC/How-it-works</ulink>
  58. for more details.</para>
  59. </footnote> System on a single node inside a Linux virtual machine
  60. running on a Windows host.</para>
  61. <para>Packaged to run inside a virtual machine, this version provides a
  62. hands-on experience with an HPCC system. You can experiment with it and
  63. even create real-world data analytics applications-all on your desktop or
  64. laptop PC.</para>
  65. <para>This version includes the tools and functionality of an HPCC without
  66. the need for a physical cluster of servers. It provides enough for you to
  67. evaluate an HPCC system and learn to use ECL<footnote>
  68. <para><emphasis role="bold">E</emphasis>nterprise <emphasis
  69. role="bold">C</emphasis>ontrol <emphasis
  70. role="bold">L</emphasis>anguage (ECL) is a declarative, data-centric
  71. programming language used to manage all aspects of the massive data
  72. joins, sorts, and builds that truly differentiate HPCC (High
  73. Performance Computing Cluster) from other technologies in its ability
  74. to provide flexible data analysis on a massive scale.</para>
  75. </footnote>. Naturally, you do not get the power of parallel processing,
  76. but you can use this version as an evaluation, learning, and
  77. experimentation tool.</para>
  78. <para><informaltable colsep="1" frame="all" rowsep="1">
  79. <?dbfo keep-together="always"?>
  80. <tgroup cols="2">
  81. <colspec colwidth="49.50pt" />
  82. <colspec />
  83. <tbody>
  84. <row>
  85. <entry><inlinegraphic fileref="images/OSSgr3.png" /></entry>
  86. <entry>Reading this document in its entirety before beginning.
  87. The steps in this document can take an hour or two, depending on
  88. your download speed.</entry>
  89. </row>
  90. </tbody>
  91. </tgroup>
  92. </informaltable></para>
  93. <sect1>
  94. <title>System Requirements</title>
  95. <para>Running HPCC in a virtual machine requires (at minimum):</para>
  96. <itemizedlist>
  97. <listitem>
  98. <para>A personal computer running Windows XP, Vista, Windows 7
  99. (either 32- or 64-bit)</para>
  100. </listitem>
  101. <listitem>
  102. <para>A minimum of 2 GB ram, with at least 1.5 GB of free memory
  103. available. We recommend 4 GB or more</para>
  104. </listitem>
  105. <listitem>
  106. <para>Intel Pentium D (or better) or AMD Athlon64/Opteron/Phenom
  107. processor</para>
  108. </listitem>
  109. <listitem>
  110. <para>Minimum 5 GB of available disk space, we recommend 20
  111. GB</para>
  112. </listitem>
  113. <listitem>
  114. <para>A virtualization software package:
  115. VMware<superscript>®</superscript> Player or Server (version 5.0 or
  116. later) or Oracle VM VirtualBox (version 4.0 or later).</para>
  117. </listitem>
  118. <listitem>
  119. <para>Internet Explorer<superscript>®</superscript> 8, Google Chrome
  120. 10, or Firefox™ 3.0 (or later)</para>
  121. </listitem>
  122. </itemizedlist>
  123. <para>Users should have familiarity with installing and running Windows
  124. applications.</para>
  125. </sect1>
  126. </chapter>
  127. <chapter>
  128. <title>Getting the Tools and the VM Image</title>
  129. <para>To run the virtual machine version of the HPCC System, you need
  130. virtualization software. These packages allow you to run virtual images
  131. inside a single host. There are a several different vendors who make
  132. virtualization software, while any or all of these could work, we support
  133. the following products:</para>
  134. <itemizedlist>
  135. <listitem>
  136. <para>VMware's Virtual Machine</para>
  137. </listitem>
  138. <listitem>
  139. <para>Oracle's VM VirtualBox</para>
  140. </listitem>
  141. </itemizedlist>
  142. <sect1>
  143. <title>VMware Virtual Machine</title>
  144. <para>The VMware player from VMware<superscript>®</superscript> is a
  145. virtualization software you can use to run the HPCC virtual
  146. machine.</para>
  147. <para>In the following sections, you will:</para>
  148. <para><itemizedlist>
  149. <listitem>
  150. <para>Download and install the VMware Player</para>
  151. </listitem>
  152. <listitem>
  153. <para>Download the HPCC virtual machine image from HPCC
  154. Systems.</para>
  155. </listitem>
  156. <listitem>
  157. <para>Open and import the image in the VMware Player</para>
  158. </listitem>
  159. </itemizedlist>Once you have completed these steps, you can evaluate
  160. the HPCC Platform and learn how to use it.</para>
  161. <sect2>
  162. <title>Download and Install the VMware Player</title>
  163. <para>If you already have VMware Player installed, you can skip this
  164. section and go to <xref linkend="get_hpcc" />.</para>
  165. <orderedlist>
  166. <listitem>
  167. <para>Go to the VMware site: <ulink
  168. url="http://www.vmware.com/products/player/">http://www.vmware.com/products/player/</ulink>.</para>
  169. </listitem>
  170. <listitem>
  171. <para>Click on download link, then follow the instructions to
  172. download the <emphasis>VMware Player for 32-bit and 64-bit
  173. Windows</emphasis>.</para>
  174. <para>Registration is required, but the player is free.</para>
  175. </listitem>
  176. <listitem>
  177. <para>Download the VMware Player (save to a folder on your
  178. machine).</para>
  179. </listitem>
  180. <listitem>
  181. <para>Follow VMware's on-screen instructions and install the
  182. VMware Player.</para>
  183. </listitem>
  184. </orderedlist>
  185. </sect2>
  186. <?hard-pagebreak ?>
  187. <sect2>
  188. <title id="get_hpcc">Get the latest HPCC Virtual Image File</title>
  189. <para><orderedlist>
  190. <listitem>
  191. <para>Download the latest HPCC virtual machine image file
  192. from:</para>
  193. <para><ulink
  194. url="http://HPCCsystems.com/download/hpcc-vm-image">http://hpccsystems.com/download/hpcc-vm-image</ulink></para>
  195. <para><variablelist>
  196. <varlistentry>
  197. <term>Note:</term>
  198. <listitem>
  199. <para>You may need to register to login.</para>
  200. </listitem>
  201. </varlistentry>
  202. </variablelist></para>
  203. <para>Choose the VM Image file for the VMware player. The
  204. <emphasis>filename</emphasis>-<emphasis
  205. role="bold">vmx</emphasis>.ova file is appropriate for the
  206. VMware player.</para>
  207. </listitem>
  208. <listitem>
  209. <para>Save the file to a folder on your machine.</para>
  210. </listitem>
  211. <listitem>
  212. <para>Open the VMware Player.</para>
  213. </listitem>
  214. <listitem>
  215. <para>From the <emphasis role="bold">Player</emphasis> menu,
  216. select <emphasis role="bold">File</emphasis>, then <emphasis
  217. role="bold">Open...</emphasis></para>
  218. </listitem>
  219. <listitem>
  220. <para>Go to the folder where you saved the downloaded file and
  221. select it.</para>
  222. <para>For example (<emphasis
  223. role="bluebold">HPCCSystemsVM-<emphasis>n.n.n.n</emphasis>.ova</emphasis>
  224. , where n.n.n.n is the version number).</para>
  225. <para>The .ova file should open an <emphasis>Import Virtual
  226. Machine</emphasis> dialog window providing for the name of the
  227. new virtual machine, and the storage path of the virtual machine
  228. you selected. <figure id="ImportVm">
  229. <title xreflabel="welc">Import Virtual Machine</title>
  230. <mediaobject>
  231. <imageobject>
  232. <imagedata fileref="images/vmimg13.jpg" />
  233. </imageobject>
  234. </mediaobject>
  235. </figure></para>
  236. </listitem>
  237. <listitem>
  238. <para>Press the <emphasis role="bold">Import</emphasis> button
  239. to import the virtual machine into the VMware Player.</para>
  240. <para>Wait for the HPCC virtual machine to load to the desktop
  241. in the VMware player. This may take a few minutes.</para>
  242. <variablelist>
  243. <varlistentry>
  244. <term><emphasis role="bold">Note</emphasis>:</term>
  245. <listitem>
  246. <para>The first time you use the VM Player, you must
  247. accept the license agreement. You may also be prompted to
  248. install add-ons, but they are not necessary for the HPCC
  249. virtual machine.</para>
  250. </listitem>
  251. </varlistentry>
  252. </variablelist>
  253. </listitem>
  254. <listitem>
  255. <para>At the VMware Player main window the new virtual machine
  256. you just imported is now listed. Double-click on that virtual
  257. machine to start it.</para>
  258. </listitem>
  259. <listitem>
  260. <?dbfo keep-together="always"?>
  261. <para>Once the VM initialization completes, you will see a
  262. window similar to the following:</para>
  263. <figure id="welcometovm">
  264. <title xreflabel="welc">VM Welcome Screen</title>
  265. <mediaobject>
  266. <imageobject>
  267. <imagedata fileref="images/vmimg01.JPG" />
  268. </imageobject>
  269. </mediaobject>
  270. </figure>
  271. <para><informaltable colsep="1" frame="all" rowsep="1">
  272. <?dbfo keep-together="always"?>
  273. <tgroup cols="2">
  274. <colspec colwidth="49.50pt" />
  275. <colspec />
  276. <tbody>
  277. <row>
  278. <entry><inlinegraphic
  279. fileref="images/caution.png" /></entry>
  280. <entry>Your virtual IP address could be different from
  281. the ones provided in the example images. Please use
  282. the IP address provided by <emphasis
  283. role="bold">your</emphasis> installation.</entry>
  284. </row>
  285. </tbody>
  286. </tgroup>
  287. </informaltable></para>
  288. <para>Do not resize this window, you will not interact with it.
  289. In addition, there is no need to Login.</para>
  290. <para><variablelist>
  291. <varlistentry>
  292. <term>TIP:</term>
  293. <listitem>
  294. <para>If you do click on the window, it will capture
  295. your keyboard/mouse. Press <emphasis
  296. role="bold">ctrl+alt</emphasis> to return control of
  297. your mouse.</para>
  298. </listitem>
  299. </varlistentry>
  300. </variablelist></para>
  301. </listitem>
  302. </orderedlist></para>
  303. <sect3>
  304. <title>Guest Additions</title>
  305. <para>The HPCC VM Images include Guest Additions. Guest Additions
  306. are device drivers and system applications that optimize the guest
  307. operating system for better performance and usability. If you would
  308. like to use your mouse pointer, and/or other desktop tools with your
  309. virtual machine, start the X windows display after you log into to
  310. your virtual machine. </para>
  311. <para>Log in with the credentials provided. (user: hpccdemo,
  312. password: hpccdemo) At the command prompt enter: <emphasis
  313. role="bold">startx</emphasis>.</para>
  314. </sect3>
  315. </sect2>
  316. </sect1>
  317. <sect1>
  318. <title>VM VirtualBox</title>
  319. <para>Oracle's virtualization software, VM VirtualBox is supported for
  320. running the HPCC virtual machine image.</para>
  321. <para>In the following section(s), you will:</para>
  322. <itemizedlist>
  323. <listitem>
  324. <para>Download and install the VM VirtualBox</para>
  325. </listitem>
  326. <listitem>
  327. <para>Download the HPCC virtual machine image from HPCC
  328. Systems.</para>
  329. </listitem>
  330. <listitem>
  331. <para>Open and import the image in VM VirtualBox</para>
  332. </listitem>
  333. </itemizedlist>
  334. <sect2 id="Install_VM_VirtualBox">
  335. <title>Download and Install the VM VirtualBox</title>
  336. <para>If you already have the VM VirtualBox installed, skip to step
  337. number 6, and verify the network configuration settings.</para>
  338. <orderedlist>
  339. <listitem>
  340. <para>Go to the VirtualBox site: <ulink
  341. url="https://www.virtualbox.org/wiki/Downloads">https://www.virtualbox.org/wiki/Downloads</ulink>.</para>
  342. </listitem>
  343. <listitem>
  344. <para>Click on the appropriate link for your operating system. For
  345. example <emphasis>VirtualBox for Windows hosts</emphasis>.</para>
  346. </listitem>
  347. <listitem>
  348. <para>Download the VirtualBox Installation file. Save to a folder
  349. on your machine.</para>
  350. </listitem>
  351. <listitem>
  352. <para>Double-click on the installation file to install
  353. VirtualBox.</para>
  354. </listitem>
  355. <listitem>
  356. <para>Follow the on-screen instructions to complete the
  357. installation of VirtualBox.</para>
  358. </listitem>
  359. <listitem>
  360. <para>Start the VM VirtualBox application.</para>
  361. </listitem>
  362. <listitem>
  363. <para>From the <emphasis role="bold">File</emphasis> menu, select
  364. <emphasis role="bold">Preferences</emphasis>...</para>
  365. <para>The <emphasis>VirtualBox - Settings</emphasis> dialog
  366. displays.<figure id="VBoxSettings">
  367. <title xreflabel="welc">VirtualBox - Settings</title>
  368. <mediaobject>
  369. <imageobject>
  370. <imagedata fileref="images/vmimg14.jpg" />
  371. </imageobject>
  372. </mediaobject>
  373. </figure></para>
  374. </listitem>
  375. <listitem>
  376. <para>Select<emphasis role="bold"> Network</emphasis> from the
  377. list on the left side of the window.</para>
  378. </listitem>
  379. <listitem>
  380. <para>Double-click on the <emphasis>VirtualBox Host-Only Ethernet
  381. Adaptor</emphasis>.</para>
  382. </listitem>
  383. <listitem>
  384. <para>From the<emphasis> Network Details</emphasis> window, select
  385. the <emphasis role="bold">DHCP Server</emphasis> Tab and check the
  386. <emphasis role="bold">Enable Server</emphasis> box. <figure
  387. id="NetworkDetails">
  388. <title xreflabel="welc">Network Details</title>
  389. <mediaobject>
  390. <imageobject>
  391. <imagedata fileref="images/vmimg15.jpg" />
  392. </imageobject>
  393. </mediaobject>
  394. </figure><variablelist>
  395. <varlistentry>
  396. <term>Note:</term>
  397. <listitem>
  398. <para>You may need to add IP Address values to the Lower
  399. Address Bound and Upper Address Bound fields. The address
  400. the VM uses is in the private IP address range of
  401. 192.168.x.x</para>
  402. </listitem>
  403. </varlistentry>
  404. </variablelist></para>
  405. </listitem>
  406. <listitem>
  407. <para>Press the <emphasis role="bold">OK</emphasis> button on the
  408. <emphasis>Network Details</emphasis> dialog box, then press the
  409. <emphasis role="bold">OK</emphasis> button on the
  410. <emphasis>VirtualBox - Settings</emphasis> box.</para>
  411. </listitem>
  412. </orderedlist>
  413. </sect2>
  414. <sect2>
  415. <title id="get_HPCC">Import the HPCC Virtual Image File</title>
  416. <para><orderedlist>
  417. <listitem>
  418. <para>Download the latest HPCC virtual machine image file
  419. from:</para>
  420. <para><ulink
  421. url="http://HPCCsystems.com/download/hpcc-vm-image">http://hpccsystems.com/download/hpcc-vm-image</ulink></para>
  422. <para><variablelist>
  423. <varlistentry>
  424. <term>Note:</term>
  425. <listitem>
  426. <para>You may need to register to login.</para>
  427. </listitem>
  428. </varlistentry>
  429. </variablelist></para>
  430. <para>Choose the VM Image file for VirtualBox. The
  431. <emphasis>filename</emphasis>.ova file is appropriate for the
  432. VirtualBox.</para>
  433. </listitem>
  434. <listitem>
  435. <para>Save the file to a folder on your machine.</para>
  436. </listitem>
  437. <listitem>
  438. <para>Open VM VirtualBox.</para>
  439. </listitem>
  440. <listitem>
  441. <para>From the <emphasis role="bold">File</emphasis> menu select
  442. <emphasis role="bold">Import Appliance... (Ctrl +
  443. I)</emphasis></para>
  444. </listitem>
  445. <listitem>
  446. <para>Press the <emphasis role="bold">Open appliance</emphasis>
  447. button from the dialog to select the appliance to import.</para>
  448. </listitem>
  449. <listitem>
  450. <para>Navigate to the folder where you saved the downloaded file
  451. and select it.</para>
  452. <para>For example (<emphasis
  453. role="bluebold">HPCCSystemsVM-<emphasis>n.n.n.n</emphasis>.ova</emphasis>
  454. , where n.n.n.n is the version number).</para>
  455. </listitem>
  456. <listitem>
  457. <para>Press the <emphasis role="bold">Open</emphasis> button to
  458. start the import. Follow the prompts in the import process
  459. pressing <emphasis role="bold">Next</emphasis> as appropriate,
  460. then press <emphasis role="bold">Import</emphasis>.</para>
  461. <para>Wait for the HPCC virtual machine to import. This may take
  462. a few minutes.</para>
  463. </listitem>
  464. <listitem>
  465. <para>At the main window, the newly imported virtual machine is
  466. now listed.</para>
  467. </listitem>
  468. <listitem>
  469. <para>Select the new virtual machine.</para>
  470. </listitem>
  471. <listitem>
  472. <para>Click on the <emphasis role="bold">Settings</emphasis>
  473. Icon, this will open up the settings dialog window. <figure
  474. id="VBoxSettingIcon">
  475. <title xreflabel="welc">VirtualBox Settings Icon</title>
  476. <mediaobject>
  477. <imageobject>
  478. <imagedata fileref="images/vmimg16.jpg" />
  479. </imageobject>
  480. </mediaobject>
  481. </figure></para>
  482. </listitem>
  483. <listitem>
  484. <para>Select the <emphasis role="bold">Network</emphasis> menu
  485. option. On the <emphasis>Adapter 1</emphasis> tab check the
  486. <emphasis>Enable Network Adapter</emphasis> box, and set the
  487. <emphasis>Attached to:</emphasis> option to <emphasis
  488. role="bold">NAT</emphasis>. <figure id="VBoxNet1">
  489. <title xreflabel="welc">VM VirtualBox Network Adapter
  490. 1</title>
  491. <mediaobject>
  492. <imageobject>
  493. <imagedata fileref="images/vmimg17.jpg" />
  494. </imageobject>
  495. </mediaobject>
  496. </figure></para>
  497. <variablelist>
  498. <varlistentry>
  499. <term>Note:</term>
  500. <listitem>
  501. <para>These settings may be set as required by default. If
  502. so just verify that they are correct.</para>
  503. </listitem>
  504. </varlistentry>
  505. </variablelist>
  506. </listitem>
  507. <listitem>
  508. <para>From the same <emphasis>Network - Settings</emphasis>
  509. window, select the tab for<emphasis> Adapter 2</emphasis>. Check
  510. the <emphasis>Enable Network Adapter</emphasis> box, and set the
  511. <emphasis>Attached to:</emphasis> option to <emphasis
  512. role="bold">Host-only Adapter</emphasis>.</para>
  513. </listitem>
  514. <listitem>
  515. <para>Press the <emphasis role="bold">OK</emphasis>
  516. button.</para>
  517. </listitem>
  518. <listitem>
  519. <para>Double-click on that virtual machine to start it.
  520. <variablelist>
  521. <varlistentry>
  522. <term>TIP:</term>
  523. <listitem>
  524. <para>If you get any Network Error messages, please
  525. review the steps in <xref
  526. linkend="Install_VM_VirtualBox" /> and verify that all
  527. the network settings are set appropriately.</para>
  528. </listitem>
  529. </varlistentry>
  530. </variablelist></para>
  531. </listitem>
  532. <listitem>
  533. <?dbfo keep-together="always"?>
  534. <para>Once the VM initialization completes, you will see a
  535. window similar to the following:</para>
  536. <figure id="vbox_welcome">
  537. <title xreflabel="welc">VirtualBox Welcome Screen</title>
  538. <mediaobject>
  539. <imageobject>
  540. <imagedata fileref="images/vmimg01b.JPG" />
  541. </imageobject>
  542. </mediaobject>
  543. </figure>
  544. <para><informaltable colsep="1" frame="all" rowsep="1">
  545. <?dbfo keep-together="always"?>
  546. <tgroup cols="2">
  547. <colspec colwidth="49.50pt" />
  548. <colspec />
  549. <tbody>
  550. <row>
  551. <entry><inlinegraphic
  552. fileref="images/caution.png" /></entry>
  553. <entry>Your virtual IP address could be different from
  554. the ones provided in the example images. Please use
  555. the IP address provided by <emphasis
  556. role="bold">your</emphasis> installation.</entry>
  557. </row>
  558. </tbody>
  559. </tgroup>
  560. </informaltable></para>
  561. <para>Do not resize this window, you will not interact with it.
  562. In addition, there is no need to Login.</para>
  563. <para><variablelist>
  564. <varlistentry>
  565. <term>TIP:</term>
  566. <listitem>
  567. <para>If you click on the window, it can capture your
  568. keyboard/mouse. Press the <emphasis role="bold">Right
  569. Ctrl</emphasis> to regain control of your mouse.</para>
  570. </listitem>
  571. </varlistentry>
  572. </variablelist></para>
  573. </listitem>
  574. </orderedlist></para>
  575. <sect3>
  576. <title>Guest Additions</title>
  577. <para>The HPCC VM Images include Guest Additions. Guest Additions
  578. are device drivers and system applications that optimize the guest
  579. operating system for better performance and usability. If you would
  580. like to use your mouse pointer, and/or other desktop tools with your
  581. virtual machine, start the X windows display after you log into to
  582. your virtual machine.</para>
  583. <para>Log in with the credentials provided. (user: hpccdemo,
  584. password: hpccdemo) At the command prompt enter: <emphasis
  585. role="bold">startx</emphasis>.</para>
  586. </sect3>
  587. </sect2>
  588. </sect1>
  589. </chapter>
  590. <chapter>
  591. <title>Running the HPCC VM</title>
  592. <para>In this section, we will access the HPCC using the web-based
  593. interface: ECL Watch<footnote>
  594. <para>ECL Watch is a Web-based interface to your HPCC system. It
  595. enables you to examine and manage many aspects of the HPCC and allows
  596. you to see information about jobs you run, data files, and system
  597. metrics.</para>
  598. </footnote>.From ECL Watch, we will download the ECL IDE<footnote>
  599. <para>The ECL IDE (Integrated Development Environment) is the tool
  600. used to create queries into your data and ECL files with which to
  601. build your queries. This is a Windows application.</para>
  602. </footnote>. If you already have the ECL IDE installed, you can skip
  603. this section and continue at <emphasis>Running the HPCC ECL IDE when you
  604. had a previous version installed</emphasis>.</para>
  605. <para><orderedlist>
  606. <listitem>
  607. <para>In your browser, go to the <emphasis role="bold">ECL
  608. Watch</emphasis> URL displayed (circled in red) in Figure 1,
  609. <emphasis>VM Welcome Screen</emphasis>. For example,
  610. http://nnn.nnn.nnn.nnn:8010, where nnn.nnn.nnn.nnn is your Virtual
  611. Machine's IP address.</para>
  612. <para><informaltable colsep="1" frame="all" rowsep="1">
  613. <?dbfo keep-together="always"?>
  614. <tgroup cols="2">
  615. <colspec colwidth="49.50pt" />
  616. <colspec />
  617. <tbody>
  618. <row>
  619. <entry><inlinegraphic
  620. fileref="images/caution.png" /></entry>
  621. <entry>Your virtual IP address could be different from the
  622. ones provided in the example images. Please use the IP
  623. address provided by <emphasis role="bold">your</emphasis>
  624. installation.</entry>
  625. </row>
  626. </tbody>
  627. </tgroup>
  628. </informaltable></para>
  629. </listitem>
  630. <listitem>
  631. <?dbfo keep-together="always"?>
  632. <para>From the ECL Watch Advanced menu, select on the <emphasis
  633. role="bold">Additional Resources </emphasis>link.</para>
  634. <para><figure>
  635. <title>ECL Watch Resource Page</title>
  636. <mediaobject>
  637. <imageobject>
  638. <imagedata fileref="images/GS_1311.jpg" vendor="eclwatchSS" />
  639. </imageobject>
  640. </mediaobject>
  641. </figure></para>
  642. <para>Follow the link to the HPCC System's portal download
  643. page.</para>
  644. </listitem>
  645. <listitem>
  646. <para>Click on the <emphasis role="bold">ECL IDE </emphasis>link.
  647. (on the right hand side in the Download column, under the Free
  648. Community Edition heading)</para>
  649. </listitem>
  650. <listitem>
  651. <para>Follow the instructions on the web page to install the ECL
  652. IDE.</para>
  653. </listitem>
  654. <listitem>
  655. <para>Install the ECL IDE, following the prompts in the installation
  656. program. Once the ECL IDE is installed successfully, you can
  657. proceed.</para>
  658. </listitem>
  659. </orderedlist></para>
  660. <sect1>
  661. <title>Running the ECL IDE for the first time</title>
  662. <para>In this section, we will configure the ECL IDE.</para>
  663. <orderedlist>
  664. <listitem>
  665. <para>Open the ECL IDE, from your start menu. (Start <emphasis
  666. role="bold">&gt;&gt;</emphasis> All Programs <emphasis
  667. role="bold">&gt;&gt;</emphasis> HPCCSystems <emphasis
  668. role="bold">&gt;&gt;</emphasis> ECL IDE).</para>
  669. <informaltable colsep="1" frame="all" rowsep="1">
  670. <?dbfo keep-together="always"?>
  671. <tgroup cols="2">
  672. <colspec colwidth="49.50pt" />
  673. <colspec />
  674. <tbody>
  675. <row>
  676. <entry><inlinegraphic fileref="images/OSSgr3.png" /></entry>
  677. <entry>You can create a shortcut on your desktop to provide
  678. quick access to the ECL IDE.</entry>
  679. </row>
  680. </tbody>
  681. </tgroup>
  682. </informaltable>
  683. </listitem>
  684. <listitem>
  685. <para>Enter the IP Address shown in <xref linkend="welcometovm" />
  686. for the server in the <emphasis role="bold">Server </emphasis>box
  687. (as shown in <xref linkend="Preferences" />) and press the <emphasis
  688. role="bold">OK</emphasis> button.</para>
  689. <para><figure id="Preferences">
  690. <title>ECL IDE Preferences</title>
  691. <mediaobject>
  692. <imageobject>
  693. <imagedata fileref="images/vmimg06.JPG" />
  694. </imageobject>
  695. </mediaobject>
  696. </figure></para>
  697. </listitem>
  698. <listitem>
  699. <?dbfo keep-together="always"?>
  700. <para>Enter the <emphasis role="bold">Login ID</emphasis> and
  701. <emphasis role="bold">Password</emphasis> provided in the Login
  702. dialog.</para>
  703. <informaltable colsep="1" rowsep="1">
  704. <tgroup cols="2">
  705. <colspec colwidth="80pt" />
  706. <colspec colwidth="100pt" />
  707. <tbody>
  708. <row>
  709. <entry>Login ID</entry>
  710. <entry>hpccdemo</entry>
  711. </row>
  712. <row>
  713. <entry>Password</entry>
  714. <entry>hpccdemo</entry>
  715. </row>
  716. </tbody>
  717. </tgroup>
  718. </informaltable>
  719. <figure>
  720. <title>Login Window</title>
  721. <mediaobject>
  722. <imageobject>
  723. <imagedata fileref="images/vmimg06a.JPG" />
  724. </imageobject>
  725. </mediaobject>
  726. </figure>
  727. </listitem>
  728. <listitem>
  729. <para>Press the <emphasis role="bold">OK</emphasis> button.</para>
  730. <para>At this point you are now connected and ready to work with the
  731. HPCC!</para>
  732. </listitem>
  733. </orderedlist>
  734. </sect1>
  735. <sect1>
  736. <title>Running the HPCC ECL IDE when you had a previous version
  737. installed</title>
  738. <orderedlist>
  739. <listitem>
  740. <para>Open the ECL IDE, from your Start menu. (Start <emphasis
  741. role="bold">&gt;&gt;</emphasis> All Programs <emphasis
  742. role="bold">&gt;&gt;</emphasis> HPCCSystems <emphasis
  743. role="bold">&gt;&gt;</emphasis> ECL IDE <emphasis
  744. role="bold">&gt;&gt;</emphasis> ECL IDE)</para>
  745. </listitem>
  746. <listitem>
  747. <para>Press the <emphasis role="bold">Preferences</emphasis> button
  748. in the Login dialog that displays upon start up.</para>
  749. <para></para>
  750. <para><figure>
  751. <title>Login Window</title>
  752. <mediaobject>
  753. <imageobject>
  754. <imagedata fileref="images/vmimg05.JPG" />
  755. </imageobject>
  756. </mediaobject>
  757. </figure></para>
  758. </listitem>
  759. <listitem>
  760. <?dbfo keep-together="always"?>
  761. <para>Enter the IP Address shown in <xref linkend="welcometovm" />
  762. for the server in the <emphasis role="bold">Server</emphasis> box
  763. (as shown in <xref linkend="Preferences2" />) and press the
  764. <emphasis role="bold">OK</emphasis> button.</para>
  765. <para><figure id="Preferences2">
  766. <title>ECL IDE Preferences</title>
  767. <mediaobject>
  768. <imageobject>
  769. <imagedata fileref="images/vmimg06.JPG" />
  770. </imageobject>
  771. </mediaobject>
  772. </figure></para>
  773. </listitem>
  774. <listitem>
  775. <?dbfo keep-together="always"?>
  776. <para>Enter the <emphasis role="bold">Login ID</emphasis> and
  777. <emphasis role="bold">Password</emphasis> provided in the Login
  778. dialog.</para>
  779. <informaltable colsep="1" rowsep="1">
  780. <tgroup cols="2">
  781. <colspec colwidth="80pt" />
  782. <colspec colwidth="100pt" />
  783. <tbody>
  784. <row>
  785. <entry>Login ID</entry>
  786. <entry>hpccdemo</entry>
  787. </row>
  788. <row>
  789. <entry>Password</entry>
  790. <entry>hpccdemo</entry>
  791. </row>
  792. </tbody>
  793. </tgroup>
  794. </informaltable>
  795. <figure>
  796. <title>Login Window</title>
  797. <mediaobject>
  798. <imageobject>
  799. <imagedata fileref="images/vmimg06a.JPG" />
  800. </imageobject>
  801. </mediaobject>
  802. </figure>
  803. </listitem>
  804. <listitem>
  805. <para>Press the <emphasis role="bold">OK</emphasis> button.</para>
  806. <para>You are now connected and ready to work with the HPCC!</para>
  807. </listitem>
  808. </orderedlist>
  809. </sect1>
  810. <sect1>
  811. <title>Write some ECL</title>
  812. <para>Let's write, compile, and execute a simple "Hello World" program
  813. on our HPCC.</para>
  814. <orderedlist>
  815. <listitem>
  816. <para>Open ECL IDE, from your Start menu. (Start <emphasis
  817. role="bold">&gt;&gt;</emphasis> All Programs <emphasis
  818. role="bold">&gt;&gt;</emphasis> HPCCSystems <emphasis
  819. role="bold">&gt;&gt;</emphasis> ECL IDE or use the desktop shortcut,
  820. if you have created one.)</para>
  821. <para>The Login Window displays.</para>
  822. <para><figure>
  823. <title>Login Window</title>
  824. <mediaobject>
  825. <imageobject>
  826. <imagedata fileref="images/vmimg06a.JPG" />
  827. </imageobject>
  828. </mediaobject>
  829. </figure></para>
  830. </listitem>
  831. <listitem>
  832. <para>Provide your credentials (hpccdemo) then press the <emphasis
  833. role="bold">OK</emphasis> button.</para>
  834. <para></para>
  835. </listitem>
  836. <listitem>
  837. <para>Open a new <emphasis role="bold">Builder Window</emphasis>
  838. (CTRL+N) and write the following code:<programlisting>OUTPUT('Hello World');
  839. </programlisting></para>
  840. <para>This could also be written as:</para>
  841. <para><programlisting>'Hello World';
  842. </programlisting>In the second program listing, the OUTPUT keyword is omitted.
  843. This is possible because the language is declarative and the OUTPUT
  844. action is implicit.</para>
  845. </listitem>
  846. <listitem>
  847. <?dbfo keep-together="always"?>
  848. <para>Select <emphasis role="bold">thor</emphasis> as your target
  849. cluster.</para>
  850. <para><emphasis role="bold">Thor</emphasis> is the Data Refinery
  851. component of your HPCC. It is a massively parallel computer cluster,
  852. optimized for sorting, manipulating, and transforming massive data.
  853. This process is also known as ETL (Extract, Transform, and
  854. Load)</para>
  855. <para><figure>
  856. <title>Select target</title>
  857. <mediaobject>
  858. <imageobject>
  859. <imagedata fileref="images/vmimg10.JPG" />
  860. </imageobject>
  861. </mediaobject>
  862. </figure></para>
  863. </listitem>
  864. <listitem>
  865. <?dbfo keep-together="always"?>
  866. <para>Press the syntax check button on the main toolbar (or press
  867. F7).</para>
  868. <para><figure>
  869. <title>Syntax Check</title>
  870. <mediaobject>
  871. <imageobject>
  872. <imagedata fileref="images/vmimg09.JPG" />
  873. </imageobject>
  874. </mediaobject>
  875. </figure>A successful syntax check displays the "No Errors"
  876. message.</para>
  877. </listitem>
  878. <listitem>
  879. <?dbfo keep-together="always"?>
  880. <para>Press the <emphasis role="bold">Submit</emphasis> button (or
  881. press CTRL+ENTER).</para>
  882. <para><figure>
  883. <title>Completed job</title>
  884. <mediaobject>
  885. <imageobject>
  886. <imagedata fileref="images/vmimg11.JPG" />
  887. </imageobject>
  888. </mediaobject>
  889. </figure>The green check mark indicates successful
  890. completion.</para>
  891. </listitem>
  892. <listitem>
  893. <?dbfo keep-together="always"?>
  894. <para>Click on the workunit number tab and then on the Result 1 tab
  895. to see the output.</para>
  896. <para><figure>
  897. <title>Completed job output</title>
  898. <mediaobject>
  899. <imageobject>
  900. <imagedata fileref="images/vmimg12.JPG" />
  901. </imageobject>
  902. </mediaobject>
  903. </figure></para>
  904. </listitem>
  905. </orderedlist>
  906. </sect1>
  907. <sect1>
  908. <title>Working with ECL</title>
  909. <para>Now that you have submitted some ECL code, it's time to try some
  910. more complex operations.</para>
  911. <para>The following examples are provided to get you started.</para>
  912. <sect2>
  913. <title>ECL Example: Anagram1</title>
  914. <para>This example takes a STRING and produces every possible anagram
  915. from it. This code is the basis for a second example which evaluates
  916. which of these are actual words using a word list data file.</para>
  917. <para><orderedlist>
  918. <listitem>
  919. <para>Open a new <emphasis role="bold">Builder Window</emphasis>
  920. (CTRL+N) and write the following code:<programlisting>STRING Word := 'FRED' :STORED('Word');
  921. R := RECORD
  922. STRING SoFar {MAXLENGTH(200)};
  923. STRING Rest {MAXLENGTH(200)};
  924. END;
  925. Init := DATASET([{'',Word}],R);
  926. R Pluck1(DATASET(R) infile) := FUNCTION
  927. R TakeOne(R le, UNSIGNED1 c) := TRANSFORM
  928. SELF.SoFar := le.SoFar + le.Rest[c];
  929. SELF.Rest := le.Rest[..c-1]+le.Rest[c+1..];
  930. // Boundary Conditions handled automatically
  931. END;
  932. RETURN NORMALIZE(infile,LENGTH(LEFT.Rest),TakeOne(LEFT,COUNTER));
  933. END;
  934. L := LOOP(Init,LENGTH(TRIM(Word)),Pluck1(ROWS(LEFT)));
  935. OUTPUT(L);</programlisting></para>
  936. </listitem>
  937. <listitem>
  938. <para>Select <emphasis role="bold">thor</emphasis> as your
  939. target cluster.</para>
  940. <para></para>
  941. </listitem>
  942. <listitem>
  943. <para>Press the syntax check button on the main toolbar (or
  944. press F7)</para>
  945. <para></para>
  946. </listitem>
  947. <listitem>
  948. <?dbfo keep-together="always"?>
  949. <para>Press the <emphasis role="bold">Submit</emphasis> button
  950. (or press CTRL+ENTER).</para>
  951. <para><figure>
  952. <title>Completed job</title>
  953. <mediaobject>
  954. <imageobject>
  955. <imagedata fileref="images/vmimg11a.JPG" />
  956. </imageobject>
  957. </mediaobject>
  958. </figure>The green check mark indicates successful
  959. completion.</para>
  960. <para></para>
  961. </listitem>
  962. <listitem>
  963. <?dbfo keep-together="always"?>
  964. <para>Click on the workunit number tab and then on the Result 1
  965. tab to see the output.</para>
  966. <para><figure>
  967. <title>Completed job output</title>
  968. <mediaobject>
  969. <imageobject>
  970. <imagedata fileref="images/vmimg11b.JPG" />
  971. </imageobject>
  972. </mediaobject>
  973. </figure></para>
  974. </listitem>
  975. </orderedlist></para>
  976. <para></para>
  977. </sect2>
  978. <?hard-pagebreak ?>
  979. <sect2>
  980. <title>Roxie Example: Anagram2</title>
  981. <para>In this example, we will download an open source data file of
  982. dictionary words, spray that file to our Thor cluster, then validate
  983. our anagrams against that file so that we determine which are valid
  984. words. The validation step uses a JOIN of the anagram list to the
  985. dictionary file. Using an index and a keyed join would be more
  986. efficient, but this serves as a simple example.</para>
  987. <sect3>
  988. <title>Download the word list</title>
  989. <para>We will download the word list from <ulink
  990. url="http://wordlist.sourceforge.net/">http://wordlist.sourceforge.net/</ulink></para>
  991. <para><orderedlist>
  992. <listitem>
  993. <para>Download the <emphasis>Official 12 Dicts
  994. </emphasis>Package</para>
  995. </listitem>
  996. <listitem>
  997. <para>Extract the <emphasis role="bold">2of12.txt</emphasis>
  998. file to a folder on your local machine. The files are
  999. available in tar.gz or ZIP format.</para>
  1000. </listitem>
  1001. </orderedlist></para>
  1002. </sect3>
  1003. <sect3 id="Load_the_Incoming_Data">
  1004. <title>Load the Dictionary File to your Landing Zone</title>
  1005. <para>In this step, you will copy the data files to a location from
  1006. which it can be sprayed to your HPCC cluster. A Landing Zone is a
  1007. storage location attached to your HPCC. It has a utility running to
  1008. facilitate file spraying to a cluster.</para>
  1009. <para>For smaller data files, maximum of 2GB, you can use the
  1010. upload/download file utility in ECL Watch. This data file is only
  1011. ~400 kb.</para>
  1012. <para>Next you will distribute (or Spray) the dataset to all the
  1013. nodes in the HPCC cluster. The power of the HPCC comes from its
  1014. ability to assign multiple processors to work on different portions
  1015. of the data file in parallel. Even though the VM Edition only has a
  1016. single node, the data must be sprayed to the cluster.</para>
  1017. <orderedlist>
  1018. <listitem>
  1019. <para>In your browser, go to the <emphasis role="bold">ECL
  1020. Watch</emphasis> URL. For example, http://nnn.nnn.nnn.nnn:8010,
  1021. where nnn.nnn.nnn.nnn is your ESP Server's IP address.</para>
  1022. <para><informaltable colsep="1" frame="all" rowsep="1">
  1023. <?dbfo keep-together="always"?>
  1024. <tgroup cols="2">
  1025. <colspec colwidth="49.50pt" />
  1026. <colspec />
  1027. <tbody>
  1028. <row>
  1029. <entry><inlinegraphic
  1030. fileref="images/caution.png" /></entry>
  1031. <entry>Your IP address could be different from the
  1032. ones provided in the example images. Please use the IP
  1033. address provided by <emphasis
  1034. role="bold">your</emphasis> installation.</entry>
  1035. </row>
  1036. </tbody>
  1037. </tgroup>
  1038. </informaltable></para>
  1039. </listitem>
  1040. <listitem>
  1041. <?dbfo keep-together="always"?>
  1042. <para>From ECL Watch click on the <emphasis
  1043. role="bold">Files</emphasis> icon, then click the <emphasis
  1044. role="bold">Landing Zones</emphasis> link from the navigation
  1045. sub-menu.</para>
  1046. <para>Press the <emphasis role="bold">Upload </emphasis>action
  1047. button.</para>
  1048. <para><figure>
  1049. <title>Upload</title>
  1050. <mediaobject>
  1051. <imageobject>
  1052. <imagedata fileref="images/LZimg03-1.jpg"
  1053. vendor="eclwatchSS" />
  1054. </imageobject>
  1055. </mediaobject>
  1056. </figure></para>
  1057. </listitem>
  1058. <listitem>
  1059. <para>A dialog opens. <emphasis role="bold">Browse</emphasis>
  1060. your local machine select the file to upload and then press the
  1061. <emphasis role="bold">Open</emphasis> button. <figure>
  1062. <title>File Uploader</title>
  1063. <mediaobject>
  1064. <imageobject>
  1065. <imagedata fileref="images/LZimg04a.jpg"
  1066. vendor="eclwatchSS" />
  1067. </imageobject>
  1068. </mediaobject>
  1069. </figure></para>
  1070. <para>The file you selected should appear in the <emphasis
  1071. role="bold">File Name</emphasis> field. The data file is named:
  1072. <emphasis role="bold">2of12.txt</emphasis>.</para>
  1073. </listitem>
  1074. <listitem>
  1075. <para>Press on <emphasis role="bold">Upload Now</emphasis> to
  1076. complete the file upload.</para>
  1077. </listitem>
  1078. </orderedlist>
  1079. </sect3>
  1080. <sect3 id="Spray_the_Data_to_THOR">
  1081. <title>Spray the Data File to your <emphasis>Data Refinery (Thor)
  1082. Cluster</emphasis></title>
  1083. <para>To use the data file in our HPCC system, we must “spray” it to
  1084. all the nodes. A <emphasis>spray</emphasis> or
  1085. <emphasis>import</emphasis> is the relocation of a data file from
  1086. one location (such as a Landing Zone) to multiple file parts on
  1087. nodes in a cluster.</para>
  1088. <para>The distributed or sprayed file is given a
  1089. <emphasis>logical-file-name</emphasis> as follows<emphasis
  1090. role="bold">: thor::word_list_csv </emphasis> The system maintains a
  1091. list of logical files and the corresponding physical file locations
  1092. of the file parts.</para>
  1093. <para></para>
  1094. <orderedlist>
  1095. <listitem>
  1096. <para>Open ECL Watch using the following URL:</para>
  1097. <para><emphasis role="bold">http://nnn.nnn.nnn.nnn:pppp(where
  1098. nnn.nnn.nnn.nnn is your ESP Server’s IP Address and pppp is the
  1099. port. The default port is 8010)</emphasis></para>
  1100. </listitem>
  1101. <listitem>
  1102. <para>Click on the <emphasis role="bold">Files</emphasis> icon,
  1103. then click the <emphasis role="bold">Landing Zones</emphasis>
  1104. link from the navigation sub-menu. Select the appropriate
  1105. landing zone (if there are more than one landing zones). Click
  1106. the arrow to the left of your landing zone to expand it.</para>
  1107. </listitem>
  1108. <listitem>
  1109. <para>Select the file from your drop zone by checking the box
  1110. next to it.</para>
  1111. </listitem>
  1112. <listitem>
  1113. <?dbfo keep-together="always"?>
  1114. <para>Check the box next to 2of12.txt, then press the <emphasis
  1115. role="bold">Delimited</emphasis> button.</para>
  1116. <para><figure>
  1117. <title>Spray Delimited</title>
  1118. <mediaobject>
  1119. <imageobject>
  1120. <imagedata fileref="images/GSSprayDict.jpg"
  1121. vendor="eclwatchSS" />
  1122. </imageobject>
  1123. </mediaobject>
  1124. </figure></para>
  1125. <para>The <emphasis role="bold">DFU Spray Delimited</emphasis>
  1126. page displays.</para>
  1127. </listitem>
  1128. <listitem>
  1129. <para>Select mythor in the Target Group drop list.</para>
  1130. </listitem>
  1131. <listitem>
  1132. <para>Complete the Name Prefix as<emphasis>
  1133. thor</emphasis>.</para>
  1134. </listitem>
  1135. <listitem>
  1136. <para>Fill in the rest of the parameters (if they are not filled
  1137. in already).</para>
  1138. <para><itemizedlist>
  1139. <listitem>
  1140. <para>Max Record Length 8192</para>
  1141. </listitem>
  1142. <listitem>
  1143. <para>Separator \,</para>
  1144. </listitem>
  1145. <listitem>
  1146. <para>Line Terminator \n,\r\n</para>
  1147. </listitem>
  1148. <listitem>
  1149. <para>Quote: '</para>
  1150. </listitem>
  1151. </itemizedlist></para>
  1152. </listitem>
  1153. <listitem>
  1154. <para>Fill in the Target Name using the rest of the Logical File
  1155. name desired: word_list_csv<emphasis role="bold">
  1156. </emphasis></para>
  1157. </listitem>
  1158. <listitem>
  1159. <?dbfo keep-together="always"?>
  1160. <para>Make sure the <emphasis role="bold">Overwrite</emphasis>
  1161. and <emphasis role="bold">Replicate</emphasis><emphasis
  1162. role="bold"> </emphasis>boxes are checked.</para>
  1163. <para><emphasis role="bold">Note:</emphasis> The <emphasis
  1164. role="bold">Replicate</emphasis> option is only available on
  1165. systems where replication has been enabled.</para>
  1166. </listitem>
  1167. <listitem>
  1168. <?dbfo keep-together="always"?>
  1169. <para>Press the <emphasis role="bold">Spray</emphasis><emphasis
  1170. role="bold"> </emphasis>button.</para>
  1171. <para>A tab displays the DFU Workunit where you can see the
  1172. progress of the spray.</para>
  1173. </listitem>
  1174. </orderedlist>
  1175. </sect3>
  1176. <sect3>
  1177. <title>Run the query on Thor<parameter></parameter></title>
  1178. <para><orderedlist>
  1179. <listitem>
  1180. <para>Open a new <emphasis role="bold">Builder
  1181. Window</emphasis> (CTRL+N) and write the following
  1182. code:<programlisting>IMPORT Std;
  1183. layout_word_list := record
  1184. string word;
  1185. end;
  1186. File_Word_List := dataset('~thor::word_list_csv', layout_word_list,
  1187. CSV(heading(1),separator(','),quote('')));
  1188. STRING Word := 'teacher' :STORED('Word');
  1189. STRING SortString(STRING input) := FUNCTION
  1190. OneChar := RECORD
  1191. STRING c;
  1192. END;
  1193. OneChar MakeSingle(OneChar L, unsigned pos) := TRANSFORM
  1194. SELF.c := L.c[pos];
  1195. END;
  1196. Split := NORMALIZE(DATASET([input],OneChar), LENGTH(input),
  1197. MakeSingle(LEFT,COUNTER));
  1198. SortedSplit := SORT(Split, c);
  1199. OneChar Recombine(OneChar L, OneChar R) := TRANSFORM
  1200. SELF.c := L.c+R.c;
  1201. END;
  1202. Recombined := ROLLUP(SortedSplit, Recombine(LEFT, RIGHT),ALL);
  1203. RETURN Recombined[1].c;
  1204. END;
  1205. STRING CleanedWord := SortString(TRIM(Std.Str.ToUpperCase(Word)));
  1206. R := RECORD
  1207. STRING SoFar {MAXLENGTH(200)};
  1208. STRING Rest {MAXLENGTH(200)};
  1209. END;
  1210. Init := DATASET([{'',CleanedWord}],R);
  1211. R Pluck1(DATASET(R) infile) := FUNCTION
  1212. R TakeOne(R le, UNSIGNED1 c) := TRANSFORM
  1213. SELF.SoFar := le.SoFar + le.Rest[c];
  1214. SELF.Rest := le.Rest[..c-1]+le.Rest[c+1..];
  1215. // Boundary Conditions
  1216. // handled automatically
  1217. END;
  1218. RETURN DEDUP(NORMALIZE(infile,LENGTH(LEFT.Rest),TakeOne(LEFT,COUNTER)));
  1219. END;
  1220. L := LOOP(Init,LENGTH(CleanedWord),Pluck1(ROWS(LEFT)));
  1221. ValidWords := JOIN(L,File_Word_List,
  1222. LEFT.SoFar=Std.Str.ToUpperCase(RIGHT.Word),TRANSFORM(LEFT));
  1223. OUTPUT(CleanedWord);
  1224. COUNT(ValidWords);
  1225. OUTPUT(ValidWords)
  1226. </programlisting></para>
  1227. </listitem>
  1228. <listitem>
  1229. <para>Select <emphasis role="bold">thor</emphasis> as your
  1230. target cluster.</para>
  1231. </listitem>
  1232. <listitem>
  1233. <para>Press the syntax check button on the main toolbar (or
  1234. press F7)</para>
  1235. </listitem>
  1236. <listitem>
  1237. <para>Press the <emphasis
  1238. role="bold">Submit</emphasis><emphasis role="bold">
  1239. </emphasis>button.</para>
  1240. </listitem>
  1241. <listitem>
  1242. <para>When it completes, select the Workunit<emphasis
  1243. role="bold"> </emphasis>tab, then select the Result
  1244. tab.</para>
  1245. </listitem>
  1246. <listitem>
  1247. <para>Examine the result.</para>
  1248. </listitem>
  1249. </orderedlist></para>
  1250. </sect3>
  1251. <?hard-pagebreak ?>
  1252. <sect3>
  1253. <title>Compile and Publish the query to
  1254. Roxie<parameter></parameter></title>
  1255. <para><orderedlist>
  1256. <listitem>
  1257. <?dbfo keep-together="always"?>
  1258. <para>Right-click on the <emphasis role="bold">MyFiles</emphasis>
  1259. folder in the Repository<emphasis role="bold"></emphasis>
  1260. window, and select <emphasis role="bold">Insert
  1261. Folder</emphasis> from the pop-up menu.</para>
  1262. <para><figure>
  1263. <title>Insert Folder</title>
  1264. <mediaobject>
  1265. <imageobject>
  1266. <imagedata fileref="images/DTimg04.jpg" />
  1267. </imageobject>
  1268. </mediaobject>
  1269. </figure></para>
  1270. <para></para>
  1271. </listitem>
  1272. <listitem>
  1273. <para>Enter <emphasis role="bold">Anagram</emphasis> for the
  1274. label, then press the OK button.</para>
  1275. <para></para>
  1276. <para><figure>
  1277. <title>Enter Folder Label</title>
  1278. <mediaobject>
  1279. <imageobject>
  1280. <imagedata fileref="images/VM1005.jpg" />
  1281. </imageobject>
  1282. </mediaobject>
  1283. </figure></para>
  1284. <para></para>
  1285. </listitem>
  1286. <listitem>
  1287. <para>Right-click on the <emphasis role="bold">Anagram
  1288. </emphasis>Folder, and select <emphasis role="bold">Insert
  1289. File</emphasis> from the pop-up menu.</para>
  1290. </listitem>
  1291. <listitem>
  1292. <?dbfo keep-together="always"?>
  1293. <para>Enter <emphasis role="bold">ValidateAnagrams</emphasis>
  1294. for the label, then press the OK button.</para>
  1295. <para>A Builder Window opens.</para>
  1296. <para><figure>
  1297. <title>Builder Window</title>
  1298. <mediaobject>
  1299. <imageobject>
  1300. <imagedata fileref="images/VM1006.jpg" />
  1301. </imageobject>
  1302. </mediaobject>
  1303. </figure></para>
  1304. </listitem>
  1305. <listitem>
  1306. <para>Write the following code (you can copy the code from the
  1307. other builder window):<programlisting>IMPORT Std;
  1308. layout_word_list := record
  1309. string word;
  1310. end;
  1311. File_Word_List := dataset('~thor::word_list_csv', layout_word_list,
  1312. CSV(heading(1),separator(','),quote('')));
  1313. STRING Word := 'teacher' :STORED('Word');
  1314. STRING SortString(STRING input) := FUNCTION
  1315. OneChar := RECORD
  1316. STRING c;
  1317. END;
  1318. OneChar MakeSingle(OneChar L, unsigned pos) := TRANSFORM
  1319. SELF.c := L.c[pos];
  1320. END;
  1321. Split := NORMALIZE(DATASET([input],OneChar), LENGTH(input),
  1322. MakeSingle(LEFT,COUNTER));
  1323. SortedSplit := SORT(Split, c);
  1324. OneChar Recombine(OneChar L, OneChar R) := TRANSFORM
  1325. SELF.c := L.c+R.c;
  1326. END;
  1327. Recombined := ROLLUP(SortedSplit, Recombine(LEFT, RIGHT),ALL);
  1328. RETURN Recombined[1].c;
  1329. END;
  1330. STRING CleanedWord := SortString(TRIM(Std.Str.ToUpperCase(Word)));
  1331. R := RECORD
  1332. STRING SoFar {MAXLENGTH(200)};
  1333. STRING Rest {MAXLENGTH(200)};
  1334. END;
  1335. Init := DATASET([{'',CleanedWord}],R);
  1336. R Pluck1(DATASET(R) infile) := FUNCTION
  1337. R TakeOne(R le, UNSIGNED1 c) := TRANSFORM
  1338. SELF.SoFar := le.SoFar + le.Rest[c];
  1339. SELF.Rest := le.Rest[..c-1]+le.Rest[c+1..];
  1340. // Boundary Conditions
  1341. // handled automatically
  1342. END;
  1343. RETURN DEDUP(NORMALIZE(infile,LENGTH(LEFT.Rest),TakeOne(LEFT,COUNTER)));
  1344. END;
  1345. L := LOOP(Init,LENGTH(CleanedWord),Pluck1(ROWS(LEFT)));
  1346. ValidWords := JOIN(L,File_Word_List,
  1347. LEFT.SoFar=Std.Str.ToUpperCase(RIGHT.Word),TRANSFORM(LEFT));
  1348. OUTPUT(CleanedWord);
  1349. COUNT(ValidWords);
  1350. OUTPUT(ValidWords)
  1351. </programlisting></para>
  1352. </listitem>
  1353. <listitem>
  1354. <para>Select <emphasis role="bold">Roxie</emphasis> as your
  1355. target cluster.</para>
  1356. </listitem>
  1357. <listitem>
  1358. <para>Press the syntax check button on the main toolbar (or
  1359. press F7)</para>
  1360. </listitem>
  1361. <listitem>
  1362. <?dbfo keep-together="always"?>
  1363. <para>In the Builder window, in the upper left corner the
  1364. <emphasis role="bold">Submit</emphasis> button has a drop down
  1365. arrow next to it. Select the arrow to expose the <emphasis
  1366. role="bold">Compile</emphasis> option.</para>
  1367. <figure>
  1368. <title>Compile</title>
  1369. <mediaobject>
  1370. <imageobject>
  1371. <imagedata fileref="images/DTimg17.jpg" />
  1372. </imageobject>
  1373. </mediaobject>
  1374. </figure>
  1375. </listitem>
  1376. <listitem>
  1377. <para>Select <emphasis role="bold">Compile</emphasis></para>
  1378. </listitem>
  1379. <listitem>
  1380. <para>When it completes, select the Workunit<emphasis
  1381. role="bold"> </emphasis>tab, then select the Result
  1382. tab.</para>
  1383. </listitem>
  1384. <listitem>
  1385. <?dbfo keep-together="always"?>
  1386. <para>When the workunit finishes, it will display a green
  1387. circle indicating it has compiled.</para>
  1388. <para><figure>
  1389. <title>Compiled</title>
  1390. <mediaobject>
  1391. <imageobject>
  1392. <imagedata fileref="images/VM1007.jpg" />
  1393. </imageobject>
  1394. </mediaobject>
  1395. </figure></para>
  1396. </listitem>
  1397. </orderedlist></para>
  1398. </sect3>
  1399. <sect3 id="Deploy_the_Query_to_Roxie">
  1400. <title>Publish the Roxie query</title>
  1401. <para>Next we will publish the query to a Roxie Cluster.</para>
  1402. <orderedlist>
  1403. <listitem>
  1404. <para>Select the workunit tab for the ValidateAnagrams that you
  1405. just compiled.</para>
  1406. </listitem>
  1407. <listitem>
  1408. <para>Select the ECL Watch tab.</para>
  1409. </listitem>
  1410. <listitem>
  1411. <?dbfo keep-together="always"?>
  1412. <para>Press the <emphasis role="bold">Publish</emphasis> button,
  1413. complete the dialog, and press <emphasis
  1414. role="bold">Submit</emphasis>.</para>
  1415. <para><figure>
  1416. <title>Publish Query</title>
  1417. <mediaobject>
  1418. <imageobject>
  1419. <imagedata fileref="images/VM1008.jpg" />
  1420. </imageobject>
  1421. </mediaobject>
  1422. </figure>When it successfully publishes, a confirmation
  1423. message displays.</para>
  1424. </listitem>
  1425. </orderedlist>
  1426. </sect3>
  1427. <sect3 id="Run_the_Roxie_Query">
  1428. <title>Run the Roxie Query in WsECL</title>
  1429. <para>Now that the query is published to a Roxie cluster, we can run
  1430. it using the WsECL service Using the following URL:</para>
  1431. <para><emphasis role="bold">http://nnn.nnn.nnn.nnn:pppp (where
  1432. nnn.nnn.nnn.nnn is your ESP Server’s IP address and pppp is the
  1433. port. The default port is 8002)</emphasis></para>
  1434. <orderedlist>
  1435. <listitem>
  1436. <para>Click on the + sign next to <emphasis
  1437. role="bold">myroxie</emphasis> to expand the tree.</para>
  1438. </listitem>
  1439. <listitem>
  1440. <?dbfo keep-together="always"?>
  1441. <para>Click on the <emphasis
  1442. role="bold">ValidateAnagrams.1</emphasis> hyperlink.</para>
  1443. <para>The form for the service displays.</para>
  1444. <para><figure>
  1445. <title>RoxieECL</title>
  1446. <mediaobject>
  1447. <imageobject>
  1448. <imagedata fileref="images/VM1009.jpg" />
  1449. </imageobject>
  1450. </mediaobject>
  1451. </figure></para>
  1452. </listitem>
  1453. <listitem>
  1454. <para>Select Output Tables in the drop list.</para>
  1455. </listitem>
  1456. <listitem>
  1457. <?dbfo keep-together="always"?>
  1458. <para>Provide a word to make anagrams from (e.g., TEACHER), then
  1459. press the Submit button.</para>
  1460. <para>The results display.</para>
  1461. <para><figure>
  1462. <title>RoxieResults</title>
  1463. <mediaobject>
  1464. <imageobject>
  1465. <imagedata fileref="images/VM1010.jpg" />
  1466. </imageobject>
  1467. </mediaobject>
  1468. </figure></para>
  1469. </listitem>
  1470. </orderedlist>
  1471. </sect3>
  1472. </sect2>
  1473. </sect1>
  1474. <sect1 id="Working_with_a_data_file">
  1475. <title>Working with data files</title>
  1476. <para>Once you start working with your HPCC system, you will want to
  1477. process some real data, this section shows you how to load data to your
  1478. HPCC system.</para>
  1479. <sect2 id="Cautions_and_Warnings">
  1480. <title>Before you begin</title>
  1481. <para>A typical production HPCC system would have much more data
  1482. capacity than using a virtual system for testing purposes. The size of
  1483. the file you wish to work with is limited by the size of your virtual
  1484. machine.</para>
  1485. <para><itemizedlist>
  1486. <listitem>
  1487. <para>The virtual machine has a limit of 20GB.</para>
  1488. </listitem>
  1489. <listitem>
  1490. <para>The size of the file(s) you can work with in your virtual
  1491. machine is also limited by your machine's available disk space.
  1492. Make sure you have adequate disk space available.</para>
  1493. </listitem>
  1494. </itemizedlist></para>
  1495. <informaltable colsep="1" frame="all" rowsep="1">
  1496. <?dbfo keep-together="always"?>
  1497. <tgroup cols="2">
  1498. <colspec colwidth="49.50pt" />
  1499. <colspec />
  1500. <tbody>
  1501. <row>
  1502. <entry><inlinegraphic fileref="images/caution.png" /></entry>
  1503. <entry>If you exceed the file size limits your VM state will
  1504. not be saved and you risk losing your work. Make sure that you
  1505. have ample space to not only store your data, but your virtual
  1506. machine's "state" to be able to save your work.</entry>
  1507. </row>
  1508. </tbody>
  1509. </tgroup>
  1510. </informaltable>
  1511. <para></para>
  1512. </sect2>
  1513. <?hard-pagebreak ?>
  1514. <sect2 id="Uploading_a_file">
  1515. <title>Uploading a file</title>
  1516. <para>For smaller data files, maximum of 2GB, you can use the
  1517. upload/download file utility in ECL Watch.</para>
  1518. <orderedlist>
  1519. <listitem>
  1520. <para>In your browser, go to the <emphasis role="bold">ECL
  1521. Watch</emphasis> URL displayed (circled in red) in <xref
  1522. linkend="welcometovm" />. For example,
  1523. http://nnn.nnn.nnn.nnn:8010, where nnn.nnn.nnn.nnn is your Virtual
  1524. Machine's IP address.</para>
  1525. <para><informaltable colsep="1" frame="all" rowsep="1">
  1526. <?dbfo keep-together="always"?>
  1527. <tgroup cols="2">
  1528. <colspec colwidth="49.50pt" />
  1529. <colspec />
  1530. <tbody>
  1531. <row>
  1532. <entry><inlinegraphic
  1533. fileref="images/caution.png" /></entry>
  1534. <entry>Your virtual IP address could be different from
  1535. the ones provided in the example images. Please use the
  1536. IP address provided by <emphasis
  1537. role="bold">your</emphasis> installation.</entry>
  1538. </row>
  1539. </tbody>
  1540. </tgroup>
  1541. </informaltable></para>
  1542. </listitem>
  1543. <listitem>
  1544. <?dbfo keep-together="always"?>
  1545. <para>From ECL Watch page, click on the <emphasis
  1546. role="bold">Upload/download File </emphasis> link in the menu on
  1547. the left side.</para>
  1548. <para><figure>
  1549. <title>Upload/download</title>
  1550. <mediaobject>
  1551. <imageobject>
  1552. <imagedata fileref="images/LZimg03-1.jpg" />
  1553. </imageobject>
  1554. </mediaobject>
  1555. </figure></para>
  1556. <para><phrase> </phrase>Once you click on the Upload/download file
  1557. link, it will take you to the dropzones and files page, where you
  1558. can choose to <emphasis role="bold">Browse</emphasis> your machine
  1559. for a file to upload:</para>
  1560. <para><figure>
  1561. <title>Dropzones</title>
  1562. <mediaobject>
  1563. <imageobject>
  1564. <imagedata fileref="images/LZimg04.jpg" scale="90" />
  1565. </imageobject>
  1566. </mediaobject>
  1567. </figure></para>
  1568. </listitem>
  1569. <listitem>
  1570. <para>Press the <emphasis role="bold">Browse</emphasis> button to
  1571. browse the files on your local machine, select the file to upload
  1572. and then click <emphasis role="bold">Open</emphasis>
  1573. button.</para>
  1574. <para>The file you selected should appear in the <emphasis
  1575. role="bold">Select a file to upload</emphasis> field.</para>
  1576. </listitem>
  1577. <listitem>
  1578. <para>Press on <emphasis role="bold">Upload Now</emphasis> to
  1579. complete the file upload.</para>
  1580. </listitem>
  1581. <listitem>
  1582. <para>Now that the file is on your Landing Zone, you can spray the
  1583. file to your cluster and write ECL code to process it.</para>
  1584. </listitem>
  1585. </orderedlist>
  1586. <para></para>
  1587. <para></para>
  1588. </sect2>
  1589. <sect2 id="Uploading_files_w_secure_client">
  1590. <title>Uploading files with a Secure Copy Client</title>
  1591. <para>To upload a large file for processing to your virtual machine,
  1592. you will need a tool that supports the secure copy protocol. In this
  1593. section, we discuss using WinSCP. There are other tools available, but
  1594. the steps are similar.</para>
  1595. <para><orderedlist>
  1596. <listitem>
  1597. <para>Open the WinSCP tool, and login to your Virtual Machine's
  1598. IP address using the username and password given.</para>
  1599. <para><informaltable colsep="1" rowsep="1">
  1600. <tgroup cols="2">
  1601. <colspec colwidth="80pt" />
  1602. <colspec colwidth="100pt" />
  1603. <tbody>
  1604. <row>
  1605. <entry>Login ID:</entry>
  1606. <entry>hpccdemo</entry>
  1607. </row>
  1608. <row>
  1609. <entry>Password:</entry>
  1610. <entry>hpccdemo</entry>
  1611. </row>
  1612. </tbody>
  1613. </tgroup>
  1614. </informaltable></para>
  1615. </listitem>
  1616. <listitem>
  1617. <para>Once logged in, it should, navigate automatically to the
  1618. landing zone folder. (/var/lib/HPCCSystems/mydropzone)</para>
  1619. </listitem>
  1620. <listitem>
  1621. <?dbfo keep-together="always"?>
  1622. <para>Navigate to where your local file is in the left part of
  1623. the window.</para>
  1624. <para><figure>
  1625. <title>WinSCP</title>
  1626. <mediaobject>
  1627. <imageobject>
  1628. <imagedata fileref="images/LZimg05.jpg" />
  1629. </imageobject>
  1630. </mediaobject>
  1631. </figure></para>
  1632. </listitem>
  1633. <listitem>
  1634. <para>Select the data file to send and copy it to the landing
  1635. zone, using drag-and-drop.</para>
  1636. </listitem>
  1637. <listitem>
  1638. <para>Now that the file is on your Landing Zone, you can spray
  1639. the file to your cluster and write ECL code to process
  1640. it.</para>
  1641. </listitem>
  1642. </orderedlist></para>
  1643. </sect2>
  1644. </sect1>
  1645. <sect1>
  1646. <title>Next Steps</title>
  1647. <para>Available from the menu in ECL Watch are several documents which
  1648. provide details on various aspects of the HPCC.</para>
  1649. <figure>
  1650. <title>ECL Watch Resource Page</title>
  1651. <mediaobject>
  1652. <imageobject>
  1653. <imagedata fileref="images/vmimg07a.jpg" />
  1654. </imageobject>
  1655. </mediaobject>
  1656. </figure>
  1657. <para></para>
  1658. <para>You can also access them from the help menu: Help <emphasis
  1659. role="bold">&gt;&gt;</emphasis> Download Resources.</para>
  1660. <para><figure>
  1661. <title>Help Menu</title>
  1662. <mediaobject>
  1663. <imageobject>
  1664. <imagedata fileref="images/vmimg07.JPG" />
  1665. </imageobject>
  1666. </mediaobject>
  1667. </figure></para>
  1668. <para>To familiarize yourself with what your system can do, we
  1669. recommend:</para>
  1670. <para><itemizedlist>
  1671. <listitem>
  1672. <para>The <emphasis role="bold">HPCC Data
  1673. Tutorial</emphasis></para>
  1674. <para>This is a simple, step-by-step tutorial that shows the
  1675. end-to-end process from receiving a receiving a raw data file to
  1676. publishing a web-based query to search the data. Along the way,
  1677. you will learn how to process the data, index it, then write and
  1678. publish a query to search the data. The self-led tutorial and
  1679. accompanying data file is available on the ECL Watch Resource
  1680. Page.</para>
  1681. </listitem>
  1682. <listitem>
  1683. <para>The <emphasis role="bold">Six Degrees of Kevin Bacon
  1684. Example</emphasis></para>
  1685. <para>This is a more complex example (*also available on the ECL
  1686. Watch Resource Page) that uses a database of movie data to find
  1687. the degree of separation between actors in films.</para>
  1688. </listitem>
  1689. <listitem>
  1690. <para>The HPCC Systems Portal (<ulink
  1691. url="http://hpccsystems.com">http://hpccsystems.com</ulink>) is
  1692. another valuable resource for more information including:</para>
  1693. <itemizedlist>
  1694. <listitem>
  1695. <para>Video Tutorials</para>
  1696. </listitem>
  1697. <listitem>
  1698. <para>Additional examples</para>
  1699. </listitem>
  1700. <listitem>
  1701. <para>White Papers</para>
  1702. </listitem>
  1703. <listitem>
  1704. <para>Documentation</para>
  1705. </listitem>
  1706. <listitem>
  1707. <para>Support Forums</para>
  1708. </listitem>
  1709. </itemizedlist>
  1710. </listitem>
  1711. </itemizedlist></para>
  1712. </sect1>
  1713. </chapter>
  1714. <chapter>
  1715. <title>Frequently Asked Questions</title>
  1716. <para></para>
  1717. <qandaset defaultlabel="number">
  1718. <qandadiv>
  1719. <qandaentry>
  1720. <question>
  1721. <para>Can I run the VM while connected to my network using a
  1722. Virtual Private network (VPN)?</para>
  1723. </question>
  1724. <answer>
  1725. <para>No. Most VPN clients take control of your network device and
  1726. routing and do not allow split tunnels.</para>
  1727. </answer>
  1728. </qandaentry>
  1729. <qandaentry>
  1730. <question>
  1731. <para>Can I install this virtual machine on multiple nodes?</para>
  1732. </question>
  1733. <answer>
  1734. <para>No. If you want to evaluate a multi-node system, you should
  1735. use the Community version available from the HPCC Systems Portal
  1736. at <ulink
  1737. url="http://hpccsystems.com">http://hpccsystems.com</ulink>.</para>
  1738. </answer>
  1739. </qandaentry>
  1740. <qandaentry>
  1741. <question>
  1742. <para>What are the limits of this version?</para>
  1743. </question>
  1744. <answer>
  1745. <para>The HPCC VM Edition runs on a single node, has a limit of 20
  1746. GB in it workspace, and doesn't support custom
  1747. configurations.</para>
  1748. </answer>
  1749. </qandaentry>
  1750. <qandaentry>
  1751. <question>
  1752. <para>Can I run the VM on my Linux machine?</para>
  1753. </question>
  1754. <answer>
  1755. <para>You can run the HPCC VM using the Linux VM Player. The HPCC
  1756. ECL IDE is a Windows application, but can run under WINE. See the
  1757. Client Tools Manual for details.</para>
  1758. </answer>
  1759. </qandaentry>
  1760. <qandaentry>
  1761. <question>
  1762. <para>Can I run the VM on my Mac?</para>
  1763. </question>
  1764. <answer>
  1765. <para>Not at this time. There is no Mac version of the VM
  1766. Player.</para>
  1767. </answer>
  1768. </qandaentry>
  1769. <qandaentry>
  1770. <question>
  1771. <para>Can I run the VM on my Windows Server?</para>
  1772. </question>
  1773. <answer>
  1774. <para>Yes, You can run on Windows Server 2003 or 2008, providing
  1775. you have access to it using Remote Desktop Protocol (RDP).</para>
  1776. </answer>
  1777. </qandaentry>
  1778. <qandaentry>
  1779. <question>
  1780. <para>Do I need a 64-bit processor to run the VM Edition?</para>
  1781. </question>
  1782. <answer>
  1783. <para>No. The VM Player runs in either 32- or 64-bit environments
  1784. and does not require a 64-bit processor.</para>
  1785. </answer>
  1786. </qandaentry>
  1787. <qandaentry>
  1788. <question>
  1789. <para>Do I need a 64-bit processor to run the Community
  1790. Edition?</para>
  1791. </question>
  1792. <answer>
  1793. <para>Yes. Community Edition binaries run natively on 64-bit Linux
  1794. server(s). You can access that HPCC from any Windows workstation
  1795. (32- or 64-bit) that can run the ECL IDE and a supported
  1796. browser.</para>
  1797. </answer>
  1798. </qandaentry>
  1799. <qandaentry>
  1800. <question>
  1801. <para>What happens to my work when I close the virtual
  1802. machine?</para>
  1803. </question>
  1804. <answer>
  1805. <para>The VM Player saves the state of your system when it closes.
  1806. It saves all of your workunit information, data files, and
  1807. published query sets as long as there is available space. The
  1808. maximum size of the saved session is 20 GB.</para>
  1809. </answer>
  1810. </qandaentry>
  1811. <qandaentry>
  1812. <question>
  1813. <para>Why won't my VM allow access to my network interface?</para>
  1814. </question>
  1815. <answer>
  1816. <para>Check your Firewall settings. You may need to disable the
  1817. Firewall for your VM's network interface.</para>
  1818. </answer>
  1819. </qandaentry>
  1820. <qandaentry>
  1821. <question>
  1822. <para>Will this version utilize my multi-core processor?</para>
  1823. </question>
  1824. <answer>
  1825. <para>This VM is designed to utilize a single core.</para>
  1826. </answer>
  1827. </qandaentry>
  1828. <qandaentry>
  1829. <question>
  1830. <para>The VM Fails to start on Mac OSx after upgrading to OSx 10.9
  1831. Mavericks. How can I correct this?</para>
  1832. </question>
  1833. <answer>
  1834. <para>To correct this issue run the following command:
  1835. <programlisting>sudo launchctl load
  1836. /Library/LaunchDaemons/org.virtualbox.startup.plist</programlisting></para>
  1837. </answer>
  1838. </qandaentry>
  1839. <qandaentry>
  1840. <question>
  1841. <para>Where can I find more information?</para>
  1842. </question>
  1843. <answer>
  1844. <para>Visit the HPCC Systems Portal at
  1845. http://HPCCsystems.com.</para>
  1846. </answer>
  1847. </qandaentry>
  1848. </qandadiv>
  1849. </qandaset>
  1850. </chapter>
  1851. </book>