Changes between Version 11 and Version 12 of ExecutionManager
- Timestamp:
- Nov 5, 2010, 3:37:25 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ExecutionManager
v11 v12 32 32 * https://svn-batch.grid.pub.ro/svn/Sensei-Cookbook/advancedDataTypes.tgz 33 33 34 To ensure the links berween the packages, all the software packsges have to be unpacked into the same directory 35 34 36 35 37 === MYSQL Setup === 36 First create a new database with the name `sensei_em`. 38 After installing mysql a a new database with the name `sensei_em` has to be created. This could be done with an mysql frontend or by executing the following command on the commmand line: 37 39 {{{ 38 MYSQL Command:39 40 mysql --user YOURMYSQLUSERNAME -p -e"create database sensei_em;" 40 41 }}} 41 42 42 Then add mysql structure as defined in file doc/database.sql.43 Then add mysql structure as defined in file executionManager/doc/database.sql. 43 44 This can be done with the command 44 45 {{{ 45 mysql --user YOURMYSQLUSERNAME -p sensei_em < database.sql46 mysql --user YOURMYSQLUSERNAME -p sensei_em < executionManager/doc/database.sql 46 47 }}} 47 48 48 49 === Execution Manager Configuration === 49 open the File xml/EmConfigs.xml and change the lines50 open the File executionManager/xml/EmConfigs.xml and change the lines 50 51 {{{ 51 52 <mysqluser>root</mysqluser> … … 64 65 65 66 === Startscripts === 66 For your conveniance, start scripts for the Execution Ma ganer had beed created. For staring the Execition Manager, change to the Directoryscripts and execute the command following command67 For your conveniance, start scripts for the Execution Manager had beed created. For staring the Execution Manager, change to the directory executionManager/scripts and execute the command following command 67 68 on Linux: 68 69 {{{ … … 76 77 === Interfaces === 77 78 The Execution Manager provides the REI interface on the given IP Adress and Port as defined in the Configuration File. 78 Therefore, the REI interface of the Execution Manager can be accesed on the URL 79 Therefore, the REI interface of the Execution Manager can be accesed on the URL: 79 80 {{{ 80 81 http://IP_OF_EM:PORT_OF_EM/subscribe … … 82 83 83 84 === Example of REI Request === 84 An example of a subscription request with one REP on the REI interface can be seen here. Thix XML Structure is tranmitted via http POST or GET to the REI interface of the execution manager. It can be seen that the Task Plan is embedded in a REI and a RequestSubscription structure.85 An example of a subscription request with one REP on the REI interface can be seen here. Thix XML Structure is tranmitted via http POST or GET to the REI interface of the execution manager. It can be seen that the Taskplan is embedded in a REI and a Requestsubscription structure. 85 86 86 87 {{{ … … 132 133 }}} 133 134 135