Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OKBJavaConnector/ECJClient/src/ec/exchange/2-Island-Server/README @ 12147

Last change on this file since 12147 was 6152, checked in by bfarka, 14 years ago

added ecj and custom statistics to communicate with the okb services #1441

File size: 1.5 KB
Line 
1[If you're looking for a simple example of doing an island
2model, don't look here -- look instead in 3-Island.]
3
4This model is a special example of how to create a server
5that's not actually a client program -- the process
6SOLELY exists to be a server.  Why would you want to do this?
7Well, we were running on a beowulf cluster maintained by a
8company that wouldn't allow us to know beforehand exactly
9what the IP address was of *any* node.  (They were using a
10queueing system, argh).  We got around this by putting our
11clients out on the cluster, but having a dedicated machine
12with a known IP address as the server.  The company permitted
13this because the server doesn't have almost any network traffic
14going to it -- it's just for synchronization.
15
16So in this example we'll have two islands, Minoa and Crete,
17using minoa.params and crete.params, plus a separate server
18(in server.params).  You need to launch the server differently
19than you'd normally launch an ECJ process.  What you do here
20is launch the server as:
21
22java ec.exchange.IslandExchange -file server.params
23
24
25Then you launch your islands:
26
27java ec.Evolve -file crete.params
28
29java ec.Evolve -file minoa.params
30
31
32If you're running crete and minoa on separate machines from
33the server, you'll need to modify the parameter to tell them
34where the server is:
35
36java ec.Evolve -file crete.params \
37    -p exch.server-addr=address.of.server.com
38
39java ec.Evolve -file minoa.params \
40    -p exch.server-addr=address.of.server.com
41
Note: See TracBrowser for help on using the repository browser.