| 1 | = Worker Configuration Example = |
| 2 | |
| 3 | Worker used in [http://www.molgenis.org/wiki/ComputeStartExample1 Example1] does not require much configuration. It is a standard gridgain jar, which is started with a standard gridgain sh script. |
| 4 | TCP configuration file ( |
| 5 | {{{ |
| 6 | /config/jgroups/tcp/jgoups.xml |
| 7 | }}} |
| 8 | ) of Worker should contain the ip-address and port of the Compute Manager node. In this example, the ip-address is 222.222.222.222 and the port is 12345. |
| 9 | |
| 10 | {{{ |
| 11 | <TCP start_port="12345" loopback="true"/> |
| 12 | |
| 13 | <TCPPING |
| 14 | timeout="3000" |
| 15 | initial_hosts="222.222.222.222[12345]" |
| 16 | port_range="3" |
| 17 | num_initial_members="1" |
| 18 | /> |
| 19 | }}} |
| 20 | |
| 21 | |