Changes between Initial Version and Version 1 of SEMAINE-3.0-Distributed


Ignore:
Timestamp:
09/24/10 15:57:14 (10 years ago)
Author:
masc01
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SEMAINE-3.0-Distributed

    v1 v1  
     1= Running SEMAINE-3.0 as a distributed system = 
     2 
     3SEMAINE-3.0 is fundamentally distributed. All communication runs via the Message-oriented Middleware ActiveMQ. This allows users to run the SEMAINE system in a distributed fashion, across different computers and optionally across different operating systems, thus matching CPU and memory requirements of the components with available compute power. 
     4 
     5The package comes with a number of configuration examples to show how to easily achieve a distributed system. It is assumed that low-level issues of setting up a network and identifying the IP address of a given machine are solved -- there is abundant information on these issues available on the internet. 
     6 
     7In essence, seting up the distributed system amounts to the following tasks: 
     8 
     9 * determine the IP address of the machine that should run ActiveMQ; 
     10 * adapting the configuration variable CMS_URL on all machines to point to the right ActiveMQ instance; 
     11 * starting the right components on each machine. 
     12 
     13The key idea here is to create a custom start script for each machine, 
     14starting from SEMAINE-3.0\start.bat. All machines can use the common stop.bat. 
     15 
     16In SEMAINE-3.0\config-examples, example start scripts are provided for the following scenarios. 
     17 
     18== Scenario 1: Two windows machines ==#scenario1 
     19 
     20In this scenario we assume two machines: 
     21 
     22Machine 1 is a Windows machine. It should run ActiveMQ, the java components, and the Greta components. 
     23Its IP address is 192.168.1.1 
     24 
     25Machine 2 is also a Windows machine. It should run Opensmile and the Video analysis components. 
     26 
     27Make sure the respective components are available in the respective machines. 
     28 
     29 * copy start-machine1.bat into the SEMAINE-3.0 folder on machine 1. 
     30 * copy start-machine2.bat into the SEMAINE-3.0 folder on machine 2. 
     31 * Now, first run start-machine1 on machine 1, then start-machine2 on machine 2. 
     32 
     33== Scenario 2: One Linux/Mac and two Windows machines ==#scenario2 
     34 
     35 
     36In this scenario we assume three machines: 
     37 
     38Machine 1 is a Linux or Mac OS X machine. It should run ActiveMQ, Opensmile, and the Java components. 
     39Its IP address is 192.168.1.10. 
     40 
     41Machine 2 is a Windows machine runing the Greta components. 
     42 
     43Machine 3 is a Windows machine. It should run the Video analysis components. 
     44 
     45 
     46Make sure the respective components are available in the respective machines. 
     47 
     48 * copy start-machine1.sh into the SEMAINE-3.0 folder on machine 1. 
     49 * copy start-machine2.bat into the SEMAINE-3.0 folder on machine 2. 
     50 * copy start-machine3.bat into the SEMAINE-3.0 folder on machine 3. 
     51 * Now, first run start-machine1 on machine 1, then start-machine2 on machine 2 and start-machine3 on machine 3. 
     52