« EPM engine machine setup » : différence entre les versions

De Assothink Wiki
Aller à la navigation Aller à la recherche
Contenu ajouté Contenu supprimé
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 40 : Ligne 40 :
*NFS&nbsp;export $HOME directory<br>
*NFS&nbsp;export $HOME directory<br>
*NFS&nbsp;mount&nbsp;<span style="color: rgb(128, 128, 128);">/media/server.Alex.MMU/</span><br>
*NFS&nbsp;mount&nbsp;<span style="color: rgb(128, 128, 128);">/media/server.Alex.MMU/</span><br>
*replicate /etc/hosts file (from refdir), check the pings<br>
*replicate /etc/hosts file (from refdir/install), check the hosts pingability<br>
*replicate /etc/fstab.matscape.local file, replicate it at the end of fstab<br>
*replicate /etc/fstab.matscape.local file, replicate it at the end of fstab<br>
*check the auto mounting of <span style="color: rgb(128, 128, 128);">/media/server.Alex.MMU/ </span>and <span style="color: rgb(128, 128, 128);">/media/MMU/</span> at least<br>
*check the auto mounting of <span style="color: rgb(128, 128, 128);">/media/server.Alex.MMU/ /media/MMU/&nbsp;</span>and <span style="color: rgb(128, 128, 128);">/media/MMM/</span> at least<br>
*run script <span style="color: rgb(128, 128, 128);">/media/MMU/epm install</span> (it installs .bashrc, .alex, Scripts dir, assothink.epm dir...)
*run script <span style="color: rgb(128, 128, 128);">/media/MMU/epm install</span> (it replicates into target machine .bashrc, .alex, Scripts dir, assothink.epm dir...)
*restart new bash instance
*restart new bash instance
*check clock network synchro
*check clock network synchro
*setup and check accessibility of target machine through "Remote Desktop Viewer"
*setup and check accessibility of target machine through "Remote Desktop Viewer"
*check generic things
*check generic things
*check epm java processes (epm java engine mainly)(<span style="color: rgb(128, 128, 128);">epm J</span>)<br>
*check epm java engine process (epm java engine mainly) (<span style="color: rgb(128, 128, 128);">epm J</span>)<br>
*compile C&nbsp;version of epm (<span style="color: rgb(128, 128, 128);">epm gcc</span>), check epm C engine(<span style="color: rgb(128, 128, 128);">epm C</span>)<br>
*compile C&nbsp;version of epm (<span style="color: rgb(128, 128, 128);">epm gcc</span>), check epm C engine (<span style="color: rgb(128, 128, 128);">epm C</span>)<br>
*launch epm daemon (<span style="color: rgb(128, 128, 128);">epm d</span>)
*launch epm daemon (<span style="color: rgb(128, 128, 128);">epm d</span>)



Version du 5 novembre 2012 à 07:59

Hardware prerequisites

Network connection : preferably 1000 Mbit/sec.

Memory requirements: if L is the number of (hybrid) links in millions, then the memory (in Mb) needed tu run the epm engine is roughly:

50 L + 15

For instance, 800 000 links require 55 Mb, which easily fits into the small memory of a Raspberry pi SBC.

Software Prerequisites

Linux (ubuntu preferably)

JRE (or JDK), for instance OpenJdk 7

gcc compiler

NFS client

NFS server

Step 1

Runs on a source machine (which is a "full Assothink machine", according to Matscape's standards (MMU (or MMV or MMM))).

Uses directory /media/server.Alex.MMU/epm/ (the 'epm reference dir', refdir)

The script is epm preinstall .

It creates several system files under directory $refdir/install/  .

This has to be done just once if many machines have to be installed.

Step 2

On the target machine:

  • set host name
  • define a user (standard name and password)
  • set IP address and check network accessibility
  • NFS export $HOME directory
  • NFS mount /media/server.Alex.MMU/
  • replicate /etc/hosts file (from refdir/install), check the hosts pingability
  • replicate /etc/fstab.matscape.local file, replicate it at the end of fstab
  • check the auto mounting of /media/server.Alex.MMU/ /media/MMU/ and /media/MMM/ at least
  • run script /media/MMU/epm install (it replicates into target machine .bashrc, .alex, Scripts dir, assothink.epm dir...)
  • restart new bash instance
  • check clock network synchro
  • setup and check accessibility of target machine through "Remote Desktop Viewer"
  • check generic things
  • check epm java engine process (epm java engine mainly) (epm J)
  • compile C version of epm (epm gcc), check epm C engine (epm C)
  • launch epm daemon (epm d)

Step 3

On the source machine:

  • check NFS access to target machine
  • check access to remote machine using rsh
  • check access to remote machine through "Remote Desktop Viewer"
  • launch epm controller
  • check performance of new machine(java and C)